body {
    line-height: 1.8;
    background: #fff;
    font-family: 'Sunflower', sans-serif;
    font-weight: 300;
    color: #333;
}

a {
    color: #006633;
}

a:hover {
    color: #95C11F;
    text-decoration: none;
}

.footer a:hover {
    color: #ccc;
    text-decoration: none;
}

.footer a {
    color: #fff;
}

span.c-important {
    color: #CC0065;
}

.container-fluid {
    padding: 0;
}

.container {
    clear: both;
}

main ul {
    padding: 0;
}

main ul li {
    background: url(/typo3conf/ext/boos_internetmedien_template/Resources/Public/Images/Template/adelheid_signet_triskel.png);
    background-repeat: no-repeat;
    background-size: 15px;
    background-position: 0 5px;
    list-style-type: none;
    padding-left: 20px;
}

.mask-accordion-ueberschrift .mask-accordion-ueberschrift-beschriftung {
    background: url(/typo3conf/ext/boos_internetmedien_template/Resources/Public/Images/Template/adelheid_signet_triskel.png);
    background-repeat: no-repeat;
    background-size: 15px;
    background-position: 0 5px;
    list-style-type: none;
    padding-left: 20px;
}

main .frame-farbig ul li,
main .frame-farbigsymbol ul li {
    background: url(/fileadmin/Bilder/Startseite/adelheid_signet_triskel_weiss.png);
    background-repeat: no-repeat;
    background-size: 15px;
    background-position: 0 5px;
    list-style-type: none;
    padding-left: 20px;
}

/*-----------------------------------------------------*\
  #BOOTSTRAP
\*-----------------------------------------------------*/


/*-----------------------------------------------------*\
  #ÜBERSCHRIFTEN
\*-----------------------------------------------------*/
.h1, h1 {
    font-family: 'Handlee';
    font-size: 32px;
}

.h2, h2 {
    font-family: 'Handlee';
    font-size: 32px;
}

.h3, h3 {
    font-family: 'Handlee';
    font-size: 24px;
}

.frame-farbig header h2,
.frame-farbigsymbol header h2,
.frame-farbig p,
.frame-farbigsymbols p {
    text-shadow: 1px 1px #81a71c;
}

/*-----------------------------------------------------*\
  #KOPFBEREICH
\*-----------------------------------------------------*/
.top-wrapper {
    height: auto;
    background-color: #fff;
    clear: both;
    padding: 15px 0 15px 0;
}

header#seitenheader {
    /* border-bottom: 8px solid #333; */
    background: #eee;
    margin-bottom: 30px;
}

header#seitenheader .top-wrapper img {
    width: 220px;
    height: auto;
    margin-right: 15px;
}

header#seitenheader .container.special {
    max-width: 1600px;
    position: relative;
    padding: 0;
}

header#seitenheader .transparente-box {
    background: url(/typo3conf/ext/boos_internetmedien_template/Resources/Public/Images/Template/trans-63-weiss.png);
    position: absolute;
    bottom: 6%;
    width: 96%;
    text-align: center;
    padding: 80px 15px;
    margin: 0 2%;
}

header#seitenheader .transparente-box  img {
    width: 600px;
}

.kontakt-top {
    padding: 0;
    display: flex;
    justify-content: right;
    align-items: center;
}

.kontakt-top .row {
    width: 100%;
}

.email {
    text-align: right;
}

.fa {
    background-color: #006633;
    border-radius: 100%;
    box-shadow: 0 0 0 7px white, 0 0 0 8px #e0e0e0;
    color: #fff;
    cursor: default;
    display: inline-block;
    height: 2em;
    line-height: 2em;
    margin: 0 11px 0 0;
    padding: 0;
    text-align: center;
    width: 2em;
}

.telefon {
    text-align: right;
}

.navigation-wrapper {
    height: 69px;
    z-index: 99;
    clear: both;
    /* background-color: #006633; */
    /* border-bottom: 8px solid #333; */
    background: linear-gradient(top, #B9CF0D 0%, #95C120 50%, #95C120 100%);
    background: -moz-linear-gradient(top, #B9CF0D 0%, #95C120 50%, #95C120 100%);
    background: -webkit-linear-gradient(top, #B9CF0D 0%, #95C120 50%, #95C120 100%);
    background: -ms-linear-gradient(top, #B9CF0D 0%, #95C120 50%, #95C120 100%);
    background: -o-linear-gradient(top, #B9CF0D 0%, #95C120 50%, #95C120 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#B9CF0D, endColorstr=#95C120,GradientType=1);
}

.kopfslider, .kopfbild {
    max-height: 600px;
    overflow: hidden;
    width: 100%;
}
.kopfslider, .kopfbild {
    padding: 0;
    position: relative;
    clear: both;
}

/*-----------------------------------------------------*\
  #FOOTER
\*-----------------------------------------------------*/
footer {
    /* background-color: #006633; */
    background: linear-gradient(top, #B9CF0D 0%, #95C120 50%, #95C120 100%);
    background: -moz-linear-gradient(top, #B9CF0D 0%, #95C120 50%, #95C120 100%);
    background: -webkit-linear-gradient(top, #B9CF0D 0%, #95C120 50%, #95C120 100%);
    background: -ms-linear-gradient(top, #B9CF0D 0%, #95C120 50%, #95C120 100%);
    background: -o-linear-gradient(top, #B9CF0D 0%, #95C120 50%, #95C120 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#B9CF0D, endColorstr=#95C120,GradientType=1);
    color: #fff;
    border-top: 8px solid #CC0065;
    font-size: 15px;
    line-height: 1.4;
    padding-top: 30px;
    padding-bottom: 10px;
    margin-top: 120px;
    text-shadow: 1px 1px #81a71c;
}

main::after {
    content: url(/typo3conf/ext/boos_internetmedien_template/Resources/Public/Images/Template/adelheid_signet_sonnenstern.png);
    position: absolute;
    left: 50%;
    margin-left: -100px;
    margin-top: -7px;
}

footer a {
    color: #fff;
}

footer a:hover {
    color: #fff;
}

#c5 {
    text-align: right;
}

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

strong {
    font-weight: 600;
}

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

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

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

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

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

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

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

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

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

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

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

.mask-termin-navigation .mask-termin-item {
    padding: 2px 5px;
}

.mask-termin-navigation .mask-termin-item:nth-child(even) {
    background: #eee;
}

.mask-termin-navigation .mask-termin-item:nth-child(odd) {
    background: #a9cc4a;
}

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

.frame-farbig,
.frame-farbigsymbol {
    /* background: #006633; */
    background: linear-gradient(top, #B9CF0D 0%, #95C120 50%, #95C120 100%);
    background: -moz-linear-gradient(top, #B9CF0D 0%, #95C120 50%, #95C120 100%);
    background: -webkit-linear-gradient(top, #B9CF0D 0%, #95C120 50%, #95C120 100%);
    background: -ms-linear-gradient(top, #B9CF0D 0%, #95C120 50%, #95C120 100%);
    background: -o-linear-gradient(top, #B9CF0D 0%, #95C120 50%, #95C120 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#B9CF0D, endColorstr=#95C120,GradientType=1);
    color: #fff;
    padding: 15px;
    position: relative;
}

.frame-farbigsymbol::after {
    content: "";
    background-image: url(/fileadmin/Bilder/Startseite/adelheid_signet_triskel_weiss.png);
    width: 150px;
    height: 150px;
    position: absolute;
    right: 25px;
    bottom: 25px;
    background-size: contain;
    background-repeat: no-repeat;
}

.frame-farbig a {
    color: #006633;
}

.frame-farbig a:hover,
.frame-farbigsymbol a:hover {
    color: #333;
}

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

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

hr {
    padding: 0;
    border-top: 1px solid #333;
    color: #555;
    text-align: center;
    clear: both;
    margin-bottom: 40px;
}

hr::after {
    /* font-family: "Font Awesome 5 Free"; */
    content: url(/typo3conf/ext/boos_internetmedien_template/Resources/Public/Images/Template/adelheid_signet_sonnenstern_hr.png);
    font-weight: 900;
    display: inline-block;
    position: relative;
    top: -19px;
    font-size: 1.5em;
    padding: 0 0.25em;
    background: white;
}

/*-----------------------------------------------------*\
  #MASK
\*-----------------------------------------------------*/
#mask-accordion .mask-accordion-wrapper {
    margin-bottom: 10px;
}

#mask-accordion .mask-accordion-wrapper .mask-accordion-bild {
    min-height: 700px;
}

#mask-accordion .mask-accordion-wrapper .mask-accordion-bild img {
    width: 100%;
    height: auto;
}

#mask-accordion .mask-accordion-wrapper .mask-accordion-ueberschrift .mask-accordion-ueberschrift-beschriftung {
    padding: 0 0 0 25px;
}

#mask-accordion .mask-accordion-wrapper .mask-accordion-ueberschrift .mask-accordion-ueberschrift-beschriftung {
    width: 100%;
}

#mask-accordion .mask-accordion-wrapper .mask-accordion-ueberschrift.collapsed .mask-accordion-ueberschrift-beschriftung::after {
    color: #a9cc4a;
    /* font-family: "Font Awesome 5 Free";
    font-weight: 900; */
    font-size: 14px;
    content: "+" " " "mehr Informationen";
    position: absolute;
    right: 140px;
}

#mask-accordion .mask-accordion-wrapper .mask-accordion-ueberschrift .mask-accordion-ueberschrift-beschriftung::after {
    color: #a9cc4a;
    /* font-family: "Font Awesome 5 Free";
    font-weight: 900; */
    font-size: 14px;
    content: "-" " " "weniger Informationen";
    position: absolute;
    right: 140px;
}

#mask-accordion .mask-accordion-wrapper .mask-accordion-inhalt {
    padding: 5px 10px;
}

.mask-accordion-wrapper .mask-accordion-inhalt ul {
    margin: 0;
}

#mask-accordion .mask-accordion-wrapper .mask-accordion-inhalt .mask-accordion-bestelllink {
    text-align: center;
    background: #eee;
}

#mask-accordion .mask-accordion-wrapper .mask-accordion-inhalt .mask-accordion-bestelllink a {
    width: 100%;
    display: block;
    padding: 5px 0;
}

.mask-accordion-wrapper .mask-accordion-inhalt .mask-accordion-beschreibung p:last-child {
    margin: 0;
}

/*---------- TERMINACCORDION -----------*/
#mask-termin-accordion .mask-termin-accordion-wrapper {
    margin-bottom: 15px;
}

#mask-termin-accordion .mask-termin-accordion-ueberschrift {
    /* background: #1d380f; */
    background: linear-gradient(top, #B9CF0D 0%, #95C120 50%, #95C120 100%);
    background: -moz-linear-gradient(top, #B9CF0D 0%, #95C120 50%, #95C120 100%);
    background: -webkit-linear-gradient(top, #B9CF0D 0%, #95C120 50%, #95C120 100%);
    background: -ms-linear-gradient(top, #B9CF0D 0%, #95C120 50%, #95C120 100%);
    background: -o-linear-gradient(top, #B9CF0D 0%, #95C120 50%, #95C120 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#B9CF0D, endColorstr=#95C120,GradientType=1);
    color: #fff;
    padding: 5px;
}

#mask-termin-accordion .mask-termin-accordion-beschreibung {
    border-left: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    border-right: 1px solid #ccc;
    font-size: 14px;
    line-height: 1.4;
    padding: 15px 0 0 0;
}

#mask-termin-accordion .mask-termin-accordion-ueberschrift {
    position: relative;
}

#mask-termin-accordion .mask-termin-accordion-ueberschrift.collapsed .mask-termin-accordion-ueberschrift-beschriftung::after {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "\f078";
    position: absolute;
    right: 20px;
    top: 5px;
}

#mask-termin-accordion .mask-termin-accordion-ueberschrift .mask-termin-accordion-ueberschrift-beschriftung::after {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "\f077";
    position: absolute;
    right: 20px;
    top: 5px;
}

/*---------- 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;
}


/*------------------------------------*\
  #BACK-TO-TOP-BUTTON
\*------------------------------------*/
#back-to-top {
    display: inline-block;
    background-color: #CC0065;
    width: 50px;
    height: 50px;
    text-align: center;
    border-radius: 4px;
    position: fixed;
    bottom: 30px;
    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: #333;
}
#back-to-top:active {
    background-color: #555;
}
#back-to-top.show {
    opacity: 1;
    visibility: visible;
}

/*-----------------------------------------------------*\
  #MAPS
\*-----------------------------------------------------*/
.map .privacy-msg.privacy-map-msg {
    position: relative;
    background: #ccc;
    height: auto !important;
    width: 100% !important;
}

.map .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;
        padding-top: 15px;
        padding-bottom: 15px;
    background: #eee;
    text-align: center;
}

.map .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: #59a2b1;
    border-color: #59a2b1;
    color: #fff;
    margin-top: 15px;
    margin-bottom: 15px;
}

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


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

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

.table-scrollable {
  width: 100%;
  overflow-y: auto;
  margin: 0 0 1em;
}

.table-scrollable::-webkit-scrollbar {
  -webkit-appearance: none;
  width: 14px;
  height: 14px;
}

.table-scrollable::-webkit-scrollbar-thumb {
  border-radius: 8px;
  border: 3px solid #fff;
  background-color: rgba(0, 0, 0, .3);
}

/*------------------------------------*\
  #MEDIA-QUERIES
\*------------------------------------*/
@media (max-width: 1600px) {
    header#seitenheader .container.special {
        max-width: 100%;
        padding: 0;
    }
}

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

    .navigation-wrapper {
        height: 8px;
    }

    header#seitenheader .top-wrapper img {
        width: 200px;
        height: auto;
        margin-right: 0;
    }

    .top-wrapper {
        padding: 75px 0 15px 0;
    }

    .kontakt-top .row {
        width: 100%;
        margin: 20px 0 15px 0;
    }

    .telefon {
        text-align: center;
    }

    header#seitenheader .transparente-box img {
        width: 70%;
    }
    
    .ce-bodytext {
      clear: both;
    }
}

@media (max-width: 767px) {
    #c4 {
        margin-top: 0;
    }

    #c5 {
        text-align: left;
    }

    header#seitenheader .transparente-box {
        padding: 30px 15px;
    }

    main::after {
        content: "";
    }
    
    .ce-gallery {
      margin-left: 0;
      width: 100%;
    }
    
    table.contenttable {
        width: 800px !important;
    }
}

@media (max-width: 575px) {
    .email {
        text-align: center;
        margin-bottom: 25px;
    }
    
    table.contenttable {
        width: 600px !important;
    }
}
