/*
	© Алексей Забродин год (drvhart@ya.ru)
	Стили для сайта «Фондовые рынки»
*/

/* Основа */
body {
  background-color: #fefaca;
  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: #444;
  text-decoration: underline;
}
a:hover {
  color: #2c76a1;
  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 {
  background: url('img/header.jpg');
  width: 552px;
  height: 113px;
  margin-left: 40px;
}
#top-block {
  float: right;
  padding: 20px;
  width: 250px;
  color: #2c76a1;
  font-size: 120%;
  white-space: nowrap;
}
#left {
  font-size: 12px;
}
#left, #right {
  padding: 20px;
}
#menu {
  margin: 0;
  padding: 0;
  list-style: none;
}
#menu li {
  font-size: 110%;
  padding: 3px 0;
}
#menu li .sel {
  background-color: #cbc796;
  color: #444;
  text-decoration: none;
  font-weight: bold;
  padding: 4px 6px;
  display: block;
}
#center {
  padding: 25px;
}
#search {
  background-color: #cbc796;
}
#footer {
  border-top: 1px solid #cbc796;
  height: 1px;
}
#footer td {
  padding: 10px;
}
#footer td div {
  font-size: 85%;
}

/* Специальные классы */
.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;
}
