/*
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.   ***************/

.ubermenu-nav,
.container,
.row {
    max-width: 1170px;
}

hotline-fixed-1 {
    position: fixed;
    height: 40px;
    line-height: 40px;
    border-radius: 3px;
    padding: 0 10px;
    background-size: 100%;
    cursor: pointer;
    transition: all 0.8s;
    -webkit-transition: all 0.8s;
    z-index: 9;
    left: 21px;
    bottom: 65px;

    background: #e88a25;
    background: -webkit-linear-gradient(left, #e88a25, #d40000);
    background: -o-linear-gradient(right, #e88a25, #d40000);
    background: -moz-linear-gradient(right, #e88a25, #d40000);
    background: linear-gradient(to right, #e88a25, #d40000);
}

.hotline-fixed-1 {
    box-shadow:
        0 14px 28px rgba(0, 0, 0, 0.25),
        0 10px 10px rgba(0, 0, 0, 0.1);
    border-radius: 50px !important;
    border: 2px solid white;
}

.hotline-fixed.bottom_center {
    left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
}

.hotline-fixed-1 a {
    color: #fff;
    text-decoration: none;
    font-size: 20px;
    font-weight: bold;
    text-indent: 50px;
    display: inline-block;
    letter-spacing: 1px;
    font-family: sans-serif;
}

.mypage-alo-phone {
    position: fixed;
    left: -17px;
    bottom: 34px;
    visibility: visible;
    background-color: transparent;
    width: 110px;
    height: 110px;
    cursor: pointer;
    z-index: 200000 !important;
}

.animated.infinite {
    -webkit-animation-iteration-count: infinite;
    animation-iteration-count: infinite;
}

.animated.infinite {
    -webkit-animation-iteration-count: infinite;
    animation-iteration-count: infinite;
}

.animated.infinite {
    animation-iteration-count: infinite;
}

.mypage-alo-ph-circle {
    width: 90px;
    height: 90px;
    top: 12px;
    left: 12px;
    position: absolute;
    background-color: transparent;
    -webkit-border-radius: 100%;
    -moz-border-radius: 100%;
    border-radius: 100%;
    border: 2px solid rgba(30, 30, 30, 0.4);
    opacity: 0.1;
    border-color: #ffffff;
    opacity: 0.5;
}

.animated {
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
}

.zoomIn {
    -webkit-animation-name: zoomIn;
    animation-name: zoomIn;
}

@-webkit-keyframes zoomIn {
    from {
        opacity: 0;
        -webkit-transform: scale3d(0.3, 0.3, 0.3);
        transform: scale3d(0.3, 0.3, 0.3);
    }

    50% {
        opacity: 1;
    }
}

@keyframes zoomIn {
    from {
        opacity: 0;
        -webkit-transform: scale3d(0.3, 0.3, 0.3);
        transform: scale3d(0.3, 0.3, 0.3);
    }

    50% {
        opacity: 1;
    }
}

.zoomIn {
    -webkit-animation-name: zoomIn;
    animation-name: zoomIn;
}

.animated {
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
}

.zoomIn {
    animation-name: zoomIn;
}

.animated {
    animation-duration: 1s;
    animation-fill-mode: both;
}

.mypage-alo-ph-circle-fill {
    width: 60px;
    height: 60px;
    top: 28px;
    left: 28px;
    position: absolute;
    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -ms-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
    -webkit-border-radius: 100%;
    -moz-border-radius: 100%;
    border-radius: 100%;
    border: 2px solid transparent;
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
    -o-transition: all 0.5s;
    transition: all 0.5s;
    background-color: #e88a25;
    opacity: 0.75 !important;
}

.pulse {
    -webkit-animation-name: pulse;
    animation-name: pulse;
}

@-webkit-keyframes pulse {
    from {
        -webkit-transform: scale3d(1, 1, 1);
        transform: scale3d(1, 1, 1);
    }

    50% {
        -webkit-transform: scale3d(1.05, 1.05, 1.05);
        transform: scale3d(1.05, 1.05, 1.05);
    }

    to {
        -webkit-transform: scale3d(1, 1, 1);
        transform: scale3d(1, 1, 1);
    }
}

@keyframes pulse {
    from {
        -webkit-transform: scale3d(1, 1, 1);
        transform: scale3d(1, 1, 1);
    }

    50% {
        -webkit-transform: scale3d(1.05, 1.05, 1.05);
        transform: scale3d(1.05, 1.05, 1.05);
    }

    to {
        -webkit-transform: scale3d(1, 1, 1);
        transform: scale3d(1, 1, 1);
    }
}

.pulse {
    -webkit-animation-name: pulse;
    animation-name: pulse;
}

.animated {
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
}

.pulse {
    -webkit-animation-name: pulse;
    animation-name: pulse;
}

.animated {
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
}

.pulse {
    animation-name: pulse;
}

.animated {
    animation-duration: 1s;
    animation-fill-mode: both;
}

.mypage-alo-ph-img-circle {
    width: 32px;
    height: 32px;
    top: 43px;
    left: 43px;
    position: absolute;
    background: rgba(30, 30, 30, 0.1) url(https://www.chili.vn/wp-content/themes/bb-theme-child/images/phone.png)
        no-repeat center center;
    -webkit-border-radius: 100%;
    -moz-border-radius: 100%;
    border-radius: 100%;
    border: 2px solid transparent;
    opacity: 0.7;
    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -ms-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
    -webkit-transform-origin: 50% 50%;
    -moz-transform-origin: 50% 50%;
    -ms-transform-origin: 50% 50%;
    -o-transform-origin: 50% 50%;
    transform-origin: 50% 50%;
    background-color: #d40401;
    background-size: 70%;
}

.tada {
    -webkit-animation-name: tada;
    animation-name: tada;
}

.animated {
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
}

.tada {
    -webkit-animation-name: tada;
    animation-name: tada;
}

@-webkit-keyframes tada {
    from {
        -webkit-transform: scale3d(1, 1, 1);
        transform: scale3d(1, 1, 1);
    }

    10%,
    20% {
        -webkit-transform: scale3d(0.9, 0.9, 0.9) rotate3d(0, 0, 1, -3deg);
        transform: scale3d(0.9, 0.9, 0.9) rotate3d(0, 0, 1, -3deg);
    }

    30%,
    50%,
    70%,
    90% {
        -webkit-transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg);
        transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg);
    }

    40%,
    60%,
    80% {
        -webkit-transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -3deg);
        transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -3deg);
    }

    to {
        -webkit-transform: scale3d(1, 1, 1);
        transform: scale3d(1, 1, 1);
    }
}

@keyframes tada {
    from {
        -webkit-transform: scale3d(1, 1, 1);
        transform: scale3d(1, 1, 1);
    }

    10%,
    20% {
        -webkit-transform: scale3d(0.9, 0.9, 0.9) rotate3d(0, 0, 1, -3deg);
        transform: scale3d(0.9, 0.9, 0.9) rotate3d(0, 0, 1, -3deg);
    }

    30%,
    50%,
    70%,
    90% {
        -webkit-transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg);
        transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg);
    }

    40%,
    60%,
    80% {
        -webkit-transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -3deg);
        transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -3deg);
    }

    to {
        -webkit-transform: scale3d(1, 1, 1);
        transform: scale3d(1, 1, 1);
    }
}

.tada {
    -webkit-animation-name: tada;
    animation-name: tada;
}

.animated {
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
}

.tada {
    animation-name: tada;
}

.animated {
    animation-duration: 1s;
    animation-fill-mode: both;
}

.v-form-description {
    margin: 0px 0 0 0 !important;
    text-align: justify;
}

.v-form-fixed-1 .v-form-title {
    margin: 0 !important;
}

.phong-cs {
    background: #f1f1f1 url(../images/phongcs.png) no-repeat center;
    background-size: cover;
    height: 170px;
    /* width:  auto; */
    margin-bottom: 15px;
}

.sidebar-bottom-hotline {
    text-align: center;
    line-height: 170px;
    color: red;
    letter-spacing: 1px;
}

@-webkit-keyframes my {
    0% {
        color: #593c1b;
    }

    100% {
        color: #e88a25;
    }
}

@-moz-keyframes my {
    0% {
        color: #593c1b;
    }

    100% {
        color: #e88a25;
    }
}

@-o-keyframes my {
    0% {
        color: #593c1b;
    }

    100% {
        color: #e88a25;
    }
}

@keyframes my {
    0% {
        color: #593c1b;
    }

    100% {
        color: #e88a25;
    }
}

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

/*Edit new*/
#wrapper .header-cate-sec .row {
    border-bottom: 1px solid #24a448;
}

#wrapper .header-cate-sec .col {
    padding: 0;
}

#wrapper .header-cate-sec .col:first-child .col-inner {
    background: #158b36;
    display: table;
    color: #fff;
    padding: 10px 0 8px 15px;
    position: relative;
    height: 42px;
    width: max-content;
    margin-left: 0;
    margin-right: auto;
}

#wrapper .header-cate-sec .col:first-child .col-inner:before {
    content: "";
    display: block;
    position: absolute;
    left: 100%;
    top: 0;
    background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAC8AAAAqCAYAAAAj6gIfAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyZpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMTQ1IDc5LjE2MzQ5OSwgMjAxOC8wOC8xMy0xNjo0MDoyMiAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5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LrpmW8d75puXOv4xtZBwNeOCwh4qps0UfAhMl5aZ4GKl9oi42NkfGVcQMJXJk00fISM/2odNLxUioz383EBEV/8MYWIL8YFVPxn0kTFSyXI+NVbgAEAuu4gN5H7pIwAAAAASUVORK5CYII=)
        left top no-repeat;
    width: 47px;
    height: 42px;
}

#wrapper .header-cate-sec .col:first-child .col-inner h2 {
    margin-bottom: 0;
    font-size: 18px;
    line-height: 1.3;
}

#wrapper .header-cate-sec .button {
    margin-bottom: 0;
}

#wrapper .recruitment-wrapper-sec .col-inner {
    border-radius: 10px;
    overflow: hidden;
}

#wrapper .recruitment-wrapper-sec .text {
    padding-left: 20px;
    padding-right: 20px;
}

.tuyen-dung-item {
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tuyen-dung-item h3,
.tuyen-dung-item .tuyen-dung-button {
    color: #fff;
}

.tuyen-dung-item .tuyen-dung-action .tuyen-dung-button {
    background-color: #125d67;
    padding: 0px 15px;
    display: inline-block;
    color: #fff;
    -webkit-border-radius: 30px;
    border-radius: 30px;
    margin: 0;
    min-height: unset;
    text-transform: none;
}

.tuyen-dung-empty {
    text-align: center;
    color: #fff;
}

.pum-close.popmake-close {
    margin: 0;
}

#wrapper .price {
    font-size: 16px;
}

#wrapper .price,
#wrapper .price .amount {
    color: #ff8e4a;
}

#wrapper .absolute-footer {
    background-color: #02914f;
}

#wrapper .wpcf7 label {
    color: #02914f;
}

#wrapper .wpcf7 .wpcf7-submit {
    background-color: #02914f;
}

#wrapper .product-sidebar-custom .col-inner {
    padding: 15px;
    border: 1px solid #eeee;
    background: #fff;
    border-radius: 10px;
}

#wrapper .product-sidebar-custom h2 {
    font-size: 16px;
}

#wrapper .product-sidebar-custom .menu-item.active .ux-menu-link__text {
    color: #000;
    font-weight: bolder;
}

#wrapper .product-sidebar-custom .menu-item:hover .ux-menu-link__text {
    color: #70c203;
}

#wrapper .header-nav-main > .current-page-ancestor > a:before {
    width: 100%;
    opacity: 1;
}

html {
    scroll-behavior: smooth;
}

.off-canvas-left.dark .mfp-content,
.off-canvas-right.dark .mfp-content {
    background-color: #02914f !important;
}

#wrapper .nav-top-link {
    font-size: 13px;
}

@media (min-width: 768px) {
    #wrapper .recruitment-wrapper-sec .row {
        max-width: 1480px;
    }
}

/* XEM THÊM VÀ RÚT GỌN SP */
.single-product .product-footer .entry-content {
    overflow: hidden;
    position: relative;
    padding-bottom: 25px;
    margin-bottom: 25px;
}

.fix_height {
    max-height: 400px;
    overflow: hidden;
    position: relative;
}

.devvn_readmore_flatsome {
    text-align: center;
    cursor: pointer;
    position: absolute;
    z-index: 10;
    bottom: 0;
    width: 100%;
    background: #f6f6f6;
}

.devvn_readmore_flatsome:before {
    height: 60px;
    margin-top: -45px;
    content: "";
    background: rgb(246, 246, 246);
    background: -moz-linear-gradient(0deg, rgba(246, 246, 246, 1) 0%, rgba(255, 255, 255, 0.1881127450980392) 100%);
    background: -webkit-linear-gradient(0deg, rgba(246, 246, 246, 1) 0%, rgba(255, 255, 255, 0.1881127450980392) 100%);
    background: linear-gradient(0deg, rgba(246, 246, 246, 1) 0%, rgba(255, 255, 255, 0.1881127450980392) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#f6f6f6", endColorstr="#ffffff", GradientType=1);
    display: block;
}

.devvn_readmore_flatsome a {
}

.devvn_readmore_flatsome a:after {
    content: "";
    width: 0;
    right: 0;
    border-top: 6px solid #fff;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    display: inline-block;
    vertical-align: middle;
    margin: -2px 0 0 5px;
}

.devvn_readmore_flatsome_less {
    bottom: -13px;
}

.devvn_readmore_flatsome_less a:after {
    border-top: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 6px solid #fff;
}

.devvn_readmore_flatsome_less:before {
    display: none;
}

/* TUYỂN DỤNG */

.tuyen-dung-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.tuyen-dung-table th,
.tuyen-dung-table td {
    border: 1px solid #eee;
    padding: 10px 12px;
    text-align: left;
}

.tuyen-dung-table th {
    background: #02914f;
    color: #fff;
    font-weight: 600;
    text-transform: none;
}

.tuyen-dung-button {
    background: #02914f;
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 6px 16px;
    cursor: pointer;
    text-transform: none;
    white-space: nowrap;
    margin: 0;
}

/* Popup Styles */
.tuyen-dung-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999999;
}

.tuyen-dung-popup-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
}

.tuyen-dung-popup-content {
    position: relative;
    max-width: 800px;
    max-height: 80vh;
    margin: 17vh auto;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.tuyen-dung-popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 25px;
    height: 25px;
    margin: 0;
    padding: 0;
    min-height: unset;
    background: #02914f;
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    z-index: 10;
    transition: background 0.3s;
}

.tuyen-dung-popup-body {
    padding: 40px 30px;
    max-height: 80vh;
    overflow-y: auto;
}

@media screen and (max-width: 768px) {
    .tuyen-dung-table,
    .tuyen-dung-table thead,
    .tuyen-dung-table tbody,
    .tuyen-dung-table th,
    .tuyen-dung-table td,
    .tuyen-dung-table tr {
        display: block;
    }

    .tuyen-dung-table thead tr {
        display: none;
    }

    .tuyen-dung-table tr {
        margin-bottom: 15px;
        border-bottom: 2px solid #02914f;
    }

    .tuyen-dung-table td {
        position: relative;
        padding-left: 50%;
        border: none;
        border-bottom: 1px solid #eee;
    }

    .tuyen-dung-table td:before {
        position: absolute;
        top: 10px;
        left: 10px;
        width: 45%;
        white-space: nowrap;
        font-weight: bold;
        color: #02914f;
        content: attr(data-label);
    }
}

#main, #wrapper {
    background:#f8f8f8;
}
#product-sidebar,
#woocommerce_product_categories-2,
#woocommerce_products-2 {
    padding: 15px;
    border: 1px solid #eeee;
    background: #fff;
    transform: translateY(0px);
    border-radius: 10px;
    height: 100%;
}
.custom-menu-ft {
    .ux-menu-link__text {
        color: #fff;
    }
}

.sec_taisao .has-hover .box-text {
    transition: all 500ms;
    -webkit-transition: 500ms;
    height: 100%;
    position: absolute;
    top: 70%;
    padding:15px;
}
.sec_taisao .box {
    overflow: hidden;
    border-radius: 20px 5px;
    position: relative;
}

.sec_taisao .box:hover .text_why {
    -webkit-line-clamp: 10;
    transition: all 500ms;
    -webkit-transition: 500ms;
}

.sec_taisao .has-hover:hover .box-text {
    transition: all 500ms;
    -webkit-transition: 500ms;
    top: 0;
}

/*
Css menu đa cấp cho Flatsome
Author: levantoan.com
*/
@media screen and (min-width: 850px){
    header#header .nav-dropdown {
        display: block;
    }
    header#header .nav-dropdown ul.sub-menu {
        position: absolute;
        left: 100%;
        top: 0;
        background: #fff;
        width: 250px;
        padding: 15px 0;
        display: none !important;
        border-radius: 5px;
        -webkit-box-shadow: 1px 1px 15px rgb(0 0 0 / 15%);
        box-shadow: 1px 1px 15px rgb(0 0 0 / 15%);
    }
    header#header .nav-dropdown ul.sub-menu a {
        white-space: normal;
        margin: 0;
        padding: 10px 15px;
        border: 0;
        font-weight: 400;
    }
    header#header .nav-dropdown li:hover > ul.sub-menu{
        display: block !important;
    }
    header#header .nav-dropdown li {
        border-right: 0;
        white-space: normal;
        width: 100%;
        display: block;
        position: relative;
    }
    header#header .nav-dropdown li.menu-item-has-children > a {
        font-weight: 500;
        text-transform: none;
        color: #000;
        font-size:unset;
    }
    header#header .nav-dropdown li.active>a {
        color: #70c203;
    }
}

.swiper-pagination_gc {
    flex-wrap: wrap;
    gap:10px;
    justify-content: start!important;
}