

.cbp-af-header {
	position: fixed;
	top: 0;
	padding-top:20px;
	left: 0;
	width: 100%;
	background: rgba(102,102,102,0.0);
	z-index: 10000;
	height: 100px;
	overflow: hidden;
	-webkit-transition: all 0.5s;
	-moz-transition: all 0.5s;
	transition: all 0.5s;
}




.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,
.cbp-af-header nav a {
	line-height: 80px;
}



.cbp-af-header img {
	width: 120px;
	padding-top:15px;
	height:auto;
		-webkit-transition:all 0.5s;
	-moz-transition:all 0.5s;
	transition:all 0.5s;
}

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

.cbp-af-header nav a {
	color: #FFF;
	font-weight: 700;
	margin: 0 0 0 20px;
	font-size: 1em;
	letter-spacing:2px;
	text-decoration:none;
}

.cbp-af-header-shrink nav a{color: #000;}

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

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

.cbp-af-header.cbp-af-header-shrink {
	height: 60px;
	padding-top:15px;
	background: rgba(256,256,256,1);
}

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

.cbp-af-header.cbp-af-header-shrink img {
	padding-top:0;
	width:100px;
	-webkit-transition: all 0.5s;
	-moz-transition: all 0.5s;
	transition: all 0.5s;
}

/* Example Media Queries */
@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;
	}
}

@media only screen and (max-width: 1124px) {
    .cbp-af-header {
	position: fixed;
	top: 0;
	padding-top:20px;
	left: 0;
	width: 100%;
	background: rgba(102,102,102,0.0);
	z-index: 10000;
	height: auto;
	overflow: hidden;
	-webkit-transition: all 0.5s;
	-moz-transition: all 0.5s;
	transition: all 0.5s;
}

.cbp-af-header nav a {
	color: #FFF;
	font-weight: 700;
	margin: 0 0 0 10px;
	font-size: 0.9em;
	letter-spacing:1px;
	text-decoration:none;
}


.cbp-af-header-shrink nav a{color: #000;}

}
