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

	.red	   { color:#782a29; }
	.dkred     { color:#52100f; }
	.gray      { color:#bcbec0; }
	.dkgray    { color:#646464; }
	.ltgray    { color:#eeeeee; }
    .white     { color:#ffffff; }

/*--------------------------------
 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: 855px){
	.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: #ffffff;
	width: 100%;
}

.header {
    padding: 15px 0;
}


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

.nav li  {
    padding: 10px 10px 0px;
    margin: 0;
}
.nav li:last-of-type{
	padding-right:0px;
}

.nav li:hover {
}

.nav li:hover a,
.menu > li:hover {
    color:#782a29; /* Red */  
    -webkit-transition: all 300ms ease-out;
	-moz-transition: all 300ms ease-out;
	-o-transition: all 300ms ease-out;
	transition: all 300ms ease-out;
}

.menu > li > a {
    font-family: 'Source Sans Pro', sans-serif;
    font-weight: 400;
    color:#782a29; /* Red */  
    text-decoration: none;
	font-size: 1em;
    line-height: 0.6em;
	text-transform:uppercase;
	-webkit-transition: all 300ms ease-out;
	-moz-transition: all 300ms ease-out;
	-o-transition: all 300ms ease-out;
	transition: all 300ms ease-out;
}
    

.toggle{ 
	z-index: 2; 
}

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

    .menu > li > a .nav-first-word {
        display:block;
        color:#782a29; /* Red */  
    }

.nav li:hover a,
.menu > li:hover { 
	text-decoration:underline;
}
}


@media only screen and (max-width: 855px){
	
	    
	.header {
    	padding: 15px 5px;
	}	
	
    .menu {
		background: #FFFFFF;
        z-index: 30;
        margin-top: 10px;
        border-top: 2px solid #782a29; /* BPS Red */
		border-left: 2px solid #782a29; /* BPS Red */
		border-right: 2px solid #782a29; /* BPS Red */
		-webkit-box-shadow: 5px 5px 10px 0px rgba(0,0,0,0.6);
		-moz-box-shadow: 5px 5px 10px 0px rgba(0,0,0,0.6);
		box-shadow: 5px 5px 10px 0px rgba(0,0,0,0.6);
		  
    }
    
    .menu li {
        border-bottom: 2px solid #782a29; /* RBPS Red */ 
	}
	
	.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;
	} 

	.menu > li > a:hover, 
	.menu > li > a:focus,
	.menu > li > .nav-first-word:hover,
	.menu > li > .nav-first-word:focus  {
    color: #ffffff;
    background: #782a29; /* BPS Red */ 
	text-decoration:none;
	}
	
	.nav li:hover a,
	.menu > li:hover { 
	text-decoration:none;
}
	
	.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: 'Source Sans Pro', sans-serif;
        font-weight: 400;
		font-size: 30px;
		padding-top: 5px;
		padding-bottom: 5px;
        margin: 0;
		color: #782a29; /* BPS Red */ 
        
		-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: #782a29; /* BPS Red */ 
    }
	
	#toggle:checked + div .toggle:after{
		content: attr(data-close);
	}
}

@media only screen and (max-width: 641px){
	.toggle:after {
		padding-top: 30px;
		padding-bottom: 30px;
	}
	
}