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


/* GENERAL STYLES
-------------------------------------------------*/

@media screen and (min-width: 480px) {
	#nav {
		display:none;
	}
}


/* CONTAINERS
-------------------------------------------------*/

#container {
    width: 100%;
    height: 100vh; 
    position: relative;
    overflow: auto;
    overflow-x: hidden;
}


#canvas {
    width: 100%;
    height: 100vh;
    position: relative;

  -webkit-transform:translateX(0);
   -moz-transform:translateX(0);
    -ms-transform:translateX(0);
     -o-transform:translateX(0);
        transform:translateX(0);

   -webkit-transition:.5s ease all;
   -moz-transition:.5s ease all;
     -o-transition:.5s ease all;
        transition:.5s ease all;

 
}
@media screen and (max-width: 480px) {
}



#nav {
     width: 100vw;
    height: 100vh;
    background: white;
    position: absolute;
    right: -100vw;
    top: 0;
    padding-top : 25px;
    -webkit-transition:.5s ease all;
   -moz-transition:.5s ease all;
     -o-transition:.5s ease all;
        transition:.5s ease all;
}

#container.display-nav #canvas {
   -webkit-transform:translateX(-100vw);
   -moz-transform:translateX(-100vw);
    -ms-transform:translateX(100vw);
     -o-transform:translateX(-100vw);
        transform:translateX(-100vw);
}

/* transition the menu with perspective on "show-nav" */
#container.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%;
    
    -webkit-transform:perspective(600px) rotateY(0deg);
   -moz-transform:perspective(600px) rotateY(0deg);
    -ms-transform:perspective(600px) rotateY(0deg);
     -o-transform:perspective(600px) rotateY(0deg);
        transform:perspective(600px) rotateY(0deg);

}


/* UTILITIES
-------------------------------------------------*/

#bars{

}

#bars:hover{

}

#title{
	margin: 0;
	padding-top: 2%;
	padding-bottom:0.5em;
	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: 0px 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;
}
#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:#4F6577 ;
    padding:4px 4px;
}
.active span.menu-icons {
    color:white;
}
#toggle div {

    cursor: pointer;
    display: block;
       border-bottom: 2px solid rgba(0,0,0,0.2);
    background:#d3d3d3;
}

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


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

#toggle li a {
    line-height: 41px;
    color: #fff;
    list-style: circle;
    width: 240px;
    padding: 0;
  	 margin: 0 0 0 50px;

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

}


