body {
    max-width: 400px;
    padding: 4px;
    padding-top: 0px;
    margin: 0px auto;
    background: url() #fff;
    font-size: 11px;
    color: #D2691E;
    font-family: Tahoma, Geneva, sans-serif;
}

body, td, input, textarea {
    font-family: Arial, Tahoma, sans-serif;
    font-size: small;
}

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

img{
    border: 0;
}

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

textarea {
    width: 99%;
    max-width: 640px
}

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

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

.bblist {
    color: #4a5663;
    background: transparent url(../../images/dot.gif) no-repeat left;
    padding: 0px 0px 0px 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;
}

.bmenu {
background: 0% 0% repeat-x rgb(255, 153, 51);
    border: 2px solid rgb(255, 153, 51);
    border-image-source: initial;
    border-image-slice: initial;
    border-image-width: initial;
    border-image-outset: initial;
    border-image-repeat: initial;
    margin: 5px;
    padding: 5px;
    border-radius: 5px;
    color: rgb(255, 255, 255);
    font-size: 14px;
}

.end {
    text-align: center;
}

.fmenu {
    background: #ffe7cf;
    border: 1px solid #ffe7cf;
    margin: 5px;
    padding: 5px;
    border-radius: 5px 5px 5px 5px;
    color: #666;
}

.footer {
    background: #000000 url(images/bg.gif);
    border-bottom: 2px solid #993333;
    color: #d0d7dd;
    margin: 0;
    padding: 3px 0 4px 4px;
}

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

.gmenu {
    background: #ffe7cf;
    border: 1px solid #ffe7cf;
    margin: 5px;
    padding: 5px;
    border-radius: 5px 5px 5px 5px;
    color: #666;
}

.gray {
    color: #000000;
}

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

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

.header {
        background: 0% 0% repeat-x rgb(255, 153, 51);
    border: 2px solid rgb(255, 153, 51);
    border-image-source: initial;
    border-image-slice: initial;
    border-image-width: initial;
    border-image-outset: initial;
    border-image-repeat: initial;
    margin: 5px;
    padding: 5px;
    border-radius: 5px;
    color: rgb(255, 255, 255);
    font-size: 14px;
}

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

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

.left {
    float: left;
}

.list1 {
    background-color: #eeecd9;
    border: 1px solid white;
    margin: 0;
    padding: 3px 4px 4px 4px;
}

.list2 {
background: 0% 0% repeat-x rgb(255, 153, 51);
    border: 2px solid rgb(255, 153, 51);
    border-image-source: initial;
    border-image-slice: initial;
    border-image-width: initial;
    border-image-outset: initial;
    border-image-repeat: initial;
    margin: 5px;
    padding: 5px;
    border-radius: 5px;
    color: rgb(255, 255, 255);
    font-size: 14px;
}

.maintxt {
    border: 4px solid #586776;
    font-weight: normal;
    margin: 0;
    padding: 4px 4px 4px 4px;
}

.menu {
    background: #ffe7cf;
    border: 1px solid #ffe7cf;
    margin: 5px;
    padding: 5px;
    border-radius: 5px 5px 5px 5px;
    color: #666;
}

.news {
    background-color: #eeeeee;
    border: 1px solid white;
    color: #333333;
    font-size: x-small;
    padding: 3px 4px 4px 4px;
}

.phdr {
    background: url() repeat-x top left #ff9933;
    border: 2px solid #ff9933;
    margin: 5px;
    padding: 5px;
    border-radius: 5px 5px 5px 5px;
    color: #fff;
    font-size: 14px;
}

.phpcode {
    background-color: #e0e6e9;
    border: 1px dotted #9faebb;
    margin-top: 4px;
    padding: 0 2px 0 2px;
    /*overflow: auto;*/
}

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

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

.rmenu {
background: 0% 0% repeat-x rgb(255, 153, 51);
    border: 2px solid rgb(255, 153, 51);
    border-image-source: initial;
    border-image-slice: initial;
    border-image-width: initial;
    border-image-outset: initial;
    border-image-repeat: initial;
    margin: 5px;
    padding: 5px;
    border-radius: 5px;
    color: rgb(255, 255, 255);
    font-size: 14px;
}

.sitemap {
    background-color: #eeecd9;
    margin: 0;
    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: #cd853f;
    font-size: x-small;
    font-weight: bold;
    padding-left: 0;
}

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

.tmn {
	background: #ffe7cf;
    border: 1px solid #ffe7cf;
    margin: 5px;
    padding: 5px;
    border-radius: 5px 5px 5px 5px;
    color: #666;
}

.topmenu {
    background: #ffe7cf;
    border: 1px solid #ffe7cf;
    margin: 5px;
    padding: 5px;
    border-radius: 5px 5px 5px 5px;
    color: #666;
}

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

.user {
background: #ffe7cf;
    border: 1px solid #ffe7cf;
    margin: 5px;
    padding: 5px;
    border-radius: 5px 5px 5px 5px;
    color: #666;
}

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

.clip a:link, .clip a:visited {
    color: #424e59;
}

.footer a:link, .footer a:visited {
    color: #d2d2d2;
    text-decoration: none;
}

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

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

.tmn a:hover, .fmenu a:hover {
    text-decoration: underline;
}

.tmn a:link, .tmn a:visited, .fmenu a:link, .fmenu a:visited {
    #color: #000000;
    #text-decoration: none;
	    color: #694900;
    text-decoration: none;
}

a:active {
    color: #666600;
    text-decoration: underline;
}

a:hover {
    color: #ff0000;
    text-decoration: none;
}

a:link, a:visited {
    #color: #0000bb;
    #text-decoration: underline;
	    color: #000000;
    text-decoration: none;
	
}
.currentpage {
    background-color: #edebeb;
    border: 1px solid #cccccc;
    padding: 0px 5px 0px 5px;
}

a.pagenav {
    border: 1px solid #cccccc;
    padding: 0px 3px 0px 3px;
    text-decoration: none;
}

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

h4{
    margin: 6px 0 2px 0;
}
.navigator {background: #ffe7cf;
    border: 1px solid #ffe7cf;
    margin: 5px;
    padding: 5px;
    border-radius: 5px 5px 5px 5px;
    color: #666;
}
.info {
    background: #F9FFEA;
    border: 1px solid #98CA13;
    border-radius: 4px;
    padding: 4px;
    margin: 10px 0 10px 47px;
    min-height: 25px;
}
img.qalampir {
    float: left;
    margin: 10px 4px 10px 0;
}