/* CustomCSS from Template Options */
#sp-header.header-sticky {
    background-color: #ffffff;
}

.menu-bar>span {
	border-bottom: 3px solid #014289;
}

.border-div>div, .border-div>div>div {
    height: 0%;
}

.main-menu>.sp-module {
    background: #d7d7d7;
    max-width: 100%;
    -webkit-clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
    height: 100%;
}

/*
* header height
*/

#sp-header {
	height: 100px;
   	padding: 8px 15px;
}

/*
* menu customizations
*/

.offcanvas-body .main-menu-wrapper {
  max-width: initial;
}

.offcanvas-body .mega-menu .menu .menu-child {
  position: relative;
}

@media (min-width: 775px) and (max-width: 1090px) {
  .sppb-icons-group-list li {
    display: block !important;
    text-align: left !important;
  }
  .sppb-icons-group-list li a {
    height: auto !important;
    margin: 0 25px !important;
  }
}

@media (min-width: 774px) {
  .offcanvas-body .mega-menu .menu .menu-child {
    min-width: auto;
  }
  .offcanvas-body .mega-menu .menu > li > a,
  .offcanvas-body .mega-menu .menu ul > li > a {
    margin-right: 0;
  }
}

/* full width menu with 4 columns */
.offcanvas-body .main-menu-wrapper .sppb-col-md-9 {
  max-width: 100%;
  flex: 0 0 100%;
  -ms-flex: 0 0 100%;
}

.offcanvas-body .mega-menu .menu > li {
  flex: 0 auto;
  max-width: initial;
  position: relative;
  padding: 0 15px 15px 30px;
}

#sp-menu .sp-page-builder .page-content #section-id-1657787983978 {
  padding-left: 120px;
}

#sp-menu #sppb-addon-wrapper-1657787983986 {
  margin-bottom: 20px;
}

#sp-menu .offcanvas-body .mega-menu .menu {
  line-height: 2.3;
  justify-content: space-between;
  margin: 0 -15px;
}

/* submenu indicator */
#sp-menu-right .offcanvas-body ul.menu > li.menu-parent > .nav-header > .menu-toggler::after, 
.offcanvas-menu .offcanvas-inner .sp-module ul > li span.menu-toggler::after {
	content: "";
	font-family: "Font Awesome 5 Free";
}

#sp-menu-right .offcanvas-body ul.menu > li.menu-parent > .nav-header > .menu-toggler,
.offcanvas-menu .offcanvas-inner .sp-module ul > li span.menu-toggler {
  position: absolute;
  left: 0;
  right: -30px;
  text-align: right;
}

#sp-menu-right .offcanvas-body ul.menu > li.menu-parent.menu-parent-open > .nav-header > .menu-toggler::after, 
.offcanvas-menu .offcanvas-inner .sp-module ul > li.menu-parent-open span.menu-toggler::after {
  transform: rotate(90deg);
  display: inline-block;
}

#sp-menu-right .offcanvas-body ul.menu > li.menu-parent > .nav-header {
  position: relative;
}

/* submenu */
.offcanvas-body .mega-menu .menu .menu-child {
  padding: 0;
  background: #d7d7d7;
}

/* social icon size */
#sp-menu .sppb-addon-social-share ul li a {
  font-size: 20px;
}

/* color active menu item */
#sp-menu .offcanvas-body .mega-menu .menu > li.active  {
  color: #00aeef;
}

/* disable open submenu on hover */
.offcanvas-body .mega-menu .menu li.menu-parent:hover > .menu-child {
  display: none;
  animation: none;
}

/* mobile menu */
@media (max-width: 774px) {

  #sp-menu .sp-module.offcanvas-inner {
    overflow-y: auto;
  }

  #sp-menu .sp-module.offcanvas-inner .sppb-section.sppb-section-content-center {
    position: absolute;
    z-index: 99;
  }

  #sp-menu .sp-module.offcanvas-inner .sppb-section.main-menu-wrapper {
    padding-top: 90px !important;
  }
  
  #sp-logo #offcanvas-toggler {
  	display: none !important;
  }
  
  #sp-menu-right {
    width: 100%;
  }
  
  #sp-menu {
    display: block;
    margin-right: 20px;
  }

  #sp-menu .sp-page-builder .page-content #section-id-1657787983999 {
    padding: 40px 0;
  }

  #sp-logo .logo .logo-image-phone {
    display: none !important;
  }

  #sp-logo .logo .logo-image {
    display: inline-block !important;
  }

  #sp-menu .sp-page-builder .page-content .main-menu-wrapper,
  .sp-page-builder .page-content #section-id-1657787983978 {
      padding: 30px 45px 0px 45px !important;
  }

  #sp-menu .offcanvas-body .mega-menu .menu > li {
      flex: 0 0 100%;
      max-width: 100%;
      margin: 0;
  }

  #sp-menu .offcanvas-body .mega-menu .menu > li > a,
  #sp-menu .offcanvas-body .mega-menu .menu > li > span {
      line-height: 1.8;
      display: inline-block;
      font-size: 20px;
      position: relative;
  }

  /* mobile submenu */
  .offcanvas-body .mega-menu .menu .menu-child {
      position: relative;
      padding: 0 0 0 15px;
      background: transparent;
  }

  .offcanvas-body .mega-menu .menu ul > li > a,
  .offcanvas-body .mega-menu .menu ul > li > span {
      line-height: 1.8;
      font-size: 18px;
  }

}

@media (max-width: 1200px) {
  .offcanvas-body .mega-menu .menu {
    line-height: 2.3;
  }
}