A:link { color: #5151a5; text-decoration: underline }
A:visited { color: #5151a5; text-decoration: underline }
A:hover { color: black; text-decoration: underline }

a#f:link { color: blue; text-decoration: underline }
a#f:visited { color: blue; text-decoration: underline }
a#f:hover { color: black; text-decoration: underline }

a#m {
  width: 106px;
  height: 25px;
  background-image: url(/img/m.gif);
  display: block;
  text-decoration: none;
  padding: 6px 0px 0px 0px; /* положение текста на кнопке верхнего меню*/
  position: relative;
  float: left;
  font-family: Tahoma, Verdana, sans-serif;
  font-size: 12px;
  font-weight: bold;
  text-align: center;
}

a#m86 {
  width: 76px;
  height: 25px;
  /*background-image: url(/img/m-86.gif);*/
  display: block;
  text-decoration: none;
  padding: 6px 0px 0px 0px; /* положение текста на кнопке верхнего меню*/
  position: relative;
  float: left;
  font-family: Tahoma, Verdana, sans-serif;
  font-size: 12px;
  font-weight: bold;
  text-align: center;
}

a#m136 {
  width: 136px;
  height: 25px;
  background-image: url(/img/m-136.gif);
  display: block;
  text-decoration: none;
  padding: 6px 0px 0px 0px; /* положение текста на кнопке верхнего меню*/
  position: relative;
  float: left;
  font-family: Tahoma, Verdana, sans-serif;
  font-size: 12px;
  font-weight: bold;
  text-align: center;
}
 
a#m:hover {
  background-position: 0px 30px;
}

a#m86:hover {
  background-position: 0px 30px;
}

a#m136:hover {
  background-position: 0px 30px;
}

body {
margin-top: 0px;
margin-left: auto;
margin-right: auto;
padding-top: 5px; /* для отступа банера сверху */
width: 1000px;
/*background-color: #f0f0f0;*/
/*background-image: url(/img/bg.jpg);*/
/*background-repeat: no-repeat;*/
/*background-position: top center;*/
}

#banner {
/*background: #ccc0f0;*/
width: 990px;
height: 190px;
/*width: 695px;*/
/*height: 60px;*/
/*height: 20%;*/
/*margin-top: 5px;*/ /* для отступа банера сверху */
margin-left: auto;
margin-right: auto;
margin-bottom: 5px;
/*border: 1px solid #000;*/
border-bottom: 1px solid #0000cc;
padding: 5px;
background-image: url(/img/logo4.jpg);
background-position: top center;
background-repeat: no-repeat;
}

#banner468 {
position: absolute;
width: 468px;
height: 60px;
margin-top: 115px;
margin-left: 420px;
margin-right: auto;
/*background: #ccc0f0;*/
}

#adsense {
background: #ccc0f0;
height: 20%;
margin: 0px;
margin-bottom: 5px;
border: 1px solid #000;
padding: 5px;
}

#topmenu {
position: absolute;
margin-top: 121px;
margin-left: 0px;
margin-right: auto;
/*background: #ccc0f0;*/
height: 30px;
/*margin: 0px;*/
padding: 5px;
/*text-align: center;*/
}

/*левая колонка*/
#left {
position: relative;
width: 160px;
margin: 0px;
margin-top: 5px;
margin-bottom: 5px;
/*border: 1px solid #e8e8e8;*/
padding: 5px;
float: left;
/*background-image: url(/img/h-bg.gif);*/
background-repeat: no-repeat;
background-position: top;
/*background: #e7e7e7;*/
/*background: #bbf0f0;*/
}

/*название блока*/
#blockheader {
font-color: #fff;
font-family: Tahoma, Verdana, sans-serif;
font-size: 14px;
font-weight: bold;
/*padding-top: 10px; /*регулировка центрирования текста по высоте*/*/
/*height: 20%; /*регулировка центрирования текста по высоте*/*/
margin-top: 0px;
margin-bottom: 5px;
margin-left: auto;
margin-right: auto;
/*border: 1px solid #000;*/
width: 100%;
height: 20px;
/*background-color: #aaa0f0;*/
/*background-color: #fff;*/
text-align: center;
background-image: url(/img/bhbg.gif);
background-repeat: repeat-x;
}

/*содержание блока*/
#blockcontent {
font-color: #fff;
font-family: Tahoma, Verdana, sans-serif;
font-size: 11px;
margin-top: 0px;
margin-left: auto;
margin-right: auto;
margin-bottom: 5px;
width: 100%;
/*background-color: #e7e7e7;*/ /*светло-серый*/
/*background: #bbf0f0;*/
/*background-color: #ccc0f0;*/

}

/*центральная колонка*/
#center {
position: relative;
font-color: #fff;
font-family: "Tahoma";
font-size: 11px;
/*background: #ccc0f0;*/
/*background: #ccccff;*/
/*background: #cccccc;*/
width: 634px;
margin-left: 5px;
margin-right: 5px;
margin-top: 5px;
margin-bottom: 5px;
/*border: 1px solid #e8e8e8;*/
padding: 5px;
float: left;
}

#pagenumber {
font-color: #fff;
font-family: Tahoma, Verdana, sans-serif;
font-size: 11px;
text-align: center;
/*padding-top: 10px; /*регулировка центрирования текста по высоте*/*/
/*height: 20%; /*регулировка центрирования текста по высоте*/*/
margin-top: 0px;
margin-bottom: 5px;
margin-left: auto;
margin-right: auto;
width: 100%;
padding-bottom: 2px;
/*border: 1px solid #000;*/
/*background-color: #aaa0f0;*/
/*background-image: url(/jpg/m.gif);*/
}

/*правая колонка*/
#right {
position: relative;
width: 160px;
_width: 151px; /*хак для IE 6 - если названия блоков без рамок - значение 156px*/
margin-left: 828px;
margin-top: 10px;
_margin-top: 5px;
margin-bottom: 5px;
_margin-bottom: 5px; /*хак для IE 6 - без него margin-bottom = 10px*/
/*_margin-bottom: 0px; /*хак для IE 6 - без него margin-bottom = 10px*/*/
/*border: 1px solid #e8e8e8;*/
padding: 5px;
/*background: #bbf0f0;*/
/*background: #bbbbcc;*/ /*темно-серый*/
}

#footer {
font-color: #fff;
font-family: Tahoma, Verdana, sans-serif;
text-align: center;
margin-bottom: 5px;
padding-bottom: 2px;
/*border: 1px solid #000;*/
/*background: #0ff;*/
clear: both;
}

#footer2 {
text-align: center;
font-family: Tahoma, Verdana, sans-serif;
font-size: 10px;
padding-top: 5px;
padding-bottom: 5px;
_padding-bottom: 0px; /*хак для IE 6 - без него padding-bottom = 10px*/
margin-bottom: 5px;
/*background: #e7e7e7; /*светло-серый*/*/
/*background: #0ff;*/
/*border: 1px solid #000;*/
width: 990px;
height: 60px;
background-image: url(/img/logo-b.jpg);
background-repeat: no-repeat;
background-position: top center;
clear: both;
}

#footer3 {
text-align: center;
font-family: Tahoma, Verdana, sans-serif;
font-size: 10px;
padding-top: 5px;
padding-bottom: 5px;
_padding-bottom: 0px; /*хак для IE 6 - без него padding-bottom = 10px*/
margin-bottom: 5px;
/*background: #bbbbcc;*/
/*border: 1px solid #000;*/
clear: both;
}

#footer4 {
/*font-color: #fff;*/
font-family: Tahoma, Verdana, sans-serif;
font-size: 10px;
text-align: center;
padding-top: 5px;
padding-bottom: 5px;
_padding-bottom: 0px; /*хак для IE 6 - без него padding-bottom = 10px*/
margin-bottom: 5px;
/*background: #e7e7e7; /*светло-серый*/*/
/*background: #0ff;*/
/*border: 1px solid #000;*/
clear: both;
}

input[type=text] {
  border:1px solid #9c9c9c;
}

input[type=text]:hover {
  border:1px solid #0000ff;
}

textarea {
  border:1px solid #9c9c9c;
}

textarea:hover {
  border:1px solid #0000ff;
}

select {
  border:1px solid #9c9c9c;
}

select:hover {
  border:1px solid #0000ff;
}

table {
 /* width: 630px; */
 border-collapse: collapse; /* Убираем двойные линии между ячейками */
}

td, th {
 padding: 1px; /* Поля вокруг содержимого таблицы */
 border: 1px solid #e7e7e7; /* Параметры рамки */
}

th {
 background: #f6f6f6; /* Цвет фона */
/* background: #b0e0e6; /* Цвет фона */*/
}

td {
 background: #f6f6f6; /* Цвет фона */
/* background: #b0e0e6; /* Цвет фона */*/
}

h1 { font-size: 18px; font-family: Tahoma, Verdana, sans-serif }
h2 { font-size: 12px; font-family: Tahoma, Verdana, sans-serif }

</style>
