body {
    margin-top: 0 !important;
}

header {
    display: none;
}

.container {
    width: 90%;
    margin: auto;
}

.login_area {
    background-image: url('/login/images/background-mix.png');
    min-height: 100vh;
    background-color: #C6E1FF;
}

.login_header {
    background-image: url('/login/images/head-back.svg') ;
    background-repeat: no-repeat;
    position: relative;
    height: 200px;
    background-position: bottom;
    background-size: 150%;
}

.head_left_icon {
    position: absolute;
    top: 0;
    left: 0;
}

.head_right_icon {
    position: absolute;
    top: 0;
    right: 0;
}

.login_head_center {
    text-align: center;
    padding-top: 40px;
}

.head_text {
    color: #0950A0;
    font-size: 25px;
    line-height: 36px;
    font-weight: bold;
    margin-bottom: 12px;
}

.login_main {
    margin-top: 50px;
}

.login_form_area {
    margin: auto;
}

.login_form_row {
    display: flex;
    flex-direction: column;
}

.login_form_row label {
    color: #0950A0;
    font-size: 20px;
    line-height: 29px;
    font-weight: bold;
    margin-bottom: 10px;
}

.login_form_row .form_input {
    height: 50px;
    border: none;
    box-shadow: 0 3px 0 #C4C4C4;
    padding: 0 10px;
}

.login_form_row .note {
    font-size: 18px;
    line-height: 22px;
    margin-bottom: 10px;
}

.row_1 {
    margin-bottom: 25px;
}

.row_2 {
    margin-bottom: 55px;
}

.login_error_row {
    color: #cc3300;
    margin-bottom: 30px;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    margin-top: 20px;
}

.btn_area {
    margin-bottom: 30px;
}

.btn_area button {
    background: none;
    border: none;
    width: fit-content;
    margin: auto;
}

.icn_foot {
    display: none;
}

.btn_area button{
    position: relative;
    padding: 0;
}

/* modal */
.login-family-modal {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999;
    display: none;
}

.login-family-modal.activeModal {
    display: block;
}

.modal-bg {
    background-color: RGBA(9,80,160,0.8);
    width: 100%;
    height: 100%;
    z-index: 1;
}

.modal-main {
    position: absolute;
    background-color: #fff;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: calc(100% - 40px);
    height: calc(100% - 100px);
    z-index: 9;
    padding: 50px 23px;
    max-width: 375px;
    text-align: center;
}

.modal-overflow::-webkit-scrollbar {
    display: none;
}

.modal-overflow {
    height: 100%;
    overflow-y: scroll;
}

.family-main-content {
    display: flex;
    flex-direction: column;
    overflow-y: scroll;
    padding-right: 4px;
    min-height: calc(100% - 120px);
    margin-bottom: 40px;
}

.family-main-content::-webkit-scrollbar {
    display: none;
}

.family-items {
    border: 4px solid #707070;
    border-radius: 10px;
    margin-bottom: 22px;
    text-align: center;
    padding: 16px 0;
    font-size: 24px;
    font-weight: bold;
    background-color: #fff;
    cursor: pointer;
    box-shadow: 3px 3px 2px 1px rgb(0 0 255 / 20%);
}

.family-items:hover {
    background-color: #297CD8;
    color: #fff;
    border: 4px solid #297CD8;
}

.family-items:last-child {
    margin-bottom: 5px;
}

/* ***** */

.family-choose {
    display: none;
}

.family-title {
    background-color: #0950A0;
    color: #fff;
    font-size: 24px;
    line-height: 30px;
    padding: 10px 0;
    font-weight: bold;
    margin-bottom: 65px;
}

.nickname-label {
    font-size: 24px;
    font-weight: bold;
    line-height: 35px;
    color: #0950A0;
    margin-bottom: 25px;
}

.nickname-label.second-label {
    margin-bottom: 45px;
}

.nickname-input-field {
    border: 1px solid #D5D5D5;
    height: 50px;
    box-shadow: 0 3px 0 #C4C4C4;
    margin-bottom: 80px;
    padding: 0 15px;
}

.nickname-show {
    margin-bottom: 60px;
    font-size: 18px;
}

.login-family-des {
    margin-bottom: 50px;
    text-align: justify;
    font-size: 16px;
    line-height: 24px;
}

.login-family-des span {
    color: #0950A0;
    font-weight: bold;
}
/* ****** */

@media screen and (max-width: 767px) {
    .login_header {
        background-position: 50% -20px;
        background-size: cover;
    }

    .login_form_area {
        width: 100%;
        max-width: 375px;
        margin: auto;
    }

    .login_main {
        margin-top: 20px;
    }

    .family-main-content {
        max-height: 100%;
    }
}