@import url('https://fonts.googleapis.com/css?family=Libre+Baskerville:400,400i,700&display=swap');
@import url('https://fonts.googleapis.com/css?family=Noto+Sans+KR:100,300,400,500,700,900&display=swap&subset=korean');
@import url('https://fonts.googleapis.com/css?family=Lato:100,100i,300,300i,400,400i,700,700i,900,900i&display=swap');

/*
font-family: 'Libre Baskerville', serif;
font-family: 'Noto Sans KR', sans-serif;
font-family: 'Lato', sans-serif;
*/

#gnb a{ color: #fff; }
#gnb a:hover{ text-decoration: none;}
#hd:hover a{ color: #fff }

#hd{
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 117px;
    transition: 0.3s ease;
    -webkit-transition: 0.3s ease;
    z-index: 9999;
    overflow: hidden;
}
#hd.down{
	height:89px;
}
#hd:hover{
    height: 400px;
    background: rgba(0, 0, 0, 0.7);
}

#logo{
    position: absolute;
    left: 70px;
    top: 25px;
    z-index: 9999;	
	transition: 0.5s ease;
    -webkit-transition: 0.5s ease;
}

#logo .logo-b{
    display: none;
}

/* #hd:hover #logo .logo-b{
    display: block;
}

#hd:hover #logo .logo-w{
    display: none;
} */

#sns{
    position: absolute;
    right: 40px;
    top: 42px;
    font-size: 25px;
	transition: 0.3s ease;
    -webkit-transition: 0.3s ease;
}

#sns i{
    margin: 0 20px;
    color: #fff;
}

#logo img{
    height: 100%;
	transition: 0.5s ease;
    -webkit-transition: 0.5s ease;
}

#gnb{
    position: relative;
    transition: 0.3s ease;
    -webkit-transition: 0.3s ease;
    text-align: right;
    margin-top: 30px;
    margin-right: 170px;
}


#gnb_1dul>li{
    display: inline-block;
    position: relative;
}

#gnb_1dul>li>a{
    font-family: 'Lato', sans-serif;
    font-size: 18px;
    text-transform: capitalize;
    position: relative;
    display: block;
    line-height: 60px;
    padding: 0px 40px;
    font-weight: 900;
    line-height: 3.33;
    letter-spacing: 2.9px;
	text-shadow: 1px 1px 1px #7d7d7d;
}

#gnb_1dul>li>a:after{
    content: "";
    display: block;
    width: 2px;
    height: 2px;
    background: #fff;
    border-radius: 100%;
    position: absolute;
    right: -1px;
    bottom: 27px;
}

#hd:hover #gnb_1dul>li>a:after{
    background: #fff;
}

#gnb_1dul>li:last-child>a:after{
    display: none;
}

#gnb_1dul>li>ul{
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 13px;
    padding-left: 40px;
    font-weight: 100;
    position: absolute;
    top: 70px;
    text-align: left;
    opacity: 0;
    transition: 0.3s;
    -webkit-transition: 0.3s;
}

#hd:hover #gnb_1dul>li>ul{
    opacity: 1;
}

#gnb_1dul>li>ul>li{
    opacity: 0.6;
    white-space: nowrap;
}

#gnb_1dul>li>ul>li:hover{
    opacity: 1;
}

#btn-menu{
    display: none;
    padding: 10px;
    width: 60px;
    height: 60px;
    position: absolute;
    right: 0px;
    top: 0px;
    z-index: 9999;
    cursor: pointer;
    border: 1px solid #000;
    background: #000;
}

#btn-menu .wrapper{
    position: relative;
}

#btn-menu .line{
    width: 100%;
    height: 1px;
    background: #fff;
    position: absolute;
    left: 0;
    transition: 0.5s ease;
    -webkit-transition: 0.5s ease;
}

#btn-menu .line.no1{
    top: 10px;
}

#btn-menu .line.no2{
    top: 16px;
}

#btn-menu .line.no3{
    top: 22px;
}
@media(max-width: 1650px){
	#gnb_1dul>li>a{
		    padding: 0px 30px;
	}
}
@media(min-width: 1450px){
	#hd.down{
		background: rgba(0, 0, 0, 0.7);		
	}
	#hd.down #gnb{
		 margin-top: 16px;	 
	}
	#hd.down #logo{
		left: 55px;
	}
	#hd.down #logo img{
		width:75%;
	}
	#hd.down #sns{
		top:25px;
	}
	#hd.down #gnb_1dul>li>a{
		font-size:16px;
	}
}
@media(max-width: 1450px){
    #hd{
        top: 0;
        padding: 0;
        height: 60px;
        left: auto;
        overflow: initial;
    }

    #hd.down{
        top: 0;
    }

    #hd:hover{
        height: 60px;
        background: none;
    }

    #hd:hover #logo .logo-b{
        display: none;
    }

    #hd:hover #logo .logo-w{
        display: initial;
    }

    #logo{
        height: 70px;
        position: absolute;
        left: 20px;
        top: 20px;
        z-index: 9999;
    }

    #hd-quick {
        right: 60px;
        top: 0px;
        z-index: 9999;
        border-right: 1px solid #585858;
        border-left: 1px solid #585858;
        font-size: 14px;
        background: #282828;
    }

    #btn-menu{
        display: block;
    }

    #btn-menu.on .line.no2{
        left: 5px;
    }

    #sns{
        top: 14px;
        right: 75px;
        z-index: 9999;
    }

    #sns i{
        margin: 0 10px;
    }

    #gnb{
        visibility: collapse;
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        text-align: center;
        padding: 0;
        overflow: auto;
        margin: 0;
        padding: 70px 40px;
        opacity: 0;
        transition: 0.3s ease;
        -webkit-transition: 0.3s ease;
        width: 444px;
        height: 100%;
        background: rgba(0, 0, 0, 0.7);
    }

    #gnb:hover{
        height: 100%;
    }


    #hd.on #gnb{
        display: block;
        opacity: 1;
        visibility: visible;
    }

    #gnb_1dul>li{
        float: none;
        display: block;
        text-align: left;
        margin-bottom: 20px;
        border-bottom: 1px solid #ccc;
        padding-bottom: 30px;
    }

    #gnb_1dul>li>a{
        display: inline-block;
        padding-left: 0;
        font-size: 20px;
    }

    #gnb_1dul>li>ul{
        padding-left: 0;
        font-size: 16px;
        position: static;
    }

    #gnb_1dul>li>a:after{
        display: none;
    }

    #gnb_1dul>li>ul>li{
        padding-right: 20px;
    }
}

@media(max-width: 768px){
    #hd{
        width: 100%;
    }

    #container{
        /* padding-top: 60px; */
    }

}

@media(max-width: 520px){
    #logo{
        top: 10;
        right: auto;
        text-align: left;
        width: 100%;
        z-index: 5000;
    }

    #hd-quick{
        width: 120px;
        font-size: 12px;
    }

    #gnb{
        width: 70%;
        padding: 80px 30px;
    }

    #gnb_1dul{
        text-align: left;
    }

    #gnb_1dul>li>a{
        font-size: 20px;
        line-height: 70px;
        padding: 0;
        padding-left: 10px;
    }

    #gnb_1dul>li>ul>li{
        padding: 2px 10px;
        font-size: 14px;
    }
}