
/* Elements */

body {
  margin: 0px 0;
  font-family: "Arial",Tahoma,sans-serif;
  font-size: 12px;
  color: #808080;
  background-color: #eeeeee;
}

p, ol, ul {
  text-align: justify;
}

strong {
  font-weight: bold;
  color: #808080;
}

a {
  color: #707070;
}

a:hover {
  text-decoration: none;
  color: #808080;
}

.image {
  float: left;
  margin: 3px 0 0 0;
  padding: 0;
}

.indent {
  margin-left: 125px;
}

.razd {
  margin:0;
  padding:0;
}

/* Header */

#top_menu {
  width: 950px;
  height: 15px;
  margin: 0 auto;
  background: #eeffee url(images/top_head.jpg) repeat-x; 
}

#header {
  width: 950px;
  height: 84px;
  margin: 0 auto;
  background: #eeeeee url(images/head1.jpg) repeat-x;
}

/* Menu */


#nav {
  float: left;
  width: 950px;
  height: 84px;
  margin: 0;
  padding: 0 0 0 8px;
  list-style: none;
}

#nav li {
  float: left;
}

#nav a {
  display: block;
  float: left;
  height: 84px;
  width: 128px;
  padding: 0;
  margin: 0;
  text-align: center;
  text-transform: uppercase;
  text-decoration: none;
  font-size: 17px;
  color: #606060;
  font-family: Trebuchet MS, sans-serif;
  line-height: 1.5;
}

#nav a:hover {
  background: #A4B74C url(images/head2.jpg) repeat-x;
  color: #404040;
}

#nav li.dir ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

#nav li.dir ul li a{
  float: left;
  width: 184px;
  height: auto;
  padding: 0 0 0 5px;
  margin: 0;
  text-align: left;
  text-transform: none;
  text-decoration: none;
  font-size: 12px;
  color: #606060;
  font-family: Arial, sans-serif;
  font-weight: bold;
  background-color: #F5F5DC;
  border-bottom: 1px solid gray;

}

/* Search */

#search {
  display: inline;
  float: right;
  height: 20px;
  margin: 0;
  padding: 0px 10px 0 0;
  font-size: 0pt;
}

#search fieldset {
  display: inline;
  margin: 0;
  padding: 0;
  border: none;
}

#input1 {
  width: 164px;
  padding: 2px 5px;
  background: #FFFFFF;
  border: none;
}

#input2 {
  height: 20px;
  background: #87C4DB;
  border: none;
  text-transform: lowercase;
  font-size: 10px;
  font-weight: bold;
  color: #FFFFFF;
}

/*middle_menu*/

#middle_razd {
  width: 950px;
  height: 5px; 
  padding: 0;
  font-size: 0pt;
  background: url(images/middle_razd.gif) no-repeat;    
}

#middle_razd2 {
  width: 950px;
  height: 5px; 
  padding: 0;
  font-size: 0pt;
  background: url(images/middle_razd1.gif) repeat-x;    
}


/* Content _BlockOne*/

#main {
  width: 950px;
  margin: 0 auto;
  background: transparent url(images/bg2.gif) repeat;  
  padding-bottom: 1px;
}

#wrapper {
  margin: 0;
  padding: 0;
  background: transparent url(images/fon.jpg) no-repeat;  
  min-height: 470px;
}

body > #top_link {
  position: fixed; 
  right: 0px; 
  top:50%;
}  

/* for Internet Explorer */
/*\*/
* html #top_link {
  right: auto; bottom: auto;
  position: absolute;
  left: expression( ( 0 - top_link.offsetWidth + ( document.documentElement.clientWidth ? document.documentElement.clientWidth : document.body.clientWidth ) + ( ignoreMe2 = document.documentElement.scrollLeft ? document.documentElement.scrollLeft : document.body.scrollLeft ) ) + 'px' );
  top: expression( (  - top_link.offsetHeight + ( document.documentElement.clientHeight ? document.documentElement.clientHeight/2 : document.body.clientHeight/2 ) + ( ignoreMe = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop ) ) + 'px' );
}

/* for Internet Explorer */
/*\*/
* html #wrapper {
height: 470px;
}
/**/

#zakolka {
  width: 49px;
  margin: 0;
  padding: 0;
  position: relative;
  left: 60px;
  top: 138px;
}


/* for Internet Explorer */
/*\*/
* html #zakolka {
  top: 136px;
}
/**/

#content {
  width: 820px;
  margin-left: 55px;
  margin-top: 109px;
  padding: 0px 10px;
  background: url(images/bg.jpg);
  min-height: 270px;
  height: auto;
}

/* for Internet Explorer */
/*\*/
* html #content {
height: 270px;
}
/**/


#content h1 {
  color: #FF9900;
  font-family: "Arial",Tahoma,sans-serif;
  font-size: 14pt;
  font-weight: bold;
  margin-left: 25px;
  margin-top: 5px;
  margin-bottom: 5px;
  padding-top: 10px;
}

#content h2 {
  margin-top:0px;margin-bottom:0px;
  font-family: verdana, arial, sans-serif;
  font-size: 14px;
  font-weight: bold;
  line-height: 12px;
  color: #2153AA;
}



#letter_bold {
  font-family: "Arial",Tahoma,sans-serif;
  font-size: 10pt;
  font-weight: bold;
  color: #000000;
  width: 365px;
}

#letter_text1 {
  font-family: "Arial",Tahoma,sans-serif;
  font-size: 10pt;
  width: 365px;
}

#letter_text1 a {
  color: #606060;
}

/*blockTwo*/

#othertext {
  background: url(images/middle_menu.gif) repeat-y;   
  margin: 0 auto;
  width: 950px;
  padding: 0px;
  height: 100%;
  min-height: 165px;
  vertical-align: top;
  border: 0px;
}

#welcome {
  font-size: 10pt;
  color: #cccccc;
  width: 490px;
  padding-top: 0px; 
  padding-left: 30px;
  padding-right: 40px;
  margin: 0;
  vertical-align: top;
  border: 0px;
  /* height: 165px; */
}

#welcome h2 {
  padding: 15px 0 15px 0;
  margin: 0px;
  font-size: 16pt;
  color: #ffffff;
  font-weight: normal;
}

#last_news {
  font-size: 10pt;
  color: #ffffff;
  width: 350px;
  height: auto;
  vertical-align: top;
  border: 0px;
}

#last_news h2 {
  font-size: 16pt;
  color: #ffffff;
  font-weight: normal;
  padding: 0 0 0 15px;
}

/*blockThree*/

#Block_mes {
  background: #e4e5d5;   

  margin: 0 auto;
  width: 950px;
  padding: 0px;
  height: 100%;
  min-height: 165px;
  vertical-align: top;
  border: 0px;
}

#mes {
  margin: 0 auto;
  padding: 0;
  width: 950px; 
  height: 230px;
  height: auto;
  vertical-align: top;
  border: 0px;
}

#mes_img {
  display: inline;
  float: left;
  width: 560px; 
  height: 230px;
  height: auto;
  vertical-align: top;
  border: 0px;
}

#mes_text {
  width: 350px; 
  height: 230px;
  line-height: 1.5;
  height: auto;
  vertical-align: top;
  border: 0px;
}

#mes_text h2 {
  padding: 20px 0 0 15px;
  font-size: 16pt;
  color: #606050;
  font-weight: normal;
}

#mes ol {
  list-style-position:outside;
  list-style-type: decimal/*-leading-zero*/;
}

#mes li {
  line-height: 2;
}

#mes_razd  {
  display: inline;
  float: right;
  padding-top: 20px;
  width: 10px;
}

#mes a {
padding-left: 10px;
}

.bottom a {
  color: #ffffff; 
}

.bottom li {
  padding-left: 15px;
}

.img_foto {
  padding: 25px 2px; 
  width: 150px;
  height: 140px;  
}

/* Footer */

#footer_line {
  width: 950px;
  height: 25px;
  margin: 0 auto;
  padding-top: 0px;
  background: #84A102 url(images/footer_line.gif) repeat-y;
}

#footer {
  clear: both;
  width: 950px;
  margin: 0 auto;
  padding-top: 0px;
  background: #cfd0b8;
}

#footer p {
  margin: 0;
  text-align: center;
}

/*
*   Wysiwyg Html Styles
*/
#content .wysiwyg {
  font-size: 13px;
} 

#content .wysiwyg p {
  margin: 1px; 
  padding: 1px;
}

#content .wysiwyg ul {
  list-style-type: square;
}

#content .wysiwyg li {
  line-height: 18px;
}

/*
    formView
*/

table.formView {
  padding: 0px;
  margin: 0px;
}

table.formView tr.tr0 {
  background-color: white;
}

table.formView tr.tr1 {
  background-color: white;
}

table.formView td.tdText {
  vertical-align: top;
  font-weight: bold;
}

table.formView td.tdErr {
  color:red;
  font-size:80%;
}

table.formView td.tdNotes {
  color:blue;
  font-size:80%;
}

input.inputs,  input.inputs_err, textarea.inputs, textarea.inputs_err, input.submit {
  background-color: white;
  font-size: 100%;
  font-family: Tahoma;
  border: 1px solid gray;
  padding:0;
  width: 99%;
}

input.submit {
  width: auto;
  font-weight: bold;
  padding: 0.2ex;
}

input.inputs_err, textarea.inputs_err {
  background-color: #DDDDDD;
}

input.chars_count {
  font-size: 14px;
  border: none;
  background: white;
}

/* 
  Pager
*/

div.pager_div  {
  margin: 5px;
  font-family: verdana, arial, sans-serif;
  font-size: 14px;
  line-height: 18px;
  color: #333333;
  text-align: center;
}

span.pagerPages {
  font-weight: bold;
}

a.pagerNotCurrent{

}

span.pagerCurrent {
  font-weight: bold;
}

/*
    dbView
*/
table.dbView {
  border:1px gray solid;
  border-collapse:collapse;
  padding: 0px;
  margin : 0px;
  width  : 95%;
}


table.dbView tr.tr0 {
  background-color: white;
}

table.dbView tr.tr1 {
  background-color: #DDDDDD;
}

table.dbView tr.trf {
  background-color:gray;
  color:white;
  font-weight:bold;
}

table.dbView th {
  border:1px gray solid;
  background-color:#BBBBBB;
  padding: 1ex;
  text-align: center;
  font-size:12px;
  color:white;
  font-style: italic;
}



table.dbView td, table.dbView tdl, table.dbView tdr, table.dbView tdnn {
  padding: 0.5ex;
  text-align: center;
  vertical-align: middle;
  font-size:110%;
  border: 1px solid gray;
}

table.dbView td.tdl {
  text-align: left;
  padding-left:2ex;
}
table.dbView td.tdr {
  text-align: right;
  padding-right:2ex;
}

table.dbView td.tdnn {
  font-weight: bold;
}

div.stext {
  position: absolute;
  bottom: 1500%;
  right: 1500%;
}
