/* Global styles */

.et_header_style_left #logo,
.et_header_style_split #logo {
  max-height: 50%;
}



#top-menu li {
  font-size: 16px;
  padding-right: 25px;
}

#top-menu li.space-left {
  margin-left: 70px;
}
@media (max-width: 768px) {
  .et_header_style_left #logo,
  .et_header_style_split #logo {
    max-height: 50%;
  }
}

@media (max-width: 1024px) {
  #top-menu li {
    padding-right: 15px;
  }
  #top-menu li.space-left {
    margin-left: 0px;
  }
}

#top-menu li.btn {
  padding: 8px 25px !important;
  border: 1px solid #3d3d3d;
  margin-top: -8px;
  margin-bottom: -14px;
  border-radius: 26px;
  margin-right: 14px;
  position: relative;
  overflow-x: hidden;
  -webkit-backface-visibility: hidden;
  -moz-backface-visibility: hidden;
  -webkit-transform: translate3d(0, 0, 0);
  -moz-transform: translate3d(0, 0, 0);
}
#top-menu li.btn a,
#top-menu li.current_page_item.btn a {
  display: block;
  color: #3d3d3d;
}

#top-menu li.btn::before {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  right: 0;
  background-image: linear-gradient(
    180deg,
    #fe3a14 0%,
    #fb5a1f 100%
  ) !important;
  background-color: transparent !important;
  transition: all 0.2s ease-in;
  transform: translate(-110%) skew(-45deg);
}

#top-menu li.btn:hover::before {
  transform: translate(0);
}

#top-menu li.btn:last-child {
  margin-right: 0px;
}
#top-menu li.btn:hover {
  border-color: #fb5a1f;
}
#top-menu li.btn a {
  padding-bottom: 0px !important;
}

#top-menu li.btn:hover a {
  color: white;
  opacity: 1;
}

#top-menu a {
  font-family: Maven Pro;
  font-style: normal;
  font-weight: 500;
  font-size: 16px;
  line-height: 19px;
  color: #3d3d3d;
}

#top-menu a:hover,
#top-menu a:active,
#top-menu li.current_page_item a {
  color: #3592dd;
}

.et_fixed_nav.et_show_nav #page-container {
  padding-top: 0px !important;
}

#main-header:not(.et-fixed-header) {
  background-color: transparent;
  box-shadow: none;
}

.home #main-header:not(.et-fixed-header) #logo {
  filter: brightness(0%) invert(100%)
	
}

.home #main-header:not(.et-fixed-header) #top-menu a {
  color: white;
}

.home #main-header:not(.et-fixed-header) #top-menu li.btn {
  border-color: white;
}
.home #main-header:not(.et-fixed-header) #top-menu li.btn:hover {
  border-color: #fe4316;
}

/* SubMenu */

#et-secondary-nav .menu-item-has-children > a:first-child:after,
#top-menu .menu-item-has-children > a:first-child:after {
  content: none;
}

#et-secondary-nav .menu-item-has-children > a:first-child,
#top-menu .menu-item-has-children > a:first-child {
  padding-right: 0px;
}

.nav li ul {
  width: 443px;
  padding: 20px 30px;
  border-radius: 20px;
  transform: translateX(-40%);
  border-top: none;
  box-shadow: 1px 2px 40px 0 rgba(84, 81, 179, 0.36);
}

.nav li ul::before {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 16.5px 18px 16.5px;
  border-color: transparent transparent #ffffff transparent;
  top: -16px;
  left: 50%;
  margin-left: -15px;
}

#top-menu li li {
  padding: 0px;
  display: block;
}

#top-menu li li a {
  color: #50abf5;
  font-weight: bold;
  font-size: 16px;
  line-height: 19px;
  width: inherit;
  padding: 0;
  margin-bottom: 30px;
  transition: all 0.2s ease;
}

#top-menu li li a:hover {
  transform: translateX(3%);
  opacity: 1;
  background-color: transparent;
}

#top-menu li li a span {
  display: block;
  font-size: 14px;
  line-height: 16px;
  color: #999999;
  font-weight: 500;
  margin-top: 3px;
}

.home #main-header:not(.et-fixed-header) #top-menu li ul a {
  color: #50abf5;
}

#top-menu li li.btn-blue a,
#top-menu li li.btn-orange a {
  text-align: center;
  display: block;
  font-weight: 500;
  font-size: 20px;
  line-height: 23px;

  color: white !important;
  padding: 10px 50px;
  border-radius: 30px;
  margin-bottom: 0;
  transition: all 0.3 ease-in;
}

.btn-blue a {
  background-color: #3592dd;
}

.btn-orange a {
  background-color: #fe4316;
}

#top-menu li li.btn-blue a:hover {
  background-color: #3592dd;
}

#top-menu li li.btn-orange a:hover {
  background-color: #fe4316;
}

#top-menu li li.btn-blue a:hover,
#top-menu li li.btn-orange a:hover {
  transform: translateY(-3px);
  opacity: 1;
  box-shadow: 0 14px 18px 0 rgba(0, 0, 0, 0.09);
}

#top-menu li li[class^="icon-"] a {
  padding-left: 30px;
  position: relative;
}

#top-menu li li[class^="icon-"] a::before {
  content: "";
  display: block;
  width: 30px;
  height: 30px;
  position: absolute;
  background-repeat: no-repeat;
  left: 0;
}

@media (max-width: 980px) {
  #main-header {
    background-color: white !important;
    max-height: 52px;
  }
  .et_menu_container {
    width: 100%;
    padding: 0 20px;
    height: 52px;
  }

  .home #main-header:not(.et-fixed-header) #logo {
    filter: brightness(1);
    width: auto;
    height: 20px;
  }
  
  .et_header_style_left .logo_container {
  	width:calc(100% - 40px);
  }

  .et_header_style_left #et-top-navigation .mobile_menu_bar,
  .et_header_style_split #et-top-navigation .mobile_menu_bar {
    padding-bottom: 0px;
  }
  .et_header_style_left #et-top-navigation,
  .et_header_style_left .et-fixed-header #et-top-navigation {
    padding-top: 12px;
    margin-bottom: 12px;
  }

  .et_mobile_menu {
    border-top: 0px;
    height: calc(100vh - 52px);
    margin-top: 8px;
  }

  body.home.et_fixed_nav.et_show_nav #page-container,
  #page-container {
    padding-top: 52px !important;
  }

  .mobile_nav.opened .mobile_menu_bar_toggle::before {
    content: "\4d";
  }

  .et_mobile_menu {
    background-color: #f2f4f5;
    padding: 0px;
  }

  .et_mobile_menu .menu-item-has-children > a {
    background-color: inherit;
    font-weight: inherit;
  }

  #main-header .et_mobile_menu li ul,
  .et_pb_fullwidth_menu .et_mobile_menu li ul,
  .et_pb_menu .et_mobile_menu li ul {
    background-color: white;
    padding: 0px;
    display: none !important;
  }

  #main-header .et_mobile_menu li ul.open,
  .et_pb_fullwidth_menu .et_mobile_menu li ul.open,
  .et_pb_menu .et_mobile_menu li ul.open {
    display: block !important;
  }
  .et_mobile_menu li li {
    padding-left: 0px;
  }

  .et_mobile_menu li.menu-item-has-children {
    position: relative;
  }

  .et_mobile_menu li.menu-item-has-children::after {
    content: "\3b";
    position: absolute;
    top: 12px;
    right: 28px;
    font-family: ETmodules !important;
    speak: none;
    font-style: normal;
    font-weight: 400;
    -webkit-font-feature-settings: normal;
    font-feature-settings: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-shadow: 0 0;
    direction: ltr;
    color: #48a8f5;
  }

  .et_mobile_menu li li a {
    color: #50abf5;
  }

  .et_mobile_menu li li span {
    display: block;
    font-weight: 500;
    font-size: 14px;
    line-height: 16px;
    color: #999999;
  }
  .et_mobile_menu li li.btn-blue,
  .et_mobile_menu li li.btn-orange {
    padding: 10px 20px;
  }
  .et_mobile_menu li li.btn-blue a,
  .et_mobile_menu li li.btn-orange a {
    font-weight: 500;
    font-size: 20px;
    line-height: 23px;
    color: #ffffff;
    text-align: center;
    border-radius: 30px;
  }
}

@media (max-width: 1190px) {
  .et_menu_container {
    width: 100%;
    padding: 0 20px;
  }
}