@font-face {
	font-family: 'BMWType_Bold';
	src: url('../font/BMWRgBd.eot' );
	src: local('?'),
		url('../font/BMWRgBd.woff') format('woff'),
		url('../font/BMWRgBd.ttf') format('truetype');
	font-weight: normal;
	font-style: normal;
}

@font-face {
	font-family: 'BMWType_Light';
	src: url('../font/bmwtypewebli.eot' );
	src: local('?'),
		url('../font/bmwtypewebli.woff') format('woff'),
		url('../font/bmwtypewebli.ttf') format('truetype');
	font-weight: normal;
	font-style: normal;
}

body {
	margin: 0;
	padding: 0;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 100%;
	color: #363636;
}

input,
select {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 100%;
}

h1 {
	font-size: 2em;
	font-family: BMWType_Light;
	font-weight: 400;
	border-bottom: 1px solid #e6e6e6;
	padding: 0 0 0.5em 0;
	margin: 0;
}

h1 span {
	color: #999;
	font-size: 70%;
	display: block;
}

.cf:before,
.cf:after {
	content: "";
	display: table;
}

.cf:after {
	clear: both;
}

.cf {
	zoom: 1;
}

input,
select {
	background-color: #fff;
}

input[type=checkbox] {
	display: none;
}

input[type=checkbox]+label {
	display: inline-block;
	padding-left: 24px;
	position: relative;
	margin: 0.5em 0;
	cursor: pointer;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box; 
}

input[type=checkbox]+label:before {
	content: "";
	width: 16px;
	height: 16px;
	position: absolute;
	top: 50%;
	margin-top: -9px;
	left: 0;
	background: #FFF;
	border-radius: 4px;
	-webkit-border-radius: 4px;
	border: 1px solid #666;
}

input[type=checkbox]+label:hover:before {
	background: #CCC;
}

input[type=checkbox]:checked+label:after {
	content: "";
	width: 10px;
	height: 10px;
	position: absolute;
	top: 50%;
	margin-top: -5px;
	left: 4px;
	background: #1c69d4;
	border-radius: 2px;
	-webkit-border-radius: 2px;
}

a,
a:visited {
	color: #1c69d4;
	text-decoration: none;
}

a:hover,
a:active,
a:focus {
	color: #000;
}

.banner {
	padding-top: 50px;
  /*background: url(../img/bg.jpg) no-repeat center top;*/
	position: relative;
	max-width: 1000px;
	margin: auto;
}
/*
.banner:after {
	position: absolute;
	top: 0;
	right: 1%;
	background: url(../img/id_moduls.png) no-repeat center center;
	width:187px;
	height: 95px;
	content: "";
}
*/
.search {
	max-width: 1000px;
	margin: auto;
	padding: 0 2%;

	position: relative;
	margin-top: 1em;
	overflow: hidden;
	
	-webkit-transform-style: preserve-3d;
	-webkit-perspective: 1000px;
}

.intro {
	width: 55%;
	overflow: hidden;
	position: absolute;
	top: 5em;
	right: 2%;
	
	-webkit-transition: all 350ms ease-in-out;
	-moz-transition: all 350ms ease-in-out;
	-ms-transition: all 350ms ease-in-out;
	-o-transition: all 350ms ease-in-out;
	transition: all 350ms ease-in-out;
	-webkit-transform-origin: top right;
	-webkit-transform-style: preserve-3d;
	-webkit-perspective: 1000px;
}

.intro.searched {
	opacity: 0;
	-webkit-transform: rotateY(-90deg);
}

.footer {
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box; 
	max-width: 1000px;
	margin: 40px auto;
	padding: 0;
	font-size: 80%;
	color: #999;
	border-top: 1px solid #DDD;
	padding-top: 20px;
	text-align: right;
}

.options {
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box; 
	padding: 10px 2%;
	margin-top: 1.5em;
	background: #EEE;
	border: 1px solid #B0B0B0;

	width: 35%;
	float: left;
	
	background: #fefefe;
	background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2ZlZmVmZSIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNkZGRkZGQiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
	background: -moz-linear-gradient(top,  #fefefe 0%, #dddddd 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#fefefe), color-stop(100%,#dddddd));
	background: -webkit-linear-gradient(top,  #fefefe 0%,#dddddd 100%);
	background: -o-linear-gradient(top,  #fefefe 0%,#dddddd 100%);
	background: -ms-linear-gradient(top,  #fefefe 0%,#dddddd 100%);
	background: linear-gradient(to bottom,  #fefefe 0%,#dddddd 100%);
}

.options.searched {
	margin-left: 0;
}

.options .search-tag {
	display: none;
}

@media all and (max-width: 600px) {
	.options .search-tag {
		position: absolute;
		content: "";
		bottom: -70px;
		right: 2%;
		background: #333 url(../img/search.png) no-repeat center 30px;
		width: 50px;
		height: 70px;
		border-radius: 0 0 5px 5px;
		z-index: 10;
	}
	.options.searched .search-tag {
		display: block;
	}
}

.options h2 {
	display: inline-block;
	width: 25%;
	margin: 0;
	font-family: BMWType_Bold;
	font-size: 100%;
	font-weight: 600;
}

.options label {
	margin: 0 0 0 1%;
	width: 32%;
	font-family: BMWType_Light;
	font-weight: 400;
	display: inline-block;
}

.map {
	width: 30%;
	float: left;
	position: relative;
}

.map img {
	width: 200px;
}


.field {
	margin: 0 0 1.5em 0;
}

.field select {
	width: 70%;
}

.btn {
	color: #363636;
	background: transparent;
	border: 0;
	padding: 10px 15px;
	margin: 0;
	text-decoration: underline;
	cursor: pointer;
	
	-webkit-appearance: none;
}

.btn:active,
.btn:focus {
	outline: none;
}

.btn:hover {
	color: #1c69d4;
}

.btn.main {
	color: #fff;
	background: #1c69d4;
	text-decoration: none;
	
	background: #1c69d4; /* Old browsers */
	background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzFjNjlkNCIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiMwMDM4YWQiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
	background: -moz-linear-gradient(top,  #1c69d4 0%, #0038ad 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#1c69d4), color-stop(100%,#0038ad)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #1c69d4 0%,#0038ad 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #1c69d4 0%,#0038ad 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #1c69d4 0%,#0038ad 100%); /* IE10+ */
	background: linear-gradient(to bottom,  #1c69d4 0%,#0038ad 100%); /* W3C */
}

.btn.main:hover {
	background: #006BFF;
	
	background: #0038ad; /* Old browsers */
	background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzAwMzhhZCIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiMxYzY5ZDQiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
	background: -moz-linear-gradient(top,  #0038ad 0%, #1c69d4 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#0038ad), color-stop(100%,#1c69d4)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #0038ad 0%,#1c69d4 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #0038ad 0%,#1c69d4 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #0038ad 0%,#1c69d4 100%); /* IE10+ */
	background: linear-gradient(to bottom,  #0038ad 0%,#1c69d4 100%); /* W3C */
}

.actions {
	padding-left: 33%;
}

/* Results */

.results {
	margin-top: 1.3em;
	width: 55%;
	overflow: hidden;
	float: right;
	opacity: 0;
	-webkit-perspective: 1000px;
	-webkit-transition: all 350ms ease-in-out;
	-moz-transition: all 350ms ease-in-out;
	-ms-transition: all 350ms ease-in-out;
	-o-transition: all 350ms ease-in-out;
	transition: all 350ms ease-in-out;
	-webkit-transform: rotateY(-85deg);
	-webkit-transform-origin: top left;
	-webkit-transform-style: preserve-3d;
}

.results.searched {
	opacity: 1;
	-webkit-transform: rotateY(0);
}

.results h3 {
	font-family: BMWType_Light, Arial, sans-serif;
	font-size: 180%;
	font-weight: normal;
	margin: 0;
}

.results h3 span {
	display: block;
	font-size: 70%;
	color: #999;
}

.results ul {
	list-style-type: none;
	padding: 0;
	margin: 0;
}

.results ul li {
	margin: 0.5em 0;
	padding: 1em 0;
	border-top: 1px solid #DDD;
	font-size: 90%;
	overflow: hidden;
	
	-webkit-transition: all 250ms ease-in-out;
	-moz-transition: all 250ms ease-in-out;
	-ms-transition: all 250ms ease-in-out;
	-o-transition: all 250ms ease-in-out;
	transition: all 250ms ease-in-out;
}

.results ul li h3 {
	font-family: BMWType_Bold;
	font-weight: 400;
	font-size: 110%;
	margin: 0;
}

.results ul li .field {
	margin: 0.5em 0;
}

.results ul li .field .label {
	color: #999;
}

.field .label,
.field .value {
	display: inline-block;
}

@media all and (max-width: 1050px) {

	.actions {
		padding-left: 0;
		text-align: right;
	}

}

@media all and (max-width: 850px) {

	.options {
		width: 35%;
	}

	.options h2 {
		display: block;
	}
	
	.options label {
		width: 45%;
	}
	
	.results {
		width: 55%;
	}
	
	.field select {
		width: 100%;
	}

}

@media all and (max-width: 750px) {

	.options {
		min-width: 235px;
	}

}

@media all and (max-width: 600px) {
/*
	.banner {
		padding-top: 100px;
		background-size: cover;
		background-image: url(../img/bg-small.jpg);
	}
*/
	.intro {
		display: none;
	}

	.options,
	.results {
		padding: 0;
		margin: 0;
		top: 0;
		left: 0;
		width: 100%;
		max-width: 100%;
		position: relative;
	}
	
	.options {
		border-radius: 0;
		padding: 10px 4%;
		margin-bottom: 20px;
	}

	.options h2 {
		display: inline-block;
	}
	
	.options label {
		width: 31%;
	}
	
	.field select {
		width: 65%;
	}
	
	.actions {
		text-align: right;
	}

}
