html, body {
	height: 100%;
	font-family: 'Open Sans', sans-serif;
	margin: 0;
	padding: 0;
}
body {
	background: #3f3f3f url('../../img/bg.png') no-repeat center -90px;
}

#wrapper {
	width: 90%;
	max-width: 900px;
	margin: 0 auto;
	height: 100%;
}

header h1 {
	font-family: 'Inconsolata', monospace;
	font-size: 3em;
	margin: 1em 0;
	padding: 0;
	color: #e7b142;
}

#cwrapper {
	height: 100%;
	box-sizing: border-box;
}

#content {
	min-height: 100%;
	background: white;
	box-shadow: 0 0 10px rgba(0,0,0,0.75);
	position: relative;
	box-sizing: border-box;
	padding: 20px 20px 20px;
}

h1, h2, h3 {
	font-family: 'Inconsolata', monospace;
}
#content h1::before,
#content h2::before,
#content h3::before {
	content:"> ";
}

h1 a {
	color: inherit;
	text-decoration: inherit;
}

table {
    border-spacing: 0;
    width: 100%;
}
td, th {
    border-bottom: 1px solid #AAA;
    padding: 8px 5px
}

.teamlist a {
    padding: 1em;
    display: inline-block;
}
.datesTable td:first-child {
	white-space: nowrap;
}

.sheduleTable {
	margin-top:10px
}

footer {
	position: relative;
	left: 0;
	width: 100%;
	box-sizing: border-box;
	padding: 0 10px 20px;
	display: flex;
	justify-content: space-evenly;
	align-items: center;
	background: white;
	flex-wrap: wrap;
	flex-direction: row;
}
footer h1 {
	order: -1;
	flex: 1 0 100%;
	text-align: center;
}
footer div {
	background: no-repeat center center /contain;
	margin: 0 10px;
}
footer .vw {
	background-image: url('../../img/sponsor-vw.png');
	height: 80px;
	width: 80px;
}
footer .ibeo {
	background-image: url('../../img/sponsor-ibeo.png');
	height: 50px;
	width: 130px;
}
footer .nxp {
	background-image: url('../../img/sponsor-nxp.png');
	height: 50px;
	width: 138px;
}
footer .basler {
	background-image: url('../../img/sponsor-basler.png');
	height: 50px;
	width: 160px;
}
footer .bosch {
	background-image: url('../../img/sponsor-bosch.png');
	height: 85px;
	width: 170px;
}
footer .etas {
	background-image: url('../../img/sponsor-etas-new.png');
	height: 50px;
	width: 130px;
}
footer .aid {
	background-image: url('../../img/sponsor-aid.png');
	height: 50px;
	width: 158px;
}
footer .tuhh {
	background-image: url('../../img/tuhh.png');
	height: 50px;
	width: 155px;
}
footer .e-gnition {
	background-image: url('../../img/teams/e-gnition.png');
	height: 50px;
	width: 155px;
}
footer .contact {
	width: 100%;
	text-align: center;
	margin-top: 15px;
}

.bigalert {
    font-weight: bold;
    text-align: center;
    font-size: 3em;
    color: red;
}

.alert {
    text-align: center;
    font-size: 2em;
    color: red;
}

@media only screen and (max-width: 340px) {
	header h1 {
		font-size: 2.5em;
	}
	#cwrapper {
		padding-top: 210px;
	}
}


nav {
	flex-wrap: wrap;
	flex-direction: row;
	display: flex;
	overflow: hidden;
	justify-content: space-around;
	margin: -20px -20px 0 -20px;
}
nav > a {
	text-align: center;
	padding: 14px 16px;
	color: black;
	flex: 1;
	border-bottom: 1px solid #3f3f3f;
	text-decoration: none;
	transition: all 0.2s ease-out;
}
nav > a:hover {
  border-bottom: 5px solid #e7b142;
  padding-bottom: 10px;
}
