/*  NAVIGATION
------------------------------------------------*/
#menu-button{
	display: none;
}

nav.mobile {
	display:none;
}

nav.primary {
	padding:0;
	margin:0;
	width:100%;
	z-index:700; 
}

nav.primary ul {
	margin:0 auto;
	padding:0;
	float:right;
}
nav.primary ul li {
	margin:0;
	paddding:0;
	float:left;
	z-index:9999;
	list-style-type:none;	
	display: inline-block;
	vertical-align: middle;
	-webkit-transform: translateZ(0);
	transform: translateZ(0);
	box-shadow: 0 0 1px rgba(0, 0, 0, 0);
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
	-moz-osx-font-smoothing: grayscale;
	position: relative;
	-webkit-transition-property: color;
	transition-property: color;
	-webkit-transition-duration: 0.3s;
	transition-duration: 0.3s;
}

nav.primary ul li:before {
	content: "";
	position: absolute;
	z-index: -1;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: #FDE000;
	-webkit-transform: scaleY(0);
	transform: scaleY(0);
	-webkit-transform-origin: 50% 0;
	transform-origin: 50% 0;
	-webkit-transition-property: transform;
	transition-property: transform;
	-webkit-transition-duration: 0.3s;
	transition-duration: 0.3s;
	-webkit-transition-timing-function: ease-out;
	transition-timing-function: ease-out;
}
		
nav.primary ul li:hover, nav.primary ul li:focus, nav.primary ul li:active {
  color: #fff;
}
nav.primary ul li:hover:before, nav.primary ul li:focus:before, nav.primary ul li:active:before {
  -webkit-transform: scaleY(1);
  transform: scaleY(1);
}
				
nav.primary ul li a {
	font-family: 'Oswald', sans-serif;
	display:block;
	color:#fff;
	font-weight:700;
	font-size:20px;
	line-height:18px;
	text-decoration:none;
	padding:20px 17px;
	margin:0;
	text-transform:uppercase;
	-webkit-transition:.3s ease-in;  
	-moz-transition:.3s ease-in;  
	-o-transition:.3s ease-in;  
	transition:.3s ease-in;
}	

nav.primary ul li a:hover {
	color:#000;
	background: #FDE000; 

}


/*  SUB NAV
------------------------------------------------*/
nav.primary ul li li a:link, nav.primary ul li li a:visited{
	font-size: 14px;
	line-height:14px;	
	
	color:#000;
	background: #FDE000;
	width: 210px;
	
	border-right:none;
	border-left:none;
	border-bottom: #fff solid 1px;
}

nav.primary ul li li a:hover,nav.primary ul li li a:active {
	background:#034732;
	color:#fff;
}


/*  OPTIONAL SUB-LEVEL LINKS
------------------------------------------------*/
nav.primary ul li li:last-child  {
}

nav.primary ul li li:last-child a {
	border-bottom:none;
}


/*  NAV DROPDOWNS
------------------------------------------------*/
nav.primary ul ul {
    display: none;
    position: absolute;
	z-index:999;
}
  
nav.primary ul ul ul {
    position: absolute; 
    left: 100%;
    top:0; 
}
  
nav.primary ul li:hover > ul {  
    display: block;
    line-height:18px; 
    z-index: 500;
}
  
nav.primary ul ul li {
    float: none; 
    position: relative;
    margin:0;
}



/*===================== 
	Responsive styles 
=======================*/


@media screen and (max-width: 1600px) {
.hero {min-height: 580px;background:url(../img/slides/nivo/bg-1.jpg) center center no-repeat fixed;} /*---IE Media---*/

}
@media screen and (max-width: 1224px) {
nav.primary ul li a {
	font-size: 18px;
	line-height: 16px;
	padding: 20px 14px;
}	
}
@media screen and (max-width: 1170px) {
.hero {min-height: 480px;} /*---IE Media---*/

.hero-text{text-transform:uppercase;color:#fff;font-size: 24px;font-family: 'Open Sans', sans-serif;font-weight:600;text-shadow: 1px 2px 2px #000;bottom: 35%;position: absolute;left: 5%;} /*---IE Media---*/

.hero-text span{font-size: 68px;font-family: 'Oswald', sans-serif;font-weight:700;color:#ffffff;} /*---IE Media---*/

}
@media screen and (max-width: 1024px) {
nav.primary ul li a {
	font-size: 17px;
	line-height: 16px;
	padding: 20px 14px;
}	
}
@media screen and (max-width: 904px) {
.hero-text span{font-size: 56px;}	/*---IE Media---*/
}
@media screen and (max-width: 983px) {
nav.primary ul li a {
    font-size: 16px;
    line-height: 16px;
    padding: 20px 11px;
}	
}
@media screen and (max-width: 883px) {
nav.primary ul li a {
    font-size: 15px;
    line-height: 16px;
    padding: 20px 8px;
}	
}
@media screen and (max-width: 800px) {
.hero{background:url(../img/slides/nivo/bg-1.jpg)  center center no-repeat; background-size:cover;} /*---IE Media---*/
.hero-text{font-size: 20px;top: 30%;}	/*---IE Media---*/
.testimonials h2{font-size:32px;color:#fff;} /*---IE Media---*/

.testimonials p{font-size:19px;} /*---IE Media---*/
	
	nav.primary{display:none;}
	
	#menu-button{ /* initially will need to be hidden */
		display: block;
		font-size: 28px;
		width:90px;
		position: relative;
		z-index: 400;/* needs to be lower than nav.mobile, adjust as needed */
		padding:10px 0;
		width:100%;
	}
	#menu-button a{
		color:#fff;
		text-decoration: none;
		padding:0 20px;
		float:right;
		font-family: 'Oswald', sans-serif;
		font-weight:700;
	}
	nav.mobile {
		display:block;
		position: fixed;
		top: 0;
		left: -250px;
		width: 250px;
		height: 100%;
		background: #333;
		z-index: 500; /* needs to be higher than #menu-button, adjust as needed */
		overflow:auto;
	}
	nav.mobile h3 { /* Menu header styles */
		position: relative;
		padding: 12px 10px;
		color: #fff;
		font-size: 1.2em;
		font-weight: 400;
		border-bottom: 4px solid #222;
	}
	nav.mobile .menu-toggle { /* Menu close button */
		position: absolute;
		top: 12px;
		right: 10px;
		display: inline-block;
		padding: 6px 9px 5px;
		font-family: Arial, sans-serif;
		font-weight: bold;
		line-height: 1;
		background: #222;
		color: #999;
		text-decoration: none;
		vertical-align: top;
	}
	nav.mobile .menu-toggle:hover {color: #fff;}
	nav.mobile ul {
		list-style: none;
		font-weight: 300;
		border-top: 1px solid #151515;
		border-bottom: 1px solid #454545;
		margin:0;
		padding:0;
	}
	nav.mobile ul li {
		border-top: 1px solid #454545;
		border-bottom: 1px solid #151515;
	}
	nav.mobile ul li a {
		position: relative;
		display: block;
		padding: 15px 0px 15px 20px;
		color: #999;
		font-size:15px;
		text-decoration: none;
	}
	nav.mobile ul li a:hover {background: #000; color: #fff;}
	
	nav.mobile ul li span.click{/* dropdown menu idicator arrow be sure to include this image with your image files */ 
		background:url(../img/arrow.png) 10px 12px no-repeat;
		background-size:55%;
		position:relative;
		display:block;
		float:right;
		margin:-44px 0 0 0;
		cursor:pointer;
		z-index: 12399994;
		width:44px;
		height:44px;
		-webkit-transition:background-size .3s ease-in-out;
		-moz-transition:background-size .3s ease-in-out;
		transition:background-size .3s ease-in-out;
	}
	nav.mobile ul li span.click:hover{background-size:60%;}
}

@media screen and (max-width: 750px) {
.hero-text{font-size: 20px;top: 15%;} /*---IE Media---*/
}

@media screen and (max-width: 615px){

.testimonials h2{font-size:25px;color:#fff;} /*---IE Media---*/

.testimonials p{font-size:17px;}	/*---IE Media---*/

}
@media screen and (max-width: 680px){

.testimonials h2{font-size:25px;color:#fff;} /*---IE Media---*/

.testimonials p{font-size:17px;}	/*---IE Media---*/
.hero-button{width:186px;} /*---IE Media---*/
}
@media screen and (max-width: 530px){


.testimonials h2{font-size:25px;color:#fff;} /*---IE Media---*/

.testimonials p{font-size:17px;} /*---IE Media---*/

}