/* spaces */
.csc-space-before-extra-small { margin-top: 1em !important; }
.csc-space-before-small { margin-top: 2em !important; }
.csc-space-before-medium { margin-top: 3em !important; }
.csc-space-before-large { margin-top: 4em !important; }
.csc-space-before-extra-large { margin-top: 5em !important; }
.csc-space-after-extra-small { margin-bottom: 1em !important; }
.csc-space-after-small { margin-bottom: 2em !important; }
.csc-space-after-medium { margin-bottom: 3em !important; }
.csc-space-after-large { margin-bottom: 4em !important; }
.csc-space-after-extra-large { margin-bottom: 5em !important; }

/* Cookie_banner */

#bottom_popup {
  display: block;
  width: 100%;
  text-align: left !important;
  bottom: 0%;
  position: fixed;
  z-index: 100000;
  border-radius: 4px 4px 0 0;
  margin-bottom: -326px;  
  padding: 1rem;
  height: auto;
  background: #656565;
}
#bottom_popup p {
  margin-bottom: 0;
  transform: scale(1) !important;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 100;
  text-align: center;
}  
#bottom_popup span {
  color: #333;
  background: #ccc;
  padding: 0.2rem 0.4rem;
  margin-left: 1rem;
  border-radius: 0.2rem;
  cursor: pointer;
}

#bottom_popup a {
  border-bottom: 1px solid #ccc;
  padding-bottom: 0.1rem;
  color: #ffdc24;
  margin-left: 0.5rem;
}

#bottom_popup .button {
  margin-top: 1rem;
  background: #333;
  margin-bottom: 0.25rem;
  font-weight: 100;
  padding: 0.7rem;
}

#form_wrap label[for="Datenschutz"]{
  font-size: 0.7rem !important;
}

@media only screen and (max-width: 58em) {
  .ph_footer {
    padding-bottom: 6rem !important;
  }
}

@media only screen and (min-width: 58.063em) {
 .ph_footer {
   padding-bottom: 3rem !important;
 }
}

/* ph_lightbox */
.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 100;
}

.lightbox .image_wrap {
  max-width: 100%;
  max-height: 100%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  cursor: pointer;
  background-color: black;
}

.lightbox .close {
  color: white;
  position: absolute;
  top: 3.5rem;
  right: 2.5rem;
  font-size: 54px;
  cursor: pointer;
}

.lightbox .arrow {
  color: white;
  font-size: 32px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  opacity: 0.8;
  padding: 10px;
  user-select: none;
}

.lightbox .arrow:hover {
  opacity: 1;
}

.lightbox .prev {
  left: 20px;
}

.lightbox .next {
  right: 20px;
}

#ph_lightbox_caption {
  font-size: 0.9rem;
  min-width: 300px;
}

.caption_wrap {
  padding: 1rem;
  background: #fff;
  overflow: hidden;
}


.lightbox-image.current {
  transform: translateX(0);
}

.lightbox-image.out-left {
  transform: translateX(-100%);
}

.lightbox-image.out-right {
  transform: translateX(100%);
}

.lightbox-image.in-right {
  transform: translateX(0);
}

.lightbox-image.in-left {
  transform: translateX(0);
}

.lightbox-image {
  transition: none;
  transform: translateX(0);
}

.lightbox-image.next {
  transition: none;
  transform: translateX(100%);
}

.lightbox-image.previous {
  transition: none;
  transform: translateX(-100%);
}

.lightbox-image.transition {
  transition: transform 0.5s ease;
  transform: translateX(0);
}

figure.th {
  box-shadow: 0;
  border-width: 2px;
  margin: 0 0 1em;
}

.slideshow .frame-layout-104, .container_top .frame-layout-104 {
  max-width: 1920px;
  margin: 0 auto;
  display: block;
}

.onlineLabel {
  position: absolute;
  top: 7px;
  right: 33px;
  background: #ffffffd1;
  padding: 0.1rem 0.5rem;  
}
.onlineLabel span {
    color: #146331;
}
.onlineLabel img {
  display: inline !important;
  width: 1.3rem;
  position: relative;
  top: -2px;
  left: -3px;
  border: none !important;  
}

.tx-vgetagcloud-pi1 {
  list-style: none;
  padding: 0;
  margin: 0;
  background: transparent;
  border: none; 
}

.tx-vgetagcloud-pi1 ul {
  margin: 0;
}

.tx-vgetagcloud-pi1 li {
  display: inline-block;
  margin: 4px;
}

.tx-vgetagcloud-pi1 li a {
  display: inline-block;
  padding: 5px 10px; /* Adjust the padding as needed */
  background-color: rgba(89, 89,89, 0.74);
  color: #fff; 
  text-decoration: none;
  border-radius: 5px;
}

.tx-indexedsearch-browsebox {
  margin: 0.5rem 0;
}
.tx-indexedsearch-browsebox li {
   display: inline;
   padding-right: 0.51rem;
}
#ph_search, .tx-indexedsearch-searchbox {
  width: 13.4rem;
  padding-right: 5rem;
  display: inline-block;
}  
#ph_search .tx-indexedsearch-form, .tx-indexedsearch-searchbox .tx-indexedsearch-form{
  padding: 0;
}
#ph_search .extendedSearch, .tx-indexedsearch-searchbox .extendedSearch {
  display: none;
}
#ph_search .tx-indexedsearch-search-submit, .tx-indexedsearch-searchbox .tx-indexedsearch-search-submit {
  padding: 0;
}
#ph_search #tx-indexedsearch-searchbox-button-submit, .tx-indexedsearch-searchbox #tx-indexedsearch-searchbox-button-submit {
   color: transparent;
   border: none;
   background: url(../../../templates/Foundation_Icons_SVG/fi-magnifying-glass_bl.png) no-repeat left 0.4rem top;
   background-size: 1.7rem;
   height: 1.5rem; 
}
#ph_search .tx-indexedsearch-searchbox-sword, .tx-indexedsearch-searchbox .tx-indexedsearch-searchbox-sword {
    padding: 5.6px 9px;
    margin: 0.01rem 0px 0px;
    height: 1.7rem;
    border-radius: 5px;    
}

div.copyright_box {
  right: 0px;
  display: table;
  margin: -14px 0 0 2px;
  position: relative;
  z-index: 90;
  font-size: 9.5px;
  background-color: rgba(255, 255, 255, 0.75);
  padding: 0 0.2rem;
  line-height: 1.4;
  color: #333;
}

#loadingFormOverlay {
  display: none; /* Hidden by default */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
  z-index: 9999; /* Place above everything else */
}

.loadingContent {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #ffffff;
  text-align: center;
  p {
    color: #fff;
    font-size: 2rem;    
  }
}

/* Loading spinner animation */
.loader {
  border: 8px solid #f3f3f3;
  border-radius: 50%;
  border-top: 8px solid #3498db;
  width: 50px;
  height: 50px;
  animation: spin 1s linear infinite;
  margin: 2rem auto;  
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.ph_breadcrumbs, .ph_breadcrumb {
  ol,li {
    display: inline;
  }
  .breadcrumbs ol li:before {
    color: #AAAAAA;
    content: ">";
    margin: 0 0.75rem;
    position: relative;
    top: 1px;
  }  
  .breadcrumbs ol > li:first-child {
    &:before {
      content: " ";
      margin: 0;
    }  
  }
}