/* amm - custom css for admission */

@font-face {
    font-family: "Noto Sans Thai";
    src: url(../font/NotoSansThai-VariableFont_wdth,wght.ttf) format("truetype");
}


body {
    --bs-body-font-family: "Noto Sans Thai", sans-serif;
   
}

.lang-btn {
    display: flex;
    width: 75px;
    padding: 8px;
    justify-content: center;
    align-items: center;
    border-radius: 8px;
    background: var(--Grey-Scale-Grey-2, #383A3D);
}

.layout-bg-top {
    background-image: url(../images/bg-top.svg);
    height: 180px;
    background-size: cover;
}
.layout-bg-pattern {
    background-image: url(../images/pattern-bg.svg);
    background-position: center bottom;
    background-repeat: no-repeat;
}

title-1 {
    color: var(--Orange-Orange-04, #EA835E);
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
}

title-2 {
    color: var(--Grey-Scale-White, #F8F8F8);
    font-size: 38px;
    font-style: normal;
    font-weight: 700;
}
.menu-step {
    color: white;
    font-size: 16px;
    font-weight: 700;
    word-wrap: break-word;
    background: var(--Grey-Scale-Grey-2, #383A3D);
}
.menu-step-icon {
    flex: 1 1 0;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 16px;
    display: inline-flex;
}

@media (min-width: 992px) {
    
}
.mt-6 {
    margin-top: 5rem !important;
}

.line-horizontal {
    border-top: 2px solid white;
}
.line-section {
    border-top: 1px solid #5A5E63;
}

    .line-vertical {
        border-left: 2px solid white;
        height: 200px;
        position: absolute;
        left: 50%;
    }
.line-vertical2 {
    border-left: 1px solid white;
    height: 165px;
    position: absolute;
    left: 50%;
}
    .btn-adm-dark {
        padding-top: 0.8em;
        padding-bottom: 0.8em;
        font-weight: 500;
        width: 100%;
        border-color: #fff;
    }

    .adm-radio {
        border-radius: 8px;
        border: 1px solid var(--Grey-Scale-Grey-5, #C4C9CE);
        background: var(--Grey-Scale-White, #F8F8F8);
        padding: 15px 0px 15px 40px;
        font-weight: 500;
        flex-shrink: 0;
        width: 100%;
        color: #5A5E63;
    }

.adm-radio-program {
    border-radius: 8px;
    border: 1px solid var(--Grey-Scale-Grey-5, #C4C9CE);
    background: var(--Grey-Scale-White, #F8F8F8);
    padding: 10px 10px 10px 10px;
    font-weight: 500;
    flex-shrink: 0;
    width: 100%;
    color: #5A5E63;
}


    .adm-checkbox {
        border-radius: 50% !important;
    }

    .text-orange-primary {
        color: #EA835E;
    }
.label-title-detail {
    font-size: 0.85rem !important;
    font-weight:500;
}
.label-detail {
    font-size: 0.85rem !important;
    font-weight: 300;
}

.text-normal {
    font-size: 0.85rem !important;
}
 

.box-applicant-info {
    display: flex;
    padding: 10px;
    flex-direction: column;
    color: #F8F8F8;
    border-radius: 8px;
    background: var(--Grey-Scale-Grey-1, #1D1E20);
    font-size: 0.85rem !important;
}
.box-upload-document {
    display: flex;
    padding: 10px;
    flex-direction: column;
    color: white;
    border-radius: 8px;
    background: var(--Grey-Scale-Grey-1, #1D1E20);
    font-size: 14px;
    border-radius: 8px;
    border: 1px solid var(--Grey-Scale-Grey-3, #5A5E63);
}
.dv-upload {
    border-radius: 8px;
    border: 1px solid var(--Grey-Scale-Grey-5, #C4C9CE);
    background: var(--Grey-Scale-White, #F8F8F8);
}

.form-control-upload {
    display: block;
    width: 100%;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: var(--bs-body-color);
    appearance: none;
    /* background-color: var(--bs-body-bg);*/
    background-clip: padding-box;
    /* border: var(--bs-border-width) solid var(--bs-border-color);*/
    border-radius: var(--bs-border-radius);
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.form-control-upload::file-selector-button {
        padding: 0.375rem 0.75rem;
        margin: -0.375rem -0.75rem;
        margin-inline-end: 0.75rem;
        color: var(--bs-body-color);
        background-color: var(--bs-tertiary-bg);
        pointer-events: none;
        border-color: inherit;
        border-style: solid;
        border-width: 0;
        border-inline-end-width: var(--bs-border-width);
        border-radius: 0;
        transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    }
.error-title {
    font-size: 3rem !important;
    font-weight: 600;
    line-height: 1;
    color: #ffffff
}
.error-message {
    font-size: 1.5rem !important;
    font-weight: 400;
    line-height: 1;
    color: #ffffff
}

.error-detail {
    font-size: 1rem !important;
    font-weight: 400;
    color: #d9e7ed
}


.modal-adm-header {
    text-align: center;
    flex-shrink: 0;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 1.5rem;
/*    border-bottom: 1px solid rgba(0, 0, 0, 0.07);
*/    border-top-left-radius: calc(0.4375rem - 1px);
    border-top-right-radius: calc(0.4375rem - 1px);
}

.badge-waiting {
    display: inline-block;
    padding: 0.35em 0.65em;
    font-size: 0.75em;
    font-weight: 700;
    line-height: 1;
    color: rgba(var(--bs-dark-rgb), var(--bs-text-opacity)) !important;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: 0.4375rem;
    --bs-bg-opacity: 1;
    background-color: #575a5f21 !important;
    z-index: -1;
    border-radius: 50rem !important;
}



/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input[type=number] {
    -moz-appearance: textfield;
}

.pointer {
    cursor: pointer;
}

.bg-file-upload {
    background-color: #373c434d;
}

.ol-num {
    counter-reset: item
}

.li-num {
    display: block
}

.li-num:before {
    content: counters(item, ".") " ";
    counter-increment: item
}


.box-term-condition {
/*    display: flex;*/
  /*  padding: 10px;*/
   /* flex-direction: column;*/
    color: white;
/*    border-radius: 8px;
*/    /*background: #1d1e20a8;*/
    font-size: 14px;
    font-weight: 300 !important;
  /*  border-radius: 8px;
    border: 1px solid var(--Grey-Scale-Grey-3, #5A5E63);*/
}

.modal-header {
    display: block;
    flex-shrink: 0;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    padding-bottom: 0.3rem;
    border-bottom: 1px solid rgb(255 255 255 / 33%);
    border-top-left-radius: calc(0.4375rem - 1px);
    border-top-right-radius: calc(0.4375rem - 1px);
}


.fade-naja {
    -webkit-transform-style: preserve-3d;
    -moz-transform-style: preserve-3d;
    transform-style: preserve-3d;
    -webkit-transform: rotateY(-70deg);
    -moz-transform: rotateY(-70deg);
    -ms-transform: rotateY(-70deg);
    transform: rotateY(-70deg);
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
    opacity: 0;
}

    .fade-naja.show {
        -webkit-transform: rotateY(0deg);
        -moz-transform: rotateY(0deg);
        -ms-transform: rotateY(0deg);
        transform: rotateY(0deg);
        opacity: 1;
    }

.box-message {
    display: flex;
    padding: 10px;
    flex-direction: column;
    border-radius: 8px;
    background: #893c2017;
    font-size: 0.85rem !important;
}

.invalid-message {
    position: absolute;
    top: 100%;
    z-index: 5;
    max-width: 100%;
    padding: 0.5rem 0.75rem;
    margin-top: .1rem;
    font-size: 0.65625rem;
    color: #fff;
    background-color: rgba(223, 86, 69, 0.9);
    border-radius: 0.4375rem;
}

.valid-message {
    position: absolute;
    top: 100%;
    z-index: 5;
    max-width: 100%;
    padding: 0.5rem 0.75rem;
    margin-top: .1rem;
    font-size: 0.65625rem;
    color: #fff;
    background-color: #00A960;
    border-radius: 0.4375rem;
}
.easyui-combobox {
    background-image: none;
}

.bg-card-scholar-2 {
    height: 350px;
    background: var(--Grey-Scale-White, #F8F8F8);
    background-image: url(../images/pattern-standard.svg);
    background-repeat: no-repeat;
    background-position: right bottom;
}

.bg-card-scholar-1 {
    height: 350px;
    background: var(--Grey-Scale-White, #F8F8F8);
    background-image: url(../images/pattern-standard.svg);
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: contain, cover;
}

#btnCancelApplicant {
    cursor: pointer;
    transition: background-color 0.3s ease;
    border-radius: 50rem;
}

#btnCancelApplicant:hover {
    background-color: #EA835E;
    border-radius: 50rem;
    color: white !important;
}

.btnLink {
    cursor: pointer;
    transition: background-color 0.3s ease;
    border-radius: 50rem;
}

.btnLink:hover {
    background-color: #EA835E;
    border-radius: 50rem;
    color: white !important;
}

@keyframes shake {
    0% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-5px);
    }

    50% {
        transform: translateX(5px);
    }

    75% {
        transform: translateX(-5px);
    }

    100% {
        transform: translateX(0);
    }
}

/* à¾ÔèÁàÍ¿à¿¡µìàÁ×èÍÇÒ§ mouse over */
.span-shake:hover {
    animation: shake 0.5s ease-in-out; /* ÊÑè¹ 0.5 ÇÔ¹Ò·Õ */
}

.text-white-80 {
    --bs-text-opacity: 1;
    color: rgba(255, 255, 255, 0.8) !important;
}