/* Global Styles */
* {
margin: 0;
padding: 0;
}

html {
height: 100%;
width: 100%;
}

body {
margin: 0;
padding: 0;
height: 100%;
width: 100%;
min-width: 800px;
background: #cccccc url(img/body-bg.png) 0 0 repeat fixed;
font-family: Verdana, Geneva, sans-serif;
}

h3 {
margin-bottom: 5px;
}

div.menu-container {
width: 685px;
margin: auto;
margin-top: 50px;
text-align: center;
}

div.menu-item {
display: inline-block;
width: 105px;
height: 95px;
background: #fff url(img/icon.png) 0 0 no-repeat;
margin-right: 5px;
margin-bottom: 10px;
}

div.menu-item:hover {
background-position: 0 -95px;
}

div.menu-item:active {
background-position: 0 -190px;
}

div.menu-item-disabled, div.menu-item-disabled:hover, div.menu-item-disabled:active {
background-position: 0 -285px;
}

div.menu-item span {
background: transparent 50% 18px no-repeat;
display: inline-block;
height: 39px;
width: 105px;
text-align: center;
color: #fff;
padding-top: 56px;
}

div.menu-item-disabled span {
color: #aaa;
}

div.menu-item a {
text-decoration: none;
}

* html #container {
height: 100%;
width: 100%;
}

#overlay {
position: absolute;
top: 0;
left: 0;
height: 100%;
width: 100%;
background: url(img/overlay.png) 0 0 repeat;
display: none;
z-index: 100;
}

#overlay div {
position: relative;
top: 30%;
margin-left: auto;
margin-right: auto;
width: 300px;
color: #FFFFFF;
border: 1px solid #555555;
border-right: 1px solid #333333;
border-bottom: 1px solid #333333;
background-color: #000;
text-align: center;
padding-top: 10px;
padding-bottom: 10px;
}

#overlay div img {
margin-left: auto;
margin-right: auto;
}

p {
font-size: small;
margin-bottom: 10px;
}

p#change {
font-size: x-small;
display: inline;
margin-left: 5px;
vertical-align: bottom;
line-height: 2em;
}

form {
font-size: small;
margin-bottom: 10px;
}

form p {
margin-bottom: 2px;
margin-top: 2px;
font-size: small;
}

img {
border: none;
}

label {
margin-bottom: 2px;
margin-top: 2px;
}

select.alliance {
width: 125px;
}

span.labels {
margin-right: 10px;
float: left;
}

label.score {
width: 100px;
}

input.short {
width: 2em;
}

input.teams {
width: 4em;
height: 20px;
font-size: 16px;
}

span.teamstatus {
display: inline-block;
width: 3em;
text-align: center;
font-size: 8px;
background-color: #DDD;
border: 1px solid #CCC;
border-left: none;
height: 22px;
padding: 2px;
padding-top: 0;
vertical-align: middle;
margin-top: -4px;
cursor: default;
position: relative;
}

div.statusSelect {
font-size: 12px;
padding: 3px;
width: 80px;
background-color: #FFF;
margin-left: -32px;
border: 1px solid #aaa;
border-top-width: 3px;
border-bottom-width: 3px;
}

div.selectContainer {
position: absolute;
top: 100%;
z-index: 1000;
padding-top: 6px;
display: none;
text-align: left;
background: url(img/dqarrow.png) 6px 0 no-repeat;
}

.selectContainer input {
vertical-align: middle;
margin: 0 3px 3px 0 !important;
}

div.red-all, div.blue-all {
padding: 4px;
margin: 0;
width: 307px;
}

abbr {
cursor: help;
}

div.red-all {
background-color: #FF4949;
}

div.blue-all {
background-color: #4949FF;
}

div.form-indent input.red, div.red-all {
background-color: #FFE5E5;
}

div.form-indent input.blue, div.blue-all {
background-color: #CCE6FF;
}

div.clear {
clear: left;
margin-bottom: 1em;
overflow: auto;
}

input.disabled {
background-color: #e0e0e0;
}

input#match {
width: 30px;
}

div#head {
height: 75px;
width: 100%;
background: #900000 url(img/head.png) 0 0 no-repeat;
text-align: right;
overflow: hidden;
}

div.namebar {
width: 100%;
text-align: right;
background-color: #444;
border-bottom: 1px solid #aaa;
}

div.namebar span {
display: inline-block;
font-size: 11px;
background: #ccc url(img/login-bg.png) 0 0 no-repeat;
padding-left: 12px;
padding-right: 5px;
height: 15px;
}

div#content {
padding: 10px;
margin-bottom: 30px;
font-size: small;
}

div#container {
min-height: 100%;
width: 85%;
margin-left: auto;
margin-right: auto;
position: relative;
background-color: #FFF;
min-width: 800px;
}

input.stacked {
margin-bottom: 5px;
}

div.form-section div label {
text-align: center;
}

div#foot {
width: 85%;
border-top: 1px solid #d0d0d0;
height: 25px;
font-size: small;
background: #f6f6f6;
margin: 0;
padding: 0;
margin-top: -30px;
margin-left: auto;
margin-right: auto;
position: relative;
overflow: hidden;
line-height: 25px;
}

* html #foot {
margin-top: -30px;
}

div#foot span {
margin-left: 10px;
vertical-align: middle;
font-size: small;
}

div.menu {
padding: 5px;
margin: 10px;
background: #900000;
color: white;
border: 2px solid #900000;
}

body.blk {
background-color: #000000;
}

a.menu:link, a.menu:visited, a.menu:active {
color: #fff;
text-decoration: none;
}

a.menu:hover {
text-decoration: underline;
}

input.button, input.incdec {
}

#content input.button {
margin-bottom: 0;
}

#content {
position: relative;
}

.export-box {
float: right;
margin-top: -5px;
}

.export-box img {
vertical-align: middle;
}

input.incdec {
width: 18px;
margin-bottom: 0;
}

table.standings {
font-size: small;
width: 100%;
border: 1px solid black;
margin-bottom: 10px;
}

table.standings#disp {
font-size: large;
margin: 0;
}

table.standings th, td {
padding: 5px;
text-align: left;
}

table.standings td {
border: 1px solid black;
}

#content table {
margin: auto;
margin-top: 5px;
margin-bottom: 10px;
border-bottom: 1px solid #000;
}

#content table th,td {
padding: 4px;
padding-left: 8px;
padding-right: 8px;
text-align: center;
}

th.center,td.center, #content table th {
text-align: center;
}

#content table th {
border-bottom: 1px solid #000;
}

th.check,td.check{
text-align: center;
width: 30px;
}

th.check input,td.check input {
vertical-align: middle;
}

tr.top {
background: #000 url(img/tv_match_head.png) repeat-x 0 0;
color: #fff;
}

tr.top th {
border-right: 1px solid #000;
border-bottom: 1px solid #000;
border-left: 1px solid #ccc;
border-top: 1px solid #ccc;
}

tr {
background-color: #ffffff;
}

tr.even {
background-color: #eeeeee;
}

.notice {
background: #CCFFCC;
border: 1px solid #009933;
height: 20px;
width: 300px;
padding: 5px;
margin: auto;
font-size: small;
text-align: center;
position: fixed;
top: 0;
z-index: 1000;
display: none;
}

.error{
border: 1px solid #900000;
background: #ffcdcd url(img/err.png) 5px 50% no-repeat;
padding: 7px;
padding-left: 42px;
font-size: small;
margin-bottom: 10px;
min-height: 30px; 
}

.info{
border: 1px solid #000;
background: #FFFFE0 url(img/info.png) 5px 50% no-repeat;
padding: 7px;
padding-left: 26px;
font-size: small;
margin-bottom: 10px;
min-height: 10px; 
}

h3.version {
display: inline;
margin-bottom: 5px;
}

span.bold {
font-weight: bold;
}

div.process-box {
background-color: #eee;
border: 1px solid #000;
padding: 5px;
margin: 5px;
font-family: "Courier New",monospace;
overflow: auto;
}

hr {
margin-bottom: 10px;
}

p.info br {
margin-bottom: 5px;
}

a:visited, a:link {
color: black;
}

div.displayback {
background: url(img/marcstats.png) 50% 50% no-repeat;
position: relative;
min-height: 250px;
}

tr.noback {
border: none;
background: none;
color: #ffffff;
}

tr.noback td {
text-align: center;
}

div.list {
width: 175px;
height: 75px;
border: 1px solid #000;
overflow: hidden;
}

div.list p {
margin: 5px;
}

div.left {
float: left;
width: 180px;
}

div.right {
margin-left: 10px;
width: 180px;
float: left;
}

div.contleft {
float: left;
width: 400px;
margin-bottom: 20px;
clear: both;
}

div.contright {
float: left;
width: 400px;
margin-bottom: 20px;
}

div.menu h2 {
margin: 0;
}

.head-bar-int {
vertical-align: middle;
line-height: 75px;
}

.time {
font-size: 36pt;
margin-right: 25px;
font-family: "Trebuchet MS", Helvetica, sans-serif;
display: block;
color: #FFFFFF;
float: right;
position: relative;
z-index: 99;
}

input[type=text], input[type=password], textarea {
border: 1px solid #cccccc;
padding: 2px;
}

input[type=text]:hover, input[type=text]:focus, input[type=password]:hover, input[type=password]:focus, textarea:hover, textarea:focus {
border: 1px solid #555555;
}

input[type=text]:focus, input[type=password]:focus, textarea:focus {
background-color: #FFFFCC;
}

h1 {
font-size: 1.7em;
}

div.heading {
border-bottom: 1px solid #ccc;
margin-bottom: 10px;
margin-top: -5px;
overflow: hidden;
}

div.heading h1 {
font-size: 2em;
}

div.buttons {
float: right;
margin-top: -32px;
}

div.buttons a {
margin-left: -4px;
}

.form-indent {
margin-left: 10px;
border-left: 1px solid #cccccc;
border-bottom: 1px solid #cccccc;
padding-left: 5px;
padding-bottom: 5px;
margin-bottom: 20px;
}

.form-section {
overflow: auto;
margin-top: 5px;
}

.cont-section {
margin-top: 10px;
}

td.check {
color: #aaaaaa;
}

input[readonly=readonly], select.readonly {
background-color: #EEEEEE;
color: #888888;
}

input.x-long {
width: 300px;
}

h4 {
margin-bottom: 10px;
font-style: italic;
font-weight: normal;
}

h4.setup {
font-style: normal;
font-weight: bold;
margin-bottom: 0;
}

.setup-section {
overflow: auto;
min-height: 25px;
margin-bottom: 5px;
margin-left: 10px;
}

.setup-section:hover {
border-color: #000000;
}

.setup-left {
float: left;
padding: 5px;
padding-left: 10px;
border-right: 1px solid #CCCCCC;
width: 40%;
height: 100%;
margin-right: 10px;
}

.setup {
margin-bottom: 35px;
}

.setup input[type=submit] {
margin-left: 20px;
margin-top: -5px;
}

ul li {
list-style-position: inside;
margin-left: 10px;
}
