@import url('https://fonts.googleapis.com/css2?family=Kanit:wght@500&family=Nunito:wght@700&family=Teko:wght@600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Be+Vietnam+Pro:wght@300&display=swap');

* {
    margin: 0;
    padding: 0;
    border: none;
    list-style: none;
}
html {
    scroll-behavior: smooth;
}
body {
    background-color: #dfe6e9;
}

header {
    position: absolute;
    top: 0;
    left: 0;
    width: calc(100vw - 30px);
    padding: 10px;
    background-color: white;
    box-shadow: 5px 5px 8px 5px rgba(0,0,0,0.21);
    -webkit-box-shadow: 5px 5px 8px 5px rgba(0,0,0,0.21);
    -moz-box-shadow: 5px 5px 8px 5px rgba(0,0,0,0.21);
}

.header-wrapper {
    margin: 0 auto;
    vertical-align: middle;
}

    .header-wrapper > * {
        display: inline-block;
        vertical-align: middle;
    }

    .header-wrapper > .logo {
        padding-left: 34px;
    }

        .header-wrapper > .logo > img {
            height:40px;
        }

        .header-wrapper .menu-wrapper {
            width: calc(100% - 235px);
            text-align: right;
            height: 50px;
            transition: 250ms all;
        }

        .header-wrapper .menu-wrapper > a:last-child {
            margin-right: 50px !important;
        }

        .header-wrapper .menu-wrapper > a {
            display: inline-block;
            color: black;
            text-decoration: none;
            vertical-align: middle;
            font-family: 'Nunito', sans-serif;
            line-height: 50px;
            padding: 0 24px;
            font-size: 1em;
            margin-right: 4px;
        }

div.content-header {
    /*margin-top: 70px;*/
    width: 100%;
    min-height: 400px;
    height: calc(100vh);
    background-image: url(/images/image1.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    transition: background 3s linear;
}

    div.content-header .search-wrapper {
    }

        div.content-header .search-wrapper .search-panel {
            transition: 250ms all;
        }

            div.content-header .search-wrapper .search-panel p {
                margin-top: 1em;
                max-width: 450px;
                color: white;
                font-family: 'Nunito', sans-serif;
            }

            div.content-header .search-wrapper .search-panel .search-title {
                font-size: 3em;
                color: white;
                font-family: 'Teko', sans-serif;
            }

            div.content-header .search-wrapper .search-panel .search-bar {
                margin-top: 24px;
                transition: 250ms all;
                z-index: 10;
                width: 55%;
               /* box-shadow: 3px 10px 13px 0px rgba(255,255,255,0.49);
                -webkit-box-shadow: 3px 10px 13px 0px rgba(255,255,255,0.49);
                -moz-box-shadow: 3px 10px 13px 0px rgba(255,255,255,0.49);*/
                border-radius: 10px;
            }

                div.content-header .search-wrapper .search-panel .search-bar input {
                    padding: 10px;
                    border-radius: 0px 0 0 0px;
                    font-family: 'Nunito', sans-serif;
                    outline: none;
                    width: calc(100% - 230px);
                    border: 3px solid #7f8fa6;
                    border-right: none;
                    border-left:none;   
					font-size: 15px !important;
                }

                div.content-header .search-wrapper .search-panel .search-bar button {
                    margin-left: -4px;
                    padding: 13px;
                    border-radius: 0 8px 8px 0;
                    font-family: 'Nunito', sans-serif;
                    cursor: pointer;
                    width: 80px;
                    color: white;
                    background-color: #7f8fa6;
					font-size: 15px !important;
                }

div.content {
    margin: 0 auto;
    background-color: white;
    padding: 2em 0;
    margin-top: 3em;
    box-shadow: 0px 0px 13px 9px rgba(217,217,217,0.27);
    -webkit-box-shadow: 0px 0px 13px 9px rgba(217,217,217,0.27);
    -moz-box-shadow: 0px 0px 13px 9px rgba(217,217,217,0.27);
    border-radius: 5px;
}

    div.content > .title {
        padding: 16px;
        padding-top: 24px;
        text-align: center;
    }

div.digital-transformation .title {
    padding: 16px;
    padding-top: 24px;
    font-size: 1.8em;
}

div.content > .title > span {
    font-family: 'Teko', sans-serif;
    font-size: 2em;
}

.black-filter {
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,.05);
}

.center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.digital-transformation {
    margin: 32px auto;
    font-family: 'Teko', sans-serif;
    padding: 32px 0;
}

footer {
    height: 65px;
    background-color: #130f40;
    color: white;
    font-family: 'Teko', sans-serif;
    text-decoration: underline;
}

.focused-background {
    background-color: rgba(0,0,0,.75);
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 8;
}

#search-gs {
    background-color: white;
    overflow-y: auto;
    font-family: 'Nunito', sans-serif;
    border-radius: 8px;
    margin-top: 2px;
    overflow: hidden;
    height: 0;
    transition: 250ms all;
}

    #search-gs ul li {
        display: block;
        padding: 8px 0;
        margin: auto 10px;
        cursor: pointer;
        font-size: 17px;
        transition: 250ms all;
    }

        #search-gs ul li:first-child,
        #search-gs ul li:last-child {
            margin-top: 6px;
        }

        #search-gs ul li:hover {
            background-color: rgba(0,0,0,.18);
        }

#show-on {
    background-color: rgba(0,0,0,.50);
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 12;
}

.allTermsButton:hover {
    background-color: gray;
    color:white;
}

#description-panel {
    max-width: 800px;
    max-height: calc(90vh - 48px);
    background-color: white;
    padding: 24px;
    border-radius: 8px;
    position: relative;
    box-shadow: 0px 0px 9px 2px rgba(255,255,255,0.75);
    -webkit-box-shadow: 0px 0px 9px 2px rgba(255,255,255,0.75);
    -moz-box-shadow: 0px 0px 9px 2px rgba(255,255,255,0.75);
}

.seperated {
    display: inline-block;
    width: 49%;
    vertical-align: middle;
    font-family: 'Be Vietnam Pro', sans-serif;
}

    .seperated > p {
        margin-top: 12px;
        font-size: .9em;
    }

#description-panel .seperated:last-child {
    width: calc(49% - 24px);
    margin-left: 24px;
}

    #description-panel .seperated:last-child > img {
        width: 100%;
    }
#terms-btn {
    border-radius: 8px 0px 0px 8px;
    margin-right: -4px;
    width: 150px
}
#close-description {
    background-color: white;
    position: absolute;
    top: -8px;
    right: -8px;
    font-size: 24px;
    border-radius: 100%;
    width: 32px;
    height: 32px;
    color: red;
    cursor: pointer;
}

#search-again {
    width: 56px;
    height: 56px;
    bottom: -20px;
    right: -20px;
    background-color: white;
    position: absolute;
    font-size: 30px;
    border-radius: 100%;
    color: #5f27cd;
    cursor: pointer;
}
#yukari {
    display: none;
    position: fixed;
    bottom: 25px;
    right: 25px;
    background: #00b2f2;
    width: 50px;
    height: 50px;
    text-align: center;
    line-height: 50px;
    border-radius: 35px;
    transition: all .3s ease;
    z-index: 999
}

    #yukari i {
        color: #fff;
        font-size: 20px;
    }

    #yukari:hover {
        background-color: #fcb100
    } 

.loader {
    border: 8px solid #b2bec3;
    border-radius: 50%;
    border-top: 8px solid #3498db;
    width: 40px;
    height: 40px;
    -webkit-animation: spin 2s linear infinite;
    animation: spin 2s linear infinite;
}

.content > .terms-of-day {
    display: flex;
    justify-content: space-around;
}

    .content > .terms-of-day > div {
        padding: 12px;
        width: 200px;
        overflow: hidden;
        font-family: 'Be Vietnam Pro', sans-serif;
        text-align: center;
        background-color: rgba(0,0,0,.05);
        box-shadow: 4px 6px 10px -1px rgba(0,0,0,0.11);
        -webkit-box-shadow: 4px 6px 10px -1px rgba(0,0,0,0.11);
        -moz-box-shadow: 4px 6px 10px -1px rgba(0,0,0,0.11);
        border-radius: 8px;
    }

        .content > .terms-of-day > div > p {
            margin-top: 8px;
        }

        .content > .terms-of-day > div > span {
            display: inline-block;
            padding-top: 8px;
            font-family: 'Teko', sans-serif;
            font-size: 1.05em;
        }

        .content > .terms-of-day > div > img {
            height: 150px;
			width: 100%;
    		object-fit: cover;
        }

.not-found {
    font-size: 48px;
    text-align: center;
    color: orange;
    margin-bottom: 12px;
}

.nf-title {
    font-family: 'Teko', sans-serif;
    font-size: 1.4em;
}

@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Scrollbar */
body::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
    border-radius: 10px;
    background-color: #F5F5F5;
}

body::-webkit-scrollbar {
    width: 10px;
    background-color: #F5F5F5;
}

body::-webkit-scrollbar-thumb {
    border-radius: 10px;
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3);
    background-color: #555;
}

.content-maxwidth {
    width: 1440px;
}

.searchbar-width {
    width: 40%;
}

#menu-btn {
    display: none;
    width: 40px;
    height: 40px;
    position: absolute;
    right: 10px;
    top: 10px;
    background-color: white;
    font-size: 22px;
    color: #130f40;
    cursor: pointer;
}

.seperated > img {
    width: 80%;
}

/* For Mobile */
@media only screen and (max-width: 659px) {
    div.content > .title > span {
        font-size: 1.6em;
    }
    .imgLogo{
        overflow:hidden;
        height:0;
    }
    div.content-header .search-wrapper .search-panel .search-bar input {
        padding: 10px;
        border-radius: 8px 8px 8px 8px;
        font-family: 'Nunito', sans-serif;
        outline: none;
        width: calc(100% - 70px);
        border: 3px solid #7f8fa6;
        border-right: none;
        border-left: none;
        font-size: 15px !important;
    }
    #terms-btn {
        border-radius: 8px 8px 8px 8px;
        margin-right: 4px;
        width: 150px;
        margin-bottom:20px;
    }
    div .content {
        width: calc(100% - 3em) !important;
        padding-top: 1.5em 0;
    }
    .content-maxwidth {
        width: calc(100% - 2em) !important;
    }

    header {
        width: calc(100% - 20px);
    }

    .searchbar-width {
        width: 85% !important;
    }

    .header-wrapper .menu-wrapper {
        width: 100%;
        position: absolute;
        left: 0;
        top: 54px;
        background-color: white;
        border-top: 2px solid rgba(0,0,0,0.1);
        height: auto;
        text-align: center;
        box-shadow: 1px 5px 5px 0px rgba(255,255,255,0.36);
        -webkit-box-shadow: 1px 5px 5px 0px rgba(255,255,255,0.36);
        -moz-box-shadow: 1px 5px 5px 0px rgba(255,255,255,0.36);
        height: 0;
        overflow: hidden;
    }

        .header-wrapper .menu-wrapper > a {
            display: block;
        }

            .header-wrapper .menu-wrapper > a:last-child {
                margin-right: 0px !important;
            }

    #menu-btn {
        display: block;
    }

    .header-wrapper > .logo {
        padding-left: 0;
    }

        .header-wrapper > .logo > img {
            height: 30px;
        }

    .content > .terms-of-day {
        display: block;
    }

        .content > .terms-of-day > div {
            margin-left: calc(10% - 12px);
            width: 80%;
            margin-top: 24px;
        }

            .content > .terms-of-day > div > img {
                width: 90%;
                height: auto;                
            }

    .seperated {
        margin-left: 5%;
        width: 90%;
    }

    .seperated>img {
        float: none;
        width: 100% !important;
        height: auto;
        margin-top: 2em;
    }

    #description-panel {
        width: 70%;
    }

        #description-panel .seperated:last-child {
            width: calc(100% - 24px);
        }

    div.content-header {
        margin-top: 0;
    }
}

/* For Tablet */
@media only screen and (min-width: 660px) and (max-width: 829px) {
    .content-maxwidth {
        width: calc(100% - 3em) !important;
    }

    .searchbar-width {
        width: 65% !important;
    }

    .header-wrapper .menu-wrapper > a:last-child {
        margin-right: 0px !important;
    }

    .header-wrapper .menu-wrapper > a {
        padding: 0 12px;
    }

    .content > .terms-of-day {
        padding: 24px;
    }

    .content > .terms-of-day > div {
        width: 26%;
        font-size: .85em;
    }

    #description-panel {
        width: 70%;
    }

        #description-panel .seperated:last-child {
            width: calc(100% - 24px);
        }
}

/* For Desktop */
@media only screen and (min-width: 830px) and (max-width: 1529px) {
    .content-maxwidth {
        width: 92% !important;
    }

    .searchbar-width {
        width: 50% !important;
    }
}

#load {
    position: absolute;
    width: 600px;
    height: 36px;
    left: 50%;
    top: 40%;
    margin-left: -300px;
    overflow: visible;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    cursor: default;
}

    #load div {
        position: absolute;
        width: 20px;
        height: 36px;
        opacity: 0;
        font-family: Helvetica, Arial, sans-serif;
        animation: move 2s linear infinite;
        -o-animation: move 2s linear infinite;
        -moz-animation: move 2s linear infinite;
        -webkit-animation: move 2s linear infinite;
        transform: rotate(180deg);
        -o-transform: rotate(180deg);
        -moz-transform: rotate(180deg);
        -webkit-transform: rotate(180deg);
        color: #35C4F0;
    }

        #load div:nth-child(2) {
            animation-delay: 0.2s;
            -o-animation-delay: 0.2s;
            -moz-animation-delay: 0.2s;
            -webkit-animation-delay: 0.2s;
        }

        #load div:nth-child(3) {
            animation-delay: 0.4s;
            -o-animation-delay: 0.4s;
            -webkit-animation-delay: 0.4s;
            -webkit-animation-delay: 0.4s;
        }

        #load div:nth-child(4) {
            animation-delay: 0.6s;
            -o-animation-delay: 0.6s;
            -moz-animation-delay: 0.6s;
            -webkit-animation-delay: 0.6s;
        }

        #load div:nth-child(5) {
            animation-delay: 0.8s;
            -o-animation-delay: 0.8s;
            -moz-animation-delay: 0.8s;
            -webkit-animation-delay: 0.8s;
        }

        #load div:nth-child(6) {
            animation-delay: 1s;
            -o-animation-delay: 1s;
            -moz-animation-delay: 1s;
            -webkit-animation-delay: 1s;
        }

        #load div:nth-child(7) {
            animation-delay: 1.2s;
            -o-animation-delay: 1.2s;
            -moz-animation-delay: 1.2s;
            -webkit-animation-delay: 1.2s;
        }

@keyframes move {
    0% {
        left: 0;
        opacity: 0;
    }

    35% {
        left: 41%;
        -moz-transform: rotate(0deg);
        -webkit-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
        opacity: 1;
    }

    65% {
        left: 59%;
        -moz-transform: rotate(0deg);
        -webkit-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
        opacity: 1;
    }

    100% {
        left: 100%;
        -moz-transform: rotate(-180deg);
        -webkit-transform: rotate(-180deg);
        -o-transform: rotate(-180deg);
        transform: rotate(-180deg);
        opacity: 0;
    }
}

@-moz-keyframes move {
    0% {
        left: 0;
        opacity: 0;
    }

    35% {
        left: 41%;
        -moz-transform: rotate(0deg);
        transform: rotate(0deg);
        opacity: 1;
    }

    65% {
        left: 59%;
        -moz-transform: rotate(0deg);
        transform: rotate(0deg);
        opacity: 1;
    }

    100% {
        left: 100%;
        -moz-transform: rotate(-180deg);
        transform: rotate(-180deg);
        opacity: 0;
    }
}

@-webkit-keyframes move {
    0% {
        left: 0;
        opacity: 0;
    }

    35% {
        left: 41%;
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
        opacity: 1;
    }

    65% {
        left: 59%;
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
        opacity: 1;
    }

    100% {
        left: 100%;
        -webkit-transform: rotate(-180deg);
        transform: rotate(-180deg);
        opacity: 0;
    }
}

@-o-keyframes move {
    0% {
        left: 0;
        opacity: 0;
    }

    35% {
        left: 41%;
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
        opacity: 1;
    }

    65% {
        left: 59%;
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
        opacity: 1;
    }

    100% {
        left: 100%;
        -o-transform: rotate(-180deg);
        transform: rotate(-180deg);
        opacity: 0;
    }
}

#preloader {
    position: fixed;
    left: 0;
    top: 0;
    z-index: 999;
    width: 100%;
    height: 100vh;
    overflow: visible;
    background-color:white;
    background-image: url('/images/flipFlop.gif') ;
     background-repeat : no-repeat;
    background-position: center center;
}