/*
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.   ***************/
/* var(--fs-color-primary) */
/* var(--fs-color-secondary) */
/*=== STYLE ===*/
:root {
    --cl-linear: linear-gradient(90deg, var(--fs-color-primary), var(--fs-color-secondary));
    --white: #ffffff;
    --black: #000000;
}
.wpcf7 .wpcf7-not-valid-tip {
    font-size: 14px;
}
.archive .page-wrapper {
    padding-top: 0;
}
.d-block {
    display: block !important;
}
.mid-flex {
    display: flex;
    align-items: center;
    justify-content: center;
}
.absolute-full {
    position: absolute;
    top: 0;
    left: 0;
}
a.button.primary {
    background: var(--cl-linear);
    border: none;
}
a.button.primary:hover {
    transition: none;
    background: var(--fs-color-primary);
}
p {
    margin-bottom: 10px;
}
.section-title {
    font-size: 32px;
}
.section-title.section-title-center {
    justify-content: center;
}
.section-title.section-title-center b, .section-title.section-title-bold b {
    display: none;
}
.section-title-normal {
    border-bottom: none;
}
.section-title-normal span {
    border-bottom: none;
    padding-bottom: 0;
}
.title-bl .section-title {
    font-size: 26px;
}
.title-bl .section-title-main {
    border: none;
    border-left: 4px solid #db0000;
    padding: 0 0 0 15px;
}
.scbreadcrumbs, .scbreadcrumbs a {
    color: var(--white);
}
.scbreadcrumbs h1 {
    text-transform: uppercase;
    font-size: 30px;
    margin-bottom: 5px;
    color: var(--white);
}
.scbreadcrumbs .col {
    padding-bottom: 0;
}
.scbreadcrumbs .rank-math-breadcrumb p, .section-title-container {
    margin-bottom: 0;
}
/*=== HEADER  ===*/
#top-bar .flex-right a, #top-bar .flex-right span {
    font-size: 14px;
}
.header-main .nav-left {
    justify-content: center;
}
.hotline_topbar .phone {
    background: var(--fs-color-secondary);
    border-radius: 16px;
    padding: 4px 16px;
    margin-left: 10px;
    color: var(--black);
}
.hotline_topbar .phone i {
    padding-right: 5px;
}
.btn-contact {
    border: 2px solid var(--fs-color-primary);
    border-radius: 30px;
    padding: 7px 14px !important;
}
.btn-contact a {
    color: var(--fs-color-primary);
    padding: 0 !important;
}
.btn-contact:hover {
    background-color: var(--fs-color-primary);
}
.btn-contact:hover a {
    color: var(--white) !important;
}
/*=== END HEADER  ===*/
/*=== MEGA MENU  ===*/
.custom-megamenu {
    display: none !important;
}
.custom-megamenu .sub-menu {
    padding: 20px 60px;
}
.custom-megamenu .sub-menu .ux-menu-link a {
    color: var(--fs-color-primary);
    font-weight: 600;
    text-transform: capitalize;
}
.custom-megamenu .sub-menu .ux-menu-link.sub-mega a {
    color: var(--black);
    font-weight: 400;
}
/*=== END MEGA MENU  ===*/
/*=== SECTION ABOUT HOME ===*/
.scabout-home .right .sub-title p {
    margin-bottom: 0;
}
.scabout-home .right .icon-inner {
    border-radius: 50%;
    box-shadow: 0 5px 62px 0 rgb(2 55 102 / 9%);
}
.scabout-home .right .icon-box-text p {
    margin-bottom: 0;
}
/*=== END SECTION ABOUT HOME ===*/
/*=== SECTION SERVICE ===*/
.scservice .top p, .scservice .top h2 {
    margin-bottom: 0;
}
.scservice .top .icon-box {
    align-items: center;
}
.main_service {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.main_service .box {
    overflow: hidden;
    border-radius: 16px;
    background-color: var(--white);
}
.main_service .box:hover {
    box-shadow: 0 15px 35px rgb(0 0 0 / 10%);
}
.main_service .content {
    padding: 10px 15px 15px 15px;
}
.main_service .img {
    overflow: hidden;
}
.main_service .img .link:before {
    content: '';
    display: block;
    padding-bottom: 56.25%;
}
.main_service .img .link img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.main_service .icon_box {
    display: flex;
    margin-bottom: 10px;
}
.main_service .icon_box .icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.main_service .icon_box .title {
    width: calc(100% - 50px);
    padding-left: 15px;
}
.main_service .icon_box .heading a, .main_service .icon_box .heading {
    line-height: 1.5;
}
.main_service .icon_box .heading {
    margin-bottom: 0;
}
.main_service .icon_box .heading a {
    text-transform: uppercase;
    color: var(--black);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
.main_service .icon_box .heading a:hover {
    color: var(--fs-color-primary);
}
.main_service .desc {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: justify;
}
.main_service .btn {
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.main_service .btn_contact {
    background-image: var(--cl-linear);
    color: var(--white);
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
}
.main_service .btn_contact:hover {
    background: var(--fs-color-primary);
    box-shadow: inset 0 0 0 100px rgba(0,0,0,.2);
}
.main_service .btn_seemore {
    font-size: 14px;
    font-weight: 600;
    outline: none;
    display: flex !important;
    color: var(--fs-color-primary);
}
.main_service .btn_seemore:after {
    content: "\f105";
    font-family: 'fl-icons';
    background: var(--cl-linear);
    width: 15px;
    height: 15px;
    color: var(--white);
    border-radius: 50%;
    margin-left: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}
/*=== END SECTION SERVICE ===*/
/*=== SECTION NHUNG CON SO ===*/
.scnumber .icon-box {
    align-items: center;
}
.scnumber .icon-box-img {
    background: var(--white);
    padding: 10px;
    border-radius: 50%;
    box-shadow: 0 5px 62px 0 rgb(2 55 102 / 19%);
}
.scnumber .icon-box-img img {
    padding-top: 0;
}
.scnumber .icon-box-text h3 {
    font-size: 40px;
    color: #fff400 !important;
}
.scnumber .icon-box-text p, .scnumber .icon-box-text h3 {
    margin-bottom: 0;
    line-height: normal;
}
/*=== END SECTION NHUNG CON SO ===*/
/*=== END SECTION LOGO DOI TAC ===*/
.scpartner .slide-logo {
    transform: translateY(-120px);
    margin-bottom: -90px;
    background-color: var(--white);
    box-shadow: 0 5px 62px 0 rgb(2 55 102 / 9%);
    border-radius: 16px;
}
.scpartner .slide-logo .slider-wrapper .row {
    padding: 50px 50px 20px 50px;
}
.scpartner .slide-logo .img-inner {
    box-shadow: 0 5px 62px 0 rgb(2 55 102 / 9%);
    border-radius: 10px;
    padding: 20px;
    cursor: grab;
}
/*=== END SECTION LOGO DOI TAC ===*/
/*=== SECTION NHAN XET KHACH HANG ===*/
.screviews {
    padding-bottom: 20px !important;
}
.screviews .slider-wrapper .col-inner  {
    border-radius: 13px;
    padding: 18px;
}
.screviews .icon-box-text p {
    margin-bottom: 0;
    text-align: justify;
}
.screviews .icon-box-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.screviews .slider-wrapper .icon-box {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e6eae6;
}
.screviews .slider-wrapper .col {
    padding-left: 0;
    padding-right: 30px;
}
.screviews .slider-wrapper .icon-box:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}
.screviews .flickity-page-dots {
    bottom: -10px;
}
/*=== END SECTION NHAN XET KHACH HANG  ===*/
/*=== SECTION NEWS  ===*/
.scnews {
    padding-top: 0 !important;
}
.scnews:last-child {
    padding-bottom: 0 !important;
}
.scnews .is-divider {
    display: none;
}
.scnews .post-title a {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
}
.scnews-col .box-blog-post {
    display: flex;
}
.scnews-col .box-blog-post .box-text {
    padding: 0 0 0 10px;
    display: flex;
    align-items: center;
}
.scnews-col .post-item {
    padding-bottom: 20px;
}
.scnews-col .post-item:last-child {
    padding-bottom: 0;
}
/*=== END SECTION NEWS  ===*/
/*=== FOOTER ===*/
#footer .text a, #footer ul li a {
    color: var(--white);
}
#footer a:hover {
    color: #fcc71f;
}
#footer .widget {
    margin-bottom: 0;
    padding: 0;
}
#footer ul li:first-child a {
    padding-top: 0;
}
#footer ul li+li {
    border-top: 1px solid #ececec24;
}
.title_footer p {
    font-size: 22px;
    font-weight: 700;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 5px;
    border-bottom: 1px solid #fff;
}
.title_footer p:before {
    content: "";
    background: #fcc71f;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 85px;
    height: 3px;
}
/*=== END FOOTER  ===*/
/*=== PAGE GIOI THIEU ===*/
.scabout-page .row-icon .col-inner {
    box-shadow: 0 15px 35px rgb(0 0 0 / 10%);
    padding: 15px 0;
    border-radius: 16px;
    background: var(--cl-linear);
}
/*=== END PAGE GIOI THIEU ===*/
/*=== PAGE LIEN HE  ===*/
.sccontact-page .form_group p {
    display: flex;
    gap: 10px;
}
/*=== END PAGE LIEN HE  ===*/
/*=== SIDEBAR PRODUCTS  ===*/
#product-sidebar {
    padding-top: 40px;
}
#product-sidebar .sidebar-content {
    border: 1px solid #e3e3e3;
    border-radius: 10px;
    padding: 10px;
    counter-reset: a;
}
#product-sidebar .sidebar-content li:before {
    counter-increment: a;
    content: counter(a);
    margin-right: 5px;
    font-size: 14px;
    border-radius: 50%;
    background: var(--cl-linear);
    color: var(--white);
    width: 15px;
    height: 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
/*=== END SIDEBAR PRODUCTS  ===*/
/*=== SIDEBAR POSTS  ===*/
.post-sidebar {
    padding: 0 !important;
    border-left: none !important;
}
.post-sidebar .widget-area {
    position: sticky;
    top: 80px;
}
.post-sidebar .section {
    padding: 0;
}
.post-sidebar .section-content {
    background-color: #f1f1f1;
}
.post-sidebar form {
    padding: 10px;
    padding-bottom: 0;
    margin-bottom: 0;
}
.post-sidebar .section-content .text {
    padding: 5px;
    background-color: var(--fs-color-primary);
}
.post-sidebar .section-content .text p {
    color: var(--white) !important;
    margin-bottom: 0;
    text-transform: uppercase;
}

.post-sidebar .box-blog-post {
    display: flex;
}
.post-sidebar .box-blog-post .box-image {
    width: 80px;
    height: 80px;
}
.post-sidebar .box-blog-post .box-text {
    padding-left: 10px;
}
.post-sidebar .sidebar_tax {
    padding: 10px;
}
.post-sidebar .sidebar_tax li a {
    display: flex;
    align-items: center;
}
.post-sidebar .sidebar_tax li .img {
    width: 90px;
}
.post-sidebar .sidebar_tax li .title {
    width: calc(100% - 90px);
    padding-left: 10px;
    font-size: 14px;
    line-height: normal;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
/*=== END SIDEBAR POSTS  ===*/

@media (max-width: 1024px){
    .off-canvas-left.dark .mfp-content, .off-canvas-right.dark .mfp-content {
        background-color: var(--fs-color-primary);
    }
    .mfp-ready .mfp-close {
        opacity: 1;
    }
    .main_service {
        grid-template-columns: repeat(2, 1fr);
    }
    .sccourse .product-type-simple  {
        margin-left: 0;
        margin-right: 0;
    }
    #top-bar .nav-center {
        justify-content: space-between;
    }
    .scpartner .slide-logo .slider-wrapper .row {
        padding: 30px 20px 20px 20px;
    }
    .post-sidebar {
        padding: 0 15px !important;
    }
}

@media (max-width: 769px){
    .section-title {
        font-size: 26px;
    }
    .title-bl .section-title {
        font-size: 22px;
    }
    .screviews .slider-wrapper .col {
        padding-right: 0;
    }
}

@media (max-width: 640px){
    .scpartner .slide-logo .slider-wrapper .row {
        padding: 30px 10px 20px 10px;
    }
    .scnumber .icon-box-text h3 {
        font-size: 30px;
    }
    .scabout-page .row .col {
        padding-bottom: 10px;
    }
    .main_service {
        grid-template-columns: repeat(1, 1fr);
    }
    .single .entry-header .entry-title {
        font-size: 26px;
    }
    .sccontact-page .form_group p {
        flex-direction: column;
        gap: 0;
    }
}

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


}