/*
Theme Name: Yen Sao
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

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

.featured-row {
    background-color: #fff;
    box-shadow: 2px 3px 7px #f1f1f1;
    padding: 30px 0;
}
.featured-row .col {
    padding-bottom: 0;
}
.featured-row .col::after {
    content: '';
    position: absolute;
    display: block;
    top: 50%;
    right: 0;
    width: 1px;
    height: 50%;
    transform: translateY(-50%);
    background-color: #CECECE;
}
.featured-row .col:last-child::after {
    display: none;
}
/* .title-style-1 {
    margin-bottom: 0;
} */
.title-style-1::after {
    content: '';
    display: block;
    width: 40%;
    max-width: 150px;
    height: 2px;
    background: #003265;
    margin: 0.5em auto 0 auto;
}
.products-list-style .box-text-products {
    background: #fff;
    text-align: center;
    padding: 20px;
}
.products-list-style .woocommerce-loop-product__link {
    font-size: 1.3em;
    font-weight: 700;
}
.products-list-style .title-wrapper {
    margin-bottom: 1em;
}
.products-list-style .price-wrapper {
    font-size: 1.1em;
}
.products-list-style span.amount {
    font-weight: 700;
    color: #e5c81c;
}
.products-list-style .product .box {
    box-shadow: 0px 0px 7px rgba(0, 0, 0, 0.1);
}
.add-to-cart-button a.add_to_cart_button {
    background-color: #e5c81c;
    border-color: #e5c81c;
    color: #fff;
    margin-right: 0;
    line-height: 1.2;
    padding: 7px;
}
.posts-list-style .is-divider {
    display: none;
}
.posts-list-style .post-item .col-inner {
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    border-radius: 12px;
}
.posts-list-style-2 .post-item .col-inner {
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    border-radius: 12px;
    height: 100%;
}
.posts-list-style-2 .post-title {
    margin-bottom: 0.5em;
}
.posts-list-style-2 .button {
    margin-right: 0;
}
.posts-list-style-2 .box-blog-post {
    height: 100%;
}
.posts-list-style-2 .box-text {
    height: 100%;
}
.testimonial-slider__item-wrap {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    padding: 30px;
    background: #e5e4e4;
    border-radius: 10px;
}
.testimonial-slider__item-img {
    width: 35%;
}
.testimonial-slider__item-txt {
    width: 65%;
    padding-left: 30px;
}
.testimonial-slider__item-content {
    margin-bottom: 1em;
}
.testimonial-slider__item-stars {
    color: #e5c81c;
    display: inline-block;
    margin-left: 10px;
}
.testimonial-slider .slick-arrow,
.safety-cert-slider .slick-arrow {
    z-index: 2;
}
.testimonial-slider .slick-arrow::before,
.safety-cert-slider .slick-arrow::before {
    color: #003265;
    font-size: 30px;
}   
.testimonial-slider .slick-prev,
.safety-cert-slider .slick-prev {
    left: 15px;
}
.testimonial-slider .slick-next,
.safety-cert-slider .slick-next {
    right: 20px;
}
.safety-cert-slider__item {
    padding: 0 10px;
}
.footer-wrapper .col {
    padding-bottom: 0;
}
.footer-wrapper .col-inner p:last-of-type,
.footer-wrapper .col-inner ul:last-of-type {
    margin-bottom: 0;
}
.footer-wrapper .col-inner ul li:last-child {
    margin-bottom: 0;
}
.footer-wrapper .col-inner ul {
    list-style-type: none;
}
.footer-wrapper .col-inner ul li {
    margin-left: 0;
    margin-bottom: .3em;
}
.back-to-top.button {
    background-color: #e5c81c;
    border-color: #e5c81c;
    color: #003265;
}
.shop-container .products .product .box-text {
    background: #fff;
    height: 100%;
}
.shop-container .products .product .col-inner {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    height: 100%;
}
.shop-container .woocommerce-loop-product__link {
    font-size: 1.3em;
    font-weight: 700;
}
.shop-container span.amount {
    color: #e5c81c;
}
.shop-container .products .product .box {
    height: 100%;
}
.product-categories a {
    font-weight: 700;
}
.blog-archive {
    padding: 60px 0;
}
.blog-archive > .row > .col {
    flex-basis: 100%;
    max-width: 100%;
    padding-bottom: 0;
}
.blog-archive .post-item .col-inner {
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    border-radius: 12px;
    height: 100%;
}
.blog-archive .post-item .box-text {
    padding: 20px;
}
.blog-single > .row > .col:first-child {
    padding-right: 15px;
}
.blog-single > .row > .col:last-child {
    padding-left: 15px;
}
.img.custom-img {
    margin-left: auto;
    margin-right: 0;
}
.align-self-center {
    align-self: center;
}
.custom-row {
    margin-top: -5em;
}
.header-nav-main.nav > li > a {
    color: #003265;
}
.custom-img-col .col-inner,
.custom-img-col .img,
.custom-img-col .img-inner {
    height: 100%;
}
.custom-img-col img {
    height: 100%;
    object-fit: cover;
}
.title-style-1--ct::after {
    width: 100%;
    max-width: 100%;
}
.list-style {
    list-style-type: none;
    margin-bottom: 0;
}
.list-style li {
    margin-left: 0 !important;
    padding-left: 25px;
    position: relative;
}
.list-style li:last-child {
    margin-bottom: 0;
}
.list-style li::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: #003265;
}
.list-style li.list-style__phone::before {
    content: '\f095';
}
.list-style li.list-style__mail::before {
    content: '\f0e0';
}
.list-style li.list-style__address::before {
    content: '\f3c5';
}
.page-template-default .row-main > .col {
    padding-bottom: 0;
}
.page-template-default .page-wrapper {
    padding: 80px 0;
}
.contact-form-col .wpcf7-form-control-wrap {
    margin-top: 0.5em;
}
.contact-form-col input[type="text"],
.contact-form-col input[type="email"],
.contact-form-col textarea {
    box-shadow: none;
    -webkit-box-shadow: none;
    border-radius: 7px;
}
.contact-form-col input[type="text"],
.contact-form-col input[type="email"] {
    height: 3em;
    border-radius: 7px;
}
.contact-form-col input[type="submit"] {
    border-radius: 7px;
    margin: 0;
}
.contact-form-col form {
    margin-bottom: 0;
}
.contact-form-col .wpcf7-spinner {
    display: none;
}
.contact-sec {
    border-radius: 7px;
}
.header:not(.transparent) .header-nav-main.nav > li.active > a,
.header-nav-main.nav > li.active > a,
.header-nav-main.nav > li > a:hover {
    color: #e5c81c;
}

.pd-l-0 {
    padding-left: 0;
}
.pd-r-0 {
    padding-right: 0;
}
.pd-bt-20px {
    padding-bottom: 20px;
}
.pd-bt-0 {
    padding-bottom: 0;
}

@media only screen and (max-width: 1279px) {
    .custom-row {
        margin-top: -2em;
    }
}

@media only screen and (max-width: 849px) {
    .main-slider .text-box {
        font-size: 14px;
    }
    .testimonial-slider__item-wrap {
        align-items: flex-start;
    }
    .blog-archive .post-item {
        flex-basis: 50%;
        max-width: 50%;
    }
    .tablet-order-1 {
        order: 1;
    }
    .tablet-order-2 {
        order: 2;
    }
    .tablet-order-3 {
        order: 3;
    }
    .custom-row {
        margin-top: 0;
    }
    .pd-l-15px-tb {
        padding-left: 15px;
    }
}

@media only screen and (max-width: 549px) {
    .products-list-style .box-text-products {
        padding: 10px;
    }
    .testimonial-slider__item-img,
    .testimonial-slider__item-txt {
        width: 100%;
    }
    .testimonial-slider__item-img {
        margin-bottom: 1em;
    }
    .testimonial-slider__item-txt {
        padding-left: 0;
    }
    .testimonial-slider__item-wrap {
        padding: 20px;
    }
    .testimonial-slider .slick-prev,
    .safety-cert-slider .slick-prev {
        left: 5px;
    }
    .testimonial-slider .slick-next,
    .safety-cert-slider .slick-next {
        right: 15px;
    }
    .footer-wrapper .col {
        padding-bottom: 30px;
    }
    .footer-wrapper .col:last-child {
        padding-bottom: 0;
    }
    .blog-archive .post-item {
        flex-basis: 100%;
        max-width: 100%;
    }
    .contact-sec.section {
        padding-right: 15px;
        padding-left: 15px;
    }
    .page-template-default .page-wrapper {
        padding: 60px 0;
    }

    .tal-c-mb .col-inner {
        text-align: center;
    }
    .tal-c-mb .img {
        margin-left: auto;
        margin-right: auto;
    }
    .pd-bt-15px-mb {
        padding-bottom: 15px;
    }
}