body {
    background: #0A40A6;
    color: #333;
    font-family: 'Source Sans Pro',sans-serif;
    font-size: 18px;
    font-weight: 300;
    line-height: 1.6;
}

/*-----------------------------------------------------*\
  #BOOTSTRAP
\*-----------------------------------------------------*/
.container {

}

.layout-contentseite .container {
    /* border: 4px solid #0A40A6; */
    background: #fff;
    padding: 0;
}

/*-----------------------------------------------------*\
  #LINKS
\*-----------------------------------------------------*/
a {
    color: #bc0e39;
}

a:hover {

}

/*-----------------------------------------------------*\
  #ÜBERSCHRIFTEN
\*-----------------------------------------------------*/
.h1, h1 {
    color: #0A40A6;
    font-size: 32px;
    font-weight: 300;
}

.h2, h2 {
    color: #0A40A6;
    font-size: 28px;
    font-weight: 300;
}

.h3, h3 {
    color: #0A40A6;
    font-size: 24px;
}

/*-----------------------------------------------------*\
  #KOPFBEREICH
\*-----------------------------------------------------*/
header.seitenheader {
    margin-top: 30px;
}

.logo {
    padding: 10px 30px;
}

.nav-slogan-wrap {
    background: #bc0e39;
    border-top: 8px solid #0A40A6;
    color: #fff;
}

.telefon i {
    font-size: 30px;
    margin-right: 10px;
}

.telefon span a {
    font-size: 24px;
    font-weight: 600;
}

.info-ueberschrift {
    text-align: center;
    padding-top: 9px;
    padding-left: 180px;
}

.info-ueberschrift h3 {
    color: #fff;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 0;
}

.info-text {
    text-align: center;
}

.telefon {
    margin-top: 30px;
    text-align: center;
}

/*-----------------------------------------------------*\
  #CONTENT
\*-----------------------------------------------------*/
main {
    border-top: 8px solid #0A40A6;
    padding: 30px 15px 0 15px;
}

hr {
    background: #bc0e39;
    height: 2px;
    border-top: unset;
}

/*-----------------------------------------------------*\
  #LINKE SPALTE
\*-----------------------------------------------------*/

/*-----------------------------------------------------*\
  #FOOTER
\*-----------------------------------------------------*/
footer {
    background: #bc0e39;
    border-top: 8px solid #0A40A6;
    color: #fff;
    padding: 10px 15px 0 15px;
}

footer a {
    color: #fff;
}

footer a:hover {
    color: #fff;
    text-decoration: underline;
}

#c23 {
    padding-left: 15px;
}

#c9 {
    text-align: right;
}

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

strong {
    font-weight: 600;
}

.frame-space-before-extra-small {
    margin-top: 15px;
}

.frame-space-before-small {
    margin-top: 30px;
}

.frame-space-before-medium {
    margin-top: 45px;
}

.frame-space-before-large {
    margin-top: 60px;
}

.frame-space-before-extra-large {
    margin-top: 75px;
}

.frame-space-after-extra-small {
    margin-bottom: 15px;
}

.frame-space-after-small {
    margin-bottom: 30px;
}

.frame-space-after-medium {
    margin-bottom: 45px;
}

.frame-space-after-large {
    margin-bottom: 60px;
}

.frame-space-after-extra-large {
    margin-bottom: 75px;
}

.frame-text-2-column .ce-bodytext {
    column-count: 2;
    column-gap: 30px;
    text-align: justify;
}

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

figcaption {
    font-size: 10px;
    margin-top: 5px;
    margin-bottom: 5px;
}

#cboxTitle {
    position: absolute;
    bottom: -3px;
    left: 0;
    text-align: center;
    width: 100%;
    color: #555;
}

.frame-infobox {
    background: #eee;
    color: #000;
    padding: 5px 15px 0 15px;
}

.c-important {
    background: #bc0e39;
    color: #fff;
    padding: 5px;
    font-size: 18px;
}

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

.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/bim_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;
}

/*----------------- WICHTIGE MITTEILUNG ----------------*/
.mask-wichtige-mitteilung {
    background: #eee;
    color: #000;
    padding: 20px 15px 0 15px;
    font-size: 18px;
    min-height: 265px;
    text-align: center;
}

.mask-wichtige-mitteilung i {
    font-size: 40px;
    padding-top: 10px;
    padding-bottom: 10px;
}

.mask-wichtige-mitteilung-text {
    font-size: 18px;
}

#c21 .mask-wichtige-mitteilung {
    padding: 20px 15px 30px 15px;
    font-size: 18px;
    min-height: auto;
}

/*-----------------------------------------------------*\
  #MAPS
\*-----------------------------------------------------*/
.map iframe.privacy-map {
    width: 100%;
}

.map .privacy-msg.privacy-map-msg,
.yt-video .privacy-msg.privacy-map-msg {
    position: relative;
    background: #eee;
    height: auto !important;
    width: 100% !important;
}

.map .privacy-msg.privacy-map-msg p,
.yt-video .privacy-msg.privacy-map-msg p {
    margin: 0 auto;
    text-align: center;
    padding-top: 40px;
    padding-bottom: 20px;
    position: absolute;
}
.privacy-msg.privacy-calendar-msg p,
.privacy-msg.privacy-map-msg p,
.privacy-msg.privacy-video-msg p {
    padding: 15px;
    text-align: center;
}

.map .privacy-msg.privacy-map-msg p a.btn,
.yt-video .privacy-msg.privacy-map-msg p a.btn {
    color: #fff;
}
.privacy-msg.privacy-calendar-msg p a.btn,
.privacy-msg.privacy-map-msg p a.btn,
.privacy-msg.privacy-video-msg p a.btn {
    background: #bc0e39;
    border-color: #bc0e39;
    color: #fff;
    margin-top: 15px;
    margin-bottom: 15px;
}

.map .privacy-msg.privacy-map-msg iframe.privacy-map,
.yt-video .privacy-msg.privacy-map-msg iframe.privacy-map {
    width: 100%;
}

/*-----------------------------------------------------*\
  #COLORBOX
\*-----------------------------------------------------*/
#cboxCurrent {
    position: absolute;
    bottom: 0px;
    left: 58px;
    color: #949494;
    font-size: 16px;
}

#cboxSlideshow {
    position: absolute;
    bottom: 0px;
    right: 30px;
    color: #bc0e39;
    font-size: 16px;
}

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

table.contenttable tbody tr {
}

table.contenttable tbody tr:nth-child(even) {

}

table.contenttable tbody tr:last-child {
    border-bottom: 0;
}

table.contenttable tbody tr td {
    padding: 5px;
}

table.contenttable tbody tr td a {

}

table.ce-table.ce-table-2-spalten tbody tr td {
    width: 50%;
}

table.ce-table.ce-table-3-spalten tbody tr td {
    width: 33.33%;
}

/*------------------------------------*\
  #BACK-TO-TOP-BUTTON
\*------------------------------------*/
#back-to-top {
    display: inline-block;
    background-color: #bc0e39;
    width: 50px;
    height: 50px;
    text-align: center;
    border-radius: 4px;
    position: fixed;
    bottom: 10px;
    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;
}

#back-to-top:hover {
    cursor: pointer;
    background-color: #555;
}

#back-to-top:active {
    background-color: #555;
}

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

/*------------------------------------*\
  #MEDIA-QUERIES
\*------------------------------------*/
@media (max-width: 1199px) {
    .mask-wichtige-mitteilung {

    }

    footer {
        padding: 20px 15px 25px 15px;
    }
}

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

    .row {
        margin-left: 0;
        margin-right: 0;
    }

    .logo {
        padding: 10px 0;
    }

    header.seitenheader {
        margin-top: 0;
        padding-top: 50px;
    }

    .layout-contentseite .container {
        padding: unset;
    }

    .info-ueberschrift {
        text-align: right;
        padding: 9px 15px 9px 15px;
    }

    main {
        padding: 30px 0 0 0;
    }

    .mask-wichtige-mitteilung {

    }

    #c1 .gridelement-2-spalten-50-50-linke-spalte {
        padding-left: 0;
    }

    #c1 .gridelement-2-spalten-50-50-rechte-spalte {
        padding-right: 0;
    }

    #c23 {
        padding-left: 0;
    }

    footer {
        padding: 20px 0 25px 0;
    }
}

@media (max-width: 767px) {
    .logo {
        padding: 10px 15px 0 15px;
        text-align: center;
    }

    .info-text {
        padding-bottom: 15px;
    }

    #c1 .gridelement-2-spalten-50-50-linke-spalte {
        padding: 0;
    }

    #c1 .gridelement-2-spalten-50-50-rechte-spalte {
        padding: 0;
    }

    #c9 {
        text-align: left;
    }

    .mask-wichtige-mitteilung {
        padding: 15px 15px 5px 15px;
        font-size: 18px;
        min-height: auto;
        text-align: center;
    }

    .info-ueberschrift {
        text-align: center;
    }

    #c18 .ce-gallery .ce-column {
        margin-bottom: 20px;
    }
}

@media (max-width: 575px) {
    .logo a img {
        width: 100%;
        height: auto;
    }
}
