/*--------------------------------------------------------------
# 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;
}


/*--------------------------------------------------------------
# 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 */
#section-1 .container:first-child {
    background-color: #fff;
    padding: 2% 0 0 2%;
    position: relative;
}

#section-1 > .container:last-child {
    padding-left: 2.5%;
}

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

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


/* Section 2 */
#section-2 .row {
	position: relative;
}

#section-2 .col:first-child {
    background-color: #fff;
    padding: 25px;
    vertical-align: middle
}

#section-2 .col:last-child {
    width: 400px;
    margin-bottom: 0;
    vertical-align: bottom;
}

#section-2 .col:last-child img {
	margin-bottom: -7px;
}


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


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

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

#section-4 h2 {
	margin: 0;
}

#section-4 ul {
    background-color: #fff;
    -webkit-box-shadow: 1px 1px 10px -5px rgba(0,0,0,.25);
            box-shadow: 1px 1px 10px -5px rgba(0,0,0,.25);
    display: block;
    margin: 35px auto 0;
    padding: 15px 5%;
    text-align: left;
    /*max-width: 900px;*/
}

#section-4 ul > li {
	display: block;
	margin-bottom: 25px;
	margin-top: 25px;
}

#section-4 ul > li > .fa-chevron-right {
	color: #00a2df;
	margin-right: 15px;
}

#section-4 ul > li > svg > path {
	fill: #00a2df;
}


/* Section 5 */
#section-5 {
	text-align: center;
}

#section-5 .col h2, #section-5 .col p, #section-5 .col span {
	color: #fff;
}

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

#section-5 header h2 {
	font-weight: 400;
}

#section-5 > .section-content {
	background-color: #00a2df;
}

#section-5 .data-statistics {
    padding-top: 2.5%;
    padding-bottom: 2.5%;
}

#section-5 .data-statistics > .col {
    vertical-align: middle;
}

#section-5 .data-statistics .label {
	font-style: italic;
}

#section-5 .data-statistics .count {
    font-size: 3em;
}


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

#section-6 .data-statistics {
    padding-top: 2.5%;
    padding-bottom: 2.5%;
}

#section-6 .data-statistics > .col {
    vertical-align: middle;
}

#section-6 .data-statistics .label {
	font-style: italic;
}



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


#section-7 {
	color: #fff;
}

#section-7 .data-statistics {
    padding-top: 2.5%;
    padding-bottom: 2.5%;
}

#section-7 .data-statistics > .col {
    vertical-align: middle;
}

#section-7 .data-statistics .count,
#section-7 .data-statistics .prefix,
#section-7 .data-statistics .suffix {
    font-size: 3em;
}


/*--------------------------------------------------------------
# Media Query
--------------------------------------------------------------*/
@media screen and ( max-width: 1023px ) {
	.section-bg {
	    background-position: center top;
	    background-repeat: no-repeat;
	    background-size: auto 70%;
	}

	#section-1 .container:last-child h2 {
		margin-bottom: 225px;
	}

	#section-2 .container {
		display: -webkit-box;
		display: -ms-flexbox;
		display: flex;
		-webkit-box-orient: vertical;
		-webkit-box-direction: normal;
		    -ms-flex-flow: column nowrap;
		        flex-flow: column nowrap;
		padding: 0;
	}

	#section-2 .col:first-child {
		-webkit-box-ordinal-group: 2;
		    -ms-flex-order: 1;
		        order: 1;
	}

	#section-2 .col:last-child {
	    -webkit-box-ordinal-group: 1;
	        -ms-flex-order: 0;
	            order: 0;
	    max-width: 300px;
	    margin: -200px auto;
	}

}

@media screen and ( min-width: 1024px ) {
	#section-1 .row.container:first-child > .col,
	#section-5 .row.container:first-child > .col,
	#section-6 .row.container:first-child > .col,
	#section-7 .row.container:first-child > .col {
	    max-width: calc(50% - 90px);
	    vertical-align: top;
	}

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

	#section-1 .container:last-child h2 {
	    font-size: 48px;
	    margin: 5% 15px;
	    text-align: left;
	}

	#section-2 .col:first-child {
	    padding: 0 20% 25px 5%;
	    max-width: 80%;
	    margin-top: 10%;
	    margin-bottom: 10%;
	}

	#section-2 .col:last-child {
	    position: absolute;
	    bottom: 0;
	    right: 0;
	}

	#section-4 {
	    max-height: 350px;
	}
/*	
	#section-5 .row.container:first-child,
	#section-6 .row.container:first-child,
	#section-7 .row.container:first-child {
	    -webkit-columns: 2;
	            columns: 2;
	}
*/
	#section-5 .data-statistics > .col {
	    max-width: calc(100%/4 - 35px);
	    vertical-align: top;
	}

	#section-5 .data-statistics .count,
	#section-6 .data-statistics .count,
	#section-7 .data-statistics .count {
	    font-size: 3.5em;
	}

	#section-6 .data-statistics > .col,
	#section-7 .data-statistics > .col {
	    max-width: calc(100%/3 - 35px);
	    vertical-align: top;
	}
}

@media screen and ( min-width: 1025px ) and ( max-width: 1399px ) {

	#section-1 .col:last-child > img {
	    max-width: unset;
	    height: 350px;
	    width: auto;
	}

	#section-4 {
	    margin-bottom: 50px;
	}

	#section-5 .col:last-child > img {
	    max-width: unset;
	    height: 350px;
	    width: auto;
	}

	#section-6 .col:last-child > img {
	    max-width: unset;
	    height: 350px;
	    width: auto;
	}

	#section-7 .col:last-child > img {
	    max-width: unset;
	    height: 350px;
	    width: auto;
	}

}

@media screen and ( min-width: 1400px ) {
	#section-1 .row.container:first-child {
	    margin-top: -100px;
	}

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

	#section-2 .col:first-child {
		padding-right: 10%;
	}

	#section-5 .row.container:not(.data-statistics) .col:last-child,
	#section-7 > .row.container > .col:last-child {
	    margin-top: -90px;
	}
}
