/*
 * 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.	
*/


/*--------------------------------
 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: 915px){
	.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{
	height: 100%;
}

.header > h1 {
	float: left;
	padding: 30px 0 0;		
	font-style: italic;
	font-family: Georgia;
	font-size: 28px;
	color: #DFDFDF;
}

.nav{ 
	display: block; 
	float: right; 
    margin-top: 20px;
}

.nav, .menu, .menu > li, .menu > li > a{ 
	height: 100%; 
}

.menu > li > a{
    font-family:"museo-sans", san-serif; 
    font-weight: 700;
	color: #003C65 /* CAG BLUE */; 
    text-decoration: none;
	font-size: .85em;
    padding: 15px;

	-webkit-transition: all 0.25s linear;
	-moz-transition: all 0.25s linear;
	-o-transition: all 0.25s linear;
	transition: all 0.25s linear;
}

.menu > li > a:hover, .menu > li > a:focus{
	background: #E6E7E8;
}

.menu > li > a.client-center {
    border: 2px solid #888A8D;
    color: #888A8D;
    margin-left: 0;
}

.menu > li > a.client-center:hover,
.menu > li > a.client-center:focus{
    border: 2px solid #003C65 /* CAG BLUE */;
    background: #FFF;
    color: #003C65 /* CAG BLUE */;
    margin-left: 0;
}

.toggle{ 
	z-index: 2; 
}

@media only screen and (max-width: 915px){
	    
    .menu{
		background: #FFFFFF;
        z-index: 20;
        margin-top: 20px;
        border-top: 2px solid #CCC;
    }
    
    .menu li {
        border-bottom: 2px solid #CCC;
        border-right: 2px solid #CCC;
        border-left: 2px solid #CCC;
	}
	
	.menu, .menu > li, .menu > li > a{
		height: auto;
	}
	
	.menu > li > a{
		padding: 10px 15px;
        text-align: center;
        font-size: 1em;
    }
    
	.menu > li > a.client-center,
    .menu > li > a.client-center:hover,
    .menu > li > a.client-center:focus{
        border: 0;
    }
    
    .menu > li > a.client-center:hover,
    .menu > li > a.client-center:focus {
        background-color: #888A8D;
        color: #FFF;
    }
        
	.menu > li > a:hover, .menu > li > a:focus{
		background: #003C65 /* CAG BLUE */;
        color: #FFF;
	}
	
	.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:"museo-sans", san-serif; 
        font-weight: 400;
		font-size: 40px;
        margin: -20px 20px 0 0;
        color: #808285; /* DK GREY */	
        
		-webkit-transition: all 0.5s linear;
		-moz-transition: all 0.5s linear;
		-o-transition: all 0.5s linear;
		transition: all 0.5s linear;
        
	}
	
	.toggle:hover:after{
        color: #003C65 /* CAG BLUE */;

    }
	
	#toggle:checked + div .toggle:after{
		content: attr(data-close);
	}
}
