/* =============================
   Login Layer
============================= */
.layer_login {
    display: none;
    position: fixed;
    top: 49%;
    left: 50%;
    width: 500px;
    margin: -300px 0 0 -250px;
    background: #fff;
    border: 3px solid #aaa;
    border-radius: 15px;
    z-index: 999993;
    font-family: 'Noto Sans Kr';
}

.login_bg {
    position: fixed;
    inset: 0;
    display: none;
    background: rgba(255,255,255,.8);
    z-index: 999993;
}

.layer_logins {
    box-shadow: 0 0 20px rgba(255,255,255,.4);
    border-radius: 10px;
}

/* =============================
   Title
============================= */
.layer_login h2 {
    padding: 30px 0 20px 25px;
    font-size: 20px;
    font-weight: 400;
    letter-spacing: -0.07em;
    color: #000;
}

.layer_login h2 strong {
    font-size: 26px;
    font-weight: 600;
    font-family: Arial;
}

/* =============================
   Inputs
============================= */
.layer_login .user,
.layer_login .pw {
    width: 90%;
    margin: 5px auto;
    background: #fff;
    border: 1px solid #ccc;
    font-size: 15px;
    font-weight: 300;
}

.layer_login input[type="text"],
.layer_login input[type="password"] {
    width: 100%;
    padding: 10px;
    border: 0;
    background: transparent;
    outline: none;
    color: #000;
}

.layer_login ::-webkit-input-placeholder {
    color: #777;
    font-weight: bold;
}

/* =============================
   Checkbox / Label
============================= */
.layer_login input[type="checkbox"] {
    width: 20px;
    height: 20px;
}

.layer_login label {
    font-size: 15px;
    font-weight: 300;
}

/* =============================
   Buttons
============================= */
.layer_login input[type="submit"] {
    width: 100%;
    height: 50px;
    background: #4B545E;
    border: 0;
    border-radius: 3px;
    color: #fff;
    font-weight: bold;
    cursor: pointer;
}

.layer_login .bt_div {
    width: 90%;
    margin: 0 auto 20px;
    font-size: 19px;
    font-weight: 500;
}

/* =============================
   Remember / Forgot
============================= */
.layer_login .remlog {
    text-align: center;
}

.layer_login .remember {
    width: 40%;
    margin-left: 25px;
    padding: 20px 0;
    font-size: 12px;
    line-height: 15px;
}

.layer_login .remember2 {
    width: 90%;
    margin: 15px auto 30px;
    padding: 10px 0;
    background: #eee;
    font-size: 16px;
    font-weight: 400;
    text-align: center;
}

.layer_login .remember2 a {
    margin: 0 10px;
}

.layer_login .forgot {
    padding: 0 0 7px 25px;
    font-size: 13px;
    font-weight: bold;
    color: #b5b5b5;
}

.layer_login .forgot a {
    color: #777;
    text-decoration: none;
}

/* =============================
   Close Button
============================= */
.layer_login .close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 32px;
    height: 32px;
    cursor: pointer;
    z-index: 9999999;
}

.layer_login .close::before,
.layer_login .close::after {
    content: '';
    position: absolute;
    top: 8px;
    left: 14px;
    width: 3px;
    height: 16px;
    background: #777;
}

.layer_login .close::before { transform: rotate(45deg); }
.layer_login .close::after  { transform: rotate(-45deg); }

.layer_login .close:hover::before,
.layer_login .close:hover::after {
    background: #000;
    transition: .2s;
}

/* =============================
   Extra
============================= */
.layer_login .temp_tit {
    width: 90%;
    margin: 0 auto 25px;
    padding: 10px 15px;
    background: #4B545E;
    color: #fff;
    text-align: center;
    font-size: 15px;
    border-radius: 27px;
    letter-spacing: -0.05em;
}

.layer_login .temp_privacy {
    margin: 20px 0 10px;
    text-align: center;
}

.layer_login .temp_privacy textarea {
    width: 90%;
    height: 80px;
    padding: 10px;
    border: 1px solid #e1e1e1;
    font-size: 15px;
}

/* =============================
   Animation
============================= */
@keyframes bounceInDown {
    0% { opacity:0; transform: translateY(-2000px); }
    60% { opacity:1; transform: translateY(30px); }
    80% { transform: translateY(-10px); }
    100% { transform: translateY(0); }
}

/* =============================
   Mobile
============================= */
@media (max-width: 767px) {
    .layer_login {
        width: 94%;
        margin: -290px 0 0 -172px;
    }

    .layer_login .temp_tit {
        width: 80%;
        border-radius: 40px;
    }

    .layer_login .temp_privacy textarea {
        width: 85%;
        padding: 5px;
    }
}
