body {
  background: #222;
  color:#eee;
  text-align: justify;
  font-weight: 300;
  overflow-x: hidden;
  width: 100vw;
}
.page-scroll {
  overflow-x: hidden;
  position: relative;
  height: 100vh;
  width: 100vw;
}
.page-scroll > .ps-scrollbar-y-rail {
  z-index: 500;
  right: 0px !important;
}
*:focus {
  outline: none;
}
p {
  margin-bottom: 1.25rem;
  text-align: justify;
}
.section.impressum {
  border-radius: 3px;
  max-width: 800px;
  margin: auto;
  margin-bottom: 128px;
  padding: 16px 16px 36px 16px;
  background: rgba(255,255,255,.05);
}
.section.impressum h5 {
  margin-top: 36px;
}
h1,
h2,
h3,
h4 {
  font-weight: 300;
}
ul,
ul li {
  list-style: decimal;
}
ul.no-deco,
ul.no-deco li {
  list-style: none;
  padding-left: 0;
}
ul {
  padding-left: 4rem;
}
.header {
  padding: 24px 0 8px 0;
  text-align: center;
  z-index: 200;
  position: relative;
  /*max-width:800px;
  width:100%;
  margin:32px auto 0 auto;*/
}
.content.container {
  z-index: 200;
  position: relative;
  text-align: center;
  font-size: 1.4rem;
  line-height: 2.2rem;
}
.content.container .col {
  text-align: center;
}
.galery {
  background: #555;
  position: relative;
  padding-top: 15px;
}
.galery .images,
.galery .controls,
.galery .slides {
  -moz-user-select: none;
  -khtml-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
.galery .main {
  height: 100%;
  position: relative;
  text-align: center;
}
.galery .controls .ctrl-right,
.galery .controls .ctrl-left,
.galery .controls .comments-btn {
  background: #fff;
  border-radius: 3px;
  width: 64px;
  height: 64px;
  text-align: center;
  position: absolute;
  top: calc(50% - 32px);
  cursor: pointer;
  transition: .3s;
  z-index: 100;
}
.galery .controls .ctrl-right.disabled,
.galery .controls .ctrl-left.disabled,
.galery .controls .comments-btn.disabled {
  pointer-events: none;
  background: #555;
}
.galery .controls .ctrl-right.disabled i,
.galery .controls .ctrl-left.disabled i,
.galery .controls .comments-btn.disabled i {
  color: #222 !important;
}
.galery .controls .ctrl-right i,
.galery .controls .ctrl-left i,
.galery .controls .comments-btn i {
  font-size: 3.5rem;
  line-height: 4.2rem;
}
.galery .controls .comments-btn {
  border-radius: 0px;
  border-top-right-radius: 3px;
  top: auto;
  bottom: 0;
  left: 0;
  height: 32px;
  transition: .3s;
}
.galery .controls .comments-btn i {
  font-size: 1.6rem;
  line-height: 2.3rem;
  transition: .3s;
}
.galery .controls .comments-btn .close {
  position: absolute;
  left: 0;
  right: 0;
  margin: auto;
  opacity: 0;
}
.galery .controls .ctrl-right {
  right: -32px;
}
.galery .controls .ctrl-left {
  left: -32px;
}
.galery .images {
  width: 100%;
  background: transparent; /* #6f6f6f */
  display: block;
  position: relative;
  overflow: hidden;
}
.galery .images:before {
  padding-top: 56.25%;
  /* 16:9 ratio */
  display: block;
  content: '';
}
.galery .images .curr,
.galery .images .next,
.galery .images .prev {
  position: absolute;
  height: 100%;
  width: 100%;
  top: 0;
  transition: .7s;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
.galery .images .prev {
  right: 100%;
}
.galery .images .curr {
  right: 0;
}
.galery .images .next {
  right: -100%;
}
.galery .slides {
  display: flex;
  flex-direction: row;
  padding: 32px;
  width: 100vw;
  overflow: auto;
  position: relative;
}
.galery .slides .slide {
  margin: 0 16px;
  transition: .3s;
  cursor: pointer;
  border-radius: 3px;
}
.galery .slides .slide img {
  border-radius: 3px;
  display: block;
  height: 100%;
  width: auto;
}
.galery .slides .slide.active {
  box-shadow: 0 8px 17px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  transform: scale(1.04);
}

.galery .controls .menu-container {
  position: absolute;
  top: 3px;
  right: 3px;
  color: rgba(0,0,0,0.89);
}
.galery .controls .menu-container .info-btn {
  position: absolute;
  right: 5px;
  top: 5px;
  cursor: pointer;
  z-index: 3;
}
.galery .controls .menu-container .info-btn i {
  transition: .3s;
  transition-delay: 0s;
  color: #fff;
}
.galery .controls .menu-container .info-btn i.close {
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  color: #555;
}
.galery .controls .menu-container.open .info-btn .open {
  opacity: 0;
  transform: rotate(225deg);
}
.galery .controls .menu-container.open .info-btn .close {
  opacity: 1;
  transform: rotate(225deg);
}
.galery .controls .menu-container.open .menu {
  opacity: 1;
  pointer-events: all;
}
.galery .controls .menu-container .menu {
  transition: .3s;
  border-radius: 3px;
  padding: 28px;
  display: inline-block;
  float: right;
  opacity: 0;
  pointer-events: none;
}
.galery .controls .menu-container .menu .menu-name {
  font-weight: bold;
  padding-bottom: 8px;
}



@media (max-width: 700px) {
  body .galery .main {
    width: 100% !important;
  }
  .header {
    padding: 16px;
  }
  .galery .controls .ctrl-left,
  .galery .controls .ctrl-right {
    background: transparent !important;
    box-shadow: none;
  }
  .galery .controls .ctrl-left {
    left: -20px;
  }
  .galery .controls .ctrl-right {
    right: -20px;
  }
  .galery .comments {
    display: none !important;
  }
  body {
    font-size: 1.1em !important;
    line-height: 1.8em !important;
  }
  .slides .slide {
    height: 90px;
  }

  .galery .mobile-overlay {
    position: absolute;
    bottom: 0;
    height: 154px;
    left: 0;
    right: 0;
    pointer-events: none;
    text-align: center;
    background: rgba(0,0,0,0.4);
    display:flex;
    justify-content: center;
    align-items: center;
    font-size:35px;
    font-weight:500;
  }

  .mobile-overlay img {
    height:100px;
  }
}
@media (min-width:960px) {
  .galery {
    background: url("/images/background.jpg") center center;
    background-size: cover;
  }
}



.switch label input[type=checkbox]:checked + .lever {
  background-color: #64b5f6 !important;
}
.switch label input[type=checkbox]:checked + .lever:after {
  background-color: #1e88e5 !important;
}
input[type="radio"].with-gap:checked + label:before {
  border-color: #1e88e5 !important;
}
input[type="radio"].with-gap:checked + label:after {
  border-color: #1e88e5 !important;
  background-color: #1e88e5 !important;
}
input[type="text"]:not([readonly]):focus + label,
[type="password"]:not([readonly]):focus + label,
[type="number"]:not([readonly]):focus + label,
[type="email"]:not([readonly]):focus + label {
  color: #9e9e9e !important;
}
input:not([type]):focus:not([readonly]),
input[type=text]:focus:not([readonly]),
input[type=password]:focus:not([readonly]),
input[type=email]:focus:not([readonly]),
input[type=url]:focus:not([readonly]),
input[type=time]:focus:not([readonly]),
input[type=date]:focus:not([readonly]),
input[type=datetime-local]:focus:not([readonly]),
input[type=tel]:focus:not([readonly]),
input[type=number]:focus:not([readonly]),
input[type=search]:focus:not([readonly]),
textarea.materialize-textarea:focus:not([readonly]) {
  border-bottom: 1px solid #2196f3 !important;
  box-shadow: 0 1px 0 0 #2196f3 !important;
}
input[type="checkbox"]:checked + label:before {
  border-right: 2px solid #2196f3;
  border-bottom: 2px solid #2196f3;
}




/* TEMPORARY STUFF */
.galery .controls .comments-btn {
  display: none !important;
}
