/*//////////////////////////////////////////////////
/Designed by selemet , special for  johncms.com
/////////////////////////////////////////////////*/
body { background-color: #f1f1f1; color: #000000; font: 12px Tahoma, Arial, Verdana; max-width: 600px; margin: 2px auto;}

a , a:visited{ color:#425872; text-decoration: none;} a:hover{color:#666; text-decoration: underline;}

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

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

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

textarea {margin-left:4px;  border-radius: 3px; border: 1px solid #486C93;  width: 95%; }

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

input[type="submit"]{ background: #3F536C; border: 1px solid #3c73a7; border-radius:3px; color: #fff; margin-top:2px; padding:3px; font-size: 13px;}
input {  margin-left:4px; border: 1px solid #486C93; border-radius: 3px;}
select { border-width: 2 2 2 2px; color: #000000; padding: 1 1 1 1px; }

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

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

.alarm {
    background-color: #F23439;
    border-bottom: 1px solid #CB1A1C;
    color: #ffffff;
    font-weight: bold;
    padding: 4px;
}

img{
    border: 0;
}

.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-color: #D3D8DB;
    border-bottom: 1px solid #bbb;
    margin: 1px 0px;
     padding: 2px 0px 4px 10px;
}

.end {
    text-align: center;
}

.fmenu { background:#476185; color: #2d83da; margin: 0px 1px 0px 1px; padding: 5px 0px 5px 4px;}
.fmenu a , .fmenu a:visited {color: #FBFCFF;}

.footer { background: #455c77; background:url(images/phdr.png); background-position: 50% 100%; background-repeat: repeat-x; border-radius: 0px 0px 4px 4px; margin: 0px 1px 0px 1px; padding: 6px;}

.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 0 2px 4px;
}

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

.logo {
    background: #f1f1f1;
    padding: 0px;
}

.header { background: #455c77; background:url(images/phdr.png); background-position: 50% 100%; background-repeat: repeat-x; color: #fff; border-radius: 4px 4px 0px 0px; margin: 0px 1px 0px 1px; padding: 9px;}

.left {
    float: left;
}

.list1 { background:url(images/list1.png); font: 12px Tahoma, Arial, Verdana; background-position: 30% 100%; background-repeat: repeat-x; background-color: #FFFFFF; border-bottom: 1px solid #ccc; margin-bottom: 1px; padding: 10px;}
.list1 a:link , .list1 a:visited , .bmenu a , .bmenu a:visited{ color:#425872; text-decoration: none;}
.list2 { background-color: #f5f5f5; font: 12px Tahoma, Arial, Verdana; background:url(images/menu.png); background-position: 50% 100%; background-repeat: repeat-x; border-bottom: 1px solid #ccc; margin-bottom: 1px; padding: 10px;}
.list2 a:link , .list2 a:visited,  .user a , .user a:visited .sub a:link, .sub a:visited{text-shadow: -1px -1px 1px #eee; color:#425872; text-decoration: none;}

.spoilerhead {
    background: #E8E8F2;
    color: #211F67;
    padding: 3px;
    border: 1px solid #9898AD;
}

.spoilerbody {
    background: #FAFAFC;
    border: 1px solid #AFAFC4;
    border-top: none;
    padding: 4px;
    color: #333;
    border-radius: 0px 0px 3px 3px;
}

.maintxt { background: #fff; border-right: 1px solid #DEDEDE; border-left: 1px solid #DEDEDE; box-shadow: 0px  10px  10px#ccc;}

.menu { background: #fcfcfc; background:url(images/menu.png); background-position: 50% 100%; background-repeat: repeat-x; padding: 8px; border-bottom:1px solid #ccc; margin-bottom:1px;}
.menu a:link , a:visited { color:#435A71; text-decoration: none;}
.menu a:hover { paddig-top:1px;text-decoration:underline;}
.news { background-color: #EEEEEE; border: 1px solid white; color: #333333; font-size: x-small; padding: 3px 4px 4px 4px;}

.phdr { color: #EAEAEA; background: #455c77; background:url(images/phdr.png); background-position: 50% 100%; background-repeat: repeat-x; padding: 10px; margin-top: -1px;}

.phdr a { color: #fff;}

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

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

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

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

.tmn { background: #476185; color: #E0E8F5; margin: 0px 1px 0px 1px; padding: 7px 0px 7px 4px;}

.gmenu { background:url(images/gmenu.png); background-position: 100% 0%; background-repeat: repeat-x; margin: 0px; padding: 2px 0px 4px 10px;}

.rmenu { background: #FCDDDD;  background-position:  50% 100%; background-repeat: repeat-x;  padding: 2px 0px 4px 10px; color:#624343;}
.topmenu { background: #455c77; background:url(images/topmenu.png);  background-position: 50% 100%; background-repeat: repeat-x; padding: 5px; border-bottom: 1px solid #5385b8;}
.topmenu a,visited , .rmenu a , .rmenu visited{ text-shadow: 0 0 2px #E3E5EA; color:#1F2E40; text-decoration:none;}
.topmenu a:hover , .rmenu a:hover{ text-shadow: 0 0 2px #E3E5EA; color:#1F2E40; text-decoration:underline;}

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

.user { background-color: #f5f5f5; background:url(images/menu.png); background-position: 0% 100%; background-repeat: repeat-x; margin-bottom: -4px; padding: 3px 4px 3px 4px;}

.user .gray {
    color: #2E2E31;
}

.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: #fff;
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

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

.tmn a:link, .tmn a:visited { background: #fcfcfc; background:url(images/ltmn.png); padding:2px ; margin-bottom: 6px; border:1px solid #CCCCCC; color:#5276A7; border-radius:3px;}
.tmn a,visited { color:#1F2E40; text-decoration:none;}

.currentpage {
    background-color: #fff;
    border: 1px solid #ADB7BF;
    border-radius: 2px;
    padding: 1px 6px;
}

a.pagenav { border: 1px solid #334259; padding: 0px 3px 0px 3px; text-decoration: none;}
a.pagenav:hover { background-color: #f7f7f7; }

/*//////////////////////////////////////////////////
/Designed by selemet , special for johncms.com
/////////////////////////////////////////////////*/

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