* {margin: 0px; font-size: 12px; font-family: verdana, arial, sans-serif;}
h1 {font-size: 20px;}
h2 {font-size: 18px;}
h3 {font-size: 16px;}
a {color: black;}
a:hover {color: #ff7f16;}

.tbl { border-bottom: 1px solid black; border-right: 1px solid black; width: 100%;}
.tbl th, .tbl td { border-top: 1px solid silver; border-left: 1px solid silver; vertical-align: top; padding: 5px;}
table.tbl tr.btn:hover td{background-color: #36aaff; cursor: pointer;}
table.tbl tr.oct2:hover td{background-color: #36aaff; cursor: pointer;}
.oct2 td{background-color: #ededed}

.news .tbl {margin-bottom: 20px;}

.menu-vert {list-style: none;}

.menu-hor li {
    display: inline; /* Отображать как строчный элемент */
    margin-right: 5px; /* Отступ слева */
    padding: 3px; /* Поля вокруг текста */
}

p {text-align: justify; margin-bottom: 5px; margin-top: 5px;}

/******************* min site blocks ****************************/

#container {
    margin: 0px auto;
    text-align: left;
    width: 960px;
}
#content{
}
#left{
    width:192px;
    float:left;
}
#right{
    width:192px;
    float:right;
}
#portalmiddle{
    margin-left:206px;
    margin-right:196px;
    width:450px;
}
#mainmiddle{
    margin-left:206px;
    margin-right:0px;
    width:auto;
}

/******************* min site blocks ****************************/

/********************* block & menu ****************************/
.block{
    /*background-color: #151616;*/
    border-radius:5px;
    -moz-border-radius:5px;
    -webkit-border-radius:5px;
    -khtml-border-radius:5px;
    border: 1px solid #262727;
    padding: 0px;
    margin-bottom: 15px;
}
.menu .block {width: 192px; padding-bottom: 10px;}
.block h3, .block span.header{
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    font-weight: bold;
    color:#000000;
    text-decoration:none;
    padding: 10px;
    margin-bottom: 10px;
    border-top-right-radius:5px;
    border-top-left-radius:5px;
    border-bottom: 1px solid #ccc;
    background-color: #c4e1ff;
}

.block .header span {font-weight: normal;}
.block .content {padding: 5px; }
.block .footer {text-align: right; font-style: italic; padding: 3px;}


.menu-hor ul, .menu_hor li {
    display: inline;
    margin-right: 5px;
    padding: 3px;
}
.block2{
    /*background-color: #151616;*/
    border-radius:5px;
    -moz-border-radius:5px;
    -webkit-border-radius:5px;
    -khtml-border-radius:5px;
    border: 1px solid #262727;
    padding: 0px;
    margin-right: 15px;
    display: inline;
}
.block2 {display: inline; padding-left: 0px; padding-right: 10px;}
.block2 h3, .block2 .header {
    margin: 0px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    font-weight: bold;
    color:#000000;
    text-decoration:none;
    padding: 10px;
    margin-right: 10px;
    border-bottom-left-radius:5px;
    border-top-left-radius:5px;
    border-right: 1px solid #ccc;
    background-color: #c4e1ff;
    display: inline;
    min-height: auto;
}
.block2 .content {padding: 5px; display: inline;}
.block2 .footer {text-align: right; font-style: italic; padding: 3px; display: inline;}
/************** forms *******************/

form ul li {list-style-type: none;}
form ul li label { display: inline-block; min-width: 200px; }

.resultok {border: green 1px solid; background-color: yellow; color: black; padding: 10px;}
.resulterr {border: #ff6666 1px solid;  background-color: #be854c; color: black; padding: 10px; margin-top: 20px; margin-bottom: 20px;}
.resulterr a{color: white; text-decoration: underline;}
.resulterr a:hover {color: yellow;}

/*********** forum ***********************/

.forum table {
    border-radius:5px;
    -moz-border-radius:5px;
    -webkit-border-radius:5px;
    -khtml-border-radius:5px;
    border-left: 1px solid #262727; border-top: 1px solid #262727;
    padding: 0px;
    margin-bottom: 15px;
}
.forum table tr th, .forum table tr td {padding: 5px; border-bottom: 1px solid #262727; border-right: 1px solid #262727; }
.forum table tr th {background-color: #eee; }

form ul{ list-style-type: none; }
form ul label { display: inline-block; min-width: 150px;}
/**************** bbcodes ********************************/
.forum_msg {white-space: pre-wrap;}

ul.bb-list-unordered { white-space: normal; }
ol.bb-list-ordered { white-space: normal; }
ol.bb-list-ordered-d { list-style-type: decimal;}
ol.bb-list-ordered-lr { list-style-type: lower-roman;}
ol.bb-list-ordered-ur { list-style-type: upper-roman;}
ol.bb-list-ordered-la { list-style-type: lower-alpha;}
ol.bb-list-ordered-ua { list-style-type: upper-alpha;}
ol.bb-listitem { }

.bb-code pre, .bb-php pre {
    border: 1px solid black;
    /*white-space: nowrap;*/
    font-family : Courier, "Courier New", fixed-width, monospace ;
    line-height : 140% ;
    overflow : auto ;
    padding : 5px ;
}

.bb-quote {
    border: 1px solid black;
    padding: 10px;
}

.bb-email { }
.bb-url { }

.bb-image {
    border-width: 0;
    border-style: none;
    max-width: 80%;
}

/* Стили для спойлера */
.spoiler-header {
    background: #eeeeee url('/img/spoiler.png') no-repeat;
    padding-left: 30px;
    padding-top: 3px;
    height:25px;
    cursor:pointer;
}
/* Скрытый спойлер */
.spoiler-hidden .spoiler-header {
    background-position: 5 2;
}
.spoiler, .spoiler-hidden .text {
    display: none;
}
/* Открытый спойлер */
.spoiler-visible .spoiler-header {
    background-position: 5 -24px;
}
.spoiler-visible .text {
    display:visible;
    padding: 0px;
    border: 1px dashed #B2BDCB;
    margin: 0px;
}

.txt_g{ color: forestgreen; }

.b-popup{
    width:100%;
    min-height:100%;
    background-color: rgba(0,0,0,0.5);
    overflow:hidden;
    position:fixed;
    top:0px;
    left:0px;
    display: none;
}
.b-popup .b-popup-content{
    margin:40px auto 0px auto;
    width:50%;
    max-height: 80vh;
    overflow: auto;
    overflow-x: hidden;
    padding:10px;
    background-color: white;
    border-radius:5px;
    box-shadow: 0px 0px 10px #000;
}

.rose_form input, .rose_form select, .rose_form textarea {min-width: 300px;}
.rose_form textarea {min-height: 200px;}
.rose_form button {min-width: 100px;}