/*----------------------------------
= По умолчанию все отступы равны 0
----------------------------------*/
* {
	margin: 0;
	padding: 0;
}
/* Прорисовка тегов HTML 5 как блоков */
header, footer, section, nav {
	display: block;
}
/* Тело главной страницы */
body.main {
  height:auto !important;
	margin: 0 auto;
	margin-top: 20px;
	padding: 0 auto;
	width: 100%;
	text-align: center;
	font: 18px Myriad Pro;
/*	font-weight: bold;*/
	background: white;
}
body.main
	{
	background-image: url(../../../img/fon8.jpg) !important;
    background-position: center top !important;
    background-repeat: repeat-y !important;
	}
/* Тело других страниц */
body.nav {
  height:auto !important;
  margin: 0 auto;
	margin-top: 10px;
	padding: 0 auto;
	width: 100%;
	text-align: center;
	font: 18px Myriad Pro;
	background: white;
    background-image: url("./img/fon8.jpg") !important;
    background-position: center top !important;
    background-repeat: repeat-y !important;
}
img {border:0;}
/* Секция динамических подсказок */
section#help {
  height: 20px;
  padding: 10px;
}
/* Секция контента на других стр. */
section#content {
}
div#content {
}
/* Секция логотипа на других стр. */
div#logo {
float: right;
padding-top: 10px;
padding-right: 45px;
}
/* Секция логотипа на стр. подробного описания */
div#morelogo {
float: right;
clear: none;
padding-top: 10px;
padding-right: 40px;
}
/* Секция любой картинки на других стр. */
div#pic {
float: left;
padding-right: 5px;
}
/* Секция контента на других стр. */
div#text {
display: table;
text-align: justify;
padding-top: 10px;
padding-left: 50px;
padding-right: 35px;
width:870px!important;
}
/* Секция контента на стр. подробного описания */
div#more {
float: left;
display: table;
text-align: justify;
padding-top: 10px;
padding-left: 50px;
padding-right: 30px;
}
div.menu {
  font-weight: bold;
}
#pagetitle {
  font-weight: bold;
}
#help {
  font-weight: bold;
}
/*------------------------------
= Навигация
------------------------------*/
nav {
	position: relative;
}
nav ul {
	margin: 0 auto;
	list-style: none;
}
nav ul li {
  display: inline;
}
nav ul li a {
	margin: 5px;
}
nav ul li a img {
	border: 0;
}
nav ul li a:hover {
	color: #fff;
}
nav ul li.selected a {
	color: #fff;
}
/*------------------------------
= Нижняя часть
------------------------------*/
footer {
	position: relative;
	left: 0;
	bottom: 0;
  margin-top: 30px;
	width: 100%;
}
.footer {
  font-weight: bold;
	position: relative;
	font-size: 14px;
	text-transform: uppercase;
	left: 0;
	bottom: 0;
  margin-top: 30px;
	width: 100%;
}
.footerpage {
	position: fixed;
	font-size: 14px;
	text-transform: uppercase;
	left: 0;
	bottom: 0;
  margin-top: 20px;
	width: 100%;
}
div.menu {
	margin: 0 auto;
	padding: 0;
}

div.menu ul {
	list-style-type: none;
	color: #565656;
	margin-bottom: 5px;
}
div.menu ul li {
	display: inline;
	margin-left: 15px;
  margin-right: 15px;
}
div.menu a {
	color: black;
  background: none;
	padding: 5px;
	text-decoration: none;
}
div.menu a:hover {
	color: white;
  background: #247E03;
  padding: 5px;
}
div.menu a.active {
	color: white;
  background: #247E03;
  padding: 5px;
}
div#line {
	margin: 0 auto;
	font-size:12px;
	text-decoration:none;
	line-height:16px;
	background: #247E03;
	color:#fff;
}
div#line a {
	color:#fff;text-decoration:none;
}

.select {
  display: table;
  padding: 5px;
}
label {
  display: block;
  text-align: center;
}
div.select {
  display: relative;
  float: left;
  text-align: left;
}
div.button {
  display: relative;
  float: left;
  margin-top: 18px;
  text-align: left;
}

	#gallery {
		padding: 0;
		margin: 0;
	}
	#gallery ul { list-style: none; }
	#gallery ul li { display: inline-block; text-decoration: none; }
	#gallery ul img {
		border: 0;
		text-decoration: none;
	}
	#gallery ul a:hover img {
		color: #fff;
	}
	#gallery ul a:hover { color: #fff; }
