
.clear{
    clear: both;
}

.mesage_error{
    color: #cc0000;
}

.success_message{
    color: green;
}

.block_for_messages{
    text-align: center;
}

#header, #footer{
    border: 2px solid #000;
}

#header{
    padding-left: 10px;
}

#footer{
    position: absolute;
    /*bottom: 0;*/
    right: 0;
    width: 100%;
}

#header h2, #footer h2{
    text-align: center;
    margin: 0;
}

#auth_block{
    width: 230px;/*260px*/
    float: right;
}
.auth_block{
	background: transparent;
	border: 0;	
}
.auth_block img{
	margin: 0px;
	padding: 0px;
}
.auth_block table{
	margin: 10px;
	padding: 0px;
}

#auth_block a{
    display: block;
    padding: 10px;
    border-radius: 20px;
    color: #fff;
    width: 90px;
    height: 10px;
    text-decoration: none;
}

#auth_block a:hover{
    text-decoration: underline;
}

.lk {
	border: 1px solid #000;
	position: relative;
	width: 250px;
	margin: 0px;
	padding: 0px;
}
#auth_block a.lk{
	color: red;
	/*text-align: center;*/
}

#link_register{
    float: left;
}

#link_auth, #link_logout{
    float: right;
}

#link_register a{
    background: #54d854;
	text-align: center;
}

#link_auth a, #link_logout a{
    background: #4e4eec;
    text-align: center;
	vertical-align: middle;
}

/* Блок с формой регистрации */
#form_register, #form_auth{
    width: 400px;
    margin: 0 auto;
}


#authorized h2{
    text-align: center;
}
/*Кнопка со ссылкой*/
   .design {
    display: inline-block; /* Строчно-блочный элемент */
    padding: 5px 20px; /* Добавляем поля */
    text-decoration: none; /* Убираем подчёркивание у ссылки */
    cursor: pointer; /* Курсор в виде руки */
    background: #deefff; /* Фон для браузеров, не поддерживающих градиент */
    /* Градиент */
    background: -moz-linear-gradient(top, #deefff 0%, #98bede 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#deefff), color-stop(100%,#98bede));
    background: -webkit-linear-gradient(top, #deefff 0%,#98bede 100%);
    background: -o-linear-gradient(top, #deefff 0%,#98bede 100%);
    background: -ms-linear-gradient(top, #deefff 0%,#98bede 100%);
    background: linear-gradient(top, #deefff 0%,#98bede 100%);
    border-radius: 10px; /* Скругляем уголки */
    border: 1px solid #008; /* Добавляем синюю рамку */
    font: 12px/1 Arial, sans-serif; /* Рубленый шрифт */
    color: #2c539e; /* Цвет текста и ссылки */
   }
/*Подсветка строки в таблице при наведении*/
#tb tr:hover td{
    background: #dcdcdc;/* фон строки при наведении */
	color: black; /* Цвет текста */
	font-weight: bolder; /* жирный */
  }
.chered{
	background: #ececec;
}