/* -------------------------------- 

Primary style

-------------------------------- */
/*overides style-nav.css*/
.cd-main-content {
	margin-bottom: 0;
}
.heading-space{ margin-bottom: 0; margin-top: 0.8em; text-align:center;}
small {font-size: 13px; font-style: italic;}
@media only screen and (min-width: 1024px){
	.cd-main-content {
		margin-bottom: 0;
	}	
}
body, html {
  /* important */
  height: 100%;
}
/*----------------------
 OVERRIDE STYLESHEET FOR NAV or iPhone cannot scroll
------------------------*/
.cd-main-nav {
	z-index: 0;
}
/* -------------------------------- 

Main components 

-------------------------------- */

.cd-main-content {
	/* you need to assign a min-height to the main content so that the children can inherit it*/
	height: 100%;
	position: relative;
	z-index: 1;
	margin-top:50px;
	overflow-x: initial;
}
@media only screen and (min-width: 1024px) {
	.cd-main-content{
		margin-top:80px;
	}
}
.cd-fixed-bg {
	position: relative;
	min-height: 100%;
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center center;
	z-index: 1;
}
.cd-fixed-bg h1, .cd-fixed-bg h2 {
	position: absolute;
	left: 50%;
	top: 45%;
	bottom: auto;
	right: auto;
	-webkit-transform: translateX(-50%) translateY(-50%);
	-moz-transform: translateX(-50%) translateY(-50%);
	-ms-transform: translateX(-50%) translateY(-50%);
	-o-transform: translateX(-50%) translateY(-50%);
	transform: translateX(-50%) translateY(-50%);
	width: 90%;
	max-width: 1170px;
	text-align: center;
	font-size: 30px;
	font-size: 1.875rem;
	text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
	color: white;
}
.cd-fixed-bg h2:nth-of-type(2){
	top: 56%;
	font-size: 13px;
	text-transform: capitalize;	
}
.cd-fixed-bg.cd-bg-1 {
	background-image: url("../img/slides/aq-background-1.jpg");
}
.cd-fixed-bg.cd-bg-2 {
	background-image: url("../img/slides/aq-background-2.jpg");
}
.cd-fixed-bg.cd-bg-3 {
	background-image: url("../img/slides/aq-background-3.jpg");
}
.cd-fixed-bg.cd-bg-4 {
	background-image: url("../img/slides/aq-background-4.jpg");
}
.cd-fixed-bg.cd-bg-5 {
	background-image: url("../img/slides/aq-background-3.jpg");
}
@media only screen and (min-width: 768px) {
	.cd-fixed-bg h1, .cd-fixed-bg h2, .cd-fixed-bg h2:nth-of-type(2) {
		font-size: 36px;
	}
	.cd-fixed-bg h2:nth-of-type(2) {
		top: 55%;
		font-size: 30px;
	}
}
@media only screen and (min-width: 1170px) {
	.cd-fixed-bg {
		background-attachment: fixed;
	}
	.cd-fixed-bg h1, .cd-fixed-bg h2 {
		font-size: 48px;
		font-weight: 300;
	}
}

.cd-scrolling-bg {
	position: relative;
	min-height: 50%; /*uncomment for full screen text panels */
	padding: 4em 0;
	line-height: 1.6;
	box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
	z-index: 2;
}
.cd-scrolling-bg.cd-color-1 {
	background-color: #925771;
	color: #FFF;
}
.cd-scrolling-bg.cd-color-2 {
	background-color: #394680;
	color:#FFF;  
}
.cd-scrolling-bg.cd-color-3 {
	background-color: #a13d31;
	color: #FFF;
}
.cd-scrolling-bg.cd-color-4 {
	background-color: #fdbf5c;
	color: #333;
}
.cd-scrolling-bg.cd-color-5 {
	background-color: #7F5A40;
	color: #fff;
}
.headlinewrap {
	font-size: 0rem;
	margin: 0px 15%;
	padding: 0;
	max-width: 600px;
	max-height: 632px;
	background-color: rgba(255, 255, 255, 0.70);
}
.headlinewrap img {
	max-height: 240px;
	padding: 10px;
}
#intro img{
	width: 100%;
	height: 100%;
	max-width: 500px;
}
#analysis table{
	width:100%;
}
#analysis table thead{
	text-align:center;
}
#analysis table tbody tr{
	border:1px #333 solid;
	background-color: #fff3b2;
}
#analysis table tbody td{
	padding-left:20px;
}

@media only screen and (min-width: 768px) {
	.cd-scrolling-bg {
		padding: 8em 0;
		line-height: 2;
		font-weight: 300;
	}
	.headlinewrap {
		font-size: 0rem;
		margin: 0 auto;
	}
	.headlinewrap img {
		max-height: 506px;
		width: 50%;
	}
}

