@import url(../css/reset.css);

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@400;500;700&display=swap');

/* ################ 활성화/비활성화 class ################ */
.false-modal-on {
    display: block !important;
}



body {
    font-family: 'Noto Sans KR', sans-serif;
    font-weight: 400;
    color: #fff;
    position: relative;
    overflow-x: hidden;
}

.gradient {
    min-height: 100%;
    background-image: linear-gradient(to bottom, #000 20%, #1e1e32 80%, #000 100%);
}

.gradient_sub {
    background-image: linear-gradient(to top, #000 0%, #1e1e32 70%, #000 100%);
    position: relative;
    min-height: 100%;
}

/* ################ login ################ */
.intro-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 1;
    opacity: 0.2;
}

.intro-video.bgimage {
    opacity: 0.8;
}


.video-js .vjs-tech {
     height: auto!important;
}


.intro-video video {
    min-width: 100%;
    min-height: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.intro-video .video-js{
    height: 100%!important;
}

#radom-video_html5_api{
    object-fit: cover;
    transform: none;
}

.container {
    position: relative;
    z-index: 10;
    width: 400px;
    margin: 0 auto;
}

form {
    width: 100%;
    padding: 15vh 0;
}

.logo-bridge {
    width: 220px;
    margin: 0 auto 20px;
    display: block;
}

.logo-bridge.logo-for-nurse {
    margin: 32px auto 20px;
}


.login-input-common {
    width: 100%;
    height: 50px;
    font-size: 1.6rem;
    font-weight: 500;
    text-indent: 15px;
    border-color: #ccc;
    border-radius: 6px;
}

.login-input-common::placeholder {
    color: #949494;
}

input[type="text"] {
    margin-bottom: 10px;
}

.check-join-pw-wrapper {
    margin: 25px 0;
    height: auto;
    display: flex;
    justify-content: space-between;
}

.input-auto-login input {
    width: 17px;
    height: 17px;
    position: relative;
    top: -2px;
}

.input-auto-login label {
    position: relative;
    top: -3px;
    margin-left: 6px;
}

.btn-join-pw a {
    color: #fff;
}

.input-auto-login label:active,
.btn-join-pw a:active,
.btn-non-mem:active{
    color: #ccc;
}

.forgot-id{
    display: flex;
    margin :  0 auto;
    background: none;
    color: #FFF;
    text-align: center;
    font-family: Inter;
    font-size: 1.6rem;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    margin : 12px auto auto;
}

.btn-join-pw a:first-child {
    margin-right: 22px;
    position: relative;
}

.btn-join-pw a:first-child::after {
    content: '';
    display: block;
    width: 1px;
    height: 16px;
    background-color: #555555;
    position: absolute;
    right: -14px;
    top: 5px;
}

.btn-login {
    width: 100%;
    height: 50px;
    font-size: 1.6rem;
    font-weight: 500;
    border-radius: 6px;
}

.btn-login-bridge {
    margin-bottom: 10px;
    background-color: #467DD9;
    color: #fff;
}

.btn-login-kakao {
    background-color: #FEE500;
    color: #191919;
    margin-bottom: 10px;
}

.btn-login-kakao img {
    width: 20px;
    height: 19px;
    margin-right: 6px;
    position: relative;
    top: 4px;
}

.btn-non-mem {
    width: auto;
    color: #ffffff;
    font-size: 1.6rem;
    background-color: transparent;
    margin: 22px auto 0;
    display: block;

}

.logo-br {
    display: block;
    height: 19px;
    margin: 80px auto 70px;
}

.address {
    font-size: 1.4rem;
    font-style: normal;
    color: #ccc;
    line-height: 1.5;
    margin-top: 30px;
}
.address .top p+p, .address .copy {
    margin-top: 10px;
}
.address .top p:nth-child(1) {
    color: #fff;
}

.false-modal {
    display: none;
    width: 80%;
    padding: 50px 20px;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background-color: #1e1e32ee;
    border-radius: 10px;
    text-align: center;
    color: #fff;
}

.false-modal p {
    line-height: 2;
    margin-bottom: 20px;
}

.false-modal .btn-check {
    width: 30px;
    height: 30px;
    font-size: 1.6rem;
}

.popup_bg{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    opacity: 0.7;
    z-index: 49;
    display: none;
}

.cmt_popup {
    border-radius: 5px;
    background-image: linear-gradient(to bottom, #2d2e39 0%, #24252f 69%, #1f202a 100%);
    box-shadow: 0 5px 10px 0 rgb(0 0 0 / 75%);
    border: solid 1px #4d4d4d;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin: auto;
    width: 500px;
    z-index: 50;
    padding: 30px 10px 30px 30px;
    display: none;
}

.cmt_popup .form_inner {
    max-height: 75vh;
    overflow-y: scroll;
    padding-right: 20px;
}

.cmt_popup .form_inner.inquiry {
    overflow-y: hidden;
}

.cmt_popup .title {
    font-size: 18px;
    font-weight: 500;
    color: #fff;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
}
.cmt_popup .cmt_popup_close {
    position: absolute;
    top: 20px;
    right: 15px;
    width: 20px;
    z-index: 3;
    background: none;
}
.cmt_popup .cmt_popup_close img {
    display: block;
}
.cmt_popup .input_box > p {
    font-size: 15px;
    color: #fff;
    margin-bottom: 15px;
    margin-top: 30px;
}
.cmt_popup .input_box input {
    width: 100%;
    height: 47px;
    background: #fff;
    padding: 0 20px;
    font-size: 15px;
    color: #000;
    border-radius: 5px;
}
.cmt_popup .input_box textarea {
    width: 100%;
    height: 100px;
    background: #fff;
    padding: 10px 20px;
    font-size: 15px;
    color: #000;
    border-radius: 5px;
    resize: none;
}
.cmt_popup .input_box .file_box {
    display: flex;
}
.cmt_popup .input_box .file_box > #fileName {
    width: 100%;
    height: 47px;
    background: #fff;
    padding: 0 20px;
    font-size: 13px;
    color: #000;
    border-radius: 5px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    display: block;
    line-height: 47px;
}
.cmt_popup .input_box .file_box > .fileBtn {
    min-width: 120px;
    height: 47px;
    border-radius: 5px;
    background-color: #467dd9;
    font-size: 15px;
    font-weight: 500;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 15px;
}
.cmt_popup .apply_btn {
    width: 100%;
    height: 47px;
    border-radius: 5px;
    background-color: #467dd9;
    font-size: 15px;
    font-weight: 500;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: auto;
    margin-top: 40px;
}
.input_box .required-mark {
    color: #DF4852;
    margin-left: 4px;
    font-style: normal;
}
.input_box .input-group{
    position:relative;
}
.ipt-content{
    font-family: Arial;
}

.error>input {
    border: 2px solid #DF4852;
}


.error>span {
    border: 3px solid #DF4852;
}
.error #fileName {
    color : #DF4852!important;
}

.error>input {
    border: 3px solid #DF4852;
}

.error>input::placeholder{
    color : #DF4852!important;
}

.error>textarea {
    border: 3px solid #DF4852;
}

.error>textarea::placeholder{
    color : #DF4852!important;
}



.error::after {
    content: attr(data-content);
    display: block;
    color: #fff;
    font-size: 1.4rem;
    line-height: 1;
    background-color: #df4852;
    padding: 8px 15px 11px;
    border-radius: 5px;
    position: absolute;
    top: -7px;
    right: 24px;
}

.error::before {
    content: '';
    display: block;
    width: 0px;
    height: 0px;
    border-top: 4px solid #df4852;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    position: absolute;
    top: -40px;
    right: 10px;
}

.error::after {
    content: attr(data-content);
    display: block;
    color: #fff;
    font-size: 1.4rem;
    line-height: 1;
    background-color: #df4852;
    padding: 8px 15px 11px;
    border-radius: 5px;
    position: absolute;
    top: -38px;
    right: 2px;
}

.error::before {
    content: '';
    display: block;
    width: 0px;
    height: 0px;
    border-top: 4px solid #df4852;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    position: absolute;
    top: -6px;
    right: 18px;
}

.error.input-group-1::after {
    top: -39px;
    right: 0px;
}

.error.input-group-1::before {
    right: 138px;
}

.error::after,
.error::before {
    animation: tooltip 3s 1 linear forwards;
}


@keyframes tooltip {

    0%,
    100% {
        opacity: 0;
    }

    30%,
    80% {
        opacity: 1;
    }
}

input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.cfm-alert{
    z-index: 100;
}
@media screen and (max-height: 1310px){
    .cmt_popup .form_inner.inquiry {
        overflow-y: scroll;
    }
}

@media screen and (max-width: 1100px) {
    form {
        padding: 5vh 0;
    }

    .cmt_popup form {
        padding: 0;
    }
}

@media all and (pointer: coarse) and (max-width: 920px) and (max-height: 500px) and (orientation: landscape) {
    .cmt_popup {
        height: 90%;
    }

    .cmt_popup .form_inner {
        height: 86%;
        overflow-y: scroll;
    }

    .cmt_popup .form_inner .input_box:nth-child(1) > p {
        margin-top: 0;
    }

    .cmt_popup .apply_btn {
        margin-bottom: 15px;
    }
}

@media screen and (max-width: 500px) {
    .container {
        max-width: 80%;
    }

    .logo-bridge {
        width: 140px;
    }

    .check-join-pw-wrapper {
        font-size: 1.4rem;
    }

    .input-auto-login input {
        top: -1px;
    }

    .input-auto-login label {
        top: -2px;
    }

    .btn-join-pw a:first-child {
        margin-right: 16px;
    }

    .btn-join-pw a:first-child::after {
        height: 14px;
        right: -10px;
        top: 5px;
    }

    .logo-br {
        height: 15px;
        margin: 70px auto 40px;
    }

    .false-modal {
        font-size: 1.4rem;
        padding: 40px 20px;
    }

    .address {
        font-size: 1.1rem;
        letter-spacing: -0.3px;
    }
    .address p:first-child a {
        color: #fff;
    }
    .address p:last-child a {
        color: #ccc;
    }
    .cmt_popup {
        width: calc(100% - 40px);
    }
    .cmt_popup > .inner {
        padding: 25px 20px;
    }
    .cmt_popup .input_box input {
        height: 45px;
    }
    .cmt_popup .input_box .file_box > #fileName {
        height: 45px;
        line-height: 45px;
    }
    .cmt_popup .input_box .file_box > .fileBtn {
        height: 45px;
    }
    .cmt_popup .apply_btn {
        height: 45px;
    }


}

