body {
background-color: #ffffff;
}
/* Images for top-background */
div.bg
{
top:-50px;
position:absolute;
background: url('../img/bg.png') repeat-x;
width:100%;
height:191px;
z-index:-1;
}

/* Logotype */
a.logo
{
display:block;
position:relative;
background: url('../img/logo.png');
width:210px;
height:58px;
}

/* style for logotype block */
div.logo-block
{
width:720px;
height:100px;
margin:30px auto 0px auto;
}

#image_nav
{
display:inline-block;
margin:10px 80px 0px 80px;
}

div.contacts
{
padding:10px 0 40px 0;
font-size:12pt;
font-style:constantia, georgia, serif;
line-height:18pt;
}


/* style for footer block*/
div.footer_bg
{
background:url('../img/footerbg.png');
font-size:9pt;
top:40px;
width:720px;
clear:both;
position:relative;
height:40px;
margin:-50px auto 0 auto;
color:#404040;
}

#footer
{
margin-top:40px;
margin-bottom:15px;
}

/* style for footer navigation block*/
ul.f_nav 
{
padding:12px 0px 0px 20px;
float:left;
text-align:left;
position:relative;
list-style-type:none;
text-decoration:none;
color:#5A5A5A;
}


li.f_nav
{
display:inline;
}

/* style for footer copyright block*/
p.c_nav
{
padding:13px 20px 0px 0px;
text-align:right;
color:#5A5A5A;
}

a.color
{
text-decoration:underline;
color:#5A5A5A;
}

a.color:hover
{
color:#9B9B9B;
}


/* ----------------------------------------------------------------- */
/* style for index page */
div.bnr
{	
position:absolute;
display:none;
}

div.current 
{ 
display:block;
}

div.random
{
width:210px;
height:58px;
margin: 30% auto;
}

/* ----------------------------------------------------------------- */
/* style for error_404 page */

#main_error
{
padding-bottom:30px;
margin-bottom:50px;
border-bottom:solid 1px grey;
}

span#error_error
{
font-size:40pt;
}

p.txt_error
{
text-align:left;
font-family: Calibri, Verdana, "sans-serif";
font-size:16pt;
}

p.logo_error
{
margin:30px 0;
width:100%;
padding-bottom:30px;
border-bottom:solid 1px grey;
}

 /* ----------------------------------------------------------------------- */
 /* hack for IE */ 

div  #center_block { *overflow:hidden; } /* hidden horizontale overflow */

div #image_nav { *display:inline; } /* prev and next navigation no inline */

div #header { *height:100px;} /* don't move main nabigation */

div #footer { _padding-bottom:20px; } /* hack for IE6 */

