﻿
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans&family=Noto+Sans+Thai:wght@100;200;300;400;500;600;700;800;900&display=swap');
/*@font-face {
    font-family: "NotoSansThai";
    src: local("NotoSansThai"), url(../../Assets/Fonts/NotoSansThai-Regular.ttf) format("truetype");
}*/


@media only screen and (min-width: 1401px) {

    body {
        font-family: 'Noto Sans', sans-serif;
        font-family: 'Noto Sans Thai', sans-serif;
        font-size: 16px;
        line-height: 160%;
        font-weight: 400;
    }
}

@media only screen and (max-width: 1400px) {

    body {
        font-family: 'Noto Sans', sans-serif;
        font-family: 'Noto Sans Thai', sans-serif;
        font-size: 14px;
        line-height: 160%;
        font-weight: 400;
    }
}

/** {
    font-family: 'Noto Sans', sans-serif;
    font-family: 'Noto Sans Thai', sans-serif;
    font-size: 16px;
    line-height: 160%;
    font-weight: 400;
}
*/

p, label, h1, h2, h3, h4, h5, h6 {
    margin: 0px;
}

.bg-main {
    background-color: #163f75;
}

/* width */
/*::-webkit-scrollbar {
    width: 8px;
}*/
/* Track */
/*::-webkit-scrollbar-track {
    background: #f1f1f1;
}*/
/* Handle */
/*::-webkit-scrollbar-thumb {
    background: #888;
}*/
/* Handle on hover */
/*::-webkit-scrollbar-thumb:hover {
        background: #555;
    }*/
.bg-backdrop {
    position: fixed;
    left: 0;
    z-index: 99;
    width: 100%;
    top: 0;
    background-color: #00000082;
    height: 100%;
}

.popup-backdrop {
    position: fixed;
    animation: mymove 1s;
    animation-iteration-count: infinite;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    width:90%;
    max-width: 1000px;
}

.loading-backdrop {
    position: fixed;
    animation: mymove 1s;
    animation-iteration-count: infinite;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    z-index: 10;
    padding: 6px 6px 0px 6px !important;
}

.fc-main {
    color: #163f75;
}

.cut-line-1 {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.cut-line-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.cut-line-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.cut-line-4 {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.cut-line-5 {
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.bg-navbar {
    background: rgba(7, 62, 115, 1);
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.10);
    /*opacity: 90%;*/
    color: white;
}

.bg-dropdown {
    border-radius: var(--radius-r-3, 16px);
    background: #FFF;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
}

.dropdown-item:hover {
    color: #061B38 !important;
}

.mt-master {
    margin-top: 0px;
}

@media only screen and (max-width: 575px) {

    .mt-master {
        margin-top: 0px;
        /*        margin-top: 102px;
*/
    }
}


.border-bottom-navbar {
    border-bottom: 3px solid #707070;
    padding-bottom: 10px;
}

.link-navbar {
    color: white !important;
    transition-duration: 0.2s;
    text-decoration: none;
}

    .link-navbar:hover {
        color: #BAD8E8 !important;
        transition-duration: 0.2s;
    }


.font-main {
    color: #121d64;
}

.first-nav {
    display: flex;
    /*padding: var(--space-s-1, 4px) var(--space-s-8, 56px);*/
    justify-content: space-between;
    align-items: center;
}

.social-nav {
    display: flex;
    /*    padding: var(--value-val-1, 4px) var(--value-val-4, 24px);
*/ justify-content: center;
    align-items: center;
    gap: var(--space-s-3,8px);
}

.language-switcher {
    gap: var(--space-s-2,4px);
    display: flex;
    /*    padding: var(--value-val-1, 4px) var(--value-val-4, 24px);
*/ justify-content: center;
    align-items: center;
}

.dropdown-toggle::after {
    display: none;
}
/*
.footer {
    background-color: #0d1c62;
    min-height: 100px;
    position: relative;
    padding: 50px;
}


.footer-img {
    position: absolute;
    bottom: 0;
    left: 200px;
}


    .footer-img:hover {
        animation: imgFooter 1s 10;
        animation-direction: alternate;
        bottom: 0;
        left: 200px;
    }


@keyframes imgFooter {
    0% {
        bottom: 0;
        left: 200px;
    }

    100% {
        bottom: 0;
        left: 300px;
    }
}

*/



.btn-register-dealer {
    display: inline-flex;
    padding: var(--value-val-2, 8px) var(--space-s-4, 24px);
    justify-content: center;
    align-items: center;
    gap: var(--space-s-2, 8px);
    border-radius: var(--radius-r-2, 8px);
    border: 1px solid var(--btn-color-stroke-secondary-outline, #FFF);
    box-shadow: 0px 8px 24px 0px rgba(64, 62, 60, 0.15);
    color: #073E73;
    background-color: #fff;
    font-weight: 600;
}

    .btn-register-dealer:hover {
        display: inline-flex;
        padding: var(--value-val-2, 8px) var(--space-s-4, 24px);
        justify-content: center;
        align-items: center;
        gap: var(--space-s-2, 8px);
        border-radius: var(--radius-r-2, 8px);
        border: 1px solid var(--btn-color-stroke-secondary-outline, #FFF);
        box-shadow: 0px 8px 24px 0px rgba(64, 62, 60, 0.15);
        color: #073E73;
        background-color: #fff;
        font-weight: 600;
    }

.dropdown-header {
    font-size: 16px;
    color: #073E73;
    font-weight: bold;
}

.fs-small {
    font-size: small;
}

#btnTH {
    padding: 0px 8px 0px;
}

#btnEN {
    padding: 0px 8px 0px;
}

#btnTH.active {
    padding: 0px 8px 0px;
    background: #F2F9FF;
    border-radius: 16px;
}

#btnEN.active {
    padding: 0px 8px 0px;
    background: #F2F9FF;
    border-radius: 16px;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-item:hover {
    border-radius: 16px;
    background-color: #F2F9FF;
}


.btn-main {
    transition-duration: 0.2s;
    background-color: #E9F5FA;
    color: #073E73;
}

    .btn-main:hover {
        transition-duration: 0.2s;
        background-color: #073E73;
        color: #E9F5FA;
    }

    .btn-main.selected {
        transition-duration: 0.2s;
        background-color: #073E73;
        color: #E9F5FA;
    }

.btn-main-dark {
    transition-duration: 0.2s;
    background-color: #073E73;
    color: #E9F5FA;
    box-shadow: 0px 8px 16px 0px rgba(7, 62, 115, 0.14);
}

    .btn-main-dark:hover {
        transition-duration: 0.2s;
        background-color: #042b50;
        color: #E9F5FA;
        box-shadow: 0px 8px 16px 0px rgba(7, 62, 115, 0.14);
    }

.btn-main-light {
    transition-duration: 0.2s;
    background-color: white;
    color: #073E73;
    border: 1px solid #073E73;
    box-shadow: 0px 8px 16px 0px rgba(7, 62, 115, 0.14);
}

    .btn-main-light:hover {
        transition-duration: 0.2s;
        background-color: #e5e5e5;
        color: #073E73;
        border: 1px solid #073E73;
        box-shadow: 0px 8px 16px 0px rgba(7, 62, 115, 0.14);
    }

.back-to-top {
    position: fixed;
    right: 2rem;
    bottom: 2rem;
    border-radius: 100%;
    width: 44px;
    height: 44px;
    border: none;
    cursor: pointer;
    opacity: 100%;
    transition: opacity 0.5s;
    background-color: transparent;
}




.back-to-top:hover {
    opacity: 60%;
}

.hidden {
    opacity: 0%;
}


.p-main {
    padding-top: 40px;
    padding-bottom: 40px;
}

.fs-14 {
    font-size: 14px;
}

.btn-tap {
    border-radius: 0px;
    padding: 2px 15px;
    width: 70px;
}

    .btn-tap.active {
        background-color: #163f75;
        border-radius: 0px;
        color: white;
        padding: 2px 15px;
        width: 70px;
    }
