/*!
 * Slidebars - A jQuery Framework for Off-Canvas Menus and Sidebars
 * Version: 2.0.2
 * Url: http://www.adchsm.com/slidebars/
 * Author: Adam Charles Smith
 * Author url: http://www.adchsm.com/
 * License: MIT
 * License url: http://www.adchsm.com/slidebars/license/
 */

/**
 * Box Model, Html & Body
 */

html, body, [canvas=container], [off-canvas] {
	margin: 0;
	padding: 0;
	-webkit-box-sizing: border-box;
	   -moz-box-sizing: border-box;
	        box-sizing: border-box;
}

html, body {
	width: 100%;
	height: 100%;
	overflow: hidden;
}

/**
 * Canvas
 */

[canvas] {
	z-index: 1;
}

[canvas=container] {
	width: 100%;
	height: 100%;
	overflow-y: auto;
	position: relative;
	background-color: white; /* Basic background color, overwrite this in your own css. */
	-webkit-overflow-scrolling: touch; /* Enables momentum scrolling on iOS devices, may be removed by setting to 'auto' in your own CSS. */
}

[canvas=container]:before, [canvas=container]:after {
	clear: both;
	content: '';
	display: table;
}

/**
 * Off-Canavs
 */

[off-canvas] {
	display: none;
	position: fixed;
	overflow: hidden;
	overflow-y: auto;
	background-color: #004E8A; /* Basic background color, overwrite this in your own css. */
	color: white; /* Basic colors, overwrite this in your own css. */
	-webkit-overflow-scrolling: touch; /* Enables momentum scrolling on iOS devices, may be removed by setting to 'auto' in your own CSS. */
}

[off-canvas*=top] {
	width: 100%;
	height: 255px;
	top: 0;
}

[off-canvas*=right] {
	width: 255px;
	height: 100%;
	top: 0;
	right: 0;
}

[off-canvas*=bottom] {
	width: 100%;
	height: 255px;
	bottom: 0;
}

[off-canvas*=left] {
	width: 255px;
	height: 100%;
	top: 0;
	left: 0;
}

[off-canvas*=reveal] {
	z-index: 0;
}

[off-canvas*=push] {
	z-index: 1;
}

[off-canvas*=overlay] {
	z-index: 9999;
}

[off-canvas*=shift] {
	z-index: 0;
}

/**
 * Animation
 */

[canvas], [off-canvas] {
	-webkit-transform: translate( 0px, 0px );
	    -ms-transform: translate( 0px, 0px );
	        transform: translate( 0px, 0px );
	-webkit-transition: -webkit-transform 300ms;
	        transition:         transform 300ms;
	-webkit-backface-visibility: hidden; /* Prevents flickering, may be removed if experiencing problems with fixed background images in Chrome. */
}

[off-canvas*=shift][off-canvas*=top] {
	-webkit-transform: translate( 0px, 50% );
	        transform: translate( 0px, 50% );
}

[off-canvas*=shift][off-canvas*=right] {
	-webkit-transform: translate( -50%, 0px );
	        transform: translate( -50%, 0px );
}

[off-canvas*=shift][off-canvas*=bottom] {
	-webkit-transform: translate( 0px, -50% );
	        transform: translate( 0px, -50% );
}

[off-canvas*=shift][off-canvas*=left] {
	-webkit-transform: translate( 50%, 0px );
	        transform: translate( 50%, 0px );
}

/**
 * Print
 */

@media print {
	[canvas] {
		-webkit-transform: translate( 0px, 0px ) !important;
		    -ms-transform: translate( 0px, 0px ) !important;
		        transform: translate( 0px, 0px ) !important;
	}

	[off-canvas] {
		display: none !important;
	}
}

/* ---------------
 * Slidebars Theme
 *
 * ---------
 * CSS Index
 *
 * 001 - Box Model
 * 002 - Site
 * 003 - Slidebars
 * 004 - Slidebar Menus
 * 005 - Slidebar Widgets
 * 006 - Top Navigation Bar
 * 007 - Slidebar Controls
 *
 * ---------------
 * 001 - Box Model
 */


/* ----------
 * 002 - Site
 */

#sb-site {
  padding: 65px 15px 15px 15px;
  box-shadow: 0 0 30px 10px rgba(0, 0, 0, 0.3); /* Casts a shadow onto the Slidebars from site. */
}

/* ---------------
 * 003 - Slidebars
 */

.sb-slidebar {
  background-color: #222222; /* Background colour. */
  color: #e8e8e8; /* Text colour. */
}

.sb-slidebar a {
  color: #f2f2f2; /* Link colour. */
  text-decoration: none;
}

.sb-slidebar a:hover {
  color: #49AEF2; /* Link hover colour. */
  text-decoration: underline;
}

/* --------------------
 * 004 - Slidebar Menus
 */

/* Main Menu */
.sb-menu { /* Apply to <ul> or <ol>. */
  padding: 0;
  margin: 0;
  list-style-type: none;
  margin-top: 60px;
}

.sb-menu li {
  width: 100%;
  padding: 0;
  margin: 0;
  position: relative;
}

.sb-menu .menu-item-has-children > em {
  position: absolute;
  right:0;
  top:0;
  width: 60px;
  height:60px;
  cursor: pointer;
  background: url(../img/triangle_down.svg) no-repeat center;
}


.sb-menu .menu-item-has-children ul li a , .sb-menu .menu-item-has-children ul li > ul > li > a {
  font:14px/17px Arial,sans-serif;
}

.sb-menu .menu-item-has-children ul li > em {
  height: 37px;
}

.sb-menu .menu-item-has-children ul li span {
  margin-left: 30px;
}

.sb-menu .menu-item-has-children ul li > ul > li > a span {
  margin-left: 50px;
}

.sb-menu > li:first-child {
  border-top: none; /* Removes top border from first list item.. */
}

.sb-menu > li:last-child {
  border-bottom: none; /* Removed bottom border from last list item. */
}
.sb-menu .menu-image-hover-wrapper {
  margin-left: 15px;
}
.sb-menu li a {
  display: block;
  padding: 10px;
  width: auto;
  font:16px/17px Arial,sans-serif;
  color:#fff;
}

.sb-menu .menu-image-title {
  margin-left: 15px;
}

.sb-menu li a:hover {
  text-decoration: none;
  background-color: rgba(255, 255, 255, 0.05); /* Will lighten any background colour you set. */
}

/* Borders */
.sb-left .sb-menu li a {
  border-left: 3px solid transparent;
}

.sb-left .sb-menu li a:hover {
  border-left: 3px solid; /* Removes transparent colour, so border colour will be the same as link hover colour. */
}

.sb-right .sb-menu li a {
  border-right: 3px solid transparent;
}

.sb-right .sb-menu li a:hover {
  border-right: 3px solid; /* Removes transparent colour, so border colour will be the same as link hover colour. */
}

/* Submenus */
.sb-menu .sub-menu {
  display: none;
  padding: 0;
  margin: 0;
  list-style-type: none;
  background-color: rgba(255, 255, 255, 0.05); /* Submenu background colour. */
}

/* Caret */
span.sb-caret {
  width: 0;
  height: 0;
  display: inline-block;
  margin: 0 5px;
  border: 5px solid transparent;
}

span.sb-caret { /* Caret Down */
  border-top: 5px solid;
  border-bottom: 0px solid transparent;
}

.sb-menu  .sub-menu-active > span.sb-caret { /* Caret Up */
  border-top: 0px solid transparent;
  border-bottom: 5px solid;
}

/* ----------------------
 * 005 - Slidebar Widgets
 */

.sb-widget {
  border-radius: 3px;
  border: 1px solid rgba(255, 255, 255, 0.1); /* Will lighten any background colour you set. */
  margin: 14px;
  box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.25); /* Slight shadow. */
}

.sb-widget-header {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1); /* Will darken any background colour you set. */
  padding: 14px;
  background-color: #292929; /* Widget title background colour. */
}

.sb-widget-title {
  margin: 0; /* Removes browser default margins for heading tags. */
}

.sb-widget-content {
  border-top: 1px solid rgba(255, 255, 255, 0.1); /* Will lighten any background colour you set. */
  padding: 14px;
  background-color: #262626; /* Widget content background colour. */
}

/* ------------------------
 * 006 - Top Navigation Bar
 */


/* Navbar Menu Items */
.sb-navbar-menu {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.sb-navbar-menu-left {
  float: left;
}

.sb-navbar-menu-right{
  float: right;
}

.sb-navbar-menu li {
  padding: 0;
  margin: 0;
  display: block;
  float: left;
}

.sb-navbar-menu li a {
  display: inline-block;
  color: #f2f2f2; /* Navbar link colour */
  padding: 14px;
  text-decoration: none;
}

.sb-navbar-menu li a:hover {
  color: #f2f2f2; /* Navbar link hover colour */
  background-color: rgba(0, 0, 0, 0.05); /* Will lighten any background colour you set. */
}

/* -----------------------
 * 007 - Slidebar Controls
 */

.sb-toggle-left, .sb-toggle-right, .sb-open-left, .sb-open-right, .sb-close {
  cursor: pointer; /* Help desktop users with Slidebar controls. */
}

/* Navicons */
/* These are prefixed with .sb-navbar to avoid styling other Slidebar toggles you may be using. */
.sb-navbar .sb-toggle-left {
  width: 52px;
  float: left;
  padding: 14px;
}

.sb-navbar .sb-toggle-right {
  width: 52px;
  float: right;
  padding: 14px;
}

.navicon-line {
  width: 24px;
  height: 4px;
  border-radius: 1px;
  margin-bottom: 3px;
  background-color: #fff; /* Colour of navicon lines. */
}

/* Hover states to match navbar menu item hover. */
.sb-navbar .sb-toggle-left:hover {
  background-color: rgba(0, 0, 0, 0.05); /* Will lighten any background colour you set. */
}

.sb-navbar .sb-toggle-right:hover {
  background-color: rgba(0, 0, 0, 0.05); /* Will lighten any background colour you set. */
}

/* -------------------
 * 006 - Media Queries
 */

@media (max-width: 767px) {
  /* This is entirely optional, it hides the navbar menu items when device width is under 768px. */
  .sb-navbar-menu {
    display: none;
  }
}