/*
 * Made by Erik Terwan
 * 24th of November 2015
 * MIT License
 *
 *
 * If you are thinking of using this in
 * production code, beware of the browser
 * prefixes.
 */

body,
html,
.body {
    /* needed to stop the menu from creating horizontal scrollbar if positioned off stage to the right */
    overflow-x: hidden;
    position: relative;
}

#menuToggle {
    position: absolute;
    top: 30px;
    right: 30px;
    margin-right: -10px;
    z-index: 1;

    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}


#menuToggle input {
    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;
}

/*
 * Just a quick hamburger
 */

#menuToggle span {
    display: block;
    width: 33px;
    height: 4px;
    margin-bottom: 5px;
    position: relative;

    background: #000;
    border-radius: 3px;

    z-index: 1;

    -webkit-transform-origin: 4px 0px;

    -ms-transform-origin: 4px 0px;

    transform-origin: 4px 0px;

    -webkit-transition: background 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0),
    opacity 0.55s ease,
    -webkit-transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0);

    transition: background 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0),
    opacity 0.55s ease,
    -webkit-transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0);

    -o-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;

    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;

    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,
    -webkit-transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0);
}

#menuToggle span:first-child {
    -webkit-transform-origin: 0% 0%;
    -ms-transform-origin: 0% 0%;
    transform-origin: 0% 0%;
}

#menuToggle span:nth-last-child(2) {
    -webkit-transform-origin: 0% 100%;
    -ms-transform-origin: 0% 100%;
    transform-origin: 0% 100%;
}

/* 
 * Transform all the slices of hamburger
 * into a crossmark.
 */

#menuToggle input:checked ~ span {
    opacity: 1;
    -webkit-transform: rotate(45deg) translate(-2px, -1px);
    -ms-transform: rotate(45deg) translate(-2px, -1px);
    transform: rotate(45deg) translate(-2px, -1px);
    background: #cdcdcd;
}

/*
 * But let's hide the middle one.
 */

#menuToggle input:checked ~ span:nth-last-child(3) {
    opacity: 0;
    -webkit-transform: rotate(0deg) scale(0.2, 0.2);
    -ms-transform: rotate(0deg) scale(0.2, 0.2);
    transform: rotate(0deg) scale(0.2, 0.2);
}

/*
 * Ohyeah and the last one should go the other direction
 */

#menuToggle input:checked ~ span:nth-last-child(2) {
    -webkit-transform: rotate(-45deg) translate(0, -1px);
    -ms-transform: rotate(-45deg) translate(0, -1px);
    transform: rotate(-45deg) translate(0, -1px);
}

/*
 * Make this absolute positioned
 * at the top right of the screen
 */

#mobilemenu {
    position: absolute;
    width: 275px;
    margin: -100px 0 0 -200px;
    padding: 30px;
    padding-top: 100px;
    background: #a7a6d4;
    list-style-type: none;
    -webkit-font-smoothing: antialiased;
    /* to stop flickering of text in safari */
    -webkit-transform-origin: 0% 0%;

    -ms-transform-origin: 0% 0%;

    transform-origin: 0% 0%;
    -webkit-transform: translate(100%, 0);
    -ms-transform: translate(100%, 0);
    transform: translate(100%, 0);

    -webkit-transition: -webkit-transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0);

    transition: -webkit-transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0);

    -o-transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0);

    transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0);

    transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0), -webkit-transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0);
}

#mobilemenu li {
    padding: 5px;
    font-size: 16px;
    list-style-type: none;
}

#mobilemenu a:link,
#mobilemenu a:visited {
    text-decoration: none;
    color: #fff;
}

#mobilemenu a:hover {
    color: #fff;
}

/*
 * And let's slide it in from the left
 */

#menuToggle input:checked ~ ul {
    -webkit-transform: none;
    -ms-transform: none;
    transform: none;
}

.mobilenavsublink {
    margin: 5px 0px;
    padding-left: 10px;
}

.mobilenavsublink a {
    padding: 3px 0px;
}

.mobilenavsublink a:link,
.mobilenavsublink a:visited {
    color: #fff !important;
}

/* Additional Pixel styles */

.headerphone {
    text-align: right !important;
    margin-top: 28px;
    margin-right: 10px;
}

#fixedtop {
    width: 100% !important;
    max-width: 100% !important;
    position: fixed !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    padding: 0px !important;
    height: auto !important;
    background-color: transparent;
}

.desktopmenu {
    padding: 0px 20px 0px;
    height: 106px !important;
    background-color: #fff;
    max-width: 1220px;
    margin: 0 auto;
}

.spacer-top-nav {
    background-color: transparent;
}

#mobilenavigation {
    position: relative;
    z-index: 8000;
    display: none;
    background-color: #FFF;
    max-width: 1200px !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
}

.pure-menu-list {
    max-width: auto !important;
}

.pure-menu-horizontal .pure-menu-list {
    position: absolute;
    left: 50%;
    bottom: 0;
}

.pure-menu-horizontal {
    max-width: none !important;
}

/* Responsive stuff 1190px */

@media (max-width: 900px) {
    #fixedtop {
        display: none;
    }
    #mobilenavigation {
        display: block;
    }
    .smile-div {
        position: relative;
    }
    .mobilebasket {
        position: absolute;
        top: 15px;
        left: 5px;
        margin-left: 20px;
    }
    .mobilebasket a:link,
    .mobilebasket a:visited {
        color: #000;
    }
    .LBox {
        background-color: #BD6439;
        min-height: 50px;
        padding-top: 2em;
        padding-bottom: .5em;
    }
    .RBox {
        background-color: #AEE9E8;
        min-height: 50px;
        padding-top: .5em;
        padding-bottom: .5em;
    }
    .product-alt-img {
        height: auto;
        width: 120px;
        padding-left: 10px;
    }
    .spacer-top-nav {
        height: 0px;
        background-color: white;
    }
    .pad-top {
        padding-top: 0px;
        padding-bottom: 0px;
    }
}

@media screen and (max-width: 39.9375em) {
    .dropdown {
        z-index: 8000 !important;
    }

    .dropdown {
        display: none !important;
    }
}
