.kso-sticky {
	position: fixed;
	left: 0;
	top: 0;
	width: 100%;
	height: 60px;
	z-index: 5;
}
.kso-sticky.sticked .header {
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
.header {
	position: fixed;
	left: 0;
	right: 0;
	width: 100%;
	height: 90px;
	overflow: hidden;
	border-bottom: 1px solid rgba(255, 255, 255, .1);
	transition: all 0.01s ease-in-out;
	z-index: 11;
}
.header-right,
.header .logo {
	position: relative;
}
.header .logo {
    padding: 5px 0;
}
.header-right {
	width: 100px;
}
.header-right .icon-btn {
	height: 60px; 
	border: none;
	background-color: transparent;
}
.header-right .icon-btn i {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	background-color: rgb(var(--main-rgb));
	border-radius: 50%;
}
.header-right .open-menu-btn,
.header .main-menu .head {
	display: none;
}

.header .header-right .icon-btn i,
.header .header-right .lang a,
.header #gnb > li > a {
	color: #fff;
}
.header.bg-white .header-right .icon-btn i,
.header.bg-white .header-right .lang a,
.header.bg-white #gnb > li > a {
	color: #333;
}

.header.on .header-right .icon-btn i,
.header.on .header-right .lang a,
.header.on #gnb > li > a {
	color: #333;
}


.header #gnb > li {
	display:block;
	position: relative;
	width: auto;
/*	border-bottom: 2px solid transparent;*/
    transition: all 0.3s ease;		
}
.header #gnb > li:active,
.header #gnb > li:hover {
/*	border-bottom-color: var(--main-color);	*/
}
#gnb > li > a {
	display: block;
	font-size: 21px;
	font-weight: 500;
	line-height: 60px;
	text-align: center;
	color: #414141;
	transition: all 0.3s ease; 
}
#gnb > li > .depth2 {
	height: calc( 100% - 90px );
	border-left: 1px solid rgba(0, 0, 0, .1);
}
#gnb > li:first-child > .depth2 {
	border-left: 0;
}
#gnb > li > .depth2 > ul{
	position:relative;
	width: auto;
	height: 100%;
    padding: 30px 0;	
    transition: all 0.3s ease; 
}
#gnb > li > .depth2 > ul > li a {
	display:block;
	margin-bottom: 1rem;
	min-width:100px;
	font-size: 1rem;
	text-align: center;
	line-height: 1.4;
	letter-spacing: -.9px;
	color: #333;
	white-space: nowrap;
	transition: all .3s ease;
}
#gnbBg {
	position:absolute;
	left:0;
	top: 60px;
	width:100%;
	height: 0;
	border-top: 1px solid transparent;
	transition: border 0.5s ease;
	z-index: 2;
}

.header.on #gnbBg {
	border-top: 1px solid rgba(0, 0, 0, .1);
}
#gnb > li > .depth2 > ul.on {
	visibility: visible;
	opacity: 1;
}
.gnb-bg {
	position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .5);  
    transition: all ease .3s;      
    opacity: 0;
    z-index: -1;
}
 

/*modal*/
.modal.modal-search {

}
.modal-search .modal-dialog {
	margin: 0;
}
.modal-search .modal-content {
	background-color: rgba(0, 0, 0, .7);
}
.modal-search .btn-close {
	opacity: 1;
	cursor: pointer;
}
.modal-search input::placeholder {
	color: rgba(255, 255, 255, .7);
}

/*---------------------------------------------------
*
* media quary
*
---------------------------------------------------*/
@media(min-width: 576px) {
	.modal-search .modal-dialog {
		max-width: 100%;
	}
}
@media(min-width: 992px) {
	.header .logo-light,
	.header.bg-white .logo-dark {
		display: block;
	}
	.header .logo-dark,
	.header.bg-white .logo-light {
		display: none;
	}
	.header-right, .header .logo {
		margin: 0;
	}
}
@media(min-width: 1200px) {
	.header .logo {
	    display: flex;
	    justify-content: center;
	    align-items: center;
	}

	#gnb > li > a {
		position: relative;
		line-height: 90px;
	}
	#gnb > li > a:before {
		content: '';
		position: absolute;
		left: 0;
		bottom: 0;
		width: 100%;
		border-bottom: 2px solid transparent;
		transition: all .3s ease;
	}
	#gnb > li:hover > a:before {
		border-bottom-color: var(--main-color);
	}
	#gnbBg {
		top: 90px;
	}
	.gnb-bg.on {
	    opacity: 1;
	    z-index: 9;
	}  
	.header-right .icon-btn {
		height: 90px;
	}
}

@media(max-width: 1199px) {	
	.header,
	.kso-sticky {height: 60px !important;}

	body:not(.fp-viewing-section-0) .logo-dark {
		display: block;
	}
	body:not(.fp-viewing-section-0) .logo-light,
	.fp-viewing-section-0 .logo-dark {
		display: none;
	}
	body:not(.fp-viewing-section-0) .header {
		background-color: #FFF;
	}
	body.fp-viewing-section-0 .header {
		background-color: transparent;
	}

	.header .open-menu-btn {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: 40px;
		height: 60px;
		position: relative;
		background-color: transparent;
		border: none;
		cursor: pointer;
	}
	.header .open-menu-btn .line {
		position: absolute;
		width: 20px;
		height: 2px;
		background-color: rgba(255, 255, 255, 1);
	}
	body:not(.fp-viewing-section-0) .header .open-menu-btn .line {
		background-color: rgba(0, 0, 0, 1);
	}
	.header .open-menu-btn .line-1 {
		transform: translateY(-6px);
	}
	.header .open-menu-btn .line-3 {
		transform: translateY(6px);
	}	

	.header .main-menu {
		position: fixed;
		right: 0;
		top: 0;
		padding: 15px 0 30px;
		width: 100%;
		height: 100%;
		background-color: rgb(var(--main-rgb));
		overflow-y: auto;
		transform: translateX(100%);
		z-index: 101;
	}
	.header .main-menu.open {
		transform: none;
	}
	.header .main-menu .head {
		display: flex;
		align-items: center;
		justify-content: end;
		margin-bottom: 25px;
	}
	.header .main-menu .head .lang {
		list-style: none;
	}
	.header .main-menu .close-menu-btn {
		position: relative;
		display: inline-flex;
		align-items: center;
		justify-content: center;
		margin-right: 1rem;
		width: 35px;
		height: 35px;
		background-color: transparent;
		border: none;
		cursor: pointer;
	}
	.header .main-menu .close-menu-btn:before,
	.header .main-menu .close-menu-btn:after {
		content: '';
		position: absolute;
		width: 60%;
		height: 2px;
		background-color: #fff;
	}
	.header .main-menu .close-menu-btn:before {
		transform: rotate(45deg);
	}
	.header .main-menu .close-menu-btn:after {
		transform: rotate(-45deg);
	}
	.header .main-menu > ul li a {
		padding: 12px 50px 12px 30px;
		font-size: 21px;
		display: block;
		color: #fff;		
	}
	.header .main-menu .dropdown.active > a {
		background-color: hsl(from var(--base-color) h s calc(l - 5));
	}

	.header .main-menu .sub-menu {
		display: none;
		position: static;
		opacity: 1;
		transform: none;
		visibility: visible;
		padding: 0;
		transition: none;
		box-shadow: none;
		width: 100%;
		background-color: hsl(from var(--base-color) h s calc(l + 5));
	}
	.header .main-menu .dropdown.active > .sub-menu {
		display: block;
		padding: 10px 0;
	}
	.header .main-menu .sub-menu li:last-child {
		border: none;
	}
	.header .main-menu .sub-menu a {
		padding: 10px 25px 10px 35px;
	}
	.header .main-menu .sub-menu .sub-menu a {
		padding-left: 45px;
	}
	.header .main-menu .sub-menu span {
		background-image: none;
	}
	.header .main-menu i {
		position: absolute;
		user-select: none;		
		top: 0;
		right: 10px;
		width: 50px;
		height: 55px;			
		color: #fff;		
		align-items: center;
		justify-content: center;
		pointer-events: auto;
		cursor: pointer;		
	}
	
	.header .main-menu .sub-menu i {
		transform: none;
	}
	.header .main-menu .sub-menu .dropdown.active > i.bi-chevron-up,
	.header .main-menu .dropdown.active > i.bi-chevron-up,
	.header .main-menu .sub-menu .dropdown > i.bi-chevron-down,
	.header .main-menu .dropdown > i.bi-chevron-down {
		display: inline-flex;
	}	
	.header .main-menu .sub-menu .dropdown > i.bi-chevron-up,
	.header .main-menu .dropdown > i.bi-chevron-up,
	.header .main-menu .sub-menu .dropdown.active > i.bi-chevron-down,
	.header .main-menu .dropdown.active > i.bi-chevron-down {
		display: none;
	}	
}


@media(max-width: 991px) {	


}


/*---------------------------------------------------
*
* fullscreen
*
---------------------------------------------------*/
#allmenu {
    position: relative;
    width: 50px;
    height: 90px;
}
.menu-toggler {
    position: absolute;
    top: 2.2rem;
    right: 0;
    width: 30px;
    height: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    z-index: 999;
    transition: all 650ms ease-out;
}
.menu-toggler.open {
    transform: rotate(-45deg);
}
nav.fullscreenNav.open .menu-toggler {
    position: absolute;
    right: 3rem;top: 2rem;
}
nav.fullscreenNav.open .menu-toggler {
    transform: rotate(-45deg);
}
.menu-toggler .bar {
    background-color: #fff;
    width: 100%;
    height: 2px;
    border-radius: 0.8rem;
}
.kso-sticky .bar,
.kso-sticky .menu-toggler.open .bar {
    background-color: #fff;
}
.header.bg-white .bar {
	background-color: #333;
}
.menu-toggler .bar.half {
    width: 50%;
}
.menu-toggler .bar.top {
    transform-origin: right;
    transition: transform 500ms cubic-bezier(0.54, -0.81, 0.57, 0.57);
}
.menu-toggler.open .bar.top {
    transform: rotate(-90deg) translateX(0.4rem);
}
.bar.bottom {
    align-self: flex-end;
    transform-origin: left;
    transition: transform 500ms cubic-bezier(0.54, -0.81, 0.57, 0.57);
}
.menu-toggler.open .bar.bottom {
    transform: rotate(-90deg) translateX(-0.4rem);
}


nav.fullscreenNav {
    width: 100%;
    height: 100vh;
    position: fixed;
    top: -100vh;
    left: 0;
    z-index: 101;
    background-color: #449DA1;
    background-position: center;
    background-repeat: no-repeat;
    transition: all 650ms cubic-bezier(1,0,0,1);
}
nav.fullscreenNav.open {
    top: 0;left: 0;z-index: 101;
}
.nav-list {
    width: 100%;
    list-style: none;
    display: flex;
    justify-content: center;
}
.nav-list .nav-link {
    font-size: 2rem;
    padding: 1rem;
}
.nav-list .nav-link:hover, .nav-link:focus {
    color: #fff;
}
.fullscreenNav a {
    display: block;
    color: #fff;
}
.fullscreenNav ul ul li a {
    display: block;
    color: rgba(255, 255, 255, .9);
}
.fullscreenNav a:hover {
    color: var(--main-color);
}
.fullscreenNav .nav-list>li {
    padding: 0 15px;
}
.fullscreenNav .nav-list>li>a {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, .4);
    font-size: 30px;
    font-weight: 500;
}
.fullscreenNav .nav-list .nav-item li a {
    margin-bottom: 10px;
    font-size: 21px;
}



@media screen and (max-width: 768px) {
    .nav-list {
        flex-direction: column;
    }
    .nav-list .nav-link {
        font-size: 2.5rem;
    }
    .header .logo {
    	padding: 10px 0;
    }
    .header .logo img {
    	height: 40px;
    }
    .header-right {
	    width: 90px;
	}
}
