/* Forces the background on the jotform to not be white when using Bootstrap's Dark theme */

iframe[src*="jotform.com"] {
  color-scheme: normal !important;
}

body {
  background: #000;
  color: #fff;
  font-family: 'Saira';
  font-size: 18px;
  line-height: 1.4;
}

@media (min-width: 576px) {
  body {
    font-size: 20px;
  }
}

@media (min-width: 1200px) {
  body {
    font-size: 22px;
  }
}

/* Misc Styling */

.svg-drop-shadow {
  filter: drop-shadow(2px 2px 2px rgba(0, 0, 0, 1));
}

.tooltip {
  --bs-tooltip-zindex: 1000;
  z-index: 1000 !important;
}

.flip-x {
  transform: scaleX(-1);
}

.scroll-margin {
  scroll-margin: 165px;
}

@media (min-width: 768px) {
  .scroll-margin {
    scroll-margin: 150px;
  }
}

/* Hide tooltips globally by default */

.tooltip {
  display: none !important;
}

/* Only enable them on devices where hover states actually make sense */

@media (hover: hover) and (pointer: fine) {
  .tooltip {
    display: block !important;
  }
}

/* Text Styling */

a {
  text-decoration: none;
  text-shadow: none;
}

a:hover {
  text-decoration: none;
}

.link-warning {
  transition: .3s ease-in-out;
}

.link-warning:focus, .link-warning:hover {
  color: #c89600 !important;
}

.line-height-1 {
  line-height: 1.0;
}

p {
  font-size: 17px;
  text-align: justify;
  -webkit-hyphens: auto;
  -moz-hyphens: auto;
  -ms-hyphens: auto;
  hyphens: auto;
}

@media (min-width: 992px) {
  p {
    font-size: 18px;
  }
}

.no-hyphens {
  -webkit-hyphens: none;
  -moz-hyphens: none;
  -ms-hyphens: none;
  hyphens: none;
}

.text-justify-xs {
  text-align: left;
}

@media (min-width: 576px) {
  .text-justify-xs {
    text-align: justify;
  }
}

.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
  margin-bottom: .5rem;
  font-family: inherit;
  font-weight: 700;
  line-height: 1.3;
  text-shadow: 1px 1px 1px rgba(0,0,0,0.5);
  letter-spacing: -.2px;
}

.text-shadow {
  text-shadow: 1px 1px 1px rgba(0,0,0,0.5);
}

.text-shadow-dk {
  text-shadow: 1px 1px 5px rgba(0,0,0,0.7), -1px -1px 5px rgba(0,0,0,0.7);
}

.hero-text {
  font-size: 20px;
  line-height: 1.3;
  font-family: 'Open Sans';
}

@media (min-width: 576px) {
  .hero-text {
    font-size: 24px;
    line-height: 1.4;
  }
}

@media (min-width: 768px) {
  .hero-text {
    font-size: 28px;
    line-height: 1.4;
  }
}

@media (min-width: 1400px) {
  .hero-text {
    font-size: 32px;
  }
}

.question-text {
  font-family: 'Open Sans';
  font-weight: 700;
  font-size: 16px;
  -webkit-hyphens: none;
  -moz-hyphens: none;
  -ms-hyphens: none;
  hyphens: none;
}

@media (min-width: 768px) {
  .question-text {
    font-size: 18px;
  }
}

@media (min-width: 1400px) {
  .question-text {
    font-size: 21px;
  }
}

/* Button Styling */

.btn {
  transition: all .3s ease-in-out !important;
  letter-spacing: -.5px;
  line-height: 1.2;
}

.btn-warning {
  --bs-btn-bg: #ffc107;
  --bs-btn-hover-bg: #c89600;
  --bs-btn-active-color: #000;
  --bs-btn-active-bg: #c89600;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-bg: #856400;
  border: none;
  box-shadow: none;
}

.btn-responsive {
  --bs-btn-padding-x: 0.75rem;
  --bs-btn-padding-y: 0.375rem;
  --bs-btn-font-size: 1.2rem;
}

@media (min-width: 576px) {
  .btn-responsive {
    --bs-btn-padding-y: 0.5rem;
    --bs-btn-padding-x: 1rem;
    --bs-btn-font-size: 1.4rem;
  }
}

@media (min-width: 992px) {
  .btn-responsive {
    --bs-btn-padding-y: 0.5rem;
    --bs-btn-padding-x: 1rem;
    --bs-btn-font-size: 1.6rem;
  }
}

.btn-info {
  width: 100%;
  max-width: 270px;
}

@media (min-width: 576px) {
  .btn-info {
    max-width: 350px;
  }
}

/* Modal Open */

@media (min-width: 768px) {
  body.modal-open .navbar, body.modal-open .footer-dark, body.modal-open .sections {
    width: calc(100% + var(--bs-scrollbar-width, 17px));
    margin-right: calc(-1 * var(--bs-scrollbar-width, 17px));
    padding-right: var(--bs-scrollbar-width, 17px);
    box-sizing: border-box;
  }
}

/* --- Tablet/Mobile Logic (Touch Users Only) --- */

@media screen and (pointer: coarse) {
  body.modal-open {
    padding-right: 0 !important;
    width: 100% !important;
    position: fixed;
    overflow: hidden !important;
  }
}

/* Modal Styling */

.modal-text {
  font-size: 31px;
  line-height: 1.2;
  color: #000;
  margin-bottom: 0;
  font-weight: 900;
}

.modal-backdrop {
  opacity: .7 !important;
}

.btn-close {
  filter: invert(0%);
}

/* Contact Form Modal Styling (Dark Mode Variant) */

/* Maintain a hard, unyielding footprint while loading */

#jotformContainer {
  position: relative;
  min-height: 525px;
  height: auto;
}

/* Position the loader like a blanket over the iframe area */

#form-loader {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #212529;
  z-index: 10;
  transition: opacity 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* The loader is gone visually when this class is added */

#form-loader.fade-out {
  opacity: 0;
  pointer-events: none;
}

/* Base iframe rules */

.modal-form-iframe {
  width: 100%;
  height: 515px;
  border: none;
  background: transparent !important;
  color-scheme: only light !important;
}

/* Relative positioning context for the loader element inside the modal */

/* Towns styling */

.list-towns {
  line-height: 1.3;
  font-size: 15px;
}

@media (min-width: 320px) {
  .list-towns {
    column-count: 2;
    column-gap: 25px;
  }
}

@media (min-width: 576px) {
  .list-towns {
    column-count: 3;
    column-gap: 50px;
  }
}

@media (min-width: 992px) {
  .list-towns {
    column-count: 4;
  }
}

@media (min-width: 1200px) {
  .list-towns {
    column-count: 5;
  }
}

.list-towns li {
  margin-bottom: 10px;
}

@media (min-width: 992px) {
  .list-towns {
    margin-left: calc(-26px + 3vw);
    line-height: 1.3;
  }
}

.list-towns li {
  margin-bottom: 7px;
}

