/* megaMenu */
.megaMenu > ul > li{
	display: inline-block;
	line-height: 50px;
	margin-left: 25px;
}
.megaMenu > ul > li.active > a{
	color: var(--theme-color2);
}
.megaMenu > ul > li.splLink > a{
	color: var(--theme-color);
}
.megaMenu > ul > li > a{
	font-size: 13px;
	color: var(--gray555);
	font-weight: var(--fw-medium);
	text-transform: uppercase;
	position: relative;
	transition: color 0.3s ease;
}
.megaMenu > ul > li .sub-menu{
	position: absolute;
	z-index: 500;
	background-color:#ffffff;
	box-shadow: -2px 2px 70px -25px rgba(0,0,0,0.3); 
	padding: 20px 30px;
	transition: all 0.5s ease;
	margin-top:25px;
	opacity:0;
	visibility: hidden;
}
.megaMenu > ul > li .sub-menu > ul > li{
	line-height: 1;
}
.megaMenu > ul > li .sub-menu > ul > li > a{
	display: inline-block;
	padding: 10px 0;
	font-size: 15px;
	color: #555555;
	transition: color 0.3s ease;
	text-decoration: none;
	text-transform: capitalize;
}
.megaMenu > ul > li .single-column-menu{
	min-width: 280px;
	max-width: 350px;
}
.megaMenu > ul > li .sub-menu.mega-menu > .list-item > ul > li{
   line-height: 1;
   display: block; 
}
.megaMenu > ul > li .sub-menu.mega-menu > .list-item > ul > li > a {
	padding:10px 0;
	display: inline-block;
	font-size: 15px;
	color:#555555;
	transition: color 0.3s ease;
}
.megaMenu > ul > li .sub-menu.mega-menu{ 
    left: 50%;
    transform: translateX(-50%);	
}

.megaMenu > ul > li .sub-menu.mega-menu-column-4{
  max-width: 1100px;
  width: 100%; 	
  display: flex;
  flex-wrap: wrap;
  padding:20px 15px;
}
.megaMenu > ul > li .sub-menu.mega-menu-column-4 > .list-item{
  flex:0 0 25%;
  padding:0 15px;
}
.megaMenu > ul > li .sub-menu.mega-menu-column-4 > .list-item .title{
	font-size: 16px;
	color: var(--theme-color2);
	font-weight: 500;
	line-height: 1;
	padding:10px 0;
}
.megaMenu > ul > li .sub-menu.mega-menu-column-4 > .list-item.text-center .title{
	text-align: center;
}
.megaMenu > ul > li .sub-menu.mega-menu-column-4 > .list-item img{
	max-width: 100%;
	width: 100%;
	vertical-align: middle;
	margin-top: 10px;
	height: 300px;
	object-fit: cover;
}
.megaMenu > ul > li .sub-menu.mega-menu > .list-item > ul > li > a:hover,
.megaMenu > ul > li .sub-menu > ul > li > a:hover,
.header .item-right a:hover,
.megaMenu > ul > li:hover > a{
	color: var(--theme-color2);
}

.mobile-menu-head,
.megaMenuTrigger,
.megaMenu ul.socialLinks{
	display: none;
}

@media(min-width: 1200px){
    .megaMenuWrap .megaMenu > ul:not(.socialLinks){
        display: flex;
        align-items: center;
		border-left: 1px dashed #9cb8ff;
		padding: 0 0 0 20px;
    }
    .megaMenu > ul > li > a{
        display: flex;
        align-items: center;
    }
    .megaMenu > ul:not(.socialLinks){
        margin: -5px -10px;
    }
    .megaMenu > ul > li{
        margin: 0;
        padding: 5px 10px;
    }
    .megaMenu > ul > li.menu-item-has-children:hover .sub-menu{
        margin-top: 0;
        visibility: visible;
        opacity: 1;
    }
}
/*responsive*/
@media(max-width: 1199px){
	.header .item-center{
		order:3;
		flex:0 0 100%;
	}
	.header .item-left,
	.header .item-right{
		flex:0 0 auto;
	}
	.v-center{
		justify-content: space-between;
	}
	.megaMenuTrigger{
		display: flex;
		height: 30px;
		width: 25px;
		margin: 0 10px 0 0;
		cursor: pointer;
		align-items: center;
	}
	.megaMenuTrigger span{
		display: block;
		height: 2px;
		background-color: var(--theme-color);
		width: 24px;
		position: relative;
	}
	.megaMenuTrigger span::before,
	.megaMenuTrigger span::after{
		content: '';
		position: absolute;
		left:0;
		width: 50%;
		height: 100%;
		background-color: var(--theme-secondary-color);
		transition: var(--small-transition);
		-webkit-transition: var(--small-transition);
		-moz-transition: var(--small-transition);
		-ms-transition: var(--small-transition);
		-o-transition: var(--small-transition);
	}
	.megaMenuTrigger:hover span::before,
	.megaMenuTrigger:hover span::after{
		width: 100%;
		background-color: var(--theme-color);
	}
	.megaMenuTrigger span:before{
		top:-6px;
	}
	.megaMenuTrigger span:after{
		top:6px;
	}
	.header .item-right{
		align-items: center;
	}

	.megaMenu{
		position: fixed;
		width: 320px;
		background-color:#ffffff;
		left:0;
		top:0;
		height: 100%;
		overflow: hidden;
		transform: translate(-100%);
		transition: all 0.5s ease;
		z-index: 1099;
	}
	.megaMenu.active{
	   transform: translate(0%);	
	}
	.megaMenu > ul > li{
		line-height: 1;
		margin:0;
		display: block;
	}
	.megaMenu > ul > li > a{
		line-height: 50px;
		height: 50px;
		padding:0 50px 0 15px;
		display: flex;
        align-items: center;
		border-bottom: 1px solid rgba(0,0,0,0.1);
	}
	.megaMenu > ul > li > a i{
		position: absolute;
		height: 50px;
		width: 50px;
		top:0;
		right: 0;
		text-align: center;
		line-height: 50px;
		transform: rotate(-90deg);
	}
	.megaMenu .mobile-menu-head{
		display: flex;
		height: 50px;
		border-bottom: 1px solid rgba(0,0,0,0.1);
		justify-content: space-between;
		align-items: center;
		position: relative;
		z-index: 501;
		position: sticky;
		background-color: #ffffff;
		top:0;
	}
	.megaMenu .mobile-menu-head .go-back{
		height: 50px;
		width: 50px;
		border-right: 1px solid rgba(0,0,0,0.1);
		cursor: pointer;
		line-height: 50px;
		text-align: center;
		color:#000000;
		font-size: 16px;
		display: none;
	}
	.megaMenu .mobile-menu-head.active .go-back{
		display: flex;
        align-items: center;
        justify-content: center;
	}
	.megaMenu .mobile-menu-head .current-menu-title{
		font-size: 15px;
		font-weight: 500;
		color:#000000;
	}
	.megaMenu .mobile-menu-head .mobile-menu-close{
	    height: 50px;
		width: 50px;
		border-left: 1px solid rgba(0,0,0,0.1);
		cursor: pointer;
		line-height: 50px;
		text-align: center;
		color:#000000;	
		font-size: 25px;
        display: flex;
        align-items: center;
        justify-content: center;
	}
	.megaMenu .mobile-menu-head:not(.active) .mm-title{
		display: flex;
		align-items: center;
		padding: 0 0 0 20px;
		font-size: 40px;
		font-weight: var(--fw-bold);
		text-transform: uppercase;
		letter-spacing: 5px;
		color: #254fbc;
		opacity: 0.1;
		visibility: visible;
		transition: var(--small-transition);
		-webkit-transition: var(--small-transition);
		-moz-transition: var(--small-transition);
		-ms-transition: var(--small-transition);
		-o-transition: var(--small-transition);
	}
	.megaMenu .mobile-menu-head.active .mm-title{
		opacity: 0;
		visibility: hidden;
		position: absolute;
	}
	.megaMenu .menu-main{
		height: 100%;
		overflow-x: hidden;
		overflow-y: auto;
	}
	.megaMenu > ul > li .sub-menu.mega-menu,
	.megaMenu > ul > li .sub-menu{
		visibility: visible;
		opacity: 1;
		position: absolute;
		box-shadow: none;
		margin:0;
		padding:15px;
		top:0;
		left:0;
		width: 100%;
		height: 100%;
		padding-top: 65px;
		max-width: none;
		min-width: auto;
		display: none;
		transform: translateX(0%);
		overflow-y: auto;
	}
    .megaMenu > ul > li .sub-menu.active{
        display: block;
    }
    @keyframes slideLeft{
        0%{
            opacity:0;
            transform: translateX(100%);
        }
        100%{
            opacity:1;
            transform: translateX(0%);	
        }
    }
    @keyframes slideRight{
        0%{
            opacity:1;
            transform: translateX(0%);
        }
        100%{
            opacity:0;
            transform: translateX(100%);	
        }
    }
	.megaMenu > ul > li .sub-menu.mega-menu-column-4 > .list-item img{
		margin-top:0;
	}
	.megaMenu > ul > li .sub-menu.mega-menu-column-4 > .list-item.text-center .title{
		margin-bottom: 20px;
	}
	.megaMenu > ul > li .sub-menu.mega-menu-column-4 > .list-item.text-center:last-child .title{
		margin-bottom:0px;
	}
	.megaMenu > ul > li .sub-menu.mega-menu-column-4 > .list-item{
		flex: 0 0 100%;
        padding: 0px;
	}
	.megaMenu > ul > li .sub-menu > ul > li > a,
	.megaMenu > ul > li .sub-menu.mega-menu > .list-item > ul > li > a{
		display: block;
	}
	.megaMenu > ul > li .sub-menu.mega-menu > .list-item > ul {
		margin-bottom: 15px;
	}
	.menu-overlay{
		position: fixed;
		background-color: rgba(16, 45, 121, 0.5);
		left:0;
		top:0;
		width: 100%;
		height: 100%;
		z-index: 1098;
		visibility: hidden;
		opacity:0;
		transition: all 0.5s ease;
        cursor: pointer;
	}
	.menu-overlay.active{
	  visibility: visible;
	  opacity:1;	
	}

    .megaMenu ul.socialLinks{
        display: flex;
        position: absolute;
        bottom: 0;
        width: 100%;
    }
	.megaMenu ul.socialLinks > li > a{
		padding: 0;
		display: flex;
		justify-content: center;
	}
}


