a{
color: #006871;
text-decoration: none;
}
a: link {
color: #006871;
text-decoration: none;
}
body {
background-color: #fff;
color: #000000;
font: 13px Tahoma, Arial, Verdana;
max-width: 460px;
margin: 0px auto;
}
.topmenu {
background: #fff;
padding: 10px;
box-shadow: 0px 2px 2px #c4c4c4;
margin: 0 5px 5px 5px;
}
.ffa {
display: block;
border-bottom: 1px solid #f5f5f5;
padding: 8px 0px;
}
.ffa:hover {
background: #f5f5f5;
text-decoration: none;
}

form {
font-size: small;
margin: 0px;
padding: 0px;
}

h3 {
margin: 0;
padding: 0;
padding-bottom: 2px;
}

hr {
border: 0;
border-top: 1px solid gray;
margin: 0;
}

input {
border: 1px solid #ddd;
padding: 8px;
}

input[type=submit] {
padding: 8px;
margin: 2px;
background: #8e44ad;
color: #fff;
font-size: 11px;
}

img{
padding: 0px 6px 0px 0px;
border: 0;
vertical-align: middle;
}

.icon {
padding: 3px 6px 3px 1px;
vertical-align: middle;
}

p {
margin-bottom: 2px;
margin-top: 2px;
}

select {
border-width: 2 2 2 2px;
color: #000000;
padding: 1 1 1 1px;
}

textarea {
border-radius: 5px;
border: 1px solid #3c73a7;
margin: 3px;
width: 98%;
}

ul {
margin: 0;
padding-left: 20px;
}

.alarm {
background-color: #FF0000;
border: 1px solid white;
color: #ffffff;
font-weight: bold;
padding: 3px 0px 3px 4px;
}

.bblist {
color: #4A5663;
background: transparent url(../../images/dot.gif) no-repeat left;
padding: 2px 0px 2px 10px;
}

/*Панель bb*/
.bbpopup {
margin-top: 3px;
}

/* Ссылки для панели bb*/
.bbpopup a {
border: 1px solid #A7A7A7;
height: 10px;
display: inline-block;
margin: 1px;
vertical-align: middle;
width: 10px;
}


.count {
float: right;
padding: 1px 5px;
color:#000000;
}

.end {
text-align: center;
}


.footer, .header {
background: #0c97ce url(images/head.png) repeat-x top;
border-bottom: 1px solid #2d83da;
color: #fff;
border-top: 1px solid #2d83da;
margin: 0px;
padding: 3px 0px 4px 4px;
}

.func {
border-left: 4px solid #9acd32;
color: #757575;
font-size: x-small;
margin-left: 2px;
margin-top: 4px;
padding-left: 4px;
}


.gray {
color: #586776;
}

.greply {
		border-left: 4px solid #009900;
		color: #009900;
		padding: 2px 0px 2px 4px;
	}

	.hdr {
		background-color: #f1f1f1;
		border-bottom: 1px solid #595959;
		font-weight: bold;
		padding-left: 2px;
	}

	.left {
		float: left;
	}


	.logo{
	background: url(images/head.png);
	background-position:top;
	border-radius: 15px 15px 0px 0px;
	}
	.maintxt {
		background: #ddd;
		font-weight: normal;
		margin: 0px;
	}

.rmenu, .fmenu, .bmenu, .menu, .gmenu, .list1, .list2, .user {
background: #fff;
padding: 3px 6px 6px;
box-shadow: 0px 2px 2px #c4c4c4;
margin: 0 5px 5px 5px;
	}

	.news {
background: #fff;
padding: 6px 9px 9px;
box-shadow: 0px 2px 2px #c4c4c4;
margin: 0 5px 5px 5px;
border-bottom: 1px shadow #eee;
	}

	.phdr {
background: #8e44ad;
padding: 10px;
margin: 5px 5px 0 5px;
color: #fff;
	}

	.phdr a {
		color: #4082a5;
	}

	.phpcode {
		background-color: #E0E6E9;
		border: 1px dotted #9FAEBB;
		margin-top: 4px;
		padding: 0px 2px 0px 2px;
		overflow: auto;
	}

	.quote {
		border-left: 4px solid #c0c0c0;
		color: #878787;
		font-size: x-small;
		margin-left: 2px;
		padding: 2px 0px 2px 4px;
	}

	.reply {
		border-left: 4px solid #EE0000;
		color: #EE0000;
		padding: 2px 0px 2px 4px;
	}


	.sitemap {
		font-size: xx-small;
		height: 0px;
		overflow: auto;
	}

	/*Шапка цитаты*/
	.spoilerhead {
		background: #e0e6e9;
		border: 1px solid #586776;
		font-size: x-small;
		margin-top: 2px;
		margin-top: 2px;
		padding: 2px;
	}

	/*Тело цитаты*/
	.spoilerbody {
		border: 1px solid #586776;
		border-top: 0px;
		color: #586776;
		margin-bottom: 2px;
		padding: 6px;
	}

	.status {
		color: #CD853F;
		font-size: x-small;
		font-weight: bold;
		padding-left: 0px;
	}

	.sub {
		border-top: 1px dotted #c6c17f;
		font-size: x-small;
		margin-top: 4px;
	}

.tmn{
background: #253137;
padding: 5px 0;
text-align: center;
}
.tmn a {
background: #8e44ad;
display: inline-block;
width: 32%;
padding: 9px 0;
color: #fff;
}
.tmn a:hover {
background: #9b59b6;
text-decoration: none;
}


	.greply a:link, .greply a:visited {
		color: #008800;
	}

	.reply a:link, .reply a:visited {
		color: #DD0000;
	}

	.sub a:link, .sub a:visited {
	}

	a:hover {
		border-bottom-width: 1px;
		font-weight: bold;
	}

	input[type="submit"]:hover {
		background: #72bbe5;
		border: 1px solid #3c73a7;
		color: #fff;
		margin: 1px 0;
		margin: 2px;
		font-size: 11px;
	}

	.currentpage {
background-color: #a55fbb;

padding: 6px;
	}

	a.pagenav {
padding: 6px;
background-color: #8e44ad;
color:#fff;
		text-decoration: none;
	}

	a.pagenav:hover {
		background-color: #9b59b6;
	}
table.desc{
border-top: 1px dotted #c6c17f;
width: 100%;
overflow: auto;
font-size: x-small;
margin-top: 4px;
}
table.desc td{
font-size: x-small;
}
table.desc td.caption{
width: 1%;
text-align: right;
color: #6f6f6f;
white-space: nowrap;
}
h4{
margin: 6px 0 2px 0;
}

.menu_j, .menu_m{background: #fff; color: #800000; padding: 7px; display: block; border-bottom: #f0f0f0 1px solid;}
.panel_td{color:white;;text-align:center;background-color:#326d85;border:1px #E6E6FA solid;}
.panel_td a{color:white;;text-decoration:none;}
.panel_td a:focus,.tfoot a:hover,.tfoot a:active{color:white;;background-color:#326d85;}

td.panel_td{font-size:20px;margin:10px 10px;color:#fff;width:1%;display:table-block;border-right:solid 1px #E6E6FA;}
td.panel_td a{display:block;text-align:center;padding:3px;}
td.panel_td{border-left:solid 0px #fff;}
.news {
background: #B4F00E; 
border: 1px solid #000000; 
margin: 1px;
padding: 4px;
border-radius: 5px 5px 5px 5px;
color: #000000;
}