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#g:link { color: green; text-decoration: underline }
a#g:visited { color: green; text-decoration: underline }
a#g:hover { color: black; text-decoration: underline }

a#r:link { color: red; text-decoration: underline; font-weight: bold }
a#r:visited { color: red; text-decoration: underline; font-weight: bold }
a#r:hover { color: black; text-decoration: underline; font-weight: bold }

a#bn:link { color: blue; text-decoration: underline; font-family: Tahoma, Verdana, Arial, sans-serif; font-size: 14px; font-weight: bold }
a#bn:visited { color: blue; text-decoration: underline; font-family: Tahoma, Verdana, Arial, sans-serif; font-size: 14px; font-weight: bold }
a#bn:hover { color: black; text-decoration: underline; font-family: Tahoma, Verdana, Arial, sans-serif; font-size: 14px; font-weight: bold }

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

a#m {
  width: 106px;
  height: 18px;
/*  background-image: url(/img/m.gif);*/
  background-color: #f0f0f0;
  border: 1px solid #ffffff;
  display: block;
  text-decoration: none;
  padding: 2px 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: 86px;
  height: 18px;
/*  background-image: url(/img/m-86.gif);*/
/*  background-color: #f0f0f0;*/
/*  border: 1px solid #ffffff;*/
  background-color: #ccffff;
  border: 1px solid #0099ff;
  display: block;
  text-decoration: none;
  padding: 2px 0px 0px 0px; /* положение текста на кнопке верхнего меню*/
  position: relative;
  float: left;
  font-family: Tahoma, Verdana, sans-serif;
  font-size: 12px;
  font-weight: bold;
  text-align: center;
}

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

a#m135 {
  width: 137px;
  height: 28px;
/*  background-image: url(/img/m-136.gif);*/
  background-color: #ccffff;
  border: 1px solid #0099ff;
  display: block;
  text-decoration: none;
  padding: 2px 0px 0px 0px; /* положение текста на кнопке верхнего меню*/
  position: relative;
  float: left;
  font-family: Tahoma, Verdana, sans-serif;
  font-size: 11px;
  font-weight: bold;
  text-align: center;
}

a#m122 {
  width: 122px;
  height: 14px;
/*  background-image: url(/img/m-136.gif);*/
  background-color: #ccffff;
  border: 1px solid #0099ff;
  display: block;
  text-decoration: none;
  padding: 0px 0px 0px 0px; /* положение текста на кнопке верхнего меню*/
  position: relative;
  float: left;
  font-family: Tahoma, Verdana, sans-serif;
  font-size: 11px;
  font-weight: bold;
  text-align: center;
}

a#m190 {
  width: 190px;
  height: 14px;
/*  background-image: url(/img/m-136.gif);*/
  background-color: #ccffff;
  border: 1px solid #0099ff;
  display: block;
  text-decoration: none;
  padding: 0px 0px 0px 0px; /* положение текста на кнопке верхнего меню*/
  position: relative;
  float: left;
  font-family: Tahoma, Verdana, sans-serif;
  font-size: 11px;
  font-weight: bold;
  text-align: center;
}

a#m314 {
  width: 314px;
  height: 14px;
/*  background-image: url(/img/m-136.gif);*/
  background-color: #ccffff;
  border: 1px solid #0099ff;
  display: block;
  text-decoration: none;
  padding: 0px 0px 0px 0px; /* положение текста на кнопке верхнего меню*/
  position: relative;
  float: left;
  font-family: Tahoma, Verdana, sans-serif;
  font-size: 11px;
  font-weight: bold;
  text-align: center;
}

a#kp2 {
  width: 20px;
  height: 13px;
  background-image: url(/img/kp2.gif);
  display: block;
  margin: 2px 0px 0px 0px; /* положение текста на кнопке верхнего меню*/
  position: relative;
  float: left;
 border: 1px solid #ffffff;
}

a#do2 {
  width: 20px;
  height: 13px;
  background-image: url(/img/do2.gif);
  display: block;
  margin: 2px 0px 0px 0px; /* положение текста на кнопке верхнего меню*/
  position: relative;
  float: left;
 border: 1px solid #ffffff;
}

a#rbt2 {
  width: 28px;
  height: 13px;
  background-image: url(/img/rbt2.gif);
  display: block;
  margin: 2px 0px 0px 0px; /* положение текста на кнопке верхнего меню*/
  position: relative;
  float: left;
 border: 1px solid #ffffff;
}

a#tn2 {
  width: 20px;
  height: 13px;
  background-image: url(/img/tn2.gif);
  display: block;
  margin: 2px 0px 0px 0px; /* положение текста на кнопке верхнего меню*/
  position: relative;
  float: left;
 border: 1px solid #ffffff;
}

a#sp2 {
  width: 20px;
  height: 13px;
  background-image: url(/img/sp2.gif);
  display: block;
  margin: 2px 0px 0px 0px; /* положение текста на кнопке верхнего меню*/
  position: relative;
  float: left;
 border: 1px solid #ffffff;
}

a#rp2 {
  width: 20px;
  height: 13px;
  background-image: url(/img/rp2.gif);
  display: block;
  margin: 2px 0px 0px 0px; /* положение текста на кнопке верхнего меню*/
  position: relative;
  float: left;
 border: 1px solid #ffffff;
}
 
a#m:hover {
/*  background-position: 0px 30px;*/
  background-color: #eeeeee;
  border: 1px solid #333399;
}

a#m86:hover {
/*  background-position: 0px 30px;*/
  background-color: #00ff00;
  border: 1px solid #333399;
}

a#m128:hover {
/*  background-position: 0px 30px;*/
  background-color: #00ff00;
  border: 1px solid #333399;
}

a#m135:hover {
/*  background-position: 0px 30px;*/
/*  background-color: #ccffcc;*/
  background-color: #ffffff;
/*  border: 1px solid #333399;*/
  border: 1px solid #0000ff;
}

a#m122:hover {
  background-color: #99ff99;
  border: 1px solid #0000ff;
}

a#m190:hover {
  background-color: #99ff99;
  border: 1px solid #0000ff;
}

a#m314:hover {
  background-color: #99ff99;
  border: 1px solid #0000ff;
}

a#kp2:hover {
 background-position: 0px 13px;
 border: 1px solid #0000ff;
}

a#do2:hover {
 background-position: 0px 13px;
 border: 1px solid #0000ff;
}

a#rbt2:hover {
 background-position: 0px 13px;
 border: 1px solid #0000ff;
}

a#tn2:hover {
 background-position: 0px 13px;
 border: 1px solid #0000ff;
}

a#sp2:hover {
 background-position: 0px 13px;
 border: 1px solid #0000ff;
}

a#rp2:hover {
 background-position: 0px 13px;
 border: 1px solid #0000ff;
}

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: 110px;
/*width: 695px;*/
/*height: 60px;*/
/*height: 20%;*/
/*margin-top: 5px;*/ /* для отступа банера сверху */
margin-left: auto;
margin-right: auto;
margin-bottom: 5px;
/*border: 1px solid #000;*/
padding: 5px;
background-image: url(/img/logo-bar4.jpg);
}

#banner468 {
position: absolute;
width: 468px;
height: 60px;
margin-top: 23px;
margin-left: 378px;
margin-right: auto;

}

#adsense-for-hor-links {
/*background: #ccc0f0;*/
height: 20%;
margin: 0px;
margin-bottom: 5px;
border-bottom: 1px solid #0000cc;
padding: 5px;
font-color: #fff;
font-family: Arial, Tahoma, Verdana, sans-serif;
font-size: 10px;
}

#topmenu {
/*background: #ccc0f0;*/
height: 30px;
margin: 0px;
border-bottom: 1px solid #0000cc;
/*padding: 5px;*/
/*text-align: center;*/
}

#topmenuadm {
/*background: #ccc0f0;*/
height: 35px;
margin: 0px;
border-bottom: 1px solid #0000cc;
/*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: #e7e7e7;*/
/*background: #bbf0f0;*/
}

/*название блока правой и левой колонки*/
#blockheader {
font-color: #fff;
font-family: Arial, Tahoma, Verdana, sans-serif;
font-size: 14px;
font-weight: bold;
padding-top: 2px; /*регулировка центрирования текста по высоте*/
/*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: no-repeat;
background-image: url(/img/hdbg.gif);
}

/*название блока центральной колонки*/
#blockheader-c {
font-color: #fff;
font-family: Arial, Tahoma, Verdana, sans-serif;
font-size: 14px;
font-weight: bold;
padding-top: 2px; /*регулировка центрирования текста по высоте*/
/*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-repeat: no-repeat;
background-image: url(/img/hdbg-c.gif);
}

/*содержание блока*/
#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;
/*border-bottom: 2px solid #33cc00;*/
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: 12px;
/*padding-top: 10px; /*регулировка центрирования текста по высоте*/*/
/*height: 20%; /*регулировка центрирования текста по высоте*/*/
margin-top: 0px;
margin-bottom: 5px;
margin-left: auto;
margin-right: auto;
border: 1px solid #000;
width: 100%;
padding-bottom: 2px;
background-color: #aaa0f0;
text-align: center;
/*background-image: url(/jpg/m.gif);*/
}

/*правая колонка*/
#right {
position: relative;
width: 160px;
_width: 151px; /*хак для IE 6 - если названия блоков без рамок - значение 156px*/
margin-left: 828px;
margin-top: 15px;
_margin-top: 10px;
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;
font-size: 11px;
/*text-align: right;*/
margin-bottom: 1px;
padding-bottom: 2px;
/*background: #0ff;*/
/*border: 1px solid #000;*/
clear: both;
}

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

#footer3 {
text-align: center;
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: 12px;
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;
  /*background-color: #e7e7e7;*/
}

.b1 {
font-size: 10pt; /* Размер шрифта на кнопке Submit в пунктах */
}

.long_button {
width: auto;           /* Класс для кнопки с длинным текстом, чтобы не растягивалась в IE6 */
overflow: visible;
padding: 0 .6em 0 .6em;
}

input[type=password] {
  border:1px solid #9c9c9c;
  /*background-color: #e7e7e7;*/
}

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

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

input[type=text]:focus {
    background-color:#e2f2f0;
    border:1px solid #0000ff;
}

input[type=password]:focus {
    background-color:#e2f2f0;
    border:1px solid #0000ff;
}

textarea {
  border:1px solid #9c9c9c;
  /*background-color: #e7e7e7;*/

}

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

textarea:focus {
  background-color:#e2f2f0;
  border:1px solid #0000ff;
}

select {
  border:1px solid #9c9c9c;
  font-family: Tahoma, Verdana, sans-serif;
  font-size: 12px; /*размер шрифта в выпадающем списке формы*/
}

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

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

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

.tdborder2 {
 border: 2px solid #e7e7e7; /* Параметры рамки */
}

.tdborder0 {
 border: 0px solid #e7e7e7; /* Параметры рамки */
 /*background-color:#00ff33;*/
 /*background-image: url(/img/nav0.gif);*/
 /*background-repeat: no-repeat;*/
 /*background-repeat: repeat-x;*/
}

.thtdheader {
  border-top: 2px solid #0099ff;
  border-bottom: 2px solid #0099ff;
  background-color: #99ffcc;
 /*background-image: url(/img/nav0.gif);*/
 /*background-repeat: no-repeat;*/
 /*background-repeat: repeat-x;*/
}

.fon {
  background-color: #f9f9f9;
  /*background-color: #f4f4f4;*/
}

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

#col1 {
 width: 100px; /* Ширина первой колонки */
_width: 125px; /* Ширина первой колонки для IE6*/
}

#col2 {
 width: 360px; /* Ширина второй колонки */ 
_width: 335px; /* Ширина второй колонки для IE6*/ 
}

#col3 {
 width: 100px; /* Ширина третьей колонки */
}

#col4 {
 width: 60px; /* Ширина четвертой колонки */
}

h1 { font-size: 18px; font-family: Tahoma, Verdana, Arial, sans-serif }
h2 { font-size: 14px; font-family: Arial, Tahoma, Verdana, sans-serif }
h3 { font-size: 16px; font-family: Arial, Tahoma, Verdana, sans-serif }
tex { font-size: 12px; font-family: Tahoma, Arial, Verdana, sans-serif }
.j { font-size: 12px; font-family: Verdana, Tahoma, Arial, sans-serif; text-align: justify; }
.b { font-size: 16px; font-family: Verdana, Tahoma, Arial, sans-serif; font-weight: bold; }
#bodytext { font-size: 11px; font-family: Tahoma, Verdana, Arial, sans-serif }

hr {
border: 0;
/*width: 80%;*/
/*color: blue;*/
background-color: blue;
height: 1px;
}

</style>
