@charset "utf-8";

/* ****************************************************************************************** *
 * GNUWIZ / wizwic custom
 * header center type
 * ****************************************************************************************** */
#header{position:relative; box-shadow:0 2px 10px 0 rgba(0,0,0,0.1); z-index:1000;}
.clearfix:before, .clearfix:after{content:""; display:block; clear:both;}

/* gw_utill_container */
.gw_utill_container{position:relative; height:40px; background:#f9f9f9; font-size:0;}

/* utill 공통 */
.gw_utill_container ul li{display:inline-block; line-height:40px; font-size:13px;}
.gw_utill_container ul li:after{content:""; position:relative; display:inline-block; top:2px; right:-14px; width:1px; height:12px; background:#c9ccd3;
	-webkit-transform:rotate(45deg); transform:rotate(45deg);}
.gw_utill_container ul li:last-child:after{display:none;}
.gw_utill_container ul li a{color:#96989c;}

/* utill 네비&유저 */
.gw_utill_container .utill_nav{float:left;}
.gw_utill_container .utill_nav li{margin-right:28px;}
.gw_utill_container .utill_user{float:right; padding-right:48px;}
.gw_utill_container .utill_user li{margin-left:28px;}

/* search button 검색 버튼 
   사용안할 경우 .search_btn{display:none}, .gw_utill_container .utill_user{padding:0;}으로 세팅
*/
.search_btn{position:absolute; top:9px; left:50%; margin-left:570px;}
.search_btn .search_icon{color:#96989c;}

/* .gw_header_container 헤더 */
.gw_header_container{width:100%;-webkit-transition:all .3s ease; transition:all .3s ease;}
.gw_header_container.fixed{position:fixed; top:0; left:0; height:64px; background:rgba(255,255,255,.95); box-shadow:0 2px 10px 0 rgba(0,0,0,0.1);}
.gw_header_container.fixed .search_btn{display:none;}

/* .gw_logo_container 로고 */
.gw_logo_container{padding:40px 0 28px; text-align:center;}
.gw_logo_container.fixed{display:none}
.gw_logo_container #logo{padding-bottom:10px;}
.gw_logo_container #logo img{width:auto; height:130px; -webkit-transition:all .3s ease; transition:all .3s ease;} 
.gw_logo_container h5{text-transform:uppercase; letter-spacing:0.25em; font-size:14px;}

/* 1차 메뉴 gnb */
.gw_gnb_container{border-top:1px solid #f1f1f1;}
.gnb{max-width:1200px; margin:auto; text-align:center; font-size:0;}
.gnb > .gnb_item{display:inline-block; position:relative; width:16.6666%/* 1차 메뉴 넓이 조절 */; line-height:72px; vertical-align:top; font-size:16px;}
.gnb > .gnb_item.fixed{line-height:64px;}
.gnb > .gnb_item:after{content:""; position:absolute; bottom:0; left:51%; right:51%; height:2px; background:#646873; -webkit-transition:all .3s ease; transition:all .3s ease;}
.gnb > .gnb_item a{color:#646873;}
.gnb > .gnb_item > .lnb{display:none; position:absolute; top:72px; left:0; width:100%; background:#fff; 
	text-align:left; box-shadow:0 1px 6px 0 rgba(0,0,0,0.2); -webkit-transition:display .3s; transition:display .3s; z-index:99;}
.gnb > .gnb_item > .lnb.fixed{top:64px}

/* 2차 메뉴 lnb dropdown menu */
.lnb > .lnb_item{line-height:1.5; border-bottom:1px solid #eef1f5; font-size:13px; -webkit-transition:all .3s; transition:all .3s;}
.lnb > .lnb_item:last-child{border-bottom:0;}
.lnb > .lnb_item > a{display:block; width:100%; height:100%; padding:12px 24px; -webkit-transition:all .3s; transition:all .3s;}
.gnb_item:hover .lnb{display:block;}

/* hover */
.gnb_item:hover:after{left:0; right:0;}
.lnb_item:hover{background:#fafafa;}
.lnb_item:hover > a{padding-left:20px; color:#3e4046;}

/* menu button */
.menu_btn{display:none;width:40px; height:40px; position:relative; cursor:pointer;}
.menu_icon{position:absolute; top:50%; right:0; -webkit-transform:translateY(-50%); transform:translateY(-50%); width:24px; height:24px; z-index:999;}
.menu_icon > span{display:block; position:absolute; left:0; width:100%; height:2px; background:#646873; opacity:1;
	-webkit-transform:rotate(0deg); -moz-transform:rotate(0deg); -o-transform:rotate(0deg); transform:rotate(0deg);
	-webkit-transition: .25s ease-in-out; -moz-transition: .25s ease-in-out; -o-transition:.25s ease-in-out; transition:.25s ease-in-out;}
.menu_icon > span:nth-child(1){top:0;}
.menu_icon > span:nth-child(2){top:8px;}
.menu_icon > span:nth-child(3){top:16px;}
.menu_icon > span:nth-child(4){top:8px; opacity:0}

/* gnb all container */
.gnb_all_container{position:fixed; top:0; right:-100%; max-width:320px; width:100%; height:100%;background:#f7f7f7; box-shadow:0 3px 6px 0 rgba(0,0,0,0.1); z-index:8888;}
.gnb_all_container.open{right:0; overflow:auto;}
.gnb_all_inner{position:relative;}

/* gnb all close button */
.gnb_all_close_btn{position:absolute; top:6px; right:12px; width:40px; height:40px; border:none; background:transparent;}
.gnb_all_close_btn > span{position:relative; width:100%; height:100%;}
.gnb_all_close_btn > span:after{content:""; position:absolute; top:0; right:0; width:100%; height:100%; 
	background:url('img/icon_close.svg') no-repeat center center; background-size: 20px auto;
    -webkit-transform: rotate(0) translateZ(0); transform:rotate(0) translateZ(0); 
	-webkit-transition:-webkit-transform .3s; transition: -webkit-transform .3s;
    transition:transform .3s; transition:transform .3s, -webkit-transform .3s;}
.gnb_all_close_btn:hover > span:after{-webkit-transform:rotate(180deg) translateZ(0); transform:rotate(180deg) translateZ(0);}

/* gnb all utill */
.gnb_all_utill{margin-bottom:10px; padding:16px 24px; background:#fff; font-size:14px;}
.gnb_all_utill li{position:relative; display:inline-block; padding-right:20px;}
.gnb_all_utill li:after{content:""; position:absolute; top:7px; right:9px; width:1px; height:10px; background:#96989c;}
.gnb_all_utill li:last-child:after{display:none;}

/* gnb all, mobile menu */
.gnb_all{background:#fff;}
.gnb_all_item{position:relative; font-size:15px;}
.gnb_all_item > a{display:block; height:56px; padding:14px 24px; line-height:28px; color:#646873;}
.lnb_op_btn{position:absolute; top:13px; right:18px; width:30px; height:30px; border:0; border-radius:50%; outline:none; 
	background:url('img/select_arrow_bold.svg') no-repeat 50% 60%; background-size:14px auto; background-color:#f7f7f7;}
.lnb_op_btn.active{-webkit-transform:rotate(180deg); transform:rotate(180deg); -webkit-transition:rotate .3s ease; transition:rotate .3s ease;}
.lnb_all{display:none; background:#f7f7f7; padding:10px 24px;}
.lnb_all_item{padding:5px 0; font-size:14px;}
.m_menu.active{position:relative;}
.m_menu.active:after{content:""; position:absolute; bottom:0; left:0; width:100%; height:2px; background:#646873;}

/* gnb all overlay */
.gnb_all_overlay{display:none; position:fixed; top:0; left:0; bottom:0; right:0; background:rgba(0, 0, 0, .8); z-index:5555;}
.gnb_all_overlay.open{display:block;}

/* gw_search 검색 필드 */
.gw_search{display:none; position:fixed; top:0; left:0; width:100%;z-index:9999;}
.gw_search_inner{position:relative; background:#fff; box-shadow:0 10px 10px 0 rgba(0,0,0,0.1);}
.gw_search_boundary{max-width:768px; width:100%; margin:auto; padding:120px 0 60px;}
.gw_search_close_btn{position:absolute; top:50px; left:50%; margin-left:-32px; width:64px; height:64px; border:none; background:transparent;}
.gw_search_close_btn span{display:block; width:100%; height:100%; position:relative;}
.gw_search_close_btn span:after{content:""; position:absolute; top:0; left:0; width:100%; height:100%; background:url('img/icon_close.svg') no-repeat center center;
	background-size:28px auto; -webkit-transform:rotate(0) translateZ(0); transform:rotate(0) translateZ(0); -webkit-transition:-webkit-transform .3s;
	transition:-webkit-transform .3s; transition:transform .3s; transition:transform .3s, -webkit-transform .3s}
.gw_search_close_btn:hover span:after{-webkit-transform:rotate(180deg) translateZ(0); transform:rotate(180deg) translateZ(0);}

#gw_search_field{position:relative; width:100%; height:65px; margin-bottom:24px;}
#gw_search_field:after{content:""; position:absolute; bottom:-2px; left:0; width:100%; height:2px; background:#dde0e3;}
#gw_search_field > form{width:100%; height:100%;}
#gw_search_field input.gw_search_input:focus{border:0 !important;}
.gw_search_input{display:block; width:100%; height:100%; padding:0; border:none; outline:none; font-size:24px;}
.gw_search_submit_btn{position:absolute; top:0; right:0; width:48px; height:100%; border:none; outline:none; background:transparent; font-size:24px; color:#acafb9;}





/* ****************************************************************************************** *
 * 1200px
 * ****************************************************************************************** */
@media screen and (max-width:1200px) {
	
	.gw_boundary{padding:0 24px;}
	.gnb > .gnb_item{padding:0 12px;}

}
/* 1200px end */





/* ****************************************************************************************** *
 * 1023px
 * ****************************************************************************************** */
@media screen and (max-width:1023px) {
	
	/* header */
	.gw_header_container{position:relative; height:64px;}
	.gw_header_container.fixed .search_btn{display:table;}

	/* utill */
	.gw_utill_container, .gnb{display:none;}
	
	/* logo & gnb */
	.gw_logo_container{position:absolute; top:50%; left:24px; -webkit-transform:translateY(-50%); transform:translateY(-50%); padding:0;}
	.gw_logo_container #logo{padding-bottom:0;}
	.gw_logo_container #logo img{height:44px;}
	.gw_logo_container #logo, .gw_logo_container h5{display:inline-block;}
	.gw_logo_container h5{padding-left:6px; letter-spacing:0.1em;}
	.gw_logo_container.fixed{display:block}
	.gw_gnb_container{border-top:0;}

	/* menu button */
	.menu_btn{display:inherit; float:none; position:absolute; top:0; height:64px; right:24px;}

	/* search button */
	.search_btn{display:table; top:0; left:inherit; right:60px; width:40px; height:64px; margin-left:0; font-size:22px;}
	.search_icon{display:table-cell; width:100%; height:100%; padding-top:15px; text-align:center;}



}
/* 1023px end */





/* ****************************************************************************************** *
 * 768px
 * ****************************************************************************************** */
@media screen and (max-width:768px) {

	/* header */
	.gw_header_container, .gw_header_container.fixed{height:60px;}

	/* menu button & search button */
	.menu_btn, .search_btn{height:60px;}
	.menu_icon{height:20px;}
	.search_btn{width:32px; font-size:20px;}
	.search_icon{padding-top:16px;}

	/* logo */
	.gw_logo_container #logo img{height:40px;}
	
	/* search field */
	.gw_search_boundary{padding:120px 24px 60px}


}
/* 768px end */





/* ****************************************************************************************** *
 * 767px
 * ****************************************************************************************** */
@media screen and (max-width:767px) {
	
	/* logo */
	.gw_boundary{padding:0 20px;}
	.gw_logo_container{left:20px}

	/* search button, menu button */
	.search_btn, .menu_btn{width:32px}
	.search_btn{right:54px;}
	.menu_btn{right:20px;}

	/* search field */
	.gw_search_boundary{padding:68px 48px 48px}
	.gw_search_close_btn{top:10px;}
	.gw_search_input{font-size:20px;}
	#gw_search_field{height:52px; margin-bottom:10px;}

}
/* 767px end */





/* ****************************************************************************************** *
 * 480px
 * ****************************************************************************************** */
@media screen and (max-width:480px) {
	
	/* header */
	.gw_header_container, .gw_header_container.fixed{height:54px}
	
	/* logo */
	.gw_logo_container{left:15px}
	.gw_logo_container #logo img{height:36px;}

	/* search button, menu button */
	.search_btn, .menu_btn{height:54px}
	.search_btn{right:40px; font-size:18px;}
	.search_icon{padding-top:15px;}
	.menu_btn{width:26px; right:15px;}
	.menu_icon{width:20px;; height:16px;}
	.menu_icon > span:nth-child(2){top:7px;}
	.menu_icon > span:nth-child(3){top:14px;}

	/* gnb all */
	.gnb_all_container{max-width:280px;}
	.gnb_all_close_btn.open{right:280px;}

	/* search field */
	.gw_search_close_btn{top:5px;}
	.gw_search_boundary{padding:64px 36px 24px;}
	.gw_search_input, .gw_search_submit_btn{font-size:18px;}
	#gw_search_field{height:48px; margin-bottom:5px;}
	#popular li{font-size:12px;}
}
/* 480px end */





/* ****************************************************************************************** *
 * 375px
 * ****************************************************************************************** */
@media screen and (max-width:375px) {
	
	/* logo */
	.gw_logo_container #logo img{height:32px;}
	.gw_logo_container h5{font-size:13px;}

	/* search field */
	.gw_search_boundary{padding:64px 24px 24px;}
	.gw_search_input, .gw_search_submit_btn{font-size:16px;}
}
/* 375px end */





/* ****************************************************************************************** *
 * 320px
 * ****************************************************************************************** */
@media screen and (max-width:320px) {
	
	/* gnb all */
	.gnb_all_container{max-width:260px;}
	.gnb_all_close_btn.open{right:260px;}

}
/* 320px end */
