.soz-map__plugin {
    background-color: #f2f2f2;
    position: relative;
    margin-top: 0;
    margin-bottom: 2rem;
}
.content.box-bg-transparent  > .soz-map__plugin {
    margin-top: -50px;
}

.soz-map__plugin:not([data-initialized]) {
    padding: 15px;
}

.soz-map__plugin:not([data-initialized]) .soz-map__switcher,
.soz-map__plugin:not([data-initialized]) .soz-map__legend-list {
    display: none;
}

.soz-map__list {
    background: #fff;
}

.soz-map__list-row {
    display: flex;
    padding-left: 25px;
    padding-right: 25px;
    align-items: center;
}

.soz-map__pin {
    padding-left: 25px;
    padding-right: 25px;
}

@media (min-width: 1024px) {
    .soz-map__pin,
    .soz-map__list-row {
        padding-left: 5.55555%;
        padding-right: 5.555555%;
    }
}

.soz-map__list-col {
    flex: 1 1 auto;
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

.soz-map__list-col:nth-child(1) {
    flex-basis: 60%;
}

.soz-map__list-col:nth-child(2),
.soz-map__list-col:nth-child(3) {
    flex-basis: 20%;
}

@media (max-width: 1024px) {
    .soz-map__list-items .soz-map__list-col:nth-child(1) {
        flex-basis: 30%;
    }
    .soz-map__list-items .soz-map__list-col:nth-child(2) {
        flex-basis: 50%;
    }
}

@media (max-width: 576px) {
    .soz-map__list-items .soz-map__list-row {
        flex-flow: row wrap;
    }
    .soz-map__list-items .soz-map__list-col:nth-child(1) {
        flex-basis: 70%;
        order: 1;
    }
    .soz-map__list-items .soz-map__list-col:nth-child(3) {
        flex-basis: 30%;
        order: 2;
    }
    .soz-map__list-items .soz-map__list-col:nth-child(2) {
        flex-basis: 100%;
        order: 3;
        padding-top: 0;
    }
}

.soz-map__list-header {
    background-color: #f9f9f5;
    margin-top: 0.15em;
}

.soz-map__list-group:nth-child(2n) .soz-map__list-header {
    background-color: #f3f3eb;
}

.soz-map__list > div > .soz-map__list-header {
    background-color: white;
}

.soz-map__list-items {
    background-color: white;
    overflow: hidden;
    transition: height 0.3s ease-in-out 0s;
}

.soz-map__list-items .soz-map__list-row:first-child {
    padding-top: 8px;
}
.soz-map__list-items .soz-map__list-row:last-child {
    padding-bottom: 8px;
}

.soz-map__list-header .soz-map__list-col:nth-child(3) {
    padding-top: 0;
    padding-bottom: 0;
}

@media (max-width: 576px) {
    .soz-map__list-header .soz-map__list-col:nth-child(1) {
        flex-basis: 100%;
    }
    .soz-map__list-header .soz-map__list-col:nth-child(2) {
        flex-basis: 10%;
    }
}

.soz-map__list-header {
    font-family: 'TheSansC4s-Bold';
    font-weight: bold;
    font-size: 18px;
}
.soz-map__list-header div,
.soz-map__list-header span {
    font-size: 18px;
}

.soz-map__list-col,
.soz-map__list-col a {
    font-size: 17px;
}

.soz-map__list-footer {
    background-color: rgb(205, 205, 205);
    border-top: 2px solid #333;
    display: none;
}

.soz-map__list-footer .soz-map__list-col {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

.soz-map__list > div > .soz-map__list-row .soz-map__list-col {
    font-size: 20px;
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.soz-map__list-row:first-child .soz-map__list-header div,
.soz-map__list-row:first-child .soz-map__list-header span,
.soz-map__list-footer div,
.soz-map__list-footer span {
    font-family: 'TheSansC4s-Bold';
    font-weight: bold;
    font-size: 21px;
}


.soz-map__list-expand {
    display: block;
    width: 40px;
    height: 40px;
    border: none;
    background: transparent;
    position: relative;
    padding: 0;
    margin-left: auto;
    font-family: serif;
    color: #02648e;
}

button.soz-map__list-expand:focus {
    outline: 1px solid rgb(125, 175, 254);
}

.soz-map__list-expand span {
    font-family: 'TheSansC4s-Bold';
    font-weight: bold;
    display: inline-block;
    vertical-align: middle;
    line-height: 1;
}

.soz-map__list-expand span[aria-hidden] {
    font-size: 40px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.soz-map__list-expand__contracted span[aria-hidden] {
    transform: translate(-50%, -60%);
}

.soz-map__list-expand[aria-expanded="true"] .soz-map__list-expand__expanded,
.soz-map__list-expand[aria-expanded="false"] .soz-map__list-expand__contracted {
    display: none;
}

.soz-map__plugin button {
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.soz-map__switcher[data-state="map"] ~ .soz-map__list,
.soz-map__switcher[data-state="list"] ~ .soz-map__map {
    display: none;
}


.soz-map__switcher {
    border: none;
    padding: 10px 15px;
    position: absolute;
    top: -50px;
    left: 10px;
    z-index: 5;
    font-size: 18px;
    font-weight: bold;
    font-family: 'TheSansC4s-Bold';
    width: auto;
    text-align: left;
    background: transparent;
}

@media (max-width: 1023.9px) {
    .soz-map__switcher {
        display:none;
    }
}

.soz-map__switcher__map,
.soz-map__switcher__list {
    text-transform: uppercase;
}

.soz-map__switcher__text {
    font-size: 1rem;
    margin-right: 1em;
}

@media (max-width: 480px) {
    .soz-map__switcher {
        padding: 8px 10px;
    }
}

.soz-map__switcher span {
    display: inline-block;
    vertical-align: middle;
}
.soz-map__switcher__switch {
    display: inline-block;
    vertical-align: middle;
    position: relative;
    border: 2px solid #737373;
    background: white;
    border-radius: 13px;
    width: 50px;
    height: 26px;
    margin-left: 10px;
    margin-right: 10px;
}

.soz-map__switcher__switch::before {
    content: '';
    width: 24px;
    height: 24px;
    background-color: #02648e;
    position: absolute;
    left: 50%;
    top: 50%;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: transform 0.1s linear;
}

.soz-map__switcher[data-state="map"] .soz-map__switcher__switch::before {
    transform: translate(-100%, -50%);
}

.soz-map__switcher[data-state="list"] .soz-map__switcher__switch::before {
    transform: translate(0%, -50%);
}

.soz-map__plugin[data-feature-centered-table-cols="true"] .soz-map__list-row:not(.soz-map__list-header) .soz-map__list-col:nth-child(1),
.soz-map__plugin[data-feature-centered-table-cols="true"] .soz-map__list-header .soz-map__list-col:nth-child(2) {
    text-align: center;
}

.soz-map__legend {
    flex-grow: 0;
    flex-shrink: 0;
}

.soz-map__body {
    flex-grow: 1;
    position: relative;
    border-top: 1px solid transparent;
}

.soz-map__plugin[data-initialized] .soz-map__legend {
    background-color: #f8f8f5;
    position: relative;
    padding: 2em 0;
}

@media (min-width: 1024px) {
    .soz-map__plugin[data-initialized] {
        display: flex;
    }
    .soz-map__plugin[data-initialized] .soz-map__legend {
        width: 25%;
    }
}

.soz-map__legend-checkbox[data-state="yes"] .soz-map__legend-checkbox__no {
    display: none;
}

.soz-map__legend-checkbox {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    display: inline-block;
    vertical-align: middle;
    width: 22px;
    height: 22px;
    font-size: 1px;
    border: 1px solid currentColor;
    background-color: white;
    position: relative;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 90% auto;
    flex-grow: 0;
}

.soz-map__legend-checkbox__placeholder {
    opacity: 0;
    display: inline-block;
}

.soz-map__legend-checkbox[data-state="yes"] {
    background-image: url(check.svg);
}

.soz-map__legend-list ul {
    padding-left: 0;
}

.soz-map__legend-list li {
    margin-top: 0;
}

.content .soz-map__legend-list ul li {
    margin-bottom: 0;
    padding: 0;
}

.soz-map__legend-list li[data-initialized] {
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.soz-map__legend-list-header {
    display: flex;
    justify-content: space-between;
    padding-top: 1em;
    padding-bottom: 0;
    padding-left: 25px;
    padding-right: 25px;
}

.soz-map__legend-list-header h3 {
    margin: 0;
    text-transform: uppercase;
    font-size: 1rem;
}

.soz-map__plugin[data-initialized] .soz-map__list {
    padding-left: 0;
    padding-right: 0;
}

.soz-map__map {
    position: relative;
    padding-bottom: 75vh;
    min-height: 100%;
}

@media (min-width: 1280px) {
    .soz-map__map {
        padding-bottom: 85vh;
    }
}

.soz-map__map iframe {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.soz-map__overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 7;
    top: 0;
    left: 0;
}

.soz-map__lightbox {
    width: 90%;
    max-width: 920px;
    max-height: 90%;
    padding: 40px;
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    border-radius: 15px;
    box-shadow: black 0 0 10px;
}

.soz-map__lightbox-content::after {
    content: '';
    display: table;
    clear: both;
}

@media (max-width: 767px) {
    .soz-map__lightbox {
        padding: 20px;
    }
}

.soz-map__lightbox-close {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    position: absolute;
    top: -20px;
    right: -20px;
    background: rgb(85, 85, 85) url(close.svg) no-repeat center center;
    background-size: 80% auto;
    border: 3px solid white;
}


@media (max-width: 400px) {
    .soz-map__lightbox-close {
        right: -10px;
        top: -25px;
    }
}

.soz-map__lightbox-close:hover {
    background-color: white;
    background-image: url(close-hover.svg);
    border-color: rgb(85, 85, 85);
}

.soz-map__lightbox-close:focus {
    outline: 1px dotted white;
}

.soz-map__legend-dot {
    color: transparent;
    display: inline-block;
    vertical-align: middle;
    width: 23px;
    height: 23px;
    border-radius: 50%;
    margin: 8px 10px;
    background: transparent no-repeat center center;
    background-size: 95% auto;
}

@media (max-width: 1023px) {
    .soz-map__legend-dot {
        margin: 2px 10px;
    }
}

.soz-map__legend-dot:first-child {
    margin-left: 0;
}

.soz-map__lightbox-portrait {
    float: right;
    width: 40%;
    max-width: 190px;
    margin-left: 10px;
    margin-bottom: 10px;
}

.soz-map__lightbox-portrait[data-placeholder="true"] {
    position: relative;
}

.soz-map__lightbox-portrait[data-placeholder="true"]::before {
    content: url(person.svg);
}

.soz-map__lightbox-portrait img {
    max-width: 100%;
    height: auto;
}

.soz-map__lightbox-portrait a {
    background: #E3051B;
    color: white;
    text-decoration: none;
    padding: 8px 15px;
    display: block;
}

.soz-map__lightbox-portrait a::before {
    content: url(mail-icon.svg);
    display: inline-block;
    vertical-align: middle;
    width: 24px;
    margin-right: 10px;
}

.soz-map__lightbox-portrait a:hover,
.soz-map__lightbox-portrait a:focus {
    text-decoration: underline;
}

.soz-map__quote {
    clear: both;
    padding-top: 0.5em;
}

.soz-map__special-drb-message {
    margin-top: 25px;
    padding-top: 15px;
    padding-left: 5px;
    padding-right: 5px;
    border-top: 1px solid black;
    /*display: flex;*/
    /*align-items: center;*/
    /*justify-content: flex-end;*/
    margin-bottom: 15px;
}

.soz-map__special-drb-message a {
    display: block;
    margin-top: 1em;
    font-family: 'TheSansC4s-Bold';
    font-weight: bold;
    text-decoration: none;
    line-height: 1.3;
}

.soz-map__special-drb-message a span {
    font-size: 15px;
}

.soz-map__special-drb-message a:focus,
.soz-map__special-drb-message a:hover {
    text-decoration: underline;
}

@media (max-width: 767px) {
    .soz-map__special-drb-message {
        padding-left: 0;
        padding-right: 0;
    }
}

/*@media (max-width: 480px) {*/
    /*.soz-map__special-drb-message {*/
        /*flex-flow: row wrap;*/
    /*}*/
    /*.soz-map__special-drb-message a {*/
        /*margin-bottom: 10px;*/
    /*}*/
/*}*/

.soz-map__plugin h2 {
    font-size: calc(20rem / 16);
    margin-bottom: 0.8em;
}

.soz-map__legend p {
    font-weight: bold;
    font-size: 17px;
    line-height: 1.5;
}

.soz-map__legend-list {
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}

.soz-map__legend-list li {
    display: flex;
    align-items: center;
}

.soz-map__legend-checkbox,
.soz-map__legend-dot {
    flex-shrink: 0;
}

.soz-map__legend-item {
    line-height: 1.25;
    font-size: 1rem;
    font-weight: bold;
    font-family: 'TheSansC4s-Bold';
}

.soz-map__reset_button,
.soz-map__legend-radio {
    width: 100%;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    padding: 0;
    border: none;
    background: transparent;
    text-align: left;
    font-size: 1rem;
}

.soz-map__legend-radio {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 6px 25px;
}

.soz-map__legend-radio[data-singled-out='yes'] {
    background: #025579;
    color: white;
}


.soz-map__group-offer .soz-map__legend-item,
.soz-map__legend-radio .soz-map__legend-item {
    border-bottom: 1px solid transparent;
}

.soz-map__group-offer:hover .soz-map__legend-item,
.soz-map__group-offer:focus .soz-map__legend-item,
.soz-map__legend-radio:hover .soz-map__legend-item,
.soz-map__legend-radio:focus .soz-map__legend-item {
    border-bottom: 1px solid currentColor;
}

.soz-map__reset_button {
    font-size: 1.15rem;
    color: #005f87;
    font-family: TheSansC4s-ExtraBold,Verdana,sans-serif;
    padding: 0 25px;
}

.soz-map__reset_button:focus span,
.soz-map__reset_button:hover span {
    border-bottom: 1px solid currentColor;
}

.soz-map__group-offer.soz-map__group-offer.soz-map__group-offer {
    padding: 0 25px;
}

@media (min-width: 768px) {
    .soz-map__legend-list ul {
        padding: 5px 0;
    }
}

.soz-map__lightbox-content > p {
    line-height: 1.4;
    margin-bottom: 0.8em;
}

.soz-map__address {
    font-size: 18px;
}

@media (min-width: 480px) {
    .soz-map__address {
        font-size: 17px;
    }
}

.soz-map__lightbox-content > img {
    max-width: calc(60% - 12px);
    height: auto;
}

.soz-map__quote blockquote {
    margin: 0;
    text-align: center;
    position: relative;
    font-family: 'TheSansC4s-Bold';
    font-weight: bold;
    color: #555;
    padding: 0;
}
.soz-map__quote blockquote::before {
    content: '';
    display: none;
    position: static;
    background: transparent url(quote.png) no-repeat;
    width: 30px;
    height: 23px;
    margin-bottom: 10px;
}

.soz-map__quote blockquote p {
    color: #555;
    font-style: italic;
    line-height: 1.4;
    display: inline;
}

@media (max-width: 480px) {
    .soz-map__quote blockquote p {
        font-size: 12px;
    }
}

.soz-map__quote blockquote p:first-child::before {
    content: '„';
}

.soz-map__quote blockquote p:last-child::after {
    content: '“';
}

.soz-map__plugin a.internal-link {
    position: relative;
    padding-left: 1.4em;
    padding-right: 0.2em;
    text-decoration: underline;
    color: #E3051B;
}
.soz-map__plugin a.internal-link::before {
    content: '→';
    /*font-family: 'prj';*/
    font-style: normal;
    font-weight: normal;
    speak: none;
    display: inline-block;
    text-decoration: inherit;
    text-align: center;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: absolute;

    width: 1em;
    height: 1em;
    left: 0.3em;
    vertical-align: top;
    font-size: 80%;
    text-decoration: none;
    z-index: 1;
    top: 0.4em;
}

.soz-map__plugin a.internal-link:hover,
.soz-map__plugin a.internal-link:focus {
    background-color: rgb(218, 218, 218);
    color: #000;
}

.soz-map__lightbox-portrait-copyright {
    position: relative;
}

.soz-map__lightbox-portrait-copyright span {
    position: absolute;
    display: inline-block;
    padding: 4px;
    background: rgba(255, 255, 255, 0.5);
    bottom: 0;
    right: 0;
    font-size: 12px;
}

.soz-map__plugin[data-state="map"] .soz-map__special-drb-message,
.soz-map__plugin[data-state="list"] .soz-map__legend-special {
    display: none;
}

.soz-map__plugin ::-moz-focus-inner {
    border: 0;
    outline: 0;
}


@media (min-width: 1024px) {
    .soz-map__switcher {
        left: auto;
        right: 10px;
        top: 0;
        transform: translateY(-90px);
    }
}

@media (max-width: 1023px) {
    .soz-map__plugin[data-initialized] .soz-map__legend {
        padding-bottom: 60px;
    }
}

.soz-map__pin {
    padding-top: 1.5em;
    padding-bottom: 1.5em;
}

.soz-map__list-items .soz-map__pin {
    border-bottom: 30px solid #f7f7f7;
}

.soz-map__branch-header {
    display: flex;
    justify-content: space-between;
    font-size: 1rem;
    font-weight: bold;
    font-family: 'TheSansC4s-Bold';
}

@media (max-width: 360px) {
    .soz-map__branch-header {
        display: block;
    }
    .soz-map__branch-offertypes {
        display: block;
        margin-top: 0.5em;
    }
}

.soz-map__branch-category-icon {
    display: inline-block;
    vertical-align: middle;
    width: 24px;
    height: 24px;
    margin-right: 10px;
    background-size: contain;
    background-repeat: no-repeat;
}

h4.soz-map__branch-heading {
    margin-bottom: 0.5em;
    padding-bottom: 0.5em;
    border-bottom: 1px solid #b0b099;
    font-size: 20px;
}

.soz-map__branch-subtitle {
    display: block;
    font-size: 90%;
    margin-top: 0.3em;
}

.soz-map__branch-flex {
    display: flex;
}

.soz-map__branch-flex .soz-map__branch-image {
    width: calc(100% * (5 / 16));
    margin-right: calc(100% * (0.5 / 16));
    flex-shrink: 0;
}

.soz-map__branch-image img {
    max-width: 100%;
}

@media (max-width: 639px) {
    .soz-map__branch-flex {
        display: block;
    }
    .soz-map__branch-flex .soz-map__branch-image {
        width: 100%;
        margin-right: 0;
        margin-bottom: 1em;
    }
}

.soz-map__branch-info p {
    margin-bottom: 1em;
    margin-left: 28px;
    position: relative;
    font-size: 17px;
}

.soz-map__branch-info p::before {
    content: '';
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center center;
    left: -28px;
    width: 22px;
    height: 22px;
    position: absolute;
    top: 1.5px; /* (line-height 25 - 22) / 2 */
}

.soz-map__branch-info .soz-map__branch-info__address::before {
    background-image: url('/typo3conf/ext/ab1d_vit/Resources/Public/Css/images/icons/ort.svg');
}

.soz-map__branch-info .soz-map__branch-info__phone::before {
    background-image: url('/typo3conf/ext/ab1d_vit/Resources/Public/Css/images/icons/telefon.svg');
    background-size: 80% auto;
}

.soz-map__branch-info .soz-map__branch-info__fax::before {
    background-image: url('/typo3conf/ext/ab1d_vit/Resources/Public/Css/images/icons/fax.svg');
    background-size: 80% auto;
}

.soz-map__branch-info .soz-map__branch-info__mail::before {
    background-image: url('/typo3conf/ext/ab1d_vit/Resources/Public/Css/images/icons/mail.svg');
    background-size: 80% auto;
}

.soz-map__branch-info__link::before {
    display: none;
}

.soz-map__branch-info__mail a {
    font-weight: bold;
    font-family: 'TheSansC4s-Bold';
    letter-spacing: 0.95px;
}

.soz-map__branch-info__mail a:hover,
.soz-map__branch-info__mail a:focus {
    text-decoration: none;
}

.soz-map__branch-info__mail a:hover span,
.soz-map__branch-info__mail a:focus span {
    border-bottom: 1px solid currentColor;
}

.soz-map__branch-info .soz-map__branch-info__link {
    margin-left: 0;
}


.soz-map__plugin .leaflet-touch .leaflet-bar a:last-child,
.soz-map__plugin .leaflet-touch .leaflet-bar a:first-child {
    border-radius: 0;
}

.soz-map__plugin .leaflet-touch .leaflet-bar {
    border: none;
}

.soz-map__plugin .leaflet-touch .leaflet-bar a {
    width: 50px;
    height: 50px;
    line-height: 50px;
    font-size: 38px;
    font-family: serif;
    background-color: #02648e;
    color: white;
}

.soz-map__plugin .leaflet-touch .leaflet-bar a:hover,
.soz-map__plugin .leaflet-touch .leaflet-bar a:focus {
    background-color: #00293b;
}

.soz-map__plugin .leaflet-touch .leaflet-bar a:last-child {
    margin-top: 10px;
}

@media (max-width: 767px) {
    .soz-map__plugin .leaflet-touch .leaflet-bar a {
        width: 35px;
        height: 35px;
        line-height: 35px;
        font-size: 22px;
    }
}