/* ОСНОВНЫЕ БЛОКИ САЙТА ----------------------------------------------------- */
/* Название сайта */
#nazvanie-saita {
  width: auto;
  background: #369 url(img/fon/blue-top.gif) repeat-x;
  margin: 0 10px;
  padding: 5px 120px;
  border: 1px solid #333;
  background-color: #369;
}
/* Ссылка для заголовка сайта */
#nazvanie-saita a {color: #ffffff; text-decoration: none;}

/* Верхнее меню */
#verhnee-menu {
  width: auto;
  margin: 0 10px;
  height: 24px;
  padding: 3px 3px 3px 20px; /* Отступ слева в меню */
  border: 1px solid #333;
  border-top: none;
}
/* Левый блок */
#levy-blok {}
/* Центральный блок (с контентом) - в осн-м шаблоне и в разделе Школа */
#content {padding: 10px 20px 20px;}
/* Правый блок */
#pravy-blok {}
/* Названия блоков с осн. меню */
.menu-nazvanie {
  border: 1px solid #333;
  color: #ffffff;
  background: #369 url(img/fon/blue.gif) repeat-x;
  text-align: center;
  font-weight: bold;
  letter-spacing: 1px;
  padding: 3px 0;
  margin-top: 20px;
  width: auto;
}
/* Кнопка ОК поиска */
input.menu-nazvanie {margin-top: 0; width: 32px;}
/* Блоки с ссылками осн. меню */
.menu-ssylki {width: auto; border: 1px solid #333; border-top: none; padding: 10px;}
/* Ссылки в верхнем и основном меню */
ul.menu {list-style: none; clear: both; margin: 0; padding: 0;}
ul.saity-partizanska {margin: 10px 0 0 30px; padding: 0;} /* Сайты Партизанска */
ul.saity-partizanska li {float: left; margin-right: 8px;}
ul.menu a {display: inline-block; height: 22px; padding-left: 28px; margin: 1px 0; line-height: 1.4;}
li.top-menu {float: left; margin-right: 10px;}
a.administraciya {background: url(img/icon/administraciya.gif) no-repeat left top;}
a.avtobusy {background: url(img/icon/avtobusy.gif) no-repeat left top;}
a.blagodarnosti {background: url(img/icon/blagodarnosti.gif) no-repeat left top;}
a.video {background: url(img/icon/video.gif) no-repeat left top;}
a.vesti-partizansk-ru {background: url(img/icon/vesti-partizansk-ru.gif) no-repeat left top;}
a.gerb {background: url(img/icon/gerb.gif) no-repeat left top;}
a.glavnaya {background: url(img/icon/glavnaya.gif) no-repeat left top;}
a.globus {background: url(img/icon/globus.gif) no-repeat left top;}
a.gostevaya {background: url(img/icon/gostevaya.gif) no-repeat left top;}
a.daty {background: url(img/icon/daty.gif) no-repeat left top;}
a.dk {background: url(img/icon/dk.gif) no-repeat left top;}
a.elektropoezda {background: url(img/icon/elektropoezda.gif) no-repeat left top;}
a.jurnalistika {background: url(img/icon/jurnalistika.gif) no-repeat left top;}
a.istoriya {background: url(img/icon/istoriya.gif) no-repeat left top;}
a.kazaki {background: url(img/icon/kazaki.gif) no-repeat left top;}
a.karta_saita {background: url(img/icon/karta_saita.gif) no-repeat left top;}
a.kontakty {background: url(img/icon/kontakty.gif) no-repeat left top;}
a.magaziny {background: url(img/icon/magaziny.gif) no-repeat left top;}
a.obnovleniya {background: url(img/icon/obnovleniya.gif) no-repeat left top;}
a.ob-sved {background: url(img/icon/ob-sved.gif) no-repeat left top;}
a.partizansk-time-ru {background: url(img/icon/partizansk-time-ru.gif) no-repeat left top;}
a.partizansk-eu {background: url(img/icon/partizansk-eu.gif) no-repeat left top;}
a.partizansk-org {background: url(img/icon/partizansk-org.gif) no-repeat left top;}
a.partizansky-prm-sudrf-ru {background: url(img/icon/partizansky-prm-sudrf-ru.gif) no-repeat left top;}
a.partizanskcity-ru {background: url(img/icon/partizanskcity-ru.gif) no-repeat left top;}
a.pik-info-ru {background: url(img/icon/pik-info-ru.gif) no-repeat left top;}
a.pozdravleniya {background: url(img/icon/pozdravleniya.gif) no-repeat left top;}
a.predpriyatiya {background: url(img/icon/predpriyatiya.gif) no-repeat left top;}
a.primamedia-ru {background: url(img/icon/primamedia-ru.gif) no-repeat left top;}
a.primsaity {background: url(img/icon/primsaity.gif) no-repeat left top;}
a.ryby {background: url(img/icon/ryby.gif) no-repeat left top;}
a.sputnik {background: url(img/icon/sputnik.gif) no-repeat left top;}
a.suchan-narod-ru {background: url(img/icon/suchan-narod-ru.gif) no-repeat left top;}
a.uglekamensku_70_let {background: url(img/icon/uglekamensku_70_let.gif) no-repeat left top;}
a.uchrejdeniya {background: url(img/icon/uchrejdeniya.gif) no-repeat left top;}
a.faily {background: url(img/icon/faily.gif) no-repeat left top;}
a.forum {background: url(img/icon/forum.gif) no-repeat left top;}
a.cerkov {background: url(img/icon/cerkov.gif) no-repeat left top;}
/* разделы */
ul.menu-razdely {list-style: none; clear: both; margin: 0; padding: 0;}
ul.menu-razdely li {line-height: 1.3;}
ul.menu-razdely li.blok {
  background-color: #ddd;
  text-align: center;
  font-weight: bold;
  margin: 4px 0 2px;
  padding: 2px;
}
/* Блок с надписью "Нашли ошибку?" */
#nashli-oshibku {
  text-indent: 20px;
  text-align: center;
  letter-spacing: 1px;
  font-size: 90%;
  color: #FF0000;
  margin: 12px;
}
/* Низ - копирайт, статистика*/
#niz {
  width: auto;
  margin: 10px 10px 0;
  padding: 0 3px;
  text-align: center;
  background: #eee url(img/fon/blue-top.gif) repeat-x;
  border: 1px solid #333;
  background-color: #369;
  color: #fafafa;
  height: 35px;
}
/* Счетчики и логотип сист. Орфус */
#niz img {
  height: 31px;
  width: 88px;
  float: left;
  margin: 2px;
  padding: 0;
}
/* ////////////////////////////////////////////////////////////////////////// */

/* Форма поиска */
#poisk {margin: 20px 0 12px 0;}

/* ССЫЛКИ ------------------------------------------------------------------- */
/* Ссылки */
a:link {color: #000099;}
a:active {color: #000099;}
a:visited {color: #000099;}
a:hover {color: #006699; text-decoration: none;}
/* Класс ссылок для блока ПРАЗДНИКИ на глав. стр. сайта */
a.sel-date {font-weight: bold; padding: 6px 0 1px 0;}
a.sel-name {}
a:link.sel-date {color: #990000;}
a:active.sel-date {color: #990000;}
a:visited.sel-date {color: #990000;}
a:hover.sel-date {color: #CC6600; text-decoration: none;}
/* Класс ссылок на галереи сайта в обновлениях: fg - fotogallery */
a:link.fg {color: #660000;}
a:active.fg {color: #660000;}
a:visited.fg {color: #660000;}
a:hover.fg {color: #993333; text-decoration: none;}
/* Ссылка с глав. стр. на стр. с обновлениями */
a.ssylka-obnovleniya {padding-left: 340px; font-size: 90%; cursor: help;}
/* Класс внешних ссылок */
a.out {}
a:active.out {}
a:visited.out {}
a:hover.out {}
/* Ссылки в подвале */
a.footer {color: #ffffff;}
/* ////////////////////////////////////////////////////////////////////////// */

/* ТЕЛО СТРАНИЦЫ ------------------------------------------------------------ */
/* Ширина, мин. высота, фон, шрифт */
body {
  width: 98%;
  min-height: 98%;
  background-color: #fafafa;
  color: #333;
  font: 13px arial;
}
/* Абзац */
p {text-indent: 20px; margin: 2px 0;}
/* Копирайт */
#kopirait {text-indent: 0; width: 30%; float: left; margin: 10px;}
#kopirait a {color: #fff;} /* Ссылка "Копирайт" */

/* Стрелка "Вверх" в нижн. прав. углу сайта */
#strelka {text-indent: 0; width: 10%; float: right; margin: 10px;}
#strelka a {color: #fff;} /* Ссылка "Копирайт" */

/* ////////////////////////////////////////////////////////////////////////// */

/* цвета для дат: сегодня, вчера, позавчера */
span.today {background-color: #FF9999; padding: 0 3px 0;}
span.yesterday {background-color: #FFFF66; padding: 0 3px 0;}
span.before_yesterday {background-color: #33FF66; padding: 0 3px 0;}

/* таблица с новыми альбомами */
table.albums_news {width: 100%;}
table.albums_news tr {width: 50%;}
table.albums_news tr td {padding: 0 2px 20px 0;}
table.albums_news tr td a img {float: left; margin: 0 5px 3px 0; border: solid 1px #999;}

/* ЛИНИИИ ------------------------------------------------------------------- */
/* Общее для линий */
hr {height: 1px; color: #000;}
/* ////////////////////////////////////////////////////////////////////////// */

/* ЗАГОЛОВКИ ---------------------------------------------------------------- */
/* Заголовки */
h1, h2, h3, h4, h5 {text-align: center; font-weight: bold;}
/* Заголовок сайта */
h1 {font-size: 180%; color: #fff; letter-spacing: 2px; margin: 0; padding: 0;}
h2 {font-size: 20px;}
h3 {font-size: 18px;}
h4 {font-size: 16px;}
h5 {font-size: 14px;}
/* Подзаголовки */
h2 small {font-weight: normal; font-size: 80%; display: block;}
h3 small {font-weight: normal; font-size: 80%; display: block;}
h4 small {font-weight: normal; font-size: 80%; display: block;}
/* Заглавные буквы в списках */
.bukva {font-size: 130%; padding: 15px 0 3px 0;}
/* ///////////////////////////////////////////////////////////////////////////*/

/* ЗАГЛАВИЯ ИНФОРМ. БЛОКОВ НА ГЛ. СТР. -------------------------------------- */
/* Задний фон для выделения заглавий блоков ссылок */
span.poslednee {
  color: #ffffff;
  background: #066 url(img/fon/green.gif) repeat-x;
  padding: 1px 20px;
  font-weight: bold;
  font-size: 110%;
  border: 1px solid #333;
}
/* Заголовок для показа пам. и знамен. дат */
span.daty {
  color: #ffffff;
  background: #903 url(img/fon/red.gif) repeat-x;
  padding: 1px 20px;
  font-weight: bold;
  font-size: 110%;
  border: 1px solid #333;
}
/* Заглавия к информерам */
div.informer {
  background: #066 url(img/fon/green.gif) repeat-x;
  color: #fff;
  padding: 2px 0;
  margin: 20px 0 10px 0;
  text-align: center;
  font-weight: bold;
  font-size: 110%;
  border: 1px solid #333;
}
/* Блоки с датами, посл. обновл. и сообщен. форума */
div.blok {padding: 10px 0 20px 0;}
/* Задний фон информеров главной странице */
.fon-inf {
  background: #eeeeee;
  padding: 5px 0;
  border: 1px solid #D3D3D3;
  text-align: center;
}
/* ////////////////////////////////////////////////////////////////////////// */

/* Рамка вокруг группы объектов */
fieldset {border: 1px solid #006666; padding: 8px 0 5px 15px;}
legend {font-size: small; font-weight: bold; color: #663333;}

/* Элемент списка для ссылок Школа*/
.loz {font-family: Tahoma; font-weight: bold; font-size: 80%;}

/* Подпись под статьёй */
p.podpis {
  font-size: 80%;
  text-align: right;
  text-indent: 0;
  margin: 10px 0;
  font-weight: bold;
  font-family: Tahoma;
}

/* КАРТИНКИ */
/* Картинки */
img {border: 0;}
/* Картинки с подписями и без */
div.left, img.left {float: left; margin: 5px 10px 5px 5px;} /* Картинка или блок слева */
div.right, img.right {float: right; margin: 5px 5px 5px 10px; } /* Картинка или справа */
img.border {border: 1px solid #333;} /* Рамка картинок */
div.left p {text-align: center; font-size: 80%; font-weight: bold; text-indent: 0; margin-top: 5px; font-family: Tahoma;} /* Подписи к картинкам */
div.right p {text-align: center; font-size: 80%; font-weight: bold; text-indent: 0; margin-top: 5px; font-family: Tahoma;} /* Подписи к картинкам */
/* Картинки ссылки СМС */
img.sms {border: 1px solid #336699; height: 31px; width: 88px}

/* Класс ленты RSS с PrimaMedia.ru */
.pm_newsline span {font: 10pt Tahoma; color:#333;}
.pm_newsline a {display: block; padding-bottom: 10px;}
.pm_newsdesc {display: none;}

/* Выпад. списки на глав. стр. */
.glav-spisok {background: #fff; width: 200px;}

/* СТРАНИЦЫ САЙТА */
/* Расписание автобусов */
div.avtobus b {font-size: 110%;}
div.avtobus big {
  display: block;
  text-align: center;
  font-family: Tahoma;
  background: #D9D9D9 url(img/fon/avtobus.gif) repeat-x;
  border: 1px solid #909090;
  padding: 2px;
  margin: 20px 0 6px;
  }
/* Общие сведения об Углекаменске и Казанке */
div.obschie_svedeniya big {margin: 20px 0 5px 20px; display: block;}

/* Видеоархив */
div.video div {float: left; height: 150px; width: 45%; margin: 5px;}
div.video div img {float: left; margin-right: 10px; border: 1px solid #336699;}

/* Бол. иконки разделов на гл. стр. */
table.razdely {width: 100%;}
table.razdely tr {font-size: 110%; text-align: left;}
table.razdely tr th a div {margin-top: 18px; font-weight: lighter;}
table.razdely tr td a div {margin-top: 12px;}
table.razdely tr img {float: left; margin: 6px 10px 0 15px; padding: 0;}

/* Маркеры для списка дат, посл. тем форума и посл. обновлений - на глав. стр. */
span.loz {font-family: Tahoma; font-weight: bold; font-size: 90%;}

/* Архив статей */
div.statiya small {font: 10pt Tahoma; color:#333;} /* Дата и источник в списке статей */
div.statiya i {font: 10pt Tahoma; color:#CC0000;} /* Дата и источник в списке статей */
div.statiya p {text-indent: 0; margin-bottom: 5px;} /* Название статьи в списке статей */
p.rubrika {
  text-indent: 20px;
  margin-top: 10px;
  font-family: Tahoma;
  font-size: 120%;
  } /* Название рубрики в статье */
p.avtor,p.istochnik {
  font-size: 85%;
  text-align: right;
  text-indent: 0;
  margin: 10px 0;
  font-weight: bold;
  font-family: Tahoma;
  } /* Автор статьи */

/* Стихи */
pre {
  margin: 6px 20px 6px;
  font-family: Verdana;
  font-size: 85%;
  font-style: italic;
}

/* Названия рубрики в архиве статей */
div.rubrika {
  border: 1px solid #333;
  background: #369 url(img/fon/blue.gif) repeat-x;
  padding: 3px 3px 3px 10px;
  margin: 20px 0 15px;
  width: auto;
  height: 22px;
}
div.rubrika span {
  float: left;
  color: #ffffff;
  font-family: Tahoma;
  font-weight: bold;
  line-height: 1.5;
}
div.rubrika form {
  float: right;
}

/* класс для таймера */
p.timer {
  text-align: center;
  font-family: Tahoma;
  font-size: 120%;
  padding: 2px;
  margin: 12px 0 8px;
  color: #696969;
  background: #FAF0E6;
  border: 1px solid #333;
}

/* класс для страницы "Популярные фото" */
div.popular {width: 100%; margin: 10px;} /* Ограничивает пространство с эскизами в альбоме*/
div.popular a:hover {font-size: 100%; left: 2px; position: relative; top: 2px; text-decoration: none} /* Притапливание эскиза при наведении курсора */
div.popular div {float: left; margin: 0px; text-align: center; height: 150px; width: 122px; padding-right: 4px;} /* Класс для выстраивания эскизов в альбоме */
div.popular div img {border: solid 1px #000;} /* Рамка и отступы у эскизов в галерее */

/* вывод фото с галерей на глав. стр. сайта */
table.print_photo_main tr td {font-size: 85%;}
table.print_photo_main tr td a img {border: solid 1px #999;}

/* класс для всплывающей подсказки к эскизам */
#tooltip{
    background:#fff;
    border:1px solid #46688e;
    color:#215d98;
    font:11px verdana;
    margin:0px;
    padding:5px;
    position:absolute;
    visibility:hidden;
    width: 250px;
    opacity: .80;
    filter: progid:DXImageTransform.Microsoft.Alpha(opacity=80);
}

/* разные цвета у сообщений при выводе */
div.note2 {background-color: #EEEEEE} /* цвет ячеек для четных записей */
div.note1 {background-color: #FFFFFF} /* цвет ячеек для нечетных записей */

/* предупреждение о неправильном вводе */
p.notice {
  text-indent: 0;
  display: block;
  background-color: #FFFF66;
  font-weight: bold;
  margin: 4px 0 4px;
  padding: 4px;
  text-align: center;
}
span.notice {
  background-color: #FFFF66;
  font-weight: bold;
  margin: 4px 0 4px;
  padding: 4px;
  text-align: center;
}

/* вывод ссылок в каталоге */
div.link {margin: 0 0 20px; padding: 10pх 0 10px; border:0; border-bottom: 1px solid #BBBBBB;}
div.link small {color: #777777; display: block; padding-bottom: 5px; font-size: 80%;}

/* кнопки в разделе "ссылки" */
div.link-button {height: 25px; border: solid 0px #999;} /* высота блока с кнопками вверху стр. */
div.link-button form {float: left;} /* кнопки вверху в альбоме */
div.link-button form input, input.link-button {width: 75px; padding: 2px 5px 2px; margin: 1px; color: #000; font-size: 12px; background: #ddd url("../gallery/img/fon/bg_button.gif") repeat-x top; cursor: pointer;} /* кнопки */
div.link-button form input.about {width: 20px;} /* кнопки "об альбоме" */

/* навигация в каталоге ссылок */
div.links_page_navigation {text-align: center; margin-bottom: 20px;}

/* серебристые кнопки в формах */
input.bbcode {
  width: 110px;
  padding: 2px 5px 2px;
  margin: 1px;
  color: #000;
  font-size: 90%;
  background: #ddd url("../gallery/img/fon/bg_button.gif") repeat-x top;
  cursor: pointer;
}
span.bb input {
  padding: 2px 5px 2px;
  margin:0;
  color: #000;
  font-size: 90%;
  background: #ddd url("../gallery/img/fon/bg_button.gif") repeat-x top;
  cursor: pointer;
}

/* предупреждение */
div.notice {background-color: #FFFF33; color: #000000;}

/* к архиву статей */
p.rubric {
  text-indent: 20px;
  margin-top: 10px;
  font-family: Tahoma;
  font-size: 110%;
  } /* Название рубрики в статье */
p.author,p.source {
  font-size: 85%;
  text-align: right;
  text-indent: 0;
  margin: 10px 0;
  font-weight: bold;
  font-family: Tahoma;
  } /* Автор статьи */
div.article h3, h4, h5 {padding-bottom: 0; margin-bottom: 0;}

/* серебристые кнопки, произвольной ширины */
input.silver {
  padding: 2px 5px 2px;
  margin: 1px;
  color: #000;
  font-size: 12px;
  background: #ddd url("../gallery/img/fon/bg_button.gif") repeat-x top;
  cursor: pointer;
}

/* класс для раздела "архив статей" */
div.articles i a {color: #FF0000;}
div.articles div {margin: 0; padding: 10pх 10 px 20px 10px; padding: 10px; border:0; border-bottom: 1px solid #BBBBBB;}
div.articles div small {color: #4F4F4F; display: block; padding-bottom: 5px; font-size: 80%;}
div.articles center {{margin: 0; padding:0;}
div.articles pre {margin: 0; padding:0; line-height:80%;}
div.articles span {background-color: #FFFF99;}
