:root {
  --main-bg-color: #4D4D4D;
  --main-txt-color: white;
  --sec-txt-color: #262626;
  --eyecatch-color: burlywood;
}
/* CSS Variablen zuweisen
#div1 {
  background-color: var(--main-bg-color);
}*/

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  color: var(--main-txt-color);
}

html {
  height: 100%;
}

body {
  font-family: sans-serif;
  background-color: var(--main-bg-color);
  min-height: 100%;
  height: 100%;
  width: 100%;
}
header {

  width: 25%;
  height: 100%;
  top: 0;
  left: 0;
  position:fixed;
  float:left;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--main-txt-color);
  z-index: 100;
}
.headerContent {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  width: 80%;
  height: 100%;
  margin: auto;
  padding: 50px 20px;
  color:inherit;
  background-color: var(--main-bg-color);
}
header a{
  color:inherit;
  text-decoration: none;
}
h1 {
  margin: 5px;
  font-size: 3em;
  text-align: center;
  font-family: Questrial, sans-serif;
  text-transform: uppercase;
}
h2 {
  display: inline-block;
  font-size: 1.68em;
  position: relative;
}


h3 {
  padding-top: 25px;
  margin-bottom: 8px;
  font-size: 1.26em;

}
h4 {
    margin-top: 20px;
}
.topnav {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  width: 100%;
  color: inherit;
}
.topnav a {
  display: block;
  text-align: center;
  padding: 14px 16px;
  width: 100%;
  font-family: 'Nunito Sans', sans-serif;
  text-transform: uppercase;
  color: #AAA;
  font-size: 1.26em;
}
.active {
  /*color: var(--eyecatch-color) !important;*/
  color: var(--main-txt-color) !important;
  font-weight: bold;

}
.shadow {
    text-shadow: 0px 0px 15px black;
}
.topnav a:hover {
  /*color: var(--sec-txt-color);*/
  font-weight: bold;
  color: var(--main-txt-color) !important;
}
main {
  max-width: 1000px;
  margin-left: 25%;
  padding: 60px 12%;
  position: relative;
  /* display: flex;
  justify-content: center; */
  font-family: Arial, Helvetica, sans-serif;
}
main::before {
  content: "";
  display: block;
  height: 75%;
  border: 3px solid var(--main-txt-color);
  position: fixed;
  left: 25%;
  top: 12.5%;
  z-index: 110;
}
.content {
  min-width: 100px;
  background-color: var(--main-bg-color);
  padding: 25px 10px 50px 10px;
  margin-bottom: 25px;
}
.textBlock {
  white-space: pre-wrap;
}
footer {
  padding: 10px;
  position: fixed;
  bottom: 0;
  right: 0;
  width: 200px;
  z-index: 90;
}
footer p{
  background-color: var(--main-bg-color);
  margin: 0px 10px;
  color: inherit;
  font-size: 10px;
  float: right;
  padding: 5px;
}
footer p a {
  text-decoration: none;
  padding: 5px;
}



/*________________________ slideshow ________________________*/
#slideshow {
  height: 100%;
  position: relative;
  background-color: var(--main-bg-color);
}
#slideshow DIV {
    position:absolute;
    top:0;
    left:0;
    z-index:8;
    opacity:0.0;
    height: 100%;
    width: 100%;
    overflow: hidden;
}
#slideshow DIV.active {
    z-index:10;
    opacity:1.0;
}

#slideshow DIV.last-active {
    z-index:9;
}
#slideshow DIV A {
    width:100%;
    height: 100%;
    display: block;
    background-size: cover;
    background-position: center center;
}
#slideshow DIV IMG {

    width: 100%;
    height: auto;
    display: block;
    border: 0;
}

/*________________________ kontakt ________________________*/
form {
  max-width: 350px;
  line-height:35px;
}
.hinweis {

  width: 300px;
  font-size: 0.8em;
  font-style: italic;
  color: #888;

}
label {
  width:150px;
  display:inline-block;
  vertical-align:top;
  color: var(--main-txt-color);
}

input,textarea {
  color:inherit;
  width:100%;
  padding:3px 5px;
  background-color: inherit;
  transition: all 1s;
  border: 1px solid var(--main-txt-color);
  font-size: 1em;
  font-family: sans-serif;
}
textarea {
  margin-top:6px;
  padding-top: 5px;
  resize:none;
  overflow:auto;
}
input:focus, textarea:focus {
  border: 1px solid #888;
  box-shadow: none;
}
input[name=plz] {
  width:50px;
  margin-right: 5px;
}
input[name=ort] {
  width:190px;
}
input[name=check] {
  width:15px;
  margin-right: 5px;
}
input[name=send] {
  width:73%;
  margin-right: 5px;
}
input[name=reset] {
  width: 23%;
}
.fehler {
   display: none;
   line-height: 10px;
   font-size: 0.8em;
}
input[name=email] {
  display: none;
}
.bt {
  background-color: #777;
  color: #f2f2f2;
  border: none;
}
.bt:hover {
  border: 1px solid var(--main-txt-color);
}
.bt:active {
  border: none;
}
input:disabled {
  color: var(--main-bg-color);
}
.bigBackground {
    position:fixed;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    height: 100%;
    width: 100%;
    background: rgba(50,50,50,0.9);
    z-index: 150;
}
.box {
    background: #111;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 25px;
}
/*________________________ GALERIE ________________________*/


/* Reset Select */
select {
  -webkit-appearance: none;
  -moz-appearance: none;
  -ms-appearance: none;
  appearance: none;
  outline: 0;
  box-shadow: none;
  border: 3px solid var(--main-bg-color);
  border-bottom: 3px solid var(--main-txt-color);
  background: var(--main-bg-color);
  background-image: none;
  /* remove dotted aoutline */
  position: absolute;
  width: 200px;
  height: 58px;
  bottom: 0px;
  left: -12px;
}
/* Remove IE arrow */
select::-ms-expand {
  display: none;
}
/* Custom Select */
.select {
  position: relative;
  display: flex;
  width: 20em;
  height: 3em;
  line-height: 3;
  background: var(--main-bg-color);
  overflow: hidden;
  border-radius: 0px !important;

}
select {
  flex: 1;
  padding: 0 .5em;
  color: var(--main-txt-color);;
  cursor: pointer;
  font-size: 1em;
}
option {
    padding: 10px;

}
/* Arrow */
.select::after {
  content: '\25BE';
  position: absolute;
  bottom: 0;
  right: 0;
  padding: 0 1em;
  background: var(--main-bg-color);
  cursor: pointer;
  pointer-events: none;
  -webkit-transition: .25s all ease;
  -o-transition: .25s all ease;
  transition: .25s all ease;
  color: grey;
  border-bottom: 3px solid var(--main-txt-color);
}
/* Transition */
.select:hover::after {
  color: var(--main-txt-color);
}
/* _______________________END CUSTOM SELECT _______________________________ */
  button {
  border: none;
  }

.grid:after {
/* clear fix */
  content: '';
  display: block;
  clear: both;
}
.gutter-sizer { width: 3.33%; }
.grid-sizer,
.grid-item {
  width: 30%;
  margin-bottom: 33px;
}

.grid-item {
  float: left;
}

.grid-item img {
  display: block;
  width: 100%;
}

.imgInfoBox {
  display: none;
  position: fixed;
  padding: 25px;
  width: 20%;
  background-color: #333;
  left: 5%;
  bottom: 75px;
}
.imgInfoBox p {
  color: var(--main-txt-color);
  text-align: right;
  line-height: 120%;
}
.titleText {
  font-weight: bold;
  line-height: 150%;
}
.bildText, .bildFormat {
  font-size: 0.9em;
}
.bildFormat {
  font-style: italic;
}

section {
  text-align: center;
  background-color: black;
}
.panzoom-parent {
  /*border: 2px solid #333; */
  height:100vh;
}
.panzoom-parent .panzoom {
  /*border: 2px dashed #666;*/
  padding: 25px 25px 50px 25px;
  height: 100%;
 }
 .detailViewImg {
   max-height: 100%;
   max-width: 90%;
 }
 #UiElements {
     position: fixed;
     bottom: 30px;
     display: flex;
     flex-direction: row;
     align-items: center;
     width: 100%;
 }
.buttons {
  margin-left: 5%;
  width: 20%;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}
.zoomButtons {
  margin-left: 15%;
  width: 20%;
  background-color: rgba(0, 0, 0, 0);
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  background-color: #333;
}
.zoom-in, .zoom-out {
    padding: 0px;
    height: 30px;
    width: 30px;
    border-radius: 50%;
    background: rgba(0,0,0,0);
    text-align: center;
    font-size: 20px;
}
.zoom-range {
    max-width: 75%;
    display: inline-block;
    height: 1px;
    margin: 0px 10px;
}
/* Custom Slider */
.slidecontainer {
  width: 100%; /* Width of the outside container */
}

/* The slider itself */
.zoom-range {
  -webkit-appearance: none;  /* Override default CSS styles */
  appearance: none;
  width: 100%; /* Full-width */
  height: 1px; /* Specified height */
  background: var(--main-bg-color);
  outline: none; /* Remove outline */
  border: none;
  padding: 0px;
}
/* The slider handle (use -webkit- (Chrome, Opera, Safari, Edge) and -moz- (Firefox) to override default look) */
.zoom-range::-webkit-slider-thumb {
  -webkit-appearance: none; /* Override default look */
  appearance: none;
  width: 5px; /* Set a specific slider handle width */
  height: 5px; /* Slider handle height */
  background: grey; /* Green background */
  border: none;
}

.zoom-range::-moz-range-thumb {
  width: 5px; /* Set a specific slider handle width */
  height: 5px; /* Slider handle height */
  background: grey; /* Green background */
  border: none;
}
/* Custom Slider End */
.reset, .infoButton {
  background-color: #333;
  height: 30px;
  padding: 0px 5px;
}
.infoButton {
  width: 70%;
}
.reset {
  width: 28%;
}
.close {
  position: fixed;
  top: 10px;
  right: 20px;
  font-size: 2em;
  text-decoration: none;
  font-weight: 100;
  padding: 25px;
  text-shadow: 0px 0px 3px #555;
}
/* ___________________ Impressum & Datenschutz _____________________ */
.EmailAdress::before {
    content:"@";
    display: inline;
}
.EmailAdress::after {
    content:".";
    display: inline;
}
/* ___________________ CV _____________________ */
tr {
    padding-bottom: 5px;
}
td {
   vertical-align: top;
   padding-right: 10px;
}
td:nth-child(odd) {
    font-weight: bold;
}
li {
    margin-left: 1em;
}
/* ___________________ MenuIcon _____________________ */
.menuIcon {
  display: none;
  cursor: pointer;
}

.bar1, .bar2, .bar3 {
  width: 35px;
  height: 5px;
  background-color: var(--main-txt-color);
  margin: 6px 0;
  transition: 0.4s;
}

/* Rotate first bar */
.change .bar1 {
  -webkit-transform: rotate(-45deg) translate(-9px, 6px) ;
  transform: rotate(-45deg) translate(-9px, 6px) ;
}

/* Fade out the second bar */
.change .bar2 {
  opacity: 0;
}

/* Rotate last bar */
.change .bar3 {
  -webkit-transform: rotate(45deg) translate(-8px, -8px) ;
  transform: rotate(45deg) translate(-8px, -8px) ;
}

/* ___________________ Responsiveness _____________________ */
@media only screen and (max-width: 900px) {
  .menuIcon {
  display: inline;
  cursor: pointer;
  float: right;
  position: absolute;
  right: 15px;
  top: 30px;
  }
  .menu {
  transition: 0.5s;
  height: 100%;
  }
  .topnav {
  overflow: hidden;
  display: none; /* flex */
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  height: 25%;
  width: 100%;
  color: inherit;
  position: absolute;
  bottom: 25px;
  left: 0;

  }
  .shadow {
    text-shadow: none;
  }
  header {
  width: 100%;
  height: 100px;
  position: fixed;
  display: inline-block;
  background-color: var(--main-bg-color);
  transition: 0.5s;
  }
  .headerContent {
  display: block;
  padding: 15px;
  margin: auto;
  position: relative;
  }
  h1{
  font-size: 2.3em;
  display:inline;
  }
  main::before {
  content: "";
  display: block;
  height: 0px;
  width: 75%;
  border: 3px solid var(--main-txt-color);
  position: fixed;
  left: 12.5%;
  top: 97px;
  z-index: 110;
  }
  #slideshow::before {
  content: "";
  display: block;
  height: 0px;
  width: 75%;
  border: 3px solid var(--main-txt-color);
  position: fixed;
  left: 12.5%;
  top: 97px;
  z-index: 110;
  }
  main {
  max-width: 700px;
  width: 80%;
  margin: auto;
  margin-top: 50px;
  padding: 100px 20px;
 }
 .content {
  padding: 25px 0px;
  margin-bottom: 25px;
}
 footer {
 background-color: var(--main-bg-color);
 padding: 5px;
 padding-right: 10%;
 width: 100%;
 }

 /* CV */
 td {
   vertical-align: top;
   padding-right: 10px;
   display: block;
}
td:nth-child(even) {
    padding-bottom: 10px;
}

 /* Contact */
 #UiElements {
   display: -webkit-flex; /* Safari */
  -webkit-flex-direction: column-reverse; /* Safari 6.1+ */
  display: flex;
  flex-direction: column-reverse;
  align-items: center
}
.buttons, .zoomButtons {
 width: 50%;
 left: 25%;
 margin: 0px;
 }
.zoomButtons {
 margin-bottom: 10px;
}

 /* works */
 .imgInfoBox {
  margin: 0;
  padding: 25px;
  width: 50%;
  left: 25%;
  bottom: 75px;
}
  .panzoom {
  line-height: 75vh;
  }
  .detailViewImg {
  vertical-align: middle;
  }
  .gutter-sizer { width: 4%; }
 .grid-sizer,
 .grid-item {
  width: 48%;
  margin-bottom: 25px;
 }
 @media only screen and (max-width: 600px) {
 .gutter-sizer { width: 0%; }
 .grid-sizer,
 .grid-item {
  width: 90%;
  margin-bottom: 50px;
 }
 .thumbnail {
 margin-left: 5%;
 }
 .buttons, .zoomButtons {
 width: 90%;
 left: 5%;
 }
 .imgInfoBox {
  margin: 0;
  padding: 25px;
  width: 90%;
  left: 5%;
  bottom: 75px;
}
 }
}
