* {
	margin: 0;
	padding: 0;
}


h1 {
	font-size: 2em;
	line-height: 1.5em;
	margin-top: 0.75em;
	margin-bottom: 0.75em
}

h2 {
	font-size: 1.5em;
	line-height: 2em;
	margin-top: 1em;
	margin-bottom: 1em
}

h3 {
	font-size: 1.17em;
	line-height: 1.28205em;
	margin-top: 1.28205em;
	margin-bottom: 1.28205em
}

h4 {
	font-size: 1em;
	line-height: 1.5em;
	margin-top: 1.5em;
	margin-bottom: 1.5em
}

h5 {
	font-size: 0.83em;
	line-height: 1.80723em;
	margin-top: 1.80723em;
	margin-bottom: 1.80723em
}

h6 {
	font-size: 0.67em;
	line-height: 2.23881em;
	margin-top: 2.23881em;
	margin-bottom: 2.23881em
}

html {
	font-size: 90%;
	font-family: arial;
	line-height: 22px;

	background: #fff;
	/* Old browsers */
	background: -moz-linear-gradient(top, #eff5e7 0%, #ffffff 100%);
	/* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #eff5e7), color-stop(100%, #ffffff));
	/* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top, #eff5e7 0%, #ffffff 100%);
	/* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top, #eff5e7 0%, #ffffff 100%);
	/* Opera 11.10+ */
	background: -ms-linear-gradient(top, #eff5e7 0%, #ffffff 100%);
	/* IE10+ */
	background: linear-gradient(to bottom, #eff5e7 0%, #ffffff 100%);
	/* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#eff5e7', endColorstr='#ffffff', GradientType=0);
	/* IE6-9 */

	background-repeat: no-repeat;


}

body {
	padding-top: 40px !important;
}

a {
	color: #507BA8;
}

table tr td {
	vertical-align: top;
}

.page {
	background: #fff;
	box-shadow: 0 0 3px #aaa;

	margin-left: auto;
	margin-right: auto;
	width: 980px;

	padding: 10px;
}

.page .header {
	margin: 0 auto;
	background: #c8c8d8;
	text-align: left;
	overflow: hidden;
}

#logoplace {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 80px;

	background: -moz-linear-gradient(top, rgba(174, 207, 240, 1) 0%, rgba(201, 227, 242, 0.8) 100%);
	/* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, rgba(174, 207, 240, 1)), color-stop(100%, rgba(201, 227, 242, 0.8)));
	/* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top, rgba(174, 207, 240, 1) 0%, rgba(201, 227, 242, 0.8) 100%);
	/* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top, rgba(174, 207, 240, 1) 0%, rgba(201, 227, 242, 0.8) 100%);
	/* Opera 11.10+ */
	background: -ms-linear-gradient(top, rgba(174, 207, 240, 1) 0%, rgba(201, 227, 242, 0.8) 100%);
	/* IE10+ */
	background: linear-gradient(to bottom, rgba(174, 207, 240, 1) 0%, rgba(201, 227, 242, 0.8) 100%);
	/* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#e6aecff0', endColorstr='#99c9e3f2', GradientType=0);
	/* IE6-9 */

	border-bottom: 3px #fff solid;
	box-shadow: 0 0 4px #aaa;
}

#logo {
	background: url(/img/logo-add.png) no-repeat 140px 45px;
	height: 118px;
	margin: 0 auto;
	width: 980px;
}

#logo a {
	margin: 30px 0 0 20px;
	height: 100px;
	width: 100px;
	display: block;
	background: url(/img/logo.png) no-repeat center;
	position: absolute;
	z-index: 110;
}


.page .header .top-menu {}

.page .header .top-menu ul.menu {
	padding: 0;
	width: 980px;
	position: absolute;
	top: 20px;
	z-index: 100;
}

.page .header .top-menu ul.menu li {
	display: block;
	float: right;
	list-style: none outside none;
	padding: 0 20px;
	text-align: center;
	top: 50px;
}

.page .header .top-menu ul.menu li a {
	color: #507BA8;
	font-weight: bold;
	text-decoration: none;
}

#main {
	padding-top: 3em;
	position: relative;
}

.left-menu {
	width: 180px;
	overflow: hidden;
}

.left-menu ul.menu {
	padding: 0;
	font-size: 80%;
	padding-top: 50px;
	margin: 0 !important;
}

.left-menu ul.menu li {
	list-style: none;
}

.left-menu ul.menu li a {
	display: block;
	text-decoration: none;
	border-bottom: 1px #aaa solid;
}

.left-menu ul.menu li a:hover {
	background: #d6e7fa;
}

.left-menu ul.menu li a.active {
	font-weight: bold;
	color: #000;
}


.main-content {
	width: 764px;
	margin-left: 20px;
}


div#content {
	padding-top: 40px;
}

div#content h1 {
	font-weight: normal;
	margin-left: 20px;
	margin-bottom: 20px;
	color: #111;

}

div#content h2 {
	font-weight: normal;
	font-size: 140%;
	margin-left: 40px;
	color: #111;

}

div#content p {
	margin: 0 20px 20px 40px;
	color: #333;
}

div#content ul,
div#content ol {
	margin: 0 20px 20px 60px;
	color: #333;
}

.green-line {
	display: block;
	border-top: 6px solid #b7d48e;
}

#mainimg {
	height: 240px;
	margin-top: 30px;
	background: url(/img/autoschool.jpg) no-repeat right;
}

.home-block-3-c {
	display: block;
	float: left;
	width: 250px;
}

div#content .home-block-3-c h1 {
	color: #111;
	font-size: 140%;
	margin: 20px 0 10px 20px;
}

div#content .home-block-3-c p {
	margin: 0 20px 0 20px;
}




a.scheme,
a.scheme:visited {
	border: medium none;
	display: block;
	margin: 10px;
	text-align: center;
}

a.scheme img {
	border: 1px solid #9DC4EC;
	padding: 4px;
}


footer {
	border-top: 6px solid #D9E9F9;
	clear: both;
	height: 50px;
	margin: 0 auto;
	text-align: center;
	width: 950px;
	margin-top: 30px;
}

footer p {
	color: #666;
	font-size: 80%;
}


#gallery {
	width: 270px;
	height: 200px;
	margin: 10px;
}

#gal-first,
#gal-back {
	position: absolute;
}

#gal-first {
	z-index: 100;
}

#gal-back {
	z-index: 0;
}

img.resp {
	max-width: 100%;
}

.text-center {
	text-align: center;
}