#TB_title {
  background: none;
  border-bottom: 0;
  align-self: flex-end;
  width: 100%;
  height: 2.25rem;
  margin: var(--wp--preset--spacing--24) 0;
  padding: 0 var(--wp--preset--spacing--24);
  height: auto !important;
}
#TB_ajaxContent {
  scrollbar-color: var(--wp--preset--color--primary) var(--wp--preset--color--light-blue);
}
#TB_ajaxContent .wrapper {
  display: flex;
  gap: var(--wp--preset--spacing--24);
  justify-content: center;
  flex-direction: column;
  align-items: center;
  padding: 0 var(--wp--preset--spacing--22) var(--wp--preset--spacing--40);
}
#TB_window {
  background-color: transparent;
  box-shadow: none;
  border: none;
}
#TB_closeWindowButton {
  width: 1.5rem;
  height: 1.5rem;
  z-index: 999;
  position: static;
  float: right;
}
.tb-close-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='34' height='34' fill='none' viewBox='0 0 34 34'%3E%3Cpath stroke='%23000' stroke-linecap='square' stroke-width='3' d='M31 3.1 3 31m28-.1L3 3'/%3E%3C/svg%3E");
}
#TB_window img#TB_Image {
    margin: 0;
    border: 0 !important;
    flex: 1;
    width: 100%;
    border-radius: 12px;
}
#TB_prev, #TB_next {
    background: var(--wp--preset--color--primary);
}



/**
 * Custom overlays
 * --------------------------------------------------------------------------- */

/* ====== Hero video overlay ====== */

#TB_window.hero-video-overlay {
  top: calc(50% - 2.25rem);
}
#TB_window.hero-video-overlay .tb-close-icon {
  filter: invert(1);
}


/* ====== Contact form overlay ====== */

#TB_window.contact-overlay {
  background-color: var(--wp--preset--color--light-blue);
}
#TB_window.contact-overlay::after {
  content: '';
  position: relative;
  width: 100%;
  height: 3rem;
  bottom: 0;
  z-index: 9;
  background-color: transparent;
}

#TB_ajaxContent p {
  padding: unset;
}

#TB_ajaxContent .cf7-checkboxes {
  padding: 5px 0px 5px 0px;
}

.message-wrapper{
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin: 3rem;
  text-align: center;
  align-items: center;
}