/*Header Custom*/

header nav {
text-align: center;
background: #fff;
}
header nav ul {
margin: 0;
padding: 1em;
list-style-type: none;
}
header nav ul li {
display: inline;
margin-left: 1em;
}
        
header nav ul li:first-child {
margin-left: 0;
}

header nav ul li:first-child:not(*:root) {
margin-left: -50%;
}
header nav ul li ul {
display: none;
}  






.cbp-af-header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	background: #fff;
	z-index: 1000;
	height: 190px;
	overflow: hidden;
	-webkit-transition: height 0.3s;
	-moz-transition: height 0.3s;
	transition: height 0.3s;
    font-family: ‘Metrophobic’, Arial, serif; font-weight: 600;
}

.cbp-af-header .cbp-af-inner {
	width: 90%;
	max-width: 69em;
	margin: 0 auto;
	padding: 0 1.875em;

}

.cbp-af-header h1, img,
.cbp-af-header nav {
	display: inline-block;
	position: relative;
}

 /* We just have one-lined elements, so we'll center the elements with the line-height set to the height of the header */
.cbp-af-header h1, img,
.cbp-af-header nav a {
	line-height: 245px;
}

.cbp-af-header h1 {
	text-transform: uppercase;
	color: #333;
	letter-spacing: 4px;
	font-size: 4em;
	margin: 0;
	float: left;
}

.cbp-af-header img{
	margin: 80px 0 0 0;
	float: left;
}


.cbp-af-header nav {
	float: right;
}

.cbp-af-header nav a {
	color: color:#004c66;
	font-weight: 600;
    font-size: 18px!important;
	margin: 0 0 0 20px;
	
}

.cbp-af-header nav a:not(*:root) {

	margin: 0 0 0 20px;
	padding: 0!important;

	
}


.cbp-af-header nav a:hover {
	color: #008c8c;
}

/* Transitions and class for reduced height */
.cbp-af-header h1, img,
.cbp-af-header nav a {
	-webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
	transition: all 0.3s;
}

.cbp-af-header img,
.cbp-af-header nav  {
	-webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
	transition: all 0.3s;
}

.cbp-af-header.cbp-af-header-shrink {
	height: 90px;
}

.cbp-af-header.cbp-af-header-shrink h1,img,
.cbp-af-header.cbp-af-header-shrink nav a {
	line-height: 56px;
}
}


.cbp-af-header.cbp-af-header-shrink h1 {
	font-size: 2em;
}

.cbp-af-header.cbp-af-header-shrink img{
	height:60px!important;
    margin: 14px 0 0 0;
    	-webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
	transition: all 0.3s;
}

/* Example Media Queries */


@media screen and (max-width: 1024px) {
header nav ul li:first-child:not(*:root) {
margin-left: 0%;
}	
	.cbp-af-header .cbp-af-inner {
		width: 100%;
	}

	.cbp-af-header h1,
	.cbp-af-header nav {
		display: block;
		margin: 0 auto;
		text-align: center;
		float: none;
		background-color: transparent;
	
	}

	
	.cbp-af-header.cbp-af-header-shrink h1 {
		font-size: 2em;
	}

	.cbp-af-header.cbp-af-header-shrink nav a {
		font-size: 1em;
	}
}


@media only screen and (max-width: 800px) { 
    
.header {

height: 52px;
}
    .cbp-af-header  {display: none;}  
    
} 
 



@media screen and (max-width: 55em) {
	
	.cbp-af-header .cbp-af-inner {
		width: 100%;
	}

	.cbp-af-header h1,
	.cbp-af-header nav {
		display: block;
		margin: 0 auto;
		text-align: center;
		float: none;
	}

	.cbp-af-header h1,
	.cbp-af-header nav a {
		line-height: 115px;
	}

	.cbp-af-header nav a {
		margin: 0 10px;
	}

	.cbp-af-header.cbp-af-header-shrink h1,
	.cbp-af-header.cbp-af-header-shrink nav a {
		line-height: 45px;
	}

	.cbp-af-header.cbp-af-header-shrink h1 {
		font-size: 2em;
	}

	.cbp-af-header.cbp-af-header-shrink nav a {
		font-size: 1em;
	}
}

@media screen and (max-width: 32.25em) {
	.cbp-af-header nav a {
		font-size: 1em;
	}
}

@media screen and (max-width: 24em) {
	.cbp-af-header nav a,
	.cbp-af-header.cbp-af-header-shrink nav a {
		line-height: 1;
	}
}
