/*
 *
 * Basic tag redefinitions
 *
 */

html {
  height: 100%;
  margin-bottom: 1px;
}

body, td, select, input, textarea {
  font-family: "Segoe UI", Tahoma, Arial, Helvetica, sans-serif;
  font-size: 11pt;
  margin: 0;
}

body {
  height: 100%;
  background: #e0ffcc;
}

img {
  border: 0;
}

a, a:link, a:visited, a:hover {
  color: blue;
}

a.img img {
  display:block;
  border: none;
  float: left;
  margin-top: 1px;
  margin-right: 0.2em;
}

hr {
  color: #ccc;
  background-color: #ccc;
  height: 1px;
  border: 0;
}

/*
 *
 * General ids
 *
 */

#page {
  width: 900px;
  min-height: 100%;
  margin: 0 auto;
  padding: 0px 4px 20px 4px;
  background: #ffffff;
  border-left: 1px solid lightgreen;
  border-right: 1px solid lightgreen;
}

#header {
  text-align: center;
}

#mainlogo {
  margin-top: 10px;
  margin-bottom: 15px;
}

#flags {
  float: right;
}

#headline {
  clear: both;
  padding-top: 4px;
  border-bottom: 1px solid #ccc;
}

#main {
  margin-top: 20px;
}

/*
 *
 * Some general classes
 *
 */

.full_width {
  width: 100%;
}

.half_width {
  width: 50%;
}

.tip, .highlight {
  border: 1px solid gold;
  background-color: lightyellow;
}

.tip {
  padding: 10px;
  text-align: center;
  margin-bottom: 20px;
}

.tip a.close {
  position: relative;
  top: -10px;
  color: orange;
  float: right;
  font-size: 12pt;
  font-weight: bolder;
  padding-top: 0;
  text-decoration: none;
}

.tip .link {
  padding-top: 0.5em;
}

.centered {
  display: table;
  margin-left: auto;
  margin-right: auto;
}

.center {
  text-align: center;
}

.bordered, .bordered th, .bordered td {
  border: 1px solid black;
  border-collapse: collapse;
}

.noborder, .noborder th, .noborder td {
  border: 0;
}

.top {
  vertical-align: top;
}

.middle {
  vertical-align: middle;
}

.left {
  text-align: left;
}

.right {
  text-align: right;
}

.emphasis {
  font-weight: bold;
}

.italic {
  font-style: italic;
}

.underline {
  text-decoration: underline;
}

.clear {
  clear: both;
}

.nowrap {
  white-space: nowrap;
}

a.clean, a.clean:link, a.clean:visited, a.clean:hover {
  text-decoration: none;
}

.hand {
  cursor: pointer;
}

.tooltip {
  cursor: help;
  border-bottom: 1px dashed blue;
}

/*
 *
 * More specific classes
 *
 */
 
.code {
  font-family: Consolas, "Times New Roman", sans-serif;
}

a.external {
  background: url(../images/external.png) center right no-repeat;
  padding-right: 13px;
  margin-right: 2px;
}

.welcome {
  width: 530px;
  margin-left: 350px;
}

.error, .confirm {
  padding: 2px 2px 2px 12px;
  font-weight: bold;
  margin-bottom: 10px;
  margin-top: 10px;
}

.error {
  border: red solid 1px;
  background: lightpink;
  color: black;
}

.confirm {
  border: 1px solid green;
  background: lightgreen;
  color: black;
}

.table, .table th, .table td, .table input, .table select {
}

.table, .table th, .table td {
  padding: 2px;
}

.small, .small th, .small td, .small input, .small select {
  font-size: 10pt;
}

.smaller, .smaller th, .smaller td, .smaller input, .smaller select {
  font-size: 9pt;
}

.smallest, .smallest th, .smallest td, .smallest input, .smallest select {
  font-size: 8pt;
}

.big {
  font-size: 12pt;
}

.header {
  text-align: left;
  vertical-align: bottom;
}

.label {
  padding-right: 4px;
}

.token {
  font-weight: bold;
  font-size: 120%;
  font-family: Helvetica, Arial;
}

.menu {
  text-align: center;
  margin-bottom: 20px;
}

.menu h1 {
  margin-top: 8px;
  margin-bottom: 0;
}

.points {
  vertical-align: middle;
  text-align: center;
}

.good {
  background-color: lightgreen;
}

.exact {
  color: white;
  background-color: green;
}

.winner {
  text-decoration: underline;
}

.message {
  margin-bottom: 1em;
}

.author {
  color: blue;
  font-weight: bold;
}

.instant {
  font-size: 8pt;
}

.headings, .headings td, .headings th {
  border-bottom: 1px solid black;
}

.row, .row td, .row th {
  padding: 0px 4px 0px 2px;
}

.alt1 {
  background: #ffffff;
}

.alt2 {
  background: #E0FFCC;
}

.chart {
  margin-bottom: 20px;
}

.leader {
  color: white;
  background-color: #109312;
}

.trailer {
  color: white;
  background-color: #DE1B17;
}

.desc {
  color: gray;
  font-style: italic;
}

.section {
  margin: 0px 50px 40px 50px;
}

.section .header {
  margin-bottom: 20px;
  border-bottom: 1px solid black;
}

.section .header img {
  margin-right: 8px;
  vertical-align: top;
}

.section table {
  margin-left: 20px;
}

.details input {
  padding-right: 4px;
}

.nodata {
  font-size: 120%;
  font-style: italic;
  padding: 30 30 30 30;
}

.text {
  margin-left: 20px;
  margin-right: 20px;
}

.links {
  margin-top: 0.5em;
}

.nocast {
  color: red;
  font-weight: bold;
}

.vertical-b2t, .vertical-t2b {
  border: 0px solid red;
  white-space: nowrap;
  width: 20px;
  height: 64px;
  display: block;
  position: relative;
}

.vertical-b2t {
  writing-mode: tb-rl;
  -webkit-transform: rotate(270deg);
  -moz-transform: rotate(270deg);
  -o-transform: rotate(270deg);
  top: 30px;
  left: 22px;
}

.vertical-t2b {
  writing-mode: tb-rl;
  -webkit-transform: rotate(90deg);
  -moz-transform: rotate(90deg);
  -o-transform: rotate(90deg);
  top: -30px;
  left: -22px;
}
