body {
	font-family: "Roboto Condensed", "Arial Narrow", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	font-size: 14px;
	margin: 0;
	background: #000;
}

h1, h2, h3, h4, h5, h6, a {
	color: #fff;
}

a {
	color: #fff;
}

.pure-g [class*=pure-u] {
	font-family: "Roboto Condensed", "Arial Narrow", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}



/**** YouTube Video ****/

* { box-sizing: border-box; }
.video-background {
	background: #000;
	position: fixed;
	top: 0; right: 0; bottom: 0; left: 0;
	z-index: -99;
}
.video-foreground,
.video-background iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	pointer-events: none;
}

@media (min-aspect-ratio: 16/9) {
	.video-foreground { height: 300%; top: -100%; }
}
@media (max-aspect-ratio: 16/9) {
	.video-foreground { width: 300%; left: -100%; }
}



/**** Elements ****/

#allover {
	background: rgba(0,0,0,0.2);
	color: #fff;
	position: fixed;
    top: 0px;
    left: 0px;
	min-width: 100%;
	max-width: 100%;
	min-height: 100%;
    max-height: 100%;
	overflow-y: auto;
}

.wrapper {
    margin-left: auto;
    margin-right: auto;
	padding: 0 1em;
    max-width: 1180px;
}

#main {
	margin-top: 8em;
}

	#header {
		font-size: 1.6em;
	}
		#header h1 {
			margin: 0.4em 0;
			font-weight: normal;
			font-size: 18px;
			padding-bottom: 10px;
		}
		#header img {
			height: 70px;
			margin: 0 0.2em;
		}
	
	#heroes {
		background: rgba(255, 255, 255, 0.9);
		color: #000;
		font-size: 0.8em;
		padding: 1em 0 1em 0;
	}
		#heroes img {
			max-width: 85%;
		}
		#heroes .pure-g {
			display: table;
			vertical-align: top;
		}
		#heroes .pure-g .pure-u-1 {
			display: table-cell;
			vertical-align: middle;
			text-align: center;
		}
		#heroes .pure-g .pure-u-1.e-arrow, #heroes .pure-g .pure-u-1.e-plus {
			vertical-align: middle;
		}
			#heroes .pure-g .pure-u-1.e-arrow {
				text-align: left;
				width: 17.5%
			}
			#heroes .pure-g .pure-u-1.e-arrow img {
				max-width: 95%;
				max-height: 120px;
			}
			#heroes .pure-g .pure-u-1.e-plus img {
				max-height: 50px;
			}
		#heroes .e-allover, #heroes .e-jpc, #heroes .e-rm {
			width: 12%;
		}
		#heroes .e-arrow {
			text-align: left !important;
			vertical-align: top !important;
		}
		#heroes a {
			display: block;
			text-decoration: none;
			font-weight: bold;
			text-align: center;
			font-size: 1.2em;
		}
		#heroes .e-jpc a {
			color: #133055;
		}
		#heroes .e-rm a {
			color: #20819f;
		}
		#heroes .e-scoop {
			text-align: left !important;
		}
			#heroes .e-scoop a {
				color: #558e45;
			}
			#heroes .e-scoop img {
				margin: 0.5em 0;
			}
		#heroes .e-ppj a {
			color: #998b96;
		}
			#heroes .e-ppj img {
				width: 80%;
			}
		#heroes .desc {
			text-transform: uppercase;
			text-align: left;
			margin-bottom: 10px;
			font-size: 1.2em;
		}
	
	#services {
		line-height: 1.4em;
		font-size: 1em;
		margin-top: 20px;
	}
		#services .lisere {
			padding: 0 20px 0 10px;
		}
		#services .e-jpc .lisere {
			border-left : 2px solid #005295;
		}
		#services .e-rm .lisere {
			border-left : 2px solid #20819f;
		}
		#services .e-scoop .lisere {
			border-left : 2px solid #056839;
		}
		#services .e-ppj .lisere {
			border-left : 2px solid #f5ee31;
		}
		#services ul {
			padding-left: 10px;
			margin-top: 0;
		}
		#services hr {
			height: 1px;
			color: #fff;
			background-color: #fff;
			border: none;
		}
		#services .address {
			font-size: 0.9em;
			line-height: 1.3em;
		}
		#services a.textlink {
			text-decoration: none;
			font-weight: bold;
			padding-top: 0.5em;
			display: block;
		}

#footer {
	position: relative;
	background: #fff;
    width: 100%;
	padding: 10px 30px;
	margin-top: 40px;
	display: table;
}

	#footer .left {
		text-align: left;
		display: table-cell;
		vertical-align: middle;
	}
		#footer .left img {
			max-width: 100px;
			max-height: 45px;
			margin: 0 5px;
		}
	#footer .right {
		text-align: right;
		display: table-cell;
		vertical-align: middle;
	}
		#footer .right img {
			max-height: 25px;
		}
		#footer .contact {
			line-height: 1.2em;
			font-size: 1.2em;
			padding: 0 1.5em;
		}
		#footer .contact a {
			color: #000;
			text-decoration: none;
		}



/**** Responsive ****/

@media screen and (max-device-width: 800px) {
	html {
		background: url(../images/background.jpg) #000 no-repeat center center fixed;
		-webkit-background-size: cover;
		-moz-background-size: cover;
		-o-background-size: cover;
		background-size: cover;
	}
	.video-background {
		display: none;
	}
}

@media all and (max-width: 800px) {
	.wrapper {
		max-width: 95%;
	}
	
	#main {
		margin-top: 1.5em;
		text-align: center;
	}
	
	#header {
		font-size: 1em;
	}
		#header img {
			max-width: 90%;
			height: auto;
		}
	
	#heroes {
	}
		#heroes .www {
			display: none;
		}
		#heroes .pure-g {
			display: inline-block;
			width: auto !important;
		}
		#heroes .pure-g .pure-u-1 {
			display: inline-block;
			margin: 1.2em 0;
		}
		#heroes .e-arrow, #heroes .e-plus {
			display: none !important;
		}
		#heroes .e-allover, #heroes .e-jpc, #heroes .e-rm {
			width: 33%;
		}
		#heroes .e-scoop, #heroes .e-ppj {
			width: 49%;
		}
	
	#services {
		display: none;
	}

	#footer {
		position: relative;
		bottom: unset;
		left: unset;
		height: auto;
	}
		#footer .left, #footer .right {
			display: block;
			float: none;
			width: 100%;
			text-align: center;
			margin: 1.5em 0;
		}
		#footer .contact {
			display: block;
			margin: 1.5em;
		}
}