/**************** Body and tag styles ****************/

* {
    padding: 0;
    margin: 0;
}

body {
    font: 76% Verdana,Tahoma,Arial,sans-serif;
    line-height: 1.4em;
    color: #303030;
    background-color: #BBBBBB;
    text-align: center;
}

a {
    color: #D62A1E;
    font-weight: bold;
    text-decoration: none;
    background-color: inherit;
}

a:hover {
    /*color: #EEAAAA;*/
    text-decoration: none;
    background-color: inherit;
}
a img {
    border: none;
}

p {
    padding: 0 0 1.6em 0;
}
p form {
    margin-top: 0;
    margin-bottom: 20px;
}

img {
    padding: 4px;
}
img.left,img.center,img.right {
    padding: 4px;border: 1px solid #a0a0a0;
}
img.left {
    float: left; margin: 0 12px 5px 0;
}
img.center {
    display: block;
    margin: 0 auto 5px auto;
}
img.right {
    float: right;
    margin: 0 0 5px 12px;
}
td {
    padding: 5px;
}

input {
    margin: 2px;
}

/**************** Header and navigation styles ****************/

#container {
    width: 760px;
    margin: 20px auto;
    padding: 1px 0;
    text-align: left;
    background: white;
    color: #303030;
    border: 4px solid #888888;
}

#header {
    height: 110px;
    width: 758px;
    margin: 0 1px 1px 1px;
    background-color: white;
    color: black;

    /*border: 1px solid green;*/
}

#header h1 {
    padding: 35px 0 0 20px;
    font-size: 2.4em;
    color: white;
    letter-spacing: -2px;
    font-weight: normal;
}

#header h2 {
    margin: 10px 0 0 40px;
    font-size: 1.4em;
    color: #f0f2f4;
    letter-spacing: -1px;
    font-weight: normal;
}

#navigation {
    height: 2.2em;
    line-height: 2.2em;
    width: 758px;
    margin: 0 1px;
    /*background: #578bb8;*/
    background-color: #333333;
    color: white;

    /*border: 1px solid #D62A1E;*/
}

#navigation li {
    float: left;
    list-style-type: none;
    border-right: 1px solid white;
    white-space: nowrap;
}

#navigation li a {
    display: block;
    padding: 0 10px;
    font-size: 1.1em;
    font-weight: normal;
    /*text-transform: uppercase;*/
    text-decoration: none;
    background-color: inherit;
    color: white;
}

#navigation .selected, #navigation a:hover {
    /*background: #80b0da;*/
    color: #D62A1E;
    text-decoration: none;
}

/**************** Content styles ****************/

#main {
    overflow: hidden;
}

#content {
    float: left;
    width: 530px;
    font-size: 0.9em;
    padding: 20px 0 32px 20px;

    /* hack to get equal-height columns */
    padding-bottom: 832px;
    margin-bottom: -800px;
}

#content h2 {
    display: block;
    margin: 0 0 16px 0;
    font-size: 1.5em;
    font-weight: bold;
    color: #D62A1E;
    background-color: inherit;
}

#content h2 a {
    font-weight: normal;
}
#content h3 {
    margin: 0 0 5px 0;
    font-size: 1.4em;
    letter-spacing: -1px;
}
#content a:hover, #subcontent a:hover {
    text-decoration: underline;
}
#content ul,#content ol {
    margin: 0 5px 16px 35px;
}
#content dl {
    margin: 0 5px 10px 25px;
}
#content dt {
    font-weight: bold;
    margin-bottom: 5px;
}
#content dd {
    margin: 0 0 10px 15px;
}

/**************** Sidebar styles ****************/

#subcontent {
    float: right;
    width: 160px;
    padding: 20px 20px 10px 10px;
    line-height: 1.4em;
    background-color: #EEEEEE;

    /* hack to get equal-height columns */
    padding-bottom: 810px;
    margin-bottom: -800px;
}

#subcontent h2 {
    display: block;
    margin: 0 0 15px 0;
    font-size: 1.6em;
    font-weight: normal;
    text-align: left;
    letter-spacing: -1px;
    color: black;
    background-color: inherit;
}

#subcontent p {
    margin: 0 0 16px 0;
    font-size: 0.9em;
}

/**************** Menublock styles ****************/

.menublock {
    margin: 0 0 20px 8px;
    font-size: 0.9em;
}
.menublock li {
    list-style: none;
    display: block;
    padding: 2px;
    margin-bottom: 2px;
}
.menublock li a {
    font-weight: bold;
    text-decoration: none;
}
.menublock li a:hover {
    text-decoration: none;
}
.menublock li ul {
    margin: 3px 0 3px 15px;
    font-size: 1em;
    font-weight: normal;
}
.menublock li ul li {
    margin-bottom: 0;
}
.menublock li ul a {
    font-weight: normal;
}

/**************** Searchbar styles ****************/

#searchbar {
    margin: 0;
}

#searchbar .content {
    margin-top: -10px;
    margin-bottom: 10px;
}

#searchbar form fieldset {
    margin-left: 2px;
    border: 0 solid;
}

#searchbar #s, .form-text, textarea {
    border: 1px solid #a0a0a0;
}

#searchbar #s {
    height: 1.2em;
    width: 110px;
    margin: 0 5px 0 0;
}

#searchbar #searchbutton, button, .form-submit {
    width: auto;
    padding: 0 1px;
    border: 1px solid #808080;
    font-size: 0.9em;
    text-align: center;
}
#searchbar #searchbutton {
}

/**************** Footer styles ****************/

#footer {
    left: -80px; /* half the width of the right column */
    top: -48px;
    position: relative;

    font-size: 0.9em;
    color: #888888;
}

#footer p {
    text-align: center;
}
#footer a {
    color: #f0f0f0;
    background-color: inherit;
    font-weight: bold;
}
#footer a:hover {
    color: white;
    background-color: inherit;
    text-decoration: underline;
}

/**************** Misc classes and styles ****************/

.splitcontentleft {
    float: left;
    width: 48%;
}
.splitcontentright {
    float: right;
    width: 48%;
}
.clear {
    clear: both;
}
.hide {
    display: none;
}
.textcenter {
    text-align: center;
}
.textright {
    text-align: right;
}
.important {
    color: #f02025;
    background-color: inherit;
    font-weight: bold;
}
#box, .box {
    margin: 0 0 20px 0;
    padding: 10px;
    border: 1px solid #c0c0c0;
    background-color: #fafbfc;
    color: #505050;
    line-height: 1.5em;
}
table.table_with_lines, table.table_with_lines td {
    border: 1px solid #c0c0c0;
    background-color: #fafbfc;
    color: #505050;
}

/********************Drupal Stuff***********************/

/*
#sidebar #blocks .block .content {
    margin-top: -10px;
    margin-bottom: 10px;
}
*/

#sidebar .block .title {
    margin-bottom: 5px;
    margin-top: 0;
}

#sidebar .block {
    margin-bottom: 10px;
    margin-top: 5px;
}

#sidebar #box .block .title {
    display: none;
}

#sidebar #box .block .content {
    margin-top: 0;
}

#sidebar #box {
    padding-top: 0;
    padding-bottom: 0;
    margin-top: 0;
    margin-bottom: 15px;
}

#sidebar #box p {
    margin-top: 5px;
    margin-bottom: 5px;
    padding: 0;
}
