/* -----------------------------------
 * Slidebars
 * Version 0.10.3
 * http://plugins.adchsm.me/slidebars/
 *
 * Written by Adam Smith
 * http://www.adchsm.me/
 *
 * Released under MIT License
 * http://plugins.adchsm.me/slidebars/license.txt
 *
 * -------------------
 * Slidebars CSS Index
 *
 * 001 - Box Model, Html & Body
 * 002 - Site
 * 003 - Slidebars
 * 004 - Animation
 * 005 - Helper Classes
 *
 * ----------------------------
 * 001 - Box Model, Html & Body
 */

html, body, #sb-site, .sb-site-container, .sb-slidebar {
    /* Set box model to prevent any user added margins or paddings from altering the widths or heights. */
    margin: 0;
    padding: 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    overflow-x: hidden;
    /* Stops horizontal scrolling. */
}

html {
    height: 100%;
    /* Site is as tall as device. */
}

body {
    min-height: 100%;
    height: auto;
    position: relative;
    /* Required for static Slidebars to function properly. */
}


/* Site scroll locking - prevent site from scrolling when a Slidebar is open, except when static Slidebars are only available. */

html.sb-scroll-lock.sb-active:not(.sb-static) {
    overflow: hidden;
}


/* ----------
 * 002 - Site
 */

#sb-site, .sb-site-container {
    /* You may now use class .sb-site-container instead of #sb-site and use your own id. However please make sure you don't set any of the following styles any differently on your id. */
    width: 100%;
    min-height: 100vh;
    position: relative;
    /*z-index: 1;*/
    /* Site sits above Slidebars */
    /*background-color: #231F20;*/
    /* Default background colour, overwrite this with your own css. I suggest moving your html or body background styling here. Making this transparent will allow the Slidebars beneath to be visible. */
    max-width: 1500px;
    margin: 0 auto;
}


/* Micro clearfix by Nicolas Gallagher, ensures the site container hits the top and bottom of the screen. */

#sb-site:before, #sb-site:after, .sb-site-container:before, .sb-site-container:after {
    content: ' ';
    display: table;
}

#sb-site:before, #sb-site:after, .sb-site-container:before, .sb-site-container:after {
    clear: both;
}


/* ---------------
 * 003 - Slidebars
 */

.sb-slidebar {
    height: 100%;
    overflow-y: auto;
    /* Enable vertical scrolling on Slidebars when needed. */
    position: fixed;
    top: 0;
    z-index: 0;
    /* Slidebars sit behind sb-site. */
    display: none;
    /* Initially hide the Slidebars. Changed from visibility to display to allow -webkit-overflow-scrolling. */
    background-color: #222222;
    /* Default Slidebars background colour, overwrite this with your own css. */
}

.sb-slidebar, .sb-slidebar * {
    -webkit-transform: translateZ( 0px);
    /* Fixes issues with translated and z-indexed elements on iOS 7. */
}

.sb-left {
    left: 0;
    /* Set Slidebar to the left. */
}

.sb-right {
    right: 0;
    /* Set Slidebar to the right. */
}

html.sb-static .sb-slidebar, .sb-slidebar.sb-static {
    position: absolute;
    /* Makes Slidebars scroll naturally with the site, and unfixes them for Android Browser < 3 and iOS < 5. */
}

.sb-slidebar.sb-active {
    display: block;
    /* Makes Slidebars visibile when open. Changed from visibility to display to allow -webkit-overflow-scrolling. */
}

.sb-style-overlay {
    z-index: 9999;
    /* Set z-index high to ensure it overlays any other site elements. */
}

.sb-momentum-scrolling {
    -webkit-overflow-scrolling: touch;
    /* Adds native momentum scrolling for iOS & Android devices. */
}


/* Slidebar widths for browsers/devices that don't support media queries. */

.sb-slidebar {
    width: 30%;
}

.sb-width-thin {
    width: 15%;
}

.sb-width-wide {
    width: 45%;
}

@media (max-width: 480px) {
    /* Slidebar widths on extra small screens. */
    .sb-slidebar {
        width: 60%;
    }
    .sb-width-thin {
        width: 45%;
    }
    .sb-width-wide {
        width: 75%;
    }
}

@media (min-width: 481px) {
    /* Slidebar widths on small screens. */
    .sb-slidebar {
        width: 35%;
    }
    .sb-width-thin {
        width: 40%;
    }
    .sb-width-wide {
        width: 50%;
    }
}

@media (min-width: 768px) {
    /* Slidebar widths on medium screens. */
    .sb-slidebar {
        width: 30%;
    }
    .sb-width-thin {
        width: 15%;
    }
    .sb-width-wide {
        width: 35%;
    }
}

@media (min-width: 992px) {
    /* Slidebar widths on large screens. */
    .sb-slidebar {
        width: 20%;
    }
    .sb-width-thin {
        width: 15%;
    }
    .sb-width-wide {
        width: 35%;
    }
}

@media (min-width: 1200px) {
    /* Slidebar widths on extra large screens. */
    .sb-slidebar {
        width: 15%;
    }
    .sb-width-thin {
        width: 5%;
    }
    .sb-width-wide {
        width: 25%;
    }
}


/* ---------------
 * 004 - Animation
 */

@media (min-width: 992px) {
    .sb-slide, #sb-site, .sb-site-container, .sb-slidebar {
        -webkit-transition: -webkit-transform 500ms ease-in-out;
        -moz-transition: -moz-transform 500ms ease-in-out;
        -o-transition: -o-transform 500ms ease-in-out;
        transition: transform 500ms ease-in-out;
        -webkit-transition-property: -webkit-transform, left, right;
        /* Add left/right for Android < 4.4. */
        -webkit-backface-visibility: hidden;
        /* Prevents flickering. This is non essential, and you may remove it if your having problems with fixed background images in Chrome. */
    }
}

@media (max-width: 992px) {
    .sb-slide, #sb-site, .sb-site-container, .sb-slidebar {
        -webkit-transform: translate( 0px);
        -moz-transform: translate( 0px);
        -o-transform: translate( 0px);
        transform: translate( 0px);
        -webkit-transition: -webkit-transform 500ms ease-in-out;
        -moz-transition: -moz-transform 500ms ease-in-out;
        -o-transition: -o-transform 500ms ease-in-out;
        transition: transform 500ms ease-in-out;
        -webkit-transition-property: -webkit-transform, left, right;
        /* Add left/right for Android < 4.4. */
        -webkit-backface-visibility: hidden;
        /* Prevents flickering. This is non essential, and you may remove it if your having problems with fixed background images in Chrome. */
        background: none;
    }
}


/* --------------------
 * 005 - Helper Classes
 */

.sb-hide {
    display: none;
    /* Optionally applied to control classes when Slidebars is disabled over a certain width. */
}

.sb-open-left i {
    position: fixed;
    right: 0px !important;
    padding: 20px;
    margin: 0px;
    margin-top: 40px;
    z-index: 999;
    cursor: pointer;
    top: 0;
}

.sb-slidebar {
    background: url("../img/pattern.png") repeat scroll left top;
}

.sb-slidebar ul {
    padding-top: 10px;
}

.sb-slidebar li {
    padding: 12px 20px;
    font-weight: 400;
    font-size: 14px;
    text-transform: uppercase;
}

.sb-slidebar ul li a {
    color: #FFFFFF;
    font-size: 16px;
}

.sb-slidebar ul li.active a, .sb-slidebar ul li.active .submenu li.active a {
    color: #3B99FC;
}

.sb-slidebar ul li.active .submenu li a {
    color: #FFFFFF;
}

.sb-slidebar ul li a:hover {
    color: gray;
}

.sb-slidebar ul li span {
    font-weight: 300;
    font-size: 11px;
    line-height: 12px;
    color: #888;
    display: block;
    text-transform: none;
}

.sb-slidebar ul.submenu {
  border-left: 2px dotted #444;
  padding-top: 0;
  margin-top: 5px;
  padding-bottom: 5px;
}

.sb-slidebar ul.submenu li {
  padding: 10px 0 0 10px;
}

.sb-slidebar .cart {
    width: 60px;
}

.sb-slidebar .cart span {
    width: 22px;
    padding-top: 3px;
}

.sb-slidebar ul.submenutwo {
    display: none;
}

.sb-slidebar .main-logo {
    display: block !important;
    margin-left: 0;
    width: auto;
    position: relative;
    z-index: 99;
    opacity: 1 !important;
}
