@charset "UTF-8";


/* 상단 헤더 */
#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    min-width: 1200px;
    z-index: 2000;
}

#header h1 {
    display: none;
    position: absolute;
    top: 10px;
    left: 50px;
    width: 200px;
    font-size: 0;
}

#header h1 a {
    display: block;
    height: 90px;
    padding-top: 12px;
}

#header .login-logout {
    position: absolute;
    top: 50px;
    right: 40px;
    font-size: 15px;
}

#header .login-logout ul li a {
    display: block;
    height: 50px;
    line-height: 50px;
    padding: 0 10px;
    color: #000;
    font-size: 15px;
}

#gnb {
    text-align: center;
    font-size: 0;
}

#gnb ul li {
    position: relative;
    display: inline-block;
    padding: 50px 0;
}

#gnb ul li a {
    position: relative;
    display: block;
    height: 50px;
    line-height: 50px;
    padding: 0 25px;
    font-family: 'yg-jalnan';
    color: #254532;
    font-size: 24px;
}

#gnb ul li a:after {
    position: absolute;
    bottom: 10px;
    left: 5%;
    width: 0%;
    height: 14px;
    background-color: #fff;
    content: '';
    z-index: -1;
    opacity: 0;
    -webkit-transition: .3s ease-in-out;
    -moz-transition: .3s ease-in-out;
    -o-transition: .3s ease-in-out;
    transition: .3s ease-in-out;
	
}

#gnb ul li.active a:after {
    width: 90%;
    background-color: #fffd00;
    opacity: 1;
}

.scrollOn #header {
    height: 90px;
    background-color: #fff;
}

.scrollOn #header h1 {
    display: block;
}

.scrollOn #gnb ul li {
    padding: 0;
}

.scrollOn #gnb ul li a {
    height: 90px;
    line-height: 90px;
}

.scrollOn #gnb ul li a:after {
    bottom: 30px;
}

.scrollOn #header .login-logout {
    top: 20px;
}


/* 하단 푸터 */
#footer {
    position: relative;
    padding: 80px 0;
    background-color: #363636;
    color: #fff;
    text-align: center;
}

#footer .logomark {
    margin-bottom: 20px;
    font-size: 0;
}

#footer .copyright {
    margin: 10px 0 40px;
}

#footer .policy-privacy a {
    display: inline-block;
    padding: 0 20px;
    border-left: 1px solid #666;
    color: #fff;
}

#footer .policy-privacy a:first-child {
    border-left: none;
}


/* 참가신청 */
.registbox {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 100%;
    overflow-y: auto;
    background-color: rgba(255, 255, 255, 1);
    z-index: 5000;
}

#writePopup {
    position: relative;
    max-width: 700px;
    padding: 20px;
    margin: 0 auto;
    background-color: #fff;
}

#writePopup h1 {
    position: relative;
}

#writePopup h1 em {
    display: block;
    line-height: 30px;
    padding-right: 50px;
    font-size: 24px;
    font-family: 'yg-jalnan';
}

#writePopup h1 a {
    position: absolute;
    top: 0px;
    right: 0px;
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 44px;
    background-color: #333;
    font-size: 30px;
    text-align: center;
    color: #fff;
    border-radius: 50%;
}

#writePopup h2 {
    margin-top: 5px;
    font-size: 14px;
    color: #999;
}

#writePopup .input_box {
    margin-top: 20px;
    border-top: 1px solid #999;
}

#writePopup .input_box dl {
    padding: 10px 0;
    border-bottom: 1px solid #dcdcdc;
}

#writePopup .input_box dl dt {
    margin-bottom: 10px;
    font-weight: 700;
    font-size: 16px;
}

#writePopup .input_box dl dd .comment {
    margin-top: 5px;
    font-size: 12px;
    color: #999;
}

#writePopup .input_box dl dd .custom-file-box {
    position: relative;
}

#writePopup .input_box dl dd .custom-file-box .file_txt {
    overflow: hidden;
    height: 36px;
    line-height: 34px;
    padding: 0 100px 0 10px;
    border: 1px solid #dcdcdc;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#writePopup .input_box dl dd .custom-file-box .btns {
    position: absolute;
    top: 0;
    right: 0;
}

#writePopup .agreetxtarea {
    padding-bottom: 20px;
    margin-top: 20px;
    border-bottom: 1px dotted #dcdcdc;
}

#writePopup .agreetxtarea h3 {
    margin-bottom: 10px;
    font-size: 18px;
    font-family: 'yg-jalnan';
}

#writePopup .agreetxtarea .agreetxtbox {
    height: 300px;
    line-height: 20px;
    padding: 20px;
    border: 1px solid #dcdcdc;
    background-color: #f1f1f1;
    font-size: 12px;
    color: #666;
}

#writePopup .agreetxtarea .agreetxtbox ol li ul {
    padding-left: 15px;
}

#writePopup .agreetxtarea .agree-check {
    margin-top: 10px;
}

#writePopup .btn_area a.okbtn {
    display: block;
    height: 60px;
    line-height: 60px;
    background: #5c82c3;
    text-align: center;
    color: #fff;
    font-family: 'yg-jalnan';
    font-size: 20px;
    border-radius: 5px;
    text-shadow: 0px 1px 2px rgba(0,0,0,0.2);
}

@media screen and (min-width:767px) {
    #writePopup {
        padding: 50px;
    }
}

@media screen and (min-width:1139px) {
    .registbox {
        background-color: rgba(0,0,0,0.7);
    }

    #writePopup .agreetxtarea .agreetxtbox {
        line-height: 30px;
        font-size: 14px;
    }
}