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

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


@media only screen and (max-width: 48em) {
    /*************** ADD MOBILE ONLY CSS HERE  ***************/
    .mr-half, .ml-half, .mt-half, .mb-half {
        margin: 0px;
    }
    
}
.off-canvas-left .mfp-content, .off-canvas-right .mfp-content {
    width: 280px;
} 
ul.nav-dropdown.nav-dropdown-default {
    border: unset;
    /* padding: 20px; */
    box-shadow: 1px 1px 15px rgb(0 0 0 / 20%);
}
.content-show-hide{
    overflow: hidden;
}
table, td, th {
    border: 1px solid rgba(0,0,0,.1);
} 
.ly-do .icon-box {
    margin-top: -50px;
}    
/* Custom CSS */

.section4,
.section7 {
    padding-bottom:0 !important;
}

.section1 .icon-box h3 {
    font-size:19px;
    line-height:30px;
    font-weight:700;
    margin-bottom:0;
}

.section1 .icon-box p {
    font-size:15px;
    line-height:20px;
}

.section1 .icon-box .icon-box-img {
    padding:10px;
    border-radius:90%;
    background:#d70b2d;
}

.section1 .icon-box:hover {
    cursor:pointer;
}

.section1 .icon-box:hover .icon-box-img {
    background:#d70b2d;
}

.section1 {
    margin-top:-100px;
}

.section1 .row1 {
    padding:40px 15px;
    background:#fff;
    border-radius:5px;
    border-bottom:3px solid #d70b2d;
}

.section1 .row1 .col {
    padding-bottom:0 !important;
}

.section2:before {
    position:absolute;
    content:'';
    display:block;
    left:60%;
    margin-right:15px;
    top:0;
    bottom:0;
    right:-10000px;
    background-image:url(images/pattern-02.jpg);
}

.section2 .cot1 h2 {
    font-size:39px;
    line-height:39px;
    position:relative;
    font-family:"Quicksand",sans-serif;
    margin-bottom:35px;
}

.section2 .cot1 h2:before {
    position:
    absolute;
    left:5px;
    bottom:-15px;
    width:120px;
    height:3px;
    content:
    "";
    background: #df3c57;
}

.section2 .cot1 h2:after {
    position:absolute;
    left:0;
    bottom:-15px;
    width:3px;
    height:3px;
    content:"";
    background:#d70b2d;
}

.section2 .cot1 h3,
.section3 .cot1 p {
    font-size:13px;
    line-height:23px;
    letter-spacing:1px;
    color:#d70b2d;
    text-transform:uppercase;
    font-weight:600;
    font-style:normal;
    font-family:"Quicksand",sans-serif;
    margin-bottom:0;
}

.section3 .cot1 h2,
.section5 .cot1 h2 {
    font-size:39px;
    line-height:39px;
    position:relative;
    font-family:"Quicksand",sans-serif;
    margin-bottom:35px;
}

.section3 .cot1 h2:before,
.section5 .cot1 h2:before {
    position:absolute;
    left:45.5%;
    bottom:-15px;
    width:120px;
    height:3px;
    content:"";
    background:#d70b2d;
}

.section3 .cot1 h2:after,
.section5 .cot1 h2:after {
    position:absolute;
    left:45%;
    bottom:-15px;
    width:3px;
    height:3px;
    content:"";
    background:#d70b2d;
}

.section3 .row2 {
    margin-top:50px;
}

.section3 .row2 .large-3 {
    padding:0 5px 10px;
}

.section3 .ly-do .col-inner {
    background-color: #ffe187;
    padding:15px;
    position:
    relative;
    /* min-height:255px; */
}

.section3 .number {
    width:50px;
    height:50px;
    position:relative;
    top:-39px;
    background-color:#d70b2d;
    color:#fff;
    font-size:32px;
    margin:0 auto;
    text-align:center;
    border-radius:50%;
}

.section3 .noi-dung {
    /* margin-top:-20px; */
}

.section3 .noi-dung h4 {
    font-size:25px;
    font-family:"Quicksand",sans-serif;
}

.section3 .noi-dung .des {
    font-size:15px;
}

.section4 {
    background:url(images/patt.png) #fafafa;
}

.is-divider {
    display:none;
}

.box.box-normal .box-image,
.blog-archive .box .box-image {
    padding:10px;
    background:#fff;
    border-radius:5px 5px 0 0;
}

.box.box-normal .box-text,
.blog-archive .box .box-text {
    padding:5px 20px 20px 20px;
    background:#fff;
    border-radius:0 0 5px 5px;
}

.box.box-normal .cat-label {
    text-transform:inherit;
    opacity:1;
    font-size:14px;
    position:absolute;
    top:-35px;
    color:#fff;
}

.box.box-normal .box-text h5 {
    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
    overflow:hidden;
    height:45px;
}

.box.box-normal:hover h5 {
    color:#d70b2d;
}

.timeline {
    padding:0;
}

.timeline .circle {
    background:#d70b2d;
    border:.5rem solid #d5d5d5;
    height:2.25rem;
    width:2.25rem;
    vertical-align:middle;
    position:relative;
    left:-17px;
}

.timeline ul {
    margin:0;
    padding:0;
}

.timeline em {
    color:#666;
    display:block;
    font-weight:bold;
}

.timeline li {
    margin:0 !important;
    border:0 solid #aaa;
    list-style-type:none;
    padding:1rem 2rem;
    width:100%;
    border-left-width:2px;
}

.timeline li:before {
    background:#d70b2d;
    border-radius:100%;
    content:"";
    display:inline-block;
    height:1rem;
    position:absolute;
    width:1rem;
    left:-7px;
    margin-top:1rem;
}

.timeline li strong {
    font-family:"Quicksand",sans-serif;
}

.timeline li p {
    text-transform:initial !important;
    font-size:14px;
    display:none;
}

.section5 .row2 .cot1:before {
    position:absolute;
    content:'';
    display:block;
    right:39%;
    margin-right:15px;
    top:0;
    bottom:0;
    left:-10000px;
    background-image:url(images/pattern-02.jpg);
}

.section5 .row2 .cot1 {
    padding:30px;
    align-self:center;
}

.section5 .row2 .cot1 .img-inner {
    border:10px solid #d70b2d;
}

.section5 .cot1 h2,
.section6 .cot1 h2 {
    line-height:50px;
}

.section6 .cot1 h2:after,
.section6 .cot1 h2:before {
    background:#fff;
}

.section .faq-row {
    background:white;
    padding:20px;
    border-radius:10px;
}

.section .faq-row .accordion-title {
    position:relative;
    border:solid 1px #c6ebde;
    border-radius:10px;
    padding-right:40px;
    background:#fff;
    font-size:18px;
    font-weight:400;
    margin-bottom:7px;
    cursor:pointer;
}

.footer-section .row2 {
    border-bottom: 2px solid #ffadba;
}

.footer-section .row2 .small-tit {

    font-size:16px;
    margin-bottom:0;
}

.footer-section .row2 .small-tit i {
    color: #ffffff;
    margin-right: 5px;
    border: 1px solid #fff;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    border-radius: 100%;
}

.footer-section .row2 .big-tit {
    color:#fff;
    font-size:15px;
    font-weight:600;
    padding-left:0px;
    margin-bottom:0;
}

.footer-section .row3 {
    padding-top:40px;
}

.footer-section .button.icon.circle {
    border-color:#2a3840;
    background-color:#2a3840;
    color:#999;
    margin-right:8px;
}

.footer-section .ux-logo-link {
    padding-left:0 !important;
}

.footer-section .row3 ul {
    margin-bottom:0;
}

.footer-section .row3 .col {
    padding-bottom:0 !important;
}

.absolute-footer.dark {
    color:#fff;
}

.header-block-top {
    padding-left:115px !important;
}

.header-block-top>.col {
    padding-bottom:0 !important;
    padding:0 5px 10px;
}

.header-block-top .icon-box .icon-box-text strong {
    font-size:14px;
    color:#222;
}

.header-block-top .icon-box .icon-box-text p {
    margin:0;
    font-size:14px;
}

.nav li a {
    font-family:"Quicksand",sans-serif;
}

.nav>li>a {
    color:#333;
    padding:0 20px;
    margin-right:0;
}

.nav>li {
    margin:0;
}

.header-bottom-nav>li>a {
    line-height:45px;
    position:relative;
    overflow:hidden;
    z-index:2;
}

.nav-dropdown>li>a {
    position:relative;
    overflow:hidden;
    z-index:2;
    padding-left:10px !important;
    margin:0 !important;
    color:#000;
}

.header-bottom-nav>li>a:before,
.nav-dropdown>li>a:before {
    content: "";
    display: block;
    position: absolute;
    right: 100%;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: #fac72b;
    z-index: -1;
    opacity: 1;
    transition: all .2s ease-out;
}

.header-bottom-nav>li>a:hover,
.nav-dropdown>li>a:hover {
    color:#fff;
}

.header-bottom-nav>li>a:hover:before,
.nav-dropdown>li>a:hover:before {
    opacity:1;
    right:0;
}

.nav-dropdown-default {
    padding:0;
    border:none;
    box-shadow:none;
}

.blog-single .large-9.col,
.archive.category .large-9.col {
    max-width:70%;
    flex-basis:70%;
    padding:0 10px 10px;
}

.blog-single .post-sidebar.large-3,
.archive.category .post-sidebar.large-3 {
    max-width:30%;
    flex-basis:30%;
    padding:0 10px 10px;
    border-left:none !important;
    padding-top:15px;
}

.widget-title,
.widgettitle {
    margin-bottom:0;
    background:#d70b2d ;
    padding:15px 25px;
    border-top-left-radius:5px;
    border-top-right-radius:5px;
    color:white;
    display:block;
}

.flatsome_recent_posts ul,
.product_list_widget ,.widget ul.menu{
    background:#f6fbff;
    border-bottom-left-radius:4px;
    border-bottom-right-radius:4px;
    padding:0 15px;
}

.recent-blog-posts {
    padding:12px 0 12px;
}

.recent-blog-posts-li .badge-inner {
    border-radius:99%;
}

ul.product_list_widget li img {
    margin:0;
    border-radius:99%;
}

.entry-header-text {
    padding-bottom:0;
}

h2 strong,
h3 strong,
h4 strong,
h5 strong,
h2 b,
h3 b,
h4 b,
h5 b {
    font-weight:bold;
}

.breadcrumbs,
.breadcrumbs a {
    color:#333;
    font-size:14px;
}

/* Custom CSS Mobile */

@media (max-width:549px) {
    .section1 {
    margin-top:0;
    padding-top:0 !important;
    }
    .section1 .row1 {
    padding:30px 0;
    }
    .section1 .row1 .col {
    padding-bottom:10px !important;
    }
    .section2:before {
    display:none;
    }
    .section2 .row1 .cot2:before {
    position:absolute;
    content:'';
    display:block;
    left:39%;
    margin-right:15px;
    top:0;
    bottom:0;
    right:-10000px;
    background-image:url(images/pattern-02.jpg);
    }
    .section3 .row2 .large-3 {
    padding:0 5px 10px;
    margin-bottom:25px;
    max-width:100%;
    flex-basis:100%;
    }
    .section3 .ly-do {
    min-height:fit-content;
    }
    .section3 .cot1 h2,
    .section5 .cot1 h2 {
    font-size:26px;
    line-height:35px;
    position:relative;
    font-family:"Quicksand",sans-serif;
    margin-bottom:35px;
    }
    .section4 .row1 .large-columns-3 .col.post-item,
    .section7 .row1 .large-columns-4 .col.post-item {
    max-width:50%;
    flex-basis:50%;
    }
    .box.box-normal .box-text,
    .blog-archive .box .box-text {
    padding:5px 10px 10px 10px;
    }
    .section5 .row2 .cot1 {
    order:2;
    }
    .timeline {
    padding:0;
    position:relative;
    left:15px;
    }
    .section .faq-row .accordion-title {
    padding-right:20px;
    font-size:16px;
    }
    .faq-row .accordion-inner {
    padding:15px;
    font-size:16px;
    }
    .footer-section .row2 {
    padding-bottom:0;
    }
    .footer-section .row3 {
    padding-top:0;
    }
    .footer-section .small-6 {
    max-width:100%;
    flex-basis:100%;
    }
    .blog-single .large-9.col,
    .archive.category .large-9.col {
    max-width:100%;
    flex-basis:100%;
    padding:0 10px 10px;
    }
    .blog-single .post-sidebar.large-3,
    .archive.category .post-sidebar.large-3 {
    max-width:100%;
    flex-basis:100%;
    padding-top:0;
    }
    .section2 .cot1 h2:after,
    .section3 .cot1 h2:after,
    .section5 .cot1 h2:after {
    display:none;
    }
    .section2 .cot1 h2:before,
    .section3 .cot1 h2:before,
    .section5 .cot1 h2:before {
    left:35%;
    }
}





.widget-title, .widgettitle {
    background: #d70b2d  !important;
}
#comments {
    display: none;
}
.meta-related {
    background: #0c6d3c;
    padding: 10px;
    border-radius: 5px;
}
.relatedcat h3, .relatedcat li, .relatedcat a {
    color: white;
}
.back-to-top {
    bottom: 70px;
}

.hieuunggoi {
    animation: calltrap_spin 2s infinite;
}
.row-callnow {
    max-width: 100%;
    background: #018e47;
    padding: 5px 0;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    vertical-align: middle;
    z-index: 999999999;
}
.row-callnow a p:hover {
    color: red !important;
}
.row-callnow a:hover {
    color: white !important;
}
.callnow {
    max-width: 1065px !important;
    height: auto;
    display: flex;
    margin: auto;
}
.callnow a {
    width: 25%;
    border-right: 1px solid #ffffff75;
    color: white;
    text-align: center;
}
.callnow a:last-child {
    border-right: none !important;
}
.fa, .fas,.fab, .far {
    font-size: 16px;
}
.callnow-item img {
    width: 20px;
}
.callnow-item p {
    margin-bottom: 0 !important;
    font-size: 12px !important;
}

@keyframes calltrap_spin {
    0% {
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg)
    }
    40% {
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg)
    }
    45% {
        -webkit-transform: rotate(-10deg);
        -moz-transform: rotate(-10deg);
        -o-transform: rotate(-10deg);
        transform: rotate(-10deg)
    }
    47% {
        -webkit-transform: rotate(10deg);
        -moz-transform: rotate(10deg);
        -o-transform: rotate(10deg);
        transform: rotate(10deg)
    }
    50% {
        -webkit-transform: rotate(-10deg);
        -moz-transform: rotate(-10deg);
        -o-transform: rotate(-10deg);
        transform: rotate(-10deg)
    }
    53% {
        -webkit-transform: rotate(10deg);
        -moz-transform: rotate(10deg);
        -o-transform: rotate(10deg);
        transform: rotate(10deg)
    }
    57% {
        -webkit-transform: rotate(-10deg);
        -moz-transform: rotate(-10deg);
        -o-transform: rotate(-10deg);
        transform: rotate(-10deg)
    }
    60% {
        -webkit-transform: rotate(10deg);
        -moz-transform: rotate(10deg);
        -o-transform: rotate(10deg);
        transform: rotate(10deg);
        opacity: 1
    }
    63% {
        -webkit-transform: rotate(-10deg);
        -moz-transform: rotate(-10deg);
        -o-transform: rotate(-10deg);
        transform: rotate(-10deg)
    }
    67% {
        -webkit-transform: rotate(10deg);
        -moz-transform: rotate(10deg);
        -o-transform: rotate(10deg);
        transform: rotate(10deg)
    }
    70% {
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg)
    }
}
h1.title-top {
    font-size: 42px;
    font-weight: bold;
    color: #d70b2d;
}

@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/
    h1.title-top {
        font-size: 25px;
    }
    .sec0 {
        padding-top: 30px !important;
        padding-bottom: 0px !important;
    }

}