/*
 * TABLE OF CONTENTS
 * -----------------
 * 1. Header
 * 2. Top box
 * 3. About
 * 4. Testimonials
 * 5. Services
 * 6. Freebies
 * 7. Blog Posts
 * 8. Contact
 */

/* 1. Header */
header#home {
  height: auto;
  min-height: 475px;
  padding: 25px 0;
  -webkit-clip-path: polygon(0 0, 100% 0, 100% 100%, 0 95%);
	clip-path: polygon(0 0, 100% 0, 100% 100%, 0 95%);
}
header#contentPage {
   padding: 25px 0 50px 0;
   height: 100px;
 }
 header h1 {
   color: #fff;
 }
#blurb {
  padding-top: 47.5px;
  text-align: center;
  color: #fff;
}
#blurb p {
  margin-top: 40px;
  font-size: 18px;
}
#blurb a {
  display: inline-block;
  padding: 15px 25px;
  margin-top: 40px;
  border: 1px solid #fff;
  color: #fff;
}
#blurb a:hover {
  background: #00a550;
  border: 1px solid #00a550;
}

/* 2. Top Box */
#top-box {
	margin-top: 75px;
}
.top-box-module {
	background: #00adf1;
	text-align: center;
	color: #fff;
	padding: 0 15px;
	font-size: 16px;
	height: 300px;
}
.top-box-module .icon {
	margin-bottom: 10px;
	font-size: 32px;
}
.top-box-module h3 {
	margin-bottom: 10px;
	color: #fff;
}
.top-box-module ul li {
	text-align: left;
}
.top-box-content {
	position: relative;
	top: 50%;
	-webkit-transform: translateY(-50%);
	-ms-transform: translateY(-50%);
	transform: translateY(-50%);
}

/* 3. About */
#about {
	height: 550px;
	margin-top: 75px;
	background: #e5e5e5;
  font-size: 1.2em;
}
.about-image {
	background: url('../img/home/about-picture.png');
	background-attachment: scroll;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	height: 550px;
}
.about-content {
	padding: 0 30px;
	height: 550px;
}
.about-content  p {
	position: relative;
	top: 50%;
	-webkit-transform: translateY(-50%);
	-ms-transform: translateY(-50%);
	transform: translateY(-50%);
}

/* 4. Testimonials */
#testimonials {
	width: 100%;
	background-color: #5C686F;
	font-family: 'Lato', sans-serif;
  text-align: center;
	color: #fff;
}
#carousel {
  padding: 25px 0;
}
.carousel-indicators { margin: 0 0 15px 0; }
.carousel-main {
  width: 100%;
}
.carousel-item {
  padding: 0 0 15px 0;
}
.carousel-item i {
  margin-bottom: 20px;
  color: #aeb4b7;
}

/* 5. Services */
#services {
	padding-top: 25px;
  margin-top: 50px;
	text-align: center;
}
#services h2 {
	display: inline-block;
	padding-bottom: 35px;
	border-bottom: 4px solid #ef018d;
  margin-bottom: 35px;
}
#services h3 a { color: #333333; } #services h3 a:hover { color: #00a650; }
.services-module {
	margin-bottom: 75px;
}
.services-content i {
	margin-bottom: 15px;
	font-size: 28px;
}
.section-icon {
	color: #00a650;
}
.services-content h3 {
	margin-bottom: 15px;
	font-size: 22px;
}
.services-content p {
	font-size: 18px;
}
.services-module.last {
	margin-bottom: 0;
}

/* 6. Freebies */
#freebies {
	margin-top: 75px;
	padding: 25px 0;
	background: #ec008c;
	font-size: 22px;
	color: #fff;
}
#freebies p {
  margin-top: 10px;
  text-align: left;
}
#freebies a {
	display: block;
	padding: 12.5px 5px 15px 0;
	-webkit-border-radius: 5px 5px 5px 5px;
	border-radius: 5px 5px 5px 5px;
	color: #fff;
	text-align: center;
	font-size: 18px;
	border: 1px solid #fff;
}
#freebies a:hover {

}

/* 7. Blog Posts */
#blog {
	padding-top: 75px;
}
#blog h2 {
	display: inline-block;
	padding-bottom: 35px;
	border-bottom: 4px solid #ef018d;
  line-height: 42px;
}
#blog h3 {
  margin-top: 35px;
	margin-bottom: 15px;
}

/* 8. Contact */
#contact {
	height: 500px;
  padding: 0;
	margin-top: 75px;
	background: #eee;
}
.contact-container {
	height: 100%;
	width: 100%;
	position: relative;
	top: 0; left: 0;
}
.map {
	height: 100%;
	width: 100%;
	position: relative;
	top: 0; left: 0;
	display: block;
}
#contact-details {
	position: absolute;
	top: 25px; left: 0;
	height: 450px;
	background: #fff;
	z-index: 5;
	text-align: center;
	font-size: 16px;
}
.contact-details {
	position: relative;
	top: 50%;
	-webkit-transform: translateY(-50%);
	-ms-transform: translateY(-50%);
	transform: translateY(-50%);
}
#contact h3 {
	font-size: 24px;
}
#contact address {
	margin-top: 15px;
}
#contact .contact-btn {
	display: inline-block;
	padding: 10px 15px;
	border: 1px solid #27292C;
	background-color: #27292C;
	margin-top: 20px;
	margin-bottom: 20px;
}
#contact .contact-btn:hover {
	border: 1px solid #42454A;
	background-color: #42454A;
}
#contact a.contact-btn {
	color: #fff;
}
#contact .social-btn {
	display: inline-block;
	padding: 10px 15px;
	border: 1px solid #42454A;
	background-color: #fff;
	margin-top: 20px;
}
#contact a.social-btn {
	color: #42454A;
}
#contact a.social-btn:hover {
	border: 1px solid #27292C;
	color: #27292C;
}
