html {
    background-image: url('../../images/auth/login-bg-2.png') !important;
    background-size: cover !important;
}
body {
    width: 100%;
    height: 100%;
    background-image: none !important;
    background-color: transparent !important;
    overflow-y: hidden !important;
}
.w-100 { min-width: 100%; width: 100%; min-width: 100%; }

.card-box {
    position: relative;
}

.btn-exit {
    position: absolute;
    top: 14px;
    right: 26px;
    z-index: 999;
    width: 30px;
    height: 30px;
}

.btn-exit:hover{
    color: #000;
}

.text-description {
    max-width: 300px;
}

#btnFacebook{
    width: 100%;
    min-width: 104px;
    height: 42px;
    background: #3B589E;
    border-radius: 8px;
}

#btnGoogle, #btnThaid {
    width: 100%;
    min-width: 104px;
    height: 42px;
    border: 1px solid #999999;
    box-sizing: border-box;
    border-radius: 8px;
}

#btnCMU {
    width: 100%;
    min-width: 104px;
    height: 42px;
    border: 1px solid #999999;
    box-sizing: border-box;
    border-radius: 8px;
}

#btnFacebook:hover, #btnThaid:hover, #btnGoogle:hover, #btnCMU:hover {
    color: #000;
    font-weight: 500;
} 

.btn-next-register {
    height: 42px;
    background: #000000;
    box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.1), 0px 4px 14px rgba(0, 0, 0, 0.08);
    border-radius: 8px !important;
}

.btn-next-register:hover, .btn-next-register:focus, .btn-next-register:active, .btn-next-register:disabled {
    color: #ffea00 !important;
    background: #000000;
}

.btn-back-register {
    height: 42px;
    background: #999999;
    box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.1), 0px 4px 14px rgba(0, 0, 0, 0.08);
    border-radius: 8px !important;
}

.btn-back-register:hover, .btn-back-register:active, .btn-back-register:focus, .btn-back-register:after, .btn-back-register:before {
    background: #7a7a7a;
}

.btn-next-login {
    height: 42px;
    background: #000000;
    box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.1), 0px 4px 14px rgba(0, 0, 0, 0.08);
    border-radius: 4px;
}

.btn-next-login:hover{
    color: #ffea00 !important;
}
.btn-send-otp {
    height: 42px;
    background-color: #5E4481;
    border-radius: 4px;
}

#accept:checked {
    background-color: #11D13B !important;
    border-color: #11D13B !important
}

.form-check-input:checked {
    background-color: #5E4481 !important;
    border-color: #5E4481 !important
}

input {
    padding: 0px 15px;
}

input,
input::-webkit-input-placeholder {
    font-size: 0.875rem;
    line-height: 4;
}

.form-control{
    font-size: 0.875rem;
    font-weight: 300;
    height: 42px;
    border-radius: 8px !important;
}

.form-select{
    font-size: 0.875rem;
    font-weight: 300;
    height: 42px;
    color: #000;
    border-radius: 8px !important;
}

.input-group-text{
    font-size: 0.875rem;
    font-weight: 300;
    height: 42px;
    border-radius: 8px;
}

option {
    font-size: 14px;
    color: #000;
}

.toggle-password {
    /* float: right; */
    cursor: pointer;
    margin-right: 10px;
    margin-top: -28px;
    color: #999999;
    position: absolute;
    z-index: 1;
    right: 40px;
}

.input-group-text {
    color: #ffffff;
    background-color: #5E4481;
}

.bg-register {
    position: relative;
    width: 100%;
    height: 100%;
    background-position: center;
    background-size: cover;
}

.img-logo-le-regis {
    width: 100%;
    max-width: 65px !important;
}

.tracking-item {
    font-size: 14px;
    font-weight: 400px;
    width: 24px;
    height: 24px; 
    color: #DDDDDD;
    background: transparent;
    opacity: 0.4;
    border: 2px solid #DDDDDD;
    border-radius: 50%;
    box-sizing: border-box;
    text-align: center;
}

.tracking .active{
    opacity: 1;
    color: #10CA39;
    background: #FFFFFF;
    border-color:  #10CA39;
}

.tracking .finish {
    opacity: 1;
    color: #FFFFFF !important;
    background-color: #10CA39 !important;
}

.line-tacking{
    width: 24px;
    height: 2px;
    opacity: 0.4;
    background-color: #ffffff;
    -ms-transform: rotate(90deg); 
    -webkit-transform: rotate(90deg); 
    transform: rotate(90deg); 
    margin-top: 15px;
    margin-bottom: 15px;
}
.tracking .line-tacking-active{
    opacity: 1;
    background-color: #10CA39 !important;
}

.select {
    opacity: 1 !important;
    color: #10CA39 !important;
    border: 1px solid #10CA39 !important;
}

.text-login:hover {
    font-weight: 500;
    color: #5E4481 !important;
}

.le-logo-regis {
    padding-left: 30%;
}
/* start ---1---- */
.box-policy {
    background: #FDF383;
    border: 1px solid #999999;
    box-sizing: border-box;
    border-radius: 4px;
    resize:vertical;
    height: 100px;
    overflow:auto;  
}

/* only scrollbar */
/* width */
.box-policy::-webkit-scrollbar {
    width: 10px;
    border-radius: 4px;
}

/* Track */
.box-policy::-webkit-scrollbar-track {
    background: #f1f1f1; 
    border-radius: 4px;

}

/* Handle */
.box-policy::-webkit-scrollbar-thumb {
    background: #C4C4C4;; 
    border-radius: 4px;

}

/* Handle on hover */
.box-policy::-webkit-scrollbar-thumb:hover {
    background: rgb(121, 120, 120); 
    border-radius: 4px;

}

.form-check-input {
    width: 16px !important;
    height: 16px !important;
}

input {
    padding: 0px;
}
/* end ---2---- */

/* start moblie */
@media only screen and (min-width: 992px) {
    .p-d-l {
        padding-left: 20px;
    }
}

@media only screen and (max-width: 992px) {
    .le-logo-regis{
        justify-content: start;
        position: absolute;
        z-index: 1;
        top: 15px;
        left: 20px;
        width: 40px;
        height: 40px;
    }
    section {
        margin-top: 5% !important;
    }
    .tracking {
        display: flex;
        align-items: center;
        margin-top: 20px;
    }

    .line-tacking {
        -ms-transform: rotate(0deg); 
        -webkit-transform: rotate(0deg); 
        transform: rotate(0deg); 
    }

    .tracking-item {
        margin-left: 5px;
        margin-right: 5px;
    }

    .bg-register {
        border-radius: 12px 12px 0px 0px;
    }

    .le-logo-regis {
        padding-left: 0%;
        display: flex;
        justify-content: center;
    }

    .description {
        display: flex;
        justify-content: center;
        margin-top: 30px !important;
        margin-bottom: 30px !important;
    }

    .text-description {
        max-width: none;
        padding-left: 50px;
        padding-right: 50px;
        text-align: center !important;
    }
    
    .card-center {
        display: flex;
        justify-content: center;
    }

    .student-card {
        margin-left: 0px !important;
    }

    .save-card {
        margin-left: 0px !important;
        margin-bottom: 30px;
    }
}
/* end moblie */

.student-card {
    padding-top: 10px;
    padding-right: 10px;
    padding-left: 15px;
    margin-top: 30px;
    margin-left: 55px;
    position: relative;
    width: 180px;
    height: 280px;
    border-radius: 8px;
    background-size: 180px 280px !important;
}

.save-card {
    margin-top: 30px;
    margin-left: -85px;
    color: #fff;
    width: 165px;
    height: 42px;
    background-color: transparent;
    border: 1px solid #FFFFFF;
    box-sizing: border-box;
    border-radius: 4px;
}

.save-card:hover {
    color: #ffffff;
    background-color: #5E4481;
}

.text-right {
    text-align: right !important;
}

.text-left{
    text-align: left !important;
}
#mydiv {
    background-color: lightblue;
    width: 200px;
    height: 200px
}

/* start mc-datepicker */
.mc-calendar--modal  {
    box-shadow : 0px 0px 0px 1000px rgb(0 0 0 / 50%) !important;
}
.mc-calendar {
    --mc-theme-color: #F2F5F8 !important;
    --mc-weekday-foreground: #5E4481 !important;
    --mc-btn-success-foreground: #5E4481 !important;
    --mc-date-active-pick-background: #5E4481 !important;
    --mc-theme-color: #5E4481 !important;
    --mc-display-background: #5E4481 !important;
}

#mc-btn__ok{
    color: #ffffff;
    width: 72px;
    height: 32px;
    background: #5E4481;
    border-radius: 5px;
}

.mc-footer__section {
    display: flex;
    justify-content: center;
}

.mc-date--active.mc-date--today {
    color: var(--mc-date-active-today-foreground) !important;
    background-color: var(--mc-date-active-today-background) !important;
}
.mc-display__body {
    background-color: #F1F1F1 !important;
}

.mc-display__body .mc-display__data--primary{
    color: #5E4481 !important;
    background-color: #F1F1F1 !important;
}

.mc-display__body .mc-display__data--secondary{
    color: #5E4481 !important;
    background-color: #F1F1F1 !important;
}
/* end mc-datepicker */


/* start step show hide */
.hide-step {
    opacity: 0;
    display: none !important;
}

.show-step {
    display: block !important;
}

.rg-step-1, .rg-step-2, .rg-step-3, .rg-step-4, .rg-step-5 {
    opacity: 1;
    -webkit-animation: opacity-transition 1.5s both;
    animation: opacity-transition 1.5s both;
}
@-webkit-keyframes opacity-transition {
    0% {
        opacity: 0;
    }
}
@keyframes opacity-transition {
    0% {
        opacity: 0;
    }
}
/* end step show hide */
.btn-lg {
    position: absolute;
    top: 19px;
    right: 50px;
    z-index: 99;
    /* width: 30px; */
    /* height: 22px; */
    justify-content: center;
    align-items: center;
}

.btn-lg-th, .btn-lg-en {
    cursor: pointer;
    text-align: center;
    width: 100%;
    height: 100%;
    padding : 4px;
    font-size: 10px;
    color: #ffffff;
    border-radius: 5px;
    border: 2px solid grey;
    box-sizing: border-box;
    background-color: grey;
    box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.1), 0px 4px 14px rgba(0, 0, 0, 0.08);
    padding-top: 2px;
}

.btn-lg-th:hover, .btn-lg-en:hover {
    background-color: #5E4481;
    border-color: #5E4481;
    color: #fff;
}

@media only screen and (max-width: 992px) {
    .btn-lg {    
        position: relative;
        top: 6px;
        right: 6px;
        width: 100%;
        justify-content: flex-end;
    }

    .btn-lg-th, .btn-lg-en {
        width: auto;
        height: 28px;
    }

    .rg-step-1 {
        padding-top: 0 !important;
    }
}

/* start country */
.select2-container, .selection, .select2-selection, .select2-selection__rendered, .select2-selection__arrow {
    height: 42px !important;
    width: 100% !important;
    border-color:  #ced4da !important;
}

.select2-selection__rendered {
    line-height: 38px !important;
}

.select2-search__field {
    line-height: 2 !important;
}

.select2-selection__arrow b {
    left: 95% !important;
    right: 10px !important;
}
/* end country */

.invalid-active {
    border: 1px solid #F61B3E !important;
}
.invalid-active-scc {
    background: #D4EFF0 !important;
    border: 1px solid #1A8C93 !important;
}

ul .active, ul .active{
    color: #10CA39 !important;
}

.rgt-focus1{
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    width: 25px;
    height: 25px;
    background-color: #999999;
    border-radius: 50%;
}
.rgt-focus1:hover,
.rgt-focus1:focus,
.rgt-focus1:active{
    color: #fff !important;
}

/* -------------- modal attention---------------- */
.card-logo-attention{
    position: static;
    z-index: 1;
    cursor: pointer;
    transition: transform .2s;
}
.card-logo-attention:hover{
    transform: scale(0.95);
    box-shadow: 0px 8px 8px rgba(0, 0, 0, 0.1), 0px 8px 28px rgba(0, 0, 0, 0.1);
}

.course-choice{
    position: relative;
}
.course-choice input{
    position: absolute;
    z-index: 2;
    opacity: 0;
    cursor: pointer;
    height: 100%;
    width: 100%;
}

/* When the checkbox is checked, add a blue background */
.course-choice input:checked ~ .card-logo-attention {
   border: 5px solid #ced4da !important;   
   box-shadow: 0px 4px 14px rgba(0, 0, 0, 0.80);
}
.course-choice input:hover ~ .card-logo-attention {
    transform: scale(0.95);
    box-shadow: 0px 8px 8px rgba(0, 0, 0, 0.1), 0px 8px 28px rgba(0, 0, 0, 0.1);
}

/* -------------- modal attention---------------- */