/* 메인메뉴 */
#gnb { position:relative; width:100%; height:0px; border:0px solid red; }
#gnb * {z-index:10000;}
.gnb_wrap { width:80%; max-width:1600px; margin:0 auto; position:relative;}
#gnb #gnb_1dul { width:100%; padding: 0; zoom:1; text-align:center;}
#gnb ul:after {display:block;visibility:hidden;clear:both;content:""}
#gnb .gnb_1dli {float:left; /*padding:0 40px; */line-height:70px; text-align:center; box-sizing:border-box;position:relative;}
#gnb .gnb_1dli:nth-child(1) { width:26%; }
#gnb .gnb_1dli:nth-child(2) { width:20%; }
#gnb .gnb_1dli:nth-child(3) { width:24%; }
#gnb .gnb_1dli:nth-child(4) { width:15%; }
#gnb .gnb_1dli:nth-child(5) { width:15%; }
#gnb .gnb_1dli:nth-child(5) > .gnb_1dli_line { display:none; }

#gnb .gnb_1dli:hover{/*background-color:#ffffff;*/}
#gnb .gnb_1dli:hover .gnb_1da {/*color:#ffffff !important;*/}
#gnb .gnb_1dli:hover .gnb_1dli_line2 { display:block; }

.gnb_1da { display:block;color:#000000 !important;text-decoration:none; width:100%; font-size:22px; font-family:"NanumSquare", sans-serif; font-weight:700; }
.gnb_1dli .gnb_1dli_line { position:absolute; top:25px; right:0; width:1px; height:30px; background-color:#e0e0e0;  }
.gnb_1dli .gnb_1dli_line2 { display:none; position:absolute; bottom:0px; left:0; width:100%; height:8px; background-color:#2cb4c4;  }

.gnb_2dul {display:none;position:absolute;top:70px;min-width:100%; padding:10px 0 !important;	background-color:#000000;  }
.gnb_2dli{text-align:center; line-height:30px;}
.gnb_2dli:first-child{border:0}
a.gnb_2da {display:inline-block;padding:0;line-height:30px;color:#ffffff !important;text-align:left;text-decoration:none; font-size:15px; font-weight:600;}
a.gnb_2da:hover{color:#ffffff; font-weight:600;/* text-decoration: underline;*/}

#gnb .gnb_1dli.on {}
#gnb .gnb_1dli.on .gnb_1da {color:#338e2f}
#gnb .gnb_1dli.on .gnb_1dli_line2 {display:block; }
#gnb .gnb_1dli.on .gnb_2dul .gnb_2da.on {color:#000; font-weight:700; text-decoration: underline;}
#gnb .gnb_1dli_over ul.gnb_2dul {display:block;left:0}

#btnNav {display:none; position:absolute; top:20px; right:50px; width:40px; height:40px; border:none; background-color:transparent; cursor:pointer; z-index:1000}
#btnNav span {position:absolute; display:block; left:5px; width:30px; height:5px; background:#EB6107; transition:all .4s ease}
#btnNav span.bar1 {top:5px}
#btnNav span.bar2 {top:15px}
#btnNav span.bar3 {top:25px}
#btnNav.active span.bar1 {top:18px; transform:rotate(45deg)}
#btnNav.active span.bar2 {display:none}
#btnNav.active span.bar3 {top:18px; transform:rotate(-45deg)}

#btnUser {display:none; position:absolute; top:25px; right:100px; width:25px; height:25px; background:url(../img/ic_user.png) no-repeat center center; background-size:100%;}

/* 서브페이지 가로소메뉴 */
/*
.lnb {background-color:#fff;}
.lnb h2 {font-size:28px;  font-family:"Nanum Gothic"; color:#0f7eb0;     border-radius: 0px; line-height:80px; text-align:center; margin-bottom: 0px; background-color:#fff; border:3px solid #0f7eb0}
.lnb h2 span {display:block; font-size:14px; color:#999; letter-spacing: 0;    line-height: 20px;}
.lnb ul {width:100%; padding:15px 30px; box-sizing:border-box;}
.lnb ul li {}
.lnb > ul > li {clear:both; line-height:36px; vertical-align:top; }
.lnb > ul > li:hover {clear:both; vertical-align:top;  }
.lnb > ul > li > a {display:block; line-height:36px; font-size:15px; color:#333; padding-left:15px; background:url(../img/lnb_arr.png) no-repeat 0 50%;}
.lnb > ul > li > a:hover, 
.lnb > ul > li > a.on  {color:#0f7eb0; font-weight:bold; background:url(../img/lnb_arr_on.png) no-repeat 0 50%;}

.lnb ul li ul {padding:0; padding-left:15px; background-color:#f1f1f1;}
.lnb ul li ul li a, .lnb ul li ul li a:hover, .lnb ul li ul li a.on {background:none; }
.lnb ul li ul li a:hover, .lnb ul li ul li a.on {color:#17a939;  }
*/

#aside { display:block; position:absolute; top:613px; left:0; width:100%; height:80px; box-sizing:border-box; z-index:4; }
#aside > .smenu_wrap { width:98%; height:100%; background-color:#ffca4e; position:relative; margin:0 auto; border-radius:10px; }
#aside > .smenu_wrap > .smenu_list { width:100%; max-width:1600px; margin:0 auto;  background-color:#3fa9a4; }
#aside > .smenu_wrap > .smenu_list > a { display:inline-block; padding:0 50px; height:80px; line-height:80px; color:#ffffff; font-size:25px; font-weight:600; }
#aside > .smenu_wrap > .smenu_list > a.on { background-color:#ef8a1d; }
#aside > .smenu_wrap > .smenu_list > a:hover { background-color:#ef8a1d; }
#sml_1 > a { padding:0 30px !important; }
#sml_2 > a { padding:0 40px !important; }

.lnb { display:none; overflow:hidden; margin:0px 0 20px; max-width:1600px; margin:auto; }
.lnb h2 {display:none;}
.lnb dl {width:100%; margin:0; /*border-right:1px solid #545454; border-bottom:1px solid #545454; box-sizing:border-box;*/}
.lnb dl dd {float:left; width:20%; /*border-left:1px solid #545454; box-sizing:border-box;*/ border-top:0; text-align:center; }
.lnb dl dd a {display:block; font-family: "Nanum Gothic"; padding:0 15px; height:45px; line-height:45px; font-size:18px; color:#ffffff; font-weight:bold; transition:all 0.2s; cursor:pointer; text-shadow: 0 0 5px #000;}
.lnb dl dd a.on {background:#7fbe25; color:#fff;}
.lnb dl dd.on a, .lnb dl dd:active a {background:#7fbe25; color:#fff;text-shadow:none;}
.lnb dl dd a:hover:before {content:"○ ";}
.lnb dl dd.on a:before, .lnb dl dd.on a:hover:before { content:"● "; }

@media ( max-width: 1300px ) {
	#sml_1 > a { padding:0 10px !important; font-size:22px !important; }
}
@media ( max-width: 1199px ) {
	.gnb_wrap { width:100%; }
	#aside > .smenu_wrap > .smenu_list > a { padding:0 20px; }
	#sml_2 > a { padding:0 10px !important; }
}

@media ( max-width: 1023px ) {
	.gnb_wrap { width:100%; }
	#gnb_wrap {position:fixed !important; top:0; right:-270px; width:250px; height:100%; background:#EB6107; box-shadow:-2px 0 6px 0 rgba(0,0,0,.3); z-index:990;}
	#gnb_wrap a.gnb_top {position:relative; display:block !important; padding:0 0 0 25px; height:80px; font-size:16px; color:#fff; line-height:80px; background:#555}
	#gnb_wrap a.gnb_top > span.nav-home {display:inline-block; width:17px; height:16px; margin-right:10px; background:url(../img/nav_home.png) 0 0 no-repeat; vertical-align:-2px}
	#gnb_wrap button {display:block; position:absolute; top:20px; right:50px; width:40px; height:40px; border:none; border-radius:2px; background:#333; cursor:pointer}
	#gnb_wrap button span {position:absolute; display:block; left:10px; width:20px; height:2px; background:#fff; transition:all .4s ease}
	#gnb_wrap button span.bar1 {top:12px}
	#gnb_wrap button span.bar2 {top:18px}
	#gnb_wrap button span.bar3 {top:24px}
	#gnb_wrap button.active span.bar1 {top:18px; transform:rotate(45deg)}
	#gnb_wrap button.active span.bar2 {display:none}
	#gnb_wrap button.active span.bar3 {top:18px; transform:rotate(-45deg)}
	#gnb_1dul {float:none}
	#gnb_1dul > li.gnb_1dli {float:none; width:100% !important; height:auto; text-align:left; padding:0; float:none; line-height:18px}
	#gnb_1dul > li > a {position: relative; height:auto; padding:15px 25px; padding-left:60px; font-size:16px; border-bottom:1px solid #c38b8f; }
	#gnb_1dul > li > a > span {padding:0}
	#gnb_1dul > li > a > span:before {display:none}
	#gnb_1dul > li > ul.gnb_2dul li:before {display:none}
	#gnb_1dul > li > a:before {position:absolute; display:block; width:2px; height:14px; left:31px; top:50%; margin-top:-7px; content:''; background:#fff; transition:all .3s ease}
	#gnb_1dul > li > a:after {position:absolute; display:block; width:14px; height:2px; left:25px; top:50%; margin-top:-1px; content:''; background:#fff}
/*
	#gnb_1dul > li.dropdown > a:before {position:absolute; display:block; width:2px; height:14px; left:31px; top:50%; margin-top:-7px; content:''; background:#fff; transition:all .3s ease}
	#gnb_1dul > li.dropdown > a:after {position:absolute; display:block; width:14px; height:2px; left:25px; top:50%; margin-top:-1px; content:''; background:#fff}
*/
	#gnb_1dul > li.open > a:before {transform:rotate(90deg)}
	#gnb_1dul > li > ul.gnb_2dul {display:none; position:static; width:100%; padding:0; background:#eeeeee; opacity:1 !important; filter:alpha(opacity='100') !important; box-shadow:none}
	#gnb_1dul > li > ul.gnb_2dul li {padding:0; border-color:#dedede; text-align:left;}
	#gnb_1dul > li > ul.gnb_2dul li a {font-size:15px; padding:10px 25px; line-height:18px;}
	.gnb_1da { color:#ffffff !important; }

	a.gnb_2da {color:#333333 !important; }
	a.gnb_2da:hover{color:#333333; font-weight:600;}
	#gnb_mask {display:none; position:fixed; top:0; left:0; width:100%; height:100%; background:#000; opacity:.6; filter:alpha(opacity='60'); z-index:200}
	#btnNav {display:block; }
	#btnUser {display:block; }


	#gnb .gnb_1dli:hover .gnb_1dli_line2 { display:none; }
	#gnb .gnb_1dli.on .gnb_1dli_line2 {display:none; }
	
	#aside {display:none;}

}

@media ( max-width: 767px ) {
	#gnb {height:0px !important}

	#btnNav { right:10px}
	#btnUser {right:60px}

	#aside {display:none;}
}

@media ( max-width: 479px ) {

}