.cbp-af-header {
	position: fixed;
	top: 30px;
	left: 0;
	width: 100%;
	background: rgba(255,255,255,0.9);
	z-index: 10000;
	height: 100px;
	overflow: hidden;
	-webkit-transition: height 0.3s;
	-moz-transition: height 0.3s;
	transition: height 0.3s;
}

.cbp-af-header .cbp-af-inner,.cbp-af-header .black_strip {
	width: 90%;
	max-width: 69em;
	margin: 0 auto;
	padding: 0 1.875em;
}
.black_strip {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	background: #000000;
	z-index: 1000;
	height: 30px;
	overflow: hidden;
}
/*.cbp-af-header h1,
.cbp-af-header nav {
	display: inline-block;
	position: relative;
}*/

.cbp-af-header img,
.cbp-af-header nav {
	display: inline-block;
	position: relative;
}
.cbp-af-header img
{
	width:12%;
	height:auto;
}
 /* 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: 150px;
}*/
.cbp-af-header img,
.cbp-af-header nav 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 nav {
	float: right;
}

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

.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 img,
.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: 70px;
	background: rgba(255,255,255,1);
	}

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

/*.cbp-af-header.cbp-af-header-shrink h1 {
	font-size: 2em;
}*/
.cbp-af-header.cbp-af-header-shrink img {
	width: 8%;
}


.cbp-fwslider {
	position: relative;
	margin: 0 0 10px;
	overflow: hidden;
	padding: 00px 0 00px;
}

.cbp-fwslider ul {
	margin: 0;
	padding: 0;
	white-space: nowrap;
	list-style-type: none;
}

.cbp-fwslider ul li {
	-webkit-transform: translateZ(0);
	-moz-transform: translateZ(0);
	transform: translateZ(0);
	float: left;
	display: block;
	margin: 0;
	padding: 0;
}

.cbp-fwslider ul li > a,
.cbp-fwslider ul li > div {
	display: block;
	text-align: center;
	outline: none;
}

.cbp-fwslider ul li > a img {
	border: none;
	display: block;
	margin: 0 auto;
	max-width: 100%;
}

.cbp-fwslider nav span {
	position: absolute;
	top: 50%;
	width: 50px;
	height: 100px;
	background: transparent;
	color: #444;
	font-size: 50px;
	text-align: center;
	margin-top: -50px;
	line-height: 100px;
	cursor: pointer;
	font-weight: normal;
}

.cbp-fwslider nav span:hover {
	background: transparent;
}

.cbp-fwslider nav span.cbp-fwnext {
	right: 0px;
}

.cbp-fwslider nav span.cbp-fwprev {
	left: 0px;
}

.cbp-fwdots {
	position: absolute;
	bottom: 0px;
	white-space: nowrap;
	text-align: center;
	width: 100%;
}

.cbp-fwdots span {
	display: inline-block;
	width: 12px;
	height: 12px;
	background: #ddd;
	margin: 4px;
	border-radius: 50%;
	cursor: pointer;
}

.cbp-fwdots span:hover {
	background: #999;
}

.cbp-fwdots span.cbp-fwcurrent {
	background: #444444;
	box-shadow: 0 0 0 1px #aaaaaa;
	-webkit-transition: box-shadow 0.2s ease-in-out;
	-moz-transition: box-shadow 0.2s ease-in-out;
	transition: box-shadow 0.2s ease-in-out;
}

#nav2, #nav2 ul {
    list-style: none outside none;
    margin: 0;
    padding: 0;
}
#nav2 {
    background-color: transparent;
	color: #FFFFFF;
    border-bottom: 0px solid #333333;
    float: right;
    margin-left: 1%;
    margin-right: 5%;
    position: relative;

}
#nav2 > li {
	position:relative;
    border-bottom: 5px solid transparent;
    float: left;
    margin-bottom: -5px;
	margin-left:30px;
    text-align: left;
    -moz-transition: all 300ms ease-in-out 0s;
    -ms-transition: all 300ms ease-in-out 0s;
    -o-transition: all 300ms ease-in-out 0s;
    -webkit-transition: all 300ms ease-in-out 0s;
    transition: all 300ms ease-in-out 0s;

}
#nav2 > li > a {
    color: #aaaaaa;
	text-decoration: none;
    display: block;
    line-height:30px;
    padding: 2px 10px;
	font-size:14px;
}
#nav2 > li:hover > a, #nav2 > a:hover {

    color: #FFFFFF;
}

/* Example Media Queries */
@media screen and (max-width: 55em) {
	
	.cbp-af-header .cbp-af-inner {
		width: 100%;
	}

	.cbp-af-header img,
	.cbp-af-header nav {
		display: block;
		margin: 0 auto;
		text-align: center;
		float: none;
	}

	.cbp-af-header img,
	.cbp-af-header nav a {
		line-height: 115px;
	}

	.cbp-af-header nav a {
		margin: 0 10px;
	}

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

	.cbp-af-header.cbp-af-header-shrink img {
		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;
	}
}
