/*

HOW TO CREATE A CSS3 DROPDOWN MENU [TUTORIAL]

"How to create a CSS3 Dropdown Menu [Tutorial]" was specially made for DesignModo by our friend Valeriu Timbuc.

Links:
http://vtimbuc.net/
https://twitter.com/vtimbuc
http://designmodo.com
http://vladimirkudinov.com

*/
#GNB {
	position:relative;
	z-index:9;
	width:100%;
	clear:both;
}
#GNB .GNB-inner {
	position:relative;
	width:1280px;
	box-sizing:border-box;
	display: inline-block;
	margin: 0px auto;
	padding:0px;
	background:url(/img/gnb_bg.png) no-repeat 0% 100%;
}
@media screen and (max-device-width:1199px) {
#GNB {
	margin-top:15px;
}
#GNB .GNB-inner {
	width:100%;
	padding:0 0 10px 0;
	background:none;
	box-shadow:none;
}
#GNB .GNB-inner::after {
	content:'';
	display:block;
	position:absolute;
	left:0;
	bottom:0;
	width:100%;
	height:10px;
	background:url(/img/util_dotline.png) repeat-x 0% 100%;
	background-size:contain;
}
}
@media screen and (max-device-width:767px) {
#GNB .GNB-inner {
	padding-bottom:6px;
}
#GNB .GNB-inner::after {
	height:6px;
}
}
@media screen and (max-device-width:535px) {
#GNB .GNB-inner {
	padding-bottom:5px;
}
#GNB .GNB-inner::after {
	height:5px;
}
}

/* Reset */
.gnb-menu,
.gnb-menu ul,
.gnb-menu li,
.gnb-menu a {
	margin: 0;
	padding: 0;
	border: none;
	outline: none;
}

/* Menu */
.gnb-menu {
	float:left;
	width:100%;
}

.gnb-menu > li {
	position: relative;
	list-style: none;
	float: left;
	padding:0px;
	margin-left:14px;
	text-align: center;
}

/* Links */
.gnb-menu > li a {
	display:block;
	padding: 0px;
	font-family: inherit;
	font-size: 21px;
	font-weight:400;
	line-height:1;
	text-decoration:none;
	color:#000;
}

.gnb-menu li:first-child {
	margin-left:0;
}
.gnb-menu li:last-child {
	margin-left:0;
}
.gnb-menu > li[class~="bt"] {
	float:right;
	margin-top:52px;
}
.gnb-menu > li[class~="bt"]:hover { 
/*	background: url(/img/main/cate_bg.gif) no-repeat top left ;  */
}
.gnb-menu li:hover > a { 
	color:#000;
	text-decoration:none;
}
@media screen and (max-device-width:1199px) {
.gnb-menu {
	float:none;
	width:100%;
	display:flex;
	flex-wrap:wrap;
	justify-content:space-between;
}
.gnb-menu > li {
	flex:0 0 auto;
	height:120px;
	margin-left:0;
}
.gnb-menu > li a {
	height:100%;
}
.gnb-menu > li:nth-child(n+7) {
	display:none;
}
}
@media screen and (max-device-width:767px) {
.gnb-menu > li {
	height:86px;
}
}
@media screen and (max-device-width:539px) {
.gnb-menu > li {
	height:58px;
}
}
@media screen and (max-device-width:359px) {
.gnb-menu > li {
	height:52px;
}
}
@media screen and (max-device-width:319px) {
.gnb-menu > li {
	height:48px;
}
}

/* Sub Menu */
.gnb-menu ul {
	position:absolute;
	display:none;
	top:54px;
	left:-11px;
	padding:0px;
	width:110px;
	opacity:0;
	background:#fff;
	border:1px solid #fff;
	border-width: 11px;
	box-shadow:0px 4px 4px rgba(145,145,145, .2);
/*	-webkit-border-radius: 0 0 5px 5px;
	-moz-border-radius: 0 0 5px 5px;
	border-radius: 0 0 5px 5px; */
	z-index:99999;

}

.gnb-menu ul.three {
	width:400px;
}
.gnb-menu ul.left {
	left: -180px;
}

.gnb-menu li:hover > ul { opacity: 1; display:block;}

@media screen and (max-device-width:1199px) {
.gnb-menu li:hover > ul { opacity:0; display:none;}
}

.gnb-menu ul li {
	width:100%;
	height: 0;
	overflow: hidden;
	margin-left:0px;
	text-align:left;
	background: none;
}
.gnb-menu ul li span {
	text-align: left;
}

.gnb-menu li:hover > ul li {
	height:auto;
	overflow: visible;
	padding: 0;
	border-bottom: 0px;
}

.gnb-menu ul li a {
	height:32px;
	line-height: 32px;
	font-family: inherit;
	font-size: 13px;
	font-weight:400;
	color:#000;
	padding:0px 10px;
	margin: 0;
}
.gnb-menu ul li a:hover {
	text-decoration: none;
	background-color: #f0f0f0;
}

.gnb-menu ul li img {
	border: 0px solid #CCC;
}
.gnb-menu ul li .img{
	float: left;
}
.gnb-menu ul li .text{
	float: right;
}
.gnb-menu li > ul > li.cate_tit {
	width:96%;
	height:25px;
	margin:0px 10px;
	padding:5px;
	text-align:left;
	background:#224083;
	font-size:18px;
	font-weight:bold;
	color:#ffffff;
}

.gnb-menu ul li:last-child a {border: none;}

.bt_gift {
	position:absolute;
	top:0;
	right:15px;
	font-size:16px;
	font-weight:600;
	display:inline-flex;
	align-items:center;
	cursor:pointer;
}
.bt_gift a {
	display:inline-flex;
	align-items:center;
	text-decoration:none;
}
.bt_gift a:hover {
	color:#fcd26c;
}
.bt_gift i {
	display:inline-block;
	margin-right:5px;
	width:28px;
	height:28px;
	background:url(/img/topbt_gift.png) no-repeat 50% 50%;
	background-size:contain;
}
@media screen and (max-device-width:1199px) {
.bt_gift {
	top:-28px;
}
}
@media screen and (max-device-width:1023px) {
.bt_gift {
	font-size:14px;
}
.bt_gift i {
	width:22px;
	height:22px;
}
}
@media screen and (max-device-width:767px) {
.bt_gift {
	top:-20px;
}
}
@media screen and (max-device-width:539px) {
.bt_gift {
	top:-22px;
	font-size:12px;
	font-weight:500;
	font-family:"NanumBarunGothic";
}
}
