div.address
{
	font-size: 12px;
	margin: 0px;
}
table.main td.left_cell,table.main td.content
{
	background: none !important;
}
table.main td.right_cell
{
	width: 225px;
	padding: 0px;
	vertical-align: top;
}
table.main td.right_cell div.box
{
	width: 195px;
	background: #ffffff url(../img/bottom.gif) no-repeat left bottom;
	padding: 0px;
	font-size: 12px;
	margin-top: 39px;
}
table.main td.right_cell div.box p
{
	padding: 0px 15px 25px 12px;
	margin: 0px;
}
/*Календарь*/
div.archive
{
	text-align: left;
	margin: 20px 30px 25px 25px;
}
/*div.years
{
	height: 29px;
}
div.passive_year
{
	float: left;
	position: relative;
	top: 5px;
	width: 51px;
	background: url(../img/year_bg.gif) no-repeat left top;
}

div.passive_year a
{
	display: block;
	width: 51px;
	height: 25px;
	padding: 0;
	white-space: nowrap;
	font: bold 12px Arial;
	color: #233e98;
	text-decoration: none;
	text-align: center;
	line-height: 24px !important;
	border: none;
}
div.passive_year a:hover
{
	font: bold 12px Arial;
	color: #233e98;
	text-decoration: underline;
}
div.active_year
{
	float: left;
	position: relative;
	top: 5px;
	width: 51px;
	background: url(../img/active_year_bg.gif) no-repeat left top;


}

div.active_year a
{
	display: block;
	width: 51px;
	height: 29px;
	padding: 0;
	white-space: nowrap;
	font: bold 12px Arial;
	color: #233e98;
	text-decoration: none;

	text-align: center;
	line-height: 25px !important;
	border: none;
}
div.active_year a:hover
{
	color: #233e98;
	text-decoration: underline;
	border: none;
}
div.empty
{
	padding-left: 0px;
	height: 29px;
	background: url(../img/div_empty_bg.gif) repeat-x left bottom;
	border: 1px solid red;
}*/


table.years
{
	width: 202px;
	height: 25px;
}
table.years td.passive_year
{
	width: 51px;
	background: url(../img/year_bg.gif) no-repeat left top;
}

table.years td.passive_year a
{
	width: 51px;
	padding-left: 12px;
	white-space: nowrap;
	font: bold 12px Arial;
	color: #233e98;
	text-decoration: none;
	line-height: 24px !important;
	border: none;
}
table.years td.passive_year a:hover
{
	font: bold 12px Arial;
	color: #233e98;
	text-decoration: underline;
}
table.years td.active_year
{
	width: 51px;
	background: url(../img/active_year_bg.gif) no-repeat left top;
}
table.years td.active_year a
{
	width: 51px;
	height: 25px;
	padding-left: 12px;
	white-space: nowrap;
	font: bold 12px Arial;
	color: #233e98;
	text-decoration: none;
	line-height: 25px !important;
	border: none;
}
table.years td.active_year a:hover
{
	color: #233e98;
	text-decoration: underline;
	border: none;
}
table.years td.empty
{
	padding-left: 0px;
	background: url(../img/div_empty_bg.gif) repeat-x left bottom;
}
table.years td.last
{
	width: 5px;
}
table.calendar
{
	width: 202px;
	height: 130px;
	background: url(../img/calendar_bg.gif) no-repeat left top;
}
table.calendar td
{
	color: #0e1c4e;
	padding: 0 0 0 25px;
	height: 15px;
	font-size: 11px;
}
table.calendar td a
{
	font-weight: bold;
	color: #0e1c4e;
	border-bottom: 1px solid #303030;
}
table.calendar td a:hover
{
	font-weight: bold;
	color: #0e1c4e;
	border-bottom: none;
}
table.calendar td.selected
{
	font-weight: bold;
	color: #0736da;
}
table.calendar td.selected a
{
	color: #0736da;
	border-bottom: 1px solid #992c2c;
}
table.calendar td.selected a:hover
{
	color: #303030;
	border-bottom: 1px solid #303030;
}
table.calendar td.delim
{
	height: 5px;
}

/*Конец Календарь*/
/*Постраничка*/
table.pages
{
	height: 29px;
}
table.pages a
{
	border: none;
}
table.pages td.txt
{
	width: 60px;
	border: 1px solid #566dba;
	border-right: none !important;
	padding-left: 12px;
	font-size: 12px;
}
table.pages td.page
{
	padding-right: 6px;
	border-top: 1px solid #566dba;
	border-bottom: 1px solid #566dba;
}

td.page b
{
	width: 20px;
	height: 20px;
	text-align: center;
	color: #fff;
	line-height: 20px;
	background: #233e98;
	font-size: 12px;
	margin: 0 5px;
}

td.page > b
{
	padding: 3px 7px 3px 6px !important;
}
td.page > a
{
	padding: 3px 8px 6px 8px !important;
}

td.page a
{
	width: 21px;
	height: 20px;
	background: url(../img/a_bg.gif) no-repeat left top;
	text-align: center;
	font-size: 12px;
	font-weight: bold;
	color: #233e98;
	text-decoration: none;
	line-height: 20px;
	border: none !important;
	margin: 2px 4px 0 0;
}

td.page a:hover
{
	width: 21px;
	height: 20px;
	text-align: center;
	color: #fff;
	line-height: 20px;
	background: #233e98;
	font-size: 12px;
	font-weight: bold;
	margin: 2px 4px 0 0;
}
td.page > a:hover
{
	margin: 2px 6px 0 0 !important;
	padding: 3px 6px 3px 8px !important;
}
table.pages td.end
{
	width: 13px;
	background: url(../img/empty_bg.gif) no-repeat left top;
}
/*Конец Постраничка*/
/* Таблица */
TABLE.table, TABLE.sortable{
	width: 100%;
	border-bottom: 2px solid #b7b7b7;
}

TABLE.table TH, TABLE.sortable TH { 
	margin:0px;
	padding: 0px;
	vertical-align: middle;
	border-bottom: 3px solid #28166f;
	border-right: 1px solid #b7b7b7;
	color: #28166f;
	height: 22px;
	text-align: center;
}
TABLE.sortable TH a { color: #b7b7b7; text-decoration: none; }
TABLE.sortable TH a:hover { color: #b7b7b7; text-decoration: none; }
TABLE.table TH.last, TABLE.sortable TH.last { 
	border-right: none;
}
TABLE.table TD, TABLE.sortable TD { 
	margin:0px; 
	padding: 4px;
	padding-left: 15px !important;
	border-bottom: 1px solid #b7b7b7;
	border-right: 1px solid #b7b7b7;
	color: #555;
	height: 32px;
}
TABLE.table TD.last, TABLE.sortable TD.last { 
	border-right: none !important;
}

