body {
    background: url(../images/f-head.png) top left repeat-x;
    font-family: Verdana, Geneva, sans-serif;
    margin: 0 auto;
    min-width: 1195px;
    padding: 0;
    text-align: center;
}

a {
    color: #17A;
}

a:hover {
    color: #03C;
}

blockquote {
    border-left: 2px solid #CCC;
    margin-left: 10em;
    padding-left: 1em;
}

code, pre {
    background: #EEE;
    font: 1.2em/1 "Courier New", Courier, monospace;
    padding: 1px 2px;
}

pre {
    background: #EEE;
    border: 1px dashed #AAA;
    font-size: .9em;
    line-height: 1.7em;
    margin: 0;
    padding: 5px;
}

sup,sub {
    position: relative;
    vertical-align: baseline;
}

sup {
    top: -0.4em;
}

sub {
    bottom: -0.3em;
}

hr {
    background-color: #CCC;
    border-width: 0px;
    color: #CCC;
    height: 1px;
}

p {
    margin: 0;
}

h2 {
    color: #049;
}

form a {
    font-size: 0.7em;
    margin-left: 31%;
}

#news h2 a {
    color: #FFF;
    font-size: 1.3em;
}

#head ul.toplevel a {
    font-size: 0.9em;
    text-decoration: none;
    text-transform: lowercase;
}

#head ul a:hover {
    color: #049;
    font-size: 0.8em;
    font-weight: bold;
    text-decoration: underline;
}

#body {
    background: url(../images/f-footer.png) left bottom repeat-x;
    left: 0;
    margin: 0 auto;
    position: relative;
    text-align: left;
    top: 0;
    width: 1195px;
}

#content {
    background: #FFF url(../images/content.png) top right no-repeat !important;
    float: right;
    font-size: 0.7em;
    letter-spacing: 0.05em;
    width: 920px;
}

#content-inside {
    background:#f6f6f6 url(../images/content-background.png) top left repeat-x !important;
    width: 711px;
    min-height: 660px;
    float: right;
    padding: 40px 80px 0px 80px;
    margin-right: 49px;
}


#mini {
    margin-top: 30px;
    overflow: hidden;
}

.line {
    float: left;
    overflow: hidden;
    width: 100%;
}

#mini p {
    float: left;
    margin: 0 0 20px;
    width: 200px;
}

#sidebar {
    background: #fff url(../images/s-fon.png) no-repeat right top;
    float: left;
    min-height: 589px;
    padding-top: 111px;
    position: relative;
    width: 275px;
}

#sidebar form {
    display: block;
    left: 0;
    position: absolute;
    top: 10px;
    width: 100%;
}

#sidebar input.button {
    background: url(../images/f-button.png) repeat-x left top;
    border: none;
    border-right: 1px solid #EEE;
    color: #788;
    cursor: pointer;
    float: right;
    height: 20px;
    margin: 32px 22px 5px 0;
    padding: 0 2px 3px;
    width: 20%;
}

#w-form {
    color: #788;
    float: left;
    width: 70%;
}

#w-form span {
    display: block;
    float: left;
    font-size: 0.8em;
    margin: 4px 0;
    padding: 2px 5px 1px 0;
    text-align: right;
    width: 39%;
}

#w-form input.text {
    border: none;
    float: right;
    height: 18px;
    margin: 4px 0;
    width: 55%;
}

#news h2 {
    color: #049;
    font-size: 0.7em;
    margin-top: 0;
}

#news {
    color: #FFF;
    font-size: 0.8em;
    padding: 0 40px;
}

#head {
    background: url(../images/top-head.png) top left no-repeat;
    height: 502px;
    left: 0;
    padding: 0;
    position: absolute;
    top: 0;
    width: 1195px;
}

#head p {
    color: #FFF;
    float: right;
    font-size: 0.8em;
    margin: 50px 55px 0 0;
    text-align: justify;
    width: 500px;
}

#head h1 {
    height: 55px;
    left: 290px;
    margin: 0;
    padding: 0;
    position: absolute;
    top: 184px;
    width: 500px;
}

#head img {
    border: none;
    position: absolute;
}

#footer {
    background: url(../images/footer.png) right bottom no-repeat;
    clear: both;
    font-size: 0.7em;
    height: 104px;
    width: 100%;
}

.copyright {
    float: right;
    margin: 76px 55px 0 0;
}

span.f-logo {
    float: left;
    font-weight: 600;
    margin: 76px 0 0 80px;
}

#content, #sidebar {
    margin-top: 502px;
}

#mini img {
    margin: 0 0 20px;
}

#mini p.center {
    margin: 0 45px 20px;
}

h2.news {
    font-size: 1em !important;
}

#news p {
    margin-bottom: 30px;
}

/* Drop down menus */
#head ul.toplevel {
    background: url(../images/top-m-fon.png) left bottom no-repeat;
    bottom: 0;
    display: block;
    height: 216px;
    left: 0;
    margin: 0;
    padding: 0;
    position: absolute;
    width: 100%;
}

#head li.toplevel {
    display: block;
    float: left;
    list-style: none;
    position: absolute;
    text-align: center;
}

li#m-01 {
    left: 305px;
    top: 175px;
}

li#m-02 {
    left: 439px;
    top: 180px;
}

li#m-03 {
    left: 555px;
    top: 185px;
}

li#m-04 {
    left: 715px;
    top: 180px;
}

li#m-05 {
    left: 875px;
    top: 155px;
}

li#m-06 {
    left: 1000px;
    top: 135px;
}

li#m-07 {
    left: 1085px;
    top: 80px;
}

#m-01 img {
    left: -38px;
    top: -155px;
}

#m-02 img {
    left: -19px;
    top: -134px;
}

#m-03 img {
    left: 5px;
    top: -115px;
}

#m-04 img {
    left: -28px;
    top: -123px;
}

#m-05 img {
    left: -61px;
    top: -92px;
}

#m-06 img {
    left: -65px;
    top: -97px;
}

#m-07 img {
    left: -61px;
    top: -75px;
}

#nav, #nav ul { /* all lists */
    padding: 0;
    margin: 0;
    list-style: none;
}

#nav li.toplevel li a {
    display: block;
    width: 10em;
}

#nav li.toplevel li {
    float: left;
    width: 10em; /* width needed or else Opera goes nuts */
    text-align: left;
    padding: 2px 8px;
    position: relative;
    left: -8px;
}

#nav li ul { /* second-level lists */
    position: absolute;
    background: url(../images/f-footer.png) bottom left repeat-x;
    width: 10em;
    left: -999em; /* using left instead of display to hide menus because display: none isn't read by screen readers */
}

#nav li:hover ul, #nav li.sfhover ul { /* lists nested under hovered list items */
    left: auto;
}
