/*
* custom tuning
*/

/* smaller headlines, better spaces, smaller anker for smartphones and tablets */
@media (min-width:769px) {
    .textMittigHeadlines h1, .textMittigHeadlines h2, .textMittigHeadlines h3, .textMittigHeadlines h4 {
        margin-bottom: 1rem!important;
    }
}
@media (max-width:768px) {
    .paragraph h2, .employeeContactForm h2, #block-mosaik-content h1 {
        font-size: 2.175rem!important;
        line-height: 2.3rem!important;
        margin-bottom: 1rem!important;
    }
    #block-mosaik-content h1 {
        margin-bottom: 1.5rem!important;
        margin-top: 0.5rem;
    }
    #block-mosaik-content h1+h3 {
        margin-top: -1rem!important;
    }
    .pt-16 {
        padding-top: 3rem !important;
    }
}
@media (max-width:425px) {
    .paragraph h2, .employeeContactForm h2 {
        font-size: 1.875rem!important;
        line-height: 2rem!important;
    }
    .paragraph h3, .employeeContactForm h3, .mosaik2-SpalterText h2, .teaser-ohne-bild h2, .teaser-ohne-bild h3 {
        font-size: 1.675rem !important;
        line-height: 1.825rem;
    }
    .teaser-mit-bild h2 a,
    .teaser-mit-bild-bottom h2 {
        font-size: 1.5rem!important;
        line-height: 1.575rem!important;
    }
    .teaser-mit-bild a, .mosaik2-SpalterText a, .paragraph--type--ueberschrift-link-text-mittig a, .latestPublication a, .mosaikTeaser50 a {
        font-size: 1.15rem;
    }
    a.text-2xl {
      font-size: 1.15rem !important;
    }
    .min-h-teaserbox.teaser-mit-bild-bottom {
        min-height:9rem!important;
    }
}

/* fix: padding bottom for 3-col teaser without image */
.teaser-ohne-bildWrapper {
    padding-bottom: 1.15rem;
}

/* anker with tel no background arrow */
.teaser-ohne-bildWrapper a[href^="tel:"] {
    background: none!important;
}

/* meta nav */
#readspeaker_button1 {
    padding-right: 1.5rem !important;
}
@media (min-width:769px) {
    header img.icon.ml-2 {
        margin-left: 0.25rem!important;
        margin-top: 0.15rem;
        height: 20px;
    }
    #readSpeaker img {
        margin-top: 0rem!important;
    }
    #readspeaker_button1,
    div#languageSwitcher,
    div#styleSwitcher {
        padding-right: 1.5rem !important;
    }
}
@media (max-width:768px) {
    div#readSpeaker {
        width: auto;
    }
    img.icon.ml-2 {
        margin-left: 0.15rem!important;
        margin-right: 0.35rem!important;
    }
    #topSearch img.icon.ml-2 {
        margin-left: 0.15rem!important;
        margin-right: 0rem!important;
    }
}
@media (max-width: 479px) {
    header #readSpeaker img {
        left: 41px;
    }
    .language-switcher-language-url a, #block-styleswitcher a, #readSpeaker a {
        white-space: nowrap;
    }
}
/* Footer meta-nav - Barrierefreiheit */   
@media (max-width: 479px) {
    footer #languageSwitcher {
        margin-left: -1.75rem;
    }
    #languageSwitcher img {
        height: 25px;
    }
}
/* standortkarte einzelansicht */
/* Anweisungen in diesem Stylesheet und nich in dev_hos.css damit es nicht überschrieben wird */
svg[pointer-events="none"] g,
svg[pointer-events="none"] g path {
    pointer-events: auto;
    cursor: auto!important;
    border-color: rgb(64, 126, 23)!important;
}
svg[pointer-events="none"] g path {
    stroke: green;
}
@media (max-width: 479px) {
    .toggleMapContainer input + label::before {
        line-height: 100%;
        height: auto!important;
    }
    .toggleMapContainer label.btn-primary.no-underline.bg-green.btn-default-white.cursor-pointer {
        line-height: 1.8rem!important;
        height: auto!important;
        padding: 1.1rem 2.75rem 1rem 1rem!important;
    }
}

/* Footer Logo Wall */
@media (min-width:641px) {
    .footer-block-mosaik-logo {
        margin-right: 2.8rem!important;
        margin-left: 1rem!important;
    }
}
@media (max-width:640px) {
    .footer-block-mosaik-logo img {
        margin:0 auto 2rem;
    }
}

/* Zitate - fine tuning */
div p.zitatText {
    font-style: normal;
    line-height: 1.875rem;
}
@media (min-width:425px) and (max-width:767px) {
    .bildText p.zitatText {
        max-width: 70%;
        margin: 0 auto 2rem!important;
    }
}
@media (min-width:641px) {
    div p.zitatText {
        font-size: 1.5rem;
        font-style: normal;
        line-height: 2.2rem;
    }
    p.zitatAutor {
        margin-bottom: 2rem;
    }
}

/* raedspeaker custom styling compact skin*/
#readSpeaker {
    z-index: 900;
    width: 75px;
}
.rsbtn.compactskin .rsbtn_play .rsbtn_left .rsbtn_text {
    width: 20px!important;
}
@media (min-width:768px) {
    .rsbtn_tools {
        width: 282px;
        /*position: absolute;
        top: 28px;*/
    }
    .rs_skip.rsbtn.compactskin.rs_preserve.rsexpanded.rspaused {
        width:126px;
    }
    .rsbtn.rsexpanded .rsbtn_exp, .rswrapped.rsbtn.rsexpanded .rsbtn_play .rsbtn_right {
        width: 26px;
        position: absolute;
    }
    span.rsbtn_exp_inner {
        width: 160px!important;
    }
}

/* basics */
h3, h4, h5, h6 {
    font-weight: bold;
}

.main-sm article .container a,
.main-sm article .container a:hover {
    color: rgb(90, 170, 65);
}
.main-sm article .container a:hover {
    text-decoration: underline;
}

/* Hack: Liste Standorte Überschriften Standort und Kontakt - display none */
.locationGroup span.text-xl {
    display: none;
}
.locationGroup .w-full.md\:w-1\/2.pr-6.pb-0 br {
    display: none;
}
.locationGroup .w-full.md\:w-1\/2.pr-6.pb-0 p br {
    display: block;
}
/* Standorte Liste */
.locationGroup.views-row {
    margin-bottom: 1.25rem;
}
.locationGroup .w-full {
    border-top-width: 2px !important;
    --border-opacity: 1 !important;
    border-color: #ececed !important;
    border-color: rgba(236, 236, 237, var(--border-opacity)) !important;
    border-style: solid;
    padding-top: 2rem;
}
.locationGroup .w-full .w-full {
    border-top-width: 0 !important;
    --border-opacity: 0 !important;
    padding-top: 0rem;
}
.mosaikLocationListe h3 {
    margin: 3rem auto 1rem auto !important;
}