html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  background: #ff6c00 url(/img/bg_html.png) repeat-x top center;
}

body {
  min-height: 100%;
}

body, html {
  width: 1003px;
  margin: 0 auto;
}

body {
  background: url(/img/bg_header.jpg) no-repeat center top;
  min-width: 1003px;
}

img {
  border: 0;
}

#container {
  height: auto !important;
  min-height: 100%;
  height: 100%;
  width: 1003px;
  min-width: 1003px;
  background: url(/img/bg_footer.png) no-repeat center bottom;
}

#header {
  width: 1003px;
  height: 329px;
}

#logo {
	float: left;
	padding: 27px 0 0 51px;
}


#main {
  width: 1003px;
  height: auto !important;
  min-height: 595px;
  height: 595px;
  padding-bottom: 117px;
}

#main_text {
  padding-bottom: 10px;
}

#content {
  width: 1003px;
  float: left;
}

#page_text {
  margin-left: 250px;
  padding-right: 30px;
}

#left_block {
  width: 250px;
  float: left;
  margin-left: -1003px;
  padding-top: 55px;
}

#footer {
  margin-top: -117px;
  width: 1003px;
  height: 117px;
  min-width: 1003px;
}

#copyright {
  margin: 0;
  padding: 0 0 0 170px;
  font: normal 11px Verdana;
  color: #000;
}

#phone {
  text-align: left;
  margin: 0;
  padding: 0 0 0 70px;
  font: normal 12px Verdana;
  color: #000;
  float: left;
  width: 180px;
}

#copyright p, #phone p { /* Обнуление нежелательных отступов */
  padding: 0;
  margin: 0;
}

div.clear { clear: both;font: normal 0px/0px Verdana;height: 0;overflow: hidden; /*Отбивка */ }

form { margin: 0; padding: 0;}

/* Стилизация основных текстовых элементов */
body {
  font: normal 12px Verdana;
  color: #fdfaf5;
}

p {
  padding: 0;
  margin: 15px 0;
  color: 000;
}

p.error {
  font: bold 12px Verdana;
  color: red;
}

p.message {
  font: bold 12px Verdana;
  color: green;
}

a {
  font: normal 12px Verdana;
  color: #000;
  text-decoration: underline;
}

a:hover {
  text-decoration: none;
}

h1 {
  margin: 0 0 20px 0;
  padding: 0;
  font: bold 14px Verdana;
  color: #000;
}

h2 {
  margin: 20px 0 0 0;
  padding: 0 0 0 22px;
  font: bold 12px/18px Verdana;
  color: #000;
  background: url(/img/bg_h2.gif) no-repeat left 6px;
}

h3, h4, h5, h6 {
  margin: 20px 0;
  padding: 0;
  font: bold 14px Verdana;
  color: #eee;
}

/* /Стилизация основных текстовых элементов */

/* Системы меню */
/* Сервисное меню */
#services {
  height: 50px;
  overflow: hidden;
  float: right;
  margin-top: 22px;
  width: 134px;
  text-align: left;
}

#services ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

#services li {
  margin: 0;
  padding: 0 31px 0 0;
  display: block;
  float: left;
}
/* /Сервисное меню */


/* Верхнее меню */
#topmenu {
  padding: 78px 0 0 35px;
  height: 63px;
  overflow: hidden;
  float: left;
  width: 481px;
}

#topmenu ul {
  margin: 0;
  padding: 0;
  list-style-type: none;
}

#topmenu ul li {
  margin: 0;
  padding: 0;
  display: block;
  float: left;
}

#topmenu ul li a span {
  display: none;
}

#tm0, #tm1, #tm2, #tm3, #tm4, #tm0active, #tm1active, #tm2active, #tm3active, #tm4active {
  display: block;
  float: left;
  height: 63px;
  background-image: url(/img/topmenu_items.png);
  background-repeat: repeat;
}

#tm0 {
  width: 94px;
  background-position: 0 0;
}

#tm0:hover, #tm0active {
  width: 94px;
  background-position: 0 63px;
}

#tm1 {
  width: 117px;
  background-position: -94px 0;
}

#tm1:hover, #tm1active {
  width: 117px;
  background-position: -94px 63px;
}

#tm2 {
  width: 112px;
  background-position: -211px 0;
}

#tm2:hover, #tm2active {
  width: 112px;
  background-position: -211px 63px;
}

#tm3 {
  width: 89px;
  background-position: -323px 0;
}

#tm3:hover, #tm3active {
  width: 89px;
  background-position: -323px 63px;
}

#tm4 {
  width: 69px;
  background-position: -411px 0;
}

#tm4:hover, #tm4active {
  width: 69px;
  background-position: -411px 63px;
}
/* /Верхнее меню */

/* Левое меню */

#lmenu {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

#lmenu li {
  display: block;
  float: left;
  width: 230px;
  margin: 0;
  padding: 0 0 10px 20px;
}

#lmenu li a {
  display: block;
  margin: 0;
  padding: 0 0 0 20px;
  background: url(/img/lmenu_a.gif) no-repeat left 3px;
  font: normal 12px Verdana;
  color: #000;
  text-decoration: none;
}

#lmenu li a:hover {
  background: url(/img/lmenu_a_hover.gif) no-repeat left 3px;
}

#lmenu li a.active {
  background: url(/img/lmenu_a_active.gif) no-repeat left 2px;
}

/* /Левое меню */


/* Нижнее меню */
#fmenu {
  height: 36px;
  overflow: hidden;
  float: left;
  margin: 0;
  width: 750px;
  text-align: left;
}

#fmenu a {
	font: normal 12px Verdana;
	color: #000;
	text-decoration: none;
}

#fmenu a:hover {
	text-decoration: underline;
}

#fmenu span {
	padding: 0 20px;
}
/* /Нижнее меню */
/* /Системы меню */

/* Строка навигации */
#pagenav {
  padding-bottom: 11px;
  font: normal 10px Verdana;
  color: #000;
}

#pagenav a {
  font: normal 10px Verdana;
  color: #000;
  text-decoration: underline;
}

#pagenav a:hover {
  text-decoration: none;
}

#pagenav span {
  font: normal 10px Verdana;
  color: #000;
  padding: 0 10px;
}
/* /Строка навигации */

/* Галерея */
#photo {
	width: 100%;
	border-collapse: collapse;
}

td {
	width: 27px;
}

td.photo {
    width: 25%;
    text-align: center;
	width: 160px;
	height: 118px;
	border: 1px solid #a54700;
	padding: 5px;
	background: #fff;
	vertical-align: middle;
}

td.noPhoto{
    width: 160px;
}

#photo a {
    font: normal 11px Tahoma;
    color: #000;
    text-decoration: none;
}

#photo a:hover {
    text-decoration: underline;
}

td.phototitle {
    text-align: left;
	padding: 5px 5px 27px 5px;
	vertical-align: top;
	font: normal 11px Tahoma;
	color: #000;
	width: 160px;
	background: url(/img/bg_zavitok.gif) no-repeat right top;
}

/* /Галерея */

/* Постраничная навигация */
#pager {
	list-style-type: none;
	margin: 0;
	padding: 0;
}

#pager li {
	display: block;
	float: left;
	height: 27px;
	padding: 0 7px;
}

#pager li a {
    font: normal 11px Tahoma;
	color: #000;
	text-decoration: underline;
}

#pager li a:hover {
	text-decoration: none;
}

#pager li.active {
	font: normal 11px/15px Tahoma;
	color: #f5c189;
	background: url(/img/bg_pagination.gif) no-repeat center bottom;
	padding: 0 6px;
}
/* /Постраничная навигация */
                        

ul.services {
  list-style-type: none;
  margin: 25px 0 0 0;
  padding: 0;
}

.services li {
  display: block;
  float: left;
  width: 90%;
  margin: 0;
  padding: 0 0 10px 0;
}

.services li a {
  display: block;
  margin: 0;
  padding: 0 0 0 20px;
  background: url(/img/lmenu_a.gif) no-repeat left 3px;
  font: normal 12px Verdana;
  color: #000;
  text-decoration: none;
}

.services li a:hover {
  text-decoration: underline;
}

/* Карта сайта */
#sitemap, #sitemap ul {
  margin: 0;
  padding: 0;
  list-style-type: none;
}

#sitemap li {
  line-height: 15px;
}

#sitemap li a {
  font: normal 11px/11px Tahoma;
  color: #000;
  text-decoration: underline;
}

#sitemap li a:hover {
  text-decoration: none;
}

#sitemap ul li {
  padding-left: 24px;
}
/* /Карта сайта */

/* Форма контактов */
form {
  padding: 0;
  margin: 0;
}

#contactform {
  width: 355px;
  font: normal 12px Tahoma;
  margin-top: 15px;
}

td.left {
  width: 140px;
  background: url(/img/bg_contacts.png) repeat-y right;
  vertical-align: top;
  padding-top: 3px;
}

td.right {
  width: 200px;
  text-align: right;
}

#contactform input {
  height: 19px;
  width: 215px;
  border: 1px solid #a54700;
  font: normal 11px/17px Tahoma;
  margin: 0;
  color: #887462;
}

#contactform input.kod {
  width: 82px;
  margin: 0;
}

#contactform textarea {
  height: 100px;
  width: 215px;
  border: 1px solid #a54700;
  font: normal 11px/14px Tahoma;
  color: #887462;
}

#contactform input.submit {
  width: 85px;
  height: 26px;
  background: url(/img/bg_submit.gif) no-repeat center center;
  padding: 0;
  margin: 0;
  border: 0;
  font: normal 12px/14px Verdana;
  color: #edf6f9;
}

#contactform sup {
	font: normal 12px Verdana;
	color: #eaff00;
}

#contactform  td.separator {
	background: none !important;
	height: 10px;
	overflow: hidden;
}
/* /Форма контактов */

#contacts {
	width: 700px;
	border-collapse: collapse;
	border-spacing: 0;
}

td.contleft {
	width: 360px;
	vertical-align: top;
	padding-right: 23px;
	border-right: 1px solid #f99a53;
                color: #000;
}

td.contright {
	width: 340px;
	vertical-align: top;
	padding-left: 23px;
}

