﻿@import url('http://fonts.googleapis.com/earlyaccess/nanummyeongjo.css');

@font-face {
 font-family: 'NanumBarunGothic';
 src: url(webfont/NanumBarunGothic/NanumBarunGothicWeb.eot);
 src: url(webfont/NanumBarunGothic/NanumBarunGothicWeb.eot?#iefix) format('embedded-opentype'),
      url(webfont/NanumBarunGothic/NanumBarunGothicWeb.woff) format('woff'),
      url(webfont/NanumBarunGothic/NanumBarunGothicWeb.ttf) format('truetype');
}

@font-face {
 font-family: 'NanumSquare';
 src: url(webfont/NanumSquare/NanumSquareR.eot);
 src: url(webfont/NanumSquare/NanumSquareR.eot?#iefix) format('embedded-opentype'),
      url(webfont/NanumSquare/NanumSquareR.woff) format('woff'),
      url(webfont/NanumSquare/NanumSquareR.ttf) format('truetype');
}

/* font select */

@media (min-width: 1500px) { .container { width: 1400px; } }
body * { font-family:NanumSquare, sans-serif; letter-spacing : -0.5px; word-break:keep-all;}

/* header */

#header { background:#5782AD; padding:7px 0px;}
#header a { color:#fff; text-decoration:none;}
#header a:hover { font-weight:bold; transition:0.3s;}
#header .header-box-right { float: right; font-size: 15px; color:#fff;}
#header .header-box-right span { margin:0px 15px;}

/* gnb */

#gnb-wrap img { float:left; margin: 15px 0px;}
#gnb-wrap > div { padding:0 80px; }
#gnb { float: right; margin-top:28px; }
#gnb > li  { float:left; padding:0px 45px; position:relative;}
#gnb > li > a { font-size:20px; color:#333; text-decoration:none; transition:all ease 0.3s; font-weight:bold; }
#gnb > li > a:hover {  color:#5782AD; border-bottom:3px solid #5782AD; padding-bottom:7px; transition:all ease 0.3s; font-weight:bold; }
#gnb > li > a.active { color:#5782AD; border-bottom:3px solid #5782AD; padding-bottom:7px; transition:all ease 0.3s; font-weight:bold; }
#gnb > li > ul { display:none; }
.point { position:absolute; bottom:-55px; left:46%; margin-left:-9px; display:none; opacity:1;}

/* gnb2 */

.gnb2 {background: #5782AD; width:100%; height:0px; position:absolute;left:0px; z-index:9999; opacity:0;}
.gnb2 .container { padding:40px 0px 0px;}
.subtext-wrap { float:left;  padding:0px; display:none; width:200px; text-align:center; margin-right:30px;}
.subtext { display:inline-block; }
.subtext p { color:#333333;}
.subtext p:first-child { font-size:14px; margin-bottom:0px; display:none; }
.subtext p:nth-child(2) { font-size:30px; color:#fff; font-weight:bold;}
.subtext img { display:inherit; position:relative; float:none!important; margin:20px auto; }
.subul > li { float:left; width:125px; margin:0px 40px 50px 0px;}
.subul > li:last-child { margin-right:0px; }
.subul > li > a { font-size:17px; font-weight:600;}
.subul > li > a > i { float:right; position:relative; top:3px; }
.subul > li > ul { margin-top:15px; }
.subul > li > ul > li { font-size:13px; transition:all ease 0.3s;height: 29px;margin-top:1px; }
.subul > li > ul > li:hover { background-color:#7b6698;}
.subul > li > ul > li > a { padding: 5px 7px;border-bottom: 1px solid #fff;display: inline-block;overflow: hidden; width: 100%;text-overflow: ellipsis; white-space: nowrap; }
.subul > li > ul > li > a > i { margin-right:5px; position:relative; }
.subul li a { color: #fff; text-decoration:none; }

/* footer */

#footer { background:#333333; padding:40px 0px; position:relative; text-align:center;}
#footer p { color:#8F8D8E; font-size:15px; clear:both; line-height:23px; display:inline-block; margin:0px; text-align:left; font-weight:bold; }
#footer .footer-logo { position:absolute; top:0; left:0; }
#footer .footer-icon { position:absolute; top:0; right:0; }
#footer .footer-icon a { margin:0 10px; }

/* mobile */

.mobile-arrow { background:#5782AD; padding:5px 0;}
.mobile-arrow .fas { color:#fff; position:relative; top:5px; font-size:25px;}

.header-mobile-gnb .toggle {color:#333333!important;}
.mm-panels > #mm-1 {background-color:#6BA8C4!important; }
.mm-panels > #mm-2,
.mm-panels > #mm-3,
.mm-panels > #mm-4,
.mm-panels > #mm-5,
.mm-panels > #mm-6,
.mm-panels > #mm-7,
.mm-panels > #mm-8,
.mm-panels > #mm-9,
.mm-panels > #mm-10,
.mm-panels > #mm-11,
.mm-panels > #mm-12,
.mm-panels > #mm-13,
.mm-panels > #mm-14,
.mm-panels > #mm-15,
.mm-panels > #mm-16,
.mm-panels > #mm-17,
.mm-panels > #mm-18,
.mm-panels > #mm-19,
.mm-panels > #mm-20,
.mm-panels > #mm-21,
.mm-panels > #mm-22,
.mm-panels > #mm-23,
.mm-panels > #mm-24,
.mm-panels > #mm-25,
.mm-panels > #mm-26,
.mm-panels > #mm-27,
.mm-panels > #mm-28,
.mm-panels > #mm-29,
.mm-panels > #mm-30,
.mm-panels > #mm-31,
.mm-panels > #mm-32,
.mm-panels > #mm-33,
.mm-panels > #mm-34,
.mm-panels > #mm-35,
.mm-panels > #mm-36,
.mm-panels > #mm-37,
.mm-panels > #mm-38 { background-color: #5782AD !important; }
.mm-navbar { padding:20px 0px!important; height:inherit!important;}
.mm-navbar a { font-size:22px; color:#fff!important;}
.mm-listview>li>a, .mm-listview>li>span { padding:20px 25px!important; font-size:17px;}
.mm-panels>.mm-panel>.mm-listview { margin:20px 0px!important;}
.mm-btn {top:unset!important;}

@media (min-width:1200px) and (max-width:1499px) {
    #gnb-wrap > div { padding:0 20px; }
    .subul > li { float: left; width: 125px; margin: 0px 30px 40px 0px; }
}

@media (min-width:993px) and (max-width:1199px) {
    #gnb-wrap > div { padding:0 15px; }
    #gnb > li { padding:0px 30px;}
    .subul > li { float: left; width: 140px; margin: 0px 40px 30px 0px; }
    #footer p { font-size:14px; }
}

@media (min-width:768px) and (max-width:992px) {
	#gnb-wrap h2 { text-align:center; margin:23px 0 0 15px; width:100%; display:inline-block; }
	#gnb-wrap h2 a { color:#000; text-decoration:none; font-size:25px; font-weight:bold; }
    #footer .footer-icon { position:relative; margin:30px 0 0;}
    #footer .footer-logo { position:relative; margin:0 0 30px; }
    #gnb-wrap > div { padding:0 15px; }
    #footer { text-align:center; }
    #footer p { font-size: 16px; text-align: center; position: initial; }
    #footer img { float:none; display:inline-block; margin:0px 0px 15px;}
        #gnb-wrap img { margin:15px 0 0;}
    #gnb-wrap { margin:0 0 15px; }
    #gnb-wrap  { text-align:center; }
    #gnb-wrap > div > div {display:inline-block;}
    #gnb-wrap img { float:none; }
	#gnb-wrap h2 { text-align:center; margin:0px; display:inline-block; }
	#gnb-wrap h2 a { color:#000; text-decoration:none; font-size:17px; font-weight:bold; }
    .header-mobile-gnb { position:absolute; top:70px; right:20px;}
    .header-mobile-gnb a { font-size:30px;}
}

@media (max-width:767px) {
    #gnb-wrap img { margin:15px 0 0;}
    #gnb-wrap { margin:0 0 15px; }
    #gnb-wrap  { text-align:center; }
    #gnb-wrap > div > div {display:inline-block;}
    #gnb-wrap img { float:none; }
	#gnb-wrap h2 { text-align:center; margin:0px; display:inline-block; }
	#gnb-wrap h2 a { color:#000; text-decoration:none; font-size:17px; font-weight:bold; }
    #footer .footer-icon { position:relative; margin:30px 0 0;}
    #footer .footer-logo { position:relative; margin:0 0 30px; }
    #gnb-wrap > div { padding:0 15px; }
    #header { padding: 7px 15px; }
    #header .header-box-right span { margin:0 5px; }
    .header-mobile-gnb { position:absolute; top:115px; right:20px;}
    .header-mobile-gnb a { font-size:30px;}
    #footer { text-align:center; }
    #footer p { font-size:14px; text-align:center; position:initial;}
    #gnb-wrap { padding:0px;}
}


