/* Table of Contents
==================================================
    #Site Styles
    #Page Styles
    #Media Queries
    #Font-Face */

/* #Site Styles
================================================== */

/* @group Top-Navigation */

.top-nav-outer {
    background: #005188;
    margin: 0 10px;
    padding: 2px 20px 3px;
}

.zooming {
    color: #D1D1D1;
    float: left;
}

.zooming p {
    padding: 0.25em 0 0;
    margin: 0;
    font-size: 13px;
    font-weight: bold;
    color: #CEE2F0;
}

.zooming p span:hover {
    color: #fff;
    cursor: pointer;
}

.decreaseFont {
    font-size: 0.8em;
}

.resetFont {
    font-size: 1em;
}

.increaseFont {
    font-size: 1.2em;
}

#menu-top-navigation {
    margin: 0;
    padding: 0;
    width: 700px;
    max-width: fit-content;
}

#menu-top-navigation li {
    float: left;
    width: auto;
    border: 0;
    margin-left: 0;
    padding: 0;
}

#menu-top-navigation li a:link,
#menu-top-navigation li a:visited {
    background: 0;
    padding: 0.5em 0;
    margin: 0 2em 0 0;
    border: 0;
    color: #cee2f0;
    text-decoration: none;
    font-weight: bold;
    letter-spacing: 0.03em;
    font-size: 13px;
}

#menu-top-navigation li a:hover {
    color: #fff;
}

/* @group Top-Search */

.widget_search {
    float: right;
    width: 180px;
    margin: 0.25em 0 0;
    height: 26px;
}

.widget_search form {
    background: none;
}

.widget_search form input#s {
    background: #B2CADB;
    border: none;
    color: #005188;
    width: 150px;
    padding: 4px;
    margin: 0;
    font-size: 12px;
    height: 22px;
    letter-spacing: 1px;
}

.widget_search form button#searchsubmit {
    float: right;
    margin-top: 3px;
    margin-right: 2px;
    width: 17px;
    height: 17px;
    text-indent: -9999px;
    border: 0;
    border-radius: 0;
    background: url(images/nt/icon_lupe_kopf.png) top left no-repeat;
    display: block;
    padding: 0;
}

.widget_search #search-toggler {
    width: 24px;
    height: 20px;
    background: url(images/nt/icon_lupe_kopf.png) center right no-repeat;
    display: block;
    float: right;
    text-indent: -1000em;
    border-left: 2px solid #B2CADB;
    cursor: pointer;
}

/* @group Navigation */

#navigation {
    margin-bottom: 20px;
    clear: both;
}

#navigation ul,
#navigation ul li {
    float: left;
    margin: 0;
    padding: 0;
}

#navigation ul#menu-hauptnavigation {
    margin-left: 5px
}

/* @end */

#footer {
    clear: both;
    padding: 20px 0 0 0;
}

#credits {
    text-align: center;
}

/* @group Sidebar */

#sidebar {
    padding-top: 0;
    width: 280px;
    margin-left: 10px;
    margin-right: 10px;
    float: right;
    padding-right: 0;
}

.blog #sidebar {
    margin-top: 0;
}

#sidebar-left {
    padding-top: 0;
    margin-left: 10px;
    margin-right: 30px;
    float: left;
    width: 220px;
}

#sidebar-right {
    width: 210px;
    margin-right: 0;
}

#sidebar-right #sidebar {
    width: 100%;

}

/* #Page Styles
================================================== */

/* Layout Shortcodes */
.full-width {
    width: 100%;
    height: auto;
    overflow: hidden
}

.one_half {
    width: 48%;
}

.one_third {
    width: 30.66%;
}

.two_thirds {
    width: 65.33%;
}

.one_fourth {
    width: 22%;
}

.three_fourths {
    width: 74%;
}

.one_fifth {
    width: 16.8%;
}

.two_fifth {
    width: 37.6%;
}

.three_fifth {
    width: 58.4%;
}

.four_fifth {
    width: 67.2%;
}

.one_sixth {
    width: 13.33%;
}

.five_sixth {
    width: 82.67%;
}

.one_half,
.one_third,
.two_thirds,
.three_fourths,
.one_fourth,
.one_fifth,
.two_fifth,
.three_fifth,
.four_fifth,
.one_sixth,
.five_sixth {
    position: relative;
    margin-right: 4%;
    margin-bottom: 20px;
    float: left;
}

.last {
    margin-right: 0 !important;
}

/* Data Consent Box */
@media all {
    dialog.data-consent.fixed {
        min-height: auto !important;
        margin-top: 0 !important;
    }
}

/* #Media Queries
================================================== */


/* iPad Portrait/Browser */

@media only screen and (max-width: 991px) {
    .sub-menu {
        display: none;
        width: 1px;
    }
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
    #navigation ul {
        border-radius: 0;
    }

    #navigation ul li a {
        font-size: .9em;
        padding: 10px 15px;
    }

    #navigation ul {
        min-width: 700px;
    }

    #sidebar .widget-container {
        margin-left: 0;
    }

    .resize {
        display: none;
    }

    #respond textarea {
        width: auto;
    }

    .widget_search {
        float: left;
    }

    /* jigoshop styles */
    #header .site-desc.text {
        font-size: 1.25em;
    }

}

/* Mobile/Browser */
@media only screen and (max-width: 767px) {

    #wrap {
    }

    #header .site-desc.text {
        font-size: 1.25em;
    }

    #navigation {
        margin: 20px 0;
    }

    #navigation ul,
    #navigation ul li,
    #navigation ul li a {
        float: none;
        background: transparent;
        border: none;
        box-shadow: none;
        -moz-box-shadow: none;
        -webkit-box-shadow: none;
    }

    #navigation ul li a,
    #navigation ul li.active a,
    #navigation ul li a:hover,
    #navigation ul li:hover a {
        border: none;
        padding: 2px 0;
        line-height: 150%;
        background: transparent none;
    }

    /* Initial reset and hide sublevels in mobile view */
    #navigation ul.sub-menu,
    #navigation ul.sub-menu li,
    #navigation ul.sub-menu li:hover,
    #navigation ul.sub-menu li a,
    #navigation ul.sub-menu li a:hover {
        display: none;
        position: relative;
        left: 0;
        line-height: 100%;
        background: none;
        border: none;
        box-shadow: none;
        padding: 0;
        margin: 0;
        height: auto;
    }

    /* Declare new padding for submenu items */
    #navigation ul.sub-menu li a,
    #navigation ul.sub-menu li a:hover {
        padding: 4px 0 4px 10px;
    }

    /* Show on hover */
    #navigation li:hover ul.sub-menu,
    #navigation li:hover ul.sub-menu li,
    #navigation li:hover ul.sub-menu li a {
        display: inline-block;
    }

    #respond textarea {
        width: 300px;
    }

    #wrap .products li, .products li.first, .products li.last {
        float: left;
        clear: both;
        margin: 20px 0 20px 0;
        width: 100%;
    }

    #breadcrumb {
        display: none;
    }

    #sidebar .widget-container {
        margin-left: 0;
    }

    .full-width,
    .one_half,
    .one_third,
    .two_thirds,
    .three_fourths,
    .one_fourth,
    .one_fifth,
    .two_fifth,
    .three_fifth,
    .four_fifth,
    .one_sixth,
    .five_sixth {
        width: 100%;
    }

    .resize {
        display: none;
    }

    .zooming {
        display: none;
    }

    .widget_search {
        float: left;
    }

    #content {
        width: 400px;
    }

    #teaser-left {
        width: 100%;
    }

    .post-image {
        display: none;
    }

    .post,
    .post-float-right,
    #respond {
        float: left;
        width: 400px;
    }

    #teaser {
        margin-bottom: 20px;
    }

    #teaser p {
        width: 400px;
    }

    #teaser #teaser-right {
        margin-top: 5px;
        float: left;
    }

    .top-nav-outer {
        font-size: 80%;
    }

    #navigation .menu-item-home a:link, #navigation .menu-item-home a:visited {
        background: none;
        height: 100%;
        text-indent: 0;
        width: 100%;
    }
}

/* Mobile Landscape/Browser */
@media only screen and (min-width: 480px) and (max-width: 767px) {
    #menu-top-navigation {
        width: auto;
    }
}

/* Anything smaller than standard 960 */
@media only screen and (max-width: 959px) {
    #wrap #sidebar {
        float: left;
        margin-top: 20px;
    }

}

@media only screen and (max-width: 480px) {
    #content {
        width: 300px;
    }

    .post,
    .post-float-right,
    #respond {
        float: left;
        width: 250px;
    }

    #respond textarea {
        width: 250px;
    }

    #teaser p {
        width: 250px;
    }

    .top-nav-outer {
        font-size: 66%;
    }

    #menu-top-navigation li a:link, #menu-top-navigation li a:visited {
        margin-right: 1em;
    }

    .widget_search {
        float: left;
    }

    #sidebar-left {
        display: none;
    }
}

/* iPad Portrait Only */
@media only screen and (min-width: 768px) and (max-width: 991px) and (max-device-width: 1000px) {
}

/* Mobile Only */
@media only screen and (max-width: 767px) and (max-device-width: 1000px) {

}

/* Mobile Landscape Only */
@media only screen and (min-width: 480px) and (max-width: 767px) and (max-device-width: 1000px) {
}

/* Menu
================================================== */
nav.primary-menu ul {
    /* Make the markers disappear */
    list-style-type: none;
}

nav.primary-menu ul li {
    /* Puts the elements in a single line */
    /*display: inline-flex;*/
    margin: 0.3em 1em;
}

/* These two lines make the checkbox and the label disappear when we are in desktop mode. */
nav.primary-menu input[type="checkbox"] {
    display: none;
}

@media (max-width: 767px) {
    .top-nav-outer {
        margin: 0;
    }

    input[type="checkbox"]:not(:checked) ~ ul {
        display: none;
    }

    nav.primary-menu {
        /*position: relative;*/
        /*display: flex;*/
        /*justify-content: space-between;*/

        display: block;
        position: relative;
        /*top: 50px;*/
        /*left: 50px;*/
        z-index: 1;
        -webkit-user-select: none;
        user-select: none;
    }

    nav.primary-menu input[type="checkbox"] {
        display: block;
        width: 40px;
        height: 32px;
        position: absolute;
        top: -7px;
        left: -5px;
        cursor: pointer;
        opacity: 0; /* hide this */
        z-index: 2; /* and place it over the hamburger */
        -webkit-touch-callout: none;
    }

    nav.primary-menu span {
        display: block;
        width: 33px;
        height: 4px;
        margin-bottom: 5px;
        position: relative;
        background: #cdcdcd;
        border-radius: 3px;
        z-index: 1;
        transform-origin: 4px 0;
        transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0),
        background 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0),
        opacity 0.55s ease;
    }

    nav.primary-menu span:first-child {
        transform-origin: 0 0;
    }

    nav.primary-menu span:nth-last-child(2) {
        transform-origin: 0 100%;
    }

    /*
     * Transform all the slices of hamburger
     * into a crossmark.
     */
    nav.primary-menu input:checked ~ span {
        opacity: 1;
        transform: rotate(45deg) translate(-2px, -1px);
        background: #232323;
    }

    /*
     * But let's hide the middle one.
     */
    nav.primary-menu input:checked ~ span:nth-last-child(3) {
        opacity: 0;
        transform: rotate(0deg) scale(0.2, 0.2);
    }

    /*
     * Ohyeah and the last one should go the other direction
     */
    nav.primary-menu input:checked ~ span:nth-last-child(2) {
        transform: rotate(-45deg) translate(0, -1px);
    }

    nav.primary-menu {
        flex-direction: row;
        flex-wrap: wrap;
        margin-left: 0;
        margin-right: 0;
    }

    /* Stlying the menu icon, the checkbox stays hidden */
    nav.primary-menu label {
        text-align: right;
        display: block;
        padding: 0.5em;
        line-height: 1.6em;
        align-self: center;
    }

    /* Because we are in mobile mode, we want to display it as a vertical list */
    nav.primary-menu ul {
        display: block;
    }

    /* We have two lists: the first one are the always visibile items in the
      menu bar. The second one is the one that will be hidden */
    nav.primary-menu ul:last-child {
        width: 100%;
        flex-basis: 100%;
    }

    nav.primary-menu ul li {
        width: 100%;
        /*padding: 0.5em;*/
        border-right: none !important;
        border-left: 1px solid #e3e3e3 !important;
    }

    nav.primary-menu ul li a {
        background: none !important;
        border: none !important;
        width: auto !important;
        height: auto !important;
        padding: 10px 15px !important;
        margin: 0 !important;
        text-indent: unset !important;

    }
}
