/*
Theme Name: Marrok Group
Theme URI: https://freshdigital.co.th/web-design/
Template: hello-elementor
Author: Fresh Digital
Author URI: https://freshdigital.co.th/
Description: Theme for Marrok Group
Version: 1.0.0.1668417399
Updated: 2024-06-11 09:16:39

*/

html,
body {
    overflow-x: hidden;
}

.font-head,
.font-head * {
    font-family: var(--e-global-typography-primary-font-family), var(--e-global-typography-72ed51b-font-family) !important;
}

.font-body,
.font-body * {
    font-family: var(--e-global-typography-text-font-family), var(--e-global-typography-72ed51b-font-family) !important;
}

.font-stroke-style .elementor-heading-title {
    font-family: var(--e-global-typography-14a0d80-font-family), var(--e-global-typography-72ed51b-font-family) !important;
    -webkit-text-stroke: 1px var(--e-global-color-primary);
    color: transparent !important;
    opacity: 0.35;
}

.font-stroke-style-white .elementor-heading-title {
    font-family: var(--e-global-typography-14a0d80-font-family), var(--e-global-typography-72ed51b-font-family) !important;
    -webkit-text-stroke: 1px #fff;
    color: transparent !important;
    opacity: 0.35;
}

.primary-color {
    color: var(--e-global-color-primary);
}

header #head-sticky.head-sticky-active{
    background: linear-gradient(180deg, black, #00000069);
}

header #head-sticky #head-topbar {
    opacity: 1;
    transition: 0.3s all ease-out;
}

header #head-sticky .elementor-widget-theme-site-logo img {
    transition: all 0.2s ease-out;
}

header #head-sticky.head-sticky-active .elementor-widget-theme-site-logo img {
    max-width: 150px;
}


header #head-sticky.head-sticky-active #head-topbar {
    display: none;
    opacity: 0;
}

header .wpml-ls-legacy-list-horizontal>ul {
    padding: 0;
}

header .wpml-ls-legacy-list-horizontal a {
    font-size: 14px;
    padding: 5px 5px 6px;
    color: var(--e-global-color-primary);
}

header .wpml-ls-legacy-list-horizontal > ul > li:not(.wpml-ls-current-language) a {
    text-decoration: underline;
}

.elementor-widget-button-group .ee-button,
.elementor-widget-button .elementor-button,
a.button,
button {
    font-family: var(--e-global-typography-primary-font-family), var(--e-global-typography-72ed51b-font-family) !important;
    text-transform: uppercase;
}

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

.red-text {
    color: #B4191E;
}

p a:not(.contact-detail) {
    color: inherit;
    text-decoration: underline !important;
}

.activity-grid-wrapper .activity-box {
    position: relative;
    border: 1px solid #919191;
    overflow: hidden;
}

.activity-box:before {
    content: "" !important;
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    background-color: #000;
    opacity: 0.35 !important;
}

.activity-box .box-activity-content {
    transition: all 0.2s ease-out;
    justify-content: flex-start;
    height: 75px;
}

.activity-box:hover .box-activity-content {
    height: 100%;
    padding: 30px 20px 50px;
    display: flex;
    justify-content: center;
}

.activity-box:hover .box-activity-content > div {
    height: auto;
    flex-grow: initial;
}

.activity-box .box-title .elementor-heading-title {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.activity-box .box-activity-content-excerpt {
    visibility: hidden;
    transition: all 0.2s ease-out;
}

.activity-box:hover .box-activity-content-excerpt {
    visibility: visible;
    position: absolute;
    left: 0;
    bottom: 15px;
    padding: 0 20px;
}

.activity-box:hover .box-activity-content-excerpt a.elementor-button {
    color: var(--e-global-color-primary);
}

.program-train-box {
    position: relative !important;
    backdrop-filter: blur(10px);
    border: 1px solid #a7a7a7;
    overflow: hidden;
}

.program-train-box .program-train-box-inner {
    position: relative !important;
    overflow: hidden;
    height: 100%;
}

.program-train-box .program-train-box-inner:before {
    content: "" !important;
    position: absolute !important;
    left: unset !important;
    right: -40px !important;
    top: unset !important;
    bottom: -40px !important;
    display: block !important;
    width: 100px !important;
    height: 100px !important;
    background-color: var(--e-global-color-primary);
    border-radius: 50% !important;
    transition: width 0.2s ease, height 0.2s ease;
}

.program-train-box:hover .program-train-box-inner:before {
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    height: 100% !important;
    border-radius: 0 !important;
}

.program-train-box:hover .shape-divider svg{
    fill: #000 !important;
}

.program-train-box:hover .program-train-highlight .elementor-heading-title{
    color: #000 !important;
}

.facility-box {
    height: 100%;
}

.facility-box > div {
    background-position: center;
}

.facility-box > div:before {
    content: "";
    position: absolute;
    display: block;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: var(--e-global-color-primary);
    opacity: 0;
    transition: all 0.2s ease;
}

.facility-box:hover > div:before {
    opacity: 0.75;
}

.facility-box .elementor-image-box-title {
    transition: all 0.3s ease-out;
}

.facility-box:hover .elementor-image-box-title {
    color: #000 !important;
}

.facility-box > div > div {
    position: relative;
    z-index: 2;
}

.homepage-slide-section .swiper-slide-inner {
    width: 96%;
    max-width: 1200px;
}

.homepage-slide-section .swiper-slide-inner .elementor-slide-heading:before {
    content: '';
    position: relative;
    top: 0;
    display: block;
    width: 120px;
    height: 33px;
    background-image: url("data:image/svg+xml,%3Csvg version='1.2' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 109 30' fill='%23FCB812'%3E%3Cpath id='Path_2_bj' d='m59.3 0.3h18.4l-29.4 29.5h-17.7z'/%3E%3Cpath id='Path_2_bj copy 2' d='m30.3 0.3h18.4l-29.4 29.5h-17.7z'/%3E%3Cpath id='Path_2_bj copy' d='m88.3 0.3h18.4l-29.4 29.5h-17.7z'/%3E%3C/svg%3E");
    object-fit: contain;
    object-position: center;
    margin-bottom: 15px;
}

.homepage-slide-section .elementor-background-overlay {
    background: linear-gradient(90deg, #00000070 10%, transparent 90%);
}

.homepage-slide-section .elementor-slide-description {
    padding-bottom: 50px !important;
}

.homepage-slide-section .elementor-swiper-button-prev, 
.homepage-slide-section .elementor-swiper-button-next {
    border: 1px solid #fff;
    padding: 8px;
    top: unset !important;
    bottom: 60px !important;
}

.homepage-slide-section .elementor-swiper-button-prev {
    left: 20px !important;
}

.homepage-slide-section .elementor-swiper-button-next {
    left: calc(73px) !important;
    right: unset !important;
}

.hover-chevron-right a.ee-button-wrapper:hover .ee-button-text{
    display: inline-flex;
    align-items: center;
    gap: 11px;
    justify-content: center;
}


.hover-chevron-right a.ee-button-wrapper .ee-button-text:after {
    transition: all 0.2s ease-out;
}

.hover-chevron-right a.ee-button-wrapper:hover .ee-button-text:after {
    content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 512'%3E%3C!--!Font Awesome Free 6.5.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2024 Fonticons, Inc.--%3E%3Cpath d='M310.6 233.4c12.5 12.5 12.5 32.8 0 45.3l-192 192c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L242.7 256 73.4 86.6c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0l192 192z'/%3E%3C/svg%3E") !important;
    position: relative;
    left: 5px;
    top: 0;
    display: inline-block;
    width: 9px;
    z-index: 2;
    line-height: 1;
}

.hover-phone-left a.ee-button-wrapper:hover .ee-button-text{
    display: inline-flex;
    align-items: center;
    gap: 11px;
    justify-content: center;
}

.hover-phone-left a.ee-button-wrapper .ee-button-text:before {
    width: 0px;
    transition: all 0.2s ease-out;
}

.hover-phone-left a.ee-button-wrapper:hover .ee-button-text:before {
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='42' height='42' viewBox='0 0 42 42'%3E%3Cimage width='42' height='42' xlink:href='data:img/png;base64,iVBORw0KGgoAAAANSUhEUgAAACoAAAAqCAYAAADFw8lbAAAET0lEQVRYhWL4//8/XTADA8MGBgYGEGM9AwNDPEn2/v/PAAAAAP//oqdDP0AdCsP3iXbw//8MAAAAAP//oqdDHRgYGBZgcfB5BgYGA7z6//9nAAAAAP//optD0RydwMDA8ADJse9BYjj1/P/PAAAAAP//ImSgPQMDgz+UVqCyYwUYGBga0EK3H6v6//8ZAAAAAP//wmVAP5oBMLyfBg4GJQnk5DAfQ93//wwAAAAA//9C12QATeTYHIkcTQTTFImOBdl7AcmOCShq/v9nAAAAAP//QlcMcgQ+RyLnWAEaJAXkdItIs///MwAAAAD//0JWBMp9xDgShhuIdIACsZ6CBhYsGSBi7v9/BgAAAAD//4IpmECiI2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MA2LZXpL0bpLgAAAAASUVORK5CYII='/%3E%3C/svg%3E%0A") !important;
    position: relative;
    display: inline-block;
    width: 20px;
    height: 20px;
    left: 0;
    top: 0;
    z-index: 2;
    line-height: 1;
    content: '' !important;
    background-position: center;
    background-size: contain !important;
}

.multi-gallery-section .elementor-item:after {
    height: 1px !important;
}

.team-box-item {
    overflow: hidden;
}

.team-box-item .elementor-image-box-content {
    position: relative;
    background-color: var(--e-global-color-primary);
    padding: 50px 20px;
    margin-top: -10px;
}

.team-box-item .elementor-image-box-img {
    border-right: 1px solid #727272;
}

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

.team-box-item:not(:last-of-type) .elementor-image-box-content:before {
    content: "";
    position: absolute;
    display: inline-block;
    width: 1px;
    height: 60%;
    top: 50%;
    right: 0;
    background: #fff;
    transform: translateY(-50%);
    opacity: 0.5;
}

.activity-facility-box {
    height: 100%;
}

.activity-facility-box .elementor-icon-box-icon svg path {
    fill: transparent;
    stroke: rgba(252, 184, 18, 1);
    stroke-width: 2px;
    stroke-linejoin: round;
    stroke-linecap: round;
    stroke-miterlimit: 4;
    shape-rendering: auto;
}

.activity-facility-box:hover .elementor-icon-box-icon svg path {
    stroke: rgb(0, 0, 0);
}

.activity-facility-box:hover .elementor-icon-box-title {
    color: #000 !important;
}

.faq-style .elementor-accordion-icon svg {
    width: 10px !important;
}

.mptt-shortcode-wrapper.mptt-table-fixed {
    overflow-x: auto !important;
}

.mptt-shortcode-wrapper .mptt-shortcode-table tbody td.mptt-shortcode-hours {
    color: #000;
    background-color: #fff;
}

.mptt-shortcode-wrapper .mptt-shortcode-table tbody > tr:nth-child(odd) > td.mptt-shortcode-hours{
    background-color: #e6e6e6;
}

select.mptt-menu.mptt-navigation-select {
    width: auto;
    border-radius: 0;
    padding: 20px 20px;
    margin-bottom: 30px;
}

.mptt-shortcode-wrapper .mptt-shortcode-table.schedule-class-table {
    border-collapse: separate;
    border-spacing: 2px;
}

.mptt-shortcode-wrapper .mptt-shortcode-table.schedule-class-table tbody tr:nth-child(2n+2) {
    background-color: transparent;
}

.mptt-shortcode-wrapper .mptt-shortcode-table.schedule-class-table tbody .mptt-event-container {
    outline: unset !important;
}

.mptt-shortcode-wrapper .mptt-shortcode-table.schedule-class-table  tbody td {
    border: 0 !important;
}

td.mptt-shortcode-event.mptt-event-vertical-default {
    background-color: transparent !important;
}

td.mptt-shortcode-event.mptt-event-vertical-middle:not(.event) {
    background-color: #f8f8f836 !important;
}

.book-wrap a.button {
    font-family: var(--e-global-typography-text-font-family), var(--e-global-typography-72ed51b-font-family) !important;
    display: inline-block;
    background-color: #feb814;
    color: #000;
    padding: 6px 15px;
    text-transform: initial;
    font-size: 14px;
    font-weight: 500;
    margin-top: 10px;
}

.phone-bt-style1 a .elementor-button-icon {
    width: 0 !important;
    opacity: 0 !important;
    transition: all 0.2s ease-out;
}

.phone-bt-style1 a:hover .elementor-button-icon {
    width: auto !important;
    opacity: 1 !important;
}

.save-as-pdf-pdfcrowd-button {
    display: inline-block;
    border: 1px solid #fff;
    padding: 10px 40px;
    z-index: 3;
}

.otgs-development-site-front-end {
    display: none !important;
}

@media screen and (min-width: 768px) {
    .multi-gallery-section .elementor-gallery__titles-container {
        position: relative;
    }

    .multi-gallery-section .elementor-gallery__titles-container:before {
        content: '';
        position: absolute;
        display: block;
        width: 100vw;
        height: 1px;
        background-color: #fff;
        left: 50%;
        bottom: 0;
        transform: translateX(-50%);
    }

    .elementor-image-gallery .gallery {
        display: flex;
        gap: 10px;
        /* flex-wrap: wrap; */
    }

    .homepage-slide-section .elementor-slide-description {
        padding-bottom: 0px !important;
    }

    .save-as-pdf-pdfcrowd-button {
        padding: 20px 50px;
        position: absolute;
        top: 0;
        right: 0;
    }

    .mptt-shortcode-wrapper .mptt-shortcode-table tbody td.mptt-shortcode-event.event {
        min-width: 150px;
    }
}

@media screen and (min-width: 1280px) {
    .homepage-slide-section .elementor-swiper-button-prev {
        left: calc((100% - 1200px) / 2) !important;
    }
    
    .homepage-slide-section .elementor-swiper-button-next {
        left: calc(((100% - 1200px) / 2) + 53px)  !important;
    }
}