#hd{
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    max-height: 0;
    z-index: 9999;
    transition: 1s ease;
    -webkit-transition: 1s ease;
	background:#fff;
    box-shadow: 0px 2px 5px 0 rgba(0, 0, 0, 0.05);
    -webkit-box-shadow: 0px 2px 5px 0 rgba(0, 0, 0, 0.05);
    overflow: hidden;
}
#hd.down {
	bottom:auto;
	top:0;
    max-height: 70px;
}

#hd.down.on{
    max-height: 500px;
}

#hd.down #btn-menu .btn-menu-btn .line{
    background-color: #21333f;
}

#hd.down #btn-menu{
    display: none;
}

#hd.down:hover{
    max-height: 500px;
}



#logo {
    position: fixed;
    left: 50px;
    top: 20px;
    z-index: 9000;
    pointer-events: auto;
    transition: 0.3s ease;
    width: 240px;
}
#logo img {
	width:100%;
    transition: 0.3s ease;
}
#hd.down #logo {
    width: 110px;
	top:0px;
    transition: 0.3s ease;
}


#hd.down #logo img {
    transition: 0.3s ease;
}

#btn-menu {
    position: fixed;
    right: 50px;
    top: 50px;
    z-index: 9000;
	opacity:1;
    pointer-events: auto;
}
#btn-menu .btn-menu-btn{
	width: 27px;
    height: 22px;
    position: relative;
    cursor: pointer;
    transition: 0.3s ease;
    -webkit-transition: 0.3s ease;
}
#btn-menu .btn-menu-btn .line{
    width: 100%;
    height: 4px;
    background: #fff;
    position: absolute;
    transition: 0.3s ease;
}
#btn-menu .btn-menu-btn .line.no1{
    right: 0;
    top: 0;
	transition: 0.3s ease;
    width: 80%;

}
#btn-menu .btn-menu-btn .line.no2{
    right: 0;
    top:50%;
	transition: 0.3s ease;
	transform:translate(0,-50%);
}
#btn-menu .btn-menu-btn .line.no3{
    right: 0;
    bottom: 0;
	transition: 0.3s ease;
    width: 50%;
}
#quickbt {
	position:absolute;
	top:60px;
	right:60px;
	z-index:9999;
	opacity:1;
    pointer-events: auto;
	transition: 0.3s ease;
}
#quickbt .iconify {
	width: 35px;
    height: 35px;
    vertical-align: middle;
    margin-top: -1px;
	filter: drop-shadow(0px 2px 5px 0px rgba(0, 0, 0, 0.2));
	fill:#21333f;
}
#hd.on #quickbt {
	opacity:1;
    pointer-events: auto;
	transition: 0.3s ease;
}

#hd.on{
    max-height: 500px;
}


#hd.on #btn-menu .btn-menu-btn .line{
    background: #21333f;
}
/* gnb */
#gnb_1dul{
    display: flex;
}

#gnb{
    width: 100%;
    padding-left: 50%;
    padding-top: 50px;
    padding-bottom: 50px;
}


.gnb_1dli{
    font-family: 'GmarketSans', sans-serif;
    font-size: 18px;
    color: #21333f;
    padding: 0 20px;
    font-weight: 700;
}

.gnb_2dli{
    font-size: 12px;
    opacity: 0.4;
    padding: 5px 0;
}

#hd.down #gnb{
    padding-top: 25px;
}

.gnb_2dul {
    padding-top: 30px;
}

@media(min-width:1921px){
    #gnb{
        padding-left: 65%;
    }
}

@media(max-width:1680px){
    #gnb{
        padding-left: 45%;
    }
}

@media(max-width:1540px){
    #gnb{
        padding-left: 35%;
    }
}

@media(max-width: 1366px){

    #hd.on {
        height: 100%;
        overflow: auto;
		margin-top:0px;
		background:rgba(255, 255, 255, 0.9)
    }
    #hd {
		height:60px;
		top:0;
	}
	#hd.down {
		height:60px;
	}
	#hd.on,
	#hd.on.down {
		height:100vh;
        max-height: unset;
	}
    #logo,
	#hd.down #logo {
        left: 50%;
        top: 5px;
		transform:translateX(-50%);
        width: 100%;
        display: flex;
        justify-content: center;
    }
    #hd.down #btn-menu{
        display: block;
    }
   #hd #logo img, #hd.down #logo img {
        width: 90px;
    }
    #btn-menu{
        top: 20px;
		right:10px;
    }
    #btn-menu .btn-menu-btn{
        width:30px;
        height: 15px;
    }
	#quickbt {
		top: 14px;
		right: 60px;
	}
	#quickbt .iconify {
		width:30px;
		height:30px;
	}
    #gnb{
        padding: 100px 10px;
		text-align:left;
		position:relative;
		width:100%;
		box-sizing:border-box;
		float:inherit;
    }
	#hd.down #gnb {
        padding: 100px 10px 20px;
	}
	#gnb>ul>li {
		padding:0;
		margin-bottom:30px;
	}
    #gnb_1dul{
        flex-direction: column;
    }
	#gnb>ul>li>a {
		font-size:18px;
		border-bottom: 1px solid rgba(0,0,0,0.15);
		display: inline-block;
		padding-bottom:20px;
		width: 100%;
	}
	#gnb>ul>li>ul a {
		font-size:15px;
		opacity:0.7;
	}
	#hd #gnb>ul>li>ul {
		margin-top:10px;
	}
	#hd #gnb>ul>li>ul>li {
		margin-bottom:5px;
	}
    #btn-menu .btn-menu-btn .line{
        background: #21333f;
    }
}


@media(max-width: 1200px){


    #hd.down #btn-menu{
        display: block;
    }

    #hd.down #logo{
        top: 20px;
    }

    #hd.down:hover{
        max-height: unset;
    }
}

@media(max-width: 1024px){
	#hd {
        height: 70px;
	}

	#wrap.sub #hd {
		bottom:auto;
		top:0;
	}
	#hd.on {
        height: 100%;
        overflow: auto;
		margin-top:0px;
		background:rgba(255, 255, 255, 0.9)
    }
    #logo,
	#logo.down {
        top: 10px;
        left: 20px;
    }
	#hd #logo img,
	#hd.down #logo img {
		width:70px;
	}

    #btn-menu{
        top: 40px;
        right: 20px;
		display:block;
    }
	#hd.on #btn-menu {
		opacity: 1;
		pointer-events: auto;
	}
    #gnb{
        position: fixed;
        left: 0;
        top: 0;
        right: 0;
        bottom: 0;
        padding: 250px 50px;
        text-align: center;
        overflow: auto;
		opacity: 0;
		visibility: collapse;
		pointer-events: none;
    }
	#hd.on #gnb {
		opacity: 1;
		visibility: visible;
		pointer-events: auto;
	}
	#hd.down #gnb {
        padding: 250px 50px;
	}
    #gnb>ul>li>a{
        line-height: 0;
    }
    #gnb>ul>li{
        display: block;
		float:inherit;
		margin-bottom:5%;
    }
	#gnb>ul>li>ul {
		margin-top:5px;
	}
	#hd #gnb>ul>li>ul {
		opacity: 1;
		visibility: visible;
	}
	.gnb_1dli.no2 ul {
		margin-right:0;
	}
}

@media(max-width: 769px){
    #hd.on{
        height: 100vh;
        max-height: unset;
    }
    #logo{
        left: 50px;
        top: 10px;
    }
    #logo img{
        width: 50px;
    }
    #gnb{
        padding: 110px 50px;
    }
    #btn-menu{
        right: 20px;
        top: 30px;
    }
	#quickbt {
		top:26px;
	}
    #gnb_1dul{
        flex-direction: column;
    }
}

@media(max-width: 560px){
	#hd {
		height:60px;
		top:0;
	}
	#hd.down {
		height:60px;
	}

	#hd.on,
	#hd.on.down {
		height:100vh;
        max-height: unset;
	}
    #logo,
	#hd.down #logo {
        left: 50%;
        top: 5px;
		transform:translateX(-50%);
        width: 100%;
        display: flex;
        justify-content: center;
    }
    #hd.down #btn-menu{
        display: block;
    }
   #hd #logo img, #hd.down #logo img {
        width: 90px;
    }
    #btn-menu{
        top: 20px;
		right:10px;
    }
    #btn-menu .btn-menu-btn{
        width:30px;
        height: 15px;
    }
	#quickbt {
		top: 14px;
		right: 60px;
	}
	#quickbt .iconify {
		width:30px;
		height:30px;
	}
    #gnb{
        padding: 100px 10px;
		text-align:left;
		position:relative;
		width:100%;
		box-sizing:border-box;
		float:inherit;
    }
	#hd.down #gnb {
        padding: 100px 10px 20px;
	}
	#gnb>ul>li {
		padding:0;
		margin-bottom:30px;
	}
    #gnb_1dul{
        flex-direction: column;
    }
	#gnb>ul>li>a {
		font-size:18px;
		border-bottom: 1px solid rgba(0,0,0,0.15);
		display: inline-block;
		padding-bottom:20px;
		width: 100%;
	}
	#gnb>ul>li>ul a {
		font-size:15px;
		opacity:0.7;
	}
	#hd #gnb>ul>li>ul {
		margin-top:10px;
	}
	#hd #gnb>ul>li>ul>li {
		margin-bottom:5px;
	}
    #btn-menu .btn-menu-btn .line{
        background: #21333f;
    }
}
