/*
Theme Name: Polsterei DD Berlin
Author: Agentur Denkwunder GmbH
Author URI: https://www.denkwunder.de
Description: -
Version: 1.0.1
Template: stoni
Text Domain:  stoni-child
*/


.wgl-header-row-section_middle{
background-color: rgba(34,35,40,1)!important;	
}

.sticky_active .wgl-header-row-section_middle{
	background-color: rgba(255,255,255,1)!important;
}

/* hide logo and search from 404 page */
body.error404 div.banner_404_logotype,
body.error404 div.stoni_404_search {
    display: none;
}

.page_404_wrapper .banner_404_text {
    margin-bottom: 20px;
}

/* hide post navigation on single post */
body.single-post .stoni-post-navigation {
    display: none;
}

/* letter spacing main navigation */
.primary-nav > ul > li > a > span {
    letter-spacing: 0.1em;
}

.position_right_middle .header_spacing {
    display: none;
}

.primary-nav > ul > li > a {
    padding: 0 1.4vw !important;
}

@media all and (max-width: 1680px) {
    .primary-nav > ul > li > a {
        padding: 0 1vw !important;
    }
}

/* Sticky Header */
.wgl-logotype-container img.logo-mobile {
    height: 50px;
    width: 194px;
}

.wgl-logotype-container img.default_logo,
.wgl-theme-header .wgl-sticky-header .wgl-logotype-container > a,
.wgl-theme-header .wgl-sticky-header .wgl-logotype-container > a > img {
    height: 70px;
    width: 272px;
}


/* Mobile Header */
body .wgl-site-header {
    display: block;
}

body .wgl-theme-header .wgl-sticky-header {
    display: block;
}

body .wgl-theme-header .wgl-mobile-header {
    display: none;
}

body .wgl-theme-header .primary-nav {
    display: block;
}

body .wgl-theme-header .mobile-hamburger-toggle {
    display: none;
}

@media only screen and (max-width: 1500px) {
    body .wgl-site-header {
        display: none;
    }

    body .wgl-theme-header .wgl-sticky-header {
        display: none;
    }

    body .wgl-theme-header .wgl-mobile-header {
        display: block;
    }

    body .wgl-theme-header .primary-nav {
        display: none;
    }

    body .mobile_nav_wrapper .primary-nav {
        display: block;
    }

    body .wgl-theme-header .mobile-hamburger-toggle {
        display: inline-block;
    }

    body .mobile_nav_wrapper .primary-nav > ul {
        display: block !important;
        position: relative;
        left: 0;
        width: 100%;
        height: auto;
        box-sizing: border-box;
        margin: 0;
        padding: 10px 30px 30px 30px;
        text-align: left;

    }

    body .mobile_nav_wrapper .primary-nav,
    body .mobile_nav_wrapper .primary-nav > ul,
    body .mobile_nav_wrapper .primary-nav > ul > li {
        transition: none !important;
    }

    body .mobile_nav_wrapper .primary-nav > ul li {
        display: block;
        float: none;
        height: auto;
        padding: 0;
    }

    body .mobile_nav_wrapper .primary-nav ul li a {
        padding: 10px 0 !important;
        margin: 0;
    }
}


/* Blog */

body h3.blog-post_title,
body .blog-posts .blog-post_title > a {
    font-size: 20px;
    line-height: 1.4;
}

body .blog-posts .blog-post_title {
    margin-bottom: 5px !important;
}


/* Blog - Sidebar */
@media only screen and (max-width: 1024px) {
    aside.sidebar .textwidget img {
        max-width: 350px;
    }
}


@media only screen and (min-width: 1025px) {
    aside.sidebar {
        padding-left: 30px;
    }
}

/* Forms */
input[type="checkbox"] {
    width: auto !important;
}

span.wpcf7-list-item {
    line-height: 1.5em;
    margin-left: 0;
}

span.wpcf7-list-item-label {
    font-size: 16px;
}

/* Sidepanel */
@media all and (max-width: 480px) {
    .wgl-header-row .wgl-container {
        width: 100%;
    }
}

body .side_panel {
    min-width: 80px;
}

body .wgl-theme-header .mobile-hamburger-toggle {
    min-width: 80px;
    text-align: center;
}

body #side-panel .side-panel_close {
    width: 80px;
    height: 80px;
    line-height: 80px;
}

@media all and (min-width: 475px) {
    #side-panel {
        width: 475px !important;
    }

    .side-panel_sidebar {
        padding: 87px 80px 87px 80px !important;
    }
}


/* Header - Intro */
.page-header_content .page-header_title {
    text-align: center;
}

/* Gallery */
@media all and (max-width: 479px) {
    body .elementor-image-gallery .gallery-columns-4 .gallery-item {
        width: 100% !important;
        max-width: 50% !important;
    }
}