/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.2
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */
.jet-filter-row.jet-list-tree__parent {
    display: flex !important;
    flex-wrap: wrap;
    flex-direction: row-reverse;
    justify-content: space-between;
}
.jet-collapse-none {
    display: none !important;
}
.single.single-product .woocommerce-product-gallery__image.flex-active-slide {
    min-height: 500px;
    display: flex !important;
    align-items: center;
    justify-content: center;
}
 
.single.single-product .woocommerce-product-gallery__image.flex-active-slide a img {
    max-height: 500px;
    width: auto;
}

@media only screen and (max-width: 600px) {
  .single.single-product .woocommerce-product-gallery__image.flex-active-slide {
        min-height: 300px;
    }
     
    .single.single-product .woocommerce-product-gallery__image.flex-active-slide a img {
        max-height: 300px;
    }
}

.box_slider_right {
    display: none;
}

.swiper-slide-next .box_slider_right {
    display: block;
}

.swiper-slide-next .box_slider_title {
    display: none;
}

.swiper-slide-next .box_slider_box:before {
    display: none;
}

.box_sliders .elementor-swiper-button {
    height: 100%;
    width: 25%;
    opacity: 0;
}

@media only screen and (max-width: 820px) {
    .box_slider_right {
        display: none !important;
    }

    .swiper-slide-next .box_slider_box:before,
    .box_slider_title {
        display: block !important;
    }
    
    .box_sliders .elementor-swiper-button {
        display: none;
    }

}

.woocommerce-product-gallery__trigger  {
    display: none;
}
.woocommerce div.product div.images .flex-control-thumbs {
    margin-top: 24px;
}

.woocommerce .elementor-widget-woocommerce-product-images span.onsale {
    display: none;
}

.woocommerce-product-gallery {
    position: relative;
}

.flex-direction-nav {
    display: none !important;
}

.page .page-header {
    display: none;
}

.single-giai-phap .page-header {
    display: none;
}

@media only screen and (min-width: 1200px) {
    .flex-direction-nav {
        width: 100%;
        margin-top: -57px;
        position: absolute;
        top: 50%;
        left: 0;
        transform: translate(0, -50%);
        display: flex !important;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
        z-index: 9;
        list-style: none;
        padding: 0;
    }

    .flex-nav-next {
        width: 80px;
        height: 80px;
        background-image: url('images/next.svg');
        background-size: cover;
    }

    .flex-nav-prev {
        width: 80px;
        height: 80px;
        background-image: url('images/prev.svg');
        background-size: cover;
    }

    .flex-prev,
    .flex-next {
        opacity: 0;
        width: 100%;
        height: 100%;
        display: block;
    }

    .woocommerce div.product .woocommerce-product-gallery--columns-4 .flex-control-thumbs li:nth-child(4n+1) {
        clear: none;
    }

    .woocommerce div.product .woocommerce-product-gallery--columns-5 .flex-control-thumbs li:nth-child(5n+1) {
        clear: left;
    }

    .woocommerce div.product div.images .flex-control-thumbs li {
        width: 20%;
    }
    
    .woocommerce div.product div.images .flex-control-thumbs li img {
        height: 90px;
        object-fit: cover;
    }
}

:root {
    --color-success: #009400;
    --transition-cb: all .2s cubic-bezier(.4, 0, .2, 1) 0ms;
    --gap-form: 25px;
}

/* popup-cf7 */
body.modal-open {
    overflow-y: hidden;
}

.elementor-editor-active #popup-cf7 {
    position: relative;
    visibility: inherit;
    transform: translate(0);
    opacity: 1 !important;
}

#popup-cf7 {
    transform: translateY(-50%);
    overflow-y: scroll;
    height: 100%;
    visibility: hidden;
}

#popup-cf7.active>.e-con-inner {
    display: flex;
    justify-content: center;
    align-items: center;
}

#thank-you {
    width: 60%;
}

#popup-cf7 .wpcf7 form.sent .wpcf7-response-output {
    display: none;
}

#popup-cf7.active {
    visibility: inherit;
}


.popup-bg-black {
    position: fixed;
    width: 100%;
    height: 100%;
    background: #0000006b;
    z-index: 9999;
    top: 0;
}


#cf7-popup-button,
.cf7-popup-button,
.popup-bg-black,
#close-popup-cf7 {
    cursor: pointer;
}

#thank-you {
    width: 60%;
}

.cform7.job-form .grid-col-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--gap-form);
}




/* Contact Form 7 Job  */
.job-form.cform7 {
    display: grid;
    /* gap: var(--gap-form); */
}

.cform7.job-form span.wpcf7-not-valid-tip {
    margin-top: 10px;
}

.cform7.job-form :focus-visible {
    outline: none !important;
}

.cform7.job-form .field-item {
    font-size: 16px;
    font-weight: 600;
}

.cform7.job-form .field-item>label {
    width: 100%;
}

.cform7 i {
    display: block;
    font-weight: normal;
    font-size: 14px;
    margin-top: 10px;
    line-height: 1.3em;
}

.cform7.job-form .contact-btn {
    text-align: right;
}

.cform7.job-form span.required {
    color: var(--required-color-drak);
}

.cform7.job-form input,
.cform7.job-form textarea,
.cform7.job-form select,
.cform7.job-form .select2-selection {
    margin-top: 15px;
    margin-bottom: 0;
    box-shadow: none !important;
    border: none;
    border-bottom: none;
    height: 3em;
    border-radius: 5px;
    background: #F6F6F6;
}

.cform7.job-form .select2-selection {
    height: 3em !important;
}

.cform7.job-form input:hover,
.cform7.job-form input:focus,
.cform7.job-form textarea:hover,
.cform7.job-form textarea:focus,
.cform7.job-form select:hover,
.cform7.job-form .select2-selection:focus {
    /* border-bottom: 1px solid #fff; */
}

.cform7.job-form textarea {
    height: 10em !important;
    padding-top: 15px;
    padding-bottom: 15px;
}

.cform7.job-form .grid-col-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--gap-form);
}

.cform7.job-form input[type="submit"] {
    outline: none;
    border-radius: 99px;
    background: var(--e-global-color-accent);
    color: #fff;
    border: none;
    width: 100%;
}

.cform7.job-form .wpcf7-spinner {
    position: absolute;
}

.cform7.job-form ::placeholder {
    color: #888888;
    font-size: 16px;
}

input.wpcf7-form-control.wpcf7-file {
    display: none;
}

.wrap-file {
    display: grid;
    justify-items: center;
    gap: 10px;
}

.wrap-file span {
    font-weight: normal;
}

label.file-upload {
    cursor: pointer;
    border: 1px dashed var(--Neutral-900, #3D3D3D);
    display: block;
    padding: 25px;
    margin-top: 15px;
}

@media (min-width: 767px) and (max-width: 1024px) {
    #thank-you {
        width: 80%;
    }
}

@media only screen and (max-width: 767px) {
    #thank-you {
        width: 100%;
    }
}

.my_table tr td,
.my_table tr th {
    text-align: center !important;
    font-family: 'Roboto', sans-serif;
    vertical-align: middle;
}

.td-content {
    text-align: center !important;
}

.table-header th {
    font-weight: 500 !important;
}

.table-header th:first-child {
    font-weight: 600 !important;
}

.my_table tr td:first-child {
    background: #284ACD !important;
}

.my_table tr td:first-child .td-content {
    color: #fff;
    flex-direction: column;
}

.my_table tr td:first-child .td-content {
    font-size: 16px !important;
    font-weight: 400 !important;
    font-family: 'Roboto', sans-serif !important;
}

.my_table tr td:first-child .td-content b {
    margin-top: 10px;
    display: block;
}

.table_aaa {
    background-color: #EA7338 !important;
    color: #fff !important;
    padding: 12px 24px !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    font-family: 'Roboto', sans-serif !important;
    border-radius: 100px !important;
}

.table_checkbox {
    border-radius: 6px;
    width: 28px;
    height: 28px;
}

@media only screen and (max-width: 600px) {
    .my_table table {
        min-width: 700px;
        max-width: max-content;
    }
}