/*
Theme Name: Intelligent Scheduling
Theme URI: https://freshdigital.co.th/web-design/
Template: hello-elementor
Author: Fresh Digital
Author URI: https://freshdigital.co.th/
Description: Theme for Intelligent Scheduling
Version: 1.0.0.1660635461
Updated: 2022-08-16 07:37:41

*/

@font-face {
    font-family: 'DB Helvethica';
    src: url('/wp-content/uploads/fonts/DB-Helvethaica.ttf');
}

@font-face {
    font-family: 'DB Helvethica';
    src: url('/wp-content/uploads/fonts/DB-Helvethaica-Blk.ttf');
    font-weight: 900;
}

@font-face {
    font-family: 'DB Helvethica';
    src: url('/wp-content/uploads/fonts/DB-Helvethaica-Li.ttf');
    font-weight: 300;
}

@font-face {
    font-family: 'DB Helvethica';
    src: url('/wp-content/uploads/fonts/DB-Helvethaica-Med.ttf');
    font-weight: 700;
}

@font-face {
    font-family: 'DB Helvethica';
    src: url('/wp-content/uploads/fonts/DB-Helvethaica-Med-It.ttf');
    font-weight: 700;
    font-style: italic;
}

@font-face {
    font-family: 'DB Helvethica';
    src: url('/wp-content/uploads/fonts/DB-Helvethaica-Thin.ttf');
    font-weight: 100;
}

@font-face {
    font-family: 'DB Helvethica';
    src: url('/wp-content/uploads/fonts/DB-Helvethaica-Thin-Cond-It.ttf');
    font-weight: 100;
    font-style: italic;
}

html,
body {
    font-family: var( --e-global-typography-text-font-family ), Sans-serif;
}

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

a:not(.elementor-button, .elementor-icon):hover {
    color: inherit;
    filter: brightness(0.8);
}

html {
    padding: 0;
    overflow-y: auto;
    direction: ltr;
    scrollbar-color: #002157 #e4e4e4;
    scrollbar-width: 20px;
}

html::-webkit-scrollbar {
    width: 20px;
  }
  
html::-webkit-scrollbar-track {
background-color: #e4e4e4;
}

html::-webkit-scrollbar-thumb {
border-radius: 100px;
border: 6px solid rgba(0, 0, 0, 0.18);
border-left: 0;
border-right: 0;
background-color: #002157;
}

header .head-sticky{
    backdrop-filter: blur(12px);
    transition: all 0.5s ease;
}

header .head-sticky.elementor-sticky--effects {
    padding: 0 !important;
}

header .head-sticky img {
    transition: all 0.5s ease;
}

header .head-sticky.elementor-sticky--effects img {
    max-width: 350px !important;
}

header .head-gtranslate a {
    margin-left: 10px;
}

.list-col-2 ul {
    column-count: 2;
}

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

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

.font-black {
    font-weight: 900;
}

.video-lightbox-style {
    opacity: 0;
}

.swiper {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #fff;

    /* Center slide text vertically */
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    flex-wrap: wrap;
}

.swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.swiper-pagination-bullet {
    width: 10px !important;
    height: 10px !important;
    transition: all 0.5s ease;
}

.swiper-pagination-bullet.swiper-pagination-bullet-active {
    background: var(--e-global-color-primary);
    width: 40px !important;
    border-radius: 5px;
}

.mySwiper:not(.icon-style) .swiper-slide .entry-image {
    position: relative;
    padding-bottom: calc( 0.65 * 100% );
    overflow: hidden;
}

.mySwiper:not(.icon-style) .swiper-slide .entry-image img {
    height: auto;
    position: absolute;
    top: calc(50% + 1px);
    left: calc(50% + 1px);
    -webkit-transform: scale(1.01) translate(-50%,-50%);
    -ms-transform: scale(1.01) translate(-50%,-50%);
    transform: scale(1.01) translate(-50%,-50%);
    border-radius: 30px 30px 0 0;
}

.mySwiper.icon-style .swiper-slide .entry-image {
    margin: 30px 0 10px !important;
}

.mySwiper.icon-style .swiper-slide .entry-image img {
    max-width: 200px;
    object-fit: none;
    margin: auto;
    height: auto;
    width: auto;
    max-height: 100px;
}

.mySwiper.content-center .swiper-slide .swiper-slide-inner > div {
    text-align: center;
}

.mySwiper .swiper-slide {
    margin-top: 20px;
    margin-bottom: 20px;
}

.mySwiper .swiper-slide .swiper-slide-inner {
    margin: 12px;
    box-shadow: 0 0 0px #dbdbdb, 0px 6px 18px #dbdbdb;
    border-radius: 30px;
}

.mySwiper .swiper-slide .swiper-slide-inner > div {
    padding: 10px 20px 5px;
    text-align: left;
}

.mySwiper .swiper-slide .swiper-slide-inner .entry-title {
    position: relative;
    font-size: 28px;
    font-weight: 900;
    line-height: 1;
    margin: 10px 0 20px;
    color: var(--e-global-color-primary);
}

.mySwiper .swiper-slide .swiper-slide-inner .entry-title:before {
    content: '';
    width: 25px;
    height: 3px;
    background-color: var(--e-global-color-secondary);
    position: absolute;
    bottom: -7px;
}

.mySwiper.content-center .swiper-slide .swiper-slide-inner .entry-title:before {
    left: 50%;
    transform: translateX(-50%);
}

.mySwiper .swiper-slide .swiper-slide-inner .entry-summary {
    font-size: 21px;
    line-height: 1.25;
}

.swiper-custom-button-next {
    display: inline-block;
    width: 50px;
    height: 50px;
    position: absolute;
    top: 50%;
    right: -50px;
    text-align: center;
    background-color: var(--e-global-color-primary);
    color: #fff;
    padding: 12px;
    border-radius: 50%;
    font-size: 22px;
    transform: translateY(-50%);
    z-index: 99999;
    opacity: 1;
    transition: all 0.2s ease;
}

.swiper-custom-button-prev {
    display: inline-block;
    width: 50px;
    height: 50px;
    position: absolute;
    top: 50%;
    left: -50px;
    text-align: center;
    background-color: var(--e-global-color-primary);
    color: #fff;
    padding: 12px;
    border-radius: 50%;
    font-size: 22px;
    transform: translateY(-50%);
    z-index: 99999;
    opacity: 1;
    transition: all 0.2s ease;
}

.swiper-custom-button-next.swiper-button-disabled {
    opacity: 0;
}

.swiper-custom-button-prev.swiper-button-disabled {
    opacity: 0;
}

.swiper-pagination.swiper-pagination-bullets {
    bottom: -30px !important;
}

.contact-list ul li.elementor-icon-list-item {
    align-items: flex-start;
}

.contact-list ul li.elementor-icon-list-item .elementor-icon-list-icon {
    margin-top: 7px;
}

.contact-list ul li.elementor-icon-list-item .elementor-icon-list-icon i.fa-line {
    color: #39B54A !important;
}

.contact-list ul li.elementor-icon-list-item .elementor-icon-list-icon i.fa-facebook-f {
    color: #09386c !important;
}


footer .elementor-nav-menu--dropdown .menu-item a {
    transition: transform 0.3s ease-out;
}

footer .elementor-nav-menu--dropdown .menu-item a:hover {
    filter: unset;
    transform: translateY(-8px);
}

footer .elementor-icon-list-icon i.fa-line {
    color: #39B54A !important;
}

footer .elementor-icon-list-icon i.fa-facebook-f {
    color: #fff !important;
}

@media (min-width: 1500px) {
    .laptop-banner img {
        position: absolute;
        top: 0;
        right: calc((100vw - 1500px) / 2 * -1);
        width: 60vw !important;
    }
}

@keyframes fadeInDown2 {
    from {
        opacity: 0;
        transform: translate3d(0, -30%, 0);
    }
    to {
        opacity: 1;
        transform: none;
    }
}
.fadeInDown2 {
    animation-name: fadeInDown2;
}

@keyframes slideInDown2 {
    from {
        transform: translate3d(0, -30%, 0);
        visibility: visible;
    }
    to {
        transform: translate3d(0, 0, 0);
    }
}

.slideInDown2 {
    animation-name: slideInDown2;
}

@keyframes slideInRight2 {
    from {
        transform: translate3d(50%, 0, 0);
        visibility: visible;
    }
    to {
        transform: translate3d(0, 0, 0);
    }
}