


.kso-sticky.sticked .header {
	background-color: #fff;
	box-shadow: 0 0 10px rgba(0, 0, 0, .05);
}
.kso-sticky.sticked .header .main-menu > ul > li > a {
	color: #111;
}

.header {
	position: relative;
	left: 0;
	top: 0;
	width: 100% !important;
	transition: all .3s ease;
	z-index: 10;
}
.header.absolute {
	position: absolute;
}
.header .logo img {
	vertical-align: middle;
}
.header .main-menu .head {
	display: none;
}

.header .main-menu > ul > li {
	display: inline-block;
}

.header .main-menu .dropdown {
	position: relative;
}
.header .main-menu a {
	display: block;
	color: #fff;
}
.header.relative .main-menu a {
	color: #222;
}
.header .main-menu > ul > li > a {
	padding: 24px 0;
	padding-right: 1rem;
	padding-left: 1rem;	
	transition: all .3s ease;
}

.header .main-menu i {
	position: absolute;
	top: calc( 50% - 5px );
	pointer-events: none;
	user-select: none;
	font-size: 12px;
	color: #333;
}
.header .main-menu.open i {
    font-size: 1rem;	
	color: #333;
}	
.header .main-menu .sub-menu {
	position: absolute;
	top: 105%;
	left: 0;
	min-width: 200px;
	padding: 15px 0;
	background-color: #fff;
	box-shadow: 0 3px 5px rgba(0, 0, 0, .1);
	transition: all .3s ease;
	visibility: hidden;
	opacity: 0;
	z-index: 1;
}
.header .main-menu .sub-menu-right {
	left: 100%;
	top: 0;
}
/*.header .main-menu .gnb-nav > li:last-child ul,
.header .main-menu .sub-menu-left {
	left: auto;
	right: 100%;
	top: 0;
}*/
.header .main-menu li:hover > .sub-menu {
	top: 100%;
	visibility: visible;
	opacity: 1;	
}
.header .main-menu .sub-menu li .sub-menu {
	top: 100%;
}
.header .main-menu .sub-menu li a {
	color: #333;
}
.header .main-menu .sub-menu li:hover .sub-menu {
	top: 0;
}	
.header .main-menu .sub-menu a {
	padding: 6px 24px;
}
.header .main-menu .sub-menu .dropdwon > a {
	padding-right: 34px;
}
.header .main-menu .sub-menu i {
	right: 24px;
	transform: rotate(-90deg);
}

.header-right {
	display: flex;
	justify-content: flex-end;
	margin-left: auto;
}
.header-right .icon-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0 13px;
	width: auto;
	height: 40px ;
	font-size: 1rem;
	color: #fff;	
	border: none;
	border-radius: 20px;
}
.header-right .open-menu-btn {
	display: none;
}



@media(min-width: 992px) {
	.kso-sticky.absolute {
		position: absolute;
		width: 100%;
	}
	.header-right {
		min-width: 100px;
	}
}
@media(min-width: 1200px) {
	.header .main-menu > ul > li > a {	
		font-size: 20px;
		font-weight: 500;
		padding: 30px 1.5rem;
	}
	.kso-sticky.sticked .header .main-menu > ul > li > a {	
		padding: 24px 1.5rem;
	}
}


@media(max-width: 991px) {
	.header .main-menu {
		position: fixed;
		right: 0;
		top: 0;
		padding: 15px 0 30px;
		width: 330px;
		height: 100%;
		background-color: #fff;
		box-shadow: 0 -30px 50px rgba(0, 0, 0, .2);
		overflow-y: auto;
		transform: translateX(110%);
		z-index: 1;
	}
	.header .main-menu.open {
		transform: none;
	}
	.header .main-menu .head {
		display: flex;
		align-items: center;
		justify-content: flex-end;
		margin-bottom: 25px;
	}
	.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: #333;
	}
	.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 {
		display: block;
	}
	.header .main-menu > ul > li:not(:last-child) {
		margin-right: 0;
	}
	.header .main-menu > ul > li > a {
		position: relative;
		padding: 12px 25px;
		font-size: 18px;
		font-weight: 600;
	}
	.header .main-menu > ul > li > a:before {
		content: '';
		position: absolute;
		left: 20px;
		right: 20px;
		bottom: 0;
		width: calc( 100% - 50px );
		border-bottom: 1px solid #eee;
	}
	/*.kso-sticky.sticked .header .main-menu > ul > li > a {
		color: #fff;
	}*/
	.header .main-menu > ul > .dropdown > a {
		padding-right: 34px;
	}
	.header .main-menu i {
		height: 50px;
		width: 50px;
		display: inline-flex;
		align-items: center;
		justify-content: center;
		pointer-events: auto;
		cursor: pointer;
		top: 0;
		right: 20px;
		color: #333;
	}
	.header .main-menu .dropdown.active > i {
		transform: rotate(180deg);
	}
	.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: rgba(255, 255, 255, .1);
	}
	.header .main-menu .dropdown.active > .sub-menu {
		position: relative;
		display: block;
		padding: 10px 0;
	}
	.header .main-menu .dropdown.active > .sub-menu:after {
		content: '';
		position: absolute;
		left: 20px;
		right: 20px;
		bottom: 0;
		width: calc( 100% - 50px );
		border-bottom: 1px solid #eee;
	}
	.header .main-menu .sub-menu li a {
		position: relative;
		padding: 10px 25px 10px 40px;
		font-size: 17px;
	}
	.header .main-menu .sub-menu li:last-child {
		border: none;
	}
	.header .main-menu .sub-menu .sub-menu a {
		padding-left: 45px;
	}

	.header .main-menu .sub-menu span {
		background-image: none;
	}
	.header .main-menu .sub-menu i {
		transform: none;
		right: 0;
	}

	.header .open-menu-btn {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: 40px;
		height: 40px;
		position: relative;
		background-color: transparent;
		border: none;
		cursor: pointer;
	}
	.header .open-menu-btn .line {
		position: absolute;
		width: 20px;
		height: 2px;
		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-right .icon-btn {
		padding: 0 13px;    
		font-size: .9rem;
	}	



}






























/* ===== mobile menu redesign patch ===== */
.menu-backdrop{
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, .42);
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s ease, visibility .25s ease;
    z-index: 9998;
}
.menu-backdrop.show{
    opacity: 1;
    visibility: visible;
}
body.menu-open{
    overflow: hidden;
}

@media(max-width: 991px) {
    .header{
        z-index: 10000;
    }
    .header .main-menu{
        position: fixed;
        right: 0;
        top: 0;
        padding: 14px 0 24px;
        width: min(88vw, 360px);
        max-width: 360px;
        height: 100dvh;
        background: #ffffff;
        box-shadow: -20px 0 40px rgba(0,0,0,.14);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        transform: translateX(110%);
        transition: transform .35s ease;
        z-index: 9999;
        border-left: 1px solid rgba(0,0,0,.06);
    }
    .header .main-menu.open{
        transform: translateX(0);
    }
    .header .main-menu .head{
        display:flex;
        align-items:center;
        justify-content:flex-end;
        margin-bottom: 12px;
        padding: 0 12px;
    }
    .header .main-menu > ul{
        padding: 0 10px !important;
    }
    .header .main-menu > ul > li{
        display:block;
        border-bottom: 1px solid #edf0f3;
    }

    .header .main-menu > ul > li,
    .header .main-menu .sub-menu li{
        position: relative;
    }
    .header .main-menu .sub-menu,
    .header .main-menu .sub-menu .sub-menu,
    .header .main-menu .sub-menu li .sub-menu{
        position: static !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        float: none !important;
        clear: both;
    }
    .header .main-menu .sub-menu li > a{
        padding-right: 44px;
    }
    .header .main-menu .sub-menu .dropdown > i{
        top: 6px;
        right: 8px;
        width: 28px;
        height: 28px;
        background: transparent;
    }
    .header .main-menu > ul > li > a{
        padding: 15px 48px 15px 14px;
        font-size: 17px;
        font-weight: 700;
        color: #111 !important;
        line-height: 1.35;
    }
    .header .main-menu > ul > li > a:before{
        display:none;
    }
    .header .main-menu i{
        position: absolute;
        top: 6px;
        right: 8px;
        width: 36px;
        height: 36px;
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        border-radius: 10px;
        background: #f6f7f9;
        color: #333;
        font-size: 13px;
        pointer-events: auto;
        cursor: pointer;
        transition: transform .2s ease, background-color .2s ease;
    }
    .header .main-menu .dropdown.active > i{
        transform: rotate(180deg);
        background: #eceff3;
    }
    .header .main-menu .sub-menu{
        display:none;
        position: static;
        opacity:1;
        visibility:visible;
        transform:none;
        min-width: 100%;
        width:100%;
        padding: 0 0 8px 0;
        margin: 0;
        background: transparent;
        box-shadow: none;
        border-radius: 0;
    }
    .header .main-menu .dropdown.active > .sub-menu{
        display:block;
    }
    .header .main-menu .dropdown.active > .sub-menu:after{
        display:none;
    }
    .header .main-menu .sub-menu li{
        border: 0;
    }
    .header .main-menu .sub-menu li a{
        padding: 10px 14px 10px 22px;
        font-size: 15px;
        color: #4b5563 !important;
        line-height: 1.45;
        word-break: keep-all;
    }
    .header .main-menu .sub-menu .sub-menu a{
        padding-left: 30px;
        font-size: 14px;
    }
    .header .main-menu .sub-menu .dropdown > i{
        top: 2px;
        right: 6px;
        width: 32px;
        height: 32px;
    }
    .header .open-menu-btn{
        display:inline-flex;
        align-items:center;
        justify-content:center;
        width:42px;
        height:42px;
        position:relative;
        background:#f5f6f8;
        border:none;
        border-radius: 12px;
        cursor:pointer;
    }
    .header .open-menu-btn .line{
        position:absolute;
        width:18px;
        height:2px;
        background-color:#111;
        border-radius: 2px;
    }
    .header .open-menu-btn .line-1{ transform: translateY(-6px); }
    .header .open-menu-btn .line-3{ transform: translateY(6px); }

    .header-right .icon-btn{
        width:42px;
        height:42px;
        padding:0;
        border-radius: 12px;
    }
    .header .logo img{
        max-height: 42px;
        width: auto;
    }
}
