/* bookonline.css */
/* Static booking page that preserves the site's existing header/Facebook pattern. */

html,
body {
  min-height: 100%;
}


/* adjust positioning */
#facebook-wrapper {
    transform: translateX(14px);
}

.home-nav-trigger {
    transform: translateX(14px);
}




body.bookonline-page {
  width: 100%;
  margin: 0;
  background-color: #95953d;
  overflow-x: hidden;
  color: #fff;
}

.container-fluid {
  padding-left: 15px;
  padding-right: 15px;
}

/* Header structure mirrors the existing inside pages. */
#header_nav {
  width: 100%;
height: 360px;
/*  height: 520px;*/
  background-color: #95953d;
  position: fixed;
  top: 0;
  left: 0;
  overflow: hidden;
  z-index: 1000;
}

#header_nav_mobile {
  display: none;
}

.hero,
.bookonline-hero {
  width: 100%;
  height: 360px;
  background-color: #95953d;
}

.hero-wrapper {
  width: 100%;
  background: none;
  position: absolute;
  z-index: 1;
}

.hero-grid {
  position: relative;
  width: 80%;
  margin: 0 auto;
}

.logo img {
  width: 180px;
  height: auto;
  padding-top: 40px;
}

.logo-mobile {
  display: none;
}

.title {
  font-family: 'Open Sans', sans-serif;
  color: white;
  font-size: 23px;
  letter-spacing: 3px;
  padding: 20px 0;
  max-width: 370px;
  position: relative;
  margin: 260px auto;
  text-align: center;
  border: solid 2px white;
}

/* Facebook positioning mirrors slide-menu.css without loading the slide menu system. */


#facebook-wrapper {
  position: fixed;
  height: 80px;
  width: 80px;
  right: 10%;
  z-index: 1002;
  top: 55px;
  text-align: center;
}

#facebook-mobile {
  display: none;
}

#facebook {
  position: relative;
  margin: 0 auto;
  height: 15px;
  width: 15px;
  border: 2px solid white;
  border-radius: 50%;
  padding: 10px;
  display: block;
  box-sizing: content-box;
}

#facebook img {
  width: 100%;
  display: block;
}

@media only screen and (max-width: 1000px) {
  #facebook-wrapper {
    height: 65px;
    width: 65px;
    right: 5%;
    top: 100px;
  }

  #facebook {
    display: none;
  }

  #facebook-mobile {
    display: block;
    position: relative;
    margin: 0 auto;
    height: 15px;
    width: 15px;
    border: 2px solid #d0d868;
    border-radius: 50%;
    padding: 10px;
    box-sizing: content-box;
  }

  #facebook-mobile img {
    width: 100%;
    display: block;
  }
}

@media only screen and (max-width: 750px) {
  #facebook-wrapper {
    height: 55px;
    width: 55px;
    right: 5%;
    top: 100px;
  }
}




/* Replaces .cd-nav-trigger. Same visual role, but links home instead of opening #cd-nav. */
.home-nav-trigger {
  position: fixed;
  z-index: 1003;
  right: 5%;
  top: 50px;
  height: 60px;
  width: 60px;
  background-color: transparent;
  border-style: solid;
  border-width: 2px;
  border-color: white;
  border-radius: 50%;
  overflow: hidden;
  white-space: nowrap;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: white;
  box-sizing: border-box;
}

.home-nav-trigger:hover,
.home-nav-trigger:focus,
.home-nav-trigger:visited {
  color: white;
  text-decoration: none;
}


.home-nav-icon{
    width:24px;
    height:24px;
}



.content,
.bookonline-content {
  margin: 360px 0 0 0;
  width: 100%;
  position: relative;
  z-index: 3;
  background-color: #95953d;
  padding: 0 0 60px 0;
}

.bookonline-intro {
  text-align: center;
  /* padding: 48px 0 34px; */ 
  padding: 24px 0 34px; 
}

.content h1,
.bookonline-intro h1 {
  text-transform: uppercase;
  font-family: 'Open Sans', sans-serif;
  font-weight: 400;
  color: white;
  font-size: 18px;
  letter-spacing: 2px;
  padding: 0 0 2px 0;
  margin: 0;
  text-align: center;
  border: none;
}

.bookonline-intro p {
  margin: 20px auto 0;
  color: white;
  font-family: 'Raleway', sans-serif;
  font-weight: 300;
  font-size: 14px;
  letter-spacing: 1px;
}

.sec-bar {
  width: 60px;
  height: 1.5px;
  background-color: white;
  margin: 12px auto 0;
}

.stores {
  width: min(1120px, 90%);
  margin: 0 auto;
  display: flex;
  gap: 40px;
  align-items: stretch;
}

.store-card {
  flex: 1 1 0;
  background: rgba(0, 0, 0, 0.75);
  color: white;
  padding: 48px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}

.store-card h2,
.store-card h3 {
  font-family: 'Open Sans', sans-serif;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: white;
  text-align: center;
  text-transform: uppercase;
}

.store-card h2 {
  margin: 0 0 28px;
  font-size: 1.7em;
}

.store-card h3 {
  margin: 34px 0 20px;
  font-size: 1.2em;
  letter-spacing: 0.17em;
}


.store-card a,

.store-card a:hover,
.store-card a:focus,
.store-card a:visited {
  color: white;
  text-decoration: none;
}

.store-address,
.store-phone {
  margin: 0 0 0 0;
  text-align: center;
  color: white;
  font-family: 'Raleway', sans-serif;
  font-size: 0.95em;
  font-weight: 300;
  letter-spacing: 0.11em;
  line-height: 1.6;
}

.hours-grid {
  width: 100%;
  max-width: 280px;
  margin: 0 auto 36px;
  color: white;
  font-family: 'Raleway', sans-serif;
  font-size: 0.9em;
  font-weight: 300;
  letter-spacing: 0.08em;
  line-height: 1.5;
}

.hours-row {
  display: grid;
  grid-template-columns: 
	  minmax(94px, 1fr) 
	  minmax(52px, auto) 
	  minmax(10px, auto)
	  minmax(52px, auto);
  column-gap: 10px;
  align-items: baseline;
  padding: 2px 0;
}


/*
.hours-row {
    grid-template-columns:
        minmax(85px, 1fr)
        minmax(68px, auto)
        max-content
        minmax(62px, auto);
}
*/

.hours-row span:nth-child(2),
.hours-row span:nth-child(4) {
  text-align: left;
  white-space: nowrap;
}

.hours-row span:nth-child(3) {
    justify-self: center;
    text-align: center;
}

.hours-row.closed span:nth-child(2) {
  grid-column: 2 / 5;
  text-align: left;
}

.store-buttons {
  margin-top: auto;
  display: flex;
  gap: 18px;
}

/*
.store-button {
  flex: 1 1 0;
  min-height: 56px;
  padding: 12px 14px;
  border: 2px solid white;
  background: #000;
  color: white !important;
  font-family: 'Open Sans', sans-serif;
  font-size: 0.9em;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-align: center;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.store-button:hover,
.store-button:focus,
.store-button:visited {
  background: #000;
  color: white !important;
  text-decoration: none;
}
*/


.store-button {
    flex: 1 1 0;
    min-height: 56px;
    padding: 12px 14px;
    border: 1.5px solid white;
    background: #000;
    color: white;
    font-family: 'Open Sans', sans-serif;
    font-size: 0.9em;
    font-weight: 400;
    letter-spacing: 0.12em;

    display: flex;
    align-items: center;
    justify-content: center;

    transition:
        transform .22s ease,
        letter-spacing .22s ease;
}

.store-button:hover,
.store-button:focus {
    transform: scale(1.04);
    letter-spacing: 0.16em;
}

.store-button:hover,
.store-button:focus {
    transform: scale(1.04);
    letter-spacing: 0.16em;
}

.store-button:active {
    transform: scale(0.98);
}




/* 159px white footer band, matching the rest of the site */
.bookonline-content {
  padding-bottom: 60px;
}

.bookonlinefooter {
  width: calc(100% + 30px);
  height: 159px;
  margin: 0 -15px;
  background-color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  clear: both;
}

.bookonlinefooter .footer {
  width: 100%;
  margin: 0;
  padding: 0 20px;
  text-align: center;
  box-sizing: border-box;
}

.bookonlinefooter .footer img {
  width: 140px;
  max-width: 100%;
  height: auto;
  margin: 0 auto 14px;
  display: block;
}

.bookonlinefooter .footer p {
  margin: 0;
  font-family: 'Raleway', sans-serif;
  font-weight: 300;
  font-size: 9px;
  letter-spacing: 1px;
  color: #95953d;
}

.bookonlinefooter .footer a,
.bookonlinefooter .footer a:hover,
.bookonlinefooter .footer a:focus,
.bookonlinefooter .footer a:visited {
  color: #95953d;
  text-decoration: none;
}

@media only screen and (max-width: 995px) {
  .bookonline-content {
    padding-bottom: 40px;
  }

  .bookonlinefooter {
    height: 159px;
  }

  .bookonlinefooter .footer img {
    width: 100px;
    margin-bottom: 10px;
  }

  .bookonlinefooter .footer p {
    font-size: 6px;
  }
}

@media only screen and (max-width: 480px) {
  .bookonlinefooter .footer p {
    font-size: 4px;
  }
}

@media only screen and (min-width: 1170px) {
  .home-nav-trigger {
    top: 40px;
  }
}

@media only screen and (max-width: 1000px) {
  .home-nav-trigger {
    top: 30px !important;
    border-color: #d0d868;
  }

  .home-nav-icon {
    color: #d0d868;
  }

  #facebook-wrapper {
    position: fixed;
    height: 65px;
    width: 65px;
    right: 5%;
    z-index: 1002;
    top: 100px;
    text-align: center;
  }

  #facebook {
    display: none;
  }

  #facebook-mobile {
    display: block;
    position: relative;
    margin: 0 auto;
    height: 15px;
    width: 15px;
    background-color: transparent;
    border-style: solid;
    border-width: 2px;
    border-color: #d0d868;
    border-radius: 50%;
    padding: 10px;
  }
}

@media only screen and (max-width: 995px) {
  #header_nav {
    display: none;
  }

  #header_nav_mobile {
    position: fixed !important;
    top: 0;
    left: 0;
    display: block !important;
    height: 160px;
    width: 100%;
    background-color: #95953d !important;
    z-index: 1000;
  }

  .logo {
    display: none;
  }

  .logo-mobile {
    z-index: 10000;
    display: block;
    margin-right: 5px;
  }

  .logo-mobile img {
    width: 110px;
    height: auto;
    padding-top: 20px;
  }

  .title-mobile {
    display: block;
    background-color: #d0d868;
    border: none;
    color: white;
    font-family: 'Open Sans', sans-serif;
    font-size: 1.5em;
    letter-spacing: 3px;
    padding: 10px 0;
    margin: 160px auto 30px auto;
    width: 100%;
    text-align: center;
    z-index: 40000;
  }

  .content,
  .bookonline-content {
    margin: 250px 0 0 0 !important;
    padding-bottom: 40px;
  }

  .bookonline-intro {
    padding: 0 0 28px;
  }

  .stores {
    width: 90%;
    display: block;
  }

  .store-card {
    width: 100%;
    padding: 36px 7%;
    margin-bottom: 28px;
  }
}

@media only screen and (max-width: 750px) {
  .home-nav-trigger {
    width: 50px;
    height: 50px;
  }

  .home-nav-icon {
    font-size: 27px;
  }

  #facebook-wrapper {
    height: 55px;
    width: 55px;
    right: 5%;
    top: 100px;
  }

  .store-card {
    padding: 30px 6%;
  }

  .store-card h2 {
    font-size: 1.25em;
  }

  .hours-grid {
    font-size: 0.78em;
    letter-spacing: 0.04em;
  }

  .hours-row {
    grid-template-columns: minmax(85px, 1fr) minmax(48px, auto) minmax(6px, auto) minmax(62px, auto);
    column-gap: 6px;
  }
    .hours-row span:nth-child(3) {
        justify-self: center; text-align: center;
}

  .store-buttons {
    gap: 6px;
  }

  .store-button {
    min-height: 58px;
    font-size: 0.78em;
    letter-spacing: 0.08em;
  }
}

@media only screen and (max-width: 480px) {
  .footer p {
    font-size: 4px;
  }
}

@media only screen and (max-width: 380px) {
  .store-buttons {
    flex-direction: column;
  }

  .store-button {
    min-height: 50px;
  }
}