
#top {
    position: fixed;
    right: 0;
    z-index: 99999;
}
#top img {
    display: block;
}
header {
     font-family: 'NanumSquare', sans-serif;
}
#header {
    width: 100%;
    height: 95px;
    margin: 0 auto;
    display: -webkit-box;   /* OLD - iOS 6-, Safari 3.1-6, BB7 */
    display: -ms-flexbox;  /* TWEENER - IE 10 */
    display: -webkit-flex; /* NEW - Safari 6.1+. iOS 7.1+, BB10 */
    display: flex;         /* NEW, Spec - Firefox, Chrome, Opera */
    z-index: 999;
    box-sizing: border-box;
    top: 0;
    position: absolute;
    border-bottom: 1px solid rgba(255,255,255,0.5);
    transition: 0.5s;
}

.h_inner {
    width: 1740px;
    position: relative;
    display: -webkit-box;   /* OLD - iOS 6-, Safari 3.1-6, BB7 */
    display: -ms-flexbox;  /* TWEENER - IE 10 */
    display: -webkit-flex; /* NEW - Safari 6.1+. iOS 7.1+, BB10 */
    display: flex;         /* NEW, Spec - Firefox, Chrome, Opera */
	min-width: 450px; 
    left: 50%;
    transform: translateX(-50%)
}
.logo {
    display: block;
    left: 3%;
    position: relative;
}
.logo a {
    display: block;
    text-indent: -9999px;
    background: url(../img/nf/logo.png) no-repeat 0 0;
    width: 303px;height: 48px;
    top: 26px;
    position: relative;
}

nav {
    width: auto;
	min-width: 900px;
    position: relative;
    z-index: 9999;
    left: 36%;
    transform: translateX(-50%);
    transition: all 0.5s;
    top: 0;
}
nav>ul {
display: -webkit-box;   /* OLD - iOS 6-, Safari 3.1-6, BB7 */
display: -ms-flexbox;  /* TWEENER - IE 10 */
display: -webkit-flex; /* NEW - Safari 6.1+. iOS 7.1+, BB10 */
display: flex;         /* NEW, Spec - Firefox, Chrome, Opera */
}
nav>ul>li {
    height: 94px;
	position: relative;
    height: auto;
    box-sizing: border-box;
}
nav>ul>li:hover {
    /*background: #01173f;*/
    color: #fff;
}
nav>ul>li>a {
    width: auto;
    display: block;
    color: rgba(255,255,255,0.8);
    line-height: 92px;
    position: relative;
    font-size: 16px;
    text-align: center;
    letter-spacing: 0.5px;
    box-sizing: border-box;
    font-weight: 500;
    transform:rotate(-0.03deg);
    z-index: 111;
    padding: 0 25px;
}



.sub {
    text-align: center;
    line-height: 33px;
    font-size: 15px;
    font-weight: 400;
    width: 100%;
    display: block;
    padding-bottom: 30px;
    position: absolute;
    background: rgba(255,255,255,1);
    padding-top:105px;
    padding: 105px 30px 30px 30px;
    left: -30px;
    top: 0;
    display: none;
    
}

.sub a {
    text-align: center;
    display: block;
    line-height: 33px;
    transform:rotate(-0.03deg);
    color: #000 !important;
    font-family: 's-core_dream4', sans-serif;
}
.sub a:hover {
    font-weight: bold;
    font-size: 16px;
    color: #1b63a5 !important;
}
.sub::before {
    content: "";
    width: 1px;
    height: 24px;
    background: #444;
    position: absolute;
    left: 50%;
    top: 70px;
    display: block;
    opacity: 0.1;
    transition: all 1s;
}
.brs {
    line-height: 20px !important;
    margin-bottom: 9px;
    margin-top: 9px;
}


.bsub {
    padding-top: 65px;
}
.bsub::before {
    display: none;
}




.call {
    position: absolute;
    top: 35px;
    box-sizing: border-box;
    display: block;
    cursor: pointer;
    left: 82vw;
    opacity: 1;
    background: url(../img/nf/call.png) no-repeat 0 0;
    width: 263px;
    height: 28px;
}


#header:hover {
    background: rgba(255,255,255,0.97);
}
#header:hover nav>ul>li>a {
    color: #333;
}
#header:hover .logo a {
    background: url(../img/nf/logo.png) no-repeat 0 -48px;
}
#header:hover .call {
    background: url(../img/nf/call.png) no-repeat 0 -28px;
}


/*footer*/


footer {
    width: 100%;
    height: auto;
    overflow: hidden;
}
.f_inner{
	width: 100%;
    height: auto;
    background: #252c30;
    position: relative;
    left: 50%;
    color: #fff;
    font-size: 14px;
    transform: translateX(-50%);
    min-width: 1100px;
    padding: 67px 0 80px 0;
    border-top: 1px solid #dddddd;
    
}


address {
    white-space: pre-wrap;
    font-size: 14px;
    line-height: 29px;
    letter-spacing: -0.3px;
    color: #8a8a8a;
    font-weight: 600;
    transform:rotate(-0.03deg);
    position: relative;
    text-align: left;
    width: 1350px;
    margin: 0 auto;
}
address p,
address a {
    color: #8a8a8a;
}
.flogo {
    width: 100%;
    margin: 0 auto;
    text-align: center;
    margin-bottom: 30px;
}
footer img {
    display: block;
    margin: 0 auto;
    text-align: center;
}
.adm {
    padding: 5px 7px;
    background: #4c4c4c;
    margin-left: 5px;
    border-radius: 2px;
    color: #fff;
    font-size: 12px;
    position: relative;
    top: -1px;
}

/*footer end*/
@media all and (max-width:1600px) {

    nav {
        left: 34%;
    }
    nav a {
        font-size: 13px !important;
    }
}

@media all and (max-width:1400px) {

    nav {
        left: 37%;
    }
    nav a {
        font-size: 13px !important;
        padding: 0 10px !important;
    }
    .call {
        left: inherit;
        right: 3% !important;
    }
}

@media all and (max-width:1150px) {
    
    nav {
        opacity: 0;
        top: -10px;
    }
}
@media all and (max-width:1200px) {
    nav a {
        font-size: 13px !important;
    }

}

