/* -----------------------------------
 * 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 {
	-webkit-box-sizing: border-box;
	   -moz-box-sizing: border-box;
	        box-sizing: border-box;
}
html.sb-scroll-lock.sb-active:not(.sb-static) { overflow: hidden; }

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

.sb-site, .sb-site-container {
	position: relative; z-index: 1;
	background-color: #fff;
}

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

.sb-slidebar {
	display:none;
	position:fixed; top:0; z-index:0; 
	height:100%; width:50% !important;
	background-color:#3E3E3E;
	-webkit-transform: translate(0px);
	-moz-transform: translate(0px);
	-ms-transform: translate(0px);
	-o-transform: translate(0px);
	transform: translate(0px);
  box-shadow:inset 1px 0 10px rgba(0,0,0,0.8);
	overflow-y: auto;
}

.sb-left { left: 0; }
.sb-right { right: 0; }

html.sb-static .sb-slidebar,
.sb-slidebar.sb-static { position: absolute; }

.sb-slidebar.sb-active { display: block;  }

.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; }

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

/* Submenus */
.sb-submenu {
	display: none;
	padding: 0;
	margin: 0;
	list-style-type: none;
}

/* Caret */
span.sb-caret {
	display:inline-block;
  position:absolute;
  right:10px;
  top:5px; width:50px;
	height:50px;
  background-position:center center;
  background-repeat:no-repeat;
}

span.sb-caret {
  background-image:url(images/icon-SubNav-Open.png);
}

span.sb-caret.sb-submenu-active {
  background-image:url(images/icon-SubNav-Close.png);
}