.cbp-af-header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	background:url(/bg.jpg); 
	/*background-color:#32B6DC;*/
	z-index: 10000;
	height: 180px;
	overflow: hidden;
	-webkit-transition: height 0.3s;
	-moz-transition: height 0.3s;
	transition: height 0.3s;
}

#footer {/*background-color:#32B6DC;*/ background:url(/bg.jpg); width:100%; height:auto; bottom:0px;color:#e1e1e1;z-index:1;}
#footer{bottom:0px;}

.cbp-af-header .cbp-af-inner {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 0 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: 180px;
}

@media (max-width:768px){.cbp-af-header h1 {
	/*text-transform: uppercase;*/
	color: #000000;
	letter-spacing: 4px;
	font-size: 2em;
	margin: 0;
	float: left;
}}
@media  (min-width: 768px) and (max-width: 1198px){.cbp-af-header h1 {
	/*text-transform: uppercase;*/
	color: #000000;
	letter-spacing: 4px;
	font-size: 2em;
	margin: 0;
	float: left;
}}
@media (min-width:1200px){.cbp-af-header h1 {
	/*text-transform: uppercase;*/
	color: #000000;
	letter-spacing: 4px;
	font-size: 2.5em;
	margin: 0;
	float: left;
}}

.cbp-af-header img {
 width:350px;
 	-webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
	transition: all 0.3s;
}

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

.cbp-af-header nav a {
	color: #F4F4F4;
	font-weight: 600;
	margin: 0 0 0 20px;
	font-size: 1em;
}

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

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

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



.cbp-af-header.cbp-af-header-shrink h1 img{
	width:50%;
		-webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
	transition: all 0.3s;
}

/* Example Media Queries */
@media screen and (max-width:1198px) {
	
	.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: 80px;
	}

	.cbp-af-header h1 img {
	width:200px;
 	-webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
	transition: all 0.3s;
}
	.cbp-af-header nav a {
		margin: 0 7px 0px 0px;
	}

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

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

	.cbp-af-header.cbp-af-header-shrink h1 img{
	width:120px;
 	-webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
	transition: all 0.3s;
}

	.cbp-af-header.cbp-af-header-shrink nav a {
		font-size: 15px;
		 letter-spacing:-1px;
	}
}

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

@media screen and (max-width:768px) {
	.cbp-af-header nav a,
	.cbp-af-header.cbp-af-header-shrink nav a {
		font-size: 15px;
		 letter-spacing:-1px;
	}
}
