/* -----------------------------------
 * 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 {
	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. */
}

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 */
	background:#fff;
}

/* ---------------
 * 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. */
	-webkit-transform: translate(0px); /* Fixes issues with translated and z-indexed elements on iOS 7. */
background: #96bf26; /* Old browsers */
background: -moz-linear-gradient(top,  #96bf26 0%, #c5d020 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#96bf26), color-stop(100%,#c5d020)); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top,  #96bf26 0%,#c5d020 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top,  #96bf26 0%,#c5d020 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(top,  #96bf26 0%,#c5d020 100%); /* IE10+ */
background: linear-gradient(to bottom,  #96bf26 0%,#c5d020 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#96bf26', endColorstr='#c5d020',GradientType=0 ); /* IE6-9 */

}
.sb-slidebar::-webkit-scrollbar { width: 1px; height: auto; }
.sb-slidebar::-webkit-scrollbar-track { background:rgba(0,0,0,0.5); }
.sb-slidebar::-webkit-scrollbar-thumb { background:#000000; }


.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: 220px;
	}

/* ---------------
 * 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. */
	}
#sb-site {
		padding-bottom: 100px;
	}

/* --------------------
 * 005 - Helper Classes
 */
 
.sb-hide { 
	display: none; /* Optionally applied to control classes when Slidebars is disabled over a certain width. */
}
/* Hamburger animation */
#hamburger
{
	box-sizing: border-box;
	display: block;
	width: 70px;
	height: 45px;
	z-index: 4;
	cursor:pointer;
}
@media screen and (max-width: 767px) {
#hamburger:before,
#hamburger:after,
#hamburger span
{
	background: #c7d120;
	content: '';
	display: block;
	width: 60px;
	height: 10px;
	position: absolute;
	left: 15px;
}
#hamburger:before
{
	top: 15px;
}
#hamburger span
{
	top: 35px;
}
#hamburger:after
{
	top: 55px;
}
}
@media screen and (min-width : 768px){

#hamburger:before,
#hamburger:after,
#hamburger span
{
	background: #c7d120;
	content: '';
	display: block;
	width: 60px;
	height: 10px;
	position: absolute;
	left: 30px;
}
#hamburger:before
{
	top: 30px;
}
#hamburger span
{
	top: 50px;
}
#hamburger:after
{
	top: 70px;
}
}
#hamburger:before,
#hamburger:after,
#hamburger span
{
	-webkit-transition: none 0.5s ease 0.5s;
	transition: none 0.5s ease 0.5s;

	-webkit-transition-property: transform, top, bottom, left, opacity;
	transition-property: transform, top, bottom, left, opacity;
}
html.sb-active #hamburger:before,
html.sb-active #hamburger:after
{
	top: 50px;	
}
html.sb-active #hamburger span
{
	left: -50px;
	opacity: 0;
}
html.sb-active #hamburger:before
{
	transform: rotate( 45deg );
}
html.sb-active #hamburger:after
{
	transform: rotate( -45deg );
}
.slidebar-back {
	display:block;
	height:120px;
	line-height:120px;
	text-align:center;
	font-size:215%;
	color:#e5ee65;
	font-family:FuturaStd-Light;
	letter-spacing:4px;
	margin-top:1px;
	border-bottom:1px solid #000;
	background-image: url(../images/rightallow.svg);
	background-repeat: no-repeat;
	background-position: 175px center;
}
.slidebar-back:hover {
	background-color:rgba(255,255,255,0.2);	
}
.slidebar-btn {
	display:block;
	height:90px;
	text-align:center;
	font-size:215%;
	color:#fff;
	font-family:FuturaStd-Light;
	letter-spacing:4px;
	padding-top:90px;
	margin-top:1px;
	border-bottom:1px solid #000;
	background-color:rgba(0,0,0,0.2);
}
.slidebar-btn:hover {
	background-color:transparent;	
}
.slidebar-btn span {
	display:block;
	font-size:50%;
	letter-spacing:4px;
	padding-top:15px;
}
.side-about {
	background-image: url(../images/icon-about.png);
	background-repeat: no-repeat;
	background-position: center 34px;
}
.side-contact {
	background-image: url(../images/icon-contact-white.svg);
	background-repeat: no-repeat;
	background-position: center 10px;
}
.side-blog {
	background-image: url(../images/icon-blog-white.svg);
	background-repeat: no-repeat;
	background-position: center 30px;
}
/* blogmenu */
.sidebar-widjet {
	display:block;
	text-align:left;
	color:#fff;
	padding:20px 0px;
	margin-top:1px;
	border-bottom:1px solid #000;
	background-color:rgba(0,0,0,0.2);
}
.sidebar-widjet h2 {
	background-image: url(../images/icon-blog-white.svg);
	background-repeat: no-repeat;
	background-position: left center;
	background-size:35px auto;
	padding:10px 10px 10px 40px;
	font-size:128%;
	margin:0px 18px;
}
.sidebar-widjet a {
	display:block;
	background-image: url(../images/rightallow.svg);
	background-repeat: no-repeat;
	background-position: 20px center;
	background-size:8px auto;
	padding:10px 20px 10px 35px;
	color:#ffffff;
}
.sidebar-widjet a:hover {
	background-color:rgba(255,255,255,0.2);
}