.cbp-af-header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	background: #ffffff;
	z-index: 10000;
	height: auto;
	overflow: hidden;
	-webkit-transition: height 0.3s;
	-moz-transition: height 0.3s;
	transition: height 0.3s;
}

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

.cbp-af-header h1,
.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: 1px;
}

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

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

.cbp-af-header nav a {
	color: #aaa;
	font-weight: 400;
	margin: 0 0 0px 20px;
	font-size: 24px;

}

.cbp-af-header nav a:hover {
	color: #282528;
	text-decoration:none;
}

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

.cbp-af-header.cbp-af-header-shrink {
	height: 50px;
	background:URL('../images/border_bottom.png');
	background-position:bottom;
	background-repeat:repeat-x;
	background-color:#ffffff;
	

}
.cbp-af-header.cbp-af-header-shrink .navbar-brand img {
	height:45px;
	width:auto;

	
}
.cbp-af-header.cbp-af-header-shrink .nav 
{
	margin-top:-20px;
}

.cbp-af-header.cbp-af-header-shrink h1,
.cbp-af-header.cbp-af-header-shrink nav a {
	line-height: 100%;

}

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

/* 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;
	}
}







.head_logo {
			margin: 0;
			width: 200px;
			height: 100px;
			background: url(../images/sprk_logo.png) no-repeat top center;
			background-size: auto 100%;
			}
.cbp-af-header .head_logo {
			-webkit-transition: all 0.2s;
			-moz-transition: all 0.2s;
			-o-transition: scale(1);
			-o-transition: all 0.2s;
			transition: all 0.2s;
			-webkit-transform: scale(1);
			-moz-transform: scale(1);
			transform: scale(1);
			}
			.cbp-af-header.cbp-af-header-shrink .head_logo {
			background: url(../images/sprk_logo_small.png) no-repeat top center;
			margin-top:5px;
			-webkit-transition: all 0.2s;
			-moz-transition: all 0.2s;
			-o-transition: all 0.2s;
			-o-transition: scale(0.4);
			transition: all 0.2s;
			-webkit-transform: scale(1);
			-moz-transform: scale(1);
			transform: scale(1);

			}
