/* Layout ******************/
html, body, ul, li, ol
{
    padding: 0;
    margin: 0;
}

#top
{
    height: 124px;
    border-bottom: 1px solid #5f5540;
}

#header img
{
    display: block;
    float: left;
}

#label
{
    padding: 17px 20px 20px 20px;
}

#logo
{
    padding: 10px 55px 11px 54px;
}

#container, #footer
{
    margin-left: auto;
    margin-right: auto;
    width: 1001px;
}

#container
{
    overflow: hidden;
    margin-top: -124px;
    position: relative;
}

#menu
{
    float: left;
    width: 195px;
    padding-left: 15px;
    padding-right: 10px;
}

#menu div.hr
{
    width: 150px;
    height: 9px;
    margin-top: 15px;
    margin-bottom: 10px;
}

#sidebar
{
    float: left;
    width: 206px;
    padding-left: 5px;
}

#content
{
    float: left;
    width: 520px;
    padding-left: 25px;
    padding-right: 25px;
    overflow: hidden;
}

#menu
{
    padding-bottom:32767px;
    margin-bottom:-32637px;
}

#sidebar
{
    padding-bottom:32767px;
    margin-bottom:-32767px;
}

#content
{
    padding-top: 15px;
    padding-bottom:32767px;
    margin-bottom:-32752px;
}

#footer img.burunduk
{
    float: left;
    position: relative;
    margin-top: -60px;
    margin-left: 40px;
    z-index: 10;
}

#footer h1
{
    margin-left: 215px;
}

#footer ul
{
    margin-left: 261px;
}

#bottom
{
    height: 116px;
    clear: left;
    width: 100%;
}

.button
{
    width: auto;
    overflow: visible;
    padding-left: 5px;
    padding-right: 5px;
}

#header-buttons
{
    padding-bottom: 10px;
}

#header-buttons a
{
    float: left;
    width: 33%;
    padding-bottom: 10px;
}

/* Fonts *******************/
body
{
    font: normal 14px 'Times New Roman', serif;
}

#menu div.hr
{
    font-size: 0px;
}

#menu h1, #sidebar h1, #footer h1
{
    font: bold 12px 'Times New Roman', serif;
    text-transform: uppercase;
}

#sidebar a
{
    font: bold 12px 'Times New Roman', serif;
    text-transform: uppercase;
    text-decoration: none;
}

.field
{
    border: 1px solid black;
}

.button
{
    background: #ffd58a;
}

#footer a
{
    text-decoration: none;
}


#header-buttons a
{
    text-transform: uppercase;
    text-align: center;
}

/* Colors ******************/
html
{
    background: #e6e1c1 url('img/bg_dark.gif');
}

body
{
    background: #fffada url('img/bg.gif');
}

a, a:visited, a:hover, a:active
{
    color: #5f5645;
}

#top, #bottom
{
    background: #e6e1c1 url('img/bg_dark.gif');
}

#label
{
    background-image: url('img/bg_label.jpg');
}

#logo
{
    background-image: url('img/bg_logo.jpg');
}

#menu
{
    background-image: url('img/bg_menu.jpg');
}

#menu div.hr
{
    background-image: url('img/hr.gif');
    background-repeat: no-repeat;
    background-color: transparent;
}

#sidebar
{
    background-image: url('img/bg_sidebar.jpg');
}

#menu h1, #sidebar h1, #footer
{
    color: #5f5645;
}

#sidebar h2
{
    font-size: 14px;
    font-weight: normal;
    text-transform: none;
}

#arch_izd_sib, #archiv_oblasti, #chrestomatia,
#histor_spravka, #karta, #kontakts, #my_i_mir,
#osn_deyat, #radio, #spisok_sokr, #spravku,
#upravlenieGAS, #zakonodat
{
    background-color: transparent;
}

#arch_izd_sib
{
    background-image: url('img/corner/arch_izd_sib.png');
}


#archiv_oblasti
{
    background-image: url('img/corner/archiv_oblasti.png');
}


#chrestomatia
{
    background-image: url('img/corner/chrestomatia.png');
}


#histor_spravka
{
    background-image: url('img/corner/histor_spravka.png');
}


#karta
{
    background-image: url('img/corner/karta.png');
}


#kontakts
{
    background-image: url('img/corner/kontakts.png');
}


#my_i_mir
{
    background-image: url('img/corner/my_i_mir.png');
}


#osn_deyat
{
    background-image: url('img/corner/osn_deyat.png');
}


#radio
{
    background-image: url('img/corner/radio.png');
}


#spisok_sokr
{
    background-image: url('img/corner/spisok_sokr.png');
}


#spravku
{
    background-image: url('img/corner/spravku.png');
}


#upravlenieGAS
{
    background-image: url('img/corner/upravlenieGAS.png');
}


#zakonodat
{
    background-image: url('img/corner/zakonodat.png');
}




/* Misc ********************/
img
{
    border: 0px;
}
#bottom
{
    border-top: 3px solid #5f5645;
}
.field, .button
{
    border: 1px solid black;
}

#footer ul
{
    list-style: none;
}