@media screen {
body,
.phone code
{
font-family: Arial, sans-serif; font-size: 0.8em;
}
html body textarea
{
font-size: 1.2em;
}
}
.phone code
{
font-size: 1em;
}

/*** layout ***/
body
{
background: #333db9;
}
#layout
{
width: expression( document.body.clientWidth < 990 ? '990px' : '100%' );
min-width: 990px;
max-width: 100%;
background: url( '/i/bg-bottom.jpg' ) 0 100% repeat-x;
}

#icons
{
position: absolute;
right: 0; top: 55px;
background: #ac2f35;
}
#icons a,
#icons b
{
float: left;
margin: 0; padding: 1px 3px;
}

#altnavigation
{
position: absolute;
left: 40em; top: 55px;
width: 30em;
color: #ffffff;
}
#altnavigation b
{
font-weight: normal;
color: #363d43;
}

#navigation
{
min-height: 150px; //height: 380px;
padding: 150px 0 80px 40px;
background: url('/i/bg.jpg') 0 100% repeat-x;
font-size: 0.89em;
}

#navigation ul.navigation
{
width: 15em;
margin: 0 2em 0 0; padding: 20px 0 5px 0;
background: url('/i/menu-bg.gif') 0 0 no-repeat;
}
#navigation ul.navigation li
{
padding: 0; margin: 0 0 4px 0;
font-size: 0.1em; line-height: 10px;
}
#navigation ul.navigation li li
{
font-size: 10em; line-height: 120%;
}
#navigation ul.navigation li li li
{
font-size: 1em;
}
html.Opera #layout #navigation ul.navigation li
{
font-size: 1em;
}
#navigation ul.navigation ul
{
width: auto;
padding: 0; margin: 0.25em 0 0.25em 21px;
background: none;
}
#navigation img
{
display: block;
position: absolute; z-index: 1;
left: 0; top: 0;
}
#navigation img.on,
#navigation a:hover img,
#navigation li.selected img
{
z-index: -1;
}
#navigation li.selected img.on,
#navigation a:hover img.on
{
z-index: 1;
}
#navigation li a,
#navigation li b
{
display: block;
position: relative;
width: 100%; height: 15px;
margin: 0;
font-weight: normal;
}
#navigation li li a,
#navigation li li b
{
height: auto;
}
#navigation li li a
{
display: inline;
}
#navigation a:hover,
#navigation li.selected a,
#navigation b
{
background: #9ba2e6 url('/i/menu-item-bg-on.gif') 100% 0 no-repeat;
}
#navigation li.selected a,
#navigation ul li li.selected b
{
color: #820208;
}
#navigation li.selected li a,
#navigation li.selected li b
{
background: none;
color: #ffffff;
}
#navigation li li a:hover
{
background: none; color: #820208;
}
#navigation img.title
{
position: absolute;
left: 45px; top: 151px;
}

#content
{
margin: -205px 0 0 20em;
//width: 100%;
background: #6b91ff url('/i/bg-content-a.jpg') 0 0 no-repeat;
}
#content div.reducer
{
min-height: 150px; //height: 250px; //width: 99%;
padding: 2em 1px 6em 4em;
background: url('/i/bg-content-a.gif') 0 100% no-repeat;
}

#logo
{
position: absolute; z-index: 4;
left: 40px; top: 30px;
}
#logo img
{
background: url('/i/logo.png') 0 0 no-repeat;
}
#home_page #logo img
{
background: url('/i/logo.png') 0 0 no-repeat;
}

* html #logo img
{
background-image: none;
}

#footer
{
font-size: 0.89em;
padding: 0 0 1em 0;
margin: 0 0 0 23em;
position: relative;
}

#copyright
{
padding: 2em 20px 1em 2em;
}

#made_in
{
position: absolute;
top: 0;
right: 1em; padding: 2em 0 1em 0;
}

#made_in a
{
color: #B9C8DE;
}

#made_in a:hover
{
color: #b14059;
}

#counter img
{
position: absolute; z-index: -1;
left: -1px; bottom: 0;
width: 1px; height: 1px;
}

#home_page #copyright
{
position: absolute;
z-index: 1000;
width: 100%;
text-align: center;
padding: 0;
color: #7C7C7C;
}

#home_page #copyright a
{
color: #B23B57
}

#made_in img
{
position: absolute;
left: -100px; top: 2em;
}
#made_in p
{
margin: 0;
}

/* common */

#content .article h1,
#content h2,
#content h3,
#content h4,
#content h5,
#content h6,
#content p,
#content div.article,
#content div.lead,
#content div.body,
#content ul,
#content ol,
#content dl
{
margin-right: 25%;
}
#content * * h1,
#content * * h2,
#content * * h3,
#content * * h4,
#content * * h5,
#content * * h6,
#content * * p,
#content * * ul,
#content * * ol,
#content * * dl
{
margin-right: 0;
}

h1
{
font-size: 2.5em; font-weight: normal;
color: #ffffff;
}

h2,
#content .article h1
{ font-size: 1.2em; font-weight: bold; }
h3,
#content .article h2
{ font-size: 1.2em; font-weight: normal; }
h4,
#content .article h3
{ font-size: 1.1em; font-weight: bold; }
h5,
#content .article h4
{ font-size: 1em; font-weight: bold; }

h2, h3, h4, h5,
#content .article h1,
table.data th
{
color: #820208;
}

#content table.navigation td
{
padding: 2em 0 2.5em 2em;
}
#content table.navigation td:first-child,
#content table.navigation td.first-child
{
padding-left: 0;
}
#content table.navigation a,
#content table.navigation b
{
padding: 0.1em 0.25em;
}
#content table.navigation b,
#content table.navigation td.selected a
{
font-weight: normal;
background: #707982;
}
#content table.navigation ul.navigation
{
margin: 0.5em 0;
}
#content table.navigation td.selected li a,
#content table.navigation li b
{
background: none;
}

.date,
.author
{
font-size: 0.89em;
}
#content .article h1
{
float: none;
position: static;
margin: 0; padding: 0;
background: none;
}
.articles-list dt
{
margin: 0 0 1.5em 0;
}
.articles-list dd
{
margin: -1.25em 0 1.5em 0;
}
.lead, .footer
{ font-style: italic; }


.file,
.file a
{
position: relative;
min-height: 24px; //height: 24px;
padding: 0 0 0 26px;
}
.file
{
margin: 5px 0 5px 0;
}
.file a
{
float: left;
z-index: 2;
margin: 0 0.25em 0 -26px; //margin-right: 0;
}
.file i
{
position: absolute; z-index: 1;
left: 0; top: 0;
width: 24px ! important; height: 24px;
background: url('/i/i-files.gif') 0 0 no-repeat;
}
.file.exe i, .file.EXE i { background-position:   -24px  0px; }
.file.jpg i, .file.JPG i { background-position:   0    -24px; }
.file.gif i, .file.GIF i { background-position: -24px  -24px; }
.file.png i, .file.PNG i { background-position: -48px  -24px; }
.file.tif i, .file.TIF i { background-position: -72px  -24px; }
.file.ai  i, .file.AI  i { background-position:   0    -48px; }
.file.eps i, .file.EPS i { background-position: -24px  -48px; }
.file.doc i, .file.DOC i { background-position:   0    -72px; }
.file.xls i, .file.XLS i { background-position: -24px  -72px; }
.file.zip i, .file.ZIP i { background-position:   0    -96px; }
.file.hqx i, .file.HQX i { background-position: -24px  -96px; }
.file.ppt i, .file.PPT i { background-position:   0   -120px; }
.file.pdf i, .file.PDF i { background-position: -24px -120px; }

.empty
{
color: #999999;
}

.fake_anchor
{
border-bottom: 1px dashed;
text-decoration: none;
cursor: pointer; cursor: hand;
}

#auth_info
{
float: left;
background: #8da2b5 url('/i/bg-auth-t.gif') right top no-repeat;
width: 17em;
}
#auth_info div
{
//float: left;
padding: 1em 2em 1em 39px;
background: url('/i/bg-auth-b.gif') right bottom no-repeat;
}
#auth_info input.text
{
display: block;
width: 100%;
margin: 0 0 0.5em 0;
}
#auth_info p
{
font-size: 0.89em;
margin-bottom: 0;
}

table.data,
table.data th,
table.data td
{ border: 0 hidden; vertical-align: top; text-align: left; padding: 0.25em 0 0 2em; }
table.data th.first-column,
table.data td.first-column
{ padding-left: 0; }


/* themes */
#layout.type-c
{
background: #e6e8ea url('/i/bg-c.jpg') 0 0 repeat-x;
}

.type-c #header
{
margin-left: 21em;
position: relative;
}

.type-a h1
{
position: absolute;
left: 0.75em; bottom: 100%;
margin: 0; padding: 0 0 0 0.75em;
background: url('/i/bg-header-left-a.gif') 0 100% no-repeat;
}
.type-c h1
{
color: #576570;
}
.Opera .type-a h1 { position: static; margin: -2.4em 0 1em -0.75em; float: left; }
.Opera .type-a h1 + * { clear: left; }
.type-a h1 span
{
display: block;
padding: 0.2em 0.75em 0.2em 0; margin: 0;
background: url('/i/bg-header-right-a.gif') 100% 0 no-repeat;
}

.type-b #navigation
{
padding-top: 100px; padding-left: 0;
}
.type-c #navigation
{
background: none;
}
.type-b #navigation .reducer
{
position: relative;
height: 290px; //height: 370px;
margin-bottom: -131px; padding: 80px 0 0 160px;
background: url( '/i/tv.gif' ) 0 100% no-repeat;
}
.type-b #navigation img.title
{
left: 161px; top: 81px;
}
.type-b #navigation ul.navigation
{
width: 134px;
}
.type-b #content,
.type-b #footer
{
margin-left: 400px;
background: none;
}
.type-c #footer
{
padding-left: 2.4em;
}
.type-b #content
{
margin-top: -280px;
background: url('/i/bg-content-b.jpg') 0 215px repeat-x;
}
.type-b #content .reducer
{
float: none;
margin: 0; padding-left: 70px;
background: url('/i/bg-content-b-left.jpg') 0 215px no-repeat;
}
.type-c #content,
.type-c #content .reducer
{
background: none;
}
.type-b #copyright
{
padding-left: 70px;
}

.type-b #content #preview_list
{
position: absolute;
left: -320px; top: 350px;
}
.type-b #content #preview_list a
{
margin: 0 25px 0 0;
}

/* home page ====================================*/



#popup
{
padding: 139px 39px 39px 39px;
background: #ffffff;
}

#popup h1
{
position: static;
color: #000000;
}

#search #content form
{
margin: 0 0 3em 0;
}
#search dl,
#search dt,
#search dd
{
margin: 0; padding: 0;
}
#search #row_text
{
float: left;
width: 65%;
margin-right: 1em;
}
#search #row_text input
{
width: 100%;
}
#search #content td.layout
{
padding-right: 5em;
}
#search #content ul.navigation
{
margin-top: 0; margin-bottom: 0; margin-left: 0;
}
#search #content ul.navigation li
{
margin: 0 0 2em 0;
}
#search #content ul.navigation li li
{
margin: 0;
}
#search #content ul.navigation ul
{
margin: 0 0 0 2em;
}
#search #content ul.navigation a
{
font-weight: bold;
}
#search #content ul.navigation ul a,
#search #content ul#result_list a
{
font-weight: normal;
}
#search #content ul#result_list a
{
font-size: 1.2em;
}

/* colors */

a:link,
.navigation a:link,
.navigation a:visited,
.type-b #content .navigation a:link,
.type-b #content .navigation a:visited,
.navigation b,
.fake_anchor
{ color: #ffffff; }
#content a:link,
#content a:visited
{ color: #333333; }
a:visited
{ color: #666666; }
#copyright a:link,
#copyright a:visited
{ color: #b9c8de; }
.type-c #copyright a:link,
.type-c #copyright a:visited
{ color: #486288; }
a:hover,
.navigation a:hover,
a:hover.fake_anchor,
b:hover.fake_anchor,
p:hover.fake_anchor,
div:hover.fake_anchor,
li:hover.fake_anchor,
#content a:hover,
.type-b #content .navigation a:hover,
#copyright a:hover,
#content table.navigation li b
{ color: #ac2f35; }

