

/*
Add transition to containers so they can push in and out.
*/
#layout,
#menu,
.menu-link {
    -webkit-transition: all 0.2s ease-out;
    -moz-transition: all 0.2s ease-out;
    -ms-transition: all 0.2s ease-out;
    -o-transition: all 0.2s ease-out;
    transition: all 0.2s ease-out;
}

/*
This is the parent `<div>` that contains the menu and the content area.
*/
#layout {
    position: relative;
    padding-left: 0;
}
    #layout.active #menu {
        right: 0px;
        width: 40%;
		margin-right:0px;
    }

    #layout.active .menu-link {
        right: 0px;
    }



/*
The `#menu` `<div>` is the parent `<div>` that contains the `.pure-menu` that
appears on the left side of the page.
*/

#menu {
    margin-right: -150px; /* "#menu" width */
    width: 150px;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    background: #002B57;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
	padding-top:8%;
	z-index:9997;
	
}



    /*
    All anchors inside the menu should be styled like this.
    */
    #menu a {
	color: #fff;
	border: none;
	text-decoration:none;
	font-size:1.8rem;
	line-height:3rem;
	padding-left:30px;
	font-family: 'Lora', serif;
    }
 #menu a:hover {
	color: #A33E99;
		
    }

    /*
    Remove all background/borders, since we are applying them to #menu.
    */



.pure-menu li { list-style:none;}


     


/* -- Dynamic Button For Responsive Menu -------------------------------------*/

/*
The button to open/close the Menu is custom-made and not part of Pure. Here's
how it works:
*/

/*
`.menu-link` represents the responsive menu toggle that shows/hides on
small screens.
*/
.menu-link {
	position: fixed;
	display: block; /* show this only on small screens */
	top: 0;
	right: 0; /* "#menu width" */
	
	  background: #002C56;
	font-size: 15px; /* change this value to increase/decrease button size */
	z-index: 9998;
	width: 66px;
	height: 66px;
	padding-top: 32px;
	padding-right: 20px;
	padding-bottom: 28px;
	padding-left: 20px;
}

    .menu-link:hover
     {
        background: #952875;
    }

    .menu-link span {
        position: relative;
        display: block;
    }

    .menu-link span,
    .menu-link span:before,
    .menu-link span:after {
        background-color: #fff;
        width: 100%;
        height: 0.2em;
    }

        .menu-link span:before,
        .menu-link span:after {
            position: absolute;
            margin-top: -0.6em;
            content: " ";
        }

        .menu-link span:after {
            margin-top: 0.6em;
        }



    /* Only apply this when the window is small. Otherwise, the following
    case results in extra padding on the left:
        * Make the window small.
        * Tap the menu to trigger the active state.
        * Make the window large again.
    */
    #layout.active {
        position: relative;
        right: 0px;
    }


@media (max-width: 1120px) {
	 #layout.active #menu {
       
        width: 100%;
		
    }
 #menu a {
	
	font-size:1.2rem;
	line-height:2.6rem;
	
    }
	
	#menu {
    
	padding-top:10%;
	
}
	.menu-link {
	position: fixed;
	display: block; /* show this only on small screens */
	top: 0;
	right: 0; /* "#menu width" */
	
	  background: #002C56;
	font-size: 15px; /* change this value to increase/decrease button size */
	z-index: 9998;
	width: 66px;
	height: 66px;
	padding-top: 32px;
	padding-right: 20px;
	padding-bottom: 28px;
	padding-left: 20px;
}


	 #layout.active #menu {
        right: 0px;
        
		
    }

	 }