body {
    background-color: rgb(224, 228, 239);
    font-family: Calibri, Arial, Helvetica, sans-serif;
    font-size: 15px;
    line-height: 20px;
    max-width: 900px;
    color: #1F1F1F;
    margin: auto;
    padding: 4px;
}

a:link,a:visited,a:active{color: #4E689F; text-decoration:none;}
a:hover{color:#007FFF;}
a:active{color:#34A853;}

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

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

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

h4{margin: 6px 0 2px 0;}
img{border: 0;}

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

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

textarea {
    vertical-align: top;
    width: 600px;
    max-width: 96%;
    min-width: 30px;
    height: 6em;
    border: 1px solid #B9C4D1;
    padding: 2px;
    margin: 2px;
    margin-bottom: 4px;
    border-radius: 4px;
}

input {
border: 1px solid #3C5582;
border-radius: 1px;
padding: 3px;
}

select {
background-color: #4D679F;
border: 1px solid #ADB7BF;
border-radius: 1px;
color: #fff;
padding: 4px;
}

input[type="submit"] {
    background-color: #4D679F;
	background-image: url(images/face.png);
	-khtml-border-radius: 1px;
	-moz-border-radius: 1px;
	-webkit-border-radius: 1px;
	border-radius: 1px;
	margin: 0 4px;
	color: #fff;
	padding: 6px 12px;
}

input[type="submit"]:hover {
    background-color: #3C5582;
	background-image: url(images/face_hover.png);
}

.logo {background-color:  #4D679F; /*#FFFFFF;*/}

.header {
    background-color: #3C5582;
/*	background-image: url(images/face_hover.png);*/
    color: #EAF6F9;
    padding: 10px;
}

.header b{
    background-color: #4D679F;
/*	background-image: url(images/face.png);*/
	border-radius: 1px;
	margin-left: 1px;
	font-weight: bold;
	color: #EAF6F9;
	padding: 5px;
}

.tmn {
    background-color: #eef3f4;
    border-bottom: 1px solid #EFEFEF;
	text-align: center;
    padding: 6px;
    color: rgb(68, 94, 150);
}

.tmn a {
    background-color: #4D679F;
background-image: url(images/face.png);
border-radius: 1px;
font-weight: bold;
color: #EAF6F9;
padding: 5px;
}

.tmn a:hover {background: #3C5582 url(images/face_hover.png);}
.panel {
    background-color: #4D679F;
/*	background-image: url(images/face.png);*/
}

a.panelmenu {
    display: block; 
    text-align: center; 
    padding: 6px;
    color: #fff;
}

.panelmenu img {
    vertical-align: middle;
}

a.panelmenu:hover {
    background-color: #3C5582;
/*    background-image: url(images/face_hover.png);*/
    color: #fff;
}

.phdr {
    background-color: #4D679F;
/*    background-image: url(images/face.png);*/
    color: #EAF6F9;
    padding: 7px;
}

.phdr a:link, .phdr a:visited {color: #EAF6F9;}

.menu, .list1, .list2, .fmenu, .bmenu, .user, .news, .content {
    background-color: #FFFFFF;
    border-bottom: 1px solid #EFEFEF;
    padding: 5px;
    color: rgb(68, 94, 150);
}

.gmenu {
    background-color: #eef3f4;
    border: 1px solid #EFEFEF;
    margin: 0;
    padding: 4px;
}

.rmenu {
    background-color: #e9ccd2;
    border-bottom: 1px solid #EFEFEF;
    padding: 5px;
}

.topmenu {
    background-color: #eef3f4;
    border-bottom: 1px solid #EFEFEF;
    font-size: x-small;
    padding: 4px;
}

.topmenu input {font-size: x-small}

.footer {
    background-color: #3C5582;
/*    background-image: url(images/face_hover.png);*/
    color: #d0d7dd;
    padding: 10px;
}

.footer b{
    background-color: #4D679F;
/*	background-image: url(images/face.png);*/
	border-radius: 1px;
	margin-left: 1px;
	font-weight: bold;
	color: #EAF6F9;
	padding: 7px;
}

.footer a:link, .footer a:visited {color: #EAF6F9;}

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

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

.bbpopup {margin-top: 3px;}

.bbpopup a {
    border: 1px solid #a7a7a7;
    height: 10px;
    display: inline-block;
    margin: 1px;
    vertical-align: middle;
    width: 10px;
}

.phpcode {
    line-height: 16px;
    font-size: small;
    background-color: #e0e6e9;
    border: 1px solid #e0e6e9;
    margin-top: 4px;
    padding: 0 2px 0 2px;
}

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

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

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

.sitemap {
    background-color: #eeecd9;
    padding: 2px 4px 3px 4px;
    font-size: xx-small;
    height: 38px;
    overflow: auto;
}

.spoilerhead {
    background: #e0e6e9;
    border: 1px solid #9fa9b8;
    font-size: x-small;
    margin-top: 2px;
    padding: 2px;
}

.spoilerbody {
    border: 1px solid #c1c1c1;
    border-top: 0px;
    color: #586776;
    background-color: rgba(255, 255, 255, 0.3);
    margin-bottom: 2px;
    padding: 6px;
}

.status {
    color: #2F5489;
    font-weight: bold;
    padding-left: 0;
}

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

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

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

.icon-inline {
    padding-right: 6px;
    vertical-align: middle;
}

.end {text-align: center;}
.right {text-align: right;}
.left {float: left;}
.gray {color: #586776;}
.clip a:link, .clip a:visited {color: #424e59;}
.green, .green a:link, .green a:visited {color: #008000;}
.greply a:link, .greply a:visited {color: #008800;}
.red, .red a:link, .red a:visited {color: #ff0000;}
.reply a:link, .reply a:visited {color: #dd0000;}

.alarm a:link, .alarm a:visited {
    color: #ffffff;
    font-size: x-small;
}

.currentpage {
    background-color: #edebeb;
    border: 1px solid #cccccc;
	border-radius: 1px;
padding: 1px 4px;
}

a.pagenav {
    border: 1px solid #cccccc;
	border-radius: 1px;
padding: 1px 4px;
}

a.pagenav:hover {
    background-color: #f7f7f7;
    border: 1px solid #dedede;
}

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;
}

.dlmenu {
    border-radius: 3px 3px 3px 3px;
    background-color: #F5F5F5;
    color: #222222;
    float: left;
    border: 1px solid #F5F5F5;
    border-bottom: 2px solid #f0f0f0;
    margin: 2px;
    padding: 6px;
    max-width: 80%;
    overflow: hidden;
}

.drmenu {
    border-radius: 3px 3px 3px 3px;
    background-color: #F2FCD7;
    color: #222222;
    float: right;
    border: 1px solid #F2FCD7;
    border-bottom: 2px solid #f0f0f0;
    margin: 2px;
    padding: 6px;
    max-width: 80%;
    overflow: hidden;
}

.count {
margin-left: 5px;
font-size: 12px;
float: right;
padding: 2px;
}

.info {
background: #eef3f4;
border: 1px solid #EFEFEF;
border-radius: 3px;
font-size: small;
padding: 5px;
}

a.ssilka {
	background-color: #4D679F;
	font-family: Lucida Grande,Verdana,Tahoma,Arial,sans-serif,Lucida Sans;	
	max-width: 100%;
	font-size: 12px;
	font-weight: bold;
	text-align: center;
	border-radius: 4px;
    display: block;
	color: #FFF;
	padding: 7px;
}

.avatar {
    background-color: #454643;
    text-transform: uppercase;
    margin: 0px 4px 0px 0px;
    border-radius: 100px;
    font-weight: bolder;
    text-align: center;
    line-height: 48px;
    height: 48px;
    width: 48px;
	float: left;
    color: #fff;
}

.avatar-a, .avatar-b, .avatar-c, .avatar-d, .avatar-A, .avatar-B, .avatar-C, .avatar-D {
    background-color: #9669D1;
    text-transform: uppercase;
    margin: 0px 4px 0px 0px;
    border-radius: 100px;
    font-weight: bolder;
    text-align: center;
    line-height: 48px;
    height: 48px;
    width: 48px;
	float: left;
    color: #fff;
}

.avatar-e, .avatar-f, .avatar-g, .avatar-E, .avatar-F, .avatar-G {
    background-color: #3E75D8;
    text-transform: uppercase;
    margin: 0px 4px 0px 0px;
    border-radius: 100px;
    font-weight: bolder;
    text-align: center;
    line-height: 48px;
    height: 48px;
    width: 48px;
	float: left;
    color: #fff;
}

.avatar-h, .avatar-i, .avatar-j, .avatar-H, .avatar-I, .avatar-J {
    background-color: #3EBCD8;
    text-transform: uppercase;
    margin-right: 4px;
    border-radius: 100px;
    text-align: center;
    line-height: 48px;
    height: 48px;
    width: 48px;
	float: left;
    color: #fff;
}

.avatar-k, .avatar-l, .avatar-m, .avatar-K, .avatar-L, .avatar-M {
    background-color: #3ED874;
    text-transform: uppercase;
    margin: 0px 4px 0px 0px;
    border-radius: 100px;
    font-weight: bolder;
    text-align: center;
    line-height: 48px;
    height: 48px;
    width: 48px;
	float: left;
    color: #fff;
}

.avatar-n, .avatar-o, .avatar-p, .avatar-q, .avatar-N, .avatar-O, .avatar-P, .avatar-Q {
    background-color: #ACBD1F;
    text-transform: uppercase;
    margin: 0px 4px 0px 0px;
    border-radius: 100px;
    font-weight: bolder;
    text-align: center;
    line-height: 48px;
    height: 48px;
    width: 48px;
	float: left;
    color: #fff;
}

.avatar-r, .avatar-s, .avatar-t, .avatar-R, .avatar-S, .avatar-T {
    background-color: #BD681F;
    text-transform: uppercase;
    margin: 0px 4px 0px 0px;
    border-radius: 100px;
    font-weight: bolder;
    text-align: center;
    line-height: 48px;
    height: 48px;
    width: 48px;
	float: left;
    color: #fff;
}

.avatar-u, .avatar-v, .avatar-w, .avatar-x, .avatar-U, .avatar-V, .avatar-W, .avatar-X {
    background-color: #717171;
    text-transform: uppercase;
    margin-right: 4px;
    border-radius: 100px;
    font-weight: bolder;
    text-align: center;
    line-height: 48px;
    height: 48px;
    width: 48px;
	float: left;
    color: #fff;
}

.avatar-y, .avatar-z, .avatar-Y, .avatar-Z, .avatar-0, .avatar-1 {
    background-color: #2F5489;
    text-transform: uppercase;
    margin: 0px 4px 0px 0px;
    border-radius: 100px;
    font-weight: bolder;
    text-align: center;
    line-height: 48px;
    height: 48px;
    width: 48px;
	float: left;
    color: #fff;
}

.avatar-2, .avatar-3, .avatar-4, .avatar-5, .avatar-6, .avatar-7, .avatar-8, .avatar-9 {
    background-color: #328BF4;
    text-transform: uppercase;
    margin: 0px 4px 0px 0px;
    border-radius: 100px;
    font-weight: bolder;
    text-align: center;
    line-height: 48px;
    height: 48px;
    width: 48px;
	float: left;
    color: #fff;
}

        .imgnews {
            display: table-cell;
            vertical-align: top;
        }

        .imgnews img {
            height: 50px;
            margin-right: 5px;
            margin-bottom: 5px;
            width: 60px;
        }

        .divnews {
            display: table-cell;
            vertical-align: top;
            width: 100%;
        }
		
		.newsdate{
		background-color: #efefef;
		color: rgb(68, 94, 150);
		border-radius: 2px;
		font-weight: bold;
		font-size: 12px;
		float: left;
		padding: 2px;
		}
		
		.newscomm{
		background-color: #efefef;
		color: rgb(68, 94, 150);
		border-radius: 2px;
		font-weight: bold;
		font-size: 12px;
		float: right;
		padding: 2px;
		}
		
		.newsviews{
		background-color: #efefef;
		color: rgb(68, 94, 150);
		border-radius: 2px;
		margin-left: 5px;
		font-weight: bold;
		font-size: 12px;
		float: right;
		padding: 2px;
		}