/*
	© Алексей Забродин 2009 (drvhart@ya.ru)
	Стили для сайта «ГНЦЛМ»
*/

/* Основа */
body {
  background-color: #FFF;
  width: 100%;
  height: 100%;
}
body, th, td {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  color: #000;
}
body, form, h1, h2, h3, h4, h5, h6, p, object {
  margin: 0;
  padding: 0;
}
img, table {
  border: none;
}
table {
  border-collapse: collapse;
}
table td {
  padding: 0;
}
a:link, a:active, a:visited {
  color: #000;
  text-decoration: underline;
}
a:hover {
  color: #006699;
  text-decoration: none;
}
input, textarea {
  margin: 0;
}
h1, h2, h3 {
  font-weight: normal;
}
h1 {
  font-size: 140%;
}
h2 {
  font-size: 125%;
}
h3 {
  font-size: 115%;
}


/* Универсальные классы */
.pad-1 {
  padding: 0.4em;
}
.pad-2 {
  padding: 0.8em;
}
.pad-3 {
  padding: 1em;
}
.pad-4 {
  padding: 1.4em;
}
.small {
  font-size: 85%;
}
.light {
  color: #555;
}
.top {
  vertical-align: top;
}
.middle {
  vertical-align: middle;
}
.bottom {
  vertical-align: bottom;
}
.left {
  text-align: left;
}
.center {
  text-align: center;
}
.rigth {
  text-align: right;
}
.nowrap {
  white-space: nowrap;
}

/* Архитектура */
#main {
  width: 100%;
  height: 100%;
}
#header-bg {
  position: absolute;
  background: url('img/header-bg.gif') repeat-x;
  width: 100%;
  height: 228px;
  z-index: -1;
}
#header-left {
  background: url('img/header-left.jpg') no-repeat right;
  height: 228px;
}
#header {
  background: url('img/header.jpg') no-repeat;
  width: 993px;
  height: 162px;
}
#header-right {
  background: url('img/header-right.jpg') no-repeat left;
  height: 228px;
}
#top-menu {
  background: url('img/top-menu-bg.jpg') no-repeat;
  width: 993px;
  height: 66px;
}
#top-menu ul {
  position: absolute;
  margin: 4px 0 0 15px;
  padding: 0;
  list-style: none;
}
#top-menu ul li {
  background: url('img/btn-bg.jpg') repeat-x;
  height: 24px;
  line-height: 24px;
  float: left;
}
#top-menu div.l {
  background: url('img/btn-left.jpg') no-repeat left;
  height: 24px;
  float: left;
}
#top-menu div.r {
  background: url('img/btn-right.jpg') no-repeat right;
  height: 24px;
  padding: 0 16px;
  float: left;
}
#top-menu a {
  font-style: italic;
  color: #39ac98;
  text-decoration: none;
}
#top-menu a.sel {
  color: #FF0000;
}
#left {
  padding: 15px;
}
#content {
  padding: 15px 15px 15px 0;
}
#menu-top {
  background: url('img/menu-top.jpg') no-repeat;
  width: 224px;
  height: 19px;
}
#menu {
  background: url('img/menu-bg.jpg') repeat-y;
  width: 224px;
}
#menu ul {
  margin: 0 23px 0 23px;
  padding: 0;
  list-style: none;
}
#menu li {
  margin: 0;
  padding: 5px 0;
}
#menu a {
  background: url('img/list-item.gif') no-repeat 0 4px;
  padding-left: 13px;
  display: block;
}
#menu a.sel {
  background: url('img/list-item-active.gif') no-repeat 0 4px;
  padding-left: 13px;
  text-decoration: none;
}
#menu-bot {
  background: url('img/menu-bot.jpg') no-repeat;
  width: 224px;
  height: 19px;
}
#footer-left {
  background: url('img/footer-bg.jpg') repeat-x;
  height: 62px;
}
#footer {
  background: url('img/footer-bg.jpg') repeat-x;
  height: 62px;
  vertical-align: top;
  padding-top: 6px;
}
#footer-right {
  background: url('img/footer-bg.jpg') repeat-x;
  height: 62px;
}

/* Специальные классы */
.table th, 
.table td, 
.table-center th, 
.table-center td,
.table-right th, 
.table-right td {
  padding: 0.4em;
  border: 1px solid #000;
}
.table th, 
.table td {
  text-align: left;
}
.table-center th, 
.table-center td {
  text-align: center;
}
.table-right th, 
.table-right td {
  text-align: right;
}

/* Новигация по страницам */
.page, .cur-page, .cur-page-2 {
  padding: 0.3em 0.4em;
  font-size: 130%;
}
.cur-page {
  background-color: #EEE;
}
.cur-page-2 {
  background-color: #2BA7CC;
  color: #FFF;
}

/* Сообщение и сообщение об ошибке */
.error {
  background-color: #F5E06C;
}
.message {
  background-color: #C4EEC9;
}
.error a, .message a {
  color: #000;
}
.error, .message {
  border: 1px solid #FFF;
  color: #000;
  padding: 2em;
}
.dialog {
  background-color: #F8F1BC;
  border: 1px solid #FFF;
  color: #000;
  padding: 1em;
  width: 200px;
}

/* Прочее */
.date {
  color: #555;
  font-size: 85%;
}

/* Для таблицы с формой */
.form th, .form td {
  padding: 0.8em;
}
.form th th, .form td td {
  padding: 0;
}
.form label {
  white-space: nowrap;
}

/* Фотогалерея */
.gallery {
  margin-left: -10px;
}
.photo_pr {
  float: left;
  margin: 10px;
}

/* Файлы и папки */
.folder {
  margin: 0;
  padding: 0;
  list-style: none;
}
.folder li {
  background: url(img/file-list.gif) no-repeat 0 5px;
  padding: 2px 0 0 14px;
}

/*  */
hr.more {
  background-color: #EEE;
  border-left: none;
  border-right: none;
  border-top: 1px dashed #CCC;
  border-bottom: 1px dashed #CCC;
  height: 5px;
}
