/*--------------------------------------------------------------
# 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 > .row.container {
	box-shadow: 0 -5px 10px -5px rgba(0,0,0,.5)
}

#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 {
	font-weight: 400;
	line-height: 1.25;
	text-align: center;
	text-transform: capitalize;
}

#section-1 .container:last-child h2 > small {
	color: #00a2df;
    display: block;
    font-weight: 300;
	text-transform: uppercase;
}


/* 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 {
    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 .content {
    background-color: #fff;
    box-shadow: 0 0 10px -5px rgba(0,0,0,.75);
    padding: 25px;
}

#section-4 ul {
	margin:0;
	text-align: left;
}

#section-4 ul 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 h2 {
	font-weight: 400;
}

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

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

	#section-4 .container {
		padding: 5% 0 10% 0;
	}

	#section-4 .content {
	    margin: 25px 15px;
	}

	#section-4 ul > li {
		margin-bottom: 15px;
	}

}

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

	#section-1 > .row.container {
	    max-height: 450px;
	}

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

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

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

	#section-1 .container:last-child h2 small {
		font-size: 28px;
	}

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

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

	#section-4 {
	    max-height: 1000px;
	    margin-bottom: 250px;
	}

	#section-4 .col {
		margin: 0;
	}

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

	#section-4 li {
	    margin-bottom: 30px;
	}

	#section-5 .row.container:first-child {
		position: relative;
	}

	#section-5 .row.container:first-child > .col {
		vertical-align: middle;
	}

	#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: 1200px ) {
	#section-1 .row.container:first-child {
	    margin-top: -100px;
	}


	#section-4 {
	    max-height: 600px;
	    margin-bottom: 250px;
	}

	#section-4 .content {
	    margin-top: 100px;
	}

	#section-4 .row.container .col:first-child {
		text-align: left;
	    width: calc(100% - 825px);
	}

	#section-4 .row.container .col:last-child {
	    max-width: calc( 100% - 610px );
	}
}


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

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

	#section-5 .row.container:first-child > .col:first-child {
		margin-left: -200px;
	    width: calc(100% - 600px);
	}

	#section-5 .row.container:first-child > .col:last-child  {
	    max-width: calc( 100% - 650px );
	}

	#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 .row:not(.data-statistics) .col:last-child > img {
	    max-width: unset;
	    height: 350px;
	    width: auto;
	}

}

@media screen and ( min-width: 1400px ) {
	#section-5 .row.container:first-child > .col:first-child {
	    width: calc(100% - 435px);
	}

	#section-5 .row.container:first-child > .col:last-child  {
	    max-width: calc( 100% - 900px );
	}

	#section-5 .row.container:first-child > .col:first-child {
		margin-left: -250px;
	}

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