/*
Tutorial Name: Off Canvas Sliding Navigation
Author: Samuel Dalusung
*/


/* CONTAINERS */
.menu-canvas-icon{
  float: left;
  margin-left: 10px;
  margin-top: 10px;
  position: relative;
  z-index: 500;
  display: none;
}

@media only screen and (max-width : 480px) { 
	.menu-canvas-icon {
		display:block;
	}
}

#canvas {
  width: 100%;
  height: 100%;
  position: relative;
  -webkit-transition:.5s ease all;
  -moz-transition:.5s ease all;
  -o-transition:.5s ease all;
  transition:.5s ease all;
}

#nav {
  width: 300px;
  height: 100%;
  background: #363636;
  position: absolute;
  left: -300px;
  top: 0;
  padding-top: 10px;  
  -webkit-transition:.5s ease all;
  -moz-transition:.5s ease all;
  -o-transition:.5s ease all;
  transition:.5s ease all; 
}

#me-page.display-nav #canvas {
  -webkit-transform:translateX(300px);
  -moz-transform:translateX(300px);
  -ms-transform:translateX(300px);
  -o-transform:translateX(300px);
  transform:translateX(300px);
}

/* transition the menu with perspective on "show-nav" */
#me-page.display-nav #nav {
  -webkit-transform-origin:100% 50%;
  -moz-transform-origin:100% 50%;
  -ms-transform-origin:100% 50%;
  -o-transform-origin:100% 50%;
  transform-origin:100% 50%;
}


/* UTILITIES */
#bars{
	font-size: 34px;
	margin-left: 49px;
	color: #38935f;
}

#bars:hover{
       color: #48b978
}

#title{
	margin: 0;
	padding: 1em;
	color: rgba(0,0,0,0.4);
	text-shadow: 0 0 1px rgba(0,0,0,0.1);
	font-weight: 300;
	font-size: 2em;
	font-family: 'Raleway', Arial;
}

.border{
border-top: 1px solid rgba(0,0,0,0.2);

}

a.back {
  color: #38935f; 
  width: 200px;
  text-decoration: none; 
  text-align: center; 
  font-family: 'Raleway'; 
  font-size: 20px;
  font-weight: 600;
  display: block;
  margin: 50px auto 0 auto;
  border: 2px solid #38935f;
  padding: 10px;
}

a.back:hover{
  color: #48b978; 
  border: 2px solid #48b978;
}

.clear {
  clear: both;
  display: block;
  overflow: hidden;
  visibility: hidden;
}

/* TOGGLE NAV */
#toggle {
  list-style: none;
  padding: 0;
  margin: 0;
  list-style-type: none;
}

#toggle div:hover {
  background: rgba(0,0,0,0.2);
  -webkit-box-shadow:inset 0 -1px rgba(0,0,0,0);
  -moz-box-shadow:inset 0 -1px rgba(0,0,0,0);
  box-shadow:inset 0 -1px rgba(0,0,0,0);
  color: #fff;
}

#toggle div.active {
  background: #1f9d55;
}

#toggle div {
  cursor: pointer;
  display: block;
  border-bottom: 1px solid rgba(0,0,0,0.2);
}

span.menu-icons {
  font-size: 20px;
  height: 20px;
  width: 22px;
  float: left;
  margin: 11px 0px 10px 37px;
  color: #fff;
}

span.the-btn {
  float: right;
  font-size: 20px;
  height: 30px;
  width: 43px;
  margin-top: 10px;
  margin-right: 8px;
  padding:0;
  color: #fff;
}

#toggle ul {
  list-style: disc;
  display: none;
  color: #fff;
  background: rgba(0,0,0,0.2);
  -webkit-box-shadow:inset 0 -1px rgba(0,0,0,0);
  -moz-box-shadow:inset 0 -1px rgba(0,0,0,0);
  box-shadow:inset 0 -1px rgba(0,0,0,0);
}

#toggle li {
  border-bottom: 1px solid rgba(0,0,0,0.2);
}

#toggle li a {
  width: 100%;
  display: inline-block;
  padding: 0.5em;
  color: #f2f2f2;
  border-left: 3px solid transparent;
}

#toggle li a:hover{
  border-left: 3px solid;
  text-decoration: none;
  background-color: rgba(255,255,255,0.05);
  border-left-color: #A1E1E6;
  padding-left: 15px;
}

#toggle a {
  padding: 0;
  font-family: 'Lato';
  color: #fff;
  line-height: 41px;
  font-weight: normal;
  font-size: 18px;
  text-decoration: none;
}

#toggle ul li {
  margin-left: 109px;   
}

#toggle ul li a:hover{
	background: #1f9d55;
}

#toggle ul li a {
  margin-left: 0;   
}

.close-menu-toggle{
  text-align: right;
  padding-bottom: 5px;
  width: 100%;
  height: 20px;
  content: '\f00d';
  padding-right: 5px;
}

.close-menu-toggle a{
  color: #bdbdbd;
}

.toggle-title-menu {
  font-family:'GreatVibes-Regular'; 
  color: #A1E1E6;
  font-size: 30px;
  letter-spacing: 2px;
  z-index: 5;
  padding: 20px 0;
  margin: 0;
  text-align: center;
  border-bottom: 1px solid rgba(0,0,0,0.2);
}

.toggle-header h2:first-letter {
  font-size: 70px;
  text-transform: uppercase;
}
