/* GENERAL */
.bookingEngine .flex {
  display: flex;
  align-items: center;
}

.bookingEngine .header {
  padding: 15px 0;
}

@media screen and (min-width: 550px) {
  .bookingEngine .header {
    padding: 35px 0;
  }
}

.bookingEngine a,
.bookingEngine a::after {
  transition: color .3s ease;
}

/* LOGO */
.bookingEngine .header .logo img {
  max-height: 40px;
  max-width: 100%;
}

@media screen and (min-width: 550px) {
  .bookingEngine .header .logo img {
    max-height: 55px;
  }
}

/* MENU ITEMS */
.bookingEngine .header .menu a {
  background-color: transparent;
  color: var(--c-black);
  font-family: var(--font-primary);
  font-weight: 400;
  font-size: 18px;
}

.bookingEngine .header .menu a:hover {
  background-color: transparent;
  color: var(--c-primary);
  text-decoration: none;
}

@media screen and (min-width: 550px) {
  .bookingEngine .header .menu a,
  .bookingEngine .header .menu .home span,
  .bookingEngine .header .menu a:not(:last-child)::after {
    display: initial;
  } 

  .bookingEngine .header .menu a:not(:last-child)::after {
    content: '|';
    position: relative;
    top: -1px;
  }
}

/* FOOTER */
.bookingEngine main {
  min-height: calc(100vh - 188px - 165px); /*hier die Höhen von Header und Footer abziehen*/
}

.bookingEngine main p.text-center:has(.fa-cog.fa-spin),
.bookingEngine main .fa-cog.fa-spin {
  display: none !important;
}

.abm-hidden:has(#abmCalendarArea) {
  display: block !important;
  transition: height 5s ease;
}

.bookingEngine footer {
  padding: 60px 0;
  background-color: var(--c-grey-light);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.bookingEngine footer::before {
  content: ' ';
  display: block;
  position: absolute;
  left: 0px;
  top: 10px;
  width: 100%;
  height: 100%;
  opacity: 0.6;
  background-image: url('/assets/abm/img/hoehenprofil.svg');
  background-repeat: no-repeat;
  background-position: 50% 0;
  background-size: cover;
  -webkit-mask-image: linear-gradient(0, #000 58.96%, transparent);
  mask-image: linear-gradient(0, #000 58.96%, transparent);
  -webkit-mask-size: 100%;
  mask-size: 100%;
  width: 1000px;
  height: 1000px;
  z-index: -1;
}

@media (width >= 1200px) {
  .bookingEngine footer::before {
    content: ' ';
    display: block;
    position: absolute;
    left: -400px;
    top: -30px;
  }

  .bookingEngine footer::after {
    content: ' ';
    display: block;
    position: absolute;
    right: -400px;
    bottom: -60px;
    width: 100%;
    height: 100%;
    opacity: 0.6;
    background-image: url('/assets/abm/img/hoehenprofil.svg');
    background-repeat: no-repeat;
    background-position: 50% 0;
    background-size: cover;
    -webkit-mask-image: linear-gradient(180deg, #000 58.96%, transparent);
    mask-image: linear-gradient(180deg, #000 58.96%, transparent);
    -webkit-mask-size: 100%;
    mask-size: 100%;
    width: 1000px;
    height: 1000px;
    z-index: -1;
  }
}

.bookingEngine footer .socialIcons a,
.bookingEngine footer .legals a {
  color: var(--c-grey);
  text-decoration: none;
}

.bookingEngine footer .socialIcons a:hover,
.bookingEngine footer .socialIcons a:active,
.bookingEngine footer .socialIcons a:focus,
.bookingEngine footer .legals a:hover,
.bookingEngine footer .legals a:active,
.bookingEngine footer .legals a:focus {
  color: var(--c-primary);
}

.bookingEngine footer svg {
  height: 30px;
  width: 30px;
}

.bookingEngine footer .legals,
.bookingEngine footer .socialIcons {
  width: 100%;
  padding: 5px 15px;
  text-align: center;
}

.bookingEngine footer .legals a:not(:last-child)::after {
  content: '|';
  position: relative;
  top: -1px;
  padding-left: 5px;
}

.bookingEngine footer .legals a:not(:last-child):hover::after {
  color: var(--c-primary-dark);
}

@media screen and (min-width: 550px) {
  .bookingEngine footer .row {
    display: flex;
    align-items: center;
  }

  .bookingEngine footer .socialIcons {
    width: 30%;
    text-align: left;
  }

  .bookingEngine footer .legals {
    width: 70%;
    text-align: right;
    font-size: 18px;
  }
}