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

html, body{
	padding: 0;
	margin: 0;
  height: 100%;
  background: url('bg.jpg');
}

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

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

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

p{
  margin: 12px 0;
}

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

blockquote {
  margin: 10px 25px;
  padding: 5px 15px;
  background-color: #dff8ff;
}

/*** Цветовая схема текста ***/

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

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

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

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

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

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

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

a:hover, a:active{
  color: #ae0020;
}

.doc_href, .docx_href, .rtf_href, .odt_href, .ppt_href, .pptx_href, .xls_href, .xlsx_href, .rar_href, .zip_href, .pdf_href, .jpg_href, .png_href, .gif_href, .tif_href, .external_href{
  padding: 2px 0 2px 22px;
  height: 16px;
}

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

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

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

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

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

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

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

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

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

.jpg_href{
  background: url('/files/files_icons/jpg.gif') left no-repeat;
}

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

.gif_href{
  background: url('/files/files_icons/gif.gif') left no-repeat;
}

.tif_href{
  background: url('/files/files_icons/gif.gif') left no-repeat;
}

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

.href_bold, .archive_href{
  font-weight: bold;
}

.archive_href{
  margin-top: 25px;
}

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

.big_href{
  font-size: 22px;
}

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

h1, h1 *, h2, h2 *, h3, h3 *, h4, h4 *{
  font-family: 'Georgia';
  font-weight: normal;
}

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

h1{
  color: #20871a;
  margin: 0 0 22px 0;
}

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

h2{
  color: #ae0020;
  margin: 24px 0 12px;
}

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

h3{
  color: #ff6c00;
  margin: 20px 0 10px 0;
}

h4, h4 *{
  font-size: 18px;
  font-weight: normal;
}

h4{
  font-size: 16px;
  margin: 20px 0 10px 0;
  margin: 20px 0 10px 0;
}

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

#page_content{
  width: 1200px;
  height: 100%;
  margin: 0 auto;
}

#main_table{
  width: 100%;
  height: 100%;
  background: #fff url('bg_bottom.jpg') bottom left no-repeat;
  box-shadow: 0 0 10px rgba(0,0,0,0.5);
}

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

#top{
  height: 400px;
  background: url('bg_top.jpg') center top no-repeat;
}

#logo, #logo_link{
  background: url('bg_logo.png') center no-repeat;
  margin: 5px auto;
  padding: 100px 0 40px 0;
  text-align: center;
  width: 330px;
}

#logo h1, #logo_link h1, #logo h1 *, #logo_link h1 *{
  font-size: 16px;
  margin: 0;
  font-family: 'Georgia';
}

#logo h2, #logo_link h2, #logo h2 *, #logo_link h2 *{
  font-size: 14px;
  line-height: 14px;
  margin: 0;
  font-family: 'Georgia';
}

#logo h2, #logo_link h2{
  margin-top: 5px;
}

#logo h1, #logo_link h1{
  color: #ae0020;
}

#logo h2, #logo_link h2{
  color: #ae0020;
}

#logo_link:hover{
  opacity: 0.8;
  cursor: pointer;
}

#top_menu{
  float: right;
  border-radius: 0 0 0 10px;
}

#top_menu img{
  margin: 10px 15px;
}

#top_menu .active{
  opacity: 0.6;
}

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

#main_left{
  padding: 0 0 25px 25px;
  //padding-top: 25px;
  width: 160px;
}

#main_center{
  padding: 0 25px 25px 5px;
  //padding-top: 25px;
  height: 100%;
  width: 100%;
}

#main_right{
  padding-bottom: 25px;
  //padding-top: 25px;
}

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

.dir_main{
  width: 200px;
  border-radius: 10px;
  float: right;
  background-color: #dff8ff;
  text-align: center;
  font-size: 12px;
  padding-bottom: 5px;
  margin: 10px 0 10px 25px;
  box-shadow: 3px 3px 2px rgba(80, 80, 80, 0.2);
}

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

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

.suckertreemenu ul{
  margin: 10px 0 0 20px;
  padding: 0;
}

.suckertreemenu ul li{
  position: relative;
  display: inline;
  float: left;
  padding: 0;
  margin: 0 0 0 5px;
  background: none;
  white-space: normal;
}

.suckertreemenu ul li a:link, .suckertreemenu ul li a:visited, .suckertreemenu ul li strong{
  display: block;
  padding: 8px 10px;
  font-size: 13px;
  color: #000;
}

.suckertreemenu ul li strong, .suckertreemenu ul li a:hover, .suckertreemenu ul li a:active, .suckertreemenu #active_link:link, .suckertreemenu #active_link:visited, .suckertreemenu ul li:hover>a{
  font-weight: normal;
  background-color: #1a4387;
  color: #fff;
  border-radius: 10px;
  box-shadow: 3px 3px 2px rgba(50, 50, 50, 0.2);
}

.suckertreemenu #active_link:hover, .suckertreemenu #active_link:active{
  color: #fd92a6;
}

.suckertreemenu ul li ul{
  position: absolute;
  top: 0px;
  margin: 0;
  visibility: hidden;
  width: 225px;
  z-index: 10;
  //display: none;
}

.suckertreemenu ul li ul li{
  width: 225px;
  background-color: #1a4387;
  box-shadow: 3px 3px 2px rgba(50, 50, 50, 0.2);
  z-index: 10;
  margin: 0;
}

.suckertreemenu ul li ul li a:link, .suckertreemenu ul li ul li a:visited{
  font-size: 12px;
  display: block;
  padding: 5px 10px;
  text-decoration: underline;
  color: #fff;
}

.suckertreemenu ul li ul li a:hover, .suckertreemenu ul li ul li a:active{
  color: #fd92a6;
  border-radius: 0;
  background: none;
}

.suckertreemenu ul li ul li:first-child, .suckertreemenu ul li ul li:first-child #active{
  border-radius: 10px 10px 0 0;
}

.suckertreemenu ul li ul li:last-child, .suckertreemenu ul li ul li:last-child #active{
  border-radius: 0 0 10px 10px;
}

* html p#iepara{
  display: none;
}

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

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

#left_bottom{
  float: left;
  margin: 180px 0 60px 260px;
}

#right_bottom{
  margin: 180px 25px 60px 0;
  float: right;
}

#crutch{
  visibility: hidden;
}

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

.block{
  background-color: #dff8ff;
  border-radius: 10px;
  padding: 5px 15px 5px 15px;
  width: 170px;
  margin: -8px 25px 55px 0;
  box-shadow: 3px 3px 2px rgba(80, 80, 80, 0.2);
}

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

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

 #main_left h2, #main_right h2{
  color: #fff;
  background: #1a4387 url('logo.png') right no-repeat;
  background-size: 40px;
  margin: -25px 0 15px 0;
  font-size: 15px;
  width: 155px;
  padding: 10px 30px 10px 15px;
  font-family: 'Tahoma';
  font-weight: normal;
  border-radius: 10px;
  box-shadow: 3px 3px 2px rgba(80, 80, 80, 0.2);
}

#main_left h2 *, #main_right h2 *{
  color: #fff;
  font-size: 15px;
  font-family: 'Tahoma';
  font-weight: normal;
}

#main_left h2 a:hover, #main_left h2 a:active, #main_right h2 a:hover, #main_right h2 a:active{
  color: #fd92a6;
}

.block img{
  border-radius: 10px;
  opacity: 0.9;
  border: 2px solid #70d4f7;
}

.block a:hover img{
  opacity: 1;
  border: 2px solid #fd92a6;
}

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

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

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

#page_menu_single ul li{
  color: #aaa;
  margin-bottom: 10px;
}

#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;
}

#page_menu .active{
  background-color: #dff8ff;
  border-radius: 5px;
}

#page_menu .semiactive{
  background-color: #dff8ff;
  border-radius: 5px;
}

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

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

#map ul{
  margin: 0 0 0 -35px;
}

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

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

#form_search{
  margin: 10px 25px 10px 10px;
  float: right;
  background-color: #fff;
  padding: 2px;
  border-radius: 5px;
  width: 214px;
  border: 1px solid #ddd;
}

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

#icon_search{
  cursor: pointer;
  float: right;
}

.bleak{
  color: #777;
}

.search_select{
  background-color: #f9b8b8;
}

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

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

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

#photoswitcher p{
  margin-top: 0;
}

#photoswitcher div{
  width: 198px;
  height: 147px;
  border-radius: 10px;
  box-shadow: 3px 3px 2px rgba(80, 80, 80, 0.2);
}

#photoswitcher{
  margin: -37px 0 50px 0;
}

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

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

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

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

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

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

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

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

.page_active{
  background-color: #dff8ff;
  padding: 3px;
  margin-right: 10px;
}

.page_div{
  margin-right: 10px;
}

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

.content_table td, .content_table_small td{
  border: 1px #ddd solid;
  padding: 5px;
}

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

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


/*** Формы ***/

input, textarea, select {
  color: #000;
  padding: 5px;
  font-size: 14px;
  font-family: 'Open Sans', 'sans-serif';
}

option {
  font-size: 14px;
}

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

input[type=submit], input[type=reset], input[type=button] {
  padding: 5px 20px;
}

#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;
}

#feedback_div {
  margin-top: 20px;
  border-radius: 10px;
  background-color: #dff8ff;
  padding: 15px 0;
  box-shadow: 3px 3px 2px rgba(80, 80, 80, 0.2);
}

#feedback_div {
  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;
}

.question{
  margin-bottom: 25px;
}

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

input[type=submit], input[type=reset], input[type=button] {
  border: none;
  outline: none;
  color: #fff;
  border-radius: 25px;
  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-color: #ae0020;
  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: #f1002d;
}

input[type=submit]:enabled:active, input[type=reset]:enabled:active, input[type=button]:enabled:active {
  padding-top: 6px;
  padding-bottom: 4px;
  background: #f1002d ;
  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: 25px;
}

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

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

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

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

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

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

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

#news_main{
  margin-top: 25px;
  clear: both;
}

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

.news_title_block p{
  margin: 0;
}

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

.news_annotation{
  font-style: italic;
  margin-bottom: 15px;
}

.news_annotation_title{
  margin-top: 5px;
}

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

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

.news_image_small{
  float: left;
  max-width: 220px;
}

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

.archive_href{
  margin-top: 25px;
}

.back_href{
  margin-top: 15px;
}

.news_annotation_title p{
  margin: 0;
}

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

.document_href{
  margin: 15px 0;
}

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

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

#settings_panel{
  background-color: #ecf5ff;
  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: none;
  background-size: 25px;
  padding-left: 30px;
}

#settings_panel #minimize_href:hover, #settings_panel #minimize_href:active, #settings_panel #minimize_href:focus  {
  background: url('eye_hover.png') left no-repeat;
  //background: none;
  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;
}

.vote span {
  cursor: pointer;
}

#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;
}