.header{
   position: fixed;
   top:0;
   left:0;
   right:0;
   z-index: 998;  
   margin: auto;
}
/* navbar */
.navbar {
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 40px;
  z-index: 1;
  box-shadow: var(--boxShadow);
}
.navbar a{
  text-decoration: none;
  font-size: 14px;
  transition: all .4s ease;
}
.navbar ul {
  list-style: none;
}
.custom-logo-link img{
  width: 180px !important;
	height: auto !important
}
.menu-items {
  display: flex;
  align-items: center;
}
.menu-items li {
  padding: 10px 15px;
  transition: background 0.3s ease-in-out;
  position: relative;
}
.menu-items li a{
  color: #222;
}
.menu-items li:hover{
  background-color: var(--brandColor);
}
.menu-items  li:hover > a{
  color: #fff;
}

/*------------------------*/

.sub-menu-toggle{
   display: none;
   height: 45px;
   width: 40px;
   background-color: #fff;
   position: absolute;
   top: 0;
   right: 0;
   cursor: pointer;
}

/* small menu  */

.sub-menu {
   position: absolute;
   left: 0px;
   width: 250px !important;
   top: 110px;
   opacity: 0;
   visibility: hidden;
   box-shadow: var(--boxShadow);
   background-color: #fff;  
   width: 100%;
}
.sub-menu > li  .sub-menu{
  left: 100%;
  top: 0;
}

/*mega menu*/

.menu-items > li:nth-child(3) > .sub-menu{
  width: 800px !important;
  left: -200px;
}
.menu-items > li:nth-child(3) > .sub-menu{
  column-count: 3;
}
.menu-items > li > .sub-menu > li{
	position: relative;
}
.menu-items > li > .sub-menu > li .sub-menu{
	position: absolute;
	visibility: hidden ;
	opacity: 0;
}
.menu-items > li > .sub-menu > li:hover  .sub-menu{
	visibility: visible;
	opacity: 1;
}
.sub-menu ul li a{
  color: #222 !important;
  transition: color .4s ease;
}
.menu-items > li:hover > .sub-menu {
  top: 40px;
  opacity: 1;
  visibility: visible;
}


/* active background */

.menu-items .current-menu-item, .menu-items  li.menu-item.current_page_ancestor, .current_page_item , .menu-item-object-solution.current-menu-item , .current-menu-ancestor{
	background: var(--brandColor);
}

.menu-items .current-menu-item > a, .menu-items .menu-item.current_page_ancestor > a, .current_page_item > a, .menu-item-object-solution.current-menu-item > a, .current-menu-ancestor > a{
	color: #fff !important;
}


/* nav menu button */

.menu-btn {
  position: relative;
  display: none;
  justify-content: center;
  align-items: center;
  width: 1.5rem;
  height: 1.5rem;
  cursor: pointer;
  z-index: 2;
}
.menu-btn__lines::before,
.menu-btn__lines::after {
  content: "";
  position: absolute;
}
.menu-btn__lines,
.menu-btn__lines::before,
.menu-btn__lines::after {
  width: 1.5rem;
  height: 0.1rem;
  background: #222;
  transition: all 0.5s ease-in-out;
}
.menu-btn__lines::before {
  transform: translateY(-0.5rem);
}
.menu-btn__lines::after {
  transform: translateY(0.5rem);
}
/* animation */
.menu-btn.open .menu-btn__lines {
  transform: translateX(2rem);
  background: transparent;
}
.menu-btn.open .menu-btn__lines::before {
  transform: rotate(45deg) translate(-1.5rem, 1.5rem);
  background: #222;
}
.menu-btn.open .menu-btn__lines::after {
  transform: rotate(-45deg) translate(-1.5rem, -1.5rem);
  background: #222;
}

footer .menu-item:after{
	content: "";
}
.menu-items .menu-item .sub-menu .menu-item .sub-menu .menu-item:hover a{
  color: #fff !important;
}

.menu-items .menu-item .sub-menu .menu-item .sub-menu{
  column-count: 2;
  margin-bottom: 0;
  width: 500px !important;
}
	.menu-items .menu-item .sub-menu li:nth-child(4) .sub-menu li:last-child:hover,
	.menu-items .menu-item .sub-menu li:nth-child(5) .sub-menu li:last-child:hover{
  		background-color: transparent !important;
	}
/* MEDIA QUERY */
@media screen and (max-width: 1199px) {

  .menu-items::-webkit-scrollbar {
    width: 10px;
  }
  .menu-items::-webkit-scrollbar-track {
    background: #f1f1f1; 
  }
  .menu-items::-webkit-scrollbar-thumb {
    background: #333; 
   }
  .menu-items::-webkit-scrollbar-thumb:hover {
    background: #555;
  }
  .sub-menu-toggle{
    display: block;
    border: none;
  }
  .sub-menu-toggle span{
    display: none;
  }
  .sub-menu-toggle::after{
    content: '+';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    font-size: 20px;
    z-index: 1;
  }
  .sub-menu-toggle:focus{
    outline:  none !important;
  }
  .screen-reader-text{
    display: none;
  }
  .menu-btn {
    display: flex;
  }
  .navbar .menu-items{
    position: fixed;
    height: 100vh;
    width: 100%;
    max-width: 330px;
    width: 80%;
    top: 0;
    left: -330px;
    background: #fff;
    display: block;
    line-height: 45px;
    overflow-y: auto;
    transition: all 0.3s ease-out;
    box-shadow: var(--boxShadow);
	  z-index: 100;
  }
  .menu-items.open {
   left: 0px;
  }
  .menu-items li{
    padding: 0px 15px;
    border-bottom: 1px solid #f1f1f1;
  }
  .menu-items li a {
     display: block;
    font-size: 16px;
  }
  .menu-items > li:hover > a{
    color: #fff;
  }
  

  /* Dropdown and , Mega Menus */ 

  .menu-items .sub-menu{
    position: static;
    opacity: 1;
    visibility: visible;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    flex-direction: column;
    column-count: 1;
  }
  .menu-items li:nth-child(3) .sub-menu{
	  column-count: 1;
	}
  .menu-item.open  .sub-menu {
    max-height: 100%;
    width: 100% !important;
    margin-bottom: 15px;
  }
	.menu-item.open  .sub-menu .menu-item.open .sub-menu{
		max-height: 100%;
    width: 100% !important;
    margin-bottom: 15px;
	}
	.menu-items .menu-item .sub-menu .menu-item .sub-menu{
  		column-count: 1;
  		margin-bottom: 0;
  		width: 100%;
	}
	
  .sub-menu.open{
    max-height: 100%;
    width: 100% !important;
    margin-bottom: 15px;
  }

  /*---------------------*/

  .menu-item.open .sub-menu-toggle::after{
    content: '-';
  }
  .navbar > .menu-items li:nth-child(2) .sub-menu > li{
    position: relative;
  }
  .navbar > .menu-items li:nth-child(2) .sub-menu > li::after{
    position: absolute;
    top: 0;
    right: 0;
    height: 45px;
    padding: 0 15px;
    content: "+";
    cursor: pointer;
  }
  .menu-items .menu-item .sub-menu li.open > .sub-menu{
    position: static !important;
    max-height: 100%;
    width: 100% !important;
    margin: 0 auto;
    margin-bottom: 10px;
    opacity: 1;
    visibility: visible;
    overflow: hidden;
    flex-direction: column;
  }
  .menu-items > li:nth-child(3) > .sub-menu{
    column-count: 1;
    width: 100% !important;
  }
  .navbar > .menu-items li:nth-child(2) .sub-menu > li > .sub-menu li::after{
    content: "";
    background-color: transparent;
  }
  .navbar > .menu-items li:nth-child(2) .sub-menu > li.open::after{
    content: '-';
  }
	.menu-items .menu-item .sub-menu li:nth-child(4) .sub-menu li:last-child,
	.menu-items .menu-item .sub-menu li:nth-child(5) .sub-menu li:last-child{
  		display: none;
	}
}

@media only screen and (max-width: 576px){
  .navbar{
    padding: 10px 20px;
  }
	.custom-logo-link img{
    width: 140px !important;
  }
}

