/* roboto-condensed-300 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Roboto Condensed';
  font-style: normal;
  font-weight: 300;
  src: url('../fonts/roboto-condensed-v31-latin-300.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* roboto-condensed-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Roboto Condensed';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/roboto-condensed-v31-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* roboto-condensed-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Roboto Condensed';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/roboto-condensed-v31-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* roboto-300 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 300;
  src: url('../fonts/roboto-v49-latin-300.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* roboto-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/roboto-v49-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* roboto-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/roboto-v49-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* cookie-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Cookie';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/cookie-v23-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* ----------------------------- GENERAL ----------------------------- */

/* GREEN #3d7d77 */

*{
  margin:0;
  padding:0;
	font-family: 'Roboto', sans-serif;
  font-weight: 300;
}

img{
  max-width: 100%;
}

.maxwidth{
  max-width: 1200px;
  margin: 0 auto;
}

.container, .container-fluid{
  padding-left: 0 !important;
  padding-right: 0 !important;
}

h1,h2,h3,h4,h5,h6,
.wieh1,.wieh2,.wieh3,.wieh4,.wieh5,.wieh6{
  color: #2f2f2f !important;
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 400 !important;
}

h1,.wieh1{
  font-size: 2rem !important;
  margin-bottom: 20px !important;
}

h2,.wieh2{
  font-size: 1.6rem !important;;
}

h3,.wieh3{
  font-size: 1.4rem !important;;
}

h4,h5,h6,
.wieh4,.wieh4,.wieh6{
  font-size: 1.2rem !important;;
}

p,ul,ol,li{
  font-size: 1rem;
  color: #757575 !important;
}

a.btn,
button.btn{
  background-color: #3d7d77;
  color: #fff;
  box-shadow: 0px 2px 3px rgba(0,0,0,0.1);
  font-family: 'Roboto Condensed', sans-serif;
}

a.btn:hover, a.btn:active, a.btn:focus,
button.btn:hover, button.btn:active, button.btn:focus{
  background-color: #2c5551 !important;
  color: #fff !important;
}

a.btn-link,
.main-content a{
  text-decoration: none;
  color: #3d7d77;
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 700;
  transition: color 0.2s ease-in;
}

a.btn-link:hover,
.main-content a:hover{
  color: #2c5551;
  transition: color 0.2s ease-in;
}

/* ----------------------------- COOKIE ----------------------------- */

.klaro .cookie-modal .cm-btn.cm-btn-success, .klaro .context-notice .cm-btn.cm-btn-success, .klaro .cookie-notice .cm-btn.cm-btn-success{
  background-color: #3d7d77 !important;
}

.klaro .cookie-modal a, .klaro .context-notice a, .klaro .cookie-notice a{
  color: #3d7d77 !important;
}

/* ----------------------------- NAV ----------------------------- */

img.logo{
    max-width: 250px;
    margin-left: -42px;
}

#navbarNavAltMarkup{
  margin-top: 55px;
}

#navbar{
	padding-top: 20px;
	padding-bottom: 20px;
}

#navbar .navbar-nav a{
	color: #757575;
	text-decoration: none;
	margin-right: 12px;
	font-family: 'Roboto Condensed', sans-serif;
  font-weight: 300;
  font-size: 1.1rem;
  transition: color 0.2s ease-in;
}

#navbar .navbar-nav a:hover{
  color: #2f2f2f;
  transition: color 0.2s ease-in;
}

#navbar .navbar-nav a.active{
	font-weight: 700;
  color: #3d7d77;
}

#navbar .navbar-nav a:last-of-type{
	margin-right: 0;
}


.navbar-toggler{
  background-color: transparent;
}

/* ----------------------------- HEADER ----------------------------- */

.header-image img{
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 6px;
  max-height: 300px;
  margin-bottom: 60px;
  box-shadow: 0px 3px 6px rgba(0,0,0,0.1);
}

.header-image.header-home img{
  max-height: 450px;
  height: auto;
}

/* ----------------------------- CONTENT ----------------------------- */

.home-headline,
.home-content{
  text-align: center;
}

/* ----------------------------- TEASERS ----------------------------- */

.teaser-item{
  box-shadow: 0px 3px 6px rgba(0,0,0,0.1);
  border-radius: 6px;
}

.teaser-item img{
  border-top-left-radius: 6px;
  border-top-right-radius: 6px;
  height: 200px;
  width: 100%;
  object-fit: cover;
}

.teaser-content{
  padding: 12px 14px;
}

.teaser-content h3{
  margin-bottom: 4px;
  margin-top: 10px;
}

/* ----------------------------- SLIDESHOW ----------------------------- */

.grabpflege-block{
  margin-top: 40px;
  box-shadow: 0px 3px 6px rgba(0,0,0,0.1);
  border-radius: 6px;
}

.grabpflege-block-content{
  padding: 16px;
}

.grabpflege-block-content p{
  margin-bottom: 0px;
}

.slideshow-wrapper{
  position: relative;
  margin-top: 1rem;
  overflow: hidden;
}

.slideshow{
  position: relative;
  height: 300px;
  overflow: hidden;
}

.slide img{
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-top-left-radius: 6px;
  border-top-right-radius: 6px;
  display: block;
}

.slide figure{
  position: relative;
  margin: 0;
  height: 100%;
}

.slide figcaption{
  position: absolute;
  bottom: 20px;
  right: 0;
  background: #3d7d77;
  color: #fff;
  padding: 8px 16px;
  font-size: 0.8rem;
  line-height: 1;
  text-align: left;
  border-top-left-radius: 6px;
  border-bottom-left-radius: 6px;
}

.slideshow button{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,1);
  border: none;
  font-size: 2rem;
  padding: 0 1rem;
  cursor: pointer;
  z-index: 1;
}

.slideshow button.prev{
  border-top-right-radius: 6px;
  border-bottom-right-radius: 6px;
}

.slideshow button.next{
  border-top-left-radius: 6px;
  border-bottom-left-radius: 6px;
}

.slide{
  opacity: 0;
  transition: opacity 0.5s ease;
  position: absolute;
  width: 100%;
}

.slide.active{
  opacity: 1;
  position: relative;
}

.slideshow .prev { left: 0; }
.slideshow .next { right: 0; }

/* ----------------------------- TIMELINE ----------------------------- */

.timeline{
  position: relative;
  margin-left: 0;
  padding-left: 2rem;
  border-left: 2px solid #ccc;
}

.timeline-item{
  position: relative;
  margin-bottom: 3rem;
  padding-left: 1.5rem;
}

.timeline-item::before{
  content: "";
  position: absolute;
  left: -21px;
  top: 11px;
  width: 1rem;
  height: 1rem;
  background-color: #3d7d77;
  border: 2px solid white;
  border-radius: 50%;
  box-shadow: 0 0 0 2px #ccc;
}

.timeline-year{
  font-weight: 700;
  font-size: 1.6rem;
  margin-bottom: 0.25rem;
  color: #3d7d77;
  font-family: 'Roboto Condensed', sans-serif;
}

.timeline-container{
  border-radius: 6px;
  box-shadow: 0px 3px 6px rgba(0,0,0,0.1);
  max-width: 400px;
}

.timeline-content{
  padding: 16px;
}

.timeline-content h3{
  margin-top: 0;
  font-size: 1.1rem;
}

.timeline-image{
  margin-bottom: 0.5rem;
}

.timeline-container img{
  border-top-left-radius: 6px;
  border-top-right-radius: 6px;
  height: 200px;
  width: 100%;
  object-fit: cover;
}

.timeline-content p{
  margin-bottom: 0;
  font-size: 0.8rem;
}

/* ----------------------------- GALERIE ----------------------------- */

a.glightbox{
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  /*overflow: hidden;*/
}

a.glightbox img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
}

.glightbox img{
  box-shadow: 0px 3px 6px rgba(0,0,0,0.1);
}

/* ----------------------------- FORMULAR ----------------------------- */

.contact-form{
  color: #757575;
  font-family: 'Roboto', sans-serif;
  font-weight: 300;
}

.contact-form label{
  display: block;
  margin-bottom: 5px;
  font-family: 'Roboto', sans-serif;
  font-weight: 300;
}

.contact-form .asterisk{
  margin-left: 5px;
  font-size: 0.8rem;
  font-weight: 700;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
  width: 100%;
  padding: 10px 12px;
  margin-bottom: 20px;
  border: 1px solid #a7a7a7;
  border-radius: 6px;
  box-sizing: border-box;
}

.contact-form textarea {
  resize: vertical;
  min-height: 140px;
}

.contact-form input[type="checkbox"] {
  margin-right: 10px;
  vertical-align: middle;
}

.contact-form .form-checkbox-label {
  display: block;
  margin-bottom: 20px;
  font-size: 15px;
  line-height: 1.4;
}

.contact-form .form-checkbox-label a {
  color: #406a64;
  text-decoration: none;
  font-weight: bold;
}

.contact-form .form-checkbox-label a:hover {
  text-decoration: underline;
}

.contact-form .submit-button {
  background-color: #444;
  color: #fff;
  border: 1px solid #444;
  padding: 10px 22px;
  text-transform: none;
  font-size: 16px;
  border-radius: 2px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.contact-form .submit-button:hover {
  background-color: #222;
  border-color: #222;
}


/* ----------------------------- FOOTER ----------------------------- */

footer{
  background-color: #f2f2f2;
  padding: 60px 0 40px 0;
  margin-top: 60px;
}

footer a{
  color: #757575;
}

.copyright{
  text-align: right;
  margin-top: 20px;
}

.copyright a{
  font-size: 0.7rem;
  color: #757575;
}

/* ----------------------------- RESPONSIVE ----------------------------- */

@media (max-width: 1300px){
  
  .maxwidth{
    max-width: 90%;
  }

  img.logo{
    max-width: 200px;
    margin-left: 0px;
  }

  #navbar .navbar-nav a{
    font-size: 1rem;
    margin-right: 8px;
  }
  
}

@media (max-width: 992px){

  #navbarNavAltMarkup{
    margin-top: 20px;
  }

  #navbar .navbar-nav a{
    text-align: center;
    border-top: 1px solid #eee;
    margin: 0px;
    padding: 6px 0;
  }

  #navbar .navbar-nav a:first-of-type{
    border-top: 0px;
  }

}

@media (max-width: 767px){

  footer{
    padding-top: 40px;
    text-align: center;
  }

  .copyright{
    text-align: center;
    margin-top: 30px;
  }

  footer .insta-link{
    margin: 20px 0 40px 0;
    display: block;
  }

  img.logo {
    max-width: 180px;
  }

  .header-image img{
    height: 250px;
  }

}

@media (max-width: 550px){

  .header-image img{
    height: 180px;
  }

}

@media (max-width: 360px){

  img.logo{
    max-width: 120px;
  }

  .header-image img{
    height: 100px;
  }

}