/* =====================================================
   PhysioTherapie und Training Wiesendangen
   Joomla 5 - Cassiopeia
   Datei: user.css
   ===================================================== */


/* =====================================================
   1. GRUNDEINSTELLUNGEN
   ===================================================== */

:root {
    --cassiopeia-color-primary: #222222;
    --cassiopeia-color-hover: #2d5f9f;
    --cassiopeia-color-link: #006400;
    --cassiopeia-color-text: #222222;
    --cassiopeia-color-background: #ffffff;
}

html,
body {
    background: #ffffff;
    color: #222222;
    font-family: Arial, Helvetica, sans-serif;
    margin: 0;
}


/* =====================================================
   2. KOPFBEREICH
   ===================================================== */

.container-header {
    background: #ffffff !important;
    background-image: none !important;
    color: #222222;
    box-shadow: none !important;
    padding: 0;
}

header.header {
    background: #ffffff;
    color: #222222;
    text-align: center;
    box-shadow: none;
}

.container-topbar {
    max-width: 650px;
    margin: 0 auto;
    padding: 0;
    background: #ffffff;
}


/* Kopfzeilen-Bildmodul
   Modulklasse: site-header-image */

.site-header-image {
    width: 100%;
    max-width: 650px;
    margin: 0 auto;
    padding: 0;
    text-align: center;
    background: #ffffff;
}

.site-header-image img {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
    border: 0;
    box-shadow: none;
}


/* =====================================================
   3. NAVIGATION
   menu_bg.png = schwarzer Balken
   h3_blue.png = aktiver Menüpunkt
   ===================================================== */

.container-header .container-nav {
    display: block;
    width: 100%;
    max-width: 650px;
    margin: 0 auto;
    padding: 0;
    background: #ffffff !important;
    background-image: none !important;
    box-shadow: none !important;
}

/* Menüleiste mit schwarzem Hintergrundbild */

.container-header .container-nav ul.mod-menu {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-around;
    align-items: center;

    width: 100%;
    max-width: 650px;
    min-height: 42px;

    margin: 0 auto;
    padding: 0;

    background-color: #222222;
    background-image: url("/images/menu_bg.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100% 100%;

    list-style: none;
    border: 0;
    border-radius: 5px 0 0 5px;
    box-shadow: none;
}

/* Einzelne Menüpunkte */

.container-header .container-nav ul.mod-menu > li {
    position: relative;
    display: flex;
    flex: 1 1 auto;
    align-items: center;
    justify-content: center;

    margin: 0;
    padding: 0;
    background: transparent;
    text-align: center;
}

/* Navigationstexte */

.container-header .container-nav ul.mod-menu > li > a {
    position: relative;
    z-index: 1;

    display: block;
    padding: 10px 8px;

    color: #ffffff !important;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    font-weight: bold;
    line-height: 1.2;

    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    white-space: nowrap;
}

/* Hover-Effekt */

.container-header .container-nav ul.mod-menu > li > a:hover {
    color: #ffffff !important;
    text-decoration: underline;
}

/* Blauer Kreis beim aktiven Menüpunkt */

.container-header .container-nav ul.mod-menu > li.active > a::before,
.container-header .container-nav ul.mod-menu > li.current > a::before {
    content: "";

    position: absolute;
    z-index: -1;

    top: 50%;
    left: 50%;

    width: 60px;
    height: 60px;

    transform: translate(-50%, -50%);

    background-image: url("/images/h3_blue.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

/* Aktiver Menütext bleibt weiss */

.container-header .container-nav ul.mod-menu > li.active > a,
.container-header .container-nav ul.mod-menu > li.current > a {
    color: #ffffff !important;
}


/* =====================================================
   4. HAUPTINHALT
   ===================================================== */

.site-grid {
    display: block;
    background: #ffffff;
}

/* Inhaltsbreite wie im alten Screenshot */

.site-grid .container-component {
    width: calc(100% - 20px);
    max-width: 560px;

    margin-left: auto;
    margin-right: auto;

    padding: 0;
    background: #ffffff;
}

/* Artikel ohne Karten, Rahmen oder Schatten */

.com-content-article,
.com-content-article .item-content,
.card,
.card-body,
.blog-item {
    background: #ffffff;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}


/* =====================================================
   5. ÜBERSCHRIFTEN
   ===================================================== */

.site-grid .page-header h1,
.site-grid h1,
.site-grid h2 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 22px;
    font-weight: bold;
    line-height: 1.3;
    color: #008000;
}


/* =====================================================
   6. ARTIKELBILDER
   ===================================================== */

.com-content-article img {
    max-width: 100%;
    height: auto;
    border: 0;
    box-shadow: none;
}


/* =====================================================
   7. SIGE-BILDERGALERIE
   ===================================================== */

/* Allgemeine Galerieelemente */

.sige,
.sige_thumb,
.sige_image {
    box-shadow: none !important;
}

/* Vorschaubilder */

.sige_thumb {
    background-image: none !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    box-shadow: none !important;
}

/* SIGE-Bildformat */

.sige_thumb img {
    display: block;
    width: 175px;
    height: 132px;
    object-fit: cover;

    padding: 0 !important;
    margin: 0 !important;

    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}


/* =====================================================
   8. FUSSZEILE
   ===================================================== */

.container-footer {
    background: #ffffff;
    color: #222222;
    box-shadow: none;
}


/* =====================================================
   9. MOBILE ANSICHT
   ===================================================== */

@media (max-width: 700px) {

    /* Kopfbereich */

    .container-topbar,
    header.header {
        width: 100%;
    }

    /* Navigation */

    .container-header .container-nav {
        width: calc(100% - 20px);
    }

    .container-header .container-nav ul.mod-menu {
        flex-wrap: wrap;
        justify-content: center;
        border-radius: 4px;
    }

    .container-header .container-nav ul.mod-menu > li > a {
        padding: 10px 6px;
        font-size: 11px;
        white-space: normal;
    }

/* Blauer Kreis hinter dem aktiven Menüpunkt */

.container-header .container-nav li.nav-item.active > a,
.container-header .container-nav li.nav-item.active > span {
    position: relative !important;
    z-index: 1 !important;
    color: #ffffff !important;
}

.container-header .container-nav li.nav-item.active > a::before,
.container-header .container-nav li.nav-item.active > span::before {
    content: "" !important;
    display: block !important;
    position: absolute !important;

    width: 60px !important;
    height: 60px !important;

    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;

    background-image: url("/images/h3_blue.png") !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: contain !important;

    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: none !important;
    z-index: -1 !important;
}

}
