@font-face {
    font-family: 'Skia_Regular_Custom';
    src: url('../fonts/Skia-Regular.eot');
    src: url('../fonts/Skia-Regular.eot?#iefix') format('embedded-opentype'),
        url('../fonts/Skia-Regular.woff') format('woff'),
        url('../fonts/Skia-Regular.ttf') format('truetype'),
        url('../fonts/Skia-Regular.svg#Skia-Regular') format('svg');
    font-weight: 400;
    font-style: normal;
    font-variant-ligatures: none;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Definition der Farben */
:root {
    --font-family-sans-serif: "Skia_Regular_Custom", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    --font-family-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    --color-BSMlogo: rgb(244, 198, 55); /* BSM Logo Gelb */
    --color-BSMlogoBG: rgba(77, 184, 178, 1); /* BSM Logo Gelb */
    --color-NAMAK: rgba(49, 39, 131, 1);   /* BSM NAMAK blau */
    --color-NAMAKblue: rgba(57, 109, 192, 1);   /* Mitglieder */
    --color-NAMAKred: rgba(164, 26, 46, 1);  /* Historie */
    --color-NAMAKyellow: rgba(238, 200, 38, 1);/* Alle Kategorien */
}

:root {
    --color-BSMlogo-soft:  color-mix(in srgb, var(--color-BSMlogo) 50%, transparent);
    --color-BSMlogoBG-soft: color-mix(in srgb, var(--color-BSMlogoBG) 50%, transparent);
    --color-NAMAK-soft:  color-mix(in srgb, var(--color-NAMAK) 50%, transparent);
    --color-NAMAKblue-soft: color-mix(in srgb, var(--color-NAMAKblue) 50%, transparent);
    --color-NAMAKred-soft: color-mix(in srgb, var(--color-NAMAKred) 50%, transparent);
    --color-NAMAKyellow-soft: color-mix(in srgb, var(--color-NAMAKyellow) 50%, transparent);
}

html {
    font-family: var(--font-family-sans-serif) !important;
    font-size: 18px;
    font-weight: 400 !important;
    margin: 0;
    /*overflow: hidden;*/
}

body {
    line-height: 1.5em;
    font-weight: 400 !important;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 400 !important;
}

a {
    color: rgba(51,51,51,1);
}

p {
    padding-bottom: 0.5rem;
}

.credit {
    font-size: 0.8rem;
    line-height: 0.6rem;
}

.clearfix:after {
    display: block;
    clear: both;
    content: "Per CSS eingefügte Clear-Box für float";
    color: var(--color-NAMAKblue) !Important;
    height: 0;
    visibility: hidden;
}

.backgroundWrapper {
    position: relative;
    margin: 0 auto;
    background-color: rgba(255,255,255,1);
}

.stageHead {
    position: relative;
    top: 7.5rem;
    width: 100.3%;
    height: 28rem;
    z-index: 100;
    background-image: url("../images/BSM_WEBtitel1920x1280.jpg");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.stageHeadINT {
    position: relative;
    top: 7.5rem;
    width: 100.3%;
    height: 6rem;
    z-index: 100;
    background-image: url("../images/BSM_WEBtitel1920x1280.jpg");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-size: max(100%);
}

.table-responsive {
     overflow-x: auto;
}
/* Grundfarben für gestreifte Zeilen beibehalten */
.table-striped tbody tr:nth-of-type(odd) {
    background-color: #f9f9f9;
}

.table-striped tbody tr:nth-of-type(even) {
    background-color: #ffffff;
}
/* Sticky Spalten: Hintergrundfarbe muss zur Zeilenfarbe passen, um durchscrollenden Text zu verbergen */
.table-striped tbody tr:nth-of-type(odd) td[style*="position: sticky"] {
    background-color: #f9f9f9 !important;
    box-shadow: -3px 0 5px -2px rgba(0,0,0,0.15); /* Schattierung nach links */
}

.table-striped tbody tr:nth-of-type(even) td[style*="position: sticky"] {
    background-color: #ffffff !important;
    box-shadow: -3px 0 5px -2px rgba(0,0,0,0.15); /* Schattierung nach links */
}
/* Header ebenfalls schattieren und Hintergrund festlegen */
.table thead tr th[style*="position: sticky"] {
    background-color: #f2f2f2 !important;
    box-shadow: -3px 0 5px -2px rgba(0,0,0,0.15);
    z-index: 3 !important;
}
/*Ende Seite*/

/*hauptnavigation*/
.wrapper {
    position: relative;
    max-width: 1280px;
    width: 90%;
    margin: 0 auto;
}

header {
    position: fixed;
    top: 0;
    z-index: 200;
    max-width: 1280px;
    width: 90%;
    margin: 0 auto;
}

.headerBackground {
    position: fixed;
    top: 0;
    z-index: 190;
    background-color: rgba(255, 255, 255, 1);
    width: 100%;
    height: 9rem;
    box-shadow: .5rem 0 1rem silver;
    display: flex;
    justify-content: left;
}

.footWrapper {
    position: relative;
    max-width: 1152px;
    width: 90%;
    margin: 0 auto;
}

.footertxt {
    font-size: .8rem;
    color: rgba(255, 255, 255, 1);
    line-height: 1rem;
}

.footertxt.btnLogout {
    color: var(--color-BSMlogo);
    margin-left: 1rem;
}

.footer {
    position: fixed;
    width: 100%;
    margin: 0 auto;
    background-color: var(--color-NAMAKblue);    /*background-image: linear-gradient(20deg, rgba(255,250,250,.8)40%, rgba(187,30,62,1)60%);*/
    z-index: 200;
    bottom: 0;
}

h1 {
    position: relative;
    float: right;
}

h2 {
    font-size: 200%;
    padding-bottom: 1rem;
    padding-top: 4rem;
    line-height: 130%;
}
   
h3 {
    font-size: 150%;
    padding-top: 1.5rem;
    padding-bottom: .5rem;
}
   
h4 {
    font-size: 120%;
    padding-top: 1rem;
    padding-bottom: .5rem;
}
   
h5 {
    font-weight: 900;
    font-size: 120%;
    color: var(--color-NAMAKblue);
    padding-top: 1rem;
    padding-bottom: .5rem;
}
   
h6 {
    font-size: 100%;
}

.logo {
    height: 7rem;
    margin: 1rem 0 0 10rem;
}

.text-hidden {
    display: none;
}

.text_mittig {
    text-align: center !important;
}

.slider {
    position: relative;
    width: 100%;
    border-radius: 20px;
    box-shadow: .5rem .5rem 2rem silver;
}

#main_nav {
    position:absolute;
    z-index: 220;
    top: 6rem;
    right: 2rem;
    width: 40rem;
}

#main_nav_bottom {
    position: relative;
    z-index: 220;
    width: 100%;
    height: 3rem;
}

#main_nav ul {
    max-width: 1280px;
    display: block;
}

#main_nav_bottom ul {
    margin-top: .3rem;
    display: block;
}

#main_nav ul li {
    float: right;
    margin: 0 0 0 2rem;
    text-decoration: none;
    padding: 0;
}

.bluesalt {
    padding: 0 .5rem 0 .5rem;
    margin-top:-0.5rem;
    transform: rotate(9deg);
    color: var(--color-NAMAKblue);
    font-size: 120%;
    font-weight: 900;
}

#main_nav_bottom ul li {
    float: right;
    margin: 0 0 0 2rem;
    text-decoration: none;
    list-style: none;
    padding: 0;
    display: inline-block;
}

#main_nav ul li a{
    height: 1rem;
    text-align: center;
    display: inline-block;
    text-decoration: none;
}

#main_nav_bottom ul li a{
    text-align: center;
    display: inline-block;
    text-decoration: none;
    color: rgba(255,255,255,1);
}

#main_nav ul li a:hover {
    color: rgba(200,200,200,1);
}

#main_nav_bottom ul li a:hover{
    color: rgba(128,128,128,1);
}

.navActiv {
    color: var(--color-NAMAKred) !important;
}

.navFooterActiv {
    color: rgba(0,0,0,1) !important;
}
/*Ende Hauptnavigation*/

/*BarriereMenü*/
#barriere {
    position: absolute;
    top: 8rem;
    right: 1rem;
    width: 2rem;
    z-index: 130;
}

.button {
    float: left;
    display: inline-block;
    width: 2rem;
    height: 2rem;
    margin: .25rem;
    padding: .25rem .25rem .25rem .25rem;
    text-align: center;
    background-color: rgba(51,51,51,.3);
    border-radius: .25rem;
    border: none;
}

.button:hover {
    background-color: rgba(51,51,51,.5);
    text-decoration: none;
    color: var(--color-NAMAKred);
    );
}

.buttonshop {
    width: 6rem;
    margin: -1rem 0 0 0;
}
    
#px16 {
    font-size: 80%;
}

#px24 {
    font-size: 120%;
}

#px32 {
    font-size: 160%;
}

.normal {
    font-size: 100%;
    line-height: 160%;
}

.active {
    color: rgba(0,0,0,.5)
}

#gerade {
    padding: 0 1rem;
}

.invisible {
    display: none;
}

.visible {
    display: block;
}
/*Ende BarriereMenü*/



/*Stage*/
#stage {
    position: relative;
    top: 9rem;
    z-index: 1;
}

.product {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    align-items: center;
}

.product-image {
    width: 100%;
    height: auto;
}

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

.product-text {
}

/*Shop Detailansicht (shop.php)*/

.shop-page .form-buttons {
    margin-bottom: 20px;
}

.shop-page .column-group {
    position: relative;
    width: 100%;
    border: 1px solid #ccc;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 5px;
    background: #f9f9f9;
}

.shop-page .form-field-wrapper {
    margin-bottom: 10px;
}

.shop-page .checkbox-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
}

.shop-page .form-checkbox {
    width: 25px;
    height: 25px;
    cursor: pointer;
    flex-shrink: 0;
    margin-bottom: 0; /* Override global input margin */
}

.shop-page .checkbox-label {
    display: inline;
    margin: 0;
    cursor: pointer;
}

.shop-page .column-group label {
    width: 10rem;
}

.col-bestellmenge label {
    font-weight: 900;
}

.col-gesamtbetrag label {
    font-weight: 900;
}

.shop-page .column-group input {
    width: 6rem;
    border: none;
    background-color: transparent;
    text-align: center;
    margin-bottom: .2rem;
}

.shop-page #Bestellmenge {
    width: 6rem;
    border: 1px solid silver;
    background-color: rgba(255, 255, 255, 1);
    text-align: center;
    font-size: 1.5rem;
}

.shop-page #Gesamtbetrag {
    font-size: 1.5rem;
}

.shop-page #Produkt {
    width: 50rem;
    margin-top: 1rem;
    font-size: 1.2rem;
    font-weight: 900;
    text-align: left;
    border: none;
    background-color: transparent;
}

.shop-page .input-menge {
    width: 6rem;
}

.shop-page .submit-wrapper {
    margin-top: 20px;
}

.col-produktabbildung {
    position: absolute;
    top: 2rem;
    right: 5rem;
    width: 25%;
    box-shadow: .5rem .5rem 2rem silver;
    border: 1px solid silver;
}

/*Shopintern Detailansicht (shopintdetail.php)*/
.shopintdetail-page .form-buttons {
    margin-bottom: 20px;
}

.shopintdetail-page .column-group {
    border: 1px solid #ccc;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 5px;
    background: #f9f9f9;
}

.shopintdetail-page .form-field-wrapper {
    margin-bottom: 10px;
}

.shopintdetail-page .checkbox-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
}

.shopintdetail-page .form-checkbox {
    width: 25px;
    height: 25px;
    cursor: pointer;
    flex-shrink: 0;
    margin-bottom: 0; /* Override global input margin */
}

.shopintdetail-page .checkbox-label {
    display: inline;
    margin: 0;
    cursor: pointer;
}

.shopintdetail-page .column-group label {
    width: 10rem;
}

.shopintdetail-page .column-group input {
    width: 6rem;
    text-align: center;
}

.shopintdetail-page input {
    width: 50rem;
}

.shopintdetail-page label {
    width: 12rem;
}

.shopintdetail-page .input-menge {
    width: 6rem;
}

.shopintdetail-page .submit-wrapper {
    margin-top: 20px;
}

input {
    margin-bottom: 1rem;
    width: 100%;
}

input.zahl {
    width: 5rem;
}

textarea {
    width: 100%;
}

.stage_bottom {
    margin-bottom: 10rem;
}

#stage h2 {
    text-align: center;
}

h2.red {
    color: var(--color-NAMAKred);
}

#stage h3 {
    text-align: center;
}

#stage p {
    text-align: justify;
}

.highlight {
    color: var(--color-NAMAKred);
}

#stage.work {
    width: 90%;
    margin: 0 auto;
}

#stage.serv {
    width: 90%;
    margin: 0 auto;
}

#stage.group {
    width: 100%;
    margin: 0 auto;
}

.organigram {
    width: 100%;
    margin: 0 auto;
}

#stage.contact {
    width: 90%;
    margin: 0 auto;
}

#stage.legal {
    width: 90%;
    margin: 0 auto;
}

#stage.datasecure{
    width: 90%;
    margin: 0 auto;
}

#stage.datasecure p {
    width: 90%;
    margin-bottom: 0;
}

.stageclaim {
    text-align: center;
    margin: 3rem auto 3rem;
}

.stageclaim img {
    width: 90%;
    margin: 0 auto;
}

.stagefooter {
    text-align: center;
}

.stagefooter img {
    align-content: center;
    width: 10vw;
    margin: 2rem auto 10rem;
}

/*Stage_login*/

#stage.stgLogin {
    width: 60%;
    margin: 1rem auto;
}

.stgLogin input {
    width: 98%;
    box-sizing: content-box;
}

.stgLogin i {
    font-style: italic;
}

.stgLogin p {
    text-align: center;
    margin-top: 1rem;
}

.stgLogin .button {
    float: right;
    margin-top: 3rem;
    margin-right: .5rem;
}

.stgLogin span {
    display: inline-block;
    margin-left: .5rem;
    width: 40%;
    box-sizing: content-box;
}

/* CMS */
.formelemente {
    height: 8rem;
}

.chroniklistDB {
    width: 100%;
}

.cmslist {
    float: left;
    display: inline-block;
    min-height: 2rem;
    width: 100%;
    margin: 1rem 0 1rem 0;
    padding: .25rem .5rem .25rem;
    text-align: left;
    color: rgba(0,0,0,1);
    background-color: rgba(230,0,126,0.1);
    border-radius: .25rem;
    border-width: 2px;
    border-color: rgba(230,0,126,1);
    vertical-align: bottom;
}

.chronikdateDB {
    font-weight: 700;
}

.cmsbutton {
    float: left;
    display: inline-block;
    min-height: 2rem;
    padding: .25rem .5rem .25rem;
    text-align: center;
    color: rgba(255,255,255,1);
    background-color: rgba(230,0,126,.75);
    border-radius: .25rem;
    border: none;
    vertical-align: bottom;
}

.cmb100 {
    width: 98%;
    margin: 1rem 1% 1rem 1%;
}

.cmb50 {
    width: 48%;
    margin: 1rem 1% 1rem 1%;
}

.cmb30 {
    width: 31.3%;
    margin: 1rem 1% 1rem 1%;
}

.cmb25 {
    width: 23%;
    margin: 1rem 1% 1rem 1%;
}

/* CMS Button */
.cmsbutton:hover {
    background-color: rgba(0,129,227,.75);
    text-decoration: none;
    color: rgba(255,255,255,1);
}

.btnEdit {
    position: relative;
    float: right;
    margin: .5rem 2rem 0 0;
    z-index: 1200;
}

.btnEdit:hover {
    background-color: rgba(0,129,227,.9);
}

.btnEdit:hover:after {
    font-family: "urw-din", sans-serif;
    font-size: 1rem;
    content: "BEARBEITEN";
}

/* Grundstil für alle Checkboxen */
.chkbox {
    width: 20px;        /* Breite */
    height: 20px;       /* Höhe */
    cursor: pointer;    /* Mauszeiger */
    accent-color: #0078ff; /* Moderne Browser: Farbe der Checkbox */
}

/* Optional: Hover-Effekt */
.chkbox:hover {
    filter: brightness(1.2);
}

/* Optional: Fokus-Ring (Keyboard-Navigation) */
.chkbox:focus {
    outline: 2px solid #0078ff;
    outline-offset: 2px;
}



/*Ende StageLogin*/

/*Stageestablishments*/

.CONST {
    text-align: center;
}

.unselect {
    opacity: .5;
}

/*Ende StageLegal*/
/*Ende Stage*/

/*Mediaqueries*/
@media only screen and (min-width: 1408px) {
}

@media only screen and (min-width: 1664px) {
}

@media only screen and (min-width: 1920px) {
}

@media only screen and (max-width: 1200px) {
    html {
        font-size: 16px
    }
}

@media only screen and (max-width: 1120px) {
    html {
        font-size: 16px
    }

    .logo {
        height: 7rem;
        margin: 1rem 0 0 6rem;
    }
}

@media only screen and (max-width: 1024px) {
    html {
        font-size: 15px;
    }

    .wrapper {
        top: 5rem;
    }

    .logo {
        height: 7rem;
        margin: 1rem 0 0 5rem;
    }

}

@media only screen and (max-width: 896px) {
    html {
        font-size: 14px;
    }

    p {
        font-size: 110%;
    }

    .logo {
        height: 9rem;
        margin: 1rem 0 0 5rem;
    }

    .headerBackground {
        height: 11.5rem;
    }

    h2 {
        padding-top: 1rem;
    }

    .dropdown {
        position: relative;
        display: inline-block;
    }

    .dropdown-content {
        display: none;
        position: absolute;
        background-color: #f9f9f9;
        min-width: 10rem;
        box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
        padding: 12px 16px;
        z-index: 1;
    }

    .dropdown:hover .dropdown-content {
        display: block;
    }

    #main_nav {
        width: 11rem;
        top: 0.5rem;
        right: 2rem;
    }

    #main_nav ul li {
        position: relative;
        width: 11rem;
        text-align: center;
        text-decoration: none;
        list-style: none;
    }

    #main_nav ul li:first-child {
        border-top: none;
    }

    #main_nav ul li a {
        text-align: center;
        padding: .5rem 1rem .5rem 1rem;
        display: inline-block;
        text-decoration: none;
    }

    .bluesalt {
        padding: 0 .5rem 0 .5rem;
        margin-top: -0.5rem;
        transform: rotate(4deg);
        color: var(--color-NAMAKblue);
        font-size: 100%;
        font-weight: 900;
    }

    .buttonshop {
        width: 9rem;
        margin: 0 0 4rem 0;
    }

    .col-produktabbildung {
        position: absolute;
        top: unset;
        bottom: 1.5rem;
        right: 1.5rem;
        width: 25%;
        box-shadow: .5rem .5rem 2rem silver;
        border: 1px solid silver;
    }

    .btn-success {
        width: 100%;
    }
}

@media only screen and (max-width: 768px) {

    html {
        font-size: 13px;
    }

    p {
        font-size: 120%;
    }

    .logo {
        height: 9rem;
        margin-right:  2rem;
    }

    .headerBackground {
        height: 11.5rem;
    }

    .product {
        grid-template-columns: 1fr;
    }

}

@media only screen and (max-width: 640px) {
    html {
        font-size: 11px;
    }

    p {
        font-size: 130%;
    }

    .wrapper {
        top: 6rem;
    }

    .logo {
        height: 10rem;
        margin-right: 2rem;
    }

}   .

    @media only screen and (max-width: 512px) {
        html {
            font-size: 11px
        }

        p {
            font-size: 140%;
        }

        .logo {
            height: 10rem;
            margin-right: 2rem;
        }

        .foothidden {
            display: none;
        }
    }

    @media only screen and (max-width: 448px) {
        html {
            font-size: 10px;
        }

        p {
            font-size: 150%;
        }

        .wrapper {
            top: 7rem;
        }

        .headerBackground {
            height: 11.5rem;
        }

        .logo {
            height: 10rem;
            margin: 1rem 0 0 2rem;
        }

        #main_nav {
            display: flex;
            right: 2rem;
        }

        #main_nav ul li {
            font-size: 120%;
            margin: 0 .5rem 0 .5rem;
        }

        #stage {
            top: 2rem;
        }

        .stagefooter {
            height: 10rem;
            margin: 3rem auto 22rem;
        }

        .footertxt {
            margin-left: 1rem;
        }
    }

/*Ende Mediaqueries*/