html {
  overflow-y: scroll;
  height: -webkit-fill-available;
  font-size: 18px;
}

@media screen and (max-width: 2000px) {
  html {
    font-size: 16px;
  }
}


body {
  margin: 0;
  padding: 0;
  background: #ffffff;
  font-family: 'Open Sans', sans-serif;
  color: #565555;
}

h1, h2, h3, h4, #footer {
  font-family: ''Open Sans'', serif;
}
.h1 {
  font-family: ''Open Sans'', serif;
}
h1 strong,
.h1 strong {
  font-weight: normal;
}

h1, h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.4rem;
}

a, a:visited, a:hover, a:active {
  color: #565555;;
  text-decoration: underline;
}


#menu {
  position: fixed;
  opacity: 0;
  visibility: hidden;
  background: #ffffff;
  right: 3px;
  top: 3px;
  height: auto;
  padding: 90px 10px 10px 30px;
  border-radius: 10px;
  transition: opacity 0.3s, visibility 0.3s;
  box-shadow: 0 5px 10px 0 #00000026;
  z-index: 1;
}
@media screen and (max-width: 980px) {
  #menu {
    right: 0;
    top: 0;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    width: 100%;
    padding: 15px 10px 10px 10px;
  }
}
#menu.open {
  opacity: 1;
  visibility: visible;
}
#menu a {
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  height: 50px;
  padding: 0 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
#menu a:hover {
  color: #cc0000;
}
@media screen and (max-width: 980px) {
  #menu a {
    justify-content: flex-start;
  }
}
#menu-toggle {
  position: fixed;
  right: 5px;
  top: 5px;
  width: 80px;
  height: 80px;
  z-index: 2;
  background: white;
  border-radius: 40px;
  transition: visibility 1s, opacity 1s;
  cursor: pointer;
}
#menu-toggle span {
  /* display: block; */
  /* margin: 10px; */
  height: 3px;
  background: #565555;
  position: absolute;
  width: 40px;
  left: 20px;
  transition: opacity 0.2s, transform 0.2s, top 0.2s;
}
@media (hover: hover) {
  #menu-toggle:hover span {
    background: #cc0000;
  }
}
#menu-toggle span.span1 {
  transform: rotate(0deg);
  top: 26px;
}
#menu-toggle span.span2 {
  top: 38px;
}
#menu-toggle span.span3 {
  transform: rotate(0deg);
  top: 50px;
}
#menu-toggle small {
  background: #cc0000;
  color: white;
  width: 20px;
  height: 20px;
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 10px;
}
#menu.open + #menu-toggle small,
.scrolled-down #menu-toggle small {
  display: none;
}

#menu small {
  background: #cc0000;
  color: white;
  width: 20px;
  height: 20px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border-radius: 10px;
  margin-right: 10px;
}
.scrolled-down #menu small {
  display: none;
}

#menu.open + #menu-toggle span.span1 {
  transform: rotate(45deg);
  top: 38px;
}
#menu.open + #menu-toggle span.span2 {
  opacity: 0;
}
#menu.open + #menu-toggle span.span3 {
  transform: rotate(-45deg);
  top: 38px;
}



.separator {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  background: white;
  height: 50px;
  -webkit-transform: translate3d(0,0,0);
}
.separator span {
  margin-left: 190px;
  margin-right: 30px;
  border-bottom: 1px solid #dadada;
}
@media screen and (max-width: 980px) {
  .separator {
    height: auto;
  }
  .separator span {
  }
}
@media screen and (max-width: 1200px) {
  .separator {
  }
  .separator span {
    margin-left: 30px;
  }
}


#home {
  transition: background-color 1.5s;
  position: relative;
  z-index: 20;
}
#home #logo {
  opacity: 0;
  position: absolute;
  width: 120px;
  left: 30px;
  top: 30px;
  position: fixed;
  transition-delay: 0;
  transition: opacity 0.5s;
  z-index: 5;
}
@media screen and (max-width: 1200px) {
  #home #logo {
    display: none;
  }
}
.scrolled-down #home #logo {
  opacity: 1;
  transition: opacity 1s;
  transition-delay: 0.5s;
}
.scrolled-down.hide-logo #home #logo {
  opacity: 0;
  transition: opacity 1s;
  transition-delay: 0;
}

#home #home-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
  overflow: hidden;
  position: relative;
  background: white;
  -webkit-transform: translate3d(0,0,0);
}

#home #logo-container {
  position: relative;
  z-index: 2;
}

#home #logo-container img#logo_gastronomie,
#home #logo-container img#logo_aus-leidenschaft,
#home #logo-container img#logo_gastronomie_white,
#home #logo-container img#logo_aus-leidenschaft_white {
  position: absolute;
  top: 0;
  left: 0;
}

#home #logo-container img#logo_dolp {
  transition: transform 1.2s, opacity 0.5s;
}

#home #logo-container img#logo_gastronomie {
  transition: transform 1.2s, opacity 1.5s;
}
#home #logo-container img#logo_aus-leidenschaft {
  opacity: 0;
  transition: transform 1.2s, opacity 1.5s;
}

#home #placeholder {
  display: flex;
  overflow: hidden;
  position: relative;
  z-index: 3;
  background: white;
}


#home #stellenanzeigen-link {
  background: #565555;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 2rem;
  padding: 0 1rem;
  position: absolute;
  top: 20px;
  right: 20px;
  text-decoration: none;
  color: white;
  transform-origin: top right;
  border-radius: 1rem;
  transition: transform 1s, opacity 0.3s, visibility 1s;
  opacity: 0;
}
#home #stellenanzeigen-link.active {
  /* transform: rotate(-5deg); */
  opacity: 1;
}

.scrolled-down #home #stellenanzeigen-link {
  opacity: 0;
  visibility: hidden;
}


#home #animated-menu {
  flex: 1 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

#home .home-top-arrow {
  position: fixed;
  left: 50%;
  margin-left: -50px;
  bottom: 0px;
  width: 100px;
  height: 100px;
  transition: opacity 0.1s;
  cursor: pointer;
  background: transparent;
  z-index: 20;
}
#home .home-top-arrow span {
  background: grey;
  position: absolute;
  left: 50px;
  top: 0;
  width: 5px;
  height: 50px;
  transform: rotate(-57deg);
  transform-origin: bottom right;
}
#home .home-top-arrow span:first-child {
  transform: rotate(57deg);
  transform-origin: bottom left;
}
@media screen and (max-width: 2000px) {
  #home .home-top-arrow {
    transform: scale(0.66);
  }
}


#home #animated-menu > a {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 24px;
  opacity: 0;
  transition: opacity 0.3s, transform 0.3s;
  height: 50px;
  border-bottom: 1px solid grey;
  transform: translate(0, 200px) scale(2);
  color: inherit;
  text-decoration: none;
  width: 280px;
}
#home #animated-menu > a:hover {
  
}
.scrolled-down #home #animated-menu > a {
  opacity: 1;  
  transition: opacity 0.7s, transform 0.7s;
  transform: translate(0, 0) scale(1);
}

#home #animated-menu > a.first {
  transition-delay: 0s;
  margin-right: 100px;
}
.scrolled-down #home #animated-menu > a.first {
  transition-delay: 0.5s;
}
#home #animated-menu > a.second {
  transition-delay: 0s;
  margin-right: 100px;
}
.scrolled-down #home #animated-menu > a.second {
  transition-delay: 1s;
}
#home #animated-menu > a.third {
  transition-delay: 0s;
}
.scrolled-down #home #animated-menu > a.third {
  transition-delay: 1.5s;
}
@media screen and (max-width: 1200px) {
  #home #animated-menu {
    flex-direction: column; 
    align-items: stretch;
  }
  #home #animated-menu > a {
    height: 80px;
    font-size: 18px;
    width: inherit;
    margin: 0 20px;
    
    border-bottom: 1px solid #e0e0e0;
  }
  #home #animated-menu > a.first {
    margin-right: 20px;
  }
  #home #animated-menu > a.second {
    margin-right: 20px;
  }
}

#home .image-window {
  height: 50vh;
  transition: background-color 1.2s;
  background-color: white;  
  -webkit-transform: translate3d(0,0,0);
}

#home .image-window.tiny {
  height: 50px;
}

.scrolled-down-more #home .image-window {
  background-color: transparent;
}

.background-container {
  background-color: white;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1;
  display: none;
  transform-origin: center;
  animation-name: background-animation;
  animation-duration: 30s;
  animation-timing-function: ease-in-out;
  animation-fill-mode: forwards;
  animation-iteration-count: infinite;
}

.scrolled-down .background-container {
  display: block;
}

@keyframes background-animation {
  0%   {transform: scale(1);}
  50% {transform: scale(1.1);}
  100%   {transform: scale(1);}
}

.content-container {
  background: white;
  padding: 50px 30px;
  -webkit-transform: translate3d(0,0,0);
}
.content-container > h1,
.content-container > h2 {
  margin-left: 160px;
}

.content-container .part-left-right {
  display: flex;
}
.content-container .part-left {
  flex: 0 0 50%;
  padding-left: 160px;
}
.content-container .part-right {
  padding-left: 30px;
  flex: 0 0 50%;
}
.content-container .text-wrapper {
  max-width: 620px;
}
@media screen and (max-width: 980px) {
  .content-container .part-left-right {
    display: block;
  }
  .content-container .part-left {
  
  }
  .content-container .part-right {
    margin-top: 20px;
    padding-left: 0;
  }

  .content-container .text-wrapper {
    max-width: none;
  }
}
@media screen and (max-width: 1200px) {
  .content-container > h1,
  .content-container > h2 {
    margin-left: 0;
  }

  .content-container .part-right {
    
  }

  .content-container .part-left {
    padding-left: 0;
  }
}






.fade-in {
  opacity: 0;
  transform: translate(0, 30px);
  transition: transform 1s, opacity 0.5s;
}
.fade-in.fade-in-later {
  transition: transform 1s linear 0.3s, opacity 0.5s linear 0.3s;
}
.fade-in.fade-in-active {
  opacity: 1;
  transform: translate(0);
}

/*############################
  UNSERE BETRIEBE
##############################*/

#home #unsere-betriebe .betrieb {
  margin-top: 30px;
  margin-bottom: 50px;
}

#home #unsere-betriebe .betrieb.more-margin-top {
  margin-top: 200px;
}

#home #unsere-betriebe h2 {
  margin-bottom: 40px;
}

#home #unsere-betriebe .betrieb h3 {
  display: inline-flex;
  align-items: center;
}
#home #unsere-betriebe .betrieb h3 strong {
  font-weight: normal;
}
#home #unsere-betriebe .betrieb h3 span {
  font-size: 0.7rem;  
  margin-left: 18px;
  margin-top: 3px;
  color: #7b7b7b;
  background: #f1f1f1;
  padding: 2px 5px;
  border-radius: 3px;
}
#home #unsere-betriebe .betrieb .gastgeber {
  display: block;
  margin-top: 10px;
  font-size: 0.8rem;
}
@media screen and (max-width: 500px) {
  #home #unsere-betriebe .betrieb h3 {
    display: block;
  }
  #home #unsere-betriebe .betrieb h3 strong {
    display: block;
  }
  #home #unsere-betriebe .betrieb h3 span {
    display: inline-block;
    margin-left: 0;
    margin-top: 10px;
  }
  #home #unsere-betriebe .betrieb.more-margin-top {
    margin-top: 100px;

    padding-top: 50px;
    margin-top: 50px;
    border-top: 1px solid #dadada;
  }
}

#home #unsere-betriebe .betrieb .additional-info-wrapper {
  display: flex;
}
#home #unsere-betriebe .betrieb .additional-info-logo {
  flex: 1 0 auto;
}
#home #unsere-betriebe .betrieb .additional-info-logo img {
  max-width: 180px;
  margin-bottom: 10px;
}


#home #unsere-betriebe .betrieb .additional-info {
  /* flex: 1 0 auto; */
  font-size: 0.8rem;
  color: #b5b5b5;
  margin-top: 40px;
}
#home #unsere-betriebe .betrieb .additional-info span {
  display: block;
  margin-top: 10px;
}
#home #unsere-betriebe .betrieb .additional-info a,
#home #unsere-betriebe .betrieb .additional-info a:active,
#home #unsere-betriebe .betrieb .additional-info a:hover,
#home #unsere-betriebe .betrieb .additional-info a:visited {
  color: #b5b5b5;
}
#home #unsere-betriebe .betrieb .additional-info-daten {
  flex: 0 0 280px;
  font-size: 0.8rem;
  transition: transform 1s;
}
#home #unsere-betriebe .betrieb .additional-info-daten.active > div.data > span {
  background: #565555;
}
#home #unsere-betriebe .betrieb .additional-info-daten > div.data {
  display: flex;
  align-items: center;
  margin-bottom: 5px;
}
#home #unsere-betriebe .betrieb .additional-info-daten > div.data > strong {
  width: 190px;
  font-weight: normal;
}
#home #unsere-betriebe .betrieb .additional-info-daten > div.data > span {
  background: #f0f0f0;
  color: white;
  padding: 1px 5px;
  border-radius: 4px;
  transition: background-color 2s;
}
@media screen and (max-width: 500px) {
  #home #unsere-betriebe .betrieb .additional-info-wrapper {
    display: block;
  }
  #home #unsere-betriebe .betrieb .additional-info-logo {
    text-align: left !important;
  }
  #home #unsere-betriebe .betrieb .additional-info-logo img {
    margin-top: 30px;
    max-width: 100px !important;
  }
}
@media screen and (max-width: 980px) {
  #home #unsere-betriebe .betrieb .additional-info-logo {
    text-align: right;
  }
  #home #unsere-betriebe .betrieb .additional-info-logo img {
    max-width: 150px;
  }
}
@media screen and (max-width: 2000px) {
  #home #unsere-betriebe .betrieb .additional-info-daten {
    flex: 0 0 240px;
  }
  #home #unsere-betriebe .betrieb .additional-info-daten > div.data > strong {
    width: 170px;
    font-weight: normal;
  }
  #home #unsere-betriebe .betrieb .additional-info-daten img {
    max-width: 180px;
    margin-bottom: 40px;
  }
}

#home a.website-besuchen {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  height: 2rem;
  padding: 0 1rem;
  border: 1px solid #a0a0a0;
  text-decoration: none;
  border-radius: 1rem;
  text-transform: uppercase;
  font-size: 0.8rem;
}
#home a.website-besuchen:hover {
  color: #cc0000;
  border-color: #cc0000;
}
#home a.website-besuchen.margin-left {
  margin-left: 10px;
}
#home .betrieb a.website-besuchen {
  margin-top: 20px;
}


#home .footer {
  border-top: 1px solid #dcdcdc;
  min-height: 100vh;
  background: #f0f0f0;
  display: flex;
  justify-content: center;
  align-items: center;
  -webkit-transform: translate3d(0,0,0);
}

/*############################
  DEBUG
##############################*/

.email-debug {
  background-color: #009fe3;
  color: white;
  display: none;
  position: relative;
  z-index: 23;
}
.email-debug  h2,
.email-debug  h3,
.email-debug  p {
  margin: 0;
  padding: 20px;
}

.mad-heading {
  font-size: 2.5rem;
  font-family: ''Open Sans'', serif;
}

.mad-hidden {
  opacity: 0 !important;
}

.user-data {
  position: absolute;
  right: 0;
  bottom: -30px;
  height: 30px;
  border-radius: 0 0 8px 8px;
  background: #0a0a0a;
  padding: 0 15px; 
  border-bottom: 1px solid #505050;
  border-left: 1px solid #505050;
  border-right: 1px solid #505050;
  color: white;
}


#freie-stellen .website-besuchen {
  margin-top: 10px;
}


#stellenanzeige .header {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 120px;
  position: relative;
}

#stellenanzeige .header img {
  height: 60px;
}

#stellenanzeige .inhalt {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 20px 100px 20px;
}

#stellenanzeige .inhalt h1 {
  margin: 60px 0;
}

#stellenanzeige .inhalt div {
  max-width: 650px;
}

#stellenanzeige .inhalt ul {
  margin-top: 10px;
}


#stellenanzeige .header a.back-button {
  position: absolute;
  text-transform: uppercase;
  font-size: 0.8rem;
  top: 2rem;
  left: 1rem;
  height: 2rem;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  border: 1px solid #565555;
  padding: 0 1rem;
  border-radius: 1rem;
}
#stellenanzeige .header a.back-button i {
  margin-right: 6px;
}


#stellenanzeige .footer {
  border-top: 1px solid #dcdcdc;
  background: #f0f0f0;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 100px 0;
}



.datepicker-container {
  font-family: 'Open Sans', sans-serif;
  font-size: 14px;
}

.error p {
  position: relative;
  color: #cc0000;
  padding-left: 25px;
}
.error p::after {
  content: '\f071';
  font-family: FontAwesome;
  position: absolute;
  top: 0;
  left: 0;
}




/* ############################ HEADER ############################ */

#modal-background {
  position: fixed;
  z-index: 30;
  width: 100%;
  top: 0;
  left: 0;
  background: rgba(0,0,0,0.9);
}

#modal-background .loader {
  position: absolute;
  top: 50%;
  left: 50%;
  margin-left: -16px;
  margin-top: -16px;
}

#modal-background #image-popup {
  position: absolute;
  top: 0;
  left: 50%;
  background: #ffffff;
  min-width: 200px;
  margin-left: -100px;
  min-height: 100px;
  padding: 20px;
  box-sizing: content-box;
}

#modal-background #image-popup .button {
  position: absolute;
  top: 50%;
  width: 40px;
  text-align: center;
  height: 40px;
  margin-top: -20px;
  background: white;
  z-index: 31;
  line-height: 40px;
  cursor: pointer;
}
#modal-background #image-popup .button:hover:after {
  color: #808080;
}
#modal-background #image-popup .button.previous {
  left: 0;
  border-radius: 0 20px 20px 0;
}
#modal-background #image-popup .button.previous:after {
  font-family: FontAwesome;
  content: '\f060';
  font-size: 1.2rem;
}
#modal-background #image-popup .button.next {
  right: 0;
  border-radius: 20px 0 0 20px;
}
#modal-background #image-popup .button.next:after {
  font-family: FontAwesome;
  content: '\f061';
  font-size: 1.2rem;
}
#modal-background #image-popup .close-x {
  position: absolute;
  top: -9px;
  width: 40px;
  text-align: center;
  height: 40px;
  z-index: 31;
  line-height: 40px;
  left: -9px;
}
#modal-background #image-popup .close-x:after {
  font-family: FontAwesome;
  content: '\f2d3';
  font-size: 1.2rem;
}


/* on page */
.image-gallery img {
  width: 185px;
  height: 122px;
  margin-right: 20px;
  margin-bottom: 20px;
}
.image-gallery img:hover {
  opacity: 0.9;
}
.image-gallery .image {
  float: left;
}



/* ############################ SLIDER ############################ */

.background-slider {
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  position: fixed;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 1s, background-size 1s;
}
.background-slider.active {
  opacity: 1;
}
.background-slider.slide-0 {
  z-index: 1;
}
.background-slider.slide-1 {
  z-index: 2;
}
.background-slider.slide-2 {
  z-index: 3;
}
.background-slider.slide-3 {
  z-index: 4;
}
.background-slider.slide-4 {
  z-index: 5;
}
.background-slider.slide-5 {
  z-index: 6;
}
.background-slider.slide-6 {
  z-index: 7;
}
.background-slider.slide-7 {
  z-index: 8;
}
.background-slider.slide-8 {
  z-index: 9;
}
.background-slider.slide-9 {
  z-index: 10;
}
.background-slider-control {
  position: fixed;
  top: 50vh;
  margin-top: -40px;
  z-index: 22;
  font-size: 52px;
  padding: 0 10px;
  cursor: pointer;
  color: #ffffff;
  text-shadow: 1px 1px 10px #000000;
  transition: opacity 0.5s;
}
.background-slider-control:active {
  margin-top: -39px;
}
.background-slider-control:hover {
  text-shadow: 2px 2px 15px #000000;
}
.background-slider-control.left {
  left: 0;
  text-align: left;
}
.background-slider-control.right {
  right: 0;
  text-align: right;
}
#background-slider-container .background-slider-button {
  display: none;
}
#background-slider-container .background-slider-loader {
  display: none;
}
.scrolled-down .background-slider-control {
  opacity: 0;
}



/* LOADING ANIMATION CONTAINER */

.loading-animation {
  position: fixed;
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: white;
  z-index: 10;
  opacity: 1;
  transition: visibility 1s, opacity 1s;
}

.loading-animation.done {
  visibility: hidden;
  opacity: 0;
}

.loading-animation .loading-animation-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: none;
  font-size: 0.8rem;
}



/* LOADING ANIMATION */

.lds-ellipsis {
  display: inline-block;
  position: relative;
  width: 80px;
  height: 80px;
}
.lds-ellipsis div {
  position: absolute;
  top: 33px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #fff;
  background: #565555;
  animation-timing-function: cubic-bezier(0, 1, 1, 0);
}
.lds-ellipsis div:nth-child(1) {
  left: 8px;
  animation: lds-ellipsis1 0.6s infinite;
}
.lds-ellipsis div:nth-child(2) {
  left: 8px;
  animation: lds-ellipsis2 0.6s infinite;
}
.lds-ellipsis div:nth-child(3) {
  left: 32px;
  animation: lds-ellipsis2 0.6s infinite;
}
.lds-ellipsis div:nth-child(4) {
  left: 56px;
  animation: lds-ellipsis3 0.6s infinite;
}
@keyframes lds-ellipsis1 {
  0% {
    transform: scale(0);
  }
  100% {
    transform: scale(1);
  }
}
@keyframes lds-ellipsis3 {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(0);
  }
}
@keyframes lds-ellipsis2 {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(24px, 0);
  }
}