/* demlabs.ru site CMS
 * (c) 2007-2008, Deus Ex Machine Laboratories
 * http://demlabs.ru
 */

body {
    background: url('/media/img/bg.gif') top repeat-x;
    background-color: #42474a; 
    font-family: Tahoma, Verdana, Arial, Helvetica, sans-serif;
    font-size: 13px;
    padding: 0px;
    margin: 0px;
}

a:link {
    color: #aa0000;
}

a:visited {
    color: #aa0000;
}

a:hover {
    color: #aa0000;
}

img {
    border: 0px none;
}

#top_table, #logo_cell, #top_info_cell, #language_bar_block {
    border: 0px none;
}

#top_table, #logo_cell, #top_info_cell, #top_table tr, #content_block {
    margin: 0px;
    padding: 0px;
}

#main_wrapper {
   margin: 0px auto 10px auto;
   overflow: visible;
   width: 980px;
}

#top_table {
    background: #000000 url('/media/img/logobg2.jpg') top repeat-x;
    width: 100%;
    height: 127px;
    border-collapse: collapse;
}

#logo_cell {
    width: 491px;
    height: 127px;
    vertical-align: top;
    text-align: left;
}

#top_info_cell {
    height: 127px;
    width: auto;
    color: #ffffff;
    text-align: right;
    vertical-align: top;
}

img.language_flag_image {
    width: 21px;
    height: 16px;
    vertical-align: middle;
}

#language_bar_block {
    font-family: "Courier New", courier, typewriter, monospace;
    padding: 0px;
    text-align: right;
    font-size: small;
    margin: 0px 2px 2px 0px;
}

#cite_block {
    font-family: "Courier New", courier, typewriter, monospace;
    font-size: small;
    height: 100px;
    text-align: right;
    color: #bcbcbc;
    margin: 0px 0px 0px 0px;
    padding: 6px 6px 0px 0px;
}

span.cite_author {
    font-style: italic;
}

#login_info {
    color: #000000;
    font-size: small;
    text-align: left;
    vertical-align: bottom;
    margin: 6px 6px 10px 0px;
    padding: 5px 5px 5px 10px;
    background: #e0e0e0;
    border: 1px solid #000000;
}

#shortcut_bar {
    color: #ffffff;
    font-family: "Courier New", courier, typewriter, monospace;
    font-size: small;
    font-weight: normal;
    margin: 2px 12px 0px 0px;
    padding: 0px;
    text-align: right;
}

#contacts {
    color: #000000;
    font-size: small;
    text-align: left;
    vertical-align: bottom;
    margin: 0px 6px 15px 0px;
    padding: 5px 5px 5px 10px;
    background: #e0e0e0;
    border: 1px solid #000000;
}

#messages_bar {
    border: none;
    border-bottom: 1px solid #000000;
    background: #c0c0c0;
    color: #000000;
    font-size: small;
    text-align: left;
    margin: 0px;
    padding: 3px;
    min-height: 20px;
}

* html #messages_bar {
    height: 20px;
}

ul.compact {
    padding: 0px;
    margin: 0px 0px 0px 24px;
}

ul.compact li {
    display: list-item;
    list-style: square outside url('/media/img/msg.png');
    padding: 0px 0px 2px 0px;
    margin: 0px 0px 0px 0px;
}

#messages_closebar {
    float: right;
    width: 16px;
    vertical-align: middle;
}

#content_block {
    display: inline-block;
    width: 100%;
    font-size: 100%;
    color: #000000;
    overflow: hidden;
    background: #ffffff;
}

#content_block:after {
    content: "."; 
    display: block; 
    height: 0; 
    clear: both; 
    visibility: hidden;
}

/* Hides from IE-mac \*/
* html #content_block { height: 1%; }
#content_block { display: block; }
/* End hide from IE-mac */

#page_content {
    float: left;
    width: 65%;
    background: #ffffff;
    min-height: 300px;
}

div.inner_content {
    padding: 8px 20px 20px 30px;
    text-align: justify;
}

#page_content div p {
    text-indent: 3ex;
}

#page_content div * li p {
    text-indent: 0ex;
}

#page_content div h1 {
    font-size: 32px;
    font-weight: bold;
}

#page_content div h2 {
    font-size: 24px;
    font-weight: bold;
}

#page_content div h3 {
    font-size: 19px;
    font-weight: bold;
}

#page_content div h4 {
    font-size: 16px;
    font-weight: bold;
}

#page_content div h5 {
    font-size: 13px;
    font-weight: bold;
}

#page_content div h6 {
    font-size: 8px;
    font-weight: bold;
}

#page_content div pre {
    margin: 0px 0px 0px 3em;
    border: 1px solid #c0c0c0;
    padding: 8px 0px 8px 7px;
    background: #e0e0e0;
    font-size: smaller;
}

#page_content_info {
    margin-top: 2px;
    text-align: right;
    font-size: 10px;
    font-style: italic;
    padding: 1px;
    background: #e0e0e0;
}

#page_right {
    float: right;
    width: 35%;
    background: #ffffff;
    margin: 0px;
    padding: 0px;
}

#page_naviblock {
    font-size: 12px;
    margin: 0px 6px 15px 0px;
    padding: 5px 5px 5px 10px;
    background: #e0e0e0;
    border: 1px solid #000000;
    /*border-left: 1px solid #000000;
    border-bottom: 1px solid #000000;
    border-right: 1px solid #000000;*/
}

#annotation_block {
    border: none;
/*     border-top: 1px solid #000000;  */
    margin: 0px 0px 0px 0px;
    padding: 2px 0px 2px 0px;
    font-size: small;
}

#annotation_block p {
    margin: 0px 8px 8px 0px;
    padding: 0px;
    text-align: justify;
    text-indent: 2ex;
}

#navi_block {
    border: none;
    margin: 0px;
    padding: 2px 0px;
    font-size: small;
}

#navi_block ul {
    margin: 0px 0px 0px 0px;
    padding-top: 0px;
    padding-left: 15px;
}

#page_categories div {
    margin: 0px;
    padding: 4px 2px 2px 4px;
}

.subnode_info {
    font-size: x-small;
    display: block;
    text-align: right;
}

div.subnode {
    padding: 0px;
    margin: 0px 0px 10px 15px;
}

div.subarticles {
    margin: 0px;
    padding: 0px 0px 0px 0px;
}

.subnode a {
    font-weight: normal;
}

.subnode a:link {
    color: #006ea5;
    text-decoration: underline;
}
.subnode a:visited {
    color: #003e85;
    text-decoration: none;
}
.subnode a:hover {
    color: #006ea5;
    text-decoration: underline;
}

div.subnode_title_block {
    margin: 0px 0px 6px 0px;
}

a.subnode_title {
    font-weight: bold;
    font-size: larger;
    text-align: left;
}
a.subnode_title:link {
    color: #006ea5;
    text-decoration: none;
}
a.subnode_title:hover {
    color: #006ea5;
    text-decoration: underline;
}
a.subnode_title:visited {
    color: #003e85;
}

#page_content div.subnode p {
    text-indent: 0em;
    margin: 0px 0px 0px 0px;
}

#navi_block ul li a {
    color: #000000;
    text-decoration: underline;
}
#navi_block ul li a:visited {
    color: #707070;
}

span.title {
    font-weight: bold;
    font-size: larger;
}

.subnode p {
    margin: 0px 0px 3px 10px;
}

#page_content div.inner_content h1.page_title {
    margin: 0px;
    padding: 5px 0px 5px 0px;
    font-size: large;
    color: #000000;
    text-align: left;
}

#footer {
    margin: 0px;
    padding: 5px 5px 5px 0px;
    text-align: right;
    color: #bcbcbc;
/*     font-family: "Courier New", courier, typewriter, monospace; */
    font-size: x-small;
}

input[type="text"].logininput, input[type="password"].logininput {
    font-family: "Courier New", courier, typewriter, monospace;
    height: 15px;
    width: 100px;
    font-size: small;
    border: 1px solid #424242;
    border-right: none;
    /*border: none;
    border-bottom: 1px solid #424242;
    border-top: 1px solid #424242;*/
    background: none;
    color: #000000;
}

.btn {
    font-family: "Courier New", courier, typewriter, monospace;
    vertical-align: bottom;
    height: 19px;
    width: 15px;
    font-size: small;
    border: 1px solid #000000;
    background: #bcbcbc;
    color: #000000;
    padding: 1px 1px 1px 1px;
    margin: 0px;
}

.column {
    display: block;
    padding-bottom: 32767px;
    margin-bottom: -32767px;
}

img.left_aligned {
    float: left;
    margin-right: 30px;
    margin-bottom: 4px;
}

div.profile_header {
    margin: 0px;
}

div.user_name {
    font-weight: bold;
    font-size: large;
}

#page_content div.user_about p {
    margin-top: 0px;
}

div.user_login {
    font-family: Courier New, Courier, Monospace;
    color: #424242;
}

p.button_box {
    text-align: right;
}

input.highlighted_button {
    font-weight: bold;
}

textarea, input[type="text"] {
    width: 90%;
}

/* Anchors ********************************/
a.image:link, a.image:active, a.image:hover, a.image:visited {
    color: #ffffff;
    text-decoration: none;
    border: none;
}

a.control:link, a.control:visited {
    text-decoration: underline;
    font-weight: normal;
    color: #000000;
}
a.control:active, a.control:hover {
    text-decoration: underline;
    font-weight: normal;
    color: #606060;
}

a.shortcut_bar:link, a.shortcut_bar:visited {
    text-decoration: none;
    color: #bcbcbc;
}
a.shortcut_bar:hover, a.shortcut_bar:active {
    color: #ffffff;
}
a.shortcut_bar:hover {
    text-decoration: underline;
}

a.misc {
    color: #bcbcbc;
}
a.misc:link, a.misc:visited {
    text-decoration: none;
}
a.misc:hover {
    text-decoration: underline;
}
a.misc:active {
    text-decoration: none;
    color: #ffffff;
}

a.info {
    color: #006ea5;
    font-weight: bold;
    font-size: x-small;
    text-decoration: none;
}
a.info:link, a.info:visited {
    text-decoration: none;
    color: #006ea5;
}
a.info:active, a.info:hover {
    text-decoration: underline;
    color: #006ea5;
}

a.small_control:link, a.small_control:visited {
    font-size: small;
    color: #bcbcbc;
    text-decoration: none;
    float: right;
}

a.small_control:active, a.small_control:hover {
    font-size: small;
    color: #006ea5;
    text-decoration: none;
    float: right;
}

