BODY {
	font-family: Verdana;
	font-size: 1em;
	margin: 0;
	padding: 0;
}

DIV.wrapper {
	text-align: center;
	max-width: 1280px;
	margin: 0 auto;
}

H3 {
	font-size: 1.2em;
	font-weight: bolder;
}

INPUT {
	border: 1px solid black; 
}
INPUT[type='submit'] {
	border: 1px solid black; 
	border-radius: 5px;
	background: white;	
	color: black;
	font-weight: bolder;
	cursor: pointer;
	padding: 5px;
	margin-top: 10px;
}
INPUT[type='submit']:hover {
	background: lightgreen;
}

A:link, A:visited {
	font-size: 1em;
	color: black;
}
HEADER {
	position: fixed;
	top: 0;
	overflow: visible;
	background: white;
	margin: 0 auto;
}
@media screen and (max-width: 1185px) {
	HEADER {
		position: relative;
	}
}

NAV {
	margin: 10px;
}
NAV UL LI {
	display: inline;
}
@media screen and (max-width: 490px) {
	NAV UL LI {
		display: list-item;
	}
	SPAN.lineDiv {
		display: none;
	}
}

DIV.bikeLift {
}
/*--
@media screen and (max-width: 800px) {
	DIV.bikeLift {
		display: none;
	}
}
--*/
Div.bikeLift A {
	font-size: .9em;
}

DIV.logo {
	display: inline-block;
	box-sizing: border-box;
	vertical-align: middle;
	font-weight: bolder;
}
DIV.info {
	display: inline-block;
	box-sizing: border-box;
	vertical-align: middle;
	margin-right: 46px;
	margin-left: 46px;
}
DIV.tels {
	display: inline-block;
	box-sizing: border-box;
	vertical-align: middle;
}
DIV.string {
	display: inline-block;
	width: 30%;
	vertical-align: top;
	margin-bottom: 20px;
	margin-left: 5px;
	margin-right: 5px;
}
@media screen and (max-width: 1024px) {
	DIV.string {
		width: 90%;
	}
}

DIV.lineElement {
	display: inline-block;
	vertical-align: middle;
	margin: 10px;
}
@media screen and (max-width: 400px) {
	DIV.lineElement {
		margin: 0;
	}
}

DIV.doubleLink {
	display: inline-block;
	vertical-align: middle;
}

H3.onlyWide {
}

/* ---------- Gallery ---------- */
DIV.gallery {
	width: 850px;
	margin: auto;
}
DIV.galleryUnit {
	display: inline-block;
	vertical-align: middle;
/*	width: 400px;
	height: 286px; */
	margin: 10px;
}
@media screen and (max-width: 840px) {
	DIV.gallery {
		width: 420px;
	}
}
@media screen and (max-width: 420px) {
	DIV.gallery {
		display: none;
	}
	DIV.galleryUnit {
		display: none;
	}
	H3.onlyWide {
		display: none;
	}
}

DIV.mainBike {
	display: inline-block;
	vertical-align: middle;
	margin: 10px;
	width: 500px;
	height: 400px;
	background: url(/service/KTM-MS.jpg) no-repeat;
}
@media screen and (max-width: 1170px) {
	DIV.mainBike {
		width: 320px;
		height: 256px;
		background: url(/service/KTM-MS-320.jpg) no-repeat;
	}
}
DIV.ktmBike {
	display: inline-block;
	vertical-align: middle;
	margin: 10px;
	width: 500px;
	height: 400px;
	background: url(/service/KTM-MS.jpg) no-repeat;
}
@media screen and (max-width: 1170px) {
	DIV.ktmBike {
		width: 320px;
		height: 256px;
		background: url(/service/KTM-MS-320.jpg) no-repeat;
	}
}
DIV.HDmoto {
	display: inline-block;
	vertical-align: middle;
	margin: 10px;
	width: 500px;
	height: 400px;
	background: url(/img/hd500.jpg) no-repeat;
}
@media screen and (max-width: 1170px) {
	DIV.HDmoto {
		width: 320px;
		height: 256px;
		background: url(/img/hd320.jpg) no-repeat;
	}
}

DIV.mainBike2 {
	display: inline-block;
	vertical-align: middle;
	margin: 10px;
	width: 510px;
	height: 410px;
}
@media screen and (max-width: 1170px) {
	DIV.mainBike2 {
		width: 320px;
		height: 256px;
	}
}
DIV.yandexMap {
	display: inline-block;
	vertical-align: middle;
	margin: 10px;
	width: 500px;
	height: 400px;
	background: url(https://static-maps.yandex.ru/1.x/?l=map&size=500,400&ll=37.573627,55.844556&spn=0.01,0.01&pt=37.573627,55.844556,pm2rdm) no-repeat;
}
@media screen and (max-width: 1110px) {
	DIV.yandexMap {
		width: 400px;
		height: 300px;
		background: url(https://static-maps.yandex.ru/1.x/?l=map&size=400,300&ll=37.573627,55.844556&spn=0.01,0.01&pt=37.573627,55.844556,pm2rdm) no-repeat;
	}
}
@media screen and (max-width: 400px) {
	DIV.yandexMap {
		width: 320px;
		height: 320px;
		background: url(https://static-maps.yandex.ru/1.x/?l=map&size=320,320&ll=37.573627,55.844556&spn=0.01,0.01&pt=37.573627,55.844556,pm2rdm) no-repeat;
	}
}

/* --- Этот класс для контейнера, который не следует показывать при разрешении экрана менее 640 пикселей --- */
.something {
}
@media screen and (max-width: 640px) {
	.something {
		display: none;
	}
}

DIV.unit {
	display: inline-block;
	width: 40%;
	vertical-align: bottom;
	margin: 50px;
}
@media screen and (max-width: 640px) {
	DIV.unit {
		width: 90%;
		margin: 10px;
	}
}
DIV.brand {
	display: inline-block;
	box-sizing: border-box;
	width: 100px;
	height: 100px;
	margin: 50px;
}
@media screen and (max-width: 640px) {
	DIV.brand {
		margin: 10px;
	}
}

/* иконка снежиники и ссылка "открыта запись на зминее хранение!" */
DIV.icon {
	float: left;
	margin: 20px;
}
DIV.action {
	margin: 60px;
}
@media screen and (max-width: 440px) {
	DIV.action {
		margin: 40px;
	}
}

DIV.list {
	display: inline-block;
	box-sizing: border-box;
	vertical-align: top;
	width: 30%;
	margin-left: 5px;
	margin-right: 5px;
}
@media screen and (max-width: 700px) {
	DIV.list {
		width: 90%;
	}
}

DIV.frame {
	border: 1px solid black;
	background-color: lightgrey;
	padding: 20px;
}
DIV.space {
	height: 200px;
}
@media screen and (max-width: 1185px) {
	DIV.space {
		display: none;
	}
}

A.telephone {
	text-decoration: none;
	font-size: 2em;
	font-weight: bolder;
}
@media screen and (max-width: 1280px) {
	A.telephone {
		font-size: 1.5em;
	}
}

TABLE.priceList {
	max-width: 1024px;
	margin: 10px auto;
}
TABLE.priceList TR TD {
	padding: 3px;
}

TR.tableTitle {
	font-weight: bolder;
	background-color: darkgrey;
	color: white;
}
TR.lgString {
	background-color: lightgray;
}
TD.rightBold {
	text-align: right;
	font-weight: bolder;
}
TD.leftAlign {
	text-align: left;
}

.smallText {
	font-size: 0.75em;
}
.largeText {
	font-size: 1.5em;
	font-weight: bolder;
	margin: 75px;
}
@media screen and (max-width: 640px) {
	.largeText {
		font-size: 1.2em;
		margin: 20px;
	}
}

SPAN.redStar {
	color: red;
	font-size: .6em;
	vertical-align: super;
}

.centralText {
	font-size: .75em;
	font-weight: bolder;
}
.redText {
	font-size: .75em;
	font-weight: bolder;
	color: red;
}
.title {
	font-size: 1.2em;
	font-weight: bolder;
}
.ctext {

}
.good {
	font-size: 1em;
	color: green;
	font-weight: bolder;
}
.error {
	color: red;
	font-weight: bolder;
}
DIV.articleText {

}
DIV.vacancyText {
	text-align: left;
}
.bold {
	font-weight: bolder;
}
DIV.vacancyImg {
	float: right;
}
@media screen and (max-width: 640px) {
	DIV.vacancyImg {
		float: none;
		text-align: center;
	}
}
OL LI {
	text-align: left;
	margin-bottom: 10px;
}

.catalogKTM {
	width: 300px;
	margin: 25px auto;
	padding: 5px;
	background: #ea641d;
	border-radius: 10px;
}
.catalogKTM:hover {
	cursor: pointer;
}
.catalogKTM A {
	font-size: 1.25em;
	color: white;
	text-decoration: none;
}
.catalogKTM A:hover {
		color: black;
}
DIV.warning {
	margin: 15px auto;
	width: 340px;
	font-weight: bold;
	border: 1px solid red;
	padding: 3px;
}
DIV.warning-title {
	color: red;
	text-decoration: underline;
}
DIV.warning-content {
	padding-top: 3px;
	color: black;
	font-size: .7em;
}

/*---WORKSHOP-PRICE---*/
DIV.workshop-price TABLE {
	border-collapse: collapse;
	min-width: 360px;
	margin: 10px auto;
}
DIV.workshop-price TABLE TR:nth-child(odd) {
	background-color: white;
}
DIV.workshop-price TABLE TR:nth-child(even) {
	background-color: lightgrey;
}
DIV.workshop-price TABLE TR TD {
	border: 1px solid black;
	padding: 5px;
}
DIV.workshop-price TABLE TR TD:nth-child(1) {
	text-align: left;
}
DIV.workshop-price TABLE TR TD:nth-child(2) {
	text-align: center;
}
DIV.workshop-price TABLE TR:nth-child(1) {
	background-color: darkgrey;
	font-weight: bold;
}
.left {
	text-align: left;
}
.pt15 {
	padding-top: 15px;
}