@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Thai:wght@100;200;300;400;500;600;700;800;900&family=Prompt:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800&display=swap');

html, body {
    font-family: 'Noto Sans Thai', sans-serif;
    /* font-family: 'Prompt', sans-serif; */
}

div:where(.swal2-container) button:where(.swal2-styled).swal2-confirm {
    background-color: #ffc107 !important;
}

div:where(.swal2-container).swal2-backdrop-show, div:where(.swal2-container).swal2-noanimation {
    backdrop-filter: blur(3px);
}

div:where(.swal2-container).swal2-center>.swal2-popup {
    /* background-color: #fff; */
    /* backdrop-filter: blur(5px); */
}

.modalContentCustom {
    border: none;
    box-shadow: none;
    background: none;
}

.modalContentCustom .modal-header {
    border-bottom: none;
    padding: 0;
}

.modalContentCustom .modal-body {
    background-color: #fff;
    border-radius: 1rem 0 1rem 1rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, .1);
}

.modalContentCustom>.modal-header button.close {
    text-shadow: none;
    color: #000;
    background-color: #ffffff85;
    backdrop-filter: blur(5px);
    border-radius: 1rem 1rem 0 0;
    padding: 1rem;
    font-size: 1.5rem;
    border: none;
}

.modalBGFullScreenCustom {
    display: block;
    background-color: #00000038;
    backdrop-filter: blur(5px);
}

#textLogo {
    font-weight: 600;
    font-size: 2rem;
}

.textLogoMain {
    text-align: center;
    color: #ffc107;
    font-size: 8rem;
    font-weight: 700;
    line-height: 1;
}

.textLogoMain.countDownPage {
    margin-bottom: 2rem;
    text-shadow: 3px 2px 9px rgba(0, 0, 0, 0.6);
}

.textLogoSubCountDown {
    margin-bottom: 2rem;
    font-size: 3rem;
    color: #fff;
    text-shadow: 3px 2px 9px rgba(0, 0, 0, 0.6);
}

.logoFooterCustom {
    color: #ffc107;
    font-size: 1.8rem;
}

.logoFooterCustom:hover {
    color: #ffc107;
}

.bgPageCountDown {
    background-image: url(../../assets/img/bg-homepage.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: bottom center;
    min-height: 100vh;
    display: grid;
    justify-content: center;
    align-content: center;
    text-align: center;
    /* padding-top: 4rem; */
    background-attachment: fixed;
}

.bgAdminPage {
    background-image: url(../../assets/img/bg-homepage.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: bottom center;
    min-height: 100vh;
    /* display: grid; */
    justify-content: center;
    align-content: center;
    text-align: center;
    padding-top: 6rem;
    background-attachment: fixed;
}

.bgPageCountDown.main {
    padding-top: 10rem;
}

.areaButton {}

.form-modal {
    padding: .5rem;
}

.areaButton button {
    min-width: 14rem;
    border-radius: 3rem;
    font-size: 1.3rem;
    padding: .6rem;
    font-weight: 500;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}

.boxSignIn {
    text-align: left;
    background-color: #ffffff29;
    padding: 1.5rem;
    border-radius: 1.5rem;
    min-width: 22rem;
    box-shadow: rgb(0 0 0 / 37%) 0px 7px 29px 0px;
    /* backdrop-filter: blur(3px); */
    color: #fff;
    /* background-color: rgb(0 30 61 / 17%); */
    -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);
}

.boxSignIn input {
    border-radius: 3rem;
    padding: 1rem;
}

.boxSignIn .b {
    margin-bottom: 1rem;
}

.boxSignIn .textHerder {
    margin-bottom: 1rem;
    text-align: center;
    font-weight: 500;
    font-size: 2rem;
    color: #ffffff;
    border-bottom: 1px solid;
    padding-bottom: .5rem;
}

.imgCoverFooterNotfound {
    margin-bottom: -11rem;
    width: 33rem;
}

.boxSignIn button {
    border-radius: 2rem;
    padding: .8rem;
    margin-top: .5rem;
}

.showMobileOnly {
    display: none;
}

.ud-submenu-item i {
    min-width: 1.25rem;
    text-align: center;
}

.boxBG_admin {
    background-color: #ffffff78;
    border-radius: 1rem;
    min-height: 20rem;
    backdrop-filter: blur(5px);
    color: #000;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
    padding: 1rem;
    text-align: left;
    background-color: #37373780;
    box-shadow: rgb(0 0 0 / 37%) 0px 7px 29px 0px;
    /* backdrop-filter: blur(3px); */
    color: #fff;
    margin-bottom: 10rem !important;
}

.boxBG_admin.apply {
    max-width: 720px;
    margin: auto;
}

.boxBG_admin.applyForm {
    max-width: 580px;
    margin: auto;
}

.boxBG_admin .title_head {
    font-size: 1.8rem;
    border-bottom: 1px solid #ffffff4f;
    padding-bottom: .5rem;
    margin-bottom: .5rem;
    color: #ffba00;
    text-shadow: 3px 2px 9px rgba(0, 0, 0, 0.6);
}

.boxBG_admin table {
    /* background-color: #fff; */
    color: #fff;
}

.boxBG_admin table>tbody>tr>td {
    color: #fff;
    text-wrap: nowrap;
}

.boxBG_admin2 {
    background-color: #ffffff78;
    border-radius: 1rem;
    min-height: 20rem;
    backdrop-filter: blur(5px);
    color: #000;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
    padding: 1rem;
    text-align: left;
    background-color: #ffffffba;
    box-shadow: rgb(0 0 0 / 37%) 0px 7px 29px 0px;
    /* backdrop-filter: blur(3px); */
    /* color: #fff; */
    margin-bottom: 10rem !important;
}

.boxBG_admin2 .title_head {
    font-size: 1.8rem;
    border-bottom: 1px solid #ffffff4f;
    padding-bottom: .5rem;
    margin-bottom: .5rem;
    color: #000000;
    /* text-shadow: 3px 2px 9px rgba(0,0,0,0.6); */
}

.showTypeOfThisSport {
    background-color: #f2f2f2;
    padding: .5rem;

}

.InputSelectOptionSportType {
    display: none;
}

.InputSelectOptionSportType:checked+.listOption {
    background-color: #ffba00;
    color: #000;
    transition: all .5s;
    opacity: 1;
}

.InputSelectOptionSportType:disabled+.listOption {
    opacity: .15;
    cursor: not-allowed;
}

.listOption.SelectOptionSportType {
    transition: all .5s;
    width: 100%;
    border-radius: .5rem;
    padding: 1rem;
    text-align: center;
    margin-bottom: 1rem;
    background-color: #fff;
    color: #000;
    opacity: .7;
    cursor: pointer;
}

.showListPlayer {
    background-color: #ffffffe6;
    color: #000;
    /* padding: 1rem; */
    border-radius: .5rem;
    margin-bottom: 1rem;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}

.showListPlayer .head {}

.ud-single-faq .ud-faq-btn {
    position: relative;
}

.floatRightByPlayer {
    float: right;
    position: absolute;
    right: 12px;
    font-size: .8rem;
    font-weight: 300;
}

.showMobileOnly {
    display: none;
}

.multiselect-dropdown-list {
    color: #666666;
}

.multiselect-dropdown span.optext {
    background-color: #ffba00 !important;
    display: inline-flex;
    color: #000;
}


.multiselect-dropdown {
    display: inline-block;
    padding: 5px 5px 5px 5px;
    border-radius: 4px;
    border: solid 1px #ced4da;
    background-color: white;
    position: relative;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right .75rem center;
    background-size: 16px 12px;
}

.multiselect-dropdown span.optext, .multiselect-dropdown span.placeholder {
    margin-right: 0.5em;
    margin-bottom: 2px;
    padding: 1px 0;
    border-radius: 4px;
    display: inline-block;
}

.multiselect-dropdown span.optext {
    background-color: lightgray;
    padding: 1px 0.75em;
    font-size: .85rem;
    font-weight: 200;
}

.multiselect-dropdown span.optext .optdel {
    float: right;
    margin: 0 -6px 1px 5px;
    font-size: 0.7em;
    margin-top: 2px;
    cursor: pointer;

}

.multiselect-dropdown span.optext .optdel:hover {
    color: #c66;
}

.multiselect-dropdown span.placeholder {
    color: #ced4da;
}

.multiselect-dropdown-list-wrapper {
    box-shadow: gray 0 3px 8px;
    z-index: 100;
    padding: 2px;
    border-radius: 4px;
    border: solid 1px #ced4da;
    display: none;
    margin: -1px;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: white;
}

.multiselect-dropdown-list-wrapper .multiselect-dropdown-search {
    margin-bottom: 5px;
}

.multiselect-dropdown-list {
    padding: 2px;
    height: 15rem;
    overflow-y: auto;
    overflow-x: hidden;
}

.multiselect-dropdown-list::-webkit-scrollbar {
    width: 6px;
}

.multiselect-dropdown-list::-webkit-scrollbar-thumb {
    background-color: #bec4ca;
    border-radius: 3px;
}

.multiselect-dropdown-list div {
    padding: 5px;
}

.multiselect-dropdown-list input {
    height: 1.15em;
    width: 1.15em;
    margin-right: 0.35em;
}

.multiselect-dropdown-list div.checked {}

.multiselect-dropdown-list div:hover {
    background-color: #ced4da;
}

.multiselect-dropdown span.maxselected {
    width: 100%;
}

.multiselect-dropdown-all-selector {
    border-bottom: solid 1px #999;
}

.ud-single-faq .ud-faq-body {
    color: #a6a6a6;
}

.boxBG_admin .ud-single-faq .ud-faq-body table {
    color: #a6a6a6 !important;
}

.boxBG_admin .ud-single-faq .ud-faq-body .table>:not(caption)>*>* {
    color: #545454;
}

.txtLastUpdate {
    font-size: .8rem;
}

.controlInputScoreResult {
    max-width: 5rem;
    text-align: center;
    width: 100%;
    display: inline;
}

.cursor-pointer {
    cursor: pointer;
}

.customBtnShowPreviewPlayer {
    display: inline;
    cursor: pointer;
}

.customBtnShowPreviewPlayer:hover {
    color: orange;
}

table>thead>tr>th {
    text-align: center;
    vertical-align: middle;
}

.modalPlayer {}

.modalPlayer>.schoolName {
    font-weight: 600;
    font-size: 1.5rem;
    line-height: 1;
}

.modalPlayer>.schoolGroupName {}

.modalPlayer .sportName {
    margin-bottom: 1rem;
    background-color: #ef9d0045;
    padding: .5rem;
    border-radius: .5rem;
    color: #e37800;
    font-weight: 600;
    border: 1px solid;
}

.NewUIMatchVS {
    max-height: 30rem;
    overflow: auto;
}

.NewUIMatchVS .list {
    text-align: center;
    margin-bottom: 1rem;
    background-color: #0000003d;
    border-radius: .2rem;
    padding: 1rem .5rem;
    font-size: .8rem;
}

.NewUIMatchVS .list>.date {
    color: #a6a6a6;
}

.NewUIMatchVS .list>.atLocation {
    color: #adadad;
}

.NewUIMatchVS .list>.match {
    font-weight: 700;
    font-size: 1.5rem;
    /* color: orange; */
    display: inline-flex;
    gap: 20px;
    align-items: center;
    width: 100%;
}

.NewUIMatchVS .list>.match>.Player {
    /* display: flex; */
    width: 50%;
    /* text-align: end; */
    color: #808080;
}

.NewUIMatchVS .list>.match>.Player>.playerShow {
    /* display: flex; */
    gap: 12px;
    font-size: 1rem;
    font-weight: 400;
    cursor: pointer;
}

.NewUIMatchVS .list>.match>.Player>.playerShow i {
    font-size: .6rem;
    display: none;
}

.NewUIMatchVS .list>.match>.Player>.playerShow .score {
    font-size: .8rem;
    color: #8c8c8c;
}

.NewUIMatchVS .list>.match>.Player.Player1 {
    text-align: end;
}

.NewUIMatchVS .list>.match>.Player.Player2 {
    text-align: left;
}

.NewUIMatchVS .list>.match>.vs {
    width: fit-content;
    color: orange;
}

.NewUIMatchVS .list>.match>.Player>.playerShow.Win {
    color: orange;
}

.NewUIMatchVS .list>.sport {}

.NewUIMatchVS .list>.match>.Player>.playerShow.vs {
    color: #fff;
}

.BodyLoading2,
.BodyLoading3,
.BodyLoading {
    position: relative;
}

.btnManageResultSport {
    padding: .1rem .2rem;
    font-size: .7rem;
}

.BodyLoading3 {
    min-height: 50px;
}

.BodyLoading3::before {
    content: '';
    position: absolute;
    display: grid;
    align-content: center;
    width: 100%;
    height: 100%;
    text-align: center;
    background-color: #ffffff1f;
    backdrop-filter: blur(2px);
    z-index: 99;
    min-height: 2rem;
}

.BodyLoading3::after {
    /* animation: 1.5s linear infinite spinner; */
    animation: spinner-loading-tiw 1.2s linear infinite;
    animation-play-state: inherit;
    border: solid 4px #cfd0d1;
    border-bottom-color: #dca82f;
    border-radius: 50%;
    content: "";
    height: 30px;
    position: absolute;
    top: 46%;
    left: 50%;
    transform: translate3d(-50%, -50%, 0);
    width: 30px;
    will-change: transform;
    margin: auto;
    z-index: 100;
}

.showTextTitleModalBB {
    margin-bottom: 1rem;
    background-color: #ef9d0045;
    padding: .5rem;
    border-radius: .5rem;
    color: #e37800;
    font-weight: 600;
    border: 1px solid;
}
.showResultBySport{background-color: #0505052e;margin-bottom: 1rem;border-radius: .5rem;padding: 1rem;}
.showResultBySport>.head{
    font-size: 1.2rem;
    font-weight: 600;
    color: orange;
}
.showListTypeOfSport{

}
.showListTypeOfSport .showType{color: #333;margin-bottom: .5rem;background-color: #e0e0e0;padding: .5rem;}
.showListTypeOfSport .showType>.head{
    font-weight: 500;
}
.showListTypeOfSport .showType>.body{
   
}

.showListTypeOfSport .showClass{color: #333;margin-bottom: .5rem;background-color: #f5f5f5;padding: .5rem;border-radius: 0.2rem;}
.showListTypeOfSport .showClass>.head{
    font-weight: 600;
    color: #0029cd;
    border-bottom: 1px solid #dbdbdb;
    margin-bottom: 0.2rem;
}
.showListTypeOfSport .showClass>.body{
   padding: .5rem;
}

#body-modal-playerApply{
    max-height: 80vh;
    overflow: auto;
}

@keyframes spinner-loading-tiw {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@media screen and (max-width:1440px) {
    .textLogoMain {
        font-size: 7rem;
    }
}

@media screen and (max-width:1280px) {
    .textLogoMain {
        font-size: 7rem;
    }
}

@media screen and (max-width:720px) {
    .textLogoMain {
        font-size: 4.5rem;
    }

    .bgPageCountDown {
        padding-top: 4rem;
    }

    .textLogoSubCountDown {
        font-size: 1rem;
    }

    .ud-hero-image {
        margin-bottom: -6rem;
    }

    .imgCoverFooterNotfound {
        margin-bottom: -12rem;
        width: 20rem;
    }

    .showMobileOnly {
        display: inline-block;
    }

    .navbar-nav {
        align-items: start;
    }

    .nav-item.nav-item-has-children {
        width: 100%;
    }

    .floatRightByPlayer {
        display: none;
        /* position: unset; */
    }

    .showMobileOnly {
        display: block;
    }

    .container {
        padding-left: 17px;
        padding-right: 17px;
    }
    .showResultBySport{
        padding: 1rem;
    }
    .showListTypeOfSport .showClass>.body{
        padding: .2rem;
        font-size: .8rem;
     }
}

@media screen and (max-width:680px) {
    .textLogoMain {
        font-size: 5rem;
    }
}

@media screen and (max-width:480px) {
    .textLogoMain {
        font-size: 3.6rem;
    }
}

@media screen and (max-width:360px) {
    .textLogoMain {
        font-size: 3rem;
    }
}