@charset "utf-8";

.sub #wrapper::before{content:'';position:absolute;top:0;left:0;width:100%;height:330px;background:url(/nanum/site/builder/skin/main/img/common/bg_sub_head.jpg) no-repeat;background-size:cover;z-index:-1;}

/* 서브레이아웃공통 */
#sidebar{height:60px;border-top:1px solid rgba(255,255,255,0.3);border-bottom:1px solid rgba(255,255,255,0.3);box-sizing:border-box;}
#sidebar h2{display:none;}

#sidemenu{display:flex;width:1280px;align-items:center;margin:0 auto;text-align:left;font-family:'OnemobileG';font-weight:400;}
#sidemenu .home{position:relative;}
#sidemenu .home::before{content:'';position:absolute;top:0;left:0;width:1px;height:calc(100% - 2px);background:rgba(255,255,255,0.3);}
#sidemenu .home a{display:block;width:60px;height:60px;background:url(/nanum/site/builder/skin/main/img/common/home_icon.png) no-repeat 50% 50% / 18px;text-indent:-9999px;}
#sidemenu .depth{position:relative;min-width:160px;min-height:60px;}
#sidemenu .depth::before{content:'';position:absolute;top:0;left:0;width:1px;height:calc(100% - 2px);background:rgba(255,255,255,0.3);}
#sidemenu .depth:last-of-type::after{content:'';position:absolute;top:0;right:0;width:1px;height:calc(100% - 2px);background:rgba(255,255,255,0.3);}
#sidemenu .depth .tit > a{display:block;min-width:105px;padding:0 60px 0 20px;line-height:60px;font-weight:700;color:#fff;}
#sidemenu .depth .tit > a::after{content:'';position:absolute;top:50%;right:15px;transform:translate(0, -50%);width:24px;height:24px;background:url(/nanum/site/builder/skin/main/img/common/depth_arr_icon.png) no-repeat center / 12px;}
#sidemenu .depth .tit > a.on::after{transform:translate(0, -50%) rotate(180deg);}

#sidemenu .depth > ul{display:none;position:absolute;top:calc(100% - 2px);left:0;width:calc(100% + 1px);padding:20px 0;background-color:rgba(0,0,0,0.8);backdrop-filter:blur(5px);border:1px solid rgba(255,255,255,0.3);box-sizing:border-box;z-index:5;}
#sidemenu .depth > ul > li > a{display:block;padding:8px 20px;font-weight:500;font-size:1.6rem;color:rgba(255,255,255,0.5);box-sizing:border-box;}
#sidemenu .depth > ul > li > a[target="_blank"] img{width:10px;height:10px;margin-left:8px;}
#sidemenu .depth > ul > li.on > a{font-weight:700;color:#fff;}

#container.wide #location{display:none;}

#container.wide #cont_head{position:relative;display:flex;justify-content:center;align-items:center;height:150px;}
#container.wide #cont_head h3{font-family:'OnemobileT';font-weight:700;font-size:4rem;line-height:1.3;color:#fff;}
#container.wide .share{position:absolute;top:-60px;right:0;display:flex;}
#container.wide .share > a{display:block;width:60px;height:60px;background-repeat:no-repeat;background-position:50% 50%;background-size:23px auto;text-indent:-9999px;z-index:6;}
#container.wide .share > a.btn_print{background-image:url(/nanum/site/builder/skin/main/img/common/btn_print.png);}
#container.wide .share > a.btn_share{background-image:url(/nanum/site/builder/skin/main/img/common/btn_share.png);}
#container.wide .share #share_cont{position:absolute;top:60px;right:0;width:60px;height:150px;background:#fff;box-sizing:border-box;z-index:5;}
#container.wide .share #share_cont ul{display:flex;flex-direction:column;height:100%;}
#container.wide .share #share_cont ul li{flex:1;text-align:center;}
#container.wide .share #share_cont ul li a{display:flex;justify-content:center;align-items:center;height:100%;}
#container.wide .share #share_cont ul li a img{width:auto;height:18px;}

#cont_wrap{position:relative;min-height:800px;padding:100px 0;}

/********************태블릿********************/
@media all and (max-width:1024px){

.sub #wrapper::before{height:120px;}

/* 스크롤시 상단고정 */
#sidebar.fixed{top:80px;}

#container.wide{padding-bottom:5vh;}
#container.wide #cont_head{height:auto;}
#container.wide #cont_head h3{display:none;}
#container.wide .share{top:-120px;right:120px;}
#container.wide .share > a.btn_print{display:none;}
#container.wide .share > a{background-size:24px auto;}

#sidebar{height:60px;}

#sidemenu{width:100%;}
#sidemenu .home{display:none;}
#sidemenu .home + .depth::before{display:none;}
#sidemenu .depth{flex:auto;}
#sidemenu .depth > ul{width:100%;}
#sidemenu .depth .tit > a{font-size:1.6rem;line-height:60px;}
#sidemenu .depth:nth-child(5){display:none;}

#cont_wrap{min-height:100vh;padding:5vh 2vw;box-sizing:border-box;}
#cont_wrap::before{display:none;}

}

/********************모바일********************/
@media all and (max-width:767px){

.sub #wrapper::before{height:110px;}

#container.wide .share{top:-110px;right:80px;}
#container.wide .share > a{width:40px;background-size:18px auto;}
#container.wide .share #share_cont{width:40px;}

#sidebar{height:50px;}
#sidebar.fixed{top:50px;}
	
#sidemenu{width:100%;}
#sidemenu .depth{display:flex;flex:auto;min-width:max-content;min-height:50px;}
#sidemenu .depth .tit{display:flex;width:100%;}
#sidemenu .depth .tit > a{display:flex;align-items:center;min-width:100%;height:100%;padding-right:40px;line-height:normal;box-sizing:border-box;}
#sidemenu .depth > ul{width:100%;padding:10px 0;}
#sidemenu .depth > ul > li > a{padding:8px 15px;}

}