/* Font Awesome mappings for template icon classes that came from missing icon fonts. */
[class^="icon-"],
[class*=" icon-"] {
  font-family: FontAwesome !important;
  font-style: normal;
  font-weight: normal;
  line-height: 1;
}

[class^="icon-"]:before,
[class*=" icon-"]:before,
#social_block ul li a:before {
  display: inline-block !important;
  font-family: FontAwesome !important;
  font-style: normal !important;
  font-weight: normal !important;
  line-height: 1 !important;
  text-align: center !important;
}

.icon-magnifier:before { content: "\f002" !important; }
.icon-home:before { content: "\f015" !important; }
.icon-bag:before,
.icon-basket:before,
.icon-basket-loaded:before { content: "\f07a" !important; }
.icon-user:before { content: "\f007" !important; }
.icon-call-in:before { content: "\f095" !important; }
.icon-globe:before,
.icon-globe-alt:before { content: "\f0ac" !important; }
.icon-badge:before { content: "\f02e" !important; }

#social_block ul li.facebook a:before { content: "\f09a" !important; }
#social_block ul li.twitter a:before { content: "\f099" !important; }
#social_block ul li.youtube a:before { content: "\f16a" !important; }
#social_block ul li.pinterest a:before { content: "\f0d2" !important; }
#social_block ul li.instagram a:before { content: "\f16d" !important; }

#social_block ul li a:before {
  font-size: 15px !important;
}

#social_block ul {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  margin: 0 !important;
  padding: 0 !important;
}

#social_block ul li {
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
}

#social_block ul li a {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 32px !important;
  height: 32px !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1 !important;
}

#social_block ul li a:before {
  width: 1em !important;
  height: 1em !important;
}

.owl-buttons .owl-prev,
.owl-buttons .owl-next,
.iview-directionNav .iview-prevNav,
.iview-directionNav .iview-nextNav {
  font-family: FontAwesome !important;
  text-indent: 0 !important;
}

.iview-directionNav .iview-prevNav,
.iview-directionNav .iview-nextNav {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 34px !important;
  height: 34px !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1 !important;
  text-align: center !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
}

.iview-directionNav .iview-prevNav span,
.iview-directionNav .iview-nextNav span {
  display: none !important;
}

.owl-buttons .owl-prev:before,
.owl-buttons .owl-next:before,
.iview-directionNav .iview-prevNav:before,
.iview-directionNav .iview-nextNav:before {
  font-family: FontAwesome !important;
  font-size: 20px !important;
  line-height: 1 !important;
}

.owl-buttons .owl-prev:before,
.iview-directionNav .iview-prevNav:before {
  content: "\f104" !important;
}

.owl-buttons .owl-next:before,
.iview-directionNav .iview-nextNav:before {
  content: "\f105" !important;
}

.iview-directionNav .iview-prevNav:before,
.iview-directionNav .iview-nextNav:before {
  font-size: 24px !important;
  display: block !important;
  width: auto !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1 !important;
}

@media (min-width: 992px) {
  #header-main {
    position: relative !important;
  }

  #header-main > .ApRow {
    display: flex !important;
    align-items: center !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  #header-main .header-logo,
  #header-main #menucentrale,
  #header-main #menudestro {
    float: none !important;
  }

  #header-main .header-logo {
    flex: 0 0 16.66666667% !important;
    max-width: 16.66666667% !important;
  }

  #header-main #menucentrale {
    flex: 1 1 auto !important;
    max-width: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: static !important;
  }

  #header-main #menudestro {
    flex: 0 0 auto !important;
    max-width: none !important;
    margin-left: auto !important;
    display: flex !important;
    flex-direction: row-reverse !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 12px !important;
    padding-right: 28px !important;
  }

  #leo-megamenu,
  #cavas_menu,
  #leo-top-menu {
    width: 100% !important;
  }

  .leo-megamenu .navbar-nav {
    float: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-left: 0 !important;
    border-left: 0 !important;
  }

  .leo-megamenu .navbar-nav > li > a {
    padding-left: 8px !important;
    padding-right: 8px !important;
  }

  #header-main #menudestro .ApRawHtml.block.btn_search {
    position: static !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 28px !important;
    height: 98px !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1 !important;
    border: 0 !important;
    background: transparent !important;
    text-align: center !important;
  }

  #header-main #menudestro .btn_search p,
  #header-main #menudestro .btn_search a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 28px !important;
    height: 28px !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1 !important;
    border: 0 !important;
  }

  #header-main #menudestro #search_block_top {
    left: 50% !important;
    right: auto !important;
    bottom: 31px !important;
    transform: translateX(-50%) !important;
    background: #f7f7f7 !important;
  }

  #header-main #menudestro #search_block_top.showsearch {
    width: min(760px, calc(100vw - 560px)) !important;
    max-width: 760px !important;
    z-index: 120 !important;
  }

  #header-main #menudestro #search_block_top.showsearch form#searchbox input.search_query {
    padding-left: 24px !important;
    padding-right: 48px !important;
  }

  #header-main #menudestro #search_block_top.showsearch form#searchbox .btn {
    display: block !important;
    position: absolute !important;
    top: 0 !important;
    right: 10px !important;
    width: 36px !important;
    height: 36px !important;
    padding: 0 !important;
    line-height: 36px !important;
    text-align: center !important;
    background: transparent !important;
  }

  #header-main #menudestro .popup-over,
  #header-main #menudestro .blockcart_top {
    float: none !important;
    margin: 0 !important;
  }

  #header-main #menudestro .popup-over .popup-title {
    width: 24px !important;
    border: 0 !important;
  }

  #header-main #cart {
    margin: 0 !important;
  }
}
