/*
Theme Name: Training Combined
Theme URI: https://freshdigital.co.th/web-design/
Template: hello-elementor
Author: Fresh Digital
Author URI: https://freshdigital.co.th/
Description: Theme for Training Combined
Version: 1.0.0.1668417399
Updated: 2024-12-25 09:16:39

*/
#head-sticky {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    transition: all 0.2s ease;
}

#head-sticky img {
    transition: all 0.2s ease;
}

#head-sticky.head-sticky-active {
    background-color: var(--e-global-color-primary);
    backdrop-filter: blur(10px);
    box-shadow: 0px 4px 11px 0px rgba(0, 0, 0, 0.24);
}

#head-sticky.head-sticky-active>.e-con-inner {
    padding: 12px 10px !important;
}

#head-sticky:not(.head-sticky-active)>.e-con-inner {
    border-bottom: 1px solid #fff;
}

#head-sticky.head-sticky-active img {
    width: auto;
    height: 40px !important;
}

.head-search-box .e-search-input {
    padding: 6px 10px !important;
}

#head-sticky.head-sticky-active .head-search-box {
    display: none !important;
}

#head-sticky.head-sticky-active .head-top,
#head-sticky.head-sticky-active .head-bottom {
    display: none;
}

.head-search-icon {
    line-height: 0;
    overflow: hidden;
    border-radius: 50%;
}

a.contact-detail {
    display: inline-block !important;
    color: inherit;
}

.w-100 {
    display: block;
    width: 100%;
}

.service-item {
    transition: all 0.2s ease-out;
}

.service-item:hover {
    box-shadow: 0 3px 10px #00000029;
}

.service-item>div {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
}

.service-item .elementor-image-box-img img {
    width: auto;
    max-height: 56px;
}

.service-box-item {
    transition: all 0.2s ease-out;
}

.service-box-item:hover {
    box-shadow: 0 3px 10px #00000029;
}


.service-box-item .elementor-cta__bg-overlay {
    background-color: transparent !important;
    background: linear-gradient(0deg, #195498 10%, #19549800 60%);
    transition: background 0.2s ease-out !important;
}

.service-box-item:hover .elementor-cta__bg-overlay {
    background: linear-gradient(0deg, #195498, #19549887);
}

.service-box-item .elementor-cta__content:before {
    transition: all 0.3s ease-out;
}


.service-box-item .elementor-cta__description {
    margin-bottom: -100%;
    opacity: 0;
    height: 0 !important;
    transition: all 0.4s linear;
}

.service-box-item:hover .elementor-cta__description {
    margin-bottom: 0;
    opacity: 1;
    height: 100% !important;
}

.service-box-item.style-2 .elementor-cta__content {
    min-height: 400px;
}

.contact-section:before {
    background: transparent linear-gradient(270deg, #000000 0%, #195498F1 81%, #089CCE 100%) 0% 0% no-repeat padding-box !important;
}

.about-icon .elementor-icon-box-icon svg {
    transform: translateX(20px);
}

.comment-box:before {
    content: "" !important;
    width: 0 !important;
    height: 0 !important;
    border-radius: 0 !important;
    border-top: 20px solid transparent !important;
    border-bottom: 20px solid transparent !important;
    border-left: 35px solid #e5f5fc !important;
    position: absolute !important;
    right: -20px !important;
    left: unset !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
}

.course-content ul {
    margin-bottom: 15px;
}

.course-content h2 {
    font-size: 24px !important;
}

.icon-heading .elementor-icon-box-title {
    display: inline-block;
    border-bottom: 1px solid #29ABE2;
}

.book-box-item .elementor-image-box-content {
    padding: 0 15px 15px;
}

.book-box-item .elementor-image-box-img img {
    border-radius: 10px 10px 0 0;
}

.course-sidebar {
    background-color: #fff;
    border: 1px solid #E0E0E0;
    border-radius: 15px;
    overflow: hidden;
}

.course-sidebar .head-price {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    background-color: var(--e-global-color-primary);
    padding: 10px;
    font-size: 16px;
    font-weight: 700;
    text-align: center;
    color: #fff;
    border: 2px solid var(--e-global-color-primary);
}

.course-sidebar .head-price .course-price-box-price {
    display: inline-flex;
    align-items: center;
}

.course-sidebar .head-price svg {
    width: 16px;
    height: 16px;
    color: #fff;
    padding: 5px;
    border-radius: 50%;
    border: 1px solid #fff;
    margin-right: 8px;
}

.course-sidebar .course-sidebar-content {
    padding: 20px;
    text-align: center;
}

.course-sidebar .course-sidebar-content .sub-header {
    font-size: 18px;
    margin-bottom: 8px;
}

.course-sidebar .course-sidebar-content .sub-logo img {
    max-width: 80px;
}

.course-sidebar .list-details {
    list-style: none;
    padding: 0;
    text-align: left;
}

.course-sidebar .list-details svg {
    color: #2fc5f7;
}

a.button.course-button {
    display: block;
    width: 100%;
    padding: 10px;
    font-size: 14px;
    text-align: center;
    background-color: #29abe2;
    margin: 8px 0;
    border-radius: 25px;
    color: #fff;
    transition: all 0.2s ease-out;
}

a.button.course-button:hover {
    background-color: #000;
}

.course-section-item {
    /* border: 1px solid var(--e-global-color-9d43342);
    padding: 30px; */
    margin-bottom: 25px;
}

.course-section-item .course-section-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.course-section-item .course-section-header svg {
    font-size: 36px;
    color: var(--e-global-color-9d43342);
}

.course-section-item .course-section-header h2 {
    display: inline-block;
    margin: 0;
    font-size: 30px;
    font-weight: 600;
    color: var(--e-global-color-primary);
}

.gform-body input[type=text],
.gform-body input[type=email],
.gform-body input[type=tel],
.gform-bodyinput[type=date],
.gform-body input[type=text] {
    background-color: hsl(0deg 0% 62% / 17%) !important;
    border: 0 !important;
    border-radius: 8px !important;
    padding: 15px 10px !important;
    width: 100% !important;
    height: 50px !important;
}

.gform-body input[type=file] {
    padding: 0 !important;
}

.gform-body textarea {
    background-color: hsl(0deg 0% 62% / 17%) !important;
    border: 0 !important;
    border-radius: 8px !important;
    padding: 15px 10px !important;
    width: 100% !important;
}

.gform-body select {
    background-color: hsl(0deg 0% 62% / 17%) !important;
    border: 0 !important;
    border-radius: 15px !important;
    width: 100% !important;
    height: auto !important;
    padding: 6px 10px !important;
}

#gform_1 .gform-footer,
#gform_2 .gform-footer {
    justify-content: center;
}

#gform_1 #gform_submit_button_1,
#gform_2 #gform_submit_button_2,
#gform_7 #gform_submit_button_7,
#gform_8 #gform_submit_button_8 {
    background-color: var(--e-global-color-primary);
    border: 1px solid var(--e-global-color-primary) !important;
    border: 0;
    border-radius: 20px;
    padding: 10px 30px;
    font-weight: 400;
}

#gform_submit_button_3 {
    background-color: var(--e-global-color-primary);
    border-color: var(--e-global-color-primary);
    outline: unset;
    border-radius: 20px;
    padding: 17px;
}

#gform_submit_button_3:hover {
    background-color: transparent;
    color: var(--e-global-color-primary);
}


#gform_1 #gform_submit_button_1:hover {
    background-color: #fff;
    color: var(--e-global-color-primary);
}

#gform_1 #input_1_8,
#gform_1 #input_1_10 {
    flex-direction: row !important;
    flex-wrap: wrap;
    gap: 10px;
}

#field_2_24 {
    padding: 20px;
    background: #efefef;
    border-radius: 20px;
}

input#input_2_25 {
    height: auto;
}

.booking-now-detail-wrap {
    background-color: #efefef;
    padding: 20px 15px;
    border-radius: 15px;
    text-align: center;
}

.booking-now-detail-wrap .course-code,
.booking-now-detail-wrap .course-price {
    font-size: 20px;
}

.calendar-money-style .elementor-icon-list-items>li {
    width: calc((100% - 32px) / 2);
}

.calendar-money-style .elementor-icon-list-items>li .elementor-icon-list-text {
    width: calc(100% - 30px);
}

.course-loop-style1 {
    height: 100% !important;
}

.course-loop-style1:hover .course-loop-content {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0px 32px 80px -32px rgba(0, 0, 0, 0.24) !important;
}

#field_2_18 .gform-grid-row {
    background-color: hsl(0deg 0% 62% / 17%);
    border: 0;
    border-radius: 15px;
    padding: 5px 10px !important;
    width: 100%;
    height: 50px;
}

#field_2_18 .ginput_container input,
#field_2_18 .ginput_container select {
    border: 0;
    box-shadow: unset;
}

div#input_2_20 {
    row-gap: 35px;
}

#input_2_20_6 {
    background-color: hsl(0deg 0% 62% / 17%);
    border: 0;
    border-radius: 15px;
    padding: 8px 10px !important;
    width: 100%;
    height: 50px;
}

a.book-now-bt {
    display: inline-block;
    background-color: var(--e-global-color-accent);
    font-weight: 400;
    color: #fff;
    padding: 8px 25px;
    line-height: 1;
    border-radius: 30px;
    transition: all 0.2s ease;
}

a.book-now-bt:hover {
    background-color: #000;
}

select#input_2_18_3 {
    border-radius: 0 !important;
    background-color: #fff !important;
    height: 40px !important;
    line-height: 1.75;
}

.clients-img img.swiper-slide-image {
    max-height: 100px;
    margin: auto;
}

.table-responsive {
    overflow-x: auto;
}

table.course-price-table thead th {
    background-color: #29abe2;
    color: #fff;
    font-size: 16px;
    text-transform: uppercase;
    font-weight: 500;
    text-align: left;
}

table .align_center {
    text-align: center;
}

/*** BEGIN Promo Popup ***/
.gform-theme--framework .gfield--type-image_choice.promo_option .gfield_radio {
    justify-content: center;
}

.gform-theme--framework .gfield--type-image_choice.promo_option .gchoice {
    inline-size: 49% !important;
    max-inline-size: 49% !important;
}

.gform_page_footer .gform_next_button {
    width: 100% !important;
}

/*** END Promo Popup ***/

.course-featured-img a {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
}

.home-course-filter fieldset {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    border-bottom: 1px solid #D9D9D9 !important;
    line-height: 1;
}

.home-course-filter fieldset .jet-radio-list__row {
    margin: 0 !important;
}

.faq-home .elementor-accordion-item {
    border-left: 0 !important;
    border-right: 0 !important;
}

.faq-home .elementor-tab-title svg {
    width: 10px !important;
    height: 10px !important;
}

.team-item .elementor-image-box-img {
    transition: all 0.3s ease;
}

.team-item:hover .elementor-image-box-img {
    transform: scale(1.04);
}

.page-id-1666 .page-banner {
    height: 300px !important;
    min-height: unset !important;
}

.woocommerce #payment #place_order,
.woocommerce-page #payment #place_order {
    background-color: #29abe2;
    border-radius: 25px;
}

.acd-widget {
    background: rgba(41, 171, 227, 0.1);
    border-radius: 16px;
    padding: 20px 22px;
    max-width: 100%;
    font-family: inherit;
}

/* Header */
.acd-header {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
}

.acd-icon svg {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}

.acd-title {
    font-size: 17px;
    font-weight: 700;
    color: #1a2e44;
    line-height: 1.2;
}

.acd-subtitle {
    font-size: 12px;
    color: #5c8099;
    margin-top: 3px;
}

/* Month rows */
.acd-month-row {
    margin-bottom: 10px;
}

.acd-month-row:last-child {
    margin-bottom: 0;
}

.acd-month-name {
    font-size: 16px;
    font-weight: 700;
    color: #29ABE3;
    margin-bottom: 4px;
}

.acd-dates {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
    font-size: 16px;
    color: #000;
}

.acd-sep {
    color: #a0b8c8;
    padding: 0 2px;
    font-weight: 300;
}

.acd-date {
    white-space: nowrap;
}

.gform-theme--foundation #gform_fields_7.gform_fields,
.gform-theme--foundation #gform_fields_8.gform_fields {
    row-gap: 15px;
}

#gform_wrapper_7 .gform_required_legend {
    display: none;
}

.sp-easy-accordion>.sp-ea-single {
    background: #ffffff !important;
    border: 1px solid #29abe2 !important;
    border-radius: 10px;
}

.sp-easy-accordion>.sp-ea-single .ea-header a {
    font-size: 16px !important;
    font-weight: 400 !important;
}

.sp-easy-accordion .sp-ea-single .ea-header a .ea-expand-icon {
    font-size: 10px !important;
}

.e-contact-buttons__content-wrapper {
    outline: unset !important;
}

.search-course-form .jet-ajax-search__submit {
    display: inline-flex;
    flex-direction: row-reverse;
    gap: 6px;
}

body[data-elementor-device-mode=mobile] .jet-mobile-menu__instance--slide-out-layout .jet-mobile-menu__container {
    height: calc(100vh - 46px);
    top: 46px;
}

@media (max-width: 1023px) {

    .img-box .elementor-image-box-wrapper {
        display: grid;
        grid-template-columns: 55px 1fr;
        text-align: left;
        gap: 10px;
    }

    .img-box .elementor-image-box-img {
        width: 100% !important;
    }

    .img-box .elementor-image-box-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

@media (max-width: 768px) {
    .course-price-table thead {
        display: none;
    }

    .course-price-table,
    .course-price-table tbody,
    .course-price-table tr,
    .course-price-table td {
        display: block;
        width: 100%;
    }

    .course-price-table tr {
        margin-bottom: 1.5rem;
        border: 1px solid #ddd;
        border-radius: 6px;
        padding: 10px;
    }

    .course-price-table td {
        text-align: right;
        padding: 8px 10px 8px 120px;
        position: relative;
        border: none;
        border-bottom: 1px solid #eee;
        background: transparent !important;
    }

    .course-price-table td:last-child {
        border-bottom: none;
    }

    .course-price-table td::before {
        content: attr(data-label);
        position: absolute;
        left: 10px;
        top: 8px;
        font-weight: 600;
        text-transform: none;
        color: #333;
        text-align: left;
    }
}

@media screen and (min-width: 560px) {

    #gform_1 #input_1_8>.gchoice,
    #gform_1 #input_1_10>.gchoice {
        width: calc((100% - 10px) / 2);
    }
}

@media screen and (min-width: 768px) {
    /* .course-section.active .course-sidebar {
        position: fixed;
        top: 100px;
        width: calc(1200px* 33 / 100) !important;
    } */
}

@media screen and (min-width: 1024px) {

    #head-sticky.head-sticky-active {
        min-height: 75px !important;
    }

    #gform_1 #input_1_8>.gchoice,
    #gform_1 #input_1_10>.gchoice {
        width: calc((100% - 20px) / 3);
    }
}

@media screen and (min-width: 1025px) {

    .elementor-nav-menu--main .menu-item-615,
    .elementor-nav-menu--main .menu-item-616 {
        display: none !important;
    }
}