﻿
/*normal*/
#header-wrap {
    /*background-color: #75c3f3;*/
    background-color: #2e87e1;
}

/*scroll*/
.is-expanded-menu .sticky-header #header-wrap {
    /*background-color: #75c3f3;*/
    background-color: #2e87e1;
}

#footer 
{
    background-color: #2e87e1;
}

.menu-item:hover > .menu-link {
    /*color: #2e87e1;*/
    color: #FFF;
}

#header-wrap #logo img {
    margin: 10px;
}




@font-face {
    font-family: 'Sarabun';
    src: url('../../fonts/Sarabun/Sarabun-Light.ttf') format('truetype');
}

body {
    font-family: 'Sarabun', sans-serif !important;
}


:root {
    --cnvs-primary-font: 'Sarabun', sans-serif;
}

h1, .h1,
h2,
.h2,
h3,
.h3,
h4,
.h4,
h5,
.h5,
h6,
.h6,p {
    font-family: 'Sarabun', sans-serif !important;
    margin: 0;
}

/*
h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
}

h5,
h6 {
    margin: 0;
}
*/


/*input[type=radio]
{
    width : 20px;
    height : 20px;
}*/

/*label {
    display: block;
    line-height: 40px;
}
*/

input[type="radio"], input[type="checkbox"] {
    margin: 0px 0 0;
}


.label-radio {
    display: flex;
    /*align-items: center;*/
    gap: 5px;
    flex-wrap: wrap;
}

.option-input {
    -webkit-appearance: none;
    -moz-appearance: none;
    -ms-appearance: none;
    -o-appearance: none;
    appearance: none;
    position: relative;
    /*top: 13.33333px;*/
    right: 0;
    bottom: 0;
    left: 0;
    height: 30px;
    width: 30px;
    transition: all 0.15s ease-out 0s;
    background: #cbd1d8;
    border: none;
    color: #fff;
    cursor: pointer;
    display: inline-block;
    margin-right: 0.5rem;
    outline: none;
    position: relative;
    z-index: 2;
}

    .option-input:hover {
        background: #9faab7;
    }

    .option-input:checked {
        background: #40e0d0 !important;
    }

    /*    input[type='radio'][disabled], input[type='checkbox'][disabled], .radio[disabled] {
        cursor: not-allowed;
        background: #202729;
    }*/

    .option-input[disabled] {
        color: black !important;
        background: #8b8b8b !important;
    }

    .option-input:checked::before {
        width: 30px;
        height: 30px;
        display: flex;
        /*content: '\f00c';*/
        content: "\f058";
        /*font-size: 25px;*/
        font-weight: bold;
        position: absolute;
        align-items: center;
        justify-content: center;
        /*font-family: 'Font Awesome 5 Free';*/
        font-family: FontAwesome;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    .option-input:checked::after {
        -webkit-animation: click-wave 0.65s;
        -moz-animation: click-wave 0.65s;
        animation: click-wave 0.65s;
        background: #40e0d0;
        content: '';
        display: block;
        position: relative;
        z-index: 100;
    }

    .option-input.radio {
        border-radius: 50%;
    }

        .option-input.radio::after {
            border-radius: 50%;
        }


/*@keyframes click-wave {
    0% {
        height: 40px;
        width: 40px;
        opacity: 0.35;
        position: relative;
    }

    100% {
        height: 200px;
        width: 200px;
        margin-left: -80px;
        margin-top: -80px;
        opacity: 0;
    }
}*/


#page-title, #sidebar-menu, #header-label, .content-box-header {
    font-weight: bold;
}


#page-height {
    height: 80vh;
    overflow-y: scroll;
    overflow-x: hidden;
    padding: 0;
    margin: 0;
}


#Navigation-choice {
    z-index: 100;
    position: fixed;
    width: 50px;
    height: 50px;
    right: 5%;
    bottom: 5%;
    border: 1px solid;
    border-radius: 50%;
    text-align: center;
    background: #96cfcf;
    box-shadow: rgba(9, 30, 66, 0.25) 0px 4px 8px -2px, rgba(9, 30, 66, 0.08) 0px 0px 0px 1px;
    cursor: pointer;
}

    #Navigation-choice:hover {
        -ms-transform: scale(1.2); /* IE 9 */
        -webkit-transform: scale(1.2); /* Safari 3-8 */
        transform: scale(1.2);
        transition: linear .1s;
    }

#Navigation-content {
    border: 1px solid;
    border-radius: 10px;
    width: 450px;
    height: 650px;
    position: fixed;
    top: 50%;
    left: 50%;
    z-index: 20;
    transform: translate(-50%, -50%);
    background: #96cfcf;
    visibility: hidden;
    opacity: 0;
    transition: visibility 1s, opacity 0.5s linear;
}

@media only screen and (max-width: 450px) {
    #Navigation-content {
        width: 320px;
    }
}


.show-choice {
    visibility: visible !important;
    opacity: 1 !important;
}

#page-height::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

/* Define the thumb style */
#page-height::-webkit-scrollbar-thumb {
    background: #96cfcf;
    border-radius: 5px;
}
/* Define the track style */
#page-height::-webkit-scrollbar-track {
    background-color: #ddd;
    border: 1px solid #ccc;
}
/* Define the button style */
#page-height::-webkit-scrollbar-button {
    background-color: #ddd;
    border-radius: 5px;
}
    /* Define the button style when being hovered over */
    #page-height::-webkit-scrollbar-button:hover {
        background-color: #96cfcf;
    }



#quiz-group-nav::-webkit-scrollbar {
    width: 5px;
    height: 5px;
}

#quiz-group-nav::-webkit-scrollbar-thumb {
    background: #9ea3a0;
    border-radius: 5px;
}



.example-box-wrapper::-webkit-scrollbar {
    width: 5px;
    height: 5px;
}

.example-box-wrapper::-webkit-scrollbar-thumb {
    background: #9ea3a0;
    border-radius: 5px;
}
.header-gd {
    /*font-size: 70px !important;*/
    /*font-weight: 600 !important;*/
    background-image: linear-gradient(to bottom left, #ff9abc, #2e87e1) !important;
    color: #2e87e1 !important;
    background-clip: text !important;
    -webkit-background-clip: text !important;
    margin-left: 20%;
    margin-right: 20%;
}
.seven h3 {
    text-align: center;
    font-size: 30px;
    letter-spacing: 1px;
    text-transform: uppercase;
    display: grid;
    grid-template-columns: 1fr max-content 1fr;
    grid-template-rows: 27px 0;
    grid-gap: 20px;
    align-items: center;
}

    .seven h3:after, .seven h3:before {
        content: " ";
        display: block;
        border-bottom: 1px solid #2e87e1;
        border-top: 1px solid #2e87e1;
        height: 5px;
        background-color: #f8f8f8;
    }