html * {
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Sticky Footer */
html, body {
  height: 100%;
}

.body-bg {
  position: relative;
  min-height: 100%;
}

#page-content {
  padding-bottom: 350px;
}

footer {
  position: absolute;
  bottom: 0;
  max-height: 350px;
  width: 100%;
}
/* End Sticky Footer */



.footer-section ul {
  list-style: none;
  padding-left: 0;
}

.footer-section-content a:not(.btn) {
  color: #62a3ff;
}

.footer-section-content a:not(.btn):hover {
  color: #2263bf;
}

.footer-section-meta > div {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.footer-copyright {
  color: #bbb;
  font-size: 12px;
}



.navbar {
  background-color: var(--bs-primary) !important;
}

.navbar .navbar-toggler,
.navbar .navbar-toggler ~ nav .nav-link,
.navbar .navbar-nav .nav-link,
.navbar .navbar-nav .active .nav-link,
.navbar .navbar-nav .nav-link:focus {
  color: #fff;
  font-size: 1.1rem;
}
.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-toggler ~ nav .nav-link:hover {
  color: #bbb;
}

.navbar .navbar-brand-image > img {
  max-height: 100%;
  height: auto;
}
.navbar:not(.navbar-transition) .navbar-brand-image {
  transform: scale(1.5);
}

.navbar.navbar-mainnavigation .navbar-brand {
  transition: 0.2s ease-out;
}

.navbar.navbar-mainnavigation .navbar-nav > li > .nav-link::before {
  background: #fff;
}

.navbar .navbar-transition .navbar-brand-image {
  padding-top: 8px;
  padding-bottom: 8px;
}

li.nav-item.active:first-child:not(:hover) .nav-link::before {
  opacity: 0;
}



/* frame-layout-1 wird für die 3-spaltige Darstellung des Karussells verwendet */

.frame-layout-kacheln {
  padding:0;
  border-bottom: solid var(--bs-primary) 70px;
}
.frame-layout-kacheln .frame-container {
  padding:0;
  max-width:100%;
}

.frame-layout-kacheln .carousel-item {
  opacity: 1;
  z-index: 1;
  height: 24rem;
  display: block;
  margin-right: 0;
}

.frame-layout-kacheln .carousel-box {
  color: white;
  background-color: unset;
  max-width: 100%;
}

.frame-layout-kacheln .carousel-item-header {
  font-size: 2.2rem;
  font-weight: 400;
}

.frame-layout-kacheln .carousel-item-button {
  background-color: unset;
  border-color: white;
  border-width: 2px;
  border-radius: 10px;
  position: absolute;
  bottom: 20%;
}

.frame-layout-kacheln .carousel-item-button:hover {
  background-color: white;
  color: black;
  border-color: white;
}

.frame-layout-kacheln .carousel-backgroundimage-container {
  background-color: #0008;
  transition: 0.2s ease-in-out;
}

.frame-layout-kacheln .carousel-item:hover .carousel-backgroundimage-container {
  background-color: #000a;
}

.frame-layout-kacheln .carousel-backgroundimage {
  z-index: -1;
}

.frame-layout-kacheln .carousel-indicators,
.frame-layout-kacheln .carousel-control {
  display: none;
}



/*-- Kontaktseite Banenr-Icons --*/
#c1231 .gallery-item:first-child picture {
  background-image: url("/fileadmin/objekt-leasing.de/img/envelope-active.svg");
}
#c1231 .gallery-item:nth-child(2) picture {
  background-image: url("/fileadmin/objekt-leasing.de/img/filiale-active.svg");
}
#c1231 .gallery-item:last-child picture {
  background-image: url("/fileadmin/objekt-leasing.de/img/telephone-active.svg");
}
#c1231 .gallery-item picture img {
  transition: opacity  0.15s ease-in-out;
}
#c1231 .gallery-item picture:hover img {
  opacity: 0;
}

#c1231 {
  background-image: linear-gradient(to bottom, #0089d5, #00c5da);
}
#c1231 header h1 {
  color: white;
  margin-top: 7rem;
  font-size: 3.5rem;
}
#c1231 .gallery-row {
  height: 35rem;
}
#c1231 .gallery-item {
  position: relative;
  top: 15%;
}

#c1231 figure {
  background-repeat: no-repeat;
  height: fit-content;
  width: 45%;
  margin: auto;
}
#c1231 figcaption {
  font-size: 1.7rem;
  line-height: 1.2;
  width: 200%;
  margin-top: 3rem;
  color: white;
  position: relative;
  left: -50%;
}



#c1252 .gallery-row img {
  max-width: 175px;
  margin-left: 0;
}



.frame-type-header + .section-default .section-column > .frame:first-child {
  padding-top: 0;
}


.frame-type-uploads .media-list .media-body a {
  font-size: 1.25rem;
}
.frame-type-uploads .media-list .media + .media {
  margin-top: 0.5rem;
}


.leaflet-container span {
  visibility: hidden;
}



@media (min-width: 992px) {

  .frame-layout-kacheln .carousel .carousel-item {
    width: calc(100% / 3);
    height: calc(100vw / 3);
  }
}

@media (max-width: 991px) {

  #c1231 .frame-container {
    max-width: 100%;
  }

  #c1231 .gallery-row {
    height: auto;
  }

  #c1231 .gallery-item-size-3 {
    width: 100%;
    margin: 3rem;
  }

  #c1231 .gallery-row figure {
    width: 140px;
  }

  #c1231 .gallery-row figure figcaption {
    margin-top: 0.5rem;
  }
}