/* reduce flicker on site load */
.site.loading {
  opacity: 0;
}
.age-gate {
  --form-margin: 52px;
  --railsGap: 10px;
  --widthGap: 20px;
  --fontPrimary: var(--font-family-industry);
  --fontSecondary: var(--font-family-civane);
  --mobileHeight: 725px;
  --ag-footer-font-size: 8px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: #000;
  color: #fff;
  text-align: center;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  overflow: auto;
}
.age-gate:before, .age-gate:after {
  content: '';
  position: absolute;
  width: 1px;
  height: 100%;
  min-height: var(--mobileHeight);
  background-color: var(--color-gold);
}
.age-gate:before {
  left: var(--railsGap);
}
.age-gate:after {
  right: var(--railsGap);
}
.age-gate .rails-top {
  position: fixed;
  height: 100%;
  width: 100%;
}
.age-gate .rails-top:before {
  left: var(--railsGap);
}
.age-gate .age-gate-background {
  margin: auto;
  overflow: hidden;
  height: 100%;
  width: 100%;
  z-index: -1;
  position: fixed;
}
.age-gate .age-gate-background img {
  min-height: var(--mobileHeight);
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: 12%;
}
.age-gate .age-gate-background:before, .age-gate .age-gate-background:after {
  position: fixed;
  content: "";
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  height: 100%;
  width: 100%;
  mix-blend-mode: multiply;
}
.age-gate .age-gate-background:before {
  background: url("/wp-content/themes/limestonebranch/img/paper-texture-light.jpg") repeat;
}
.age-gate .age-gate-background:after {
  background: rgba(0, 0, 0, .58);
}
.age-gate .container-fluid {
  position: relative;
  height: 100%;
  width: 100%;
  margin: 0;
  padding: 0;
}
.age-gate .container-content {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}
.age-gate .container-content .age-gate-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 50px 20px 20px;
  font-size: 20px;
  line-height: 26px;
  color: #fff;
  font-family: var(--fontPrimary);
  font-weight: 500;
  text-transform: uppercase;
  width: calc(100% - var(--widthGap));
  z-index: 1;
}
.age-gate .container-content .age-gate-form .header {
  display: none;
  max-width: 600px;
}
.age-gate .container-content .age-gate-form.not-valid-age .header {
  display: flex;
}
.age-gate .age-gate-input {
  color: var(--color-dark-brown);
  font-family: var(--fontSecondary);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 1px;
  line-height: 30px;
  padding: 0;
  border: 1px solid transparent;
  height: 54px;
  width: 100%;
  display: block;
  text-align: center;
}
.age-gate .has-error .age-gate-input {
  color: transparent;
  border: 0;
  border-left: 10px solid #de0000;
}
.age-gate .age-gate-input::placeholder {
  color: inherit;
}
.age-gate .age-gate-input, .age-gate #btn-age-gate {
  height: 54px;
  max-width: 154px;
  width: 100%;
  border: 1px solid transparent;
}
.age-gate #btn-age-gate {
  font-size: 13px;
  letter-spacing: 1.95px;
}
.age-gate .dob-separator {
  font-size: 2em;
  vertical-align: baseline;
}
.age-gate h1 {
  font-size: clamp(1rem, calc(2rem + 2vw), 3rem);
}
.age-gate .logo, .age-gate .form-headline {
  margin-bottom: var(--form-margin);
}
.age-gate .logo img {
  width: 100%;
  max-width: 90px;
}
.age-gate .form {
  color: #fff;
  display: flex;
  flex-grow: 1;
  flex-wrap: wrap;
  justify-content: center;
}
.age-gate .form-headline {
  font-size: 20px;
  font-weight: bold;
  letter-spacing: 3px;
  line-height: 1.25;
  display: flex;
  justify-content: center;
  width: 100%;
}
.age-gate .form-headline p {
  margin: 0;
  max-width: 600px;
}
@media (min-width: 600px) {
  .age-gate .form-headline {
    font-size: 32px;
    line-height: 1.125;
 }
}
.age-gate .error {
  color: var(--color-dark-brown);
  font-size: 0.8em;
  line-height: 1;
  margin: 0.25em 0 0 0;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.age-gate .btn.btn-dob {
  cursor: pointer;
  opacity: 1;
  text-transform: uppercase;
  transition: none;
  transform: translateY(0);
}
.age-gate .inputs-dob {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-bottom: 25px;
  text-align: center;
  cursor: pointer;
  width: 100%;
}
.age-gate .inputs-dob label {
  display: none;
}
.age-gate .inputs-dob span {
  position: relative;
}
.age-gate .age-gate-footer {
  color: #d9d9d9;
  border-top: 1px solid var(--color-gold);
  border-bottom: 1px solid var(--color-gold);
  font-family: var(--fontPrimary);
  font-size: var(--ag-footer-font-size);
  font-weight: normal;
  line-height: 18px;
  letter-spacing: calc(var(--ag-footer-font-size) * .14);
  padding: 17px 5px;
  position: sticky;
  bottom: 0;
  top: 100%;
  margin: var(--railsGap);
  text-transform: uppercase;
  text-align: center;
  width: calc(100% - var(--widthGap));
}
.age-gate .age-gate-footer a {
  color: inherit;
  font: inherit;
}
.age-gate .age-gate-footer p {
  margin: 0 10px;
}
@media (min-width: 600px) {
  .age-gate {
    --railsGap: 20px;
    --widthGap: 40px;
    --ag-footer-font-size: 12px;
 }
  .age-gate .container-content .age-gate-form {
    height: 400px;
    width: 700px;
    padding-top: 250px;
 }
  .age-gate .logo img {
    max-width: 125px;
 }
  .age-gate .inputs-dob {
    flex-direction: row;
    width: auto;
    margin-right: 10px;
 }
  .age-gate .inputs-dob label {
    display: block;
 }
  .age-gate .age-gate-footer {
    font-size: 13px;
    line-height: 23px;
    padding: 30px 5px;
 }
}
