@font-face {
    font-family: 'fagocotfbold';
    src: url('/Fonts/DrivingFun/fagocotf-bold_16782-webfont.eot');
    src: url('/Fonts/DrivingFun/fagocotf-bold_16782-webfont.eot?#iefix') format('embedded-opentype'),
         url('/Fonts/DrivingFun/fagocotf-bold_16782-webfont.woff') format('woff'),
         url('/Fonts/DrivingFun/fagocotf-bold_16782-webfont.ttf') format('truetype'),
         url('/Fonts/DrivingFun/fagocotf-bold_16782-webfont.svg#fagocotfbold') format('svg');
    font-weight: normal;
    font-style: normal;

}

a { color: #FFF; }

body {
	background-color: #1b1b1b;
	color: #FFF;
	font-family: Arial;
	font-size: 14px;
	line-height: 1.6em;
	text-align: center;
	margin: 0;
	padding: 0;
}

h1 {
	font-family: fagocotfbold;
	font-weight: 100;
	font-size: 62px;
	line-height: 62px;
	color: #e70304;
	padding-bottom: 40px;
}

h2 {
	font-family: fagocotfbold;
	font-weight: 100;
	font-size: 44px;
	color: #383838;
	opacity: 0.9;
}

h3 { color: #c4c4c4; }

fieldset {
	border: none;
	padding: 0;
}

input, textarea {
	background-color: rgba(0, 0, 0, 0.3);
	padding: 8px;
	border: solid 1px rgba(0, 0, 0, 0.5);
	font-family: Arial;
	font-size: 14px;
	color: #FFF;
	box-sizing: border-box;
}

.contourPage { margin: 15px 0 20px 0; }
.contourField { margin-bottom: 12px; }
.input-validation-error { border: solid 1px #e70304; }
.field-validation-error {
	font-size: 12px;
	color: #9d9d9d;
}
.shortanswer input { width: 100%; }
.longanswer textarea {
	width: 100%;
	height: 240px;
}
.contourPage .btn { float: right; }

.btn {
	background-image: url(/Img/DrivingFun/arrow.png);
	background-position: right center;
	background-size: 13px 21px;
	background-color: transparent;
	background-repeat: no-repeat;
	border: none;
	font-size: 14px;
	font-weight: 700;
	padding: 0 26px 0 0;
	height: 21px;
	color: #FFF;
}

.header {
	position: absolute;
	background-color: rgba(253, 0, 1, 0.9);
	top: 0;
	left: 0;
	width: 100%;
	height: 50px;
	padding: 15px 10px;
	box-sizing: border-box;
	text-align: left;
	font-size: 0;
	overflow: hidden;
}

.header a.header-logo {
	background-image: url(/Img/DrivingFun/logo-drivingfun.png);
	background-size: cover;
	width: 149px;
	height: 20px;
	display: inline-block;
	float: left;
}

.header a.header-logo span { display: none; }

.header ul {
	margin: 3px 20px 0 0;
	padding: 0;
	list-style: none;
	float: right;
}
.header ul li {
	float: left;
	margin-left: 30px;
}
.header ul li a {
	background-image: url(/Img/DrivingFun/header-item.png);
	background-size: 8px 13px;
	background-repeat: no-repeat;
	color: #FFF;
	font-family: fagocotfbold;
	font-size: 16px;
	font-weight: 100;
	text-decoration: none;
	padding-left: 20px;
	display: inline-block;
	line-height: 12px;
}
.header ul li a:hover { text-decoration: underline; }

.bg {
	background-image: url(/Img/DrivingFun/bg.jpg);
	background-position: top center;
	background-repeat: no-repeat;
	background-size: 100%;
	padding-top: 100px;
	text-align: left;
}
.bg:after {
  content: '';
  display: block;
  clear: both;
}
.bg-home {
	background-image: url(/Img/DrivingFun/bg-home.jpg);
	padding-top: 420px;
}

.constrained {
	margin: 0 auto;
	width: 1200px;
}
.constrained:after {
  content: '';
  display: block;
  clear: both;
}

.content-two-column h2 {
	float: left;
	width: 40%;
	text-align: right;
	padding-right: 40px;
	box-sizing: border-box;
}

.content-two-column .content {
	float: left;
	width: 55%;
	margin-top: 16px;
}

.row {
	display: flex;
	margin-bottom: 20px;
}
.row:after {
  content: '';
  display: block;
  clear: both;
}

.row.row-xl .panel { height: 700px; }
.row.row-l .panel { height: 500px; }
.row.row-m .panel { height: 400px; }
.row.row-s .panel { height: 300px; }
.row.row-xs .panel { height: 200px; }

.column { flex: 1; }

.panel {
	margin: 0 3%;
	padding: 0 30px 34px 30px;
	box-sizing: border-box;
	background-size: cover;
	text-align: left;
	position: relative;
}
.panel h1 {
	font-size: 26px;
	line-height: 26px;
	padding: 34px 0 16px 0;
}
.panel p { padding-bottom: 0; }

.link-list {
	padding: 0 0 0 16px;
}

.panel-link {
	position: absolute;
	text-align: right;
	bottom: 30px;
	right: 30px;
}
.panel-link a {
	padding-right: 26px;
	background-position: right center;
	background-size: 13px 21px;
	background-repeat: no-repeat;
	font-weight: 700;
	line-height: 21px;
	display: inline-block;
}

.panel-academy {
	background-image: url(/Img/DrivingFun/panel-academy-bg.jpg);
	background-position: center center;
	background-size: cover;
	background-repeat: no-repeat;
	background-color: #000000;
	color: #FFFFFF;
}
.panel-academy h1 { color: #FFFFFF; }
.panel-academy a { color: #FFFFFF; }
.panel-academy .panel-link a {
	background-image: url(/Img/DrivingFun/panel-academy-arrow.png);
	color: #FFFFFF;
}

.panel-amring {
	background-image: url(/Img/DrivingFun/panel-amring-bg.jpg);
	color: #2d2d2d;
}
.panel-amring h1 {
	background-image: url(/Img/DrivingFun/panel-amring-logo.png);
	background-size: auto 86px;
	background-position: top center;
	background-repeat: no-repeat;
	width: 220px;
	height: 86px;
	padding: 0;
	position: relative;
	top: 30px;
	margin-bottom: 50px;
}
.panel-amring h1 span { display: none; }
.panel-amring .panel-link a {
	background-image: url(/Img/DrivingFun/panel-amring-arrow.png);
	color: #FFF;
}

.panel-businessclub {
	background-image: url(/Img/DrivingFun/panel-businessclub-bg.jpg);
	background-size: 100% auto;
	background-repeat: no-repeat;
	background-color: #0b0b0b;
}
.panel-businessclub h1 {
	color: #ceae2d;
	position: relative;
	top: 240px;
	margin-bottom: 260px;
}
.panel-businessclub .logo-businessclub {
	background-image: url(/Img/DrivingFun/panel-businessclub-logo.png);
	background-position: center center;
	background-repeat: no-repeat;
	background-size: auto 80px;
	width: 100%;
	height: 80px;
	margin-top: 40px;
}
.panel-businessclub .panel-link a {
	background-image: url(/Img/DrivingFun/panel-businessclub-arrow.png);
	color: #FFF;
}

.panel-coureurvooreenuur {
	background-color: #3c3c3c;
	background-image: url(/Img/DrivingFun/panel-coureurvooreenuur-bg-top.jpg), url(/Img/DrivingFun/panel-coureurvooreenuur-bg-bottom.jpg);
	background-position: center top, bottom center;
	background-repeat: no-repeat;
	background-size: 100%;
}
.panel-coureurvooreenuur h1 {
	background-image: url(/Img/DrivingFun/panel-coureurvooreenuur-logo.png);
	background-size: auto 76px;
	background-position: top center;
	background-repeat: no-repeat;
	width: 100%;
	height: 76px;
	position: relative;
	top: 40px;
	margin-bottom: 60px;
}
.panel-coureurvooreenuur h1 span { display: none; }
.panel-coureurvooreenuur .panel-link a {
	background-image: url(/Img/DrivingFun/panel-coureurvooreenuur-arrow.png);
	color: #313131;
}

.panel-droomautodag {
	background-image: url(/Img/DrivingFun/panel-droomautodag-bg.jpg);
	color: #2d2d2d;
}
.panel-droomautodag h1 {
	background-image: url(/Img/DrivingFun/panel-droomautodag-logo.png);
	background-size: auto 107px;
	background-position: top center;
	background-repeat: no-repeat;
	width: 100%;
	height: 107px;
	position: relative;
	top: 30px;
	margin-bottom: 20px;
}
.panel-droomautodag h1 span { display: none; }
.panel-droomautodag .panel-link a {
	background-image: url(/Img/DrivingFun/panel-droomautodag-arrow.png);
	color: #ed1f4a;
}

.panel-forum {
	background-image: url(/Img/DrivingFun/panel-forum-bg.jpg);
}
.panel-forum h1 { color: #FFF; }
.panel-forum .panel-content { padding-top: 80px; }
.panel-forum .panel-link a {
	background-image: url(/Img/DrivingFun/panel-forum-arrow.png);
	color: #FFF;
}

.panel-racing {
	background-image: url(/Img/DrivingFun/panel-racing-bg.jpg);
	background-position: center bottom;
	background-size: 100% auto;
	background-repeat: no-repeat;
	background-color: #e5e8ef;
	color: #2d2d2d;
}
.panel-racing h1 { color: #0c5081; }
.panel-racing a { color: #0c5081; }
.panel-racing .panel-link a {
	background-image: url(/Img/DrivingFun/panel-racing-arrow.png);
	color: #0c5081;
}

.panel-trackdays { background-image: url(/Img/DrivingFun/panel-trackdays-bg.jpg); }
.panel-trackdays h1 { color: #dc0303; }
.panel-trackdays .panel-content { width: 75%; }
.panel-trackdays .panel-link a {
	background-image: url(/Img/DrivingFun/panel-trackdays-arrow.png);
	color: #FFF;
}

.panel-dsl {
	background-color: #040b1a;
	background-image: url(/Img/DrivingFun/panel-dsl-bg.jpg);
	background-position: center top;
	background-size: 100% auto;
	background-repeat: no-repeat;
}
.panel-dsl h1 { display: none; }
.panel-dsl .panel-content { padding-top: 140px; }
.panel-dsl .panel-link a {
	background-image: url(/Img/DrivingFun/panel-dsl-arrow.png);
	color: #FFF;
}

.calendar { margin-top: 40px; }
.calendar ul {
	margin: 0;
	padding: 0;
	list-style: none;
}
.calendar ul li { clear: both; }
.calendar ul li div.date {
	background-color: #dc0303;
	font-family: fagocotfbold;
	text-align: center;
	width: 60px;
	height: 60px;
	padding-top: 10px;
	float: left;
	box-sizing: border-box;
}
.calendar ul li div.date .day { font-size: 32px; }
.calendar ul li p {
	float: left;
	margin-left: 22px;
	color: #7b7b7b;
	margin-top: 8px;
}
.calendar ul li p a { text-decoration: none; }
.calendar ul li p a:hover { text-decoration: underline; }
.calendar ul li p strong {
	font-size: 20px;
	font-weight: 100;
	color: #FFF;
}

.counters {
	background-color: rgba(0, 0, 0, 0.4);
	padding: 30px 0;
	margin: 30px 0;
	clear: both;
}
.counters:after {
  content: '';
  display: block;
  clear: both;
}
.counter {
	background-position: top center;
	background-size: 80px auto;
	background-repeat: no-repeat;
	width: 16%;
	margin: 0 2%;
	float: left;
	font-family: fagocotfbold;
	text-align: center;
}
.counter-events { background-image: url(/Img/DrivingFun/counter-events.png); }
.counter-rentalcars { background-image: url(/Img/DrivingFun/counter-rentalcars.png); }
.counter-clients { background-image: url(/Img/DrivingFun/counter-clients.png); }
.counter-circuits { background-image: url(/Img/DrivingFun/counter-circuits.png); }
.counter-time { background-image: url(/Img/DrivingFun/counter-time.png); }

.counter .counter-data {
	font-size: 22px;
	padding-top: 100px;
}
.counter .counter-description {
	font-size: 18px;
	color: #5c5c5c;
	margin-top: 6px;
}

.footer {
	background-color: #0d0d0d;
	clear: both;
	padding: 40px;
	margin-top: 60px;
}
.footer:after {
  content: '';
  display: block;
  clear: both;
}

.footer ul {
	margin: 0;
	padding: 0;
	list-style: none;
	float: right;
}

.footer ul li {
	float: left;
	margin-left: 30px;
}

.footer ul li a { color: #6a6a6a; }
.footer ul li a:hover { color: #888888; }

/* TABLET & MOBILE */
@media only screen and (max-width: 1240px) {
	.body .constrained {
		padding: 0 20px;
		box-sizing: border-box;
	}

	h1 {
		padding-bottom: 0;
	}

	h2 {
		text-align: left;
		margin-right: 0;
		clear: both;
		width: 100%;
	}

	.constrained {
		margin: 0 auto;
		width: 100%;
		padding: 0 20px;
		box-sizing: border-box;
	}

	.panel-businessclub h1 {
		top: 200px;
		margin-bottom: 220px;
	}

	.content-two-column h2 {
		clear: both;
		width: 100%;
		text-align: left;
		padding-right: 0;
		margin: 20px 0;
	}

	.content-two-column .content {
		width: 100%;
		margin-top: 0;
	}

	.counters { text-align: left; }
	.counter {
		clear: both;
		float: none;
		background-position: 20px 0;
		background-size: 60px 60px;
		width: 100%;
		height: 60px;
		text-align: left;
		margin: 0 0 30px 0;
	}
	.counter .counter-data { padding: 5px 0 0 100px; }
	.counter .counter-description { padding: 0 0 0 100px; }
}

/* TABLET */
@media only screen and (min-width: 700px) and (max-width: 1240px) {
	body {
	}

	.bg-home { padding-top: 300px; }

	.panel {
		padding: 0 20px 20px 20px;
		font-size: 0.9em;
	}
}

/* MOBILE */
@media only screen and (max-width: 700px) {
	body {
	}

	h1 {
		font-size: 40px;
		line-height: 40px;
	}

	h2 {
		font-size: 30px;
		margin-bottom: 10px;
	}

	.header a.header-logo { width: 45px; }
	.header ul li { margin-left: 15px; }
	.header ul li a { font-size: 14px; }

	.bg { padding-top: 80px; }
	.bg-home { padding-top: 200px; }

	.constrained { padding: 0 10px; }

	.row { display: block; }

	.panel {
		padding: 0 15px 20px 15px;
		font-size: 0.9em;
	}
}

h1 { transition: all 0.5s ease; }
h2 { transition: all 0.5s ease; }
.header-logo { transition: all 0.5s ease; }
.constrained { transition: all 0.5s ease; }
.bg { transition: all 0.5s ease; }
.panel { transition: all 0.5s ease; }
