.cbp-af-header {

	top: 0;
	left: 0;
	width: 100%;
	background: #fff;
	z-index: 9999;
	height: 160px;
	overflow:  visible;
	-webkit-transition: height 0.3s;
	-moz-transition: height 0.3s;
	transition: height 0.3s;
	box-shadow: 0 5px 5px rgba(0,0,0,0.1);
	border-top:solid 3px #37b1c5
}

.cbp-af-header .cbp-af-inner {
	width: 90%;

	margin: 0 auto;
	padding: 0 1em;
	border:solid 0px red;
 position:relative;
 margin:0px auto;
 max-width:1250px
}

.cbp-af-header h1,
.cbp-af-header {
	display: inline-block;
	position: relative;
	font-family: 'Lato', sans-serif;
}
.cbp-af-header img {
 max-width:95%;
 margin-top:0em
}
 /* 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 a {
	line-height: 100px;
}

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

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

.cbp-af-header a {
	color: #3388be;
	margin: 0 0 0 20px;
	font-size: 1em;
	text-transform:uppercase
}

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

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

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


.cbp-af-header.cbp-af-header-shrink img {
	 max-width:80%
}
.cbp-af-header.cbp-af-header-shrink h1,
.cbp-af-header.cbp-af-header-shrink a {
	line-height: 90px;
}

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

/* Example Media Queries */
@media screen and (max-width: 55em) 


{
    
    .slider{ margin-top:0em}

    .cbp-af-header {

	height: 70px;
	overflow:  visible;

}
   #menu{ display:none;}
    
	
	.cbp-af-header .cbp-af-inner {
		width: 100%;
	}

	.cbp-af-header h1,
	.cbp-af-header {
		display:   block;
		margin: 0 auto;
		text-align: center;
		float: none;
	}
	
	.cbp-af-header img {
 max-width:100%
}

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

	.cbp-af-header a {
	color: #37b1c5;
	margin: 0 0 0 10px;
	font-size: 0.7em;
	text-transform:uppercase
	}

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

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

.cbp-af-header.cbp-af-header-shrink img {
	height: 50px;
}
	.cbp-af-header.cbp-af-header-shrink a {
		font-size: 0.8em;
	}
}


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


	.cbp-af-header h1,
	.cbp-af-header {
		display:   block;
		margin: 0 auto;
		text-align: center;
		float: none;
	}
	
	.cbp-af-header img {
 max-width:100%
}

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

	.cbp-af-header a {
	color: #37b1c5;
	margin: 0 0 0 5px;
	font-size: 0.7em;
	text-transform:uppercase
	}

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

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

.cbp-af-header.cbp-af-header-shrink img {
	height: 50px;
}
	.cbp-af-header.cbp-af-header-shrink a {
		font-size: 0.7em;
	}
}


@media screen and (max-width: 32.25em) {
	.cbp-af-header a {
		font-size: 0.7em;
	}
	
		
	   .slider{ margin-top:0em}
	
}

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