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

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


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


}

#logo img {
    border-radius: 8px;
}

.header-bg-container {
    display: none;
}

body.home #header {
    background: none;
}

#header {
    background: linear-gradient(0deg, rgba(210, 168, 96, 1) 0%, rgba(253, 250, 187, 1) 50%, rgba(210, 168, 96, 1) 100%) !important;
}

#top-bar {
    background: transparent;
}

body.home header#header {
    position: absolute;
    top: 0;
    background: transparent !important;
}
body.home .header:not(.transparent) .header-nav-main.nav > li > a{
    color: #fff !important;
}
body.home #header-contact a{
    color: #fff;
}
body.home .menu-item-home img{
    filter: invert(1);
}
#header-contact a {
    color: #1f1b6f;
}

.header-search-form-wrapper input {
    background-color: rgba(255, 255, 255, .2) !important;
    border-color: rgba(255, 255, 255, .09);
}

.header-search-form-wrapper .icon-search {
    color: #1f1b6f;
}

/* Chrome, Safari, Edge (WebKit) */
.header-search-form-wrapper ::-webkit-input-placeholder {
    color: #1f1b6f;
}

/* Firefox */
.header-search-form-wrapper ::-moz-placeholder {
    color: #1f1b6f;
}

/* IE 10-11 */
.header-search-form-wrapper :-ms-input-placeholder {
    color: #1f1b6f;
}

/* Microsoft Edge cũ */
.header-search-form-wrapper ::-ms-input-placeholder {
    color: #1f1b6f;
}

.menu-item-home img{
    margin: -5px 7px 0 0
}

.s1 h3, .s1 p{
    text-align: center;
}
.s1 .icon-box {
    padding: 15px;
    border: 1px solid #ccc;
    border-radius: 10px;
}
.s1 .col{
    padding-bottom:0;
}
.s2 * {
    color: #fff;
}
.s2 .img img{
    border-radius: 15px;
}

.s3 .box-image {
    border-radius: 50%;
    max-width: 330px;
}

.s3 .header-title {
    font-size: 20px;
    opacity: 1;
    margin: 15px 0 5px 0;
}

.s3 .count {
    font-size: 12px;
}
.s3 .row{
        justify-content: center;
}

.title-tsl .section-title {
    display: block;
    position: relative;
    text-align: center;
    padding-bottom: 35px;
    font-size: 35px;
    margin: 0;
}

.title-tsl .section-title:after {
    content: "";
    display: inline-block;
    width: 390px;
    height: 25px;
    background: url(img/line.png) center no-repeat;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
}

.title-tsl .section-title b {
    display: none;
}
.s5 .section-bg{
    background-attachment: fixed;
}
.s6 .post-title a {
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    min-height: 45px;
}
.s7 .testimonial-image img{
        height: 121px;
    padding: 0;
    object-fit: cover;
}

.s9 .large-12{
    padding-bottom: 0;
}
.s9 .box-text {
    bottom: 0;
    padding: 0;
    background: none;
    transition: all 0.3s;
    background: linear-gradient(0deg, #ffffff 0%, rgba(0, 0, 0, 0.00) 100%);
}
.s9 .box-text h4{
    color: #FFF;
    font-size: 17px;

    line-height: 22px;
    text-transform: uppercase;
    text-align: left;
    margin: 0;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
}
.s9 .box:hover  h4{
    text-align: center;
    background: none;
    opacity: 1;
    visibility: visible;
    padding: 0 65px;
}
.s9 .box-text .box-text-inner:before{
    content: "";
    display: inline-block;
    width: 68px;
    height: 68px;
    background: url(img/ic3.png) center no-repeat;
    transition: all 0.3s;
    opacity: 0;
    visibility: hidden;
}

.s9 .box:hover .box-text{
    bottom: 0;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: rgba(0, 0, 0, 0.40);backdrop-filter: blur(4px);
}
.s9 .box:hover .box-text .box-text-inner:before{
    opacity: 1;
    visibility: visible;
}
.s9 .button{
    min-width: 338px;
    margin-top: 10px;
    margin-bottom: 0;
    justify-content: space-between;
}
.s9 .col .img:last-child:before{
    content: "";
    display: inline-block;
    width: 100%;
    background: linear-gradient(0deg, #ffffff 0%, rgba(0, 0, 0, 0.00) 100%);
    position: absolute;
    bottom: 0;
    left: 0;
    height: 50%;
    z-index: 11;
}
.s9 img{
    border-radius: 10px;
}
.s9_mb .large-6{
    flex-basis: 50%;
    max-width: 50%;
}


.ft .img img {
    border-radius: 12px;
}

.ft * {
    color: #fff;
}

.back-to-top.active {
    border: 1px solid #fff;
    color: #fff;
    background-color: #1f1b6f;
}

body:not(.home) .product-small.box {
    border: 1px solid #2d9bce;
    border-radius: 10px;
}
body:not(.home) .product-small .box-image{
    border-radius: 10px;
}

.product-title a {
    color: #5c4439;
    font-weight: bold;
}

.price-wrapper span.amount {
    color: #ffffff !important;
    background: #1d4382;
    padding: 10px 20px;
    border-radius: 5px;
}
.contact-button{
        border-radius: 5px;
}

span.widget-title,
h2.widgettitle {
    background: linear-gradient(180deg, #1b1363, #3747af);
    display: block;
    color: #fff;
    padding: 15px 15px;
    margin-bottom: 0px;
    line-height: 1.3;
    font-size: 18px;
}

.widget {
    margin-bottom: 0em;
}

.is-divider.small {
    display: none;
}

.widget ul {
    margin-bottom: 13px;
}

.widget ul.product-categories>li>a {
    background-image: linear-gradient(to bottom, #dee1e6, #f1f3f4);
    color: #000 !important;
    font-size: 14px;
    font-weight: 700;
    text-transform: capitalize;
    padding-left: 20px;
}

ul.menu>li>a {
    list-style: none;
    margin-bottom: .3em;
    text-align: left;
    margin: 0;
    display: block;
}

.widget ul>li>a:hover {
    background: #fff;
}

.widget ul.product-categories>li>a {
    position: relative;
}

.widget ul.product-categories>li>a:before {
    content: '';
    width: 0;
    height: 0;
    border-top: 5px solid transparent;
    border-left: 5px solid #555;
    border-bottom: 5px solid transparent;
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translatey(-50%);
}

.product-main .content-row > .large-9{
    border: none;
}

.section-title-normal {
    border-bottom: 2px solid #3441a6;
    background: #ededed;
}
.section-title-normal span {
    background: linear-gradient(180deg, #1b1363, #3747af);
    padding: 7px 15px;
    color: #fff;
    border-left: 10px solid #bc202a;
    border-radius: 0 7px 0 0;
}
.wpcf7-spinner{
    display: none
}
.wpcf7 .wpcf7-not-valid-tip{
    font-size: 14px;
}

@media screen and (max-width: 1095px){
    .header:not(.transparent) .header-nav-main.nav > li > a{
        font-size: 15px;
    }
    #logo {
        width: 150px !important;
    }
}
@media screen and (max-width: 825px){
    .s1 .col {
        flex-basis: 50%;
        max-width: 50%;
        padding-bottom: 30px;
    }
    .s2 .col{
        flex-basis: 100%;
        max-width: 100%;
    }

    .s7 .large-6{
        flex-basis: 100%;
        max-width: 100%;
    }
    .ft .col{
        flex-basis: 50%;
        max-width: 50%;
    }
    .ft .large-2 .img img{
        max-width: 170px;
    }
    .ft .large-3 .img img{
        max-width: 200px;
    }
}
@media screen and (max-width: 769px){
    body.home header#header {
        background: #fff !important;
        position: inherit;
    }
    .header-main {
        height: 70px !important;
    }
    .s1 .col, .s5 .large-3, .s6 .post-item{
        flex-basis: 50%;
        max-width: 50%;
    }
    .s3 .box-image {
        max-width: 250px;
    }
    .s3 .row{
        justify-content: center;
    }
    .s9 .col{
        flex-basis: 100%;
        max-width: 100%;
        padding: 0;
    }
    
}
@media screen and (max-width: 550px){
    .s1{
        padding: 15px 7.5px !important;
                
    }
    .s1 .icon-box{
        min-height: 290px;
    }
    .s1 .col{
                flex-basis: 50%;
        max-width: 50%;
        padding: 0 7.5px 15px 7.5px;
    }
    .s3 .box-image {
        max-width: 160px;
    }
    .s3 .header-title{
        font-size: 18px;
    }
    .title-tsl .section-title{
        font-size: 25px;
    }
    .s5 .large-3,  .s6 .post-item{
        flex-basis: 100%;
        max-width: 100%;
    }
    .s6{
        padding: 60px 0 30px 0 !important
    }
    .ft .col {
        flex-basis: 100%;
        max-width: 100%;
    }
    .ft{
        padding-bottom: 0 !important;
    }
    .s4 .row{
        justify-content: center;
    }
}
@media screen and (max-width: 450px){
    .s7 .icon-box-img{
        width: 65px !important;
    }
    .s7 .icon-box-img img{
        height: 65px !important;
    }
    .s7 .testimonial-text p{
        font-size: 14px;
    }
    .ft .large-3 .img img{
        display: block;
        margin: auto;
    }
}