﻿#lvGalleryList .row {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    -webkit-flex-wrap: nowrap;
    -ms-flex-wrap: nowrap;
    justify-content: space-around;
}
#lvGalleryList .column {
    flex: 1;
    -ms-flex: 1;
    -webkit-flex: 1;
    /*flex-grow: 2;*/
}
.galleryContainer {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    justify-content: space-around;
}
.galleryitem {position: relative;}
.galleryitem .overlay {
  position: absolute;
  margin: 0px 8px 8px 8px;
  inset: 0;
  background: rgba(0, 0, 0, 0.2);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
}
.galleryitem > img {
    cursor: pointer;
    width: 100%;
    max-width: 300px;
    height: auto;
    padding:0px 8px;
    border: none;
}
.galleryitem .overlay:hover {cursor: pointer; background: transparent;}
.blog-teaserimg {
    display: block;
    overflow: hidden;
    position: relative;
    margin: 0;
    width: 100%;
    height: 173px;
    border: none;
    border-bottom: 1px solid #DEDEDE;
}
article { width: 98%; }
article a .blog-teaserimg {
    -webkit-transition: -webkit-transform 0.4s;
    transition: transform 0.4s;
}
article a:hover .blog-teaserimg, article a:focus .blog-teaserimg  {
    /*-webkit-transform: scale(1.1);
    transform: scale(1.1);*/
    -webkit-transform: scale(1.1) rotate(0.01deg);
    transform: scale(1.2) rotate(0.01deg);
}
.blog-teaserimg-inner {
    background-color: #fff;
    background-position: center center;
    background-size: cover;
}
.blog-teaserimg .blog-teaserimg-inner {
    display: block;
    overflow: hidden;
    width: 100%;
    position: relative;
    height: 100%;
    background-image: url('images/001.svg');
    background-size: cover;
    background-position-y: top;
}
.blog-teasercontent {
    display: block;
    float: left;
    height: 202px;
    padding: 2.65em 1.5em 1.5em 1.5em;
    position: relative;
    /*width: 100%;*/
}
.blog-sortierdatum {
    font-size: 13px;
    color: #fff;
    background: #96a499;
    width: 158px;
    height: 32px;
    text-align: center;
    line-height: 32px;
    position: absolute;
    top: -16px;
    left: 50%;
    margin-left: -74px;
    -webkit-transition: -webkit-transform 250ms ease 0s;
    transition: -webkit-transform 250ms ease 0s;
    transition: transform 250ms ease 0s;
    transition: transform 250ms ease 0s, -webkit-transform 250ms ease 0s;
    -webkit-transform: scale(1);
    transform: scale(1);
}
article a:hover .blog-sortierdatum, article a:focus .blog-sortierdatum  {
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
}
.blog-teaserhl {
    font-family: 'fira_sans_condensedregular',Arial,Verdana,sans-serif; 
    font-style: normal; 
    font-weight: normal; 
    color: #363636; 
    hyphens: auto; 
    word-wrap: break-word;
    font-size: 1.17em; 
    margin: 0.6em 0em 0.3em 0em;
}
.blog-teasertext {
    display: block;
    color: #212121;
    font-size: 15px;
    font-weight: 400;
    margin: 13px 0 0 0;
    width: 100%;
    height: 75px;
    overflow: hidden;
    line-height: 1.6;
    position: relative;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
}
.row-thumbs > .column-thumbs {
  padding: 0 8px;
}
.row-thumbs {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow-x: scroll;
}
.row-thumbs:after {
  content: "";
  display: table;
  clear: both;
}
.row-thumbs::-webkit-scrollbar-track
{
	-webkit-box-shadow: inset 0 0 2px rgba(0,0,0,0.3);
	border-radius: 8px;
	background-color: #363636;
}

.row-thumbs::-webkit-scrollbar
{
	width: 12px;
    height: 16px;
	background-color: #363636;
}

.row-thumbs::-webkit-scrollbar-thumb
{
	border-radius: 8px;
	-webkit-box-shadow: inset 0 0 2px rgba(0,0,0,.3);
	background-color: #96a499;
}
.column-thumbs {
  justify-content: center;
}
.modal {
  display: none;
  position: fixed;
  z-index: 230;
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: black;
}
.modal-content {
  position: relative;
  background-color: #363636;
  margin: auto;
  padding: 0;
  width: 90%;
  max-width: 1200px;
}
.modal-close {
  color: white;
  position: absolute;
  top: 10px;
  right: 25px;
  font-size: 35px;
  font-weight: bold;
}
.modal-close:hover,
.modal-close:focus {
  color: #999;
  text-decoration: none;
  cursor: pointer;
}
.gallerySlides {
  display: none;
  text-align: center;
  color: #f2f2f2;
}
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -50px;
  color: white;
  font-weight: bold;
  font-size: 20px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
  -webkit-user-select: none;
}
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}
.prev:hover, .next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}
.caption-container {
  text-align: center;
  padding: 2px 16px;
  color: #fff;
}
.galleryImg {
    width: 100%;
    height: auto;
    max-height: 78vh;
    touch-action: pan-y;
}
img.galThumb {
  opacity: 0.6;
}
.active, .galThumb:hover {
  opacity: 1;
}
img.hover-shadow {
  transition: 0.3s;
}
.hover-shadow:hover {
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}
.zmIcon {
  position: relative;
  z-index: 1;
}
/* Add Animation */
/*.modal-content, .gallerySlides {  
  -webkit-animation-name: zoom;
  -webkit-animation-duration: 0.6s;
  animation-name: zoom;
  animation-duration: 0.6s;
}
@-webkit-keyframes zoom {
  from {-webkit-transform:scale(0.8)} 
  to {-webkit-transform:scale(1)}
}

@keyframes zoom {
  from {transform:scale(0.8)} 
  to {transform:scale(1)}
}*/

@media only screen and (max-width: 599px) {
    .galleryImg {
        width: 100%;
    }
    .modal-close {
        right: 25px;
    }
}