/*
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.   ***************/
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

.off-canvas-left.mfp-ready .mfp-content,
.off-canvas-right.mfp-ready .mfp-content {
    width: 90%;
    background-color: #fff;
    max-width: 480px;
}

.box-image.cat{
    max-height: 226px;
}

.box-blog-post .is-divider {
    height: 0
}

ul.list_lang {
    list-style: none;
    display: flex;
    align-items: center;
    padding: 3px 15px !important;
    background: #fff;
    border: 1px solid #f2f2f2;
    border-radius: 60px;
}

ul.list_lang li {
    margin: 0 !important;
}

ul.list_lang li a {
    padding: 2px 5px;
}

ul.list_lang li a i {
    text-transform: uppercase !important;
    font-size: 14px !important;
    font-family: Inter, sans-serif !important;
    font-weight: 600 !important;
}

a.button {
    border-width: 1px !important;
}

.list_12 {}

.shade {
    background: linear-gradient(180deg, rgba(15, 95, 90, 0) 0%, #0f5f5a 100%);
}

.home-tintuc {
    background: linear-gradient(180deg, #ffffff 0%, #e1f0ef 100%);
}

.img-w img {
    filter: brightness(0) invert(1);
}

.line {
    max-width: 860px;
    margin: 0 auto;
    height: 1px;
    background: #fff;
    background: linear-gradient(90deg, rgba(2, 84, 73, 0) 0%, #fff 30%, #fff 70%, rgba(0, 87, 77, 0) 100%);
    ;
}

.absolute-footer {
    padding: 20px 0;
}

.nav-sidebar.nav-vertical>li+li {
    border: none;
}

.button i,
button i {
    top: 0
}

.mfp-content::before {
    content: "";
    position: absolute;
    bottom: 0%;
    right: -5%;
    background: url(images/trai-dat.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: 100%;

    width: 35%;
    height: 78%;
    background-size: auto 100%;
}

@media screen and (min-width: 850px) {
    .mfp-content div#main-menu {
        max-width: 1130px;
        margin: 0 auto;
    }
}

.off-canvas .nav-vertical>li>a {
    text-transform: none;
    font-size: 22px;
    color: #111;
}

.bg1 .bg.section-bg.fill.bg-fill.bg-loaded {
    background-size: 40% !important;
    background-position: 110% bottom;
}

.text-green {
    background: linear-gradient(360deg, #ffffff 0%, #58585a17 100%);
}

.sliderlichsu {}

.slider-style-container .flickity-slider>:not(.is-selected),
.slider-style-focus .flickity-slider>:not(.is-selected),
.slider-style-shadow .flickity-slider>:not(.is-selected) {
    opacity: 1;
}

.col_ls>.col>.col-inner {
    min-height: 500px;
}

.col_ls>.col>.col-inner:after {

    position: absolute;
    background-image: url(images/rectangle-svg-arrow.svg);
    background-size: 50px;
    background-repeat: no-repeat;
    background-position: center;
    transform: translateX(50%);
    width: 100%;
    height: 100%;
    top: 0;
    right: 0;
    z-index: -1;
}

.col_ls>.col>.col-inner:before {

    position: absolute;
    background-image: url(images/rectangle-svg-dev-history.svg);
    background-size: auto 100%;
    background-repeat: no-repeat;
    background-position: center;
    transform: translateX(50%);
    width: 100%;
    height: 100%;
    top: 0;
    right: 0;
    z-index: -1;
}

input.wpcf7-form-control {
    box-shadow: none !important;
    padding: 10px 15px;
    height: auto;
}

select.wpcf7-form-control {
    box-shadow: none !important;
    padding: 10px 15px;
    height: auto;
}

input.wpcf7-form-control.wpcf7-submit.has-spinner {
    padding: 3px 30px;
}

.wpcf7-spinner {
    display: none;
}

.accordion-title {
    font-size: 22px;
}

.accordion-title.active {
    background: transparent;
}

.archive.category .large-10.col {
    flex-basis: 100%;
    max-width: 100%;
}

.archive.category .col.post-item .image-cover {
    padding-top: 100% !important;
}

.archive.category .col.post-item .box-text.text-left {
    background: rgba(0, 0, 0, .6);
    -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    color: #fff;
}

.archive.category .col.post-item .box-text h5 {
    color: #fff;
}

.archive.category .col.post-item .box-text p {
    color: #828282
}

#button-contact-vr {
    position: fixed;
    bottom: 18px;
    z-index: 99999;
}

#button-contact-vr {
    bottom: 95px;

    right: 20px;
}

.row-box-shadow-3 .col-inner,
.row-box-shadow-3-hover .col-inner:hover,
.box-shadow-3,
.box-shadow-3-hover:hover {
    box-shadow: 0 0 32px 0 rgb(103 115 129 / 20%);
}

/*phone*/
#button-contact-vr .button-contact {
    position: relative;
}

#button-contact-vr .button-contact .phone-vr {
    position: relative;
    visibility: visible;
    background-color: transparent;
    width: 75px;
    height: 75px;
    cursor: pointer;
    z-index: 11;
    -webkit-backface-visibility: hidden;
    -webkit-transform: translateZ(0);
    transition: visibility .5s;
    left: 0;
    bottom: 0;
    display: block;
}

.phone-vr-circle-fill {
    width: 50px;
    height: 50px;
    top: 12px;
    left: 12px;
    position: absolute;
    box-shadow: 0 0 0 0 #015335;
    background-color: rgba(230, 8, 8, 0.7);
    border-radius: 50%;
    border: 0px solid transparent;
    -webkit-animation: phone-vr-circle-fill 2.3s infinite ease-in-out;
    animation: phone-vr-circle-fill 2.3s infinite ease-in-out;
    transition: all .5s;
    -webkit-transform-origin: 50% 50%;
    -ms-transform-origin: 50% 50%;
    transform-origin: 50% 50%;
    -webkit-animuiion: zoom 1.3s infinite;
    animation: zoom 1.3s infinite;
}

.phone-vr-img-circle {
    background-color: #e60808;
    width: 34px;
    height: 34px;
    line-height: 34px;
    top: 20px;
    left: 20px;
    position: absolute;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    -webkit-animation: phonering-alo-circle-img-anim 1s infinite ease-in-out;
    animation: phone-vr-circle-fill 1s infinite ease-in-out;
}

.phone-vr-img-circle a {
    display: block;
    line-height: 37px;
}

div#facebook-vr .phone-vr-circle-fill {
    box-shadow: 0 0 0 0 #1976D2;
    background-color: #1976D2;
}

div#facebook-vr .phone-vr-img-circle {
    background-color: #1976D2;
}

div#ins-vr .phone-vr-circle-fill {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}

.phone-vr-img-circle img {
    max-height: 25px;
    max-width: 27px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
}

@-webkit-keyframes phone-vr-circle-fill {
    0% {
        -webkit-transform: rotate(0) scale(1) skew(1deg);
    }

    10% {
        -webkit-transform: rotate(-25deg) scale(1) skew(1deg);
    }

    20% {
        -webkit-transform: rotate(25deg) scale(1) skew(1deg);
    }

    30% {
        -webkit-transform: rotate(-25deg) scale(1) skew(1deg);
    }

    40% {
        -webkit-transform: rotate(25deg) scale(1) skew(1deg);
    }

    50% {
        -webkit-transform: rotate(0) scale(1) skew(1deg);
    }

    100% {
        -webkit-transform: rotate(0) scale(1) skew(1deg);
    }
}

@-webkit-keyframes zoom {
    0% {
        transform: scale(.9)
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 15px transparent
    }

    100% {
        transform: scale(.9);
        box-shadow: 0 0 0 0 transparent
    }
}

@keyframes zoom {
    0% {
        transform: scale(.9)
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 15px transparent
    }

    100% {
        transform: scale(.9);
        box-shadow: 0 0 0 0 transparent
    }
}

.phone-bar a {
    position: fixed;
    bottom: 113px;
    right: 55px;
    z-index: -1;
    color: #fff;
    font-size: 15px;
    padding: 8px 35px 7px 15px;
    border-radius: 100px;
    white-space: nowrap;
}

.phone-bar a:hover {
    opacity: 0.8;
    color: #fff;
}

@media(max-width: 736px) {
    .phone-bar {
        display: none;
    }
}

#zalo-vr .phone-vr-circle-fill {
    box-shadow: 0 0 0 0 #2196F3;
    background-color: rgba(33, 150, 243, 0.7);
}

#zalo-vr .phone-vr-img-circle {
    background-color: #2196F3;
}

#viber-vr .phone-vr-circle-fill {
    box-shadow: 0 0 0 0 #714497;
    background-color: rgba(113, 68, 151, 0.8);
}

#viber-vr .phone-vr-img-circle {
    background-color: #714497;
}

#contact-vr .phone-vr-circle-fill {
    box-shadow: 0 0 0 0 #2196F3;
    background-color: rgba(33, 150, 243, 0.7);
}

#contact-vr .phone-vr-img-circle {
    background-color: #2196F3;
}


/*css all in one*/
#gom-all-in-one #phone-vr {
    transition: 0.7s all;
    -moz-transition: 0.7s all;
    -webkit-transition: 0.7s all;
}

#gom-all-in-one #zalo-vr {
    transition: 1s all;
    -moz-transition: 1s all;
    -webkit-transition: 1s all;
}

#gom-all-in-one #viber-vr {
    transition: 1.3s all;
    -moz-transition: 1.3s all;
    -webkit-transition: 1.3s all;
}

#gom-all-in-one #contact-vr {
    transition: 1.6s all;
    -moz-transition: 1.6s all;
    -webkit-transition: 1.6s all;
}

#button-contact-vr.active #gom-all-in-one .button-contact {
    margin-left: -100%;
}

#all-in-one-vr .phone-bar {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 100%;
    color: #fff;
    padding: 5px 15px 5px 48px;
    border-radius: 50px;
    margin-left: -64px;
    width: max-content;
    cursor: pointer;
}

.phone-bar a,
#phone-vr .phone-vr-circle-fill,
#phone-vr .phone-vr-img-circle,
#phone-vr .phone-bar a {
    background-color: #015335;
}

table {
    width: 100%;
    border-collapse: collapse;
    /* Gộp các đường viền lại với nhau */
}

table td,
table th {
    border: 1px solid #21272d;
    padding: 8px;
    text-align: left;
    color: #21272d
}

td:first-child,
th:first-child {
    padding: 8px;
}

table th {
    text-align: center;
}


.about-tab {
    position: absolute;
    left: 0;
    width: 100%;
    z-index: 1;
    overflow: hidden;
	margin-top: -65px;
}

.about-tab::before {
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, .8);
    -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);
}

@media (min-width: 1200px) {
    .about-tab .about-nav-tabs {
        flex-wrap: wrap;
    }
}

.about-tab .about-nav-tabs {
    position: relative;
    display: flex;
    flex-wrap: nowrap;
    white-space: nowrap;
    overflow-x: auto;
    align-items: stretch;
}

.nav-tabs {
    border-bottom: 1px solid #dee2e6;
}

@media (min-width: 1680px) {
    .about-tab .about-nav-tabs .about-nav-link {
        font-size: 16px;
        padding: 21px 40px;
    }
}

@media (min-width: 768px) {
    .about-tab .about-nav-tabs .about-nav-link {
        padding: 15px;
    }
}

.about-tab .about-nav-tabs .about-nav-link {
    position: relative;
    display: block;
    font-weight: 700;
    font-size: 14px;
    padding: 10px;
    line-height: 1.375;
    text-align: center;
    color: #015335;
    border-radius: 0px;
    transition: all .2s;
}

.about-tab .about-nav-tabs .about-nav-link.active {
    background: #015335;
    color: #fff;
    transition: all .2s;
}

@media (min-width: 1680px) {
    .about-tab .about-nav-tabs .about-nav-link {
        font-size: 16px;
        padding: 21px 40px;
    }
}

.about-tab .about-nav-tabs .about-nav-link:hover {
    text-decoration: none;
    background: #015335;
    color: #fff;
    transition: all .2s;
}


.rowdichvu .col:first-child .col-inner:before {
    content: "";
    height: 0;
    position: absolute;
    width: 100%;
    background-position: center;
    content: "";
    transition: ease all .3s;
    transition: height ease .4s;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #015335;
    z-index: 1;
}

.rowdichvu .col:first-child .col-inner:hover * {
    color: #fff !important;
    transition: ease all .3s;
}

.rowdichvu .col:first-child .col-inner .icon-box {
    z-index: 3;
    position: relative;
}

.rowdichvu .col:first-child .col-inner:hover:before {
    height: 100%;
    transition: height ease .4s;
}

.rowdichvu .box-text-inner {
    z-index: 9;
    position: relative;
}

.rowdichvu .box-text {
    height: 100%;
}

.text_nam p {
    margin-bottom: 0
}

.cat-item img {
    height: 200px;
    display: block;
    width: 100%;
    margin-bottom: 20px;
}

.form-container>p {
    display: flex;
    align-items: center;
}

.form-container .wpcf7-form .wpcf7-submit {
    margin: 0;
    /* Loại bỏ margin mặc định của nút gửi */
}

.form-container input.wpcf7-form-control.wpcf7-email.wpcf7-validates-as-required.wpcf7-text.wpcf7-validates-as-email {
    flex: 1;
    margin-bottom: 0 !important;
    /* Làm cho trường email chiếm không gian còn lại */
}

.form-container input.wpcf7-form-control.wpcf7-submit.has-spinner {
    margin: 0;
    background-color: #1d60ee !important;
}

.col-ready-show-more p {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    -webkit-line-clamp: 5;
    /* Hiển thị tối đa 5 dòng */
    line-height: 1.5;
    /* Đảm bảo kích thước dòng */
    max-height: 7.5em;
    /* Căn chỉnh với line-height */
    transition: max-height 0.3s ease;
    /* Hiệu ứng chuyển tiếp mượt mà khi mở rộng */
}

.col-ready-show-more p.expanded {
    display: block;
    -webkit-line-clamp: unset;
    /* Hiển thị toàn bộ nội dung khi mở rộng */
    max-height: none;
    /* Loại bỏ giới hạn chiều cao */
}

.tabs-intro .wp-block-ub-tabbed-content-tabs-content{
	padding: 25px 0 !important;
	border-width: 1px 0 0 0 !important;
}

.tabs-intro .wp-block-ub-tabbed-content-tabs-content.vertical-content-width{
	padding: 25px !important;
	border-width: 1px 0 0 1px !important;
}
.tabs-intro .wp-block-ub-tabbed-content-tab-title-wrap, .tabs-intro .wp-block-ub-tabbed-content-tab-title-vertical-wrap{
	background-color: var(--primary-color) !important;
	border-color: var(--primary-color) !important;
}

.tabs-intro .wp-block-ub-tabbed-content-tab-title-vertical-wrap{
	margin-bottom: 10px;
	border-radius: 5px 0 0 5px;
}

.tabs-intro .wp-block-ub-tabbed-content-tab-title-wrap.active, .tabs-intro .wp-block-ub-tabbed-content-tab-title-vertical-wrap.active{
	background-color: #FFF !important;
	border-color: lightgray !important;
}

.tabs-intro .wp-block-ub-tabbed-content-tab-title-wrap .wp-block-ub-tabbed-content-tab-title,
.tabs-intro .wp-block-ub-tabbed-content-tab-title-vertical-wrap .wp-block-ub-tabbed-content-tab-title{
	color: #FFF;
}

.tabs-intro .wp-block-ub-tabbed-content-tab-title-wrap.active .wp-block-ub-tabbed-content-tab-title,
.tabs-intro .wp-block-ub-tabbed-content-tab-title-vertical-wrap.active .wp-block-ub-tabbed-content-tab-title{
	color: var(--primary-color) !important;
}

