/*
 * MEGA MENU PLUGIN TWEAKS & MEDIA QUERIES
 */

h2.megamenu {
  font-family:"SF Pro Display" !important;
	font-size:1.2rem !important; /* 37px */
  font-weight:600;
  letter-spacing:-0.2px;
}
h2.megamenu span {
  margin-right:4px;
  color:#0aaab2;
  vertical-align:-5px;
}
h3.megamenu {
	font-size:0.75rem !important; /* 28px */
  font-weight:600;
  color:#999999;
  margin-top:15px !important;
  margin-bottom:5px !important;
}
#wp-megamenu-primary p {
  font-family:"SF Pro Display" !important;
  font-size:1rem !important;
  letter-spacing:-0.05px;
}
#wp-megamenu-primary img {
  border-radius:5px;
}
#wp-megamenu-primary a.link {
  border-bottom:none !important;
  font-size:0.85rem !important;
  font-weight:600 !important;
  padding-top:5px !important;
  padding-bottom:5px !important;
  letter-spacing:-0.05px !important;
}
#wp-megamenu-primary .wpmm-nav-wrap ul.wp-megamenu li a {
  font-family:"SF Pro Display" !important;
  text-transform:none !important;
}
#wp-megamenu-primary > .wpmm-nav-wrap ul.wp-megamenu > li {
  padding-bottom:4px;
}
#wp-megamenu-primary > .wpmm-nav-wrap ul.wp-megamenu > li.menu-item-object-custom:hover {
  border-bottom:1px solid #ff8d42;  
}
#wp-megamenu-primary > .wpmm-nav-wrap ul.wp-megamenu > li > a {
  font-size:1rem !important;
  font-weight:600 !important;
  margin-right:0px !important;
}
#wp-megamenu-primary > .wpmm-nav-wrap ul.wp-megamenu > li ul.wp-megamenu-sub-menu li > a {
  font-family:"SF Pro Display" !important;
  font-size:1rem !important;
  font-weight:400 !important;
  letter-spacing:-0.05px;
  padding-left:35px;
}
#wp-megamenu-primary > .wpmm-nav-wrap ul.wp-megamenu > li ul.wp-megamenu-sub-menu li > a:hover {
  text-decoration:underline !important;
}
#wp-megamenu-primary li a i {
  display:none !important; /* Temp disable */
  font-size:1.313rem !important;
  font-weight:500 !important;
  vertica-align:-3px !important;
  margin-right:6px !important;
  color:#ff8d42 !important;
}
.wp-megamenu-sub-menu {
  margin-top:5px !important;
}
.wp-megamenu-sub-menu,
.wp-megamenu-sub-menu::before,
.wp-megamenu-sub-menu::after {
  background:#ffffff !important;
  padding-top:8px !important;
  padding-bottom:5px !important;
}
/* Extra small */
@media (max-width:576px) {
  .wp-megamenu-wrap {
    position:absolute;
    width:112%;
    left:0px;
    margin-top:-72px;
    margin-left:-6%;
  }
  .menu-item-object-custom b {
    background:#cdcdcd;
    width:24px;
    height:24px;
    border-radius:2px;
    font-size:18px !important;
    padding:3px 7px !important;
    color:#777777;
  }
}
/* Small */
@media (min-width:577px) and (max-width:768px) {
  .menu-item-object-custom b {
    background:#cdcdcd;
    width:24px;
    height:24px;
    border-radius:2px;
    font-size:18px !important;
    padding:3px 7px !important;
    color:#777777;
  }
}
/* Medium */
@media (min-width:769px) and (max-width:992px) {
  .menu-item-object-custom b {
    background:#cdcdcd;
    width:24px;
    height:24px;
    border-radius:2px;
    font-size:18px !important;
    padding:3px 7px !important;
    color:#777777;
  }
}
/* Medium-Large */
@media (min-width:993px) and (max-width:1200px) {
  .menu-item-object-custom b {
    background:#cdcdcd;
    width:24px;
    height:24px;
    border-radius:2px;
    font-size:18px !important;
    padding:3px 7px !important;
    color:#777777;
  }
}
/* Large */
@media (min-width:1200px) {

}
/* ONLY WIDE */
@media (min-width:1440px) {

}

.wp-megamenu-sub-menu:before {
	background-image: url(https://dev.pro-ec.de/wp-content/uploads/2019/03/bp-bg-f5f5f5.png) !important;
	background-position:87% top !important;
	background-repeat:no-repeat !important;
}