:root {
    --font-family-kanit: 'Kanit', sans-serif;
}

body.main-page {
    font-family: var(--font-family-kanit);
}

.row {
    margin: 0;
}

.main-page {
    background: #FAC30F;
    width: 100vw;
    height: 100vh;
    font-family: var(--font-family-kanit);
}

.container,
.mainContent {
    width: 100%;
    padding: 0;
    margin: 0;
}

.containerMain {
    width: 100%;
    height: 70%;
    background-image: url('./image/main-logo.svg');
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.containerBottom {
    width: 100%;
    height: 30%;
    cursor: pointer;
}

.contentLogo {
    margin: 20px 0;
    height: 40%;
    width: auto;
    display: block;
}

.contentDetail>p {
    text-align: center;
    font-size: 2rem;
    font-weight: bold;
    color: white;
}

.contentDetail {
    margin: 30px;
}

.btn-l {
    text-align: center;
    font-size: 0.9rem;
    font-weight: bold;
    color: white !important;
    border: solid 2px white;
    background-image: linear-gradient(180deg, rgba(0, 0, 0, .12), rgba(0, 0, 0, .12));
    transition: ease-in-out 200ms;
}

.btn-l:focus {
    color: white;
}

.btn-l:hover,
.btn-r:hover {
    color: white;
    border: solid 2px #FAC30F;
    background-color: #FAC30F;
    background-image: none;
}

.btn-r {
    text-align: center;
    font-size: 1rem;
    font-weight: bold;
    color: #FAC30F;
    border: solid 2px white;
    background-color: white;
    transition: ease-in-out 200ms;
}

.box-l:hover,
.box-r:hover {
    opacity: 0.7;
}

.box-l {
    text-align: center;
    font-size: 2rem;
    font-weight: bold;
    color: white;
    background: #FAC30F;
    height: 100%;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    display: flex;
    transition: ease-in-out 300ms;
}

.box-r {
    text-align: center;
    font-size: 2rem;
    font-weight: bold;
    color: #FAC30F;
    background: white;
    height: 100%;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    display: flex;
    transition: ease-in-out 300ms;
}

.containerBottom>.row {
    height: 100%;
}

.box-footer {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.btn-close-modal {
    text-align: center;
    font-size: 1rem;
    font-weight: bold;
    color: white;
    background: #FAC30F;
}

@media only screen and (max-width: 480px) {
    .contentDetail {
        margin: 15px;
    }

    .contentDetail>p,
    .box-l {
        font-size: 1.5rem;
    }

    .containerMain {
        justify-content: flex-start;
        padding-top: 30px;
    }

    .containerMain {
        height: 60%;
    }

    .containerBottom {
        height: 14%;
    }

    .contentLogo {
        height: 40%;
        margin-bottom: 10%;
    }

    .btn-l {
        white-space: pre-wrap;
    }

    .box-l,
    .box-r,
    .btn-l {
        font-size: 1rem;
        font-weight: 500;
    }

    .box-r #refRegisPage {
        font-size: 1rem !important;
        font-weight: 500;
    }

    .img-pdf {
        display: block;
        width: 60px;
        height: 60px;
    }

    /* .box-image {
        width: 110px;
        height: 110px;
    } */
    .img-div {
        display: flex;
        flex-direction: row !important;
        padding: 0 !important;
    }

    .box-announce {
        padding: 0 !important;
        padding-bottom: 12px;
        border-bottom: 2px solid rgba(27, 27, 27, 0.733);
    }

    .box-image {
        width: 40px !important;
        height: 40px !important;
        background-color: transparent !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
    }

    .box-image .img-pdf {
        width: 35px !important;
        height: auto !important;
    }

    .text-pdf {
        flex: 1;
        text-align: left !important;
        padding-left: 6px !important;
    }
}


@media only screen and (max-width: 350px) {

    .contentDetail {
        margin: 15px;
    }

    .contentDetail>p,
    .box-l {
        font-size: 1rem;
    }

    .containerMain {
        justify-content: flex-start;
        padding-top: 15px;
    }

    .containerMain {
        height: 60%;
    }

    .containerBottom {
        height: 14%;
    }

    .box-l,
    .box-r,
    .btn-l {
        font-size: 1rem;
        font-weight: 500;
    }

    .box-r #refRegisPage {
        font-size: 1rem !important;
        font-weight: 500;
    }

    .img-pdf {
        display: block;
        width: 55px;
        height: 55px;
    }

    .box-image {
        width: 100px;
        height: 100px;
    }
}


.modal-footer {
    align-items: center;
    justify-content: center;
}

.img-div {
    text-align: center;
    display: flex;
    align-items: center;
    flex-direction: column;
    padding: 15px;
    cursor: pointer;
}

.img-div:hover {
    -webkit-box-shadow: 0 0 3px 1px #FAC30F;
    -moz-box-shadow: 0 0 3px 1px #FAC30F;
    box-shadow: 0 0 3px 1px #FAC30F;
}


.img-pdf {
    display: block;
    width: 80px;
    height: 80px;
}

.box-image {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 130px;
    height: 130px;
    border-radius: 100%;
    background-color: #FAC30F;
}

.text-pdf {
    text-align: center;
    font-size: 1rem;
    margin-top: 12px;
}

.div-label-p {
    padding: 0px 20px;
}

.label-p {
    font-size: 20px;
    font-weight: normal;
}

.box-modal-first {
    display: block;
    position: relative;
    /* width: 100%; */
    /* max-height: 90vh; */
}

.box-modal-first img {
    display: block;
    width: 100%;
    height: auto;
    /* max-height: 90vh; */
}

.modal-content-banner .modal-body {
    padding: 0;
    margin: 0;
}

.modal-content-banner .close {
    display: block;
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 3px;

    border-radius: 100%;
    background-color: whitesmoke;
    -webkit-box-shadow: 0 10px 6px -6px #777;
    -moz-box-shadow: 0 10px 6px -6px #777;
    box-shadow: 0 10px 6px -6px #777;
}

.close i {
    line-height: 30px;
    font-size: 16px;
    width: 30px;
    height: 30px;
    margin: 0;
    padding: 0;
}

#btnBannerModal {
    display: none;
}

.modal-lg {
    max-width: 90% !important;
}


#largeModal .img-size {
    /* 	padding: 0;
        margin: 0; */
        display: block;
        width: 100%;
        height: auto;
    background-size: cover;
    overflow: hidden;
}

#largeModal .modal-content {
    width: 100%;
    border: none;
}

#largeModal .modal-body {
    padding: 0;
}

.img-size {
    max-height: 90vh;
}