/* Styles page Calendar */

#top #wrap_all .hero #pad-calendar-hero p {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-direction: column;
}

#top #wrap_all .hero #pad-calendar-hero a {
  font-size: 16px;
  font-family: var(--font-averia);
  text-transform: uppercase;
  color: var(--white);
  transition: all 0.5s;
  padding: 1rem 2rem;
  border-radius: 4px;
  line-height: 1.3em;
  border: none;
  position: relative;
}

#top #wrap_all .hero #pad-calendar-hero a:hover {
  background: rgba(0, 0, 0, .5);
  text-decoration: none;
}

#top #wrap_all .hero #pad-calendar-hero a.btn-cta {
  color: var(--dark-brown);
  background: var(--white);
  padding: 1rem 2rem;
}

#top #wrap_all .hero #pad-calendar-hero a.btn-cta:hover {
  text-decoration: none;
  color: var(--sienna);
}

/* Styles Nav Calendar */
#calendarnav {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 9;
}

#calendarnav .calendar-menu#menu-desktop {
  display: none;
}

#calendarnav #menu-mobile span.selected-item:before {
  display: inline-block;
  margin-right: 0.5em;
  height: 21px;
  width: 21px;
  content: '';
  background: url('./../../images/fleuron.png');
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  position: relative;
  top: 5px;
}

#calendarnav #menu-mobile li {
  border-bottom: 1px solid var(--white);
}

#calendarnav #menu-mobile li:first-child {
  border-top: 1px solid var(--white);
}

#calendarnav #menu-mobile li:last-child {
  border-bottom: none;
}

#calendarnav .calendar-menu .calendar__item a {
  display: flex;
  font-family: var(--font-body);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--white);
  width: 100%;
  padding: 0.75em 0.5em 0.5em 0.5em;
}

#calendarnav .calendar-menu .calendar__item a.active-menu-item {
  font-family: var(--font-bold);
}

#calendarnav .calendar-menu#menu-desktop .calendar__item a.active-item:before,
#calendarnav .calendar-menu#menu-desktop .calendar__item a.active-menu-item:before {
  display: inline-block;
  margin-right: 0.5em;
  height: 20px;
  width: 20px;
  content: '';
  background: url('./../../images/fleuron.png');
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
}

@media (min-width: 45rem) {

  /* Sticky Admin Bar */
  #calendarnav {
    top: 0px;
  }

  #menu-mobile {
    display: none;
  }

  #calendarnav .calendar-menu {
    display: flex;
    flex-direction: column;
    margin: 0 auto;
    max-width: var(--container);
    width: 100%;
    flex-wrap: wrap;
    padding: 5px 0;
  }

  #calendarnav .calendar-menu#menu-desktop {
    display: flex;
  }

  #calendarnav .calendar-menu {
    flex-direction: row;
    justify-content: space-evenly;
    min-height: 62px;
  }
}

@media (min-width: 50rem) {
  body.admin-bar #calendarnav {
    top: 101px;
  }
}
@media (min-width: 768px) {
  body.admin-bar #calendarnav {
    top: 102px;
  }
  #calendarnav {
    top: 69px;
  }
}

@media (min-width: 80rem) {
  #calendarnav .calendar-menu {
    width: 1024px;
  }
}

@media (min-width: 100rem) {
  #calendarnav .calendar-menu {
    width: 960px;
  }
}

/* Styles year-round-calendar */

#year-round-calendar .entry-content-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

#year-round-calendar .entry-content-wrapper .av-special-heading {
  display: flex;
  align-items: center;
  justify-content: center;
}

#year-round-calendar .entry-content-wrapper .av-special-heading h2 {
  font-size: 40px;
  line-height: 1.2;
  letter-spacing: normal;
}

#year-round-calendar .entry-content-wrapper .av-special-heading .special-heading-border {
  display: none;
}

#year-round-calendar .entry-content-wrapper .av_textblock_section p {
  font-size: 24px;
  line-height: 1.33;
  text-align: center;
  letter-spacing: normal;
  margin-top: 10px;
  margin-bottom: 0;
}

#year-round-calendar .entry-content-wrapper .av_textblock_section a {
  width: 287px;
  transition: all 0.5s;
}

#year-round-calendar .entry-content-wrapper .av_textblock_section a:hover {
  text-decoration: none;
  background: #923a1a;
}

#year-round-calendar .entry-content-wrapper .avia-image-container {
  margin-top: var(--space);
}

@media (min-width: 33rem) {
  #top #wrap_all .hero #pad-calendar-hero p {
    flex-direction: row;
  }

  #year-round-calendar .entry-content-wrapper .av_textblock_section a {
    margin-top: 30px;
  }
}

@media (min-width: 48rem) and (max-width: 60rem) {
  #top #wrap_all .hero #pad-calendar-hero p {
    flex-direction: column;
  }
}

@media (min-width: 60rem) {
  #top #wrap_all .hero #pad-calendar-hero a {
    padding: 1rem 1.5rem;
    left: 10px;
  }

  #top #wrap_all .hero #pad-calendar-hero a.btn-cta {
    left: 0;
  }
}


/* Styles Calendar-container */

section.calendar-container h3 {
  font-family: var(--font-bold);
  font-size: 40px;
  color: var(--dark-brown-two);
  line-height: 1.2;
  margin-bottom: 0;
  padding-bottom: 10px;
  margin-top: 30px;
  padding-top: 30px;
}

body.admin-bar section.calendar-container h3 {
  padding-top: 90px;
}

section.calendar-container .beer-calendar .header {
  display: flex;
  align-items: center;
  padding-bottom: 10px;
}

section.calendar-container .beer-calendar .header img {
  object-fit: contain;
  display: none;
  margin-right: 15px;
}

section.calendar-container .beer-calendar .header h4 {
  font-family: var(--font-body);
  font-size: 24px;
  line-height: 1.33;
  color: var(--dark-brown-two);
}

section.calendar-container .beer-calendar .header h4 a {
  text-decoration: none;
}

section.calendar-container .beer-calendar .months {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap;
  margin-bottom: 40px;
}

section.calendar-container .beer-calendar .months li {
  color: #967E7B;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  border-left: 1px solid var(--dark-brown);
  background-color: #fbf6f1;
  padding-top: 10px;
  line-height: 1.1;
  font-family: var(--font-meta-labels);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-size: 12px;
}

section.calendar-container .beer-calendar .months li:first-child,
section.calendar-container .beer-calendar .months li.no-border {
  border: none;
}

section.calendar-container .beer-calendar .months li.months-active {
  color: var(--dark-brown);
  border: none;
}

@media (min-width: 568px) {
  section.calendar-container .beer-calendar .header img {
    display: block;
  }

  section.calendar-container .beer-calendar .months li {
    font-size: 16px;
  }
}