html, body, div, img  {
  padding: 0px;
  margin: 0px;
  border: 0px;
}

html, body {
  height: 100%;
}

div, img, td, th, table {
  position: relative;
}
body {
  font-family: Verdana, Arial, Sans Serif;
  color: black;
  background: white url('/img/bg.png') left top repeat-x;
}

#main, #footer {
 min-width: 990px;
 padding: 0px 4px;
}

#main {
 text-align:justify;
 position: relative;
 min-height: 100%;
 _height: 100%;   
 padding-bottom: 71px;
}

#header {
  height: 157px; 
}
#logo {
 position: absolute;
 left: 12px;
 top: 15px;
 display: block;
}
#logo img {
 border-style: none;
 margin: 0px;
} 
#headPanel * { height: 146px; }
#headPanel {
 margin: 4px 0px 4px 138px;
 background: transparent url('/img/header/center.jpg') left top repeat-x;
}
#headPanel div {
 background: transparent url('/img/header/right.jpg') right top no-repeat;  
}
#headPanel div div {
 background: transparent url('/img/header/left.jpg') left top no-repeat;  
}

#menu {
 margin: 0px 0px 4px 0px;
 z-index: 100;
}
#menu table, #menu td {
 border: 0px;
 padding: 0px;
 margin: 0px;
}
#menu table {
 width: 100%;
}
#menu td {
 vertical-align: middle;
 text-align: center;
 background: transparent url('/img/menu/center.png') left top repeat-x;
}
.nobg {
 width: 36px !important; 
 padding: 0px !important;
}
.nobg a, .nobg a:hover {
 position: absolute;
 top: 6px;
 left: 2px;
 background-image: none !important;
 background-color: transparent !important;
 display: block !important;
}
#menu .menuRight, #menu .menuLeft {
 width: 9px;
 height: 42px;
}
#menu .menuRight {
 background: transparent url('/img/menu/right.png') right top no-repeat;
}
#menu .menuLeft {
 background: transparent url('/img/menu/left.png') left top no-repeat;
}
#menu a, #menu a:hover, #menu a span {
 font-size: 12px;
 color: #262726;
 font-family: Verdana;
 font-weight: bold;
 text-decoration: none;
 display: block;
 position: relative;
 height: 42px;
 line-height: 1.4em;
 cursor: pointer;
}
#menu a table, #menu a td {
 height: 42px;	
 background-color: transparent;
 background-image: none;
}
#menu a:hover, #menu a.act, #menu a:hover span, #menu a.act span {
 color: white;
 background: transparent url('/img/menu/actLeft.png') left top no-repeat;
}
#menu a:hover span, #menu a.act span {
 background: transparent url('/img/menu/actRight.png') right top no-repeat;
}

.bordTop * {
 height: 19px;
 margin: 0px;
}
.bordTop {
 background: transparent url('/img/bord_top/center.png') left top repeat-x;
}
.bordTop div {
 background: transparent url('/img/bord_top/left.png') left top no-repeat;
}
.bordTop div div {
 background: transparent url('/img/bord_top/right.png') right top no-repeat;
}

.bordBottom * {
 height: 19px;
 margin: 0px;
}
.bordBottom {
 background: transparent url('/img/bord_bottom/center.png') left top repeat-x;
}
.bordBottom div {
 background: transparent url('/img/bord_bottom/left.png') left top no-repeat;
}
.bordBottom div div {
 background: transparent url('/img/bord_bottom/right.png') right top no-repeat;
}

#centerR {
 *z-index: -100; 
 background: transparent url('/img/right.png') right top repeat-y;
}
#centerL {
 background: transparent url('/img/left.png') left top repeat-y;
*background: transparent url('/img/left.png') 4px top repeat-y;
}

#left {
   width: 195px;  /* Øèðèíà left */
   float: left;
   padding: 0px 1px;
 //margin-left:2px;
}  
*+html #left { 
 margin-left:4px;
} 

#search {
 padding: 4px 9px;
}
#search form {
 margin: 0px;
 padding: 0px;
}
#search input {
 width: 119px;
 height: 13px;
 border: 1px solid #989898;
 margin: 0px;
 font-size: 11px;
}
#search input#sub {
 width: 48px;
 height: 17px;
 color: white;
 background-color: #03943a;
 border: 1px solid #03943a;
 font-size: 9px;
 font-family: Verdana;
}

.butlist {
 cursor: pointer;
}
.noselmouth {
 background-color: #e5e5e5;	
}
#calendar td, #calendar th {
 text-align: center;
 vertical-align: middle;
 font-size: 11px;
 padding: 2px;
}
#calendar th {
 color: white;
 background-color: #a4a5a4;
}
#calendar th.target {
 background-color: #ff1616;
}
#calendar td a {
 color: #262726;
 font-weight: bold;
 text-decoration: none;
}
#calendar td a:hover {
 text-decoration: underline;
}
#calendar th a {
 color: white;
} 

#secondMenu {
 padding: 10px;
 font-family: Tahoma;





















}
#secondMenu ul, #secondMenu li {
 margin: 0px;
 padding: 0px;
 font-size: 14px;
 list-style: none;
}
#secondMenu li {
 padding: 1px 0px;
 background-image: none;
}
#secondMenu ul li a {
 border-bottom: 1px dashed #262726;
 display: block;
 position: relative;
 padding-bottom: 4px;
 text-decoration: none;
}
#secondMenu ul li ul li a {
 border-style: none;
 padding-bottom: 0px;
} 
#secondMenu a {
 color: #262726;
 text-decoration: none;
 line-height: .9em;
}
#secondMenu ul li a:hover {
 text-decoration: underline;
}
#secondMenu ul li ul {
 padding-left: 14px;
}
#secondMenu ul li ul li {
 border-style: none;
}

.blockPad {
 padding: 10px;
 font-size: 12px;
}

#right {
   width: 195px;  /* Øèðèíà right */
   float: right;
   padding: 0px 1px;
}
#ico {
 text-align: center;
 margin: 2px 0px 4px 0px;
}
#ico a {
 margin: 0px 10px;
}

.announcement {
 padding: 5px 10px;
 font-size: 12px;
}
.announcement .preview {
 text-align: center;
 display: block;
 padding-bottom: 5px;
}
.announcement .preview img {
 margin: 0px;
} 
.announcement h3 {
 margin: 0px;
 font-size: 12px;
 font-weight: bold;
 text-align: center;
 padding: 0px 0px 5px 0px;
}
.date {
 font-weight: bold;
}
.detailed {
 display: block;
 text-align: right;
 color: #0d7334 !important;
 font-size: 10px;
 text-decoration: none !important;
}
.detailed:hover {
 text-decoration: underline !important;
}

.bn {
 text-align: center;
 display: block;
}

.title {
 display: block;
 position: relative;
 background: #b8d5ef url('/img/title.png') left bottom repeat-x;
 font-size: 10px;
 font-weight: bold;
 color: white;
 text-transform: uppercase;
 text-align: center;
 padding: 6px 0px;
 margin: 0px;
}

#content {
 margin-left: 197px;  /* Øèðèíà left */
 margin-right: 197px; /* Øèðèíà right */
 padding: 8px;
 color: #262726;
 font-size: 12px;
 text-align:justify;
}

#clear {
  clear: both;
  width: 0px;
  height: 0px; /* Øèðèíà footer */
}

#footer {
  position: relative;
  margin-top: -67px;
  height: 67px;   /* Øèðèíà footer */
}
#footerContent {
 border-left: 1px solid #9e9e9e;
 border-right: 1px solid #9e9e9e;
 height: 47px;
 font-size: 11px;
 color: #262726;
}

#fm {
 display: block;
 position: absolute;
 right: 8px;
 top: 12px;
}
#fm img {
 border-style: none;
 margin: 0px;
} 
#footerRight {
 display: block;
 position: absolute;
 right: 109px;
 top: 11px;
 text-align: right;
}
#footerLeft {
 display: block;
 position: absolute;
 left: 8px;
 top: 11px;
}

#footer a, #left a, #right a {
 text-decoration: underline;
 color: #262726;
}
#footer a:hover, #left a:hover, #right a:hover {
 text-decoration: none;
}

/* ------ news ------ */

#news {
}
#news .division {
 padding: 0px 0px 5px 0px;
 text-align: center !important; 
 line-height: 2em;
}
#news .division a {
 margin: 5px; 
 padding: 0px 7px 0px 0px;
*padding: 0px 7px 0px 1px;
 background: transparent url('/img/news/division_right.png') right top no-repeat;
 line-height: 20px;
 white-space: nowrap;
 text-decoration: none;
}
#news .division a span {
 padding: 0px 0px 0px 7px;
*padding: 0px 1px 0px 7px;
&amp;;nbsp;background: transparent url('/img/news/division_left.png') left top no-repeat;
 color: white; 
 white-space: nowrap;
&nbsp;text-decoration: none;
}
#news .division a:hover, #news .division a.act { 
 background: transparent url('/img/news/division_right_on.png') right top no-repeat;
 text-decoration: none;
}
#news .division a:hover span, #news .division a.act span {
 background: transparent url('/img/news/division_left_on.png') left top no-repeat;
 text-decoration: none;
}


#news img {
 margin-left: 0px;
 margin-top: 5px; 
}
.newsHome {
 padding-top: 20px;
}
#news .newsTop {
 background: #66a7e3 url('/img/news/title.png') left top no-repeat;
 color: white;
 font-weight: bold;
 border-bottom: 1px solid #3b6082;
}
#news .newsTop .day {
 position: absolute;
 left: 0px;
 top: 1px;
 text-align: center;
 font-size: 18px;  
 width: 36px;
}
#news .newsTop .date {
 position: absolute;
 left: 0px;
 top: 21px;
 text-align: center;
 font-size: 9px;    
 width: 36px;
}
#news .newsTop .title {
 background-image: none;
 background-color: transparent;

 padding: 11px 5px 11px 48px;
 text-align: left;

 font-size: 12px;   
 font-weight: bold;
}
#news .preview {
 margin: 5px 5px 5px 0px;
}
#news td {
 vertical-align: top;
}
#news .desc {
 padding-top: 5px !important;
}

#sort {
 background-color: #edf0f2;	
 margin: 0px 0px 10px 0px;
 width: 380px;
 margin: 8px auto;
}

#sort form {
 padding: 0px;
 margin: 0px;
}

.sub {
 background-color: #03943a;
 border: 1px none transparent;
 color: white;
 font-size: 11px;
 padding: 3px 10px 2px 10px;
 *padding: 3px 10px;
 margin: 2px;
}

#sort select {
 margin: 2px;
}

.titleFiltr {
 width: 84px;
 font-weight: bold;
 vertical-align: middle !important;
}

/* --------------------- */
h1, h2, h3, h4, h5, h6 {
 color: #03943a;
 margin: 5px 0px;
}
h1 {
 font-size: 18px;
 font-weight: bold;
}
h2 {
 font-size: 16px;
 font-weight: bold;
}

p {
 margin: 8px 0px;
}

ul, li {
 list-style: none;
 padding: 0px;
 margin: 0px;
}
ul li {
 background: transparent url('/img/marker.png') left 8px no-repeat;
 padding: 2px 0px 2px 10px;
}
ul li ul {
 padding-left: 10px;
}
img {
 border: 1px solid #989898;
 margin: 3px 7px;
}
img.default {
 border-style: none !important;
 margin: 0px !important;
}

a {
 color: #03943a;
 text-decoration: underline;
}
a:hover {
 text-decoration: none;
}

hr {
 border-style: none !important;
 border-top: 1px solid #8fbee9 !important;
 height: 1px !important;
 background-color: transparent !important;
 margin: 5px 0px !important;
}


#content table td, #content table th {
 border-left: 1px solid #a4a5a4;
 border-top: 1px solid #a4a5a4; 
 padding: 2px;
 text-align: center;
}
#content table {
 border-right: 1px solid #a4a5a4;
 border-bottom: 1px solid #a4a5a4; 
}
#content table th {
 background: #b8d5ef url('/img/th.png') left bottom repeat-x;
 color: white;
}
#content table.default td, #content table.default th, #content table.default {
 background-image: none;
 color: black;
 padding: 0px;
 border-style: none;
 text-align: left;
}/*
#content img {
 border:1px solid black;
}*/



/* ---- gallery ---- */

#gallery .bordPreview {
 border: 1px solid #989898 !important;
 width: 180px;
 height: 200px;
 margin: 5px;
 float:
}


#gallery .bordPreview td {
 vertical-align: middle !important;
 text-align: center !important; 
}
#gallery .actionsList {
 margin-top: 10px;
}


/* ------------------ */

.child_menu {
 position: absolute;
 left: 0;
 top: 0px; 
 display: none;
 z-index: 100;
}
.child_menu .ch_menu {
 background: #66a7e3 url('/img/menu/drop_bg.png') left center repeat-y;
 border-top: 1px solid #8d9093;
 border-bottom: 1px solid #8d9093;
 text-align: left;
 padding: 5px 5px 5px 15px;
}
.child_menu .ch_menu a, .child_menu .ch_menu a:hover {
 background-image: none !important;
 color: white !important;
 text-align: left !important;
 padding: 2px 0px !important;
 line-height: 1em !important;
 height: auto !important;
 margin: 3px 0px;
 white-space: nowrap;
}
.child_menu .ch_menu a:hover {
 text-decoration: underline !important;
}
.ch_title, .ch_title:hover {
 display: block;
 position: relative;
 height: 50px;
 background-image: none !important;
 background-color: transparent !important;
}


/* - */

.file {
 padding: 10px 2px 10px 35px;
 background: transparent url('/img/file_ico.png') left center no-repeat;
 display: block;
 font-weight: bold;
}
.messNews, .mess {
 border: 1px solid black;
 margin: 20px 10px;
 padding: 10px 30px;
 color: black;
 font-size: 12px;
}
.yaerArchive {
 width: 200px;
}

.mouthList {
 font-size: 10px !important;	
}

.razd {
 padding: 0px 0px 5px 0px;	
}

#form {
 padding: 10px;
 display: block;
 position: relative;
 background-color: #edf0f2;
 width: 360px;
 margin: 10px auto;
}
#form input, #form textarea {
 width: 360px;
 margin: 2px 0px;
}

#calendar th.red {
 background-color: red;
 color: white;
}
/*-----------_reset_styles_-----------*/
ul.default li{
 list-style-type:disc !important; 
 background: none;
}
a.default{
 text-decoration:underline;
 color:#0000ee;
}
a:visited.default{
color:#551a8b;
}

