/* GLOBAL STYLES
-------------------------------------------------- */
/* Padding below the footer and lighter body text */

body {
	padding-bottom: 40px;
	color: #5a5a5a;
	font-size: 12px;
	background-color: #f5f5f5;
}


#header {
	position: relative;
	width: 100%;
	max-width: 998px;
	margin: 0 auto;
	border-bottom: 5px solid #000000;
	margin-bottom: 20px;
}

#header img {width: 100%;}

.container {
	background-color: #fff;
	max-width: 998px !important;
}

footer p {
	padding: 20px;
	font-size: 0.8em;
}



/* MARKETING CONTENT
-------------------------------------------------- */

/* Center align the text within the three columns below the carousel */
.marketing .span4 {
  text-align: center;
}
.marketing h2 {
  font-weight: normal;
}
.marketing .span4 p {
  margin-left: 10px;
  margin-right: 10px;
}


/* Featurettes
------------------------- */
.featurette-heading {
	font-size: 30px;
}

.featurette-divider {
  margin: 30px 0; /* Space out the Bootstrap <hr> more */
}
.featurette {
  padding-left: 20px;
  padding-bottom: 20px;  
  padding-top: 60px; /* Vertically center images part 1: add padding above and below text. */
  overflow: hidden; /* Vertically center images part 2: clear their floats. */
}
.featurette-image {
  margin-top: -60px; /* Vertically center images part 3: negative margin up the image the same amount of the padding to center it. */
}

/* Give some space on the sides of the floated elements so text doesn't run right into it. */
.featurette-image.pull-left {
  margin-right: 40px;
}
.featurette-image.pull-right {
  margin-left: 40px;
}

/* Thin out the marketing headings */
.featurette-heading {
  font-size: 50px;
  font-weight: 300;
  line-height: 1;
  letter-spacing: -1px;
}

/* RESPONSIVE CSS
-------------------------------------------------- */
@media (max-width: 979px) {
	.featurette {
		height: auto;
		padding: 0 20px;
	}
	.featurette-image {
		display: block;
		float: none;
		max-width: 40%;
		margin: 0 auto 20px;
	}
}

@media (max-width: 767px) {
	.marketing .col-sm-4 {
		text-align: center;
	}

	.featurette-image {
		display: none;
	}
	
	.marketing .col-sm-4 + ..col-sm-4 {
		margin-top: 40px;
	}

	.featurette-heading {
		font-size: 30px;
	}
	
	.featurette .lead {
		font-size: 18px;
		line-height: 1.5;
	}
}