/* -----------------------------------
 * 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: transparent; /* 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. */
}

/* 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{
	/*background-color: #20282b; Default Slidebars background colour, overwrite this with your own css. */
	background: rgba(32,40,43,1);
  background: -moz-linear-gradient(left, rgba(32,40,43,1) 0%, rgba(32,40,43,1) 91%, rgba(27,34,36,1) 100%);
  background: -webkit-gradient(left top, right top, color-stop(0%, rgba(32,40,43,1)), color-stop(91%, rgba(32,40,43,1)), color-stop(100%, rgba(27,34,36,1)));
  background: -webkit-linear-gradient(left, rgba(32,40,43,1) 0%, rgba(32,40,43,1) 91%, rgba(27,34,36,1) 100%);
  background: -o-linear-gradient(left, rgba(32,40,43,1) 0%, rgba(32,40,43,1) 91%, rgba(27,34,36,1) 100%);
  background: -ms-linear-gradient(left, rgba(32,40,43,1) 0%, rgba(32,40,43,1) 91%, rgba(27,34,36,1) 100%);
  background: linear-gradient(to right, rgba(32,40,43,1) 0%, rgba(32,40,43,1) 91%, rgba(27,34,36,1) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#20282b', endColorstr='#1b2224', GradientType=1 );
	
	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. */
	
}

.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: 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: 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-transform: translate( 0px );
	   -moz-transform: translate( 0px );
	     -o-transform: translate( 0px );
	        transform: translate( 0px );
	
	-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. */
}

.sb-slidebar > ul.sb-menu{
  margin-top: 40px;
  width: 100%;
}
  .sb-slidebar > ul.sb-menu > li{
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin: 0;
    padding: 0;
    width: 100%;
  }
  .sb-slidebar > ul.sb-menu > li:last-child{border-bottom: none;}
    .sb-slidebar > ul.sb-menu > li > a{
      border-left: 3px solid transparent;
      color: #f2f2f2;
      display: inline-block;
      font-family: "Open Sans Condensed",sans-serif;
      font-size: 0.9em;
      font-weight: 700;
      padding: 1em;
      text-transform: uppercase;
      width: 100%;
    }
      .sb-slidebar > ul.sb-menu > li:hover > a,
      .sb-slidebar > ul.sb-menu > li.open > a{
        background-color: #38454a;
        border-left: 3px solid #1abc9c;
        color: #1abc9c;
        text-shadow: 1px 1px 0px rgba(0, 0, 0, 0.2);
      }
      .sb-slidebar > ul.sb-menu > li.active a{
        border-left: 3px solid #e7244c;
        color: #e7244c;
      }
      
      /* Child List*/
      .sb-slidebar > ul.sb-menu > li ul{
        background: rgba(27,34,36,1);
        background: -moz-linear-gradient(top, rgba(27,34,36,1) 0%, rgba(32,40,43,0.93) 12%, rgba(32,40,43,0.4) 100%);
        background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(27,34,36,1)), color-stop(12%, rgba(32,40,43,0.93)), color-stop(100%, rgba(32,40,43,0.4)));
        background: -webkit-linear-gradient(top, rgba(27,34,36,1) 0%, rgba(32,40,43,0.93) 12%, rgba(32,40,43,0.4) 100%);
        background: -o-linear-gradient(top, rgba(27,34,36,1) 0%, rgba(32,40,43,0.93) 12%, rgba(32,40,43,0.4) 100%);
        background: -ms-linear-gradient(top, rgba(27,34,36,1) 0%, rgba(32,40,43,0.93) 12%, rgba(32,40,43,0.4) 100%);
        background: linear-gradient(to bottom, rgba(27,34,36,1) 0%, rgba(32,40,43,0.93) 12%, rgba(32,40,43,0.4) 100%);
        filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#1b2224', endColorstr='#20282b', GradientType=0 );
        height: 0;
        overflow: hidden;
        transition: .5s ease all ; -moz-transition: .5s ease all; -webkit-transition: .5s ease all; -o-transition: .5s ease all;
      }
        .sb-slidebar > ul.sb-menu > li ul li{
          border-bottom: none;
          margin: 0;
          transition: .5s ease all ; -moz-transition: .5s ease all; -webkit-transition: .5s ease all; -o-transition: .5s ease all;
          width: 100%;
        }
          .sb-slidebar > ul.sb-menu > li ul li a{
            background-color: transparent;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            border-left: 3px solid #38454a;
            color: #f2f2f2;
            display: block;
            font-family: "Open Sans Condensed",sans-serif;
            font-size: 0.9em;
            font-weight: 700;
            height: auto;
            margin: 0;
            opacity: 1;
            overflow: hidden;
            padding: .5em 2em;
            text-transform: uppercase;
            transition: .5s ease all ; -moz-transition: .5s ease all; -webkit-transition: .5s ease all; -o-transition: .5s ease all;
            width: 100%;
          }
            
        /* li open ul li */
        .sb-slidebar > ul.sb-menu > li.open ul{
          height: auto;
          overflow: hidden;
          transition: .5s ease all ; -moz-transition: .5s ease all; -webkit-transition: .5s ease all; -o-transition: .5s ease all;
        }