@import url("icons.css");

* {
color: #444;
font-family: Verdana, Arial, Helvetica, sans-serif;
}

html, body {
height: 100%;
background: url("MenuBg.gif") repeat-y #F5F8FB;
margin: 0;
padding: 0;
font-size: small;
}

#container {
height: 100%;
margin-bottom: -95px;
min-height: 100%;
}

html>body #container {
height: auto;
}


/* ================================ */
    /* IDs */


#TopTitle {
margin: 0;
padding: 5px 20px 5px 165px;
min-height: 20px;
background: #E8EFF7;
border-bottom: 1px solid #ccc;
}

#TopTitle, #TopTitle * {
color: #3f5dA5 !important;
font-size: large !important;
font-family: Arial, Helvetica, sans-serif !important;
}

#TopTitle * {
display: inline !important;
}

#Search {
margin: 0;
padding: 5px;
position: absolute;
right: 0;
}

#Search * {
font-size: x-small;
}

#Menu {
float: left;
position: absolute;
left: 0;
top: 40px;
width: 149px;
margin: 0;
padding: 0;
background: #E8EFF7 none repeat scroll 0 0;
border-right: 1px solid #ccc;
}

#Menu ul {
list-style-type: none;
text-align: left;
margin: 0 0 25px 0;
padding: 0;
}

#Menu li {
position: relative;
right: -2px;
margin: 3px 0 3px 0;
padding: 0;
list-style: none;
border: 1px solid #E8EFF7;
}

#Menu li a {
display: block;
padding: 2px 0 2px 4px;
border-right: 2px solid #ccc;
}

#Menu li a:hover {
background-color: #D8DFE7;
border-right: 2px solid #bbb;
}

#Menu li span {
display: block;
padding: 2px 0 2px 4px;
background-color: #D8DFE7;
border-right: 2px solid #bbb;
}

#Menu-content {
padding: 10px;
}

#Content {
margin-left: 150px;
padding: 10px 15px 30px;
}

#Content p { margin-top: 10px; }
#Content a, #Content * a, #Subsidiary a, #Subsidiary * a { color: #1f3d95; }
#Content a:hover, #Content * a:hover { color: #444; }
#Subsidiary a:hover, #Subsidiary * a:hover { color: #111; }

#TitleBar {
font-size: 81%;
}

#Subsidiary {
float: right;
width: 200px;
position: relative;
right: 0;
top: 30px;
margin: 0 0 35px 5px;
padding: 0 0 20px;
border-top: 1px solid #ccc;
border-left: 1px double #ccc;
background-color: #F5F8FB;
}

#Subsidiary-content {
font-size: 81%;
padding: 10px;
}

#Clear {
clear: both;
height: 95px;
}

#Counter {
float: left;
width: 149px;
height: 60px;
}

#Counter-content {
padding: 14px 0 0;
margin: 0;
text-align: center;
}

#Modifications {
height: 60px;
text-align: right;
}

#Modifications-content {
margin: 0;
padding: 0 10px 0;
}

#Modifications-content {
font-size: 81%;
}

#Copyright {
height: 35px;
clear: both;
background-color: #F5F8FB;
}

#Copyright-content {
border-top: 3px double #ccc;
height: auto;
padding: 4px 20px 0;
text-align: left;
}

#Copyright-content {
font-size: 81%;
color: #666;
}


/* ================================ */
    /* classes */


.BigTitle, .BigTitle * {
margin: 20px 0 10px 0;
font-weight: normal;
font-size: large;
color: #1f3d95;
}

.SubTitle {
display: block;
margin-bottom: 10px;
font-size: large;
font-style: italic;
color: #1f3d95;
}

.newsindex {
font-size: 81%;
padding-right: 12px;
}

.epigraph {
font-size: smaller;
font-style: italic;
}

.little {
font-size: 81%;
}

.p {
display: block;
margin-bottom: 5px;
}

.468x60Advert {
width: 468px;
height: 60px;
margin: 10px 0;
}

.TextAdvert {
padding: 20px 0 0;
}

.TextAdvert, .TextAdvert * {
font-size: x-small;
color: #777;
text-decoration: none !important;
}

.SubmitButton {
-moz-border-radius: 3px;
-webkit-border-radius: 3px;
border-radius: 3px;
}

.left {
text-align: left;
}

.center {
text-align: center;
}

.right {
text-align: right;
}

.uppercase {
text-transform: uppercase;
}

.hidden {
display: none;
}

.highlight {
background-color: #cecece;
}

.error, .error noindex {
color: #C00000;
}

textarea.error, input.error {
background-color: #ffeeee;
}

.red {
color: #FF0000;
}

.comment {
background-color: #E8EFF7;
font-size: smaller;
width: 70%;
padding: 10px;
margin: 20px;
}

.InpageTable {
width: 80%;
}

.warning {
font-weight: bold;
}


/* ================================ */
    /* tags */


a {
text-decoration: underline !important;
}

a:hover {
text-decoration: none !important;
}

h1 {
margin: 11px 10px 10px 0;
font-weight: normal;
font-size: large;
color: #1f3d95;
/*color: #852b07;*/
}

h2 { 
margin: 0 0 5px;
padding: 5px 0 0;
font-weight: normal;
font-size: 140%;
border-bottom: 1px solid #ccc;
}

h3, h4, h5, h6 {
margin-bottom: 5px;
font-size: 100%;	
}

ul { list-style-type: square; }
ul ul { list-style-type: disc; }
li { margin-bottom: 5px; }
legend { font-style: italic; }
sub, sup { font-size: smaller; }
pre { text-decoration: none; font-family: monospace; }
acronym { cursor: help; color: #000044; border-bottom: 1px dotted; border-bottom-color: #000044; }
input, select, textarea { background: #F5F8FB; border: #ccc 1px solid; font-size: 81%; }
table { border-collapse: collapse; empty-cells: show; }
td { margin: 0; padding: 2px; }
th { font-weight: bold; }
img { border: none; }
img.button { width: 88px; height: 31px; }
hr { height: 1px; margin: 0; }
div#LongText p { text-indent: 30px; }
div#LongText p.epigraph { text-indent: 0; }


/* ================================ */
    /* hacks */


#vkshare0 a {
text-decoration: none !important;
}

#vkshare0 td {
padding: 0 !important;
}

body>div:first-child:not(#container) {
margin: 0 !important;
padding: 0 !important;
display: none !important;
}

div#Copyright + div {
margin: 0 !important;
padding: 0 !important;
display: none !important;
}
