/*--------------------------------------------------------------
# Global Styles
--------------------------------------------------------------*/
h2 {
	font-weight: 300;
	font-size: 2em;
}

h3 {
	font-weight: 400;
	font-size: 1.5em;
	margin-bottom: 15px;
	margin-top: 15px;
	text-transform: uppercase;
}

.content-area {
	overflow: hidden;
}

a.phone-number, a.cta-button {
	white-space: nowrap;
}

.owl-item {
    padding: 5px;
}


/*--------------------------------------------------------------
# Header Styles
--------------------------------------------------------------*/
body:not(.home):not(.single-post) header.entry-header {
	padding-bottom: 15%;
	padding-top: 8%;
}

h1, h1 + p {
	color: #fff;
	line-height: 1;
}



/*--------------------------------------------------------------
# Content Styles
--------------------------------------------------------------*/
section {
	text-align: center;
}

#section-1 .container {
	-webkit-box-shadow: 0 -10px 10px -5px rgba(0,0,0,.75);
	        box-shadow: 0 -10px 10px -5px rgba(0,0,0,.75);
}

#section-1 .container,
#section-4 .container {
    position: relative;
    padding: 25px;
}

#section-1 h2 {
	border-bottom: 3px solid #00a2df;
	line-height: 1.25;
	margin-bottom: 20px;
	margin-top: 0;
	padding-bottom: 15px;
}

#section-2,
#section-4,
#section-6,
#section-8 {
    background-color: #00a2df;
    padding-bottom: 5%;
    padding-top: 2.5%;
}

#section-2 h2 {
	color: #fff;
}

#section-2 .col {
	margin: 0;
    padding: 15px;
    vertical-align: top;
}

#section-2 .col > .wrapper,
#section-5 .col {
	background-color: #fff;
	-webkit-box-shadow: 0 0 10px -5px rgba(0,0,0,.35);
	        box-shadow: 0 0 10px -5px rgba(0,0,0,.35);
    min-height: 385px;
    padding: 25px;
}

#section-2 .col p {
	margin-bottom: 0;
}

#section-2 .fa-3x {
	line-height: 0;
}

#section-3 .container {
	border-bottom: 1px solid #eee;
}

#section-3 ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

#section-3 li {
    margin: 15% 5%;
}


#section-3 li svg {
	display: block;
	margin: 0 auto 15px auto;
}

#section-4 {
	background-color: #00a2df;
	text-align: center;
}

#section-4 h2 {
	border-bottom: 3px solid #fff;
	line-height: 1.25;
	margin-bottom: 20px;
	margin-top: 0;
	padding-bottom: 15px;
}

#section-4 h2:first-child, #section-4 h2:first-child + p {
    border: none;
}

#section-4 h2:first-child {
	margin: 0;
	padding: 0;
}

#section-4 h2:first-child + p {
	margin-top: 0;
}

#section-4 h2, #section-4 p,
#section-6 h2, #section-6 p {
	color: #fff;
}


#section-4 h2:first-child + p + h2 {
	font-size: 22px;
}

#section-5 {
	padding-bottom: 5%;
	padding-top: 5%;
}

#section-5 .col {
	padding-bottom: 0;
	vertical-align: top;
}

#section-5 .fa-tablet-alt {
    margin-left: 10px;
}

#section-6 {
	padding-bottom: 2.5%;
}

#section-6 hr {
	background-color: #fff;
}

#section-7 {
	padding-top: 5%;
	padding-bottom: 5%;
}

#section-7 h2 {
	margin-bottom: 0;
}

#section-7 p {
	line-height: 1.25;
	margin-bottom: 15px;
	margin-top: 0;
}

#section-7 a.cta-button {
	color: #fff;
}

#section-7 a.cta-button:hover {
	border: 2px solid #00a2df;
	color: #00a2df;
}

#section-8 {
    padding-left: 5%;
    padding-right: 5%;
}

#section-8 > h2 {
    color: #fff;
}

#section-8 .featured > div {
    position: relative;
    text-align: center;
}

#section-8 .portfolio-item {
    display: inline-block;
    padding: 5px;
    position: relative;
    vertical-align: top;
}

#section-8 .portfolio-item h2 {
    background-color: rgba(0,0,0,.75);
    color: #fff;
    font-size: 1em;
    font-weight: 300;
    height: calc(100% - 6px);
    left: 0;
    margin: 0;
    opacity: 0;
    position: absolute;
    text-align: center;
    top: 0;
    -webkit-transition: opacity .5s ease-in-out 0s;
    -o-transition: opacity .5s ease-in-out 0s;
    transition: opacity .5s ease-in-out 0s;
    width: 100%;
}

#section-8 .portfolio-item h2:hover {
    opacity: 1;
}

#section-8 .portfolio-item,
#section-8 .portfolio-item img {
	width: 100%;
}

#section-8 .portfolio-item a {
    color: #fff;
    display: block;
    height: 100%;
}

#section-8 .featured .portfolio-item a {
    padding-top: 25%;
}

#section-8 .other .portfolio-item a {
    padding-top: 25%;
}




/*--------------------------------------------------------------
# @Media Styles
--------------------------------------------------------------*/

@media screen and ( min-width: 1024px ) {
	#section-1 {
		padding-bottom: 5%;
	}

	#section-1 .container {
	    background-color: #fff;
	    padding: 2% 0 0 2%;
	    -webkit-transform: translateY(-100px);
	        -ms-transform: translateY(-100px);
	            transform: translateY(-100px);
	}

	#section-1 h2, #section-1 p {
	    max-width: 57%;
	}

	#section-1 img {
	    position: absolute;
	    right: -5%;
	    top: -50px;
	}

	#section-2 {
	    margin-bottom: 350px;
	    max-height: 700px;
	}

	#section-2 .col {
	    max-width: calc(100% / 3);
		max-width: auto;
	}

	#section-3 {
		padding-bottom: 20%;
		padding-left: 10%;
		padding-right: 10%;
	}

	#section-4 h2 {
	    max-width: 40%;
	}

	#section-4 p {
	    max-width: 60%;
	}

	#section-4 h2:first-child, #section-4 h2:first-child + p {
	    position: absolute;
	    color: inherit;
	}

	#section-4 h2:first-child {
		font-size: 48px;
		font-weight: 400;
		top: -200px;
		min-width: 100%;
	}

	#section-4 h2:first-child + p {
		font-size: 38px;
		font-weight: 300;
		line-height: 1;
	    top: -135px;
	}

	#section-4 img {
	    position: absolute;
	    right: 5%;
	    top: -200px;
	}

	#section-5 .col {
	    max-width: calc(100%/2 - 35px);
	}

	#section-8 .featured.col-1 {
		-webkit-columns: 1;
		        columns: 1;
	}

	#section-8 .featured.col-2 {
		-webkit-columns: 2;
		        columns: 2;
	}

	#section-8 .featured.col-3 {
		-webkit-columns: 3;
		        columns: 3;
	}

	#section-8 .featured.col-4 {
		-webkit-columns: 4;
		        columns: 4;
	}

	#section-8 .featured > .portfolio-item {
		display: block;
	}
}

@media screen and (min-width: 768px) and ( max-width: 1023px ) {
	#section-2 .col {
	    max-width: calc(100% / 2);
	}
	
	#section-8 .featured > .portfolio-item {
		display: inline-block;
		max-width: 350px;
	}
}

@media screen and (min-width: 768px) {
	#section-3 li {
		display: inline-block;
	    margin: 5%;
	}

	#section-1, #section-4 {
		text-align: left;
	}

	#section-4 h2:first-child + p + h2 {
		font-size: 2em;
	}

	#section-5 header {
		margin-bottom: 5%;
	}

	#section-7 > .container {
		padding-left: 5%;
		padding-right: 5%;
	}

	#section-7 h2 {
		font-size: 34px;
	}

	#section-7 .col {
	    vertical-align: middle;
	    display: table-cell;
	}

	#section-7 .col:first-child {
		width: calc(1400px - 400px);
		text-align: left;
	}

	#section-7 .col:last-child {
		text-align: center;
	}

	#section-8 .portfolio-item {
        /*margin: 10px;*/
    }

    #section-8 .portfolio-item h2 {
        font-size: 1.25em;
    }

}


@media screen and (max-width: 767px) {
	#section-3 {
		padding-bottom: 0;
	}

	#section-5 .col {
		margin: 15px 0;
	}

	#section-7 .phone-number {
	    line-height: 1.6;
	    font-size: 1.5em;
	}
}

@media screen and ( min-width: 1400px ) {
	#section-3 {
		padding-bottom: 12% !important;
	}

	#section-4 h2:first-child {
		top: -250px;
	}

	#section-4 h2:first-child + p {
		top: -175px;
	}

	#section-5 > .container,
	#section-6 > .container {
		padding-left: 5%;
		padding-right: 5%;
	}
}