/* Дизайн страницы
=======================================================================================*/
* {
  margin: 0;
  padding: 0;
  font-size: 100.01%;
}

html {
  height: 100%;
  background: #e4e5e4;
}

body {
  min-height: 100%;
  height: 100%;
  color: #000;
  font-weight: normal;
  font-family: Tahoma, Verdana, Arial, Helvetica, Sans-Serif;
  font-size: 12px;
  background: url(/img/body_bg.gif) 0 0 repeat-x;
}

h1#logo {
  display: block;
  padding: 0;
  width: 154px;
  height: 84px;
  margin: 43px 0 30px 45px;
}

h1#logo a {
  display: block;
  width: 154px;
  height: 84px;
  text-indent: -9999em;
  overflow: hidden;
  background: url(/img/logo.jpg) 0 0 no-repeat;
}

#header {
  height: 132px;
/*  background: #fff url(/img/_company.jpg) 0 0 no-repeat;*/
  border-bottom: 2px solid #20723d;
}

#container {
  position: relative;
  margin: 0 auto;
  width: 1002px;
  height: auto !important;
  min-height: 100%;
  height: 100%;
  border-top: 1px solid transparent;
  margin-top: -1px;
  background: url(/img/container_bg.gif) 50% 44px no-repeat;
}

#footer_guarantor {
  height: 23px;
  clear: both;
}

#footer {
  position: relative;
  margin-top: -23px;
  height: 23px;
  line-height: 23px;
  clear: both;
  background: #20723d url(/img/footer_bg.gif) 0 0 repeat-x;
}

#column1 {
  position: relative;
  float: left;
  width: 233px;
  padding: 0 17px 20px 0;
}

#content {
  position: relative;
  float: left;
  width: 468px;
  background: #FFF;
  margin-top: 44px;
  padding: 0 17px 20px 17px;
}

#column2 {
  position: relative;
  float: right;
  width: 233px;
  padding: 0 0 20px 0; /*17px;*/
}

#preload {
  position: absolute;
  left: -9999em;
  top: -9999em;
}

/* Общеупотребительное
=======================================================================================*/
.u { text-decoration: underline; }
.b { font-weight: bold; }
.i { font-style: italic; }
.center { text-align: center; }
.right { text-align: right; }
.left { text-align: left; }
.nowrap { white-space: nowrap; }
.w100p { width: 100%; }
.w1p { width: 1%; }

img {
  border: 0;
}

/* Типография
=======================================================================================*/
a, a:link, a:visited, a:hover, a:active {
  text-decoration: underline;
  font-weight: normal;
  color: #17622f;
}

a:hover, a:active {
  color: #6b6c6b;
}


h1, h2, h3, h4, h5, h6 {
  font-weight: bold;
  color: #17622f;
  margin: 10px 0 7px 0;
  text-transform: uppercase;
}

h1 {
  font-size: 1.833em;
  line-height: 1.125em;
}

h2 {
  font-size: 12px;
  line-height: 1.125em;
}

h3 {
  font-size: 11px;
  line-height: 1.125em;
}

h4 {
  font-size: 10px;
  line-height: 1.125em;
}

h5, h6 {
  font-size: 10px;
  line-height: 1.125em;
}

#content ul, #content ol {
  margin: 0 0 0 2em;
}

#content p {
  margin: 1em 0;
}

#content table p {
  margin: 0;
}

sub, sup {
  font-size: 0.75em;
}

.img_left {
  float: left;
  margin: 0 1em 1em 0;
}

.img_right {
  float: right;
  margin: 0 0 1em 1em;
}

td {
  padding: 3px;
}

/* домой/обр.связь
=======================================================================================*/
ul#topmenu {
  display: block;
  list-style: none;
  margin-top: 14px;
  margin-left: 88px;
  height: 16px;
}

#topmenu li {
  display: block;
  float: left;
  margin-right: 26px;
}

#topmenu li a {
  display: block;
  position: relative;
  height: 16px;
  width: 16px;
  text-indent: -9999em;
  overflow: hidden;
  z-index: 2;
}

#topmenu li a.home {
  background: url(/img/home.gif) 0 0 no-repeat;
}

#topmenu li a.email {
  background: url(/img/email.gif) 0 0 no-repeat;
}

/* Главное меню
=======================================================================================*/
ul#mmenu {
  display: block;
  list-style: none;
  margin-bottom: 40px;
  position: relative;
}

#mmenu li {
  display: block;
  position: relative;
  border-bottom: 1px solid #e4e5e4;
}

#mmenu li a:link, #mmenu li a:visited,
#mmenu li a:hover, #mmenu li a:active {
  display: block;
  padding: 2px 0 2px 56px;
  margin: 3px 0 2px 0;
  font-size: 15px;
  line-height: 15px;
  font-weight: bold;
  text-transform: lowercase;
  text-decoration: none;
  color: #17622f;
}

#mmenu li.sel a:link, #mmenu li.sel a:visited,
#mmenu li.sel a:hover, #mmenu li.sel a:active {
  padding: 5px 0 6px 56px;
  margin: 0;
  background: url(/img/submenu_top_bg.gif) 100% 100% no-repeat;
}

#mmenu li ul {
  display: block;
  margin-top: 0px;
  padding: 1px 0 6px 0;
  background: url(/img/box_bottom_bg.gif) 100% 100% no-repeat;
}

#mmenu li ul li {
  padding: 2px 0;
  border: 0;
}

#mmenu li.sel ul li {
  background: none;
  border-left: 1px solid #72b096;
  border-right: 1px solid #72b096;  
}

#mmenu li ul li a:link, #mmenu li ul li a:visited,
#mmenu li ul li a:hover, #mmenu li ul li a:active {
  display: block;
  font-size: 12px;
  line-height: 12px;
  padding: 2px 15px 2px 30px;
  color: #6b6c6b;
}

#mmenu li.sel ul li a:link, #mmenu li.sel ul li a:visited,
#mmenu li.sel ul li a:hover, #mmenu li.sel ul li a:active {
  background: none;
  padding: 2px 15px 2px 30px;
}

#mmenu li ul li.sel a:link, #mmenu li ul li.sel a:visited,
#mmenu li ul li a:hover, #mmenu li ul li a:active {
  color: #17622f;
}

/* Субменю
=======================================================================================*/
ul#submenu {
  display: block;
  list-style: none;
  margin: 0 0 1em 0;
}

#submenu li {
  display: block;
  padding: 2px 0;
}

#submenu li a:link, #submenu li a:visited,
#submenu li a:hover, #submenu li a:active {
  font-weight: bold;
  text-decoration: none;
  text-transform: lowercase;
}

/* Блоки новостей
=======================================================================================*/
#box_news_law, #box_news_world {
  background: url(/img/box_bottom_bg.gif) 100% 100% no-repeat;
  margin-top: 20px;
  padding-bottom: 1px;
}

#box_news_law h3 {
  height: 36px;
  background: url(/img/news_law_top.gif) 100% 100% no-repeat;
  text-indent: -9999em;
}

#box_news_world h3 {
  height: 27px;
  background: url(/img/news_world_top.gif) 100% 100% no-repeat;
  text-indent: -9999em;
}

#box_news_law a, #box_news_world a {
  display: block;
  position: relative;
  margin: 15px 15px 15px 30px;
  font-size: 11px;
  color: #6b6c6b;
  text-decoration: underline;
}

#box_news_law a:hover, #box_news_law a:active, 
#box_news_world a:hover, #box_news_world a:active {
  color: #17622f;
}

#box_news_law a span, #box_news_world a span {
  color: #17622f;
  font-weight: bold;
}

/* Логин форма
=======================================================================================*/
#loginform {
  padding-top: 60px;
}

#loginform label { 
  display: block;
  float: left;
  line-height: 22px;
  color: #17622f;
  width: 72px;
}

#loginform input {
  width: 140px;
  display: block;
  float: left;
  margin: 1px 0;
}

#loginform br {
  clear: both;
}

#loginform input.loginsubmit {
  display: block;
  float: left;
  text-decoration: underline;
  font-size: 13px;
  cursor: pointer;
  padding: 0;
  margin: 0 0 0 -4px;
  width: auto;
  height: auto;
  border: 0;
  background: #e4e5e4;
  color: #17622f;
}


/* Блок консультации
=======================================================================================*/
#consultation {
  position: relative;
  height: 240px;
  background: url(/img/consultation_bg.gif) 0 0 no-repeat;
  padding: 0 15px;
  margin: 40px 0;
}

#consultation h3 {
  height: 50px;
  padding: 0;
  margin: 0;
  text-indent: -9999em;
}

#consultation textarea {
  width: 100%;
  height: 155px;
}

#consultation a {
  display: block;
  position: absolute;
  right: 50px;
  bottom: 0px;
  text-decoration: underline;
}

/* Заявки
=======================================================================================*/
#requests {
  list-style: none;
  display: block;
}

#requests li {
  display: block;
  margin: 15px 0;
}

#requests li a:link, #requests li a:visited,
#requests li a:hover, #requests li a:active {
  display: block;
  height: 65px;
  text-indent: -9999em;
  overflow: hidden;
}

#requests li a.r1:link, #requests li a.r1:visited {
  background: url(/img/request_1.gif) 0 0 no-repeat;
}
#requests li a.r1:hover, #requests li a.r1:active,
#requests li a.r1_sel:link, #requests li a.r1_sel:visited {
  background: url(/img/request_1_sel.gif) 0 0 no-repeat;
}

#requests li a.r2:link, #requests li a.r2:visited {
  background: url(/img/request_2.gif) 0 0 no-repeat;
}
#requests li a.r2:hover, #requests li a.r2:active,
#requests li a.r2_sel:link, #requests li a.r2_sel:visited {
  background: url(/img/request_2_sel.gif) 0 0 no-repeat;
}

#requests li a.r3:link, #requests li a.r3:visited {
  background: url(/img/request_3.gif) 0 0 no-repeat;
}
#requests li a.r3:hover, #requests li a.r3:active,
#requests li a.r3_sel:link, #requests li a.r3_sel:visited {
  background: url(/img/request_3_sel.gif) 0 0 no-repeat;
}

/* Оформление контента
=======================================================================================*/
.archiveItem {
  margin: 0.5em 0;
}

.archiveItem h3 a {
  text-decoration: none;
}

.delimiter {
  border-bottom: 2px solid #007c48;
  height: 0;
  margin: 1em 0 0.5em 0;
}

/* Скрытый контент
=======================================================================================*/
.hiddenContent {
  display: block;
  background: #e4e5e4;
  border: 1px dashed #20723d;
  padding: 0.5em;
  margin: 0.5em 0;
}

/* Форма регистрации
=======================================================================================*/
.stdform fieldset {
  margin: 1em 0;
  padding: 0.5em 1em 1em 1em;
  border: 1px solid #72b096;
}

.stdform legend {
  font-weight: bold;
  color: #17622f;
}

.stdform p {
  margin: 0.5em 0 0 0;
}

.stdform div.left, .stdform div.right {
  text-align: left;
  width: 49%;
  float: left;
}

.stdform div.right {
  float: right;
  width: 48%;
}

.stdform label {
  display: block;
  font-weight: bold;
  margin-bottom: 2px;
}

.stdform input.text {
  width: 100%;
}

.stdform textarea {
  width: 100%;
  height: 100px;
}

.stdform .submit {
  padding: 0.5em 2em;
}

.stdform .small {
  font-size: 10px;
  color: #888;
}

/* Стили для всех форм
=======================================================================================*/
textarea {
  font-size: 12px;
}

.required {
  background: url(/img/star.gif) center left no-repeat;
  padding-left: 12px;
}

input.text {
  height: 16px;
  border: 1px solid #aaa;
}

textarea.textarea {
  border: 1px solid #aaa;
}

input.error, textarea.error {
  border: 1px solid red;
}

input.valid, textarea.valid {
  border: 1px solid green;
}

input.hiddensubmit {
  width: 1px;
  height: 1px;
  border: 0;
  position: absolute;
  background: transparent;
  color: transparent;
}

/* Форма заявки
=======================================================================================*/
#requestform li {
/*  display: block;*/
  margin: 0.6em 0;
}

#requestform li label {
  display: block;
  margin: 0 0 0.2em 0;
  /*width: 150px;
  padding-right: 10px;*/
}

#requestform li input, #requestform li textarea {
  width: 99%;
}

#requestform .submit {
  padding: 0.5em 2em;
}


/* Постраничная навигация
=======================================================================================*/
div.pages{
  text-align: center;
  line-height: 1.5;
  margin-top: 10px;
}

.pages div {
  padding: 0 1px;
  font-weight: bold;
  display: inline;
}

.pages a, .pages span {
  font-weight: bold;
  padding: 2px 6px;
  text-decoration: none;
}

.pages a:link, .pages a:visited { 
  color: #007c48;
}

.pages a:hover, .pages span {
  background-color: #007c48;
  color: white;
}