/* -----------------------------------
 * Slidebars
 * Version 0..10
 * 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%;
    /* 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. */
}

html.sb-scroll-lock.sb-active:not(.sb-static) {
    overflow: hidden;
    /* Prevent site from scrolling when a Slidebar is open, except when static Slidebars are only available. */
}
/* ----------
 * 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%;
    position: relative;
    z-index: 1;
    /* Site sits above Slidebars */
    
    
    /* 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. */
}
/* ---------------
 * 003 - Slidebars
 */

.sb-slidebar {
    height: 100%;
    overflow-y: auto;
    /* Enable vertical scrolling on Slidebars when needed. */
    overflow-x: hidden;
    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: #000;
    /* Default Slidebars background colour, overwrite this with your own css. */
    
    -webkit-transform: translate(0px);
    /* Fixes issues with translated and z-indexed elements on iOS 7. */
     -webkit-box-shadow: inset 2px -1px 4px rgba(0,0,0,0.3);
    -moz-box-shadow: inset 2px -1px 4px rgba(0,0,0,0.3);
    box-shadow: inset 2px -1px 4px rgba(0,0,0,0.3);
}

.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: 70%;
    }
    .sb-width-thin {
        width: 55%;
    }
    .sb-width-wide {
        width: 85%;
    }
}

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

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

@media (min-width: 1024px) {
    .sb-toggle-right{display: block;}
}

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

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

.sb-slide,
#sb-site,
.sb-site-container,
.sb-slidebar {
    -webkit-transition: -webkit-transform 400ms ease;
    -moz-transition: -moz-transform 400ms ease;
    -o-transition: -o-transform 400ms ease;
    transition: transform 400ms ease;
    -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. */
}
/* --------------------
 * 005 - Helper Classes
 */

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

.icon-navicon {
    width: 30px;
    height: 3px;
    background-color: #fff;
    display: inline-block;
    position: relative;
    -webkit-transition: background-color 0.1s;
    -moz-transition: background-color 0.1s;
    transition: background-color 0.1s;
    top: -4px;
}

.icon-navicon:before {
    content: '';
    width: 30px;
    height: 3px;
    background-color: #fff;
    display: inline-block;
    position: absolute;
    top: -8px;
    left: 0;
}

.icon-navicon:after {
    content: '';
    width: 30px;
    height: 3px;
    background-color: #fff;
    display: inline-block;
    position: absolute;
    top: 8px;
    left: 0;
}

.icon-navicon:after,
.icon-navicon:before {
    -webkit-transition: transform 0.2s;
    -moz-transition: transform 0.2s;
    transition: transform 0.2s;
}

.sb-active .icon-navicon {
    background-color: transparent;
}

.sb-active .icon-navicon:before {
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    transform: rotate(-45deg);
    top: 0;
}

.sb-active .icon-navicon:after {
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
    top: 0;
}

.sb-toggle-right {
    float: right;
    margin-top: 15px;
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 16px;
    padding: 8px;
    display: none;
    cursor: pointer;
}
.sb-toggle-right:hover{
    
}
.sb-toggle-right em {
    font-style: normal;
    display: inline-block;
    margin-right: 10px;
}
.nav-collapse ul{
    list-style: none;
    padding: 0;
}
.nav-collapse li{
    display: block;
    width: 100%;
    border-bottom: 1px solid  #222;
}
.nav-collapse a{
    display: block;
    width: 100%;
    padding: 10px 20px;
    height: 100%;
    text-decoration: none;
    text-transform: uppercase;
    color: #fff !important;
    font-size: 13px;
    -webkit-transition: background .2s ease-in-out;
    -moz-transition: background .2s ease-in-out;
    transition: background .2s ease-in-out;
}
.nav-collapse a:hover{
    background: #e31e24;
    color: #fff !important;
}
.nav-collapse ul ul{
    padding: 0px;
    background: #222;
}
.nav-collapse ul li li{
    border-bottom: 0px;
}
.nav-collapse ul li ul li a{
    text-transform: none;
    padding-left: 35px;
}
.nav-collapse ul li ul li a:hover{
    background: #e31e24;
}
.nav-collapse ul ul ul{
    margin-left: 0px;
}
.nav-collapse ul li ul li ul li a{
    padding-left: 55px;
}

@media (max-width: 980px) {
    .sb-toggle-right{display: inline-block;}
}

@media (max-width: 800px) {
    .sb-toggle-right{margin-top: 10px;}
}

@media (max-width: 640px) {
   .sb-toggle-right{margin-top: 2px;}
}
@media only screen and (max-width: 360px) {
  .sb-toggle-right{margin-top: 0px;}
}
