/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0.5
*/

/*************** ADD CUSTOM CSS HERE.   ***************/


@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/


}
@font-face {
    font-family: Averta;
    src: url(f/AvertaRegular.otf);
}
@font-face {
    font-family: AvertaBold;
    src: url(f/AvertaBold.otf);
}
@font-face {
    font-family: Ephesis;
    src: url(f/EphesisRegular.ttf);
}
body{
    font-family: "Averta", Arial, Helvetica, sans-serif;
}

/* Hotline header */
ul.hotline-top { position: relative; font-weight: 500; font-size: 20px; color: #000; background-position: 0% 50%;    padding-left: 50px !important;}
ul.hotline-top:before { content: ""; width: 44px; height: 44px; text-align: center; font-size: 23px; line-height: 40px; position: absolute; left: 0px; color: #ffffff; top: 0px; background: url(i/icon-phone.png) no-repeat; background-size: contain; }
.hotline-top li { list-style: none; margin-bottom: 0px; line-height: 23px; font-size: 16px;font-weight: 600;}
.hotline-top li.hotline-phone { font-weight: 600; font-size: 22px; color: #ff5c00; }

/* search header */
#header select.search_categories { background-color: #FFF; border: 0px; height: 40px; box-shadow: none; width: 95px !important;}
#header .search-form-categories { position: relative; border-right: 1px solid #ebebeb;}
#header form.searchform { border: 2px solid #305549; border-radius: 5px; }
#header input.search-field { background: #FFF; border: 0px; height: 40px; box-shadow: none; }
#header form.searchform .flex-col:last-child { padding: 4px; color: #000;}
.searchform .button.icon { padding: 0 20px; }
#header form.searchform >.flex-row { background: #FFF; border: 0px; border-radius: 3px;}
#header form.searchform .submit-button { background: #305549 !important; border-radius: 0px 5px 5px 0px; color: #FFF !important;}
.header-search-form{
    width: 60% !important;
}

/* s1 */
.s1 img{
    border-radius: 10px;
}
.s1 h1{
    font-family: Ephesis, sans-serif;
}
/* end s1 */
.badge-inner.on-sale{
    background-color: #b70100 !important;
}
.badge-circle, .badge-outline {
    margin-left: 0;
}
.badge-container {
    font-size: 16px;
    margin: 0;
    right: 10px;
    top: 10px;
    left: initial;
}
.add-to-cart-button a{
    width: 100%;
    padding: 4px 0;
    background: #b20000 !important;
    border-radius: 5px;
    font-family: 'AvertaBold';
    text-transform: inherit;
    font-size: 15px !important;
}
.add-to-cart-button a:hover{
    background-color: #305549 !important;
}
.section-title-normal{
    text-align: center;
    display: block;
    border: none;
    margin-bottom: 30px;
}
.section-title-normal span{
    font-family: 'AvertaBold';
    color: #305549;
    position: relative;
    border-bottom: 6px double;
}
.section-title-normal span:before{
    content: "";
    display: inline-block;
    width: 40px;
    height: 53px;
    background: url(i/leaf.png) center no-repeat;
    position: absolute;
    right: -52px;
    top: -20px;
    background-size: contain;
}
.section-title-normal span:after{
    /* content: ""; */
    display: inline-block;
    width: 53px;
    height: 40px;
    background: url(i/leaf1.png) center no-repeat;
    position: absolute;
    left: -62px;
    top: -8px;
    background-size: contain;
}
.s2 .button {
    margin: 30px auto 0;
}
.s2{
    padding-bottom: 0 !important;
}
.s3 .img-inner:before{
    position: absolute;
    content: '';
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
    -webkit-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -ms-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
}
.s3 .img-inner:after{
    position: absolute;
    content: '';
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    -webkit-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -ms-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
}
.s3 .img-inner:hover:before {
    right: 50%;
    left: 50%;
    width: 0;
    background: rgba(255, 255, 255, 0.3);
}
.s3 .img-inner:hover:after {
    height: 0;
    top: 50%;
    bottom: 50%;
    background: rgba(255, 255, 255, 0.3);
}
.flickity-page-dots .dot{
    background: #305549 !important;
    width: 12px !important;
    height: 12px !important;
    padding: 0 !important;
    border: none !important;
}
.s4 .box-text .button {
    margin-top: 1em;
    font-family: 'Ephesis';
    text-transform: inherit;
    font-size: 22px;
    font-weight: 100;
    border-radius: 5px;
    padding: 8px 30px;
    line-height: 1.3;
    min-height: initial;
}
.s4, .s4 .col.small-12{
    padding-bottom: 0 !important;
}
.s5 img{
    border-radius: 10px;
    height: 360px;
    object-fit: cover;
}
.s5 h3{
    font-family: AvertaBold;
    margin: 0;
}
.s5 h4{
    color: #b20000;
    margin: 0;
    font-family: AvertaBold;
}

.s5 .flickity-page-dots{
    bottom: -18px;
}
.s5 .col.medium-6:nth-child(2) .col-inner{
    padding-right: 100px;
}
.s5 .col.medium-6:nth-child(2) .col-inner:before{
    content: "";
    display: inline-block;
    width: 60px;
    height: 45px;
    background: url(i/blo.png) center no-repeat;
    position: absolute;
    right: 0;
    top: 0;
}
/* footer */
.ftop .icon-box{
    align-items: center;
    background-color: #f8f8f8;
    border-radius: 50px;
    padding: 1em 0.5em 1em 1em;
}
.ftop .icon-box img{
    width: 48px;
}
.ftop h3{
    font-size: 0.85rem;
    margin: 0;
    font-weight: 600;
}
.ftop p{
    font-size: 0.85rem;
    opacity: 0.75;
    font-style: italic;
}
.ftop .section-title-main{
    border: none;
    font-family: 'Ephesis';
    text-transform: inherit;
    font-size: 35px;
        display: block;
    text-align: center;
}
.ftop .row .col.medium-3{
    padding: 0 5px 10px 5px;
}
.tit_footer p, .fbot .large-4 h2{
    color: #0a0a0a;
    text-transform: uppercase;
    font-size: 1rem;
    font-family: 'AvertaBold';
    margin-bottom: 20px;
    line-height: 1.5;
}
.fbot .large-2{
    padding: 0 15px 0 0;
}
.fbot{
    color: #0a0a0a;
}
.fbot .ux-menu-link__link{
    padding: 0 0 1.3em 0;
    transition: all 0.3s;
}
.fbot .ux-menu-link__link:hover{
    color: #b20000;
    padding-left: 0.25em;
}
.fb_end h2{
    font-family: Ephesis, sans-serif !important;
    position: relative;
    padding: 0.3em 0;
    text-align: center;
    font-size: 35px;
}
.fb_end h3{
    font-family: 'Ephesis';
    font-size: 28px;
}
.fb_end h2::before {
    content: '';
    position: absolute;
    display: block;
    top: 100%;
    left: calc(50% - 40px);
    width: 80px;
    height: 3px;
    
    background: #b20000;
}
.fbot{
    padding-bottom: 0 !important;
}
.absolute-footer {
    background-color: #0a0a0a;
    padding: 15px 0 ;
}
.back-to-top.active{
    background: #b70100;
    color: #fff;
    border: none;
    bottom: 15px;
}
/*.btn-zalo{*/
/*    position: fixed;*/
/*    top: 50%;*/
/*    transform: translateY(-50%);*/
/*    width: 44px;*/
/*    height: 44px;*/
/*    background: url(i/zaloe.png) center no-repeat;*/
/*    display: inline-block;*/
/*    cursor: pointer;*/
/*    right: 20px;*/
/*    z-index: 11;*/
/*}*/
/*.btn-zalo:before{*/
/*    content: '';*/
/*    display: block;*/
/*    width: 50px;*/
/*    height: 50px;*/
/*    background-color: transparent;*/
/*    border-radius: 50%;*/
/*    border: 10px solid #1346af;*/
/*    border: 10px solid #b4e2ff;*/
/*    position: absolute;*/
/*    top: 50%;*/
/*    left: 50%;*/
/*    transform: translate(-50%, -50%);*/
/*    -webkit-animation: circle-animation 1.8s infinite ease-in-out;*/
/*    animation: circle-animation 1.8s infinite ease-in-out;*/
/*}*/
/*@-webkit-keyframes circle-animation {*/
/*	0% {*/
/*		transform: translate(-50%, -50%) scale(0.5);*/
/*		opacity: 0.3;*/
/*	}*/

/*	30% {*/
/*		transform: translate(-50%, -50%) scale(0.7);*/
/*		opacity: 0.7;*/
/*	}*/

/*	100% {*/
/*		transform: translate(-50%, -50%) scale(1);*/
/*		opacity: 0.3;*/
/*	}*/
/*}*/
/*@keyframes circle-animation {*/
/*	0% {*/
/*		transform: translate(-50%, -50%) scale(0.5);*/
/*		opacity: 0.3;*/
/*	}*/

/*	30% {*/
/*		transform: translate(-50%, -50%) scale(0.7);*/
/*		opacity: 0.7;*/
/*	}*/

/*	100% {*/
/*		transform: translate(-50%, -50%) scale(1);*/
/*		opacity: 0.3;*/
/*	}*/
/*}*/
/*.btn-call-now {*/
/*    display: flex;*/
/*    align-items: center;*/
/*    position: fixed;*/
/*    width: 160px;*/
/*    bottom: 20px;*/
/*    background: rgba(183, 1, 0, 0.74);*/
/*    -webkit-box-shadow: 0 0 5px #ddd;*/
/*    -moz-box-shadow: 0 0 5px #ddd;*/
/*    box-shadow: 0 0 5px #ddd;*/
/*    z-index: 99;*/
/*    left: 20px;*/
/*    top: initial !important;*/
/*    color: #FFF;*/
/*    font-weight: 700;*/
/*    font-size: 125%;*/
/*    border-radius: 25px;*/
/*    padding: 5px;*/
/*    -moz-animation-duration: 500ms;*/
/*    -moz-animation-name: calllink;*/
/*    -moz-animation-iteration-count: infinite;*/
/*    -moz-animation-direction: alternate;*/
/*    -webkit-animation-duration: 500ms;*/
/*    -webkit-animation-name: calllink;*/
/*    -webkit-animation-iteration-count: infinite;*/
/*    -webkit-animation-direction: alternate;*/
/*    animation-duration: 500ms;*/
/*    animation-name: calllink;*/
/*    animation-iteration-count: infinite;*/
/*    animation-direction: alternate;*/
/*}*/
/*.btn-call-now .icon-phone {*/
/*    color: #b70100;*/
/*    font-size: 23px;*/
/*    background: #fff;*/
/*    width: 30px;*/
/*    height: 30px;*/
/*    line-height: 30px;*/
/*    border-radius: 20px;*/
/*    margin-right: 5px;*/
/*    text-align: center;*/
/*}*/
/*@keyframes calllink {*/
/*    0%{color:#eba11e;}*/
/*    50%{color:#fff;}*/
/*    100%{color:#ebfa48;}*/
/*}*/

/* button chuyển đổi */
.moon-sticky-contact {
    position: fixed;
    z-index: 100;
    bottom: 20px;
    left: 15px;
}
.moon-sticky-contact__list {
    margin: 0;
    padding: 0;
    text-indent: 0;
    list-style-type: none;
    display: flex;
    flex-direction: row;
}
.moon-sticky-contact__item {
    margin-right: 0.5em;
    position: relative;
    margin-bottom: 0;
}
.moon-sticky-contact__item-link {
    display: flex;
    background: #305549;
    box-shadow: rgba(100, 100, 111, 0.2) 0 7px 29px 0;
    border-radius: 50px;
    width: 50px;
    align-items: center;
    text-decoration: none;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.moon-sticky-contact__item-link .moon-sticky-contact__item-icon {
    position: relative;
    z-index: 3;
    -webkit-animation-name: tada;
    animation-name: tada;
    -webkit-animation-iteration-count: infinite;
    animation-iteration-count: infinite;
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
        display: flex;
    align-items: center;
    justify-content: center;
}
.moon-sticky-contact__item.is-phone .moon-sticky-contact__item-icon::before {
    content: '';
    display: block;
    width: 50px;
    height: 50px;
    background-color: transparent;
    border-radius: 50%;
    border: 10px solid #8a8f8d;
    
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -webkit-animation: circle-animation 1.8s infinite ease-in-out;
    animation: circle-animation 1.8s infinite ease-in-out;
}
@-webkit-keyframes circle-animation {
	0% {
		transform: translate(-50%, -50%) scale(0.5);
		opacity: 0.3;
	}

	30% {
		transform: translate(-50%, -50%) scale(0.7);
		opacity: 0.7;
	}

	100% {
		transform: translate(-50%, -50%) scale(1);
		opacity: 0.3;
	}
}
@keyframes circle-animation {
	0% {
		transform: translate(-50%, -50%) scale(0.5);
		opacity: 0.3;
	}

	30% {
		transform: translate(-50%, -50%) scale(0.7);
		opacity: 0.7;
	}

	100% {
		transform: translate(-50%, -50%) scale(1);
		opacity: 0.3;
	}
}
@-webkit-keyframes tada {
	from {
		transform: scale3d(1, 1, 1);
	}

	10%,
	20% {
		transform: scale3d(0.9, 0.9, 0.9) rotate3d(0, 0, 1, -3deg);
	}

	30%,
	50%,
	70%,
	90% {
		transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg);
	}

	40%,
	60%,
	80% {
		transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -3deg);
	}

	to {
		transform: scale3d(1, 1, 1);
	}
}
@keyframes tada {
	from {
		transform: scale3d(1, 1, 1);
	}

	10%,
	20% {
		transform: scale3d(0.9, 0.9, 0.9) rotate3d(0, 0, 1, -3deg);
	}

	30%,
	50%,
	70%,
	90% {
		transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg);
	}

	40%,
	60%,
	80% {
		transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -3deg);
	}

	to {
		transform: scale3d(1, 1, 1);
	}
}
.moon-sticky-contact__item-link svg {
    position: relative;
    z-index: 2;
    width: 30px;
    height: 30px;
    pointer-events: none;
    top: 0;
    left: 0;
}
.moon-sticky-contact__item.is-phone .moon-sticky-contact__item-link svg path {
    fill: #fff;
    
}
.moon-sticky-contact__item-link .moon-sticky-contact__item-bar {
    display: none !important;
    left: 0;
    padding-left: 1em;
    align-items: center;
    background: #305549;
    
    border-radius: 50px;
    padding-right: 1em;
    font-weight: 600;
    color: #fff;
    display: flex !important;
    align-items: center;
    opacity: 0.9;
    text-decoration: none;
}
.moon-sticky-contact__item.is-phone .moon-sticky-contact__item-link {
    
    background: #305549;
}
.moon-sticky-contact__item:last-child {
    margin-right: 0;
}
.moon-sticky-contact__item.is-zalo .moon-sticky-contact__item-link {
    background: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.moon-sticky-contact__item.is-zalo .moon-sticky-contact__item-icon {
    height: 22px;
}
.st0 {
    fill: #fdfefe;
}

/* end chuyển đổi */

/* end footer */
.product-small .woocommerce-loop-product__title{
    min-height: 38px;
}
.product-small .price-wrapper{
    min-height: 46px;
}
.woocommerce-loop-product__title a{
    color: #000;
    margin-bottom: 8px !important;
    display: block;
}
ins span, ins span bdi{
    color: #b70100;
}
h1.shop-page-title{
    font-family: Ephesis, sans-serif;
    font-size: 35px;
}
#shop-sidebar{
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 1em;
}
#shop-sidebar a{
    color: #000;
}
#shop-sidebar .menu{
    padding: 0.5em 1em;
    background: #fff;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
    border-radius: 10px;
}
.widget_price_filter .price_slider_amount {
    display: flex;
    flex-direction: column;
}
.widget_price_filter button[type=submit] {
    margin-top: .5em;
    order: 1;
    width: 100%;
}
.widget-title.shop-sidebar{
    font-weight: 700;
    font-family: Ephesis, sans-serif;
    text-transform: inherit;
    font-size: 28px;
    color: #000;
}
.widget_price_filter .price_slider_amount .button{
    margin-top: .5em;
    order: 1;
    width: 100%;
    background-color: #b20000;
}
.widget_price_filter .ui-slider .ui-slider-handle{
    background-color: #b20000;
}
.widget_price_filter .ui-slider .ui-slider-range{
    background-color: #b20000;
    opacity: 1;
}
.widget_price_filter .price_label {
    font-size: 17px;
    color: #3c3c3c;
    text-align: left;
    font-family: 'AvertaBold';
    margin-bottom: 6px;
    line-height: 1.2;
}
p.sku-prd {
    font-size: 13px;
    line-height: 2;
    margin: 0;
}

#tab-description img{
    display: block;
    margin:auto;
}
button.single_add_to_cart_button.button{
        color: #b20000;
    font-family: 'AvertaBold';
    padding: 0 40px;
    background: #fff !important;
    border: 1px solid;
    text-transform: inherit;
}
.item-intro {
    width: calc(100% / 2);
    text-align: center;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}
div#intro-prd {
    display: flex;
    flex-wrap: wrap;
    border-radius: 10px;
    box-shadow: rgba(0, 0, 0, 0.1) 0 10px 50px;
    padding: 1em;
}
.item-intro img {
    width: 48px;
}
.item-intro p {
    max-width: 65%;
    margin: 0.5em 0 auto;
    font-size: 0.875rem;
    display: block;
}
span.product-meta__value {
    background: #b20000;
    color: #fff;
    padding: 3px 8px;
    border-radius: 3px;
    margin: 0 8px 5px 0px;
    display: inline-block;
}

.post-sidebar .widget-title {
    font-weight: 700;
    font-family: Ephesis, sans-serif;
    text-transform: inherit;
    font-size: 28px;
    color: #000;
}
.post-sidebar .menu a{
        color: #000;
}
.seemore{
        margin-top: 1em;
    font-family: 'Ephesis';
    text-transform: inherit;
    font-size: 22px;
    font-weight: 100;
    border-radius: 5px;
    padding: 8px 30px;
    line-height: 1.3;
    background-color: #b20000;
    min-height: initial;
    color: #fff;
    margin: 15px auto 0 !important;
    display: table !important;
    transition: all 0.3s;
}
.seemore:hover{
    color: #fff !important;
        box-shadow: -3px 3px 1px 0px #431111;
         background-color: #305549;
}
.i_bct img{
    width: 120px !important;
}
.i_dmca{
    width: 120px !important;
}
.i_zalo{
    width: 150px !important;
}
p.trecen {
    font-family: AvertaBold;
    font-size: 25px;
    margin: 0 0 15px 0;
    color: #b20000;
}
.breadcrumbs {
    margin-bottom: 15px;
}
.entry-title-cate {
    font-family: 'Ephesis';
    margin: 0px 0 25px 0;
    font-size: 40px;
}

.smb_1 {
    padding: 15px 8px 0 8px;
}
.smb_1 .row .large-3 {
    flex-basis: 25%;
    max-width: 25%;
    padding: 0 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}
.smb_1 a.button {
    border: none;
    width: 100%;
    text-align: center;
    padding: 0;
    margin: 0;
    font-size: 13px;
    border: 1px solid #e5e0e0;
    min-height: 3.5em;
    height: 100%;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.smb_1 .large-12{
    flex-basis: 100%;
    max-width: 100%;
    padding: 0 5px;
}

@media screen and (max-width: 1023px){
    .header-search-form {
        width: 100% !important;
    }
}
@media screen and (max-width: 768px){
    .fbot .row:first-child .col{
        flex-basis: 50%;
    max-width: 50%;
    }
    .fbot .large-2 {
        padding: 0 15px;
    }
    .header-bottom {
        background-color: #fff !important;
    }
    #header form.searchform {
        border: 1px solid #efefef;
        border-radius: 5px;
    }
}
@media screen and (max-width: 767px){
    .s1{
        padding: 0 0 15px 0 !important;
    }
    .s3{
        padding: 0 !important;
    }
    .s5 .col.medium-6:nth-child(2) .col-inner {
        padding-right: 0;
        text-align: justify;
    }
    .s5 .col.medium-6:nth-child(2) .col-inner:before{
        width: 35px;
        background-size: contain;
        right: -15px;
        bottom: 55px;
        top: initial;
    }
    .s5 .large-12{
        padding: 0;
    }
    .ftop .icon-box-img{
        width: 30px !important;
    }
    .ftop .icon-box img{
        width: 100%;
    }
    .ftop .icon-box {
     
        border-radius: 5px;
        min-height: 85px;
        padding: .5em 0.5em;
    }
    .ftop .icon-box-left .icon-box-img+.icon-box-text {
        padding-left: 8px;
    }
    .fbot .row:first-child .col {
        flex-basis: 100%;
        max-width: 100%;
    }
    .fbot p{
        margin-bottom: 8px;
        font-size: 14px;
    }
    .fbot .ux-menu-link__link {
        padding: 0 0 8px 0;
     
        min-height: initial;
        font-size: 14px;
    }
    .i_zalo {
     
        margin-bottom: 30px;
    }
    .fbot .row:first-child .col:last-child{
        padding-bottom: 0;
    }
    .fb_end h2{
        font-size: 28px;
    }
    .fb_end h3 {
     
        font-size: 25px;
    }
    .add-to-cart-button a {
        width: 84%;
        padding: 0px 0;}
    }
    .s4 .box-text .button{
        font-size: 20px;
        
        padding: 3px 20px;
    }
    .off-canvas-left .mfp-content, .off-canvas-right .mfp-content{
        width: 280px;
    }
    .hotline-top li{
        padding: 0 !important;
    }
    .moon-sticky-contact__item-link .moon-sticky-contact__item-bar{
        display: none !important;
    }
    .moon-sticky-contact {
        left: 85px;
        bottom: 15px;
    }