/* basis configuration */
/* NOTICE: for the border thing to work out properly, there cannot be any newline 
   (probably even space) between the last content and the </body> tag. Also
   it seems that you want to end with <p></p></body></html>, without spaces
	(but newlines seem to be ok). However this is not entirely foolproof. TODO: investigate.*/

/* The whole website */
body#home {
    background: #333333;
    /*font-family: "Trebuchet MS", Verdana, Arial, serif;*/
    font-family: "Verdana", Arial, serif;
    font-size: 12pt;
    padding: 10px 0;
    min-width: 950px;
    text-align: center;
    overflow: visible;
}

/* The different divs */
div {
    width: 100%;
    position: relative;
    background: inherit;
    float: left;
    padding: 0;
    margin: 0;
    overflow: hidden;
}

div#outerContainerDiv {
    width: 950px;
    background: #eeeeee;
    margin: 0 auto; /* makes this div center */
    float: none; /*otherwise centering doesn't work*/
}

div#innerContainerDiv {
    overflow-y: auto; /* Takes care of vertical filling issues */
}

div#leftDiv {
    width: 180px;
}

div#rightDiv {
    width: 770px;
}

div#menuDiv {
    padding: 0;
    overflow: hidden;
}

div#headerDiv {
    text-align: center;
    padding: 10px;
    font-size: 24px;
    font-weight: 900;
    color: #070D5E;
}

div#footerDiv {
    text-align: center;
    padding: 10px;
}

div#contentDiv {
    width: 720px;
    background: #ffffff;
    border: 1px solid #aaaaaa;
    padding: 20px;
}

/* The iframes */
iframe {
    overflow-x: hidden;
    overflow-y: auto;
    border: 0;
    width: 100%;
    height: 50px;
}

iframe#menuFrame {
    width: 160px;
    height: 380px;
}

iframe#contentFrame {
    width: 720px;
    height: 500px;
}

/* Header Configuration */

/* Menu Configuration */
body#menu {
    background: #eeeeee; /* Inherit doesn't work in IE */
    /*font-family: "Trebuchet MS", Verdana, Arial, serif;*/
    font-family: "Verdana", Arial, serif;
    font-size: 10pt;
    overflow: hidden;
}

body#menu h1 {
    font-family: Georgia, sans-serif;
    font-size: 14pt;
    text-align: left;
    color: #000000;
    text-indent: 0;
    padding-top: 50px;
    margin-bottom: 15pt;
}

body#menu form {
    padding: 0;
    margin: 0;
    display: inline;
}

body#menu input {
    width: 150px;
    color: #df541c;
    font-family: "trebuchet ms", helvetica, sans-serif;
    font-weight: bold;
    font-size: 11pt;
    background-color: transparent;
    border: 1px solid transparent;
    text-align: left;
    padding: 0;
    margin: 0;
}

body#menu input:hover {
    border-color: #df541c;
    cursor: pointer;
}

/* login screen */
body#login {
    background: #ffffff;
    /*font-family: "Trebuchet MS", Verdana, Arial, serif;*/
    font-family: "Verdana", Arial, serif;
    font-size: 12pt;
    text-align: center;
}

table.formtable#logintable {
    margin: 0 auto;
    font-size: 14pt;
}

/* Public resolution search */
body#public_search {
    padding: 15px;
    overflow: auto;
}

body#public_search h1, body#public_search h2, body#public_search p {
    text-align: center;
}

body#public_search table#search_options {
    border: 1px solid #aaaaaa;
    margin: 0 auto;
    padding: 15px;
}

body#public_search table#result_table {
    margin: 0 auto;
}

body#public_search table#result_table tbody tr:hover {
    background: #aaaaaa;
    cursor: pointer;
}

/* The remaining pages in the website (standard content settings) */
body {
    background: inherit;
    /*font-family: "Trebuchet MS", Verdana, Arial, serif;*/
    font-family: "Verdana", Arial, serif;
    font-size: 11pt;
    margin: 1px 0;
    padding: 0;
    overflow: hidden;
}

/* headers */
h1 {
    font-family: Georgia, sans-serif;
    font-size: 16pt;
    font-weight: bold;
    color: #df541c;
    text-indent: 30px;
    margin-bottom: 30pt;
    text-transform: capitalize;
}

h2 {
    font-family: Georgia, sans-serif;
    font-size: 12pt;
    font-weight: bold;
    color: #070D5E;
    margin-top: 25pt;
    margin-bottom: 10pt;
    text-transform: capitalize;
}

/* error */
p.error {
    font-weight: bold;
    color: #ff0000;
}

/* regular table (for information from the database) */
table {
    border-left: 1px solid #aaaaaa;
    border-top: 1px solid #aaaaaa;
    border-spacing: 0;
    font-size: 10pt;
    font-family: Georgia, sans-serif;
}

th {
    color: #070D5E;
    font-weight: bold;
    background-color: #eeeeee;
    border-right: 1px solid #aaaaaa;
    border-bottom: 2px solid #aaaaaa;
    padding-left: 5px;
    padding-right: 5px;
}

td {
    border-right: 1px solid #aaaaaa;
    border-bottom: 1px solid #aaaaaa;
    padding-left: 5px;
    padding-right: 5px;
}

td.newusers {
    padding: 20px 30px;
    font-weight: bold;
    font-size: 24pt;
    font-family: times, sans-serif;
}

/* form table (for displaying forms) */
table.formtable {
    border: 0;
}

td.formtable {
    border: 0;
    padding: 5px 15px 5px 10px;
}

/* forms */
form {
    padding: 0;
    margin: 0;
    display: inline;
}

textarea {
    padding: 10px;
    width: 95%;
    height: 2000px;
    overflow-y: scroll;
    resize: none;
}

input.hyperlinklike, span.hyperlinklike {
    color: #df541c;
    font-family: "trebuchet ms", helvetica, sans-serif;
    font-weight: bold;
    font-size: 10pt;
    background-color: transparent;
    border: 1px solid transparent;
    text-align: left;
    padding: 0;
    margin: 0;
}

input.hyperlinklike:hover, span.hyperlinklike:hover {
    border-color: #df541c;
    cursor: pointer;
}

/* code */
p.code, input.code {
    font-family: Georgia, sans-serif;
    font-size: 15pt;
    font-weight: bold;
    margin-left: 30px;
    color: #df541c;
    background-color: transparent;
}

span.code, input.code {
    border: 1px solid #df541c;
    padding-left: .5em;
    padding-right: .5em;
}

input.code:hover {
    border-color: transparent;
    cursor: pointer;
}