#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;  
}
 
#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 var(--primarycolordark);
}

.lead span {
    background: var(--primarycolortrans));
    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(184,209,106,1);
}

#meta-navigation a.meta-activ,
#meta-navigation a:hover{
  font-weight: bold;
  text-decoration: none;
}

.nav-item a:hover {
  color: rgba(184,209,106,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: var(--primarycolortrans); 
    /* 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,180,230) */
}

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;
}