/* Styling inspired by FluxBB Air style */

html, body, .nopad, .nopad th, .nopad tr, .nopad thead, .nopad tbody, .nopad td {
    border: 0;
    font-style: normal;
    font-weight: normal;
    margin: 0;
    padding: 0;
}

body {
    background: #f6f9fc;
    font-family: 'Trebuchet MS', Arial, Helvetica, sans-serif;
    font-size: 13px;
    min-width: 1300px;
}

p {
    margin: 0;
}

h1 {
    color: #6491B0;
    font-size: 28px;
    line-height: 0px;
}

h2 {
    color: #566579;
    font-size: 19px;
    line-height: 19px;
}

h3 {
    color: #566579;
    font-size: 15px;
    margin: 2px 0;
}

a {
    color: #44699c;
    text-decoration: none;
}

a:hover {
    color: #bb0000;
    text-decoration: underline;
}

textarea {
    height: 150px;
    width: 500px;
}

strong {
    color: #000000;
}

.strong {
    font-weight: bold;
}

/* container things */

#wrapper {
    padding: 30px 40px;
    background: #f6f9fc;
}

#container {
    padding: 18px 18px;
    display: block;
    background: white;
    border-radius: 5px;
    border: 1px solid;
    border-color: #CAD7E1;
}

/* header things */

#headerimg {
    width: 500px;
}

.navbar {
    background: #44699C;
}

.navbar ul {
    padding: 0;
    list-style: none;

}

.navbar li {
    float: left;
    display: list-item;
}

.navbar a {
    padding: 12px 16px 6px 8px;
    background: #44699c;
    border-color: #ffffff;
    color: #d4dae2;
    white-space: nowrap;
    min-width: 70px;
    display: block;
    border-width: 1px;
    border-style: none;
    border-right-style: solid;
}

.navbar a:hover {
    background: #bb0000;
    color: #ffffff;
}

.navbar:after {
    visibility: hidden;
    clear: both;
    font-size: 0;
    height: 0;
    display: block;
    content: " ";
}

/* footer */
#footer {
    display: table;
    width: 100%;
}

#admintoggle {
    display: table-cell;
    padding: 7px 0;
}

#admintoggle input {
    margin: 0px;
    margin-top: 3px;
}

#writtenby {
    display: table-cell;
    width: auto;
    padding: 7px 0;
    text-align: right;
}

#writtenby a {
    color: #44699c;
}

/* content */

#content {
    min-height: 1px;
    border-style: solid none;
    border-color: #566579;
    border-width: 2px 0;
    padding: 12px 0;
    margin-bottom: 12px;
}

#hellomessage {
    padding: 10px 0;
}

.normaltext {
    color: #566579;
}

.bluetext {
    color: #357082;
}

.bigred {
    color: #ff0000;
    font-weight: bold;
}

.description {
    font-weight: bold;
    color: #566579;
}

.bluebox {
    padding: 18px 18px;
    display: block;
    background: #ebf1f5;
    border: 1px solid;
    border-color: #CAD7E1;
}

#login fieldset {
    padding: 18px 18px;
    display: block;
    background: #f6f9fc;
    border: 1px solid;
    border-color: #CAD7E1;
}

#login label {
    float: left;
}

.tablecontainer {
    display: block;
    margin: 0px auto;
    border-width: 1px;
    border-style: solid;
    border-color: #CAD7E1;
}

table.listitems {
    border-color: #CAD7E1;
    border-width: 1px;
    margin-bottom: -1px;
    border-collapse: collapse;
    border-spacing: 0;
    empty-cells: show;
    display: table;
    width: 100%;
}

.listitems tr {
    border-color: #CAD7E1;
    border-width: 0;
    border-bottom-width: 1px;
    border-bottom-style: solid;
    vertical-align: middle;
}

.listitems td, .listitems th {
    padding: 7px 8px;
    border-color: #CAD7E1;
    border-width: 0;
    border-bottom-width: 1px;
    background: white;
    text-align: left;
    width: 18%;
}

td.firsttd, th.firsttd {
    width: auto;
}

.listitems th {
    background: #ebf1f5;
}

.floathoriz {
    float: left;
}

dl {
    border-style: none;
    border-top-style: solid;
    border-width: 1px;
    border-color: #CAD7E1;
    margin: 7px;
    padding: 0;
    margin: 0;
    width: 100%;
    display: block;
}

dt {
    color: #357082;
    padding: 7px 0;
    margin: 0;
    width: 300px;
    position: absolute;
}

dd {
    border-style: none;
    border-bottom-style: solid;
    border-width: 1px;
    border-color: #CAD7E1;
    margin: 0;
    padding: 7px;
    padding-left: 300px;
}

dd:before{
    content: "";
    display: inline-block;
    font-size: 0;
}

button {
    min-width: 200px;
}

.bluebutton {
    padding: 12px 16px 6px 8px;
    background: #44699c;
    border-color: #ffffff;
    color: #d4dae2;
    white-space: nowrap;
    min-width: 70px;
    border-width: 1px;
    border-style: none;
    border-right-style: solid;
    text-decoration: none;
    display: inline-block;
}

.bluebutton:hover {
    background: #bb0000;
    color: #ffffff;
    text-decoration: underline;
}

.buttonbox {
    padding-top: 12px;
}

/* search page */

.search th {
    height: 70px;
}

.search input[type="text"], .search select {
    width: 100%;
    max-width: 150px;
}

th.explanation, td.explanation {
    width: 150px;
}

th.explanation div {
    text-align: center;
    margin: 4px 0;
    width: 150px;
}

th.columnentry, td.datacolumn {
    width: 150px;
}

th.searchbuttons, td.spacing {
    width: auto;
    margin-right: 0;
}

th.searchbuttons div {
    width: 150px;
    margin-left: 0px;
    margin-right: auto;
}

th.searchbuttons div + div {
    margin-top: 22px;
}

th.searchbuttons button {
    width: auto;
    min-width: 110px;
    margin: 0 auto;
    display: block;
}

div.columnsort button {
    min-width: 0px;
}

tr.userentry td {
    padding: 0;
}

tr.userentry div {
    padding: 7px 8px;
}

table.barchart, table.vbarchart, table.heatmap {
    border: solid 1px #CAD7E1;
    margin-bottom: -1px;
    border-collapse: collapse;
    border-spacing: 0;
    empty-cells: show;
    display: table;
    width: 100%;
}

.barchart th, .vbarchart th, .heatmap th {
    padding: 7px 8px;
    text-align: left;
    font-weight: bold;
    background: #ebf1f5;
    border-bottom: solid 1px #CAD7E1;
}

.barchart td, .vbarchart td, .heatmap td {
    padding: 7px 8px;
    background: white;
    border: solid 1px #CAD7E1;
}

.barchart td.key {
    width: 25%; 
    border-right-width: 0;
}

.barchart td.value {
    width: 5%; 
    border-left-width: 0;
    text-align: right;
}
    
.barchart td.bar {
    width: 70%; 
    text-align: right;
    background-image: linear-gradient(to right, #6491B0, #6491B0); 
    background-repeat: no-repeat;  
}

.vbarchart {
    table-layout: fixed;
}

.vbarchart td {
    text-align: center;
}

.vbarchart  td.bar {
    height: 200px;
    text-align: center;
    vertical-align: top;
    background-position: bottom;
    background-image: linear-gradient(#6491B0, #6491B0); 
    background-repeat: no-repeat;  
}

.heatmap {
    table-layout: fixed;
}

.heatmap td, .heatmap th {
    text-align: center;
    vertical-align: center;
}
