/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/*
    Created on : 22.10.2019, 16:34:34
    Author     : Herz
*/
*{
    box-sizing: border-box;
}
.pos_relative{
    position:relative;
}
header,
main,
footer,
main .content_row{
    width:100%;
    margin:0 auto;
}
header > .inner,
footer > .inner,
main .content_row > .inner,
nav.main > .nav_entry.level_1 > .pos_relative > .sub > .inner,
header.desktop > .inner.top_right > nav.top_right{
    max-width:var(--max_main_width);
    margin:0 auto;
}
main .inner_max_width_small.content_row .inner{
    max-width:var(--text_max_width);
    margin:0 auto;
}
main .content_row.full_width > .inner{
    max-width:100%;
}
main{
    overflow:hidden; /* fuer responsive, bei sehr langen woertern in der ueberschrift beispiel: "Dienstleistungsangebot" */
}
.cookiebox-button-detail button,
.cookiebox-button-direct button{
    width:100%;
}
.emtpy_area{
    background-color: white;
    padding:10px;
    padding-top:20px;
    padding-bottom:20px;
    margin-left:5px;
    margin-right:5px;
}

@media screen and (max-width: 980px) {
    :root {
        --main_text_font_size:14px;

    }
    .mobile-footer {
        display: grid;
        grid-template-columns: repeat(3,1fr);
        position: fixed;
        left:0;
        right: 0;
        bottom: 0;
        background-color: var(--primaryColor);
        gap:1px;
        box-shadow: 0px 0px 5px 0px #000000bf;
        z-index: 850;


    }
    .mobile-footer.logged-in {
         grid-template-columns: repeat(4,1fr);

    }
    .mobile-footer .item {
        padding: 0.4rem;
        font-size:32px;
        flex-grow: 1;
        justify-content: center;
        align-items: center;
        display: flex;
        background-color: white;
        color:var(--primaryColor)
    }

    .mobile-footer .item.cart-item-button[data-counter]:not([data-counter="0"]){
        background-color: var(--primaryColor);
        color:white;
    }

    .mobile-footer  .card-icon-with-counter{
        position: relative;
    }
    .mobile-footer  .card-icon-with-counter .cart-counter {
        border-radius: 12px;
        font-size: 10px;
        border: 1px solid white;
        padding:2px;
        display: flex;
        justify-content: center;
        align-items: center;
        position: absolute;
        bottom:0;
        right:-12px;
        background-color: white;
        color:var(--primaryColor)
    }
    .mobile-footer  .card-icon-with-counter .cart-counter[data-counter="0"]{
        display: none;
    }
    footer {
        margin-bottom: 40px;
    }
    header.mobile .mobile_menu_btn,
    header.mobile a.warenkorb {
            display: none;
        }


}

@media (display-mode: standalone) {
    footer {
        display: none;
    }
    main {
        margin-bottom: 50px;
    }
}
