body {
  // overflow-y: scroll;
}

.start-page .row {
  --bs-gutter-x: 0rem;
}

#sp-header-1,
#sp-header-3 {
  height: 40px;
}

#sp-header-2 {
  border-top: 1px solid #252525;
  border-bottom: 1px solid #252525;
  height: 60px;
}

/* The sticky class is added to the header with JS when it reaches its scroll position */

.header-1-sticky {
  position: fixed;
  width: 100%;
  background-color: #fff;
  z-index: 88;
}

.header-2-sticky {
  position: fixed;
  width: 100%;
  background-color: #fff;
  z-index: 99;
}

.header-3-sticky {
  position: fixed;
  width: 100%;
  background-color: #fff;
  z-index: 77;
}

#sp-main-body {
  min-height: calc(100vh - 140px); // calc(100vh - 140px - 90px);
}

.kirchenorte #sp-main-body,
.kitaorte #sp-main-body {
  min-height: auto;
}

.float-left {
  float: left;
}

.mr-4 {
  margin-right: 20px;
}

div.top-menu {
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

div.top-menu span {
  margin-right: 0.5rem;
  white-space: nowrap;
}

div.top-menu span i {
  margin-right: 0.5rem;
}

#sp-main-body {
  // padding: 20px 0 !important;
  padding: 0 0 !important;
}

.start-page #sp-main-body {
  background-color: #EDF2F4;
  padding: 0 0 !important;
}

.start-page .article-details,
.start-page .article-can-edit {
  margin-bottom: 0 !important;
}

.start-page #sp-main-body .container {
  max-width: 100%;
  min-width: 100%;
}

.start-page #sp-main-body .container-sp {
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto
}

.logo {
  position: absolute;
  top: -30px;
  z-index: 99;
}

.logo-image {
  padding: 0.5em 2em;
  background-color: #fff;
  height: 8em;
}

.breadcrumb {
  font-size: 14px;
  padding: 0.75rem 0rem;
  background-color: transparent;
  float: right;
}

.breadcrumb-item.active {
  color: #0345bf;
}

.ampz_container {
  margin-top: 30px;
  width: fit-content;
}

.ampz_inline_icon_only {
  display: inline-block !important;
}

.ampz_inline_icon_only a {
  border-radius: 50%;
  margin-right: 10px;
  width: 32px;
}

/*** Info Box auf den verschiedenen Seiten ***/
.info-box {
  background: #F3E015;
  padding: 15px;
  width: 33.333333%;
  margin-left: 30px;
  float: right;
}

/*** Kita Fotos auf den Kindergarten Seiten ***/
.kita-photo {
  float: right;
}

.kita-photo-footer {
  display: flex;
  padding-top: 30px;
}

.kita-photo-footer img {
  margin-right: 20px;
}

.acymailing_introtext {
  margin-top: 10px !important;
  color: #fff !important;
  margin-right: 30px !important;
}

.acymailing_module_form {
  text-align: center;
}

.acymailing_form {
  border-spacing: 10px;
  border-collapse: separate;
}

.acymailing_form label {
  font-weight: normal;
  margin-right: 20px;
  color: #fff;
}

.acyfield_name input,
.acyfield_email input {
  width: 300px !important;
}

@media (min-width:576px) {
  .start-page #sp-main-body .container-sp {
    max-width: 540px;
  }
}

@media (min-width:768px) {
  .start-page #sp-main-body .container-sp {
    max-width: 720px;
  }
}

@media (min-width:992px) {
  .start-page #sp-main-body .container-sp {
    max-width: 960px;
  }
}

@media (min-width:1200px) {
  .start-page #sp-main-body .container-sp {
    max-width: 1140px;
  }
}

@media (min-width:1471px) {
  .start-page #sp-header-2:not(.header-2-sticky) .logo-image {
    height: 18em;
  }
}

@media (max-width:974px) {
  .info-box {
    background: #F3E015;
    padding: 15px;
    width: 100%;
    margin-left: 0px;
    float: left;
    margin-bottom: 15px;
  }
}

@media (max-width:768px) {

  // 575px
  .logo {
    position: absolute;
    top: -30px;
    z-index: 99;
    margin: 0;
  }

  .logo-image {
    padding: 0.2em 0em;
    background-color: #fff;
    height: 8em;
  }

  .breadcrumb {
    font-size: 0.7rem;
    margin-left: 4rem;
    text-align: right;
  }

  div.top-menu {
    margin-left: 4rem;
    font-size: 0.8rem;
    text-align: right;
  }

  .text-wide-screen {
    font-size: 0.8rem;
  }

  #sp-footer1,
  #sp-footer2 {
    text-align: center;
  }
}

@media (max-width:575px) {
  .logo {
    top: -60px;
    margin: 0;
  }

  .logo-image {
    height: 9em;
  }

  /* The sticky class is added to the header with JS when it reaches its scroll position */
  .header-1-sticky {
    height: 50px;
    top: 0px;
  }

  .header-2-sticky {
    top: 50px;
  }

  .header-3-sticky {
    top: 110px;
  }

  #sp-footer1 col-lg-6,
  #sp-footer2 col-lg-6 {
    width: 100%;
  }

  #sp-footer2 ul.menu li {
    width: 30%;
  }

  #sp-footer ul.menu {
    text-align: center;
  }

  .get-newsletter {
    padding:10px;
  }
}

.f8931d {
  background-color: #f8931d;
}

.start-page .ampz_inline_icon_only {
  display: block;
  width: 100%;
  text-align: left;
}

.start-page .ampz_container ul {
  width: auto !important;
}

@media (min-width: 1400px) {
  .start-page .ampz_container {
    max-width: 1320px;
    margin: 0 auto;
  }
}

@media (min-width: 576px) {
  .start-page .ampz_container {
    width: 540px;
    max-width: 100%;
    margin: 0 auto;
  }
}

@media (min-width: 768px) {
  .start-page .ampz_container {
    width: 720px;
    max-width: 100%;
    margin: 0 auto;
  }
}

@media (min-width: 992px) {
  .start-page .ampz_container {
    width: 960px;
    max-width: 100%;
    margin: 0 auto;
  }
}

@media (min-width: 1200px) {
  .start-page .ampz_container {
    width: 1140px;
    max-width: 100%;
    margin: 0 auto;
  }
}

@media (min-width: 1400px) {
  .start-page .ampz_container {
    max-width: 1320px;
    margin: 0 auto;
  }
}

.section-panel {
  padding: 30px 0;
  margin: 15px 0px;
}

.start-page .main-body .row {
  margin-right: -15px;
  margin-left: -15px;
}

ul.top-menu li {
  display: inline;
}

.top-menu>li>a {
  font-size: 14px;
  height: 40px;
  margin-right: 16px;
}

.top-menu>li>.fa {
  font-size: 0.8rem;
  margin-right: 0.4rem;
  color: #252525;
}

.sp-megamenu-parent>li>a,
.sp-megamenu-parent>li>span,
.sp-megamenu-parent .sp-dropdown li.sp-menu-item>a,
.sp-megamenu-parent .sp-dropdown li.sp-menu-item span:not(.sp-menu-badge) {
  font-size: 16px;
}

h1,
hr {
  color: #F3E015;
}

hr {
  height: 0.05rem;
  background-color: #F3E015;
}

#sp-footer {
  color: #252525;
  background-color: #fff;
  border-top: solid 0.5em #F3E015;
  margin-top: 40px;
}

.start-page #sp-footer {
  margin-top: 0;
}

#sp-footer a {
  color: #252525;
}

#sp-footer a:hover,
#sp-bottom a:hover,
#sp-footer a:active,
#sp-bottom a:active,
#sp-footer a:focus,
#sp-bottom a:focus {
  color: #0345bf;
}

.body-innerwrapper {
  overflow-x: hidden;
}


/*** Box Aktuelles auf Start-Seite ***/
.rga .mix {
  height: 440px;
  transition: all 0.2s;
  -webkit-box-shadow: 0px 12px 25px -16px rgba(0, 0, 0, 0.5);
  -moz-box-shadow: 0px 12px 25px -16px rgba(0, 0, 0, 0.5);
  box-shadow: 0px 12px 25px -16px rgba(0, 0, 0, 0.5);
}

.mix-sorts {
  display: none;
}

.mix-filters {
  width: 100%;
}

.mix-tag-buttons .button {
  color:  #005e8d !important;
  background-color: #ffffff !important;
  font-size: var(--bs-nav-link-font-size) !important;
}

.mix-tag-buttons .active {
  color: #ffffff !important;
  background-color: #005e8d !important;
}

.theme-elegant.mix-grid .inner-mix .mix-title,
.theme-elegant.mix-grid .inner-mix .mix-introtext {
  color: #000000;
}

.theme-elegant.mix-grid .inner-mix h3 a,
.theme-elegant.mix-grid .inner-mix h3 a:hover {
  font-weight: bolder;
  font-size: 1rem;
}

.theme-elegant.mix-grid .inner-mix {
  border: none;
}


/*** Teaser Box auf Start-Seite ***/
.teaser-box {
  display: block;
  background-color: #ffffff;
  transition: all 0.2s;
  -webkit-box-shadow: 0px 12px 25px -16px rgba(0, 0, 0, 0.5);
  -moz-box-shadow: 0px 12px 25px -16px rgba(0, 0, 0, 0.5);
  box-shadow: 0px 12px 25px -16px rgba(0, 0, 0, 0.5);
  // height: calc(100% - 16px);
  height: 100%;
}

.teaser-box-header {
  position: relative;
  // font-size: 1rem;
}

.teaser-box-header h2 {
  position: absolute;
  bottom: -8px;
  font-size: 16px;
  background-color: #fff;
  display: inline-block;
  padding: 10px;
}

.teaser-box-content {
  // font-size: 12px;
  padding: 10px;
}

.leaflet-container {
  z-index: 0;
}

.placemarkHead {
  font-size: 0.8rem !important;
}

body.ltr #offcanvas-toggler.offcanvas-toggler-right {
  float: right;
  margin-left: auto;
  margin-top: 0px;
}

#ajax-result {
  overflow-x: auto;
}

joomla-hidden-mail a {
  color: #0345bf;
  font-weight: bold;
}

body.ltr #offcanvas-toggler.offcanvas-toggler-right {
    float: right;
    margin-left: auto;
    margin-top: 0px;
}

.accordion {
	 display: flex;
	 flex-direction: column;
	 height: auto;
}

.accordion .a-container {
	 display: flex;
	 flex-direction: column;
	 width: 100%;
	 padding-bottom: 5px;
}

.accordion .a-container .a-btn {
	 margin: 0;
	 position: relative;
	 width: 100%;
	 color: #000;
	 font-weight: bold;
	 display: flex;
     background-color: #fff;
	 cursor: pointer;
	 transition: all 0.3s ease-in-out;
	 border-radius: 5px;
}

.accordion .a-container .a-btn span {
	 position: relative;
	 height: 14px;
	 width: 14px;
	 left: 0px;
	 top: 5px;
     margin-right: 10px;
}

.accordion .a-container .a-btn span:after {
	 content: '';
	 width: 14px;
	 height: 3px;
	 border-radius: 2px;
     background-color: #000;
	 position: absolute;
	 top: 6px;
}

.accordion .a-container .a-btn span:before {
	 content: '';
	 width: 14px;
	 height: 3px;
	 border-radius: 2px;
     background-color: #000;
	 position: absolute;
	 top: 6px;
	 transform: rotate(90deg);
	 transition: all 0.3s ease-in-out;
}

.accordion .a-container .a-panel {
	 width: 100%;
	 color: #262626;
	 transition: all 0.2s ease-in-out;
	 opacity: 0;
	 height: auto;
	 max-height: 0;
	 overflow: hidden;
	 padding: 0px 10px;
}

.accordion .a-container.active .a-btn {
     color: #000;
}

.accordion .a-container.active .a-btn span::before {
	 transform: rotate(0deg);
}

.accordion .a-container.active .a-panel {
	 padding: 15px 10px 10px 10px;
	 opacity: 1;
	 max-height: 1000px;
}

/* Panel style */
.accordion .a-container .a-panel {
	 width: 100%;
	 color: #262626;
	 -webkit-transition: all 0.2s ease-in-out;
	 transition: all 0.2s ease-in-out;
	 opacity: 0;
	 height: auto;
	 max-height: 0;
	 overflow: hidden;
	 padding: 0px 10px;
}

/* Panel style when active */
.accordion .a-container.active .a-panel {
	 padding: 15px 10px 10px 10px;
	 opacity: 1;
	 height: auto;
	 max-height: 2000px;
}

.featured-article-badge {
  display: none;
}

.kita-contact-label {
  font-weight: 700;
  font-size: 1.4rem;
  margin-top: 50px;
}

.kita-contact-item {
  display: flex;
  background-color: #d6e1e4;
  padding: 30px;
  max-width: 1024px;
  width: 100%;
  margin-top: 30px;
}

.kita-contact-item .contact-box-name {
  font-weight: 700;
}

.kita-contact-item .media-left {
  margin-right: 30px;
}