/* Drupal 11 compatibility layer for the retained Wunderkind presentation. */
#preloader {
  opacity: 1;
  transition: opacity 250ms ease, visibility 250ms ease;
}

#preloader.is-hidden {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

#home-slideshow {
  position: relative;
  height: min(700px, 100vh) !important;
  min-height: 560px;
  overflow: hidden;
}

#slider-home > div {
  display: none;
}

#slider-home > div.is-active {
  display: block;
}

#slider-home:not(.is-ready) > div:first-child {
  display: block;
}

.wow {
  visibility: visible !important;
}

#fixed-navbar {
  position: sticky;
  z-index: 1000;
  top: 0;
}

#grid-container .grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px;
  padding: 0;
  list-style: none;
}

#grid-container .cbp-item {
  position: static !important;
  display: block !important;
  width: auto !important;
  opacity: 1 !important;
  transform: none !important;
}

#grid-container figure,
#grid-container figure img {
  width: 100%;
}

.haag-certification-badge {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 150px;
  min-height: 150px;
  border: 8px solid #d92127;
  border-radius: 50%;
  color: #17365d;
  font-family: Montserrat, sans-serif;
  font-size: 31px;
  font-weight: 700;
  line-height: 1;
  text-align: center;
}

.haag-certification-badge span {
  margin-top: 8px;
  font-size: 12px;
  line-height: 1.2;
  text-transform: uppercase;
}

.visually-hidden.focusable:focus {
  position: fixed !important;
  z-index: 10000;
  top: 0;
  left: 0;
  width: auto;
  height: auto;
  padding: 12px 18px;
  clip: auto;
  background: #fff;
  color: #111;
}

.standard-page {
  min-height: 60vh;
  padding-top: 80px;
  padding-bottom: 80px;
}

.site-header {
  border-bottom: 1px solid #e5e5e5;
  background: #fff;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 92px;
}

.site-header .navbar-brand img {
  max-height: 74px;
  width: auto;
}

.site-phone {
  color: #333;
  font-size: 20px;
  font-weight: 700;
}

.webform-submission-form .form-item {
  margin-bottom: 18px;
}

.webform-submission-form input[type="text"],
.webform-submission-form input[type="email"],
.webform-submission-form input[type="tel"],
.webform-submission-form textarea,
.webform-submission-form select {
  display: block;
  width: 100%;
  min-height: 42px;
  padding: 10px 12px;
  border: 1px solid #ccc;
  border-radius: 0;
  background: #fff;
}

.webform-submission-form input[type="submit"] {
  border: 0;
  background: #d92127;
  color: #fff;
}

.url-textfield,
.js-form-type-vertical-tabs,
.filter-wrapper {
  display: none;
}

@media (max-width: 767px) {
  #home-slideshow {
    min-height: 620px;
  }

  #grid-container .grid {
    grid-template-columns: 1fr;
  }

  .site-header .container {
    min-height: 76px;
  }

  .site-header .navbar-brand img {
    max-height: 58px;
  }

  .site-phone {
    font-size: 16px;
  }
}
