html,
body {
  background: #F0EDF4;
  height: 100%;
}

body {
  font-family: arial, serif;
  color: #222222;
  font-size: 15px;
  overflow-x: hidden;
}

a {
  font-weight: 600;
  color: #005a9e;
  text-decoration: none;
}

a:hover {}

h1,
.h1 {
  border-bottom: 5px solid #462475;
  font-size: 165%;
  font-weight: bold;
  margin-bottom: 20px;
  padding: 0px;
  padding-top: 5px;
  color: #462475;
}

h2,
.h2 {
  font-size: 120%;
  font-weight: 600;
  margin-bottom: 10px;
  padding: 0px;
  padding-top: 10px;
  line-height: 170%;
  text-decoration: underline;
}

h3,
.h3 {
  font-size: 120%;
}

.container {
  max-width: 966px;
}

/*------------------------------------*\
  #SEITENHEADER
\*------------------------------------*/
header#seitenheader {
  position: relative;
  z-index: 5;
}

/*------------------------------------*\
  #CONTENT
\*------------------------------------*/
main {
  background: #fff;
  background-image: url(/typo3conf/ext/lebensbeistand_template/Resources/Public/Images/Template/main_background.png);
  background-repeat: repeat-y;
  background-position: right;
  color: #462475;
  margin-left: 35px;
  margin-top: -23px;
}

main .content-links {
  background: #008cd7;
}

main .content-rechts {
  background-image: url(/typo3conf/ext/lebensbeistand_template/Resources/Public/Images/Template/background3.jpg);
  background-repeat: repeat-y;
  background-position: center;
  min-height: 600px;
  padding-top: 25px;
  padding-right: 55px;
  padding-bottom: 25px;
}

/*------------------------------------*\
  #FOOTER
\*------------------------------------*/
footer {
  position: relative;
}

footer img {
  position: absolute;
  top: 0;
  right: -28px;
  z-index: 0;
}

footer ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  justify-content: end;
  right: 90px;
  top: 42px;
  position: relative;
}

footer ul li {}

footer ul li a {
  color: #462475;
  padding: 0 10px;
}

/*------------------------------------*\
  #TYPO3
\*------------------------------------*/
p {
  margin-bottom: 15px;
}

strong {
  font-weight: 600;
}

.frame-space-before-extra-small {
  margin-top: 0;
  padding-top: 10px;
}

.frame-space-before-small {
  margin-top: 0;
  padding-top: 20px;
}

.frame-space-before-medium {
  margin-top: 0;
  padding-top: 30px;
}

.frame-space-before-large {
  margin-top: 0;
  padding-top: 40px;
}

.frame-space-before-extra-large {
  margin-top: 0;
  padding-top: 50px;
}

.frame-space-after-extra-small {
  margin-bottom: 0;
  padding-bottom: 10px;
}

.frame-space-after-small {
  margin-bottom: 0;
  padding-bottom: 20px;
}

.frame-space-after-medium {
  margin-bottom: 0;
  padding-bottom: 30px;
}

.frame-space-after-large {
  margin-bottom: 0;
  padding-bottom: 40px;
}

.frame-space-after-extra-large {
  margin-bottom: 0;
  padding-bottom: 50px;
}

.ce-gallery .image img {
  width: 100%;
  height: auto;
}

.ce-gallery img {
  display: block;
  width: 100%;
  height: auto;
}

ul.ce-uploads li {
  margin: 0;
}

#back-to-top.show {
  opacity: 1;
  visibility: visible;
}

#back-to-top {
  display: inline-block;
  background-color: #555;
  width: 50px;
  height: 50px;
  text-align: center;
  border-radius: 4px;
  position: fixed;
  bottom: 15px;
  right: 30px;
  transition: background-color .3s, opacity .5s, visibility .5s;
  opacity: 0;
  visibility: hidden;
  z-index: 1000;
}

#back-to-top::after {
  content: "\f077";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  font-style: normal;
  font-size: 2em;
  line-height: 50px;
  color: #fff;
}

figcaption {
  font-weight: lighter;
  font-size: 14px;
}

/*------------------------------------*\
  #MASK
\*------------------------------------*/
/*---------- BILDERGALERIE -----------*/
.mask-bildergalerie {
  clear: both;
}

.mask-bildergalerie .mask-bildergalerie-wrapper {
  margin-bottom: 15px;
  -webkit-box-shadow: 2px 2px 4px 0px rgba(0, 0, 0, 0.5);
  -moz-box-shadow: 2px 2px 4px 0px rgba(0, 0, 0, 0.5);
  box-shadow: 2px 2px 4px 0px rgba(0, 0, 0, 0.5);
}

.mask-bildergalerie .bildspalte {
  margin-bottom: 15px;
}

.mask-bildergalerie .bildspalte img {
  width: 100%;
  height: auto;
}

.bildspalte .zoom {
  overflow: hidden;
  position: relative;
}

.bildspalte .zoom img {
  width: 100%;
  height: auto;
  transition: all 0.5s ease-in-out;
}

.bildspalte .zoom:hover img {
  width: 100%;
  height: auto;
  transform: scale(1.1);
}

.bildspalte figcaption {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100%;
  width: 100%;
  opacity: 0;
  transition: .5s ease;
  background: url(/typo3conf/ext/momm_template/Resources/Public/Images/Template/trans-60-schwarz.png);
}

.bildspalte:hover figcaption {
  opacity: 1;
}

.bildspalte figcaption div {
  text-align: center;
  font-size: 18px;
  line-height: 1.2;
  color: #fff;
  padding: 0 10px;
  position: absolute;
  width: 100%;
  bottom: 20px;
}

/*------------ NAVIGATIONSBUTTON -----------*/
.navigationsbutton-wrap {
  background: #007FBD;
  transition: all 0.5s ease-in-out;
}

.navigationsbutton-wrap:hover {
  background: #333;
}

.navigationsbutton-wrap a {
  color: #fff;
  font-size: 24px;
  text-align: center;
  text-decoration: none;
  width: 100%;
}

.navigationsbutton-wrap a div {
  padding: 20px 10px;
}

/*------------ BILD-BOX-NAVIGATION -----------*/
.bildboxnavigation-wrap .bildboxnavigation-item {}

.bildboxnavigation-wrap .bildboxnavigation-item .bildboxnavigation-item-bild img {
  width: 100%;
  height: auto;
}

.bildboxnavigation-wrap a {
  background: #fff;
  color: #007FBD;
  text-decoration: none;
}

.bildboxnavigation-wrap .bildboxnavigation-item .bildboxnavigation-item-beschriftung,
.news-list-item .bildboxnavigation-item-beschriftung {
  font-size: 18px;
  padding: 15px 0;
  line-height: 1.4;
}

.bildboxnavigation-wrap .bildboxnavigation-item .bildboxnavigation-item-beschriftung p {
  font-size: 18px;
  margin-bottom: 0;
}

.frame-layout-8 .bildboxnavigation-wrap .bildboxnavigation-item .bildboxnavigation-item-beschriftung {
  background: #fff;
  font-size: 18px;
  padding: 15px 15px;
  line-height: 1.4;
}

/*------------------------------------*\
  #NEWS
\*------------------------------------*/


/*------------------------------------*\
  #TABELLEN
\*------------------------------------*/
.contenttable {
  color: #462475;
  width: 100%;
}

.contenttable tr td {}

th {
  font-weight: 600;
  font-size: 110%;
}

td {
  padding: 2px;
  vertical-align: top;
}

/*------------------------------------*\
  #FORMULAR
\*------------------------------------*/
form .form-group {
  margin-bottom: 15px;
}

form .form-group label {
  margin-bottom: 0;
}

#c37 .form-check,
form .checkbox .form-check {
  padding-left: 0;
}

nav.form-navigation {
  padding-top: 0;
}

fieldset#interesse-41-fieldset-1.form-group {
  display: flex;
  margin-bottom: 0;
}

#interesse-41-fieldset-1 > div:nth-child(1) {
  margin-bottom: 10px;
}

fieldset#interesse-41-fieldset-1.form-group .form-group .input input#interesse-41-number-1.form-control {
  width: 70px;
  padding: 3px;
  margin-top: -4px;
  margin-left: 5px;
}

form#interesse-41 .form-group:nth-child(2) {
  display: flex;
  margin-left: 5px;
}

form#interesse-41 fieldset#interesse-41-fieldset-1.form-group .form-group {}

form#interesse-41 fieldset#interesse-41-fieldset-1.form-group .form-group label {}

form#interesse-41 fieldset#interesse-41-fieldset-1.form-group .form-group input {}

.form-navigation .submit button.btn {
  background: #462475;
  border-color: #462475;
}

.form-navigation .submit button.btn:hover {
  background: #333;
  border-color: #333;
}

/*------------------------------------*\
  #SIMPLE-LIGHTBOX
\*------------------------------------*/
.sl-overlay {
  background: #000;
}

/*------------------------------------*\
  #CONTAINER
\*------------------------------------*/


/*------------------------------------*\
  #MAP
\*------------------------------------*/
.map {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.map .privacy-msg.privacy-map-msg {
  background-image: url(/typo3conf/ext/momm_template/Resources/Public/Images/Template/Mapdummy.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  width: 100% !important;
}

.map .privacy-msg.privacy-map-msg::after {
  content: "© OpenStreetMap contributors";
  position: absolute;
  left: 15px;
  bottom: 0;
}

.map .privacy-msg.privacy-map-msg p {
  background-image: url(/typo3conf/ext/momm_template/Resources/Public/Images/Template/trans-80-schwarz.png);
  width: 1110px;
  position: absolute;
  left: 50%;
  margin-top: 50px;
  margin-left: -555px;
  color: #fff;
  text-align: center;
}

.map iframe {
  width: 100%;
  margin-bottom: -6px;
}

.privacy-msg.privacy-script-msg a,
.privacy-msg.privacy-map-msg a {
  color: #E30613;
}

.privacy-msg a.btn {
  background: #E30613;
  border-color: #E30613;
  color: #fff;
  margin-top: 20px;
  margin-bottom: 20px;
}

.privacy-script-msg p {
  background-image: url(/typo3conf/ext/momm_template/Resources/Public/Images/Template/trans-80-schwarz.png);
  position: relative;
  margin-top: 50px;
  color: #fff;
  padding: 10px 20px;
  text-align: center;
}

.privacy-msg.privacy-video-msg {
  background-image: url(/typo3conf/ext/momm_template/Resources/Public/Images/Template/Video-Dummy.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  width: 100% !important;
}

.privacy-msg.privacy-video-msg p {
  background-image: url(/typo3conf/ext/momm_template/Resources/Public/Images/Template/trans-80-schwarz.png);
  width: 900px;
  position: absolute;
  left: 50%;
  margin-top: 50px;
  margin-left: -450px;
  color: #fff;
  padding: 10px 20px;
  text-align: center;
}

/*------------------------------------*\
  #MEDIA-QUERIES
\*------------------------------------*/
@media (max-width: 1399px) {}

@media (max-width: 1199px) {}

@media (max-width: 991px) {
  .container {
    max-width: 100%;
  }

  .page-wrap {
    background: #fff;
  }

  nav {
    padding-top: 0;
  }

  header#seitenheader {
    padding-top: 60px;
  }

  .logo-mobil img {
    width: 150px;
    height: auto;
  }
  
  .topbereich-mobil .slogan {
    margin-left: 30px;
  }

  .topbereich-mobil .gross {
    color: #462475;
    font-size: 28px;
  }

  .topbereich-mobil .klein {
    color: #462475;
  }

  main {
    background: #fff;
    background-image: none;
    background-repeat: unset;
    background-position: unset;
    margin-left: 0;
    margin-top: 0;
  }

  main .content-rechts {
    background-position: top center;
    min-height: auto;
    padding-top: 30px;
    padding-right: 0;
    padding-bottom: 25px;
  }
  
  footer {
    padding-bottom: 15px;
  }
  
  footer ul {
    justify-content: center;
    right: unset;
    top: unset;
  }
}

@media (max-width: 767px) {
  main .content-rechts {
    background-size: contain;
  }
}

@media (max-width: 575px) {
  .ce-intext.ce-left .ce-gallery {
    margin-right: 0;
    width: 100%;
  }
  
  .ce-textpic, .ce-image, .ce-nowrap .ce-bodytext, .ce-gallery, .ce-row, .ce-uploads li, .ce-uploads div {
    overflow: visible;
  }
}