/*--------------------------------------------------------------
# Global Styles
--------------------------------------------------------------*/
.section-bg {
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    
}

h1, h1 + p {
	margin: 0;
}

h2 {
	font-weight: 300;
	text-transform: uppercase;
}

.data-statistics span {
	line-height: 1;
}

.data-statistics .count,
.data-statistics .prefix,
.data-statistics .suffix {
	display: inline-block;
    font-size: 3em;
}

.data-statistics .label {
	display: block;
	font-style: italic;
    font-weight: 300;
}

section {
	text-align: center;
}

section p:first-of-type {
    margin-top: 0;
}

/*--------------------------------------------------------------
# Header Styles
--------------------------------------------------------------*/
body.single-casestudy header.entry-header {
    padding-bottom: 15%;
    padding-top: 8%;
}


header.entry-header h1, header.entry-header h1 + p {
	color: #fff;
}


/*--------------------------------------------------------------
# Content Styles
--------------------------------------------------------------*/
#section-1 > .container,
#section-3 > .row.container {
    box-shadow: 1px -10px 10px -5px rgba(0,0,0,.25);
}

/* Section 1 */
#section-1 .container {
    background-color: #fff;
    padding: 2%;
    position: relative;
}

#section-1 h2 {
	color: #00a2df;
	font-weight: 400;
	line-height: 1.25;
	margin-bottom: 15px;
	margin-top: 0;
}

#section-1 ul {
	list-style-position: inside;
	margin: 0;
	padding-left: 0;
}

#section-1 .col:nth-child(-n+2) {
	display: inline-block;
	vertical-align: top;
}

#section-1 .col:nth-child(2) p {
	margin-bottom: 0;
}

#section-1 .col:nth-child(2) li {
	margin-bottom: 10px;
	margin-top: 10px;
}


/* Section 2 */
#section-2 {
	color: #fff;
	padding-bottom: 6%;
	padding-top: 1%;
}

#section-2 > .container > h2 {
	text-transform: capitalize;
}

#section-2 .col {
    text-align: center;
}


/* Section 3 */
#section-3 {
	position: relative;
}

#section-3.section-bg {
	background-position: center top;
	background-size: auto 325px;
}

#section-3 h2 {
	margin-top: 0;
}

#section-3 .container:first-child {
    background-color: #fff;
    padding: 2% 0 0 2%;
    position: relative;
}

#section-3 > .container:last-child {
	margin-bottom: 8%;
	margin-top: 3%;
    text-align: center;
}

#section-3 .container:last-child h2 {
	color: #00a2df;
	font-weight: 400;
	line-height: 1.25;
	text-align: center;
}

#section-3 .container:last-child h2 > small {
	color: initial;
    display: block;
    font-weight: 300;
}

#section-3 .data-statistics {
	text-align: center;
}


/* Section 4 */
#section-4 {
	color: #fff;
	padding-bottom: 2.5%;
	padding-top: 1%;
	text-align: center;
}

#section-4 .col {
	vertical-align: top;
}

#section-4 h2 {
	margin: 0;
}

/* Section 5 */

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

#section-5 .row > .col {
	vertical-align: top;
}

/* Section 6 */
#section-6 {
	background-color: #00a2df;
	color: #fff;
	padding-bottom: 5%;
	padding-top: 5%;
	text-align: center;
}

#section-6 .row > .col {
	vertical-align: top;
}

#section-6 h2 {
	margin: 0;
}

/* Section 6 */
#section-7 {
	padding-bottom: 5%;
	padding-top: 5%;
	text-align: center;
}

#section-7 h2 {
	text-transform: capitalize;
}


/*--------------------------------------------------------------
# Media Query
--------------------------------------------------------------*/
@media screen and ( max-width: 1023px ) {
	section {
		text-align: center;
	}

	#section-4 > .row.data-statistics > .col {
		margin-bottom: 10%;
	}
	#section-3 .col:last-child > img {
	    max-width: unset;
	    height: 350px;
	    width: auto;
	}
}

@media screen and ( min-width: 1024px ) {
	section {
		text-align: left;
	}

	#section-1 .col:nth-child(1) {
		max-width: calc( 70% - 35px );
	}

	#section-1 .col:nth-child(2) {
		max-width: calc( 25% - 35px );
	}
	
	#section-1 .col:nth-child(2){
		padding-left: 25px;
		border-left: 1px solid #ccc;
	}

	#section-1 .col:nth-child(2) hr {
		margin: 5px 0;
	}

	#section-2 .row.container.data-statistics {
	    margin-bottom: 35px;
	}

	#section-3 .row.container:first-child > .col {
	    max-width: calc(50% - 35px);
	    vertical-align: top;
	}

	#section-3 .col:last-child > img {
		max-width: unset;
	}

	/* Section-4 */
	#section-4 .row:not(.data-statistics) > header.col {
		max-width: calc( 40% - 35px );
	}
	#section-4 > .row:not(.data-statistics) > .col {
		max-width: calc( 60% - 35px );
	}

	#section-4 > .row.data-statistics > .col {
		width: calc(100%/4 - 35px);
	}
	
	/* Section 5 */
	#section-5 .row > .col:first-child {
		max-width: calc( 60% - 35px );
	}
	#section-5 .row > .col:last-child {
		max-width: calc( 40% - 35px );
	}

	#section-5 .row > .col:last-child > img {
		max-width: unset;
	}

	#section-5 .data-statistics {
		margin-top: 10%;
	}

	/* Section-6 */
	#section-6 .row:not(.data-statistics) > header.col {
		max-width: calc( 40% - 35px );
	}
	#section-6 > .row:not(.data-statistics) > .col {
		max-width: calc( 60% - 35px );
	}

	#section-6 > .row.data-statistics > .col {
		width: calc(100%/4 - 35px);
	}

	#section-1 .row.container {
	    margin-bottom: 2.5%;
	    margin-top: -150px;
	}

	#section-3 .row.container {
	    margin-top: -100px;
	}

	#section-3 .col:last-child {
	    margin-top: -90px;
	}

	#section-3 .data-statistics .col {
	    margin-bottom: 10%;
	    margin-top: 10%;
	    min-width: calc( 50% - 35px);
	}

	#section-4 > .row:not(.data-statistics) > .col:not(header) {
	    margin-top: -100px;
	}

	#section-6 {
	    max-height: 750px;
	    margin-bottom: 5%;
	}

	#section-6 .row > .col:first-child {
	    margin-left: -200px;
	}

	#section-6 > .row:not(.data-statistics) > .col:not(header) {
	    margin-top: -250px;
	}
}

@media screen and ( min-width: 1025px ) and ( max-width: 1399px ) {
	#section-2 .container  {
		padding-left: 25px;
		padding-right: 25px;
	}
}

@media screen and ( min-width: 1400px ) {
	#section-3.section-bg {
		background-position: center 125px;
		background-size: 100% auto;
	}

}

