/*
Theme Name: AZ9s.com
Description: Flatsome Team developed for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.9
*/

/*************** CSS By TuanNgyn07.   ***************/
:root{
--main-col:#f88c20;
--secon-color:#231f1e;
--thir-color:#23355c;
}
/*Scroll bar*/
::-webkit-scrollbar {
-webkit-appearance: none;
}
::-webkit-scrollbar {
    width: 8px;
    background-color: #F5F5F5;
}
::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.1);
    background-color: #F5F5F5;
    border-radius: 10px;
}
::-webkit-scrollbar-thumb {
    background-color: var(--main-col);
    border: 1px solid var(--main-col);
}
@font-face {
    font-weight: 400;
     font-family: "SVNFont";
     src: url(/wp-content/themes/az9s-com/font/SVN-Gilroy-Light.otf);
}
@font-face {
    font-weight: 500;
     font-family: "SVNFont";
     src: url(/wp-content/themes/az9s-com/font/SVN-Gilroy-Regular.otf);
}
@font-face {
    font-family: "SVNFont";
    src: url(/wp-content/themes/az9s-com/font/SVN-Gilroy-Medium.otf);
    font-weight: 600;
}
@font-face {
    font-weight: 700;
     font-family: "SVNFont";
     src: url(/wp-content/themes/az9s-com/font/SVN-Gilroy-SemiBold.otf);
}
@font-face {
    font-weight: bold;
     font-family: "SVNFont";
     src: url(/wp-content/themes/az9s-com/font/SVN-Gilroy-SemiBold.otf);
}
h1,h2,h3,h4,h5,h6,strong{
    font-family: "SVNFont" !important;
}
p,li,span,a,button{
    font-family: "SVNFont";
}
b, strong {
    font-weight: 600 !important;
}   
p, span, li, strong{
    font-size: 16px;
}
h4.filter-title {
    color: #23355c !important;
    font-size: 20px;
    font-weight: 500;
}
h1{
    font-size: 32px;
    text-transform: uppercase;
}
h2{
    font-size: 28px;
}
h3{
    font-size: 24px;
}
h4{
    font-size: 20px;
}
.pd-bottom {
    padding-bottom: 0;
}
.sc-maps iframe{
    width: 100%;
}
.post-title {
    color: var(--secon-color);
}
.width-80{
    width: 80%;
    margin: 0 auto;
}
.st_tatcasp.section-custom{
    padding-top: 30px !important;
}
.section-custom{
    padding-bottom: 0 !important;
    padding-top: 0 !important;
}
.col-padding{
    padding-bottom: 0;
}
.entry-content p{
    text-align: justify;
}
.ul-none li{
    list-style: none !important;
    margin-left: 0 !important;
}
.wpd-auth {
    display: none !important;
}
/*CSS Form Light box*/
.form-zc .col {
    padding-bottom: 0;
}
.gia-goi-form input[type="radio"] {
    display: none;
}
.opt-advance label {
    position: relative;
    display: inline-block;
    font-size: 24px;
    color: var(--main-col);
    text-align: center;
    font-weight: 600;
    padding: 0 20px;
    width: auto;
}

.opt-advance label::before,
.opt-advance label::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 60px; /* độ dài line */
    height: 2px; /* độ dày line */
    background-color: var(--main-col);
    transform: translateY(-50%);
}

.opt-advance label::before {
    left: -70px; /* khoảng cách bên trái */
}

.opt-advance label::after {
    right: -70px; /* khoảng cách bên phải */
}
.check-dv input[type="checkbox"] {
    height: auto;
}
/* Tổng thể vùng checkbox */
.check-dv {
    margin-top: 20px;
    margin-bottom: 30px;
}
.check-dv .wpcf7-checkbox {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Desktop: 3 cột cố định */
    gap: 10px 20px;
}

/* Mỗi item */
.check-dv .wpcf7-list-item {
    display: flex;
    align-items: center;
    font-size: 15px;
    color: #222;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 8px 12px;
    transition: all 0.25s ease;
}

/* Hover đẹp */
.check-dv .wpcf7-list-item:hover {
    border-color: var(--main-col);
    background: rgba(255, 100, 0, 0.05);
}

/* Checkbox input */
.check-dv input[type="checkbox"] {
    accent-color: var(--main-col);
    width: 18px;
    height: 18px;
    margin-right: 8px;
}

/* Label nội dung */
.check-dv .wpcf7-list-item-label {
    line-height: 1.4;
}

/* Responsive - Mobile 1 cột */
@media (max-width: 768px) {
    .check-dv .wpcf7-checkbox {
        grid-template-columns: 1fr; /* Mobile: 1 cột */
        gap: 8px;
    }
    .check-dv .wpcf7-list-item {
        font-size: 14px;
        padding: 6px 10px;
    }
}

/* Nếu muốn căn giữa toàn khối */
.opt-advance {
    text-align: center;
    margin: 30px 0;
}

.gia-goi-form label,
.gia-goi-form span.wpcf7-form-control-wrap span {
    font-size: 20px;
}
.gia-goi-form p {
    display: flex;
    justify-content: flex-start;
}
.gia-goi-form label {
    width: auto;
    padding-right: 10px;
}
/*Header*/
.mfp-content ul.sub-menu.nav-sidebar-ul.children a {
    font-size: 22px;
}
.nav-sidebar.nav-vertical>li.menu-item.active, .nav-sidebar.nav-vertical>li.menu-item:hover {
    background-color: rgb(0 0 0 / 0%);
}
.header-search i.icon-search {
    font-size: 20px !important;
}
.stuck #masthead .header-search i.icon-search {
    color: var(--main-col); !important;
}
a.nav-top-link {
    font-size: 18px !important;
}
a.nav-top-link {
    color: var(--main-col) !important;
}
.nav-dropdown-has-arrow li.has-dropdown:after, .nav-dropdown-has-arrow li.has-dropdown:before {
    opacity: 0 !important;
}
.nav-dropdown-has-shadow .nav-dropdown {
    box-shadow: none;
    border: 1px solid #ddd !important;
    top: 72px;
    padding: 0 !important;
}
.sub-menu .menu-item:hover{
    background-color: var(--main-col);
}
.sub-menu .menu-item:hover a{
   color: white;
}
.nav-dropdown-default .nav-column li>a, .nav-dropdown.nav-dropdown-default>li>a {
    margin: 0 !important;
    padding: 10px !important;
}
.nav-dropdown>li>a{
    color: black;
}
i.icon-search {
    font-size: 30px;
    color: white;
}
.header-vertical-menu__opener {
    height: 46px;
    width: 46px;
}
.stuck div#masthead {
    background: white;
}
/*.transparent .header-main {
    background: rgb(255 255 255 / 41%);
}*/
.transparent  a.nav-top-link {
    color: white !important;
}
.stuck a.nav-top-link {
    color: var(--main-col) !important;
}
.stuck a.nav-top-link:hover {
    color: var(--secon-color) !important;
}
#masthead .flex-right .nav-right>li {
    margin-left: 30px;
}
#masthead span.header-vertical-menu__title,#masthead .header-vertical-menu__opener i.icon-angle-down {
    display: none !important;
}
#masthead .header-vertical-menu__fly-out {
    width: 270px;
    right: 0;
}
#masthead .header-vertical-menu__opener .icon-menu {
    font-size: 2.7em;
}
#masthead button.ux-search-submit.submit-button{
    background-color: var(--main-col) !important;
    color: white !important;
}
#masthead .nav-vertical-fly-out > li + li{
    border: none;
}
#masthead ul#menu-menu-chinh {
    border-right: 5px solid var(--main-col);
}
#masthead ul#menu-menu-chinh li.menu-item>a {
    font-size: 15px;
    font-weight: 500;
    color: black;
}
#masthead  ul#menu-menu-chinh li.menu-item>a:hover{
    background-color: var(--main-col);
    color: white;
}
#masthead .mn-header ul.sc-menu li{
    list-style: none;
    margin-left: 0 !important;
    margin-bottom: 0px;
    line-height: 30px;
}
#masthead .mn-giaiphap ul#menu-menu-giai-phap {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
#masthead .mn-giaiphap ul#menu-menu-giai-phap li{
    width: calc(100%/3);
}
#masthead ul#menu-menu-chinh .mn-giaiphap li.menu-item>a {
    font-weight: 500 !important;
    color: black !important;
}
#masthead ul#menu-menu-chinh .mn-header li.menu-item>a {
    font-size: 16px;
    font-weight: 100;
    color: #777;
}
#masthead  ul#menu-menu-chinh .mn-header li.menu-item>a:hover{
    background-color: white;
    color: var(--main-col);
}
.title-menu p a {
    color: var(--main-col);
    line-height: 30px;
}
.btn-dangky a.nav-top-link {
    border: 2px solid;
    padding: 10px 20px;
    border-radius: 8px;
}
.btn-dangky a.nav-top-link {
    display: inline-block;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.btn-dangky a.nav-top-link:hover {
    transform: translateY(-3px); /* nhảy lên 3px */
    box-shadow: 0 4px 8px rgba(0,0,0,0.15); /* thêm bóng cho nổi hơn */
}
.col-bg-white .col-inner{
    background:white;
    padding: 50px;
    border-radius: 10px;
}
/*************** CSS By TuanNgyn07.   ***************/
/*Custom BRC*/
.sticky-brc {
    background: white;
    padding: 5px 0;
    margin-bottom: 10px;
}
.sticky-brc .col{
    padding-bottom: 0;
}
.sticky-brc .col p{
    margin-bottom: 0 !important;
}
.is-divider {
    display: none;
}
/*.pd-bottom .col{
    padding-bottom: 0;
}*/
/*Home*/
.section{
    padding-top: 60px !important;
    padding-bottom: 30px !important;
}
.section.bg_banner{
    padding-top: 0px !important;
    padding-bottom: 0px !important;
}
.img-rds img{
    border-radius: 8px;
}
.text-p p {
    text-align: justify;
}
.bg-border-img .col-inner {
    border-radius: 12px;
    box-shadow: 12px 12px 1px 1px #1e469b;
}
.bg-border-img .col-inner img{
    border-radius: 12px;
}
.post-item .col-inner {
    border: 1px solid #cdcdcd;
    height: 100%;
}
.post-item .col-inner, .post-item .box-normal {
    border-radius: 6px;
}
.bg-pd-bt {
    margin-bottom: 30px;
}
.post-item img {
    border-radius: 6px 6px 0 0;
}
.post-item a.button {
    border-radius: 5px;
    text-transform: math-auto;
    font-size: 14px;
}
.post-item .box-text {
    padding: 10px;
}
.post-title a {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
}
.from_the_blog_excerpt  {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
}
.post-title a {
    font-size: 24px;
}
/*Giới thiệu*/

.bg_banner .title-page {
    font-size: 36px;
    font-weight: 500;
}
/*Chi tiết khóa học*/
.form-lh .row .col{
    padding-bottom: 0;
}
/*Footer*/
.st_footer {
    border-top: 5px solid var(--main-col);
}
.st_footer ul li{
    list-style: none;
    margin-left: 0 !important;
}
.st_footer .sc-menu {
    display: flex;
    flex-wrap: wrap;
}
.st_footer .sc-menu li{
    width: 50%;
}
.social-icons a.icon {
    border-radius: 6px !important;
}
.st_footer iframe {
    height: 310px;
}
.absolute-footer {
    background-color: var(--main-col);
    color: white !important;
    font-size: 18px;
}
/*Chi tiết bài viết*/
.blog-single{
    padding-top: 0;
}
.bv_header {
    margin-bottom: 60px;
}
.bv_header .overlay {
    background-color: rgba(0, 0, 0, .5);
}
.entry-header-text.entry-header-text-top.text-left {
    padding-bottom: 0;
}
.widget-title span {
    color: var(--main-col);
    font-size: 20px;
    margin-bottom: 15px;
}
.widget-title span:after{
    content: "";
    display: block;
    width: 70px;
    height: 2px;
    background-color: var(--main-col);
    border-radius: 99px;
}
.entry-content p,.entry-content li{
    text-align: justify;
}
.img-height .img-inner{
    height: 100%;
    border-radius: 8px;
}
.row-faq .col-inner {
    background: rgb(243 244 246);
    padding: 20px;
    height: 100%;
    border-radius: 6px;
}
.row-faq h2:before,.row-faq h3:before,
.row-faq h4:before {
    content: "\f059";
    font-family: 'FontAwesome';
    color: var(--main-col);
    padding-left: 10px;
}
.blog-archive {
    padding-top: 0;
}
/*************** CSS By TuanNgyn07.   ***************/
/*Chi tiết khóa học*/
.post-thumbnail-overlay {
    position: relative;
    width: 100%;
    height: 350px;
    overflow: hidden;
}

.post-thumbnail-overlay img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.post-thumbnail-overlay a {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
}

.overlay-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    background-color: rgba(0, 0, 0, 0.0);
    padding: 15px 25px;
    text-align: center;
    border-radius: 8px;
}

.overlay-text .post-title {
    margin: 0;
    font-size: 32px;
    font-weight: 600;
    color: white;
}
.img-post-kh .overlay {
    background-color: rgba(0, 0, 0, .5);
}
.wpcf7 label span {
    color: red;
}
.wpcf7 input ,.wpcf7 select,.wpcf7 textarea {
    border-radius: 8px;
    height: 50px;
}
.wpcf7 .wpcf7-submit {
    width: 100%;
    border: 1px solid white;
}
.form-lh h2 {
    text-align: center;
}
.form-lh .col-inner {
    border: 1px solid #adadad4d;
    border-radius: 20px;
    padding: 25px;
}
.sc-profile-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    font-family: "Segoe UI", Roboto, sans-serif;
    font-size: 15px;
    background: #fff;
}

.sc-profile-table th {
    background: linear-gradient(135deg, #f88c20, #f5a623);
    color: #fff;
    text-align: left;
    padding: 14px 16px;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.sc-profile-table td {
    padding: 12px 16px;
    border-bottom: 1px solid #eee;
    vertical-align: top;
    color: #333;
}

.sc-profile-table tbody tr:nth-child(even) {
    background: #fafafa;
}

.sc-profile-table tbody tr:hover {
    background: #fff4eb;
    transition: background 0.25s ease;
}

.btn-download {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: #f88c20;
    color: #fff;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 2px 6px rgba(248,140,32,0.3);
    transition: all 0.25s ease;
}

.btn-download:hover {
    background: #d96f0c;
    box-shadow: 0 4px 10px rgba(217,111,12,0.35);
    transform: translateY(-2px);
    color: #fff;
}

/* =========================
   MOBILE RESPONSIVE
   ========================= */
@media (max-width: 767px) {
    .sc-profile-table,
    .sc-profile-table thead,
    .sc-profile-table tbody,
    .sc-profile-table th,
    .sc-profile-table td,
    .sc-profile-table tr {
        display: block;
        width: 100%;
    }

    .sc-profile-table thead {
        display: none; /* Ẩn header để gọn hơn */
    }

    .sc-profile-table tr {
        margin-bottom: 15px;
        box-shadow: 0 2px 6px rgba(0,0,0,0.05);
        border-radius: 8px;
        overflow: hidden;
    }

    .sc-profile-table td {
        border: none;
        padding: 10px 12px;
        position: relative;
        font-size: 14px;
    }

    .sc-profile-table td::before {
        content: attr(data-label);
        font-weight: 600;
        color: #f88c20;
        display: block;
        margin-bottom: 4px;
    }

    .btn-download {
        width: 100%;
        justify-content: center;
        font-size: 15px;
    }
}
@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS BY TunNguyn07  ***************/
/*Icon menu*/
.off-canvas-left .mfp-content {
        width: 100%;
        top: 70px;
        box-shadow: none;
    }
    .mobile-sidebar {
        background: white;
    }
    .off-canvas .nav-vertical li>a {
        font-size: 22px;
    }
/*    .mfp-content .toggle {
        color: var(--main-col);
    }*/
    .icon-menu:before {
        content: "\f550";
        font-family: "Font Awesome 5 Free" !important;
        font-weight: 900;
        margin-right: 5px;
    }
    .icon-menu:after {
         content: "Menu";
         font-weight: bold;
         color: #fff;
         font-family: 'Muli';
    }
    .header-main .nav > li > a > i {
        font-size: 16px;
        color: #fff;
        background: var(--main-col);
        border-radius: 4px;
        padding: 5px;
    }
    .nav-sidebar.nav-vertical>li+li{border-color: #ececec !important;}
    .mfp-content ul.sub-menu.nav-sidebar-ul.children a {
        font-size: 20px;
        text-transform: uppercase;
    }
    .mobile-nav i.icon-search,.mobile-nav .icon-menu{
        color: white !important;
    }
    .overlay-text {
        width: 100%;
    }
    .overlay-text .post-title {
        font-size: 28px;
    }
    .row-chage {
        display: flex
;
        flex-direction: column-reverse;
    }
}