﻿/*button LoginLeader*/
.bt {
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 4px;
    cursor: pointer;
    transition: 0.3s;
    background: hsl(220, 10%, 95%);
    display: inline-block;
    color: hsl(210, 11%, 15%);
    text-align: center;
    vertical-align: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    border: 1px solid transparent;
    padding: .375rem .75rem;
    line-height: 1.5;
}


.bt-teal-login {
    background-color: hsl(178, 100%, 36%);
    color: hsl(0, 0%, 100%);
    font-size: 18px;
}

    .bt-teal-login:hover {
        background-color: hsl(178, 100%, 46%);
        color: hsl(0, 0%, 100%);
    }

.bt-teal-signup {
    background-color: hsl(204, 50%, 28%);
    color: hsl(0, 0%, 100%);
    font-size: 18px;
}

    .bt-teal-signup:hover {
        background-color: hsl(204, 50%, 40%);
        color: hsl(0, 0%, 100%);
    }
.rounded-pill {
    border-radius: 50rem !important;
    padding: 12px;
}
/*button LoginLeader*/

/*Header Topic*/
.fontlogin {
    font-size: 18px;
    color: hsl(0, 0%, 1%);
}
/*Header Topic*/


/*?*/
.bt-circle {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid hsl(199, 80%, 56%);
    background-color: transparent;
    cursor: pointer;
    color: hsl(199, 80%, 56%);
    position: absolute;
    right: -28px;
    top: 68%;
    transform: translateY(-50%);
    z-index: 2;
    font-size: 14px;
}

    .bt-circle:hover {
        background-color: hsl(199, 80%, 56%);
        color: white;
    }

@media (max-width: 768px) {
    .bt-circle {
        color: hsl(199, 80%, 85%);
        border: 1px solid hsl(199, 80%, 85%);
    }

        .bt-circle:hover {
            background-color: hsl(199, 80%, 85%);
            color: hsl(199, 80%, 56%);
            border: 1px solid hsl(199, 80%, 85%);
        }
}
/*?*/

/*eye-icon*/
.eye-icon-password,
.eye-icon-newpassword,
.eye-icon-confirmnewpassword
.eye-icon-admninpassword,
.eye-icon-signupnewpassword {
    position: absolute;
    right: 15px;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 18px;
    color: hsl(204, 50%, 28%);
    z-index: 2;
    opacity: 0.5;
}

.eye-icon-password {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    z-index: 10;
}

.eye-icon-signupnewpassword {

    top: 68%;

}

.eye-icon-newpassword {
    top: 68%;
}

.eye-icon-confirmnewpassword {
    top: 69.2%;
}

.password-wrapper {
    position: relative;
}

    .password-wrapper input {
        padding-right: 40px; /* เพื่อไม่ให้ text ชน icon */
    }

    .password-wrapper .fa-eye,
    .password-wrapper .fa-eye-slash {
        position: absolute;
        right: 10px;
        top: 50%;
        transform: translateY(-50%);
        cursor: pointer;
        color: #888;
        font-size: 18px;
    }
/*eye-icon*/


/* field box*/
.emailreadonly {
    background-color: hsl(0, 0%, 94%) !important;
    color: hsl(210, 7%, 44%) !important;
    cursor: not-allowed;
}
input.form-control {
    background-color: hsl(0, 0%, 100%);
    border: none;
    box-shadow: 0 0 4px rgba(0,0,0,0.1);
}

/* field box*/

/*BG มือถือ*/
@media (max-width: 767.98px) {
    .section-transparent {
        background-position: right top !important;
        background-size: cover !important;
        background-repeat: no-repeat;
    }
}
/*BG มือถือ*/

/*ปุ่ม forgotpassword หน้า loginleader*/
.text-primary-forgotpassword {
    color: #245971 !important
}
a.text-primary-forgotpassword:focus, a.text-primary-forgotpassword:hover {
    color: hsl(211, 100%, 33%) !important;
}

@media (max-width: 767.98px) {
    .text-primary-forgotpassword {
        color: hsl(0, 0%, 100%) !important;
    }
}
/*ปุ่ม forgotpassword หน้า loginleader*/

/*Text ใน Modal Password Guideline*/
.modal-body-newpassword ul {
    padding-left: 30px;
    padding-top: 20px;
    padding-bottom: 20px;
}

@media (max-width: 768px) {
    .modal-body-newpassword {
        font-size: 11px;
        padding-right: 10px;
    }
}
/*Text ใน Modal Password Guideline*/

/*Alert inline*/
.dp_none {
    display: none !important;
}

.vh-100-fix {
    min-height: 100vh; /*ตอนขึ้น Alert จะไม่ตก footer*/
}
/*Alert inline*/

#preloader {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
}

.spinner {
    border: 8px solid #f3f3f3;
    border-top: 8px solid #007B8F; /* Teal */
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

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

.btn-danger {
    background-color: hsl(0, 86%, 65%, 100%);
}

.btn-danger:hover {
    background-color: hsl(0, 86%, 65%, 70%);
}

.rotating-icon {
    animation: rotate 3s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}