/* The Lindenhurst Local Music Festival. Lean CSS matching the old WordPress theme as rendered (centered header, 80% / 1272px rows). */

*, *::before, *::after { box-sizing: border-box; }
html, body, div, span, h1, h2, h3, p, a, img, strong, form, label, ul, li, header, footer, nav, main { margin: 0; padding: 0; border: 0; font-size: 100%; vertical-align: baseline; }
ul { list-style: none; }

body {
  font-family: "Open Sans", Arial, sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.7em;
  color: #666;
  background: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: #2ea3f2; text-decoration: none; }
strong { font-weight: 700; }
img { max-width: 100%; height: auto; }
h1, h2, h3 { color: #333; padding-bottom: 10px; line-height: 1em; font-weight: 500; }
h1 { font-size: 30px; }
h3 { font-size: 22px; }
p { padding-bottom: 1em; }
p:last-of-type { padding-bottom: 0; }

/* ---------- header ---------- */
#main-header {
  position: relative;
  z-index: 99999;
  width: 100%;
  background: #fff;
  line-height: 23px;
  box-shadow: 0 1px 0 rgba(0, 0, 0, .1);
}
#main-header .container { width: 80%; max-width: 1272px; margin: 0 auto; text-align: center; position: relative; }
.logo_container { height: 175px; }
.logo_helper { display: inline-block; height: 100%; width: 0; vertical-align: middle; }
#logo { display: inline-block; width: auto; max-height: 87%; vertical-align: middle; }
#top-navigation { position: relative; font-weight: 600; padding-top: 5px; }
#top-menu-nav, #top-menu { line-height: 0; }
#top-menu li { display: inline-block; font-size: 14px; line-height: 14px; padding-right: 22px; }
#top-menu li:last-child { padding-right: 0; }
#top-menu a {
  display: block;
  padding-bottom: 32px;
  color: rgba(0, 0, 0, .6);
  font-weight: 700;
  text-transform: uppercase;
  transition: opacity .4s ease-in-out;
}
#top-menu a:hover { opacity: .7; }
#top-menu li.current > a { color: #000; }
#mobile-nav-menu { display: none; }

/* ---------- sections: section / row / column ---------- */
.section { position: relative; background: #fff; padding: 0; }
.row { position: relative; width: 80%; max-width: 1272px; margin: 0 auto; padding: 1% 0; }
.column { position: relative; min-height: 1px; }
.center { text-align: center; }
.x-large { font-size: x-large; }
.h1-gap { height: 10px; }
.form-gap { height: 14px; }
.not-found { padding-top: 44px; padding-bottom: 44px; }

.image { line-height: 0; }
.image a { display: inline-block; }
.image img { width: auto; }
.image-center { text-align: center; }
.image-left { text-align: left; }

.section-home { padding-top: 0; }

/* red title band (Bands / The Vendors) */
.section-title { background-color: #e02b20; }
.section-title .row { padding-top: 25px; }
.text-title { padding-bottom: 6px; }
.text-title h1 { font-size: 58px; font-weight: 800; color: #fff; text-align: center; }

.section-lineup { padding-top: 17px; padding-bottom: 17px; margin-top: 29px; }

/* ---------- forms (CF7 look from the theme's custom CSS) ---------- */
.hub-form p { padding-bottom: 1em; }
.hub-form p:last-of-type { padding-bottom: 0; }
.hub-form label { font-weight: 800; }
.field-wrap { position: relative; }
.field {
  -webkit-appearance: none;
  appearance: none;
  margin: 0;
  border: 1px solid #bbb;
  border-radius: 0;
  background-color: #fff;
  color: #4e4e4e;
  font-family: inherit;
  font-size: 13.3333px;
  font-weight: 400;
  width: 100%;
}
.field:focus { outline: 0; border-color: #2d3940; color: #3e3e3e; }
.field-text { padding: 20px; }
.field-textarea { padding: 4px; display: inline-block; vertical-align: baseline; }
.submit {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  padding: 20px 50px;
  background: #000;
  color: #fff;
  font-family: inherit;
  font-size: 13.3333px;
  font-weight: 800;
  text-transform: uppercase;
  border: 2px solid;
  border-color: #a8a8a8 #545454 #545454 #a8a8a8; /* the browser default outset border the old theme kept */
  border-radius: 0;
  cursor: pointer;
}
.submit:disabled { cursor: wait; }
.not-valid-tip { display: block; color: #dc3232; font-size: 1em; font-weight: normal; }
.form-status {
  position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
/* CF7's spinner: takes its line under the button, visible while sending */
.spinner {
  visibility: hidden;
  display: inline-block;
  position: relative;
  width: 24px;
  height: 24px;
  margin: 0 24px;
  border-radius: 100%;
  background-color: #23282d;
  opacity: .75;
  vertical-align: middle;
}
.spinner::before {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  width: 6px;
  height: 6px;
  border-radius: 100%;
  background-color: #fbfbfc;
  transform-origin: 8px 8px;
  animation: spin 1s linear infinite;
}
.hub-form[aria-busy="true"] .spinner { visibility: visible; }
@keyframes spin { from { transform: rotate(0); } to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .spinner::before { animation-duration: 8s; } }
.swal2-container.swal2-shown { z-index: 9999999; }

/* ---------- footer: the old theme-builder footer was one empty section ---------- */
.site-footer .row { padding: 1% 0; }

/* ---------- tablet / phone (the old theme switched at 980px) ---------- */
@media (max-width: 980px) {
  #main-header { padding: 20px 0; }
  .logo_container { height: auto; max-height: 100px; line-height: 0; }
  #logo { max-height: 60px; }
  #top-navigation { padding-top: 0; }
  #top-menu-nav { display: none; }
  #mobile-nav-menu { display: block; position: relative; margin-top: 20px; }
  .mobile_nav {
    position: relative;
    display: block;
    text-align: left;
    background-color: rgba(0, 0, 0, .05);
    border-radius: 5px;
    padding: 5px 10px;
  }
  .mobile_nav_toggle {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    background: none;
    font: inherit;
    line-height: 23px;
    text-align: left;
    color: #666;
    cursor: pointer;
  }
  .select_page { display: inline-block; color: #666; font-size: 14px; font-weight: 600; }
  .mobile_menu_bar {
    position: absolute;
    right: 5px;
    top: 2px;
    width: 32px;
    height: 32px;
    background: no-repeat center / 32px 32px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath fill='%23020000' d='M6 7.3h20v2.5H6zm0 6.2h20V16H6zm0 6.2h20v2.5H6z'/%3E%3C/svg%3E");
  }
  .mobile_nav_toggle[aria-expanded="true"] .mobile_menu_bar {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath fill='%23020000' d='M9.5 6.5 16 13l6.5-6.5 1.7 1.7-6.5 6.5 6.5 6.5-1.7 1.7-6.5-6.5-6.5 6.5-1.7-1.7 6.5-6.5-6.5-6.5z'/%3E%3C/svg%3E");
  }
  .mobile_menu {
    position: absolute;
    left: 0;
    top: 53px;
    z-index: 9999;
    width: 100%;
    padding: 5%;
    background: #fff;
    border-top: 3px solid #020000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, .1);
    text-align: left;
  }
  .mobile_menu[hidden] { display: none; }
  .mobile_menu a {
    display: block;
    padding: 10px 5%;
    border-bottom: 1px solid rgba(0, 0, 0, .03);
    color: #666;
    font-size: 14px;
    font-weight: 600;
    transition: opacity .2s ease-in-out, background-color .2s ease-in-out;
  }
  .mobile_menu a:hover { background-color: rgba(0, 0, 0, .03); opacity: .7; }

  .section { padding: 50px 0; }
  .section-home { padding-top: 0; }
  .section-lineup { padding: 17px 0; }
  .row { padding: 30px 0; }
  .section-title .row { padding-top: 25px; }
  .site-footer .row { padding: 30px 0; }
}
