.dce-iconbox.layout-1 header > * {
    color: var(--theme);
}

.dce-iconbox header > * {
    text-align: center;
}

.dce-iconbox header h1 {
    font-size: 4rem;
}
.dce-iconbox header h2 {
    font-size: 2.6rem;
}
.dce-iconbox header h3 {
    font-size: 2.0rem;
}
.dce-iconbox header h4 {
    font-size: 1.6rem;
}
.dce-iconbox header h5 {
    font-size: 1.2rem;
}

/* SLIDESHOW ELEMENT */

/* Slideshow container */
.slideshow-container {
  width: 100%;
  max-height: 400px;
  overflow-x: hidden;
  overflow-y: hidden;
  position: relative;
  margin: auto;
}

/* Hide the images by default */
.slideshow-container .dce-slide {
  display: none;
}
/* Next & previous buttons */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  margin-top: -22px;
  padding: 16px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.8);
}

/* Caption text */
.slideshow-container .text {
  color: #f2f2f2;
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: center;
}


/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* The dots/bullets/indicators */
.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active, .dot:hover {
  background-color: #717171;
}

/* Fading animation */
.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {opacity: 0}
  to {opacity: 1}
}

.modal-img {
  width: 100%;
  /*
    max-height: 80vh;
    object-fit: contain;
  */
  max-height: 90vh;
  object-fit: cover;
  transition: opacity 0.5s ease-in-out;
}

.fade-image {
  opacity: 0;
}

.modal-navigation {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  /*padding: 0 2rem 0 0;*/
  transform: translateY(-50%);
}

.modal-navigation button {
  background: rgba(0, 0, 0, 0.5);
  border: none;
  color: white;
  font-size: 2rem;
  padding: 0.5rem 1rem;
}

#imageModal .modal-content {
    border-radius: 0;
    box-shadow: 0 0 10px #222;
}

#imageModal .modal-body {
    padding: 0;
}



/* DCE-Immobilien */
.property-img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}
.carousel-thumb img {
  height: 100px;
  object-fit: cover;
  cursor: pointer;
}

.dce-immo {
    border-bottom: 1px solid #dee2e6;
}

.dce-immo:last-child {
    border-bottom: 0px;
}

.nav-tabs .nav-link {
    color: #61ad67;
    border-radius: 0;
    border: 0;
}

.nav-tabs .active {
    color: #FFF !important;
    background-color: #61ad67 !important;
    background-image: url(/fileadmin/Ressourcen/nav-groupbackground.png);
    background-position: center top;
    background-size: cover;
}
.tab-content .active {
    background-color: inherit;
}

.tab-content .tab-pane {
    padding: 1rem;
}

.minicarousel {
    margin-bottom: 2rem;
}

.minicarousel .carousel-indicators {
    position: inherit;
}

.minicarousel .carousel-indicators button {
    background-color: #333;
}