#page-header {
    background-color: #fff;
    padding: 0;
    box-shadow: 0 0 5px 2px #9d9a93, inset 0 3px 18px rgba(100, 100, 100, 0.25);
    position: relative;
    z-index: 2;
}

#page-header .headerbar {
    border-radius: 0;
    margin: 0;
}

#page-header .headerbar .inner {
    width: calc(85% + 50px);
    min-width: 85%;
    max-width: 100%;
    margin: 0 auto;
}

#page-header #ips-header-navigation {
    /*margin-bottom: 10px;*/
    background-color: #505C65;

    /*background: linear-gradient(to bottom, #7C8891 0%, #7C8790 4%, #76828B 30%, #5B666F 100%);*/
    background: linear-gradient(to bottom, #677179 10%, #4c555d 100%);
}

#page-header #ips-header-navigation .ips-headernavigation {
    width: calc(85% + 50px);
    min-width: 85%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
    background: none !important;
    text-align: left;
}


#page-header #ips-header-navigation .ips-headernavigation li:after {
    display: none;
}

#page-header #ips-header-navigation .ips-headernavigation li a {
    font-size: 16px;
    padding: 10px 15px;
    letter-spacing: 0.5px;
    font-family: Tahoma, sans-serif;
    font-family: "Trebuchet MS", Arial, Helvetica, sans-serif !important;
    /*font-family: 'Bundy Yellow Solid', sans-serif;*/
    color: #dbdbdb;
    text-decoration: none !important;
}

#page-header #ips-header-navigation .ips-headernavigation li a:hover {
    text-decoration: none;
    color: #0b520e;
    transition: color 0.2s ease;
}

html, body {
    background: #DCDEE2 !important;
}

#wrap.wrap, #page.site { /* #page is for wordpress */
    background: #ACA8A1 !important;
    box-shadow: none;
    border-radius: 0;
}

/*
 * Userbox
 */

#header-right-wrap {
    float: right;
    padding-right: 10px;
}

#header-right-wrap #header-userbox {
    text-align: right;
    margin: 10px 0 0 0;
    text-align: right;
}

#header-right-wrap #header-userbox p, #header-right-wrap #header-userbox a {
    font-size: 15px;
    line-height: 18px;
    margin: 0 0 10px 0;
}

#header-right-wrap #header-userbox p a {
    margin: 0;
}

#header-right-wrap #header-userbox a {
    font-weight: bold;
}

#header-right-wrap #header-userbox a:hover {
    text-decoration: none;
}

#header-right-wrap #header-userbox .header-button {
    width: 120px;
    height: 20px;
    display: inline-block;
    padding: 2px 5px;
    font-size: 14px;
    margin-bottom: 5px;
    line-height: 20px;
    text-align: center;
    background-color: #DCDEE2;
    border: 0;
    border-radius: 4px;
    margin: 0 0 0 5px;
    text-decoration: none !important;
}

#header-right-wrap #header-userbox .header-button#header-button-register {
    width: 140px;
}

#header-right-wrap #search-box-wrap {
    display: block;
}

#header-right-wrap #search-box-wrap #search-box {
    width: 208px;
    float: right;
    margin-bottom: 10px;
}

#header-right-wrap #search-box-wrap:after {
    content: '';
    display: block;
    position: relative;
    clear: both;
}

/* Navbar */

#page-header .navbar, #masthead.site-header { /* #masthead is for wordpress */
    background-color: #DCDEE2;
    padding: 3px 5px;
    border-radius: 0;
    max-width: calc(100% - 10px);
    margin: 0;
}

#page-header .navbar .inner, #masthead.site-header .storefront-primary-navigation { /* #masthead is for wordpress */
    width: calc(85% + 30px);
    min-width: 85%;
    max-width: 100%;
    margin: 0 auto;
}

#page-header #ips-header-navigation-mobile, #page-header #ips-header-navigation-mobile-close {
    display: none;
}

#header-right-wrap-close {
    display: none;
}

@media (max-width: 1170px) {
    #page-header #ips-header-navigation .ips-headernavigation {
        text-align: center;
    }
    #page-header #ips-header-navigation .ips-headernavigation li a {
        font-size: 22px;
    }
}

@media (max-width: 1060px) {
    #header-right-wrap #header-userbox .header-button {
        width: 100px;
        font-size: 11px;
    }
}

@media (min-width: 921px) {
    #page-header #ips-header-navigation, #header-right-wrap {
        display: block !important;
    }
}

@media (max-width: 920px) {
    body {
        padding-left: 0px;
        padding-right: 0px;
    }

    .site-description {
        width: 100%;
    }

    .logo {
        width: 100%;
        float: none;
        padding: 10px 0 0;
    }

    .site_logo {
        width: 100%;
        height: auto;
        display: block;
        padding-bottom: 27%;
    }

    #page-header #ips-header-navigation {
        display: none;
    }

    #page-header #ips-header-navigation.mobile-open {
        position: fixed;
        z-index: 9999;
        width: 100%;
        height: 100%;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        margin: auto;
    }

    #page-header #ips-header-navigation.mobile-open #ips-header-navigation-mobile-close,
    #header-right-wrap.mobile-open #header-right-wrap-close {
        display: block;
        position: absolute;
        width: 80px;
        height: 80px;
        top: 10px;
        right: 10px;
        z-index: 100;
    }

    #page-header #ips-header-navigation.mobile-open #ips-header-navigation-mobile-close .icon,
    #header-right-wrap.mobile-open #header-right-wrap-close .icon {
        font-size: 80px;
        color: #fff;
    }

    #page-header #ips-header-navigation.mobile-open .ips-headernavigation {
        max-height: 100%;
        overflow-y: scroll;
    }

    #page-header #ips-header-navigation.mobile-open .ips-headernavigation li {
        display: block;
        padding: 15px 0;
    }

    #page-header #ips-header-navigation.mobile-open .ips-headernavigation li:first-child {
        padding-top: 30px;
    }

    #page-header #ips-header-navigation.mobile-open .ips-headernavigation li:last-child {
        padding-bottom: 30px;
    }

    #page-header #ips-header-navigation.mobile-open .ips-headernavigation li a {
        display: block;
        font-size: 40px;
        padding: 0;
    }

    #page-header #ips-header-navigation-mobile {
        display: block;
        background-color: #727d86;
        background: linear-gradient(to bottom, #677179 10%, #4c555d 100%);
        padding: 10px 0;
    }

    #page-header ul#ips-header-navigation-mobile-inner {
        width: calc(85% + 30px);
        min-width: calc(85% + 30px);
        max-width: 100%;
        height: 36px;
        margin: 0 auto;
        list-style-type: none;
    }

    #page-header ul#ips-header-navigation-mobile-inner li .icon,
    #page-header ul#ips-header-navigation-mobile-inner li span {
        color: #fff;
    }

    #page-header ul#ips-header-navigation-mobile-inner li#ips-header-navigation-mobile-menu {
        float: left;
    }

    #page-header ul#ips-header-navigation-mobile-inner li#ips-header-navigation-mobile-forum {
        float: left;
        margin-left: 15px;
    }

    #page-header ul#ips-header-navigation-mobile-inner li#ips-header-navigation-mobile-forum a i {
        position: relative;
        top: -2px;
    }

    #page-header ul#ips-header-navigation-mobile-inner li#ips-header-navigation-mobile-menu span {
        position: relative;
        font-size: 20px;
        top: -5px;
        padding-left: 6px;
    }

    #page-header ul#ips-header-navigation-mobile-inner li#ips-header-navigation-mobile-search {
        float: right;
        margin-left: 30px;
    }

    #page-header ul#ips-header-navigation-mobile-inner li#ips-header-navigation-mobile-search .icon {
        position: relative;
        top: -2px;
    }

    #page-header ul#ips-header-navigation-mobile-inner li#ips-header-navigation-mobile-account {
        float: right;
    }

    #page-header #ips-header-navigation-mobile .icon {
        font-size: 36px;
    }

    #header-right-wrap {
        display: none;
    }

    #header-right-wrap.mobile-open {
        float: none;
        z-index: 99;
        padding: 0;
        position: fixed;
        width: 100%;
        height: 100%;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        margin: auto;
        background: linear-gradient(to bottom, #677179 10%, #4c555d 100%);
    }

    #header-right-wrap.mobile-open #header-right-wrap-close {

    }

    #header-right-wrap.mobile-open #search-box-wrap .search-header {
        display: block !important;
    }

    #header-right-wrap.mobile-open #search-box-wrap {
        margin-top: 100px;
    }

    #header-right-wrap.mobile-open #search-box-wrap #search-box {
        width: calc(100% - 50px);
        margin: 20px 25px;
    }

    #header-right-wrap.mobile-open .inputbox {
        width: calc(100% - 130px);
        height: 65px;
        font-size: 30px;
    }

    #header-right-wrap.mobile-open .button {
        width: 65px;
        height: 65px;
        line-height: 76px;
        padding: 0;
        box-sizing: border-box;
    }

    #header-right-wrap.mobile-open #header-userbox {
        margin-top: 60px;
        text-align: center;
    }

    #header-right-wrap.mobile-open #header-userbox p,
    #header-right-wrap.mobile-open #header-userbox a,
    #header-right-wrap.mobile-open #header-userbox .icon,
    #header-right-wrap.mobile-open .button .icon {
        font-size: 30px;
        line-height: 36px;
    }

    #header-right-wrap.mobile-open #header-userbox .header-button {
        width: 300px;
        height: 50px;
        line-height: 50px;
        margin-top: 20px;
    }
}

@media (max-width: 700px) {
    .logo {
        display: block !important;
    }
}