@import url('infobar.css');
@import url('news.css');
@import url('gallery.css');
@import url('guestbook.css');
@import url('stuff.css');


/* -- Common -- */

html, body {
    height: 100%;
}

body {
    margin: 0;
    padding: 0;
    background-color: #E8E7E5;
}

body, td {
    font-family: 'Arial';
    font-size: 12px;
    color: #202020;
    vertical-align: top;
}


/* -- Layout -- */

#layout_table {
    width: 100%;
    height: 100%;
}

.page_middle {
    width: 970px;
}

#header_row {
    height: 150px;
    background-color: #31496B;
}

#header_row .page_left, #header_row .page_middle, #header_row .page_right {
    background: #31496B url('/gfx/header_shadow_bottom.png') repeat-x left bottom;
}

#header {
    height: 150px;
    background-color: #31496B;
}

#header h1 {
    width: 350px;
    height: 100px;
    margin: 10px 0;
    float: left;
    background: transparent url('/gfx/logo_round.png') no-repeat left top;
    text-indent: -10000px;
}

#knowledge {
    height: 50px;
    padding-top: 40px;
    margin-left: 500px;
    text-indent: -126px;
    font-size: 0.8em;
    color: #C0C0C0;
}

#infobar_top {
    width: 210px;
    height: 60px;
    float: right;
    background: transparent url('/gfx/sidebar_top.png') no-repeat right bottom;
}

#nav {
    height: 30px;
    margin-top: 30px;
}

#nav a {
    display: inline-block;
    height: 16px;
    margin: 0 1px;
    padding: 7px 10px;
    background-color: #446288;
    font-size: 0.9em;
    color: #C0D2DC;
    text-decoration: none;
    font-weight: bold;
}

#nav a:hover, #nav a.active {
    background: #E8E7E5 url('/gfx/nav_tab.gif') repeat-x left bottom;
    color: #31496B;
}

#content_row {
    background-color: #E8E7E5;
}

#content {
    width: 750px;
    padding: 20px 10px 20px 0;
}

#infobar {
    width: 168px;
    padding: 10px 20px;
    background: transparent url('/gfx/sidebar_middle.png') repeat-y right top;
}

#footer_row {
    height: 50px;
    background-color: #2F2B2A;
}

#footer {
    width: 760px;
    padding-top: 10px;
    font-size: 0.9em;
    color: #C0C0C0;
    text-align: right;
}

#infobar_bottom {
    width: 210px;
    background: transparent url('/gfx/sidebar_bottom.png') no-repeat right top;
}


/* -- Elements -- */

#content > *:first-child {
    margin-top: 0;
}

#content > *:last-child {
    margin-bottom: 0;
}