/* Have fun adding your style here :) - PS: At all times this file should contain a comment or a rule, otherwise opera might act buggy :( */

/* General Custom CSS */




/*
Desktop Styles
================================================== */
/* Note: Add new css to the media query below that you want to only effect the desktop view of your site */

@media only screen and (min-width: 768px) {
  /* Add your Desktop Styles here */

}



/*
Mobile Styles
================================================== */
/* Note: Add new css to the media query below that you want to only effect the Mobile and Tablet Portrait view */

@media only screen and (max-width: 767px) {
  /* Add your Mobile Styles here */

}

/* Local archive fix: keep the restored Enfold header menu spaced on mixed snapshots. */
#top #header {
  z-index: 1000;
}

#top #header .main_menu {
  z-index: 50;
}

#top #header .main_menu .av-main-nav-wrap {
  overflow: visible;
}

@media only screen and (min-width: 768px) {
  #top #header .main_menu .av-main-nav {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 24px;
  }

  #top #header .main_menu .av-main-nav > li {
    float: none;
    display: block;
  }

  #top #header .main_menu .av-main-nav > li.av-burger-menu-main {
    display: none;
  }

  #top #header .main_menu .av-main-nav > li > a {
    display: flex;
    align-items: center;
    padding-left: 0;
    padding-right: 0;
    pointer-events: auto;
    white-space: nowrap;
  }

  #top #header .main_menu .av-main-nav > li.menu-item-search-dropdown {
    margin-left: 2px;
  }
}

@media only screen and (max-width: 767px) {
  #top #header .main_menu .av-main-nav {
    display: block;
  }

  .responsive #top #header .av-main-nav > li.menu-item {
    display: none;
  }

  .responsive #top #header .av-main-nav > li.menu-item-avia-special {
    display: block;
  }
}

/* Local archive fix: restore hero backgrounds for pages with missing/mismatched Avia CSS. */
#top.page-id-1386 #av_section_1 .av-parallax .av-parallax-inner,
#top.page-id-879 #av_section_1 .av-parallax .av-parallax-inner,
#top.page-id-713 #av_section_1 .av-parallax .av-parallax-inner {
  background-repeat: no-repeat;
  background-position: 50% 50%;
  background-size: cover;
}

#top.page-id-1386 #av_section_1 .av-parallax .av-parallax-inner {
  background-image: url("/wp-content/uploads/2018/01/premio_nazionale_farina_castagne.jpg");
}

#top.page-id-879 #av_section_1 .av-parallax .av-parallax-inner {
  background-image: url("/wp-content/uploads/2015/05/16_castagne1.jpg");
}

#top.page-id-713 #av_section_1 .av-parallax .av-parallax-inner {
  background-image: url("/wp-content/uploads/2018/01/premio_nazionale_farina_castagne.jpg");
}

#top.page-id-1386 #av_section_1 .av-section-color-overlay {
  background-color: #ce9510;
  opacity: 0.6;
}
