@font-face {
	font-family: 'OpenSans-Regular';
	src: url('font/OpenSans-Regular.eot');
	src: local('OpenSans-Regular normal'), local('OpenSans-Regular'), url('font/OpenSans-Regular.ttf') format('truetype');
}

.cbp-af-header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 10000;
	-webkit-transition: all 0.5s ease-in-out;
  -moz-transition: all 0.5s ease-in-out;
  -o-transition: all 0.5s ease-in-out;
  transition: all 0.5s ease-in-out;
	background-color:#fff;
}

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

.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: 230px;
}

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

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

.cbp-af-header nav a {
	color: #aaa;
	font-weight: 700;
	margin: 0 0 0 20px;
	font-size: 1.4em;
}

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

/* 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 {
	
	margin-top:-70px;
	background-color:#000;
	border-bottom:4px solid #90f846;
	-webkit-transition: all 0.5s ease-in-out;
  -moz-transition: all 0.5s ease-in-out;
  -o-transition: all 0.5s ease-in-out;
  transition: all 0.5s ease-in-out;
  padding-bottom:15px;
}

.cbp-af-header.cbp-af-header-shrink .brand{
	display: inline;
	
}

.cbp-af-header .navbar-form{ margin-top:0px !important;}
.cbp-af-header.cbp-af-header-shrink .navbar-inverse .navbar-inner { border-bottom:0px !important; box-shadow:none !important;}
.cbp-af-header.cbp-af-header-shrink .navbar-inverse .nav{ padding-left:50px;}
.cbp-af-header.cbp-af-header-shrink .navbar-inverse .nav > li > a{ font-family: Calibri; font-size:14px !important; padding-bottom:6px; background:none !important; }
.cbp-af-header.cbp-af-header-shrink .navbar-inverse .nav > li > a:hover{ color:#6ce309 !important;}
.cbp-af-header.cbp-af-header-shrink .navbar-inverse .nav > li.active a{ color:#6ce309 !important;}
.cbp-af-header.cbp-af-header-shrink .navbar .brand { display:compact !important;background:none !important}
.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 {
	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;
	}
	.cbp-af-header.cbp-af-header-shrink {padding-bottom:0px!important;}
}

@media screen and (max-width: 32.25em) {
	.cbp-af-header nav a {
		font-size: 1em;
	}
	.cbp-af-header.cbp-af-header-shrink {padding-bottom:0px!important;}
}

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