﻿/*** Общие свойства ***/

html, body {
  padding: 0;
  margin: 0;
  height: 100%;
  background-color: #c3c2ae;
}

table {
  border: 0px;
  border-collapse: collapse;
}

table td {
  padding: 0px;
  vertical-align: top;
}

img {
  border: 0px;
  margin: 0px;
}

p {
  margin: 12px 0;
}

hr {
  color: #c3c2ae;
  background-color: #c3c2ae;
  border: 0 none;
  height: 1px;
  clear: both;
}

blockquote {
  margin: 10px 30px;
  padding: 5px 15px;
  background-color: #e1e0c9;
  box-shadow: 3px 3px 2px rgba(80, 80, 80, 0.2);
}

/*** Текст ***/

* {
  font-family: 'Tahoma';
  font-size: 14px;
}

small, .small, .text_marked_small, small *, .text_small *, .text_marked_small * {
  font-size: 12px;
}

.text_marked, .text_marked_small, .text_marked_big {
  color: #ff6c00;
}

sub, sup {
  font-size: 8px;
}

/*** Ссылки ***/

a:link, a:visited {
  text-decoration: underline;
  color: #ff6c00;
}

a:hover, a:active {
  color: #8dacac;
}

.doc_href, .rtf_href, .odt_href {
  background: url('/files/files_icons/doc.gif');
}

.docx_href {
  background: url('/files/files_icons/docx.gif');
}

.ppt_href {
  background: url('/files/files_icons/ppt.gif');
}

.pptx_href {
  background: url('/files/files_icons/pptx.gif');
}

.xls_href {
  background: url('/files/files_icons/xls.gif');
}

.xlsx_href {
  background: url('/files/files_icons/xlsx.gif');
}

.rar_href {
  background: url('/files/files_icons/rar.gif');
}

.zip_href {
  background: url('/files/files_icons/zip.gif');
}

.pdf_href {
  background: url('/files/files_icons/pdf.gif');
}

.jpg_href, .jpeg_href, .jpe_href {
  background: url('/files/files_icons/jpg.gif');
}

.png_href {
  background: url('/files/files_icons/png.gif');
}

.gif_href {
  background: url('/files/files_icons/gif.gif');
}

.tif_href, .tiff_href {
  background: url('/files/files_icons/gif.gif');
}

.doc_href, .docx_href, .rtf_href, .odt_href, .ppt_href, .pptx_href, .xls_href, .xlsx_href, .rar_href, .zip_href, .pdf_href, .jpg_href, .jpe_href, .jpeg_href, .png_href, .gif_href, .tif_href, .tiff_href, .external_href {
  padding: 2px 0 2px 22px;
  background-position: left;
  background-repeat: no-repeat;
  height: 16px;
}

.external_href {
  background: url('external_link_icon.png') left no-repeat;
}

.external_href:hover {
  background: url('external_link_icon_hover.png') left no-repeat;
}

.arrow_href {
  padding-left: 15px;
  background: url('arrow_href.gif') left no-repeat;
}

/*** Заголовки ***/

h1, h1 *, .big, .text_marked_big, .big *, .text_marked_big * {
  font-size: 28px;
}

h1 {
  font-weight: normal;
  margin: 8px 0 22px 0;
  color: #117b3c;
}

h2, h2 * {
  font-size: 24px;
}

h2 {
  margin: 24px 0 12px;
  font-weight: normal;
  color: #117b3c;
}

h3, h3 * {
  font-size: 20px;
}

h3 {
  margin: 20px 0 10px 0;
  font-weight: normal;
}

h4, h4 * {
  font-size: 16px;
}

h4 {
  margin: 16px 0 10px 0;
  font-weight: normal;
  font-style: italic;
}

/*** Списки ***/

ul, ol {
  margin: 0.5em 0;
  padding: 0 0 0 2em;
}

ol li {
  margin: 0.5em 1.5em;
}

/*** Основная таблица ***/

#page_content {
  max-width: 1280px;
  min-width: 1000px;
  height: 100%;
  margin: 0 auto;
}

#main_table {
  width: 97%;
  height: 100%;
  margin: 0 auto;
}

/*** Верх ***/

#top_table {
  width: 100%;
}

#top_div {
  background: #ecebd4;
  height: 170px;
  border-left: 1px solid #c3c2ae;
  border-right: 1px solid #c3c2ae;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  margin: 10px 0 5px 0;
}

#logo, #logo_link {
  margin: -10px 0 30px 30px;
  float: left;
  width: 580px;
}

#logo img, #logo_link img {
  float: left;
  height: 100px;
  margin: 0;
}

#logo h1, #logo_link h1 {
  font-size: 24px;
  margin: 0 0 0 0;
  text-align: center;
}

#logo h2, #logo_link h2 {
  font-size: 16px;
  margin: 0;
}

#logo_link:hover {
  cursor: pointer;
}

#top_menu {
  float: right;
}

#top_menu * {
  font-size: 12px;
}

#top_menu a:link, #top_menu a:visited, #top_menu .active {
  color: #a79a7a;
  margin: 16px 10px 0 10px;
  display: block;
  float: left;
}

#top_menu a:hover, #top_menu a:active, #top_menu .active, #logo_link:hover * {
  color: #8dacac;
}

/*** Поиск ***/

#form_search {
  margin: 10px;
  float: right;
  background-color: #fff;
  padding: 2px;
  box-shadow: 0 0 3px rgba(0, 0, 0, 0.2);
  width: 209px;
  border: 1px solid #c3c2ae;
}

#ed_search {
  width: 142px;
  border: 1px solid #fff;
  float: left;
}

#icon_search {
  margin: 2px 3px 0 3px;
  cursor: pointer;
  float: right;
  width: 24px;
}

.bleak {
  color: #aaa;
}

.search_select {
  background-color: #ffff99;
}

.search_select_small {
  font-size: 12px;
  background-color: #ffff99;
}

.search_text {
  display: block;
  font-size: 12px;
}

/*** Центральная строка ***/

#center {
  height: 100%;
}

#center_table {
  width: 100%;
  height: 100%;
  background: #ecebd4;
}

#center_div {
  border-left: 1px solid #c3c2ae;
  border-right: 1px solid #c3c2ae;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  margin: 0 0 10px 0;
  height: 100%;
  height: auto !!important; /* Получи, IE, гранату! */
}

#main_left {
  padding: 15px 0 0 15px;
  height: 100%;
}

#main_center {
  padding: 3px 20px 0 20px;
  height: 100%;
  width: 100%;
}

#main_center img {
  margin: 0 10px 5px 10px;
}

.rss * {
  font-size: 12px;
}

/*** Меню ***/

.suckertreemenu ul {
  margin: 0;
  padding: 0;
}

.suckertreemenu ul li {
  position: relative;
  display: inline;
  float: left;
  padding: 0;
  margin: 0;
  background: none;
  white-space: normal;
  width: 210px;
  background-color: #e1e0c9;
  box-shadow: 3px 3px 2px rgba(80, 80, 80, 0.2);
  z-index: 10;
}

.suckertreemenu ul li a:link, .suckertreemenu ul li a:visited, .suckertreemenu ul li strong {
  display: block;
  padding: 6px 25px 6px 12px;
  font-size: 14px;
  color: #000;
  text-decoration: none;
}

.suckertreemenu ul li ul {
  position: absolute;
  top: 0;
  visibility: hidden;
}

.suckertreemenu ul li ul li {
  width: 300px;
}

.suckertreemenu ul li ul li a:link, .suckertreemenu ul li ul li a:visited {
  font-size: 12px;
  padding: 5px 20px 5px 10px;
}

.suckertreemenu ul li a:hover, .suckertreemenu ul li a:active,
.suckertreemenu #active_link:link, .suckertreemenu #active_link:visited, .suckertreemenu ul li:hover>a {
  color: #ff6c00;
  text-decoration: underline;
  background-color: #ecebd4;
}

.suckertreemenu ul li strong {
  font-weight: normal;
  color: #ff6c00;
  background-color: #ecebd4;
}

.suckertreemenu ul li:first-child a, .suckertreemenu ul li:first-child strong {
  padding-top: 10px;
}

.suckertreemenu ul li:last-child a, .suckertreemenu ul li:last-child strong {
  padding-bottom: 12px;
}

.suckertreemenu ul li ul li:first-child a {
  padding-top: 7px;
}

.suckertreemenu ul li ul li:last-child a {
  padding-bottom: 7px;
}

.suckertreemenu .mainfoldericon, .suckertreemenu .subfoldericon {
  background-image: url('arrow_menu.gif');
  background-repeat: no-repeat;
  background-position: right center;
}

.suckertreemenu .mainfoldericon:hover, .suckertreemenu .subfoldericon:hover, .suckertreemenu #active>.mainfoldericon, .suckertreemenu ul li:hover>.mainfoldericon,  .suckertreemenu ul li:hover>.subfoldericon {
  background-image: url('arrow_menu_hover.gif');
}

* html p#iepara {
  display: none;
}

/*** Нижняя строка ***/

#bottom {
  padding: 15px;
  background: #ecebd4;
}

#bottom_div {
  background: #e1e0c9;
  padding: 12px 15px;
  height: 40px;
  box-shadow: 3px 3px 2px rgba(80, 80, 80, 0.2);
}

#bottom, #bottom * {
  font-size: 12px;
}

#left_bottom {
  float: left;
}

#right_bottom {
  float: right;
}

#crutch {
  visibility: hidden;
}

/*** Меню страницы ***/

#page_menu ul {
  margin: 30px 0 0 -25px;
  width: 140px;
}

#page_menu_single ul {
  margin: 0 0 0 -25px;
}

#page_menu ul li {
  margin-bottom: 10px;
  list-style: none;
}

#page_menu_single ul li {
  margin-bottom: 10px;
  list-style: none;
}

#page_menu ul li ul, #page_menu_single ul li ul {
  margin: 10px 0 0 -20px;
}

#page_menu a, #page_menu span {
  padding: 5px;
  display: block;
}

/*** Баннеры ***/

.block {
  padding: 10px 15px;
  width: 180px;
  background-color: #e1e0c9;
  box-shadow: 3px 3px 2px rgba(80, 80, 80, 0.2);
}

#main_right .block {
  margin: 15px 15px 15px 0;
}

#main_left .block {
  margin: 15px 0 0 0;
}

.block ul {
  padding: 0;
  margin: 0;
}

.block ul li {
  list-style: none;
  margin-bottom: 15px;
}

.block h2 {
  margin-top: 0;
  font-size: 17px;
}

/*** Карта сайта ***/

#map ul li {
  list-style: none;
  margin-bottom: 5px;
}

#map ul {
  margin: 0 0 0 0;
}

#map ul li ul {
  margin: 5px 0 0 0;
}

/*** Мигающее изображение ***/

#photoswitcher p {
  margin-top: 0;
}

#photoswitcher div {
  width: 170px;
  height: 240px;
}

#photoswitcher {
  margin: 30px 30px 30px 0;
}

/*** Опрос ***/

.vote {
  margin: 0 30px 0 0;
}

/*** Хлебные крошки ***/

.breadcrumbs {
  font-size: 13px;
  padding-bottom: 10px;
}

.breadcrumbs *, .breadcrumbs a:link, .breadcrumbs a:visited {
  font-size: 13px;
}

.breadcrumbs .divider {
  margin: 0 5px;
}

/*** Навигатор страниц ***/

.page_nav {
  padding: 20px 0;
  font-size: 18px;
  clear: both;
}

.page_nav * {
  font-size: 18px;
}

.page_nav a {
  margin-right: 10px;
  padding: 5px;
}

.page_active {
  background-color: #e1e0c9;
  padding: 5px;
  margin-right: 10px;
}

.page_div {
  margin-right: 10px;
}

/*** Содержимое страницы ***/

.content_table td {
  border: 1px #c3c2ae solid;
  padding: 3px 8px;
}

.content_table_without_borders td {
  padding: 3px 10px;
}

.content_table_selected, thead {
  font-weight: bold;
  background-color: #e1e0c9;
}

/*** Обратная связь и отзывы ***/

input, textarea, select {
  color: #000;
  padding: 5px;
  font-size: 13px;
  font-family: 'Tahoma';
}

option {
  font-size: 13px;
}

#feedback .loading {
  width: 350px;
  height: 28px;
  background: url('loading.gif') no-repeat;
  background-size: 20px;
  margin: 3px 0 20px 0;
}

#feedback #number {
  float: left;
}

#feedback #number_refresh {
  float: left;
  margin: 5px 10px 0 10px;
  width: 16px;
}

input:disabled, textarea:disabled {
  color: #a9a9a9;
}

#feedback_div {
  margin-top: 20px;
  padding: 15px 0;
  background: #e1e0c9;
  box-shadow: 3px 3px 2px rgba(80, 80, 80, 0.2);
  width: 580px;
}

#feedback h2 {
  margin-top: 0;
}

#feedback td {
  padding: 7px 20px 0 20px;
}

#feedback input[type=text] {
  width: 350px;
}

#feedback select {
  width: 360px;
}

#feedback textarea {
  width: 350px;
  height: 180px;
}

#feedback #ed_number {
  width: 50px;
  margin: 0 0 10px 10px;
  float: left;
}

.feedback_info {
  float: left;
  margin: -5px 20px 0 0;
}

.question {
  margin-bottom: 18px;
}

.answer {
  margin-top: 5px;
  font-style: italic;
  color: #639d2a;
}

.vote input[type=radio] {
  cursor: pointer;
  margin-right: 5px;
}

.vote span {
  cursor: pointer;
}

input[type=submit], input[type=reset], input[type=button] {
  border: none;
  outline: none;
  color: #fff;
  border-radius: 10px;
  vertical-align: top;
  cursor: pointer;
  padding: 5px 20px;
  margin-right: 0;
  line-height: normal;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, .5);
  background-image: linear-gradient(-180deg, #ff9242 0%, #ffa766 100%);
  background-color: #ff9242;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), 0 1px 1px rgba(0, 0, 0, .3)
}

input[type=submit]:hover, input[type=reset]:hover, input[type=button]:hover {
  background-image: linear-gradient(-180deg, #ffb053 0%, #ffc37a 100%);
  background-color: #ffb053;
}

input[type=submit]:enabled:active, input[type=reset]:enabled:active, input[type=button]:enabled:active {
  padding-top: 6px;
  padding-bottom: 4px;
  background-image: linear-gradient(-180deg, #ffb053 0%, #ffc37a 100%);
  background-color: #ffb053;
  box-shadow: inset 0 1px 5px rgba(0, 0, 0, .6)
}

input[type=submit]:disabled, input[type=reset]:disabled, input[type=button]:disabled {
  background: #efefef;
  color: #a9a9a9;
  text-shadow: none;
  cursor: default;
}

/*** Фотогалерея ***/

.thumbnails {
  margin-top: 30px;
}

.thumbnails .th {
  display: block;
  margin: 0 20px 20px 0;
  float: left;
}

.thumbnails label {
  display: block;
  font-size: 12px;
  width: 200px;
}

.thumbnails .photogallery_href label {
  cursor: pointer;
  font-size: 12px;
}

.thumbnails .photogallery_href img, .highslide img {
  border: 2px solid #c3c2ae;
}

.thumbnails .photogallery_href:hover img, .highslide:hover img {
  border: 2px solid #8dacac;
}

/*** Новости ***/

#news {
  margin-top: -20px;
}

.news_title_block {
  margin: 0;
  clear: both;
  padding-top: 20px;
}

.news_title, .news_title * {
  font-size: 20px;
}

.news_annotation {
  margin-bottom: 15px;
}

.news_annotation_title {
  margin-top: 10px;
}

.news_date, .ad_date, .news_annotation_title {
  display: block;
  font-weight: normal;
}

.news_date, .ad_date {
  color: #777;
  font-size: 13px;
}

.news_image_small {
  float: left;
  width: 200px;
}

.news_image_big {
  float: right;
  margin: 0 0 15px 15px;
}

.archive_href {
  padding: 20px 0;
  clear: both;
}

.back_href {
  padding: 20px 0;
  clear: both;
}

.back_href *, .archive_href * {
  font-size: 18px;
}

.news_annotation_title p {
  margin: 0;
}

/*** Документы ***/

.document_href {
  margin: 15px 0;
}

.document_properties, .document_description {
  margin-top: 3px;
  font-size: 12px;
}

/*** Статьи ***/

.articles_publisher, .articles_annotation, .articles_author {
  font-size: 12px;
  display: block;
}

.article {
  margin-bottom: 20px;
}

/*** Панель настроек ***/

#settings_panel{
  background-color: #ebebeb;
  border-bottom: 1px solid #aaa;
}

#settings_panel div {
  width: 210px;
  float: left;
  padding: 0 0 10px 20px;
}

#settings_panel #minimize {
  float: right;
  width: 280px;
  text-align: right;
  padding: 5px 5px 7px 5px;
}

#settings_panel #minimize_href {
  border: none;
  text-decoration: underline;
  background: url('eye.png') left no-repeat;
  background-size: 25px;
  padding-left: 30px;
  // padding-left: 40px;
}

#settings_panel #minimize_href:hover, #settings_panel #minimize_href:active, #settings_panel #minimize_href:focus  {
  background: url('eye_hover.png') left no-repeat;
  background-size: 25px;
}

#settings_panel .caption{
  font-size: 18px;
  padding-bottom: 3px;
}

#settings_panel p {
  margin: 5px 0;
}

#settings_panel * {
  font-size: 16px;
  color: #000;
}

#settings_panel a:link, #settings_panel a:visited {
  border: 3px solid #000;
  text-decoration: none;
  padding: 2px 5px;
  margin: 0 10px 0 0;
}

#settings_panel a:hover, #settings_panel a:active, #settings_panel a:focus, #settings_panel .active:link, #settings_panel .active:visited {
  border: 3px solid #d80000;
  color: #d80000;
}

#change_fontsize_normal{
  font-size: 14px;
}

#change_fontsize_medium{
  font-size: 18px;
}

#change_fontsize_big{
  font-size: 22px;
}

#change_colors_normal{
  background: url('change_colors_normal_bg.png') center;
  background-size: 32px;
}

#change_colors_bw{
  background-color: #fff;
  color: #000;
}

#change_colors_wb{
  background-color: #000;
  color: #fff;
}

#change_colors_blue{
  background-color: #9dd1ff;
  color: #05284c;
}

#settings_panel #return_href {
  display: block;
  border: none;
  text-decoration: underline;
  background: none;
  padding-left: 25px;
  margin-top: 15px;
  font-weight: bold;
}

/*** Fix ***/

.p1 {
  margin-top: 24px;
}

.nobr {
  white-space: nowrap;
}

.text_success, .text_success_small {
  color: #12aa2e;
}

.share {
  float: right;
  margin: 0 0 10px 15px;
}

#main_center .img_align_left {
  margin: 0 15px 10px 0;
  float: left;
}

#main_center .img_align_right {
  margin: 0 0 10px 15px;
  float: right;
}

#main_center .thumbnails img {
  margin: 0;
}