/*** Общие свойства ***/
@font-face {
  font-family: Sylfaen;
  src: url(sylfaen.ttf);
}

html, body{
	padding: 0;
	margin: 0;
  background-color: #cce7aa;
  text-align: center;
}

body{
  padding: 10px 0;
}

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

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

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

hr{
	height: 1px;
	color: #ebebeb;
}

p{
  margin: 12px 0 12px 0;
}

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

*{
	color: #000000;
	font-family: "Tahoma";
	font-size: 12px;
}

small, small *, .text_marked_small, small a{
	font-size: 11px;
}

.text_marked, .text_marked_small{
	color: #fc3e19;
}

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

a:link, a:visited, a:link *, a:visited *{
	text-decoration: underline;
  color: #2064a3;
}

a:hover, a:active, a:hover *, a:active *{
	color: #fc3e19;
}

.doc_href, .docx_href, .ppt_href, .pptx_href, .xls_href, .rar_href, .zip_href, .pdf_href, .jpg_href, .png_href, .gif_href{
  padding-left: 25px;
  height: 16px;
  padding-top: 2px;
  padding-bottom: 2px;
}

.doc_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;
}

.rar_href{
  background: url('/img/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;
}

.href_bold{
  font-weight: bold;
}

.big_href{
  font-size: 22px;
}

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

h1{
	font-size: 22px;
	font-weight: normal;
	margin-bottom: 14px;
  color: #fc3e19;
}

h2{
  font-size: 18px;
  color: #fc3e19;
  margin-top: 24px;
  font-weight: normal;
}

h3{
  font-size: 14px;
  margin-top: 20px;
  margin-bottom: 10px;
  font-weight: bold;
}

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

ul li{
  padding-bottom: 3px;
  padding-left: 20px;
  margin-left: -20px;
  background: url(li.gif) top left no-repeat;
}

ul{
  margin-top: 5px;
  list-style: none;
}

ol li{
  margin-bottom: 7px;
}

ol{
  margin-top: 7px;
}

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

#main_table{
  width: 980px;
	height: 100%;
  background: #fff;
  margin: 0 auto;
  border-radius: 10px;
}

#main_content{
	padding: 20px;
  height: 100%;
  width: 100%;
  //width: 760px;
}

#main_content img{
  margin: 0 15px 5px 0;
}

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

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

#logo, #logo_link{
  float: left;
  margin: 60px 0 0 200px;
  padding: 0;
  font-family: "sylfaen";
  font-size: 20px;
  color: #fc3e19;
  width: 300px;
}

#logo *, #logo_link *{
  font-family: "sylfaen";
  margin: 0;
  color: #fc3e19;
  text-decoration: none;
}

#logo h1, #logo_link h1{
  font-size: 32px;
}

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

#crutch{
  visibility: hidden;
}

#bottom{
  background: url('bg_bottom.jpg') no-repeat center top;
  padding: 100px 0 0 0;
  //padding-top: 90px;
}

#bottom *{
  color: #737373;
}

#bottom a:hover, #bottom a:active{
	color: #fc3e19;
}

#copyright{
  float: left;
  padding: 0 0 5px 20px;
  background: url(bottom.png) top left no-repeat;
}

#itt{
  float: right;
  padding: 20px;
}

/*** Выпадающее меню ***/

#main_menu_td{
  padding: 20px 0 0 20px;
  width: 170px;
}

.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: 180px;
  border-bottom: 1px #fff solid;
  background-color: #fde1dd;
}

.suckertreemenu ul li a:link, .suckertreemenu ul li a:visited, .suckertreemenu ul li strong{
  display: block;
  padding: 5px 20px 5px 15px;
  font-size: 15px;
  color: #000;
  text-decoration: none;
}

.suckertreemenu ul li strong{
  font-weight: normal;
}

.suckertreemenu ul li ul{
  position: absolute;
  top: 0px;
  visibility: hidden;
  border-left: 1px #fff solid;
}

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

.suckertreemenu ul li ul li a:link, .suckertreemenu ul li ul li a:visited{
  font-size: 12px;
  background: none;
	padding: 5px;
  font-weight: normal;
}

* html p#iepara{
  display: none;
}

.suckertreemenu ul li a:hover, .suckertreemenu ul li a:active{
  color: #fc3e19;
  text-decoration: underline; 
}

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

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

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

.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 {
  margin-bottom: 0;
}

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

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

#page_menu_single{
  margin: 0 0 0 -35px;
  //margin: 0;
}

#page_menu_single li{
  background: none;
  margin-bottom: 5px;
}

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

.breadcrumbs{
	font-size: 11px;
	padding-bottom: 10px;
  color: #737373;
}

.breadcrumbs *, .breadcrumbs a:link, .breadcrumbs a:visited{
	font-size: 11px;
  color: #737373;
}

.breadcrumbs a:hover, .breadcrumbs a:active{
  color: #fc3e19;
}

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

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

.page_nav{
	margin-top: 15px;
}

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

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

.page_active{
	background-color: #737373;
  color: #fff;
	padding-right: 2px;
	padding-left: 2px;
	margin-right: 10px;
}

.page_div{
	margin-right: 10px;
}

/*** Ошибка 404 ***/

#div404{
	width: 250px;
	height: 100px;
	background-color: #f7f7f7;
	border: 1px solid #bbbbbb;
	padding: 10px;
	margin-top: 200px;
}

#div404 h1{
	margin: 0px;
	font-size: 40px;
  color: red;
}

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

.content_table td{
  border: 1px #737373 solid;
  padding: 5px;
}

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

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

input, textarea, select {
  color: #000;
  padding: 2px;
  font-size: 13px;
}

option {
  font-size: 13px;
}

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

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: 0 10px;
  width: 20px;
}

#feedback_div {
  margin-top: 20px;
  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;
}

.vote input[type=radio] {
  cursor: pointer;
  margin: 0 7px 0 15px;
}

.vote span {
  cursor: pointer;
}

.vote img {
  border: none;
}

.vote input:disabled {
  color: #a7a7a7;
}

.question{
  margin-top: 20px;
}

.question p{
  margin: 3px 0;
}

.answer, .answer * {
  font-style: italic;
  color: #e23473;
}

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

.thumbnails .th{
  display: block;
  padding: 15px 5px 0 0;
  float: left;
}

.thumbnails .th .th_title, .thumbnails img{
  margin: 0;
}

#thumbs_main{
  padding: 0px;
  //width: 175px;
}

#thumbs_main p{
  font-size: 10px;
}

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

.news_title_block {
  margin: 0;
  clear: both;
  padding: 10px 0;
}

.news_title{
  margin: 0 0 6px 0;
  font-size: 16px;
}

.news_title *{
  font-size: 16px;
}

#news .news_image_small, #news_main .news_image_small {
  float: left;
  margin: 0 5px 0 0;
}

.news_date, .ad_date{
  color: #737373;
  font-size: 11px;
  display: block;
  font-weight: normal;
}

.archive_href, .back_href{
  margin-top: 15px;
}

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

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

.document_href{
  margin: 15px 0;
}

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

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

#settings_panel{
  background-color: #ebebeb;
  border-bottom: 1px solid #aaa;
  height: 35px;
  border-radius: 10px 10px 0 0;
}

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

#settings_panel #minimize {
  float: right;
  width: 260px;
  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;
}

.vote span {
  cursor: pointer;
}

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

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