/* =============================

    박보라
    Copryright 2017 Chungchuy.com

    - 칼라 견본 -
    #248ab2 / main color
    #4356a4 / sub color
    #d1d3d4 / line color
    기본 width: 1044px;
    기본 font-size: 18px;

 ============================= */

@charset"utf-8";

#wrap {
    height: 100%;
}
#header nav.nav-login {
    width: 80%;
}
#header nav.nav-login ul li {
    width: 33.3333%;/* 25%; */
}

@media screen and (max-width: 640px) {
    #wrap, #header, main, footer{
        min-width: 100%;
    }
    #header > div.r-wrap, footer > div {
        padding: 0; /* 20/1080 */
    }
    #header {
        height: 61px;
    }
    .logo {
        margin-top: 1.2352em;
        width: 18.5185%; /* 200/1080 */
        font-size: 1em;
    }
    .logo a {
        width: 80%; /* 160/200 */
        height: 1.5047em;
        margin: 0 20% 0;
        background: url(/public_html/resource/images/common/WF-logo.png) center center no-repeat;
        -webkit-background-size: contain;
        background-size: contain;
    }
    .logo a img {
        display: none;
    }
    #header div.login {
        position: relative;
    }
    #header nav.nav-login {
        position: absolute;
        width: 100%;
    }
    #header nav.nav-login ul.nav-1d li {
        display: none;
        width: 100%;
    }
    #header nav.nav-login ul.nav-1d li:last-child {
        display: block;
    }
    #header nav.nav-login ul.nav-1d li a {
        font-size: 1.3889em; /* 72 */
        color: #248ab2;
    }
    #header nav.nav-login ul.nav-2d li {
        width : 33.3333%;
    }
    #header nav.nav-login ul.nav-2d li a {
        font-size: 0.7717rem;/* 40 */
        width: 100%;

    }
    #header nav.nav-login ul.nav-2d li:last-child a {
        letter-spacing: -0.02em;
    }
    span.nav-hv {
        display: none !important;
    }

}

main {
    position: relative;
    padding-bottom: 0;
    /* min-height: 740px; */
    background: url(/public_html/resource/images/login/bg-2.jpg) top center no-repeat;
    -webkit-background-size: cover;
    background-size: cover;
    height: -webkit-calc(100% - 100px);
    height: -moz-calc(100% - 100px);
    height: calc(100% - 100px);
}
main section {
    position: absolute;
    top: 50%;
    left: 50%;
    margin-left: 80px;
    margin-top: -200px;
    width: 400px;
    height: 374px;
    border-top: 5px solid #248ab2;
    background: #fff;
    box-shadow: 1.5px 2.6px 5px 0px rgba(0, 0, 0, 0.2);
}
main section > div {
    width: 100%;
    height: 100%;
    padding-top: 50px;

    border-left: 1px solid #e6e7e8;
    border-right: 1px solid #e6e7e8;
    border-bottom: 1px solid #e6e7e8;
}
main section > div > form > div {
    width: 82%; /* 325/400 */
    margin: 0 auto 20px;
}
.login label {
    display: inline-block;
    padding-right: 3%; /* 10/325 */
    width: 23.0769%; /* 75/325 */
    font-size: 0.8889em; /* 16/18 */
    color: #248ab2;
    text-align: right;
}
.login input {
    width: 58%; /* 200/325 */
    padding: 0 6.1538%;
    height: 41px;
    border: 2px solid #d1d3d4;
    border-radius: 45px;
    -moz-border-radius: 45px;
    -webkit-border-radius: 45px;
    font-size: 0.8889em; /* 16/18 */
}
.login input:focus {
    border: 2px solid #248ab2;
}
.login input-placeholder{color:#bcbec0;}
.login::-webkit-input-placeholder{color:#bcbec0;} /* 웹킷 전용 속성 */
.login input:-moz-placeholder{color:#bcbec0;} /* 파이어폭스 전용 속성 */

.login button {
    width: 87.5%; /* 350/400 */
    height: 60px;
    line-height: 60px;
    margin: 20px auto 0;
    display: block;
    border-radius: 60px;
    -moz-border-radius: 60px;
    -webkit-border-radius: 60px;
    font-size: 1.5556em;
}
.login button.signup {
    margin: 0 auto 0;
    width: auto;
    height: auto;
    line-height: 1.5;
    font-size: 0.8889em;
    background: none;
    cursor: pointer;
    color: #248ab2;
    text-decoration: underline;
}

.login span {
    font-size: .8em;
    text-align: center;
    width: 100%;
    display: block;
    margin: 20px auto 0;
}
#save_id {
    margin-top: 4px;
    float: right;
    width: 15px;
    height: 15px;
    border: 1px solid #d1d3d4;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
    background: #fff;
    padding: 0;
}
.login label.save-id {
    float: right;
    width: inherit;
    margin-left: 10px;
    margin-bottom: 10px;
    margin-right: 8.5%;
}

@media screen and (max-width: 800px) {
/*     #wrap {
        height: auto;
    } */
    main section {
        left: 45%;
        margin-left: 0;
    }

}

@media screen and (max-width: 640px) {
    #wrap {
        min-height: auto;
    }
    main {
        background: url(/public_html/resource/images/login/mobile-bg.jpg) top center no-repeat;
        background-size: contain;
        min-height: 600px; /* 552px; */
    }
    main section {
        width: 88.8888%; /* 960/1080 */
        height: auto;
        top: 7.5811em;
        left: 0;
        right: 0;
        margin: 0 auto;
    }
    main section > div {
        padding-top: 1.9291em;
    }
    main section > div > form > div {
        width: 83.0208%; /* 797/960 */
        margin: 0 auto 0.7717em;
    }
    #save_id {
        margin-top: 3px;
        padding: 0;
    }
    .login label.save-id {
        margin-left: 5px;
    }
    .login label {
        width: 24%; /* 184/797 */
        font-size: 0.7717em; /* 16/18 */
    }
    .login input {
        width: 57%;
        height: 2.1220em; /* 110px */
        line-height: 2.0448em; /* 106px */
    }
    .login button {
        height: 2.7778rem;
        line-height: 2.7778rem;
        margin: 1.1575em auto 1em;
        font-size: 1.3889em;
    }
    .login button.signup {
        margin: 0 auto 0.6397em;
    }
    .login span {
        font-size: .7em;
        text-align: center;
        width: 100%;
        display: block;
        margin: 1.5em auto 0;
    }
    footer {
        margin-top: 0;
        height: auto;
        position: fixed;
        bottom: 0;
    }
    footer h1 {
        font-size: 0.5788em;
        float: none;
        text-align: center;
    }
    footer nav {
        float: none;
    }
    footer nav li:first-child {
        margin-left: 0;
    }
    footer nav li {
        margin-left: 3%;
    }
    footer nav li a {
        font-size: 0.5788em;
    }
    footer h1, footer a {
        line-height: 25px;
    }
}

@media screen and (max-width: 320px) {
    main section {
        width: 88.8888%; /* 960/1080 */
        height: auto;
        top: 6.4692em;
    }
     main {
        min-height: 607px;
    }
}

.type_select {
    overflow: hidden;
    padding-left: 25px;
}
.type_select li {
    float: left;
}
.type_select li input {
    display: none;
}
.type_select li label {
    height: 18px;
    padding-left: 22px;
    background: url(/public_html/resource/images/login/type_bg.png) left bottom no-repeat;
}
.type_select li input:checked + label {
    background-position: left 1px;
    text-decoration: underline;
}
.type_select li input#teacher + label {
    margin: 0 23px;
}
section.login hr {
    width: 350px;
    margin: 10px auto 20px;
}

@media screen and (min-width: 1024px) {
    .type_select li label:hover {
        background-position: left -17px;
        text-decoration: underline;
    }
}

@media screen and (max-width: 640px) {
    .type_select {
        padding-left: 6.25%; /*25/400*/
    }
    .type_select li input#teacher + label {
        margin: 0;
    }
    .type_select li:nth-child(2) {
        padding: 0 2.75%; /*23/400*/
    }
    section.login hr {
        width: 80%;
    }
    footer div ul {
        display: flex;
        justify-content: center;
    }
}
@media screen and (max-width: 320px) {
    .type_select {
        padding-left: 3.25%; /*25/400*/
    }
    .type_select li label {
        letter-spacing: -0.4px;
        padding-left: 18px;
    }
}
@media screen and (max-height: 400px) {
    footer {
        display: none;
    }
}
    