section#photos {
  background: transparent;
  padding: 1em 0;
}

#photos {
  /* Prevent vertical gaps */
  line-height: 0;
 
  -webkit-column-count: 3;
  -webkit-column-gap:   0px;
  -moz-column-count:    3;
  -moz-column-gap:      0px;
  column-count:         3;
  column-gap:           20px;  
}

@media (max-width: 767px) {
   #photos {
    line-height: 0;
    -webkit-column-count: 2;
    -webkit-column-gap: 0px;
    -moz-column-count: 2;
    -moz-column-gap: 0px;
    column-count: 2;
    column-gap: 20px;
  }
} 
#photos img {
  /* Just in case there are inline attributes */
  width: 100% !important;
  height: auto !important;
  margin: 20px 0;
  -webkit-box-shadow: 8px 8px 6px -4px rgba(0,0,0,0.43);
  -moz-box-shadow: 8px 8px 6px -4px rgba(0,0,0,0.43);
  box-shadow: 8px 8px 6px -4px rgba(0,0,0,0.43);
  display: block;
}

#photos div {
  position: relative;
  display: inline-block;
  overflow: hidden;
}

#photos a {
  display: inline-block;
}

#photos .caption-in-image {
  position: absolute; 
  bottom: -200px;
  margin: 0;
  padding: 0.8em;
  width: 100%;
  background: rgba(255,255,255,0.6);
  font-size: 0.8em;
}

#photos .caption-in-image.caption-show {
  bottom: 5px;
}


@keyframes slidein {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideout {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

#photos a:hover:after {
    position: absolute;
    display: inline-block;
    top: 50%;
    left: 50%;
    margin: -24px 0 0 -24px;
    display: block;
    content: "";
    width: 48px;
    height: 48px;
    background: transparent url(/fileadmin/res/images/enlarge_image.png) no-repeat;
}

div.fancybox-caption-wrap {
  padding: 0 !important;
}
.fancybox-caption {
  background: rgba(89,222,248, 0.5);
  padding: 2em;
}

#contentwrapper {
  /* background: transparent url(/fileadmin/res/images/footer-soft.jpg) no-repeat center bottom; */
  background-size: contain;
  padding-bottom: 0%;
}

.bg-section-a {
  background: #e0d9cf url(/fileadmin/res/images/bg_main_.jpg) no-repeat left top; 
  background-size: cover;
}

#person .ce-bodytext p {
    column-count: 2;
    overflow: visible;  
    /* background-color: rgba(224,217,207, 0.8); */
}


.lead {
    padding: 7px 0 7px 10px;
    text-align: left;
    border-left: 20px solid #693;
}

.lead span {
    background: rgba(151,209,107,0.75);
    padding: 4px;
    text-align: left;
}

.lead span strong {
    position: relative;
    /* left: -10px; */
}

#meta-navigation {
  text-align: right;
  font-size: 0.8em;
  margin-top: 5px;
  padding-right: 1.5rem;
}

#meta-navigation a {
  color: #999;
}

#meta-navigation a:hover {
  color: rgba(151,209,107,1);
}

#meta-navigation a.meta-activ,
#meta-navigation a:hover{
  font-weight: bold;
  text-decoration: none;
}

.nav-item a:hover {
  color: rgba(151,209,107,1);
}

table.contenttable {
  min-width: 50%;
}

table.contenttable td {
  padding: 4px 4px 4px 0;
}

.well {
  min-height: 20px;
    padding: 1.6em;
    margin-bottom: 20px;
    background-color: rgba(151,209,107,0.45); 
    /* border: 1px solid rgba(184,209,106,0.95);*/
    border-radius: 4px;
    color: rgb(105,105,105);
    font-size: 1.4em;
    font-weight: 600;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.05);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.05);
}

section:nth-of-type(even) .well {
    background-color: rgba(255, 255, 255,1);
    color: rgb(102,153,51);
}

section#kontakt {
  /* background: rgba(255,255,255,0.75); */
  border-top: 1px solid rgb(0,0,0);
  border-bottom: 1px solid rgb(0,0,0);
}

section#kontakt:nth-of-type(even) h2.display-2 {
  /* color: rgba(0,180,230,1); */
}

@media (max-width: 575.98px) {
  .ce-right .ce-gallery {
    float: none;
  }
}

.well p { margin: 0; }

blockquote {
    margin: 0;
    padding: 0;
    margin-left: 10%;
    margin-right: 10%;
    /* width: 90%; */
    position: relative;
    display: inline-block;
    font-size: 1.2em;
}

blockquote p {
  display: inline-block;
  padding: 0 1em;
}
   
blockquote::before, 
blockquote::after {
  position: absolute;  
  display: block;
  font-size: 7em;
  color: rgb(102, 153,51);  
}

blockquote::before {
  content: '„';
  left: -0.33em;
  top: -0.95em;
}

blockquote::after {
  content: '“';
  top: -0.3em;
  right: -0.3em;
}

/* Parallax Stage Imgae */
#keyvisual > .stage {
  position: fixed !important;
}

section:nth-of-type(odd) {
    background-color: rgba(255,255,255,1);
}

section:nth-of-type(even) {
  /* background-color: rgba(0,180,230,1); */
  background-color: rgba(151,209,107,1);
}

#pagefooter {
  background-color: rgba(255,255,255,0.9);
}

#header {
  background: rgba(255,255,255,0.8);
}

.fancybox-navigation button:before {
  background-color: rgba(151,209,107,1);
  border: 1px solid #fff;
}

.fancybox-navigation button:hover {
  cursor:pointer;
}

.fancybox-button:focus, .fancybox-button:hover {
  color: #000;
}

.fancybox-button[disabled] {
  display: none;
}

.sm-icon {
  max-height: 20px;
  width: auto;
  margin: 0 5px 0 0;
}

a.sm-icon-insta {
  color: #828e98;
  margin-top: 1.2rem; 
  display: inline-block;
}

@media(max-width: 1199px) {
  .sm-icon-set > span { display: none; }
}

section#kontakt a.sm-icon-insta {
  color: #fff;
}

section#kontakt a.sm-icon-insta {
  color: #fff;
  margin-top: 0;
}


section#kontakt a.nav-link { color: #fff; padding-left: 0}
section#kontakt a.nav-link:hover { color: #000; }