/* CSS Document */

body {
    color: #777;

}

.pure-img-responsive {
    max-width: 100%;
    height: auto;
}

/*
Add transition to containers so they can push in and out.
*/
#layout,
#menu,
.menu-link,
.menu-link2,
.menu2 {
    -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.8s ease-out;
}

/* --------------------------
 * Layout Styles
 * --------------------------
*/

/* Navigation Push Styles */
#layout {
    position: relative;
    left: 0;
    padding-left: 0;
}

	#layout.HorzMenu {
        top: 3em;
    }

    #layout.active #menu {
        left: 10em;
        width: 10em;
    }

    #layout.active .menu-link {
        left: 14.5em;
    }

	#layout.active .menu-link2 {
        left: 18.5em;
    }


/* Apply the .box class on the immediate parent of any grid element (pure-u-*) to apply some padding. */
.l-box {
    padding: 1em;
}

.l-wrap {
    margin-left: auto;
    margin-right: auto;
}
.content .l-wrap {
    margin-left: -1em;
    margin-right: -1em;
}



/* --------------------------
 * Header Module Styles
 * --------------------------
*/

.header {
    font-family: "Raleway", "Helvetica Neue", Helvetica, Arial, sans-serif;
    max-width: 768px;
    margin: 0 auto;
    padding: 1em;
    text-align: center;
    border-bottom: 1px solid #eee;
    background: #fff;
    letter-spacing: 0.05em;
}
    .header h1 {
        font-size: 300%;
        font-weight: 100;
        margin: 0;
    }
     .header h2 {
        font-size: 125%;
        font-weight: 100;
        line-height: 1.5;
        margin: 0;
        color: #666;
        letter-spacing: -0.02em;
    }

/*
The content `<div>` is where all your content goes.
*/
.content {
    margin: 0 auto;
    padding: 0 2em;
    max-width: 800px;
    margin-bottom: 50px;
}

.header {
     margin: 0;
     color: #333;
     text-align: center;
     padding: 2.5em 2em 0;
     border-bottom: 1px solid #eee;
 }
    .header h1 {
        margin: 0.2em 0;
        font-size: 3em;
        font-weight: 300;
    }
     .header h2 {
        font-weight: 300;
        color: #ccc;
        padding: 0;
        margin-top: 0;
    }

.content-subhead {
    margin: 50px 0 20px 0;
    font-weight: 300;
    color: #888;
}



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

#menu, #menu2 {
    position: fixed;
    top: 0;
    background: #191818;
    -webkit-overflow-scrolling: touch;
}

#menu {
    margin-left: -10em; /* "#menu" width */
    width: 10em;
    left: 0;
    bottom: 0;
    z-index: 1000; /* so the menu or its navicon stays above all content */
    background: #191818;
    overflow-y: auto;
}
#menu2 {
	z-index: 1001; /* so the menu or its navicon stays above all content */
	overflow-x: auto;
	padding-bottom: 0.05em;
}

div.m2hide {
	display:none;
}


    /*
    All anchors inside the menu should be styled like this.
    */
    #menu a, #menu2 a {
        /* color: #999; */
        border: none;
        
    }

	#menu a {
		padding: 0.6em 0 0.6em 0.6em;
	}

	#menu2 a{
		padding: .8em 0.6em .7em 1.2em;
	}

    /*
    Remove all background/borders, since we are applying them to #menu.
    */
     #menu .pure-menu,
     #menu .pure-menu ul {
        border: none;
        background: transparent;
    }

    /*
    Add that light border to separate items into groups.
    */
    #menu .pure-menu ul,
    #menu .pure-menu .menu-item-divided {
        border-top: 1px solid #333;
    }
        /*
        Change color of the anchor links on hover/focus.
        */
        #menu .pure-menu li a:hover,
        #menu .pure-menu li a:focus {
            background: #333;
        }

    /*
    This styles the selected menu item `<li>`.
    */
    #menu .pure-menu-selected,
    #menu .pure-menu-heading {
        background: #1f8dd6;
    }
        /*
        This styles a link within a selected menu item `<li>`.
        */
        #menu .pure-menu-selected a {
            color: #fff;
        }

    /*
    This styles the menu heading.
    */
    #menu .pure-menu-heading {
        font-size: 110%;
        color: #fff;
        margin: 0;
    }



/* -- 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, .menu-link2 {
		position: fixed;
        display: block; /* show this only on small screens */
        top: 0em;
		background: #000;
        background: rgba(0,0,0,0.7);
        font-size: 11px; /* change this value to increase/decrease button size */
        z-index: 10;
        width: 2em;
        height: auto;
        padding: 1em;
}



.menu-link {
        left: 0em; /* "#menu width" */
		padding-bottom: 1.8em;
		
    }
.menu-link2 {
        left: 4em; /* "#menu width" */
		padding-bottom: 0.95em;
    }



        .menu-link:hover,
        .menu-link:focus {
            background: #000;
        }

        .menu-link span {
            position: relative;
            display: block;
            margin-top: 0.9em;
        }

        .menu-link span,
        .menu-link span:before,
        .menu-link span:after {
            background-color: #fff;
            width: 100%;
            height: .2em;
            -webkit-transition: all 0.4s;
               -moz-transition: all 0.4s;
                -ms-transition: all 0.4s;
                 -o-transition: all 0.4s;
                    transition: all 0.4s;
        }

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

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

        .menu-link.active span {
            background: transparent;
        }

            .menu-link.active span:before {
                -webkit-transform: rotate(45deg) translate(.5em, .4em);
                   -moz-transform: rotate(45deg) translate(.5em, .4em);
                    -ms-transform: rotate(45deg) translate(.5em, .4em);
                     -o-transform: rotate(45deg) translate(.5em, .4em);
                        transform: rotate(45deg) translate(.5em, .4em);
            }

            .menu-link.active span:after {
                -webkit-transform: rotate(-45deg) translate(.4em, -.3em);
                   -moz-transform: rotate(-45deg) translate(.4em, -.3em);
                    -ms-transform: rotate(-45deg) translate(.4em, -.3em);
                     -o-transform: rotate(-45deg) translate(.4em, -.3em);
                        transform: rotate(-45deg) translate(.4em, -.3em);
            }




        .menu-link2:hover,
        .menu-link2:focus {
            background: #000;
        }

.menu-link2 {
	color:aliceblue;
}

.menu-link2.active i {
	color: aqua;
}









/* -- Responsive Styles (Media Queries) ------------------------------------- */
/*
When Larger than 48em
*/
@media (min-width: 48em) {

    .header,
    .content {
        padding-left: 2em;
        padding-right: 2em;
    }

    #layout {
        padding-left: 10em; /* left col width "#menu" */
        left: 0em;
    }
    #menu {
        left: 10em;
    }
	#menu2 {
        top: 0;
		padding-right: 150px;
    }
	

    .menu-link {
        position: fixed;
        left: 14em;
        display: none;
    }
	
	.menu-link2 {
        position: fixed;
        left: 18em;
        display: none;
		padding-right:18em;
    }

    #layout.active .menu-link {
        left: 4em;
    }
	
	#layout.active .menu-link2 {
        left: 8em;
    }
	

}

/*
When Smaller than 48.
If the Layout is active it will keep it at 150px otherwise it would default to left 0px;
*/
@media (max-width: 48em) {
    /* 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;
        left: 10em;
    }
	
	#menu2 {
		left: 5.5em;
		top: 0em;
		padding-right: 5.5em;
	}
	
	#menu2.active {
		left: 15.4em;
		top: 0;
		padding-right: 15.4em;
	}
	
	#menu2.hide {
		display: none;
	}
}