/* Template 3: teaser for the main page */
.t3 {
  position: relative;
  }

.t3img {
    position: absolute;
    width:100%;
    height:640px;
    overflow: hidden;
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5));
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
  }

.t3img img {
    height:640px;
    min-width: 100%;
    object-fit: cover;
  }

.t3blur {
    position: absolute;
    top: 0;
    left: 0;
    height:640px;
    width: 100%;
    background-color: white;
    opacity: 0.8;
  }

.t3txt {
    position: absolute;
    
    width: 700px;
    height: 400px;
    line-height: 400px;

    font-size: 48px;
    font-family: Varela Round, sans-serif;
    font-weight: 400;
    color: #323335;

    text-align: center;
    
    left: 50%; 
    top: 50%; 
    transform: translate(-50%, -50%);
    border: 4px solid #323335;
  }

.t3txt span {
  display: inline-block;
  vertical-align: middle;
  line-height: normal;
  }

/* Template 4: teaser for subpages */
.t4 {
  position: relative;
  }

.t4img {
    position: absolute;
    width:100%;
    height:calc(100vh - 75px);
    height: -o-calc(100vh - 75px); /* opera */
    height: -webkit-calc(100vh - 75px); /* google, safari */
    height: -moz-calc(100vh - 75px); /* firefox */

    overflow: hidden;
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5));
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
  }

.t4img img {
    height:calc(100vh - 75px);
    height: -o-calc(100vh - 75px); /* opera */
    height: -webkit-calc(100vh - 75px); /* google, safari */
    height: -moz-calc(100vh - 75px); /* firefox */
    min-width: 100%;
    object-fit: cover;
  }

.t4blur {
    position: absolute;
    top: 0;
    left: 0;
    height:calc(100vh - 75px);
    height: -o-calc(100vh - 75px); /* opera */
    height: -webkit-calc(100vh - 75px); /* google, safari */
    height: -moz-calc(100vh - 75px); /* firefox */
    width: 100%;
    background-color: gray;
    opacity: 0.7;
  }

.t4txt {
    position: absolute;
    max-width: 550px;
    color: whitesmoke;
    text-align: left;
    vertical-align: bottom;
    
    left: 150px; 
    bottom: 150px; 
  }

.t4txt h1 {
  font-size: 64px;
  font-weight: 300;
  line-height: normal;
}

.t4txt p {
  display: inline-block;
  font-size: 18px;
  font-weight: 200;
  line-height: 1.6;
  }

.drippingarrow {
  position: relative;
  width: 24px;
  height: 24px;
  bottom: 70px;
  left: 50%;
 }
  
.chevron {
  position: absolute;
  width: 28px;
  height: 8px;
  opacity: 0;
  transform: scale3d(0.5, 0.5, 0.5);
  animation: move 3s ease-out infinite;
}
  
.chevron:first-child {
  animation: move 3s ease-out 1s infinite;
}
  
.chevron:nth-child(2) {
  animation: move 3s ease-out 2s infinite;
}
  
.chevron:before,
.chevron:after {
  content: ' ';
  position: absolute;
  top: 0;
  height: 100%;
  width: 51%;
  background: #fff;
}
  
.chevron:before {
  left: 0;
  transform: skew(0deg, 30deg);
}
  
.chevron:after {
  right: 0;
  width: 50%;
  transform: skew(0deg, -30deg);
}
  
@keyframes move {
  25% {
    opacity: 1;

  }
  33% {
    opacity: 1;
    transform: translateY(30px);
  }
  67% {
    opacity: 1;
    transform: translateY(40px);
  }
  100% {
    opacity: 0;
    transform: translateY(55px) scale3d(0.5, 0.5, 0.5);
  }
}

/* Template 5: text left */
.t5 {
  width: 100%;
  max-width: 730px;
  margin: 0 auto;
  padding: 20px 0;
  text-align:left;
}

/* Template 6: text center */
.t6 {
  width: 100%;
  max-width: 730px;
  margin: 0 auto;
  padding: 20px 0;
  text-align:center;
}

/* Template 7: text with image, two columns small */
.t7 {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 20px 0;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-content: flex-start;
  flex-wrap: wrap-reverse;
}

.t7txt {
  font-family: Varela Round, sans-serif;
  font-size: 18px;
  min-width: 200px;
  vertical-align: middle;
  }

.t7img img {
  max-width: 100%; 
  max-height: 550px;
  width: auto;
  height: auto;
  }

  /* Template 8: image with text, two columns small */
.t8 {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 20px 0;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-content: flex-start;
  flex-wrap: wrap;
}

.t8img img {
  max-width: 100%;
  max-height: 550px;
  width: auto;
  height: auto;
}

.t8txt {
  font-family: Varela Round, sans-serif;
  font-size: 18px;
  vertical-align: middle;
  }

/* Template 9: galery and lightbox */
.t9 {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 20px 0;
}

.lb-content {
  display: flex;
  flex-flow: row wrap;
  justify-content: space-around;
  padding: 0;
  margin: 0;
  list-style: none;
}

.lb-item {
  padding: 10px;
  margin: auto;
  width: 330px;
  height: 330px;
}

.lb-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* The Modal (background) */
.lb-modal {
  display: none;
  position: fixed;
  z-index: 100;
  padding-top: 100px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: black;
}

/* Modal Content */
.lb-modal-content {
  position: relative;
  margin: auto;
  padding: 0;
  max-width: calc(100vw - 200px);
  max-height: calc(100vh - 130px);
}

/* The Close Button */
.lb-close {
  color: white;
  position: absolute;
  top: 10px;
  right: 25px;
  font-size: 35px;
  font-weight: bold;
  cursor: pointer;
}

.lb-close:hover,
.lb-close:focus {
  color: #999;
  text-decoration: none;
  cursor: pointer;
}

.lb-slide-element {
  display: none;
}

.lb-slide-element > img {
  width: 100%;
  height: 100%;
  max-width: calc(100vw - 200px);
  max-height: calc(100vh - 130px);
  object-fit: contain;
}

/* Next & previous buttons */
.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -50px;
  color: white !important;
  font-weight: bold;
  font-size: 20px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
  -webkit-user-select: none;
  z-index: 100;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a light background color */
.prev:hover,
.next:hover {
  color: lightgray;
  background-color: gray;
}

/* Number text (1/3 etc) */
.lb-counter {
  color: white;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 10px;
  left: 10px;
}

/* Prevent displaying a white line under the sliderimage */
img {
  margin-bottom: -4px;
}

.lb-caption-container {
  position: absolute;
  padding: 8px 0px;
  margin: 0 auto;
  top: 10px;
  width: 100%;
  height: 30px;
  text-align: center;
  color: white;
}

img.hover-shadow {
  transition: 0.3s;
}

.hover-shadow:hover {
  cursor: pointer;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

/* Template 10: contact-section */
.t10 {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 20px 0;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-content: flex-start;
  flex-wrap: wrap-reverse;
}

/*---------------*/

.anchor {
    display: block;
    position: relative;
    top: -80px;
    visibility: hidden;
}

.link a:link, .link a:visited {
  color: #323335;
  text-decoration: underline;
}

.link a:hover, .link a:active {
  color: #323335;
  text-decoration: none;
}

.footer {
    text-align: center;
  }

.gray {
  background-color: rgb(175, 175, 175);
  color: white !important;
}

.column {
  float: left;
  padding: 30px;
}

/* Clear floats after the columns */
.row:after {
  content: "";
  display: table;
  clear: both;
}

.left {
  flex: 1;
  max-width: 720px;
  min-width: 200px;
}

.right {
  flex: 1;
  max-width: 720px;
  min-width: 200px;
}

.hidden {
  display: none;
}

#map {
  height: 400px;
  width: 600px;
}

/* styles for mobile */
@media only screen and (max-width: 599px) {
  .t3txt {
    position: absolute;
    width: 300px;
    height: 300px;
    line-height: 300px;

    font-size: 36px;
    font-family: Varela Round, sans-serif;
    font-weight: 300;

    /* stop floating of the image */
    clear:both;
  }

  .t4txt {
    left: 20px;
    bottom: 70px;
  }

  .t7 {
    padding: 0;
  }

  .t7img {
    object-fit:cover;
    width: 100%;
    height: auto;
    overflow:hidden;
  }

  .t8img {
    object-fit:cover;
    width: 100%;
    height: auto;
    overflow:hidden;
  }

  .column {
    padding: 10px;
  }

    /* Modal Content */
  .lb-modal-content {
    position: relative;
    margin: auto;
    padding: 0;
    max-width: calc(100vw - 20px);
    max-height: calc(100vh - 20px);
  }

  .lb-slide-element > img {
    width: 100%;
    height: 100%;
    max-width: calc(100vw - 20px);
    max-height: calc(100vh - 20px);
    object-fit: contain;
  }

  /* Next & previous buttons */
  .prev,
  .next {
    cursor: pointer;
    position: absolute;
    top: 80%;
    z-index: 100;
  }

  .hinLES button[data-testid="uc-privacy-button"] 
  {
    display: none;
  }
}