/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Ruben Amon
 Author URI:   https://ruben-amon.de
 Template:     generatepress
 Version:      0.1
*/



/*Flyout Menue*/

.menu-toggle {

    background-color: white !important;
}

@media (max-width: 600px) {

    .slideout-navigation,
    .offside--left,
    .offside--right {
        --gp-slideout-width: 330px !important;
    }

}

.main-nav {

    margin-bottom: 10px !important;
}

.menu-toggle svg {
    height: 1.2em;
    width: 1.2em;

}

@media (min-width: 600px) {

    .slideout-navigation,
    .offside--left,
    .offside--right {
        --gp-slideout-width: 400px !important;
    }

}

.slideout-exit {
    box-shadow: 0 .0625rem .125rem 0 var(--base);
    margin-bottom: 10px;

}

.slideout-exit .gp-icon svg {


    border: 2px solid var(--base);
    border-radius: 100%;
    padding: 3px;
    height: 30px;
    width: 30px;

}

.slideout-navigation button.slideout-exit {

    text-align: right !important;
}


.menu-dynamic a {

    display: flex !important;
}


/*Swiper*/

.swiper-pagination-bullet {

    background: black;
}


/*Start Matelso*/

.wmp-ui--contact-form--dialog {
    margin-left: 20px !important;

}

#wmp-ui--dialog-container {

    border-radius: 10px !important;
}

.wmp-ui--phone--number {

    color: white !important;
}

#wmp-ui--root button {

    border-radius: 10px !important;
}

/*Ende Matelso*/


.standort-block {

    display: none;
    position: relative;
}

.standort-block::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    left: auto !important;
    width: 120px;
    height: 120px;
    border-top: 5px solid black;
    border-right: 5px solid black;
    box-sizing: border-box;
    border-radius: 0px;
    border-top-right-radius: 20px;
}

.standort-block::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 120px;
    height: 120px;
    border-left: 5px solid black;
    border-bottom: 5px solid black;
    box-sizing: border-box;
    border-bottom-left-radius: 20px;
}

/*Standort schalter */

/*Header*/



.select-header {
    width: 100%;

}

.select-header .standort-select {
    padding: 8px 14px;
}

/*header ende*/
.standort-select-outer {
    width: 100%;
}

.standort-select-wrapper {
    position: relative;
    width: 100%;
}

.standort-select {
    width: 100%;
    padding: 10px 14px;
    font-size: 16px;
    border-radius: 5px;
    font-weight: 600;
    border: 1.5px solid #1C244B;
    background-color: white;
    color: #1C244B;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg fill='%23666' height='10' viewBox='0 0 10 6' width='10' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0l5 6 5-6z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 10px;
    cursor: pointer;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

/*flackern vermeiden*/

.herford-display,
.detmold-display,
.guetersloh-display,
.paderborn-display,
.bad-salzuflen-display {

    display: none;
}

/*Matelso*/

@media (max-width:700px) {



    #wmp-ui--button-container {

        width: 100% !important;
        left: 0px;
        right: auto !important;
        bottom: 0px !important;


    }

    #wmp-ui--button-container .wmp-ui--main-toggle-button {
        border-radius: 0px !important;
        width: 100%;
        height: 55px;
        bottom: 0px;
        left: 0px;
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: 10px;
        font-size: 20px;

    }

    #wmp-ui--button-group {

        align-items: end !important;
        padding-right: 20px !important;
    }

    .wmp-ui--main-icon {
        margin-left: 0px !important;
        width: 30px !important;
        height: 30px !important;
    }

    .wmp-ui--main-label {

        position: unset !important;
        font-size: 18px !important;
    }

}

@media (min-width:701px) {

    #wmp-ui--main-toggle-button {
        width: 250px !important;
        right: 190px !important;

    }

    .wmp-ui--main-label {

        font-size: 16px !important;
    }

    #wmp-ui--button-container .wmp-ui--main-toggle-button {

        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: 5px;
        padding: 10px;
    }

    .wmp-ui--main-label {

        width: 80%;
        top: 17px !important;
        left: 44px !important;

    }

    .wmp-ui--main-icon {

        position: absolute;
        left: 80px;
    }

}


.maps-kontakt .elementor-custom-embed {

    width: 100%;
}


/*Standort ausgrauen wenn nicht verfügbar*/


.inactive-standort {
    opacity: 0.5;
    /* optional: */
    filter: grayscale(70%);
}

/*Menü überarbeitung*/

@media (max-width: 1025px) {



    .sub-arrow {

        position: absolute;
        right: 30px;
    }

    .ubersicht>a {
        display: flex;
        justify-content: space-between;
    }

    .inactive-standort {

        display: flex;
        justify-content: space-between;
    }
}


.ubersicht>a::after {
    content: "Übersicht";
    display: inline-block;
    background: #A02B93;
    color: #fff;
    border-radius: 8px;
    font-size: 0.7em;
    margin-left: 8px;
    padding: 3px 9px;
    letter-spacing: 0.09em;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    width: 85px;

}


.inactive-standort::after {
    content: "!";
    display: inline-block;
    background: #A02B93;
    color: white;
    border-radius: 8px;
    font-size: 18px;
    margin-left: 8px;
    padding: 3px 9px;
    letter-spacing: 0.09em;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 800;
    width: 25px;
    height: 25px;
}



ul.sub-menu:has(a.inactive-standort)::after {
    content: attr(data-standort-hinweis);
    display: block;
    margin: 18px !important;
    margin-inline: auto;
    background: #999;
    color: #fff;
    font-size: 0.8em;
    line-height: 1.4;
    padding: 8px 12px;
    border-radius: 6px;
    width: auto;
    max-width: 420px;
    padding-right: 45px;

}



ul.sub-menu:has(a.inactive-standort)::before {
    content: "!";
    background: #A02B93;
    color: white;
    border-radius: 8px;
    padding: 3px 3px;
    letter-spacing: 0.09em;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 25px;
    height: 25px;
    position: absolute;
    bottom: 34px;
    font-weight: 800;
    font-size: 18px;
    right: 30px;
}


.select-mobile-header {

    padding: 10px 30px;
}

/*Formular*/

.kontaktformular-wrapper {


    width: 100%;

    max-width: 800px;
}


.medicus-map iframe {

    border-radius: 10px;
    height: 100%;
}

#dynamisches-kontaktformular {

    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: space-between;
    font-family: var(--e-global-typography-text-font-family), Sans-serif;
    font-size: 17px;
    font-weight: 600;
}

.form-row {
    width: 100%;
}

.form-row label {
    width: 100%;
    font-weight: 600;
}

.form-row select {

    border-radius: 5px;
    margin-top: 5px;
    background-color: var(--e-global-color-secondary);
    padding: 9px 15px;
    background-image: url("data:image/svg+xml,%3Csvg fill='%23666' height='10' viewBox='0 0 10 6' width='10' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0l5 6 5-6z'/%3E%3C/svg%3E");
    appearance: none;
    /* Entfernt Standard-Styling bei manchen Browsern */
    -webkit-appearance: none;
    -moz-appearance: none;
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 10px;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: black;
    width: 100%;
}

.form-row input {

    border-radius: 5px;
    background-color: var(--e-global-color-secondary);
    border: none;
    margin-top: 5px;
    border: 1px solid black;
    padding: 9px 15px;
    width: 100%;
}

.form-row.half {

    width: 48%;
}

@media(max-width: 1140px) {
    .form-row.half {
        width: 100%;
    }

    #wunschtermin {
        appearance: none;
        -webkit-appearance: none;
        height: 44px;
        color: black;
        background-image: url("data:image/svg+xml,%3Csvg fill='%23666' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M19 4h-1V2h-2v2H8V2H6v2H5c-1.1 0-1.99.9-1.99 2L3 20c0 1.1.89 2 1.99 2H19c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 16H5V9h14v11zM7 11h5v5H7z'/%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: right 14px center;
        background-size: 20px;
        text-align: start;

    }

}

.submitformbutton {
    width: 100%;
    border: 1px solid var(--accent);
    background-color: var(--accent);
    color: white;
    font-weight: 600;
}

.submitformbutton:hover {
    width: 100%;
    border: 1px solid var(--accent);
    background-color: var(--accent);
    color: white;
    font-weight: 600;
}

.standort-select:focus {
    border-color: var(--accent);
}


/*Kontaktseiote*/
@media (max-width: 700px) {

    .full-button {
        width: 100%;
        justify-content: center;
        align-items: center;
        display: flex;

    }

    .full-button a {
        display: flex;
        justify-content: center;
    }



}


ul.fachzentren-kacheln>li:nth-child(odd) .gbp-card {
    background: var(--light-orange);
}

ul.fachzentren-kacheln>li:nth-child(even) .gbp-card {
    background: var(--light-blue);
}