@import url("https://use.typekit.net/fnu7ywo.css");

body {
  background: black;
  margin: 0;
  padding: 0;

  /*min-height: 760px;*/
  position: relative;
  height: 100vh;
  max-height: 100vh;

  /*overflow: hidden;*/
}

#container {
  max-width: 900px;
  margin: 0 auto -173px;
  height: auto;
  min-height: 100%;
  margin-bottom: -173px;
}

.overview-locations .logo {
  position: absolute;
  top: 5%;
  left: 50%;
  transform: translate(-50%, 0);
  padding: 20px 20px 0px;
  background-color: transparent;
  transition: 0.5s ease;
  z-index: 5;
  pointer-events: none;
}

.overview-locations .logo svg {
  width: 195px;
  height: auto;
  opacity: 0;
  transition: fill 0.5s ease, opacity 3s;
  max-width: 20vw;
}

.location-item {
  opacity: 0;
  transition: opacity 0.5s;
  transition-delay: 1s;
}

.location-item.load,
.overview-locations .logo.load svg {
  opacity: 1;
}

.locations-container {
  display: flex;
  flex-direction: row;
  height: 100vh;
  position: relative;
  align-items: stretch;
}

.location-item {
  flex: 1;
  height: 100vh;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  position: relative;
  text-align: center;
  overflow: visible;
}

.location-item .link-overlay {
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
  left: 0;
  z-index: 21;
}

.image-overlay {
  position: absolute;
  top: 0;
  width: calc(100% + 20px);
  height: 100%;
  left: 0;
  -webkit-transition: all 0.5s ease;
  -moz-transition: all 0.5s ease;
  -ms-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
  transition: all 0.5s ease;
  opacity: 0;
  background-size: cover;
}

.btn {
  display: inline-block;
  line-height: 1;
  cursor: pointer;
}

.btn a {
  display: block;
  padding: 15px 20px;
  -webkit-transition: background-color 0.5s ease, color 0.5s ease;
  -moz-transition: background-color 0.5s ease, color 0.5s ease;
  -ms-transition: background-color 0.5s ease, color 0.5s ease;
  -o-transition: background-color 0.5s ease, color 0.5s ease;
  transition: background-color 0.5s ease, color 0.5s ease;
  border: 1px solid white;
  font-family: acumin-pro, sans-serif;
  font-style: normal;
  font-weight: 300;
  font-size: 17px;
  color: white;
}

.location-item .link-overlay:hover {
  cursor: pointer;
}

.location-item .link-overlay + .image-overlay {
  left: -20px;
}

.location-item .link-overlay:hover + div.image-overlay {
  opacity: 0.68;
  left: -20px;
}

.location-item .link-overlay:hover + div + div .btn a {
  background-color: white;
  color: black;
}

.location-item .text {
  text-align: center;
  padding: 0 30px;
  /* position: absolute;
  bottom: 15%;
  left: 50%;
  transform: translateX(-50%); */
}

.location-item a:hover p {
  opacity: 1;
  font-size: 12px;
  max-height: 999em;
}

.location-item a:hover p,
.location-item a:hover h3 {
  color: white;
}

.text {
  position: relative;
  top: 50%;
  transition: 0.5s ease;
  z-index: 20;
  padding: 0 30px;
  transform: translateY(-50%);
}

/* Removed old hover effects for left/right positioning */

@media (min-width: 700px) {
  /* Removed old hover effects for left/right positioning */
}

.location-item p {
  margin: 0;
  margin-top: 10px;
  max-width: 250px;
  color: black;
  font-family: Arial, sans-serif;
  font-size: 12px;
  display: inline-block;

  opacity: 0;
  max-height: 0;
  font-size: 0;
  transition: 0.5s ease;
}

a {
  text-decoration: none;
}

h1 {
  display: none;
  font-family: Arial, sans-serif;
  font-size: 15px;
  text-align: center;
  font-weight: normal;
  margin-top: 0;
  line-height: 1.5;
}

@media (max-width: 1080px) {
  .text {
    padding: 0 12vw;
  }
}

@media (max-width: 768px) {
  .overview-locations .logo {
    position: relative;
    top: 0;
    left: 0;
    transform: none;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 5svh;
    transition: 0.5s ease;
  }

  #open-contact + label {
    top: 0;
    bottom: unset !important;
  }

  .overview-locations .logo svg {
    max-width: 15svh;
  }

  .locations-container {
    flex-direction: column;
    height: auto;
    height: 75svh;
  }

  .location-item {
    width: 100vw;
    height: auto;
    flex: none;
    padding: 5svh 0;
  }

  .text p {
    display: none;
  }
  .text h3 {
    text-align: center;
  }
  .text {
    text-align: center;
  }

  .location-item .text {
    /* padding: 0 12vw;
    position: absolute;
    bottom: 15%;
    left: 50%;
    transform: translateX(-50%); */
  }

  .location-item .image-overlay {
    opacity: 0.5;
    opacity: 0;
    width: 100%;
    height: calc(100% + 20px);
  }

  .location-item .link-overlay + .image-overlay {
    left: 0px;
    top: -20px;
  }

  .location-item .link-overlay:hover + div.image-overlay {
    opacity: 0;
    left: 0px;
    top: -20px;
  }
}

/* Removed old commented-out mobile styles */

/* FORM OVERLAY */
html {
  font-size: 62.5%;
}

body {
  font-family: acumin-pro, sans-serif;
  font-style: normal;
  font-weight: 300;
  font-size: 1.6rem;
  line-height: 2.6rem;
  color: white;
}

.container-wrapper {
  width: 1180px;
  max-width: calc(100% - 100px);
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 1280px) {
  .container-wrapper {
    position: absolute;
    top: calc(50% - 50px);
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
  }
}

@media (max-width: 750px) {
  .container-wrapper {
    max-width: calc(100% - 60px);
  }
}

.collapsible-contact-block {
  background-color: black;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100vw;
  height: 0;
  overflow: hidden;
  z-index: 30;
  opacity: 0;
  -webkit-transition: opacity 0.3s, transform 0.3s, height 0.3s;
  -moz-transition: opacity 0.3s, transform 0.3s, height 0.3s;
  -ms-transition: opacity 0.3s, transform 0.3s, height 0.3s;
  -o-transition: opacity 0.3s, transform 0.3s, height 0.3s;
  transition: opacity 0.3s, transform 0.3s, height 0.3s;
  pointer-events: none;

  -webkit-transform: translateY(100%);
  -moz-transform: translateY(100%);
  -ms-transform: translateY(100%);
  -o-transform: translateY(100%);
  transform: translateY(100%);

  font-weight: 200;

  color: #9f9990;
}

.light-text {
  color: white;
}

div.grid {
  display: block;
  margin-left: -6px;
  position: relative;
  width: calc(100% + 12px);
}

div.grid > div[class*="grid-"] {
  display: inline-block;
  position: relative;
  vertical-align: top;
  width: 100%;
}

div.grid > div[class*="grid-"] .content {
  padding-left: 6px;
  padding-right: 6px;
  width: calc(100% - 12px);
}

div.grid > div.grid-3 {
  width: calc(100% / 12 * 3);
}
div.grid > div.grid-4 {
  width: calc(100% / 12 * 4);
}
div.grid > div.grid-5 {
  width: calc(100% / 12 * 5);
}
div.grid > div.grid-6 {
  width: calc(100% / 12 * 6);
}
div.grid > div.grid-7 {
  width: calc(100% / 12 * 7);
}
div.grid > div.grid-9 {
  width: calc(100% / 12 * 9);
}

.middle-form-wrapper {
  padding-left: 30px;
  padding-right: 60px;
}

.social-icons {
  margin-bottom: 2rem;
}

.social-icons svg path {
  fill: white;
}

.social-icons a:hover svg path {
  fill: #9f9990;
}

.close-container {
  margin-top: 6rem;
  padding-right: 6rem;
  text-align: right;
}

.close-container svg {
  display: inline-block;
  cursor: pointer;
}

.logo-container svg {
  width: 53.61px;
  height: 53.61px;
}

.logo-container {
  padding-top: 0.6rem;
  margin-bottom: 3.3rem;
}

#open-contact {
  display: none;
}

#open-contact + label {
  padding: 17px 27px;
  line-height: 1;
  color: white;
  background-color: black;
  font-size: 15px;
  font-family: acumin-pro, sans-serif;
  font-weight: 300;
  position: absolute;
  bottom: 0;
  right: 30px;
  z-index: 22;
  cursor: pointer;
}

.grecaptcha-badge {
  display: none;
  visibility: hidden;
}

.collapsible-contact-block.open,
#open-contact:checked + label + .collapsible-contact-block {
  opacity: 1;
  height: 100vh;
  min-height: 100vh;
  pointer-events: auto;
  -webkit-transform: translateY(0px);
  -moz-transform: translateY(0px);
  -ms-transform: translateY(0px);
  -o-transform: translateY(0px);
  transform: translateY(0px);
  overflow: scroll;
}

a {
  color: inherit;
}

form label {
  margin-bottom: 0.5rem;
  color: #e6e2de;
  line-height: 1.6rem;
}

form fieldset {
  margin-bottom: 0.8rem;
}

form textarea {
  height: 6.7rem;
}

.collapsible-contact-block .success-message {
  color: green;
  font-size: 1.4rem;
  margin-bottom: 2rem;
}

form .error-message {
  color: red;
  font-size: 1.4rem;
}

form input,
form textarea,
form select {
  background-color: #151515;
  border: 1px solid #333333;
  color: white;
  margin-bottom: 0.4rem;
}

form select {
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 640"><path d="M297.4 470.6C309.9 483.1 330.2 483.1 342.7 470.6L534.7 278.6C547.2 266.1 547.2 245.8 534.7 233.3C522.2 220.8 501.9 220.8 489.4 233.3L320 402.7L150.6 233.4C138.1 220.9 117.8 220.9 105.3 233.4C92.8 245.9 92.8 266.2 105.3 278.7L297.3 470.7z" fill="white"/></svg>');
  background-repeat: no-repeat;
  background-position: calc(100% - 10px) center;
  background-size: 16px 16px;
}

form [type="checkbox"]:not(:checked) + label,
form [type="checkbox"]:checked + label {
  color: white;
  font-size: 1.3rem;
  line-height: 1.4;
  font-weight: 200;
  margin-top: 0.6rem;
  max-width: 290px;
}

form [type="checkbox"]:not(:checked) + label:before,
form [type="checkbox"]:checked + label:before {
  background-color: white;
}

form [type="checkbox"]:checked + label:after {
  width: 14px;
  height: 14px;
  top: 3px;
  left: 3px;
  z-index: 1;
}

form button[type="submit"] {
  color: white;
  border-color: white;
  padding-left: 0;
  padding-right: 0;
  margin-top: 1.4rem;
  font-weight: 200;
}

@media (max-width: 1280px) {
  div.grid > div.grid-3,
  div.grid > div.grid-9 {
    width: 100%;
    display: block;
    margin-bottom: 50px;
  }

  div.grid > div.grid-4,
  div.grid > div.grid-5,
  div.grid > div.grid-6 {
    width: 50%;
  }

  .middle-form-wrapper {
    padding-left: 0;
    padding-right: 30px;
  }
}

@media (max-width: 700px) {
  div.grid > div.grid-4,
  div.grid > div.grid-5,
  div.grid > div.grid-6 {
    width: 100%;
    display: block;
    padding-bottom: 0px;
  }
}
