/*
 * Navigataur: A pure CSS responsive navigation menu
 * Author: Mike King (@micjamking)
 */

/*
 	Notes:
 
 	- Media queries should be edited in both style sections if you require 
	  a different breakpoint for your navigation.
	  
	- Toggle class & menu anchor tags in list items have box-sizing: border-box 
	  style property to allow padding inside the container without conflicting with layout.	
*/

	.blue 	    {	color:  #228bcc /* Blue */;	}
	.dkblue 	{ 	color: 	#253d89 /* Dark Blue */; }
    .deepblue   {   color:  #091a46 /* Deep Blue */; }
	.teal		{	color: 	#2ab4cd /* Teal Blue */; }	
	.orange		{	color: 	#ef8735 /* Orange */; }	
    .white      {   color:  #ffffff; }
	.ltaqua     {   color:  #beeef8 /* Light Aqua */; }


/*--------------------------------
 Functional Styles (Required)
---------------------------------*/

.header { position: relative; }
#toggle, .toggle { display: none; }
.menu > li { list-style: none; float:left;	}

/* Nicolas Gallagher micro clearfix */
.clearfix:before, .clearfix:after { display: table; content: ""; }
.clearfix:after { clear: both; }

@media only screen and (max-width: 955px){
	.menu { display: none; opacity: 0; width: 100%; position: absolute; right: 0; }
	.menu > li { display: block; width: 100%; margin: 0; }
	.menu > li > a { display: block; width: 100%; text-decoration: none; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; }
	.toggle { display: block; position: relative; cursor: pointer; -webkit-touch-callout: none; -webkit-user-select: none; user-select: none; }
	#toggle:checked + div .menu { display: block; opacity: 1;}
}


/*--------------------------------
 Presentation Styles (Editable)
---------------------------------*/

header {
	background-color: #228bcc /* Blue */;
	width: 100%;
}

.header {
    padding: 15px 0 20px;
}

.nav { 
	float: right;
    margin-top: 25px;
	margin-bottom: 15px;
}

.nav li {
	background-color: #228bcc /* Blue */;
    margin: 0;
}

.nav li:last-of-type {
    margin: 0;
}

.nav li:hover {
}

.nav li:hover a,
.menu > li:hover {  
}

.menu > li > a {
    font-family:"Trebuchet MS", Verdana, sans-serif;
    font-weight: 400;
    color:#ffffff;    
    text-decoration: none;
	font-size: 0.9em;
    line-height: .6em;
	letter-spacing:0.03em;
	text-transform:uppercase;
	padding: 12px 12px 12px;
	
	-webkit-border-radius: 3px;
    border-radius: 3px;
	
	-webkit-transition: background-color 300ms ease-out;
	-moz-transition: background-color 300ms ease-out;
	-o-transition: background-color 300ms ease-out;
	transition: background-color 300ms ease-out;
}
.menu > li > a:hover {
    color: #FFF; 
	background-color: #253d89 /* Dark Blue */;
	-webkit-transition: background-color 300ms ease-out;
	-moz-transition: background-color 300ms ease-out;
	-o-transition: background-color 300ms ease-out;
	transition: background-color 300ms ease-out;
}
    

.toggle{ 
	z-index: 2; 
}

/*LARGER SCREENS*/
@media only screen and (min-width: 955px){    

    .menu > li > a .nav-first-word {
        display:block;
        color: #253d89 /* Dark Blue */;
    }

}



@media only screen and (max-width: 955px){
	    
	.header{
    	padding: 15px 15px;
	}	
    .menu{
		background: #FFFFFF;
        z-index: 30;
        margin-top: 10px;
        border-top: 2px solid #253d89 /* Dark Blue */;
    }
    
    .menu li {
        border-bottom: 2px solid #253d89 /* Dark Blue */;
	}
	
	.menu, .menu > li, .menu > li > a{
		height: auto;
	}
	
	.menu > li > a{
		padding: 25px 15px;
        text-align: center;
        margin-left: 0;
    }
	
	.nav { margin-top: 0px; margin-bottom: 0px;}
    
	.nav li,
	.nav li:last-of-type { 
    border-left: 0px solid #FFF;
    padding: 0;
	-webkit-border-radius: 0px;
    border-radius: 0px;
	} 

	.menu > li > a:hover, 
	.menu > li > a:focus,
	.menu > li > .nav-first-word:hover,
	.menu > li > .nav-first-word:focus  {
    color: #FFF;
    background: #253d89 /* Dark Blue */;
	}
	
	.toggle:after {
		display: block;
		-webkit-box-sizing: border-box;
		-moz-box-sizing: border-box;
		box-sizing: border-box; 
        
        content: attr(data-open);
		text-align: center;
        font-family:"Trebuchet MS", Verdana, sans-serif;
        font-weight: 400;
		font-size: 35px;
		padding-top:10px;
		padding-bottom:10px;
        margin: 0;
		color: #fff; 
        
		-webkit-transition: background-color 300ms ease-out;
		-moz-transition: background-color 300ms ease-out;
		-o-transition: background-color 300ms ease-out;
		transition: background-color 300ms ease-out;
        
	}
	
	.toggle:hover:after{
        color: #fff; 
    }
	
	#toggle:checked + div .toggle:after{
		content: attr(data-close);
	}
}
