body 
{
margin: 0px;
padding: 0px;
background: #FFFFFF;
height: 100%;
min-height:100%;
}

#all
{
width: 1000px;
height: 100%;
margin: 0px auto;
border: 3px solid #9A0117;
}

#rast
{
color: white;
background: #9A0117;
height: 25px;
width: 100%;
}

#header
{
background: url("http://iwantreferat.ru/template/images/header.png") no-repeat;
height: 150px;
width: 500px;
margin: 0px;
padding: 0px;
}

#ban1
{
margin: 0px;
padding: 0px;
}

#dott
{
height: 3px;
background: transparent url("http://iwantreferat.ru/template/images/dott.gif") left top repeat-x;
border: none;
}

#content
{
background: #FFFFFF;
margin: 0px;
padding: 0px;
}

#button 
{
font-size: 14px;
width: 90%;
font-family: Verdana,Lucida,Geneva,Helvetica,Arial,Sans-serif;
color: #333333;
margin: 0px;
padding: 0px;
}

#button ul 
{
list-style: none;
list-style-position: inside;
margin: 0px;
padding: 0px;
border: none;
}

#button li 
{
margin: 0 0 2px 0;
color: #FFFFFF;
}

#button li.back a 
{
display: block;
border-left: 10px solid #9A0117;
border-right: 10px solid #7E827E;
background-color: #E4E4E4;
color: #000000;
text-decoration: none;
width: 100%;
font-weight: 700;
border-top: 2px solid #9A0117;
border-bottom: 2px solid #9A0117;
}

#button li.back a:hover 
{
border-left: 10px solid #9A0117;
border-right: 10px solid #7E827E;
background-color: #C6C6C6;
color: #9A0117;
width: 100%;
}

#button li.now a 
{
display: block;
border-left: 10px solid #9A0117;
border-right: 10px solid red;
background-color: #E4E4E4;
color: #000000;
text-decoration: none;
width: 100%;
font-weight: 700;
border-top: 2px solid red;
border-bottom: 2px solid red;
}

#button li.now a:hover 
{
border-left: 10px solid #9A0117;
border-right: 10px solid #7E827E;
background-color: #C6C6C6;
color: #9A0117;
width: 100%;
}

.title
{
background-color: #9A0117;
color: #FFFFFF;
margin: 0px;
padding: 0px;
font-weight: 300;
font-family: Verdana,Lucida,Geneva,Helvetica,Arial,Sans-serif;
font-size: 20px;
}

.subtitle
{
background-color: #E3E3E3;
color: #9A0117;
margin: 0px;
padding: 0px;
font-weight: 300;
font-size: 14px;
font-family: Verdana,Lucida,Geneva,Helvetica,Arial,Sans-serif;
}

.content
{
border: 2px solid #E3E3E3;
}

.pager
{
width: 300px;
margin: 0px;
padding: 0px;
border-left: 20px solid #9A0117;
background-color: #F1F1F1;
}

.pager a
{
font-weight: 500;
text-decoration: none;
}

.pages
{
font-weight: 600;
color: #9A0117;
}

.nowpage
{
font-weight:700;
font-size:1.5em;
color: #000000;
}

.download
{
border: 2px solid #AEAEAE;
width: 40%;
background-color: #F4F4F4;
}

a.listing 
{
display: block;
margin: 3px;
padding: 3px;
text-decoration: none;
font-family: Verdana,Lucida,Geneva,Helvetica,Arial,Sans-serif;
}

a.listing:hover 
{
margin: 3px;
padding: 3px;
text-decoration: underline;
font-family: Verdana,Lucida,Geneva,Helvetica,Arial,Sans-serif;
}

.referats a
{
text-decoration:none;
color: #818181;
font-family: Arial,Verdana,Lucida;
}

.referats a:hover
{
text-decoration:underline;
color: #9A0117;
font-family: Arial,Verdana,Lucida;
}

#footer
{
margin: 10px 0px 0px 0px;
padding: 5px;
height: 50px;
width: 100%;
background: #9A0117;
}
