body {
    background-attachment: scroll;
}

#mainwrap {
    margin: 0px;
    width: 100%;
    background-position: center top;
    z-index: 1;
}


/** SLOGAN **/
#index_text {
    font-size: 1.25em;
    line-height: 1.4;
    font-weight: 500;
    /* text-shadow: 1px 1px 6px #000;  */
    text-shadow: 1px 1px 4px #003300;
    /* color: #e3dfbc; */
    color: #fff;
    text-align: center;
    padding: 40px 0 90px 0;
    /* letter-spacing: 0.05em; */
}
body.smactive:not(.subnavactive) #left {
   height: 0 !important;
   transition: all 0.1s 0.3s ease-in-out;
}


h1,
.links_full h2,
.title_block>a,
#featured-products_block_center h2 {
    font-size: 2.6rem;
    color: white;
    background: linear-gradient(to bottom right, white, #ffcc00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(1px 1px 4px rgba(0, 0, 0, 0.5));
}

/* hide bg in home featured new products */
.rechts div.block {
    background: none;
}

h1 {
    margin-bottom: 200px;
}

.links_full h2,
.title_block>a,
#featured-products_block_center h2 {
    font-size: 1.75rem;
    text-align: center;

}

#featured-products_block_center h2 {
    margin: 60px 0 30px 0;
}

#new-products_block_right,
#special_block_right .title_block,
#special_block_right {
    background-image: none !important;
    height: auto;
    text-align: center;
    margin-bottom: 10px !important;
}

#index_text span {
    padding-top: 10px;
}

#index_text a {
    color: #fff;
    border-bottom: 2px dashed #ffcc00;

}

#index_text a:hover {
    color: #ffcc00;
    border-bottom: 2px solid #ffcc00;

}



/*** SLIDER ***/
/* @override http://localhost/bxslider_v3_plugin/css/styles.css */

#homeslider {
    display: flex;
    flex-wrap: wrap;
}

#homeslider .homeslider-container {
    display: flex;
    background-image: url('hintergrund_papier.png');
    border-radius: 12px;
    padding: 12px;
    margin-bottom: 24px;
    border: 6px solid transparent;
    color: #2d2c24;
    transition: all 0.25s ease-in-out;
}

#homeslider a.homeslider-container:hover {
    border-color: #ffcc00;
    transition: all 0.25s ease-in-out;
}

#homeslider .aside {
    padding: 0 0 0 24px;
}

#homeslider img {
    border-radius: 6px;
}

#homeslider h2 {
    color: #475a46;
    font-size: 1.375rem;
    padding-bottom: 12px;
    font-weight: bold;
}

/** SUCHEN **/


#suchen .searchSuggests {
    display: none;
}


/** STANDORTE **/
.index_standorte {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 80px !important;
}

.index_standorte h2 {
    flex: 0 0 100%;
    background: none;
    color: #475a46;
    -webkit-text-fill-color: #475a46;
    background-position: bottom center;
    padding: 10px 0 30px;
    margin: 0 0 20px 0;
    text-align: center;
    background-repeat: no-repeat;
    background-size: 50%;
    font-size: 2rem;
    margin-top: 20px;
    background-image: url(trennlinie_3col.png);
}

.index_standorte>a {
    flex: 0 0 calc(50% - 20px);
    display: flex;
    justify-content: space-between;
    color: #475a46;
    background: white;
    border-radius: 12px;
    padding: 12px;
    margin-bottom: 24px;
    border: 6px solid transparent;
    color: #2d2c24;
    transition: all 0.25s ease-in-out;
    box-sizing: border-box;
}

.index_standorte>a:hover {
    border-color: #ffcc00;
    transition: all 0.25s ease-in-out;
}


.index_standorte .img {
    border-radius: 6px;
    flex: 0 0 calc(50% - 10px);
    align-self: stretch;
}

#content .index_standorte img {
    border-radius: 6px;
    object-fit: cover;
    height: 100%;
}

.index_standorte .standort>span {
    flex: 0 0 calc(50% - 10px);
}

.index_standorte h3 {
    font-size: 1.375rem;
}

.index_standorte .button {
    font-weight: bold;
    margin-top: 10px;
    background: rgba(247, 233, 106, 0.5);
}

.index_standorte>a:hover .button {
    background: rgba(247, 233, 106, 1);
}


/* aktionen / neue / content row */
#content {
    padding-bottom: 0;
}

.columnsWrapper {
    padding-top: 80px;
    background-image: url('sn_pattern_v4.png');
    background-position: top center;
}

#special_block_right .products>a:not(.all) {
    background: white;
    border: 6px solid white !important;
    border-radius: 6px;
}


#special_block_right .products>a:hover {
    border-color: #ffcc00 !important;
    border-radius: 6px;
}

#special_block_right .products,
#new-products_block_right .block_content {
    text-align: center;
}

#new-products_block_right .fr {
    text-align: left;
}

#special_block_right a.all {
    display: inline-block;
    float: none;
    margin-top: 20px;
}


#special_block_right .products img {
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
}

#new-products_block_right .block_content {
    margin-top: 20px;
}

#content .aside {
    text-align: center;
    background: none;
}

#content .aside h2 {
    height: 66px;
}

#new-products_block_right .item {
    border: 6px solid transparent;
    border-radius: 6px;
    background-image: url('hintergrund_papier.png') !important;
}

#content {
    width: 100%;
    padding: 0;
    border-radius: 0px;
}

#content::after {
    display: none;
}

#index_footer {
    background-color: #475a46;
}
footer img {
    max-width: 280px;
    width: 100%;
}


/**** BASIC HEAD / GRID STUFF **/
@media screen and (min-width: 940px) {

    #index_main,
    .links_full,
    #content .index_standorte,
    #index_footer>* {
        width: 1300px;
        margin: 0px auto;
        float: none;
    }

    #index_main {
        display: flex;
        justify-content: center;
        padding-top: 40px;
    }

    #main {
        position: relative;
        width: 100%;
        float: none;
    }

    #suchen {
        top: 288px;
        background: none;
        z-index: 110;
        /* padding: 0 150px 0 0; */
        /* transform: translateX(75px); */
        box-sizing: border-box;
    }

    #suchen form {
        position: relative;
        height: 48px;
    }

    #suchen input[type=text] {
        font-size: 1.25rem;
        padding: 6px 40px 6px 12px;
        width: calc(100% - 74px);
        width: 100% !important;
        font-weight: bold;
        background: white !important;
        border: 6px solid transparent !important;
        border-radius: 6px;
        margin: 0;
        box-sizing: border-box;
        height: 48px;
    }

    #suchen input::placeholder {
        color: rgba(71, 90, 70, 0.66);
        font-weight: bold !important;
    }

    #suchen form input:hover {
        border-color: #ffcc00 !important;
    }

    #suchen input[type=image] {
        position: absolute;
        top: 0px;
        right: 0;
        background: none;
        border: none !important;
        width: 26px;
        height: 26px;
        border: 6px solid transparent !important;
    }

    form#searchbox input#search_button {
        padding: 5px;
    }

    .ac_results {
        width: 697px !important;
    }

    #suchen .searchSuggests {
        color: white;
        margin-top: 10px;
        text-shadow: 1px 1px 4px #003300;

        display: block;
    }

    #suchen .searchSuggests span {
        font-weight: bold;
    }

    #suchen .searchSuggests a {
        display: inline-block;
        margin: 0 4px;
        color: white;
        border-bottom: 2px dashed #ffcc00;
    }

    #suchen .searchSuggests a:hover {
        color: #ffcc00;
        border-style: solid;
    }

    #left {
        width: 330px;
        margin-right: 60px;
        float: none;
        flex: 0 0 330px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    #user_data {
        display: none !important;
    }





    /**** HEADER ***/
    header {
        position: relative;
        background: url('bg_index_header_clean.png') repeat-x 28px 0px;
        display: flex;
        flex-direction: column;
        width: 840px !important;
        /* 877 */
        padding: 16px 17px 17px 0px;
        border-radius: 4px;
        max-width: 100%;
        min-width: 0px;
        max-height: 100%;
    }

    header>div {
        width: 857px !important;
        float: none !important;
    }

    header .rechts {
        margin-top: 40px;
        position: relative;
    }

    /*** WARENKORB ***/
    #warenkorb {
        background: none;
        margin: -68px 10px 0 572px;
        width: auto;
        position: absolute;
    }

    #warenkorb .wk_tasche {
        display: none;
    }

    #warenkorb .wk_text {
        height: 20px;
        overflow: hidden;
    }

    #warenkorb .wk_text a {
        background: url('warenkorb_tasche_hell.png') no-repeat;
        padding: 1px 0px 1px 27px;
        font-size: 14px;
        height: 20px;
    }

    #warenkorb .wk_text a:hover {
        color: #ffcc00;
    }



    /*** LOGIN BUTTON ***/
    #user_menu {
        padding: 0px;
        float: right;
        width: 283px;
        margin: -1px 10px 0 33px;
    }

    #user_menu>div {
        background: none;
        height: auto;
        float: left;
        border-radius: 0px;
    }

    #user_loginbutton a {
        background: url('icon_user_head.png') no-repeat;
        background-position: 2px center;
        color: #e3dfbc;
        padding: 8px 0px 8px 30px;
        border-radius: 6px;
        font-size: 0.875rem;
    }

    #user_loginbutton:hover {
        background-color: transparent;
    }

    #user_loginbutton a:hover {
        color: #ffcc00;
    }

    #user_loginbutton {
        padding: 0px;
        background: none;
    }



    /**** NAVIGATION ***/
    nav ul {
        padding-left: 0;
        width: auto;
    }

    nav ul>li {
        margin-left: 0px !important;
    }

    nav ul li a::before {
        border-radius: 6px;
    }





    /*** CONTENT ***/


    .links_full {
        display: flex;
        justify-content: space-between;
    }


    .links_full>section:not(:last-of-type) {
        margin-right: 80px;
        flex: 0 0 calc(33% - 60px);
    }

    .links_full>.premium-club {
        margin-right: 0px;
    }

    #content>.clear {
        display: none;
    }




    /*** FOOTER **/
    footer>div.raufcon {
        display: none;
    }
}

/* Blog listing */
ul.blog_list {
    list-style: none;
}

.blog_list li a {
    background: url('hintergrund_papier.png');
    border-radius: 6px;
    margin-bottom: 24px;
    display: block;
    border: 6px solid transparent;
    transition: all 0.2s ease-in-out;
    padding: 16px 24px 24px;
}

.blog_list li a:hover {
    border-color: #ffcc00;
    transition: all 0.2s ease-in-out;
}

.blog_list .title {
    font-size: 1.5rem;
    color: #475a46;
    background-image: url('trennlinie_3col.png');
    background-position: center bottom;
    background-repeat: no-repeat;
    padding-bottom: 16px;
    margin-bottom: 16px;
}

.blog_list .description {
    color: #2d2c24;
    text-align: left;
    display: block;
}


body:not(.smactive) #subnavi {
    overflow: hidden;
    height: 0;
    padding: 0;
    margin-bottom: 60px;
}




@media screen and (min-width: 940px) and (max-width: 1380px) {

    #index_main,
    #content .index_standorte {
        width: 877px;

    }

    #index_main {
        position: relative;
        width: 877px;
    }

    header {
        height: auto;
        max-width: 840px !important;
        width: 840px !important;
    }

    header>.links {
        position: relative;
    }

    header>.rechts {
        margin-top: 420px;
    }

    header nav {
        position: absolute;
        top: 0;
        left: 0;
    }

    header #user_menu {
        position: absolute;
        top: 0;
        left: 540px;
    }


    #left {
        top: 160px;
        width: 100%;
        flex-direction: row;
        position: absolute;
        left: 0;
        z-index: 10;
    }

    #suchen {
        top: 614px;
        left: unset;
    }

    #index_text {
        padding: 0 0 0 40px;
        text-align: left;
    }

    #left img {
        height: 286px;
    }

    #index_text span {
        padding: 0;
    }


    header nav {
        margin-top: 0;

    }

    #warenkorb {
        margin-top: -377px;
        margin-right: 0px;
        width: 270px;
        padding: 4px 5px 0 0;
        right: 0;
        top: 0;

    }

    #warenkorb .wk_text {
        height: 22px;
    }

    #user_menu {
        position: relative;
        float: right;
    }

    #content {
        margin: 0;
    }

    #content .links_full {
        width: 100%;
        box-sizing: border-box;
        justify-content: space-around;
        /* margin: 0 60px; */
    }

    .links_full>section {
        margin: 0 40px !important;
        flex: 0 0 calc(33% - 80px);
    }

    .index_standorte .standort {
        flex: 0 0 100%;
    }


    #index_footer>footer {
        box-sizing: border-box;
        width: 100%;
        margin: 0 40px;
        flex-wrap: wrap;
        justify-content: space-around;
    }

    footer>div:not(:last-of-type) {
        flex: 1 1 auto;
        margin-right: 60px;
        margin-bottom: 60px;
    }

    .tinynav {
        display: none !important;
    }

    .premium-club {
        display: none !important;
    }


}

@media screen and (max-width: 939px) {
    #mainwrap {
        margin-top: 120px;
        display: flex;
        flex-direction: column;
        width: 100%;
    }

    #index_main,
    #index_standorte {
        padding: 0 40px;
        width: 100%;
        box-sizing: border-box;
        /* display: flex;
        flex-direction: column; */
    }

    /* #index_main #main {
        order: 1;
    }
    #index_main #left {
        order: 2;
    } */
    body:not(.smactive) #left {
        position: relative;
        transform: none;
        top: unset;
        left: unset;
        height: auto;
        background: none;
        width: 100%;
        margin: 0;
        float: none;
        display: flex;
        flex-direction: column;
        align-items: center;
        z-index: 95;
        padding-top: 20px;
    }

    #index_text {
        font-size: 1.25rem;
        padding-bottom: 0px;
        max-width: 450px;
    }

    header {
        max-height: unset !important;
    }

    header .rechts {
        width: 100%;
        float: none;
    }

    h1 {
        margin-bottom: 60px;
        font-size: 1.75rem;
        text-align: center;
    }

    #content {
        width: 100%;
        margin: 0;
        max-width: 100%;
    }


    
    body.smactive.subnavactive #index_text {
        display: none !important;
    }

    .index_standorte>a,
    #homeslider .homeslider-container,
    #featured-products_block_center ul {
        align-items: center;
        flex-direction: column;
    }

    .index_standorte>.standort>span,
    #featured-products_block_center li,
    .index_standorte>a {
        flex: 0 1 100%;
        max-width: 450px;
    }

    #featured-products_block_center li {
        margin: 0 0 20px;
    }

    #homeslider .aside {
        padding: 12px 0 0 0;
    }

    .index_standorte {
        margin: 20px;
        justify-content: center;
    }

    .index_standorte h3 {
        margin: 20px 0 10px;
    }

    .index_standorte>a {
        margin: 0 20px 20px;
        box-sizing: border-box;
    }

    .columnsWrapper {
        padding: 40px;
    }

    .links_full {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .links_full>section,
    #new-products_block_right,
    #special_block_right {
        max-width: 450px;
        margin-bottom: 60px !important;
    }

    #index_footer>footer {
        box-sizing: border-box;
        width: 100%;
        padding: 0 40px;
        margin: 0;
        flex-wrap: wrap;
        justify-content: center;
    }

    footer>div:not(:last-of-type) {
        flex: 0 1 100%;
        margin: 10px 0;
        max-width: 350px;
    }

    footer img {
        max-width: 260px;
    }

    .copyright {
        text-align: center;
    }
}