/*
Theme Name: Elisak Theme
Author: Eva-Maria Hofer
*/
body {
  display: -ms-grid;
  display: grid;
  color: #212529;
  -ms-grid-rows: auto 1fr auto;
  grid-template-rows: auto 1fr auto;
  -ms-grid-columns: 100%;
  grid-template-columns: 100%;
}
body > *:nth-child(1) {
  -ms-grid-row: 1;
  -ms-grid-column: 1;
}
body > *:nth-child(2) {
  -ms-grid-row: 2;
  -ms-grid-column: 1;
}
body > *:nth-child(3) {
  -ms-grid-row: 3;
  -ms-grid-column: 1;
}
body:before {
  z-index: -1;
  content: "";
  position: fixed;
  top: 0px;
  right: 0px;
  bottom: 0px;
  left: 0px;
  background-image: url("https://www.elisak.at/wp-content/uploads/2023/07/Hintergrund.jpeg");
  background-size: cover;
  opacity: 0.4;
}
body main {
  min-height: 85vh;
  padding-top: 50px;
}
body main h1 {
  margin-bottom: 50px;
  color: #505050;
}
body main .h2 {
  color: #505050;
}
@media only screen and (max-width: 1700px) {
  body main .container {
    max-width: 70vw;
  }
}
@media only screen and (max-width: 992px) {
  body main .container {
    max-width: 85vw;
  }
}
body main .page-container {
  margin-left: 300px;
  margin-right: 300px;
  min-height: 90%;
}
@media only screen and (max-width: 992px) {
  body main .page-container {
    margin-left: auto;
    margin-right: auto;
  }
}
body main .page-container .profil img {
  -webkit-box-shadow: 0 0 20px #111;
          box-shadow: 0 0 20px #111;
}
body main .page-container .borduere {
  margin-left: -100px;
  width: 100vw;
  margin-top: 40px;
  -webkit-box-shadow: 0 0 20px #111;
          box-shadow: 0 0 20px #111;
  background-color: #111;
}
@media only screen and (max-width: 992px) {
  body main .page-container .borduere {
    margin-left: -25%;
    width: 120vw;
  }
}
@media only screen and (max-width: 576px) {
  body main .page-container .borduere {
    margin-left: -5%;
    width: 105vw;
  }
}
body main .page-container .borduere img {
  width: 50%;
  margin-left: 18%;
}
@media only screen and (max-width: 992px) {
  body main .page-container .borduere img {
    margin-left: 0;
    width: 100%;
  }
}
body main .page-container blockquote {
  background-color: rgba(255, 255, 255, 0.5);
  padding: 20px;
  text-align: right;
  max-width: 800px;
  margin-left: 20%;
  border-radius: 35px;
  position: relative;
}
@media only screen and (max-width: 768px) {
  body main .page-container blockquote {
    margin-left: 0;
  }
}
body main .page-container blockquote span {
  position: absolute;
  left: 3%;
  top: 9%;
  color: #db4a16;
  font-size: 200px;
  line-height: 0.6em;
}
@media only screen and (max-width: 768px) {
  body main .page-container blockquote span {
    font-size: 150px;
  }
}
body main .page-container blockquote p {
  font-size: 48px;
  margin-bottom: 0;
  font-family: Brush Script MT, cursive;
  letter-spacing: 3px;
  line-height: 1.3;
}
@media only screen and (max-width: 768px) {
  body main .page-container blockquote p {
    font-size: 30px;
  }
}
body main .page-container blockquote p:first-of-type {
  margin-right: 50%;
  padding-top: 80px;
}
body main .page-container blockquote p:nth-of-type(2n) {
  margin-right: 25%;
}
body main .page-container blockquote img {
  max-width: 200px;
}
body main .page-container blockquote figure {
  margin-top: 50px;
  margin-bottom: 40px;
}
body main .page-container #mail {
  font-size: 20px;
}
body main .page-container #mail a {
  text-decoration: none;
  color: #212529;
}
body main .page-container #mail a:hover {
  color: #db4a16;
}
body main .page-container .gallery {
  margin: 5px;
  text-decoration: none;
}
body main .page-container .gallery .img-gallery {
  float: left;
}
body main .page-container .gallery .img-gallery:hover {
  -webkit-transform: scale(1.2);
          transform: scale(1.2);
  position: relative;
  z-index: 3;
}
@media only screen and (max-width: 576px) {
  body main .page-container .gallery .img-gallery:hover {
    -webkit-transform: none;
            transform: none;
  }
}
body main .page-container .gallery .size {
  text-align: center;
  line-height: normal;
  height: 30px;
  margin: 5px;
  margin-top: -35px;
  position: relative;
  z-index: 2;
  background-color: rgba(255, 255, 255, 0.8);
  padding-top: 2px;
  border-radius: 0 0 35px 35px;
}
@media only screen and (max-width: 1700px) {
  body main .page-container .gallery .size {
    font-size: 12px;
  }
}
@media only screen and (max-width: 576px) {
  body main .page-container .gallery .size {
    font-size: initial;
  }
}
body main .page-container .gallery img {
  width: 255px;
  height: 255px;
  cursor: pointer;
  -webkit-transition: 0.3s;
  transition: 0.3s;
  padding: 5px;
  border-radius: 35px;
  -o-object-fit: cover;
     object-fit: cover;
}
body main .page-container .gallery img:hover {
  opacity: 0.9;
}
@media only screen and (max-width: 1700px) {
  body main .page-container .gallery img {
    width: 185px;
    height: 185px;
  }
}
@media only screen and (max-width: 1400px) {
  body main .page-container .gallery img {
    width: 160px;
    height: 160px;
  }
}
@media only screen and (max-width: 1200px) {
  body main .page-container .gallery img {
    width: 198px;
    height: 198px;
  }
}
@media only screen and (max-width: 992px) {
  body main .page-container .gallery img {
    width: 222px;
    height: 222px;
  }
}
@media only screen and (max-width: 768px) {
  body main .page-container .gallery img {
    width: 162px;
    height: 162px;
  }
}
@media only screen and (max-width: 576px) {
  body main .page-container .gallery img {
    width: 100%;
    height: auto;
  }
  body main .page-container .gallery img:hover {
    opacity: 1;
  }
}
body main .page-container .gallery .contentimg {
  display: none;
}
body main .page-container .gallery .serie {
  color: #212529;
  text-align: center;
  font-size: 18px;
  font-weight: 600;
  padding: 10px;
}
body main .page-container .gallery .serie-gallery {
  float: left;
}
body main .page-container .gallery .serie-gallery:hover .serie {
  color: #db4a16;
}
body main .page-container .gallery td {
  padding-left: 5px;
  padding-bottom: 5px;
  vertical-align: top;
}
body main .page-container .modal {
  display: none;
  position: fixed;
  z-index: 5;
  padding-top: 100px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.9);
}
body main .page-container .modal .modal-content {
  margin: auto;
  display: block;
  width: auto;
  max-height: 85vh;
  max-width: 95%;
}
body main .page-container .modal #caption {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
  text-align: left;
  color: #ccc;
  padding: 10px 0;
  height: 150px;
  margin-bottom: 30px;
}
body main .page-container .modal #caption .h2 {
  font-size: 28px !important;
  padding-top: 30px;
  color: #ccc;
}
body main .page-container .modal .close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  -webkit-transition: 0.3s;
  transition: 0.3s;
}
body main .page-container .modal .close:hover, body main .page-container .modal .close:focus {
  color: #ccc;
  text-decoration: none;
  cursor: pointer;
}
body main .pthumbnail {
  width: 33%;
  max-width: 350px;
  height: auto;
  padding-bottom: 10px;
  padding-right: 20px;
  float: left;
  border-radius: 35px;
}
@media only screen and (max-width: 576px) {
  body main .pthumbnail {
    width: 100%;
  }
}
body main .error404 {
  margin-top: 100px;
  text-align: center;
}
body main .error404 h1 {
  font-size: 90px;
  font-weight: bold;
  color: #db4a16;
}
body main .error404 h2 {
  font-size: 25px;
  color: #212529;
}
body header #sidenav {
  height: 100%;
  width: 240px;
  position: fixed;
  z-index: 4;
  top: 0;
  left: 0;
  background-color: #111;
  overflow-x: hidden;
  -webkit-transition: 0.5s;
  transition: 0.5s;
  padding-top: 60px;
}
@media only screen and (max-width: 992px) {
  body header #sidenav {
    width: 0;
    padding-left: 0;
    padding-right: 0;
  }
}
body header #sidenav ul {
  list-style-type: none;
  padding-left: 0;
}
body header #sidenav .sub-menu {
  padding-left: 2rem;
}
body header #sidenav a {
  padding: 8px 8px 8px 32px;
  text-decoration: none;
  font-size: 25px;
  color: #777;
  display: block;
  -webkit-transition: 0.3s;
  transition: 0.3s;
}
body header #sidenav a:hover {
  color: #f1f1f1;
}
body header #sidenav a img:hover {
  -webkit-filter: brightness(500%);
          filter: brightness(500%);
}
body header #sidenav .closebtn {
  position: absolute;
  top: 0;
  right: 25px;
  font-size: 36px;
  margin-left: 50px;
  display: none;
}
@media only screen and (max-width: 992px) {
  body header #sidenav .closebtn {
    display: block;
  }
}
body header .openbtn {
  font-size: 50px;
  width: 100%;
  cursor: pointer;
  display: none;
  position: fixed;
  background-color: rgba(255, 255, 255, 0.7);
  padding: 0 15px 5px 15px;
  z-index: 4;
}
@media only screen and (max-width: 992px) {
  body header .openbtn {
    display: block;
  }
}
body footer {
  width: 100%;
  height: -webkit-max-content;
  height: -moz-max-content;
  height: max-content;
  color: #000;
  text-align: center;
  padding-bottom: 20px;
  padding-top: 50px;
}