/*************
 * Page setup*
 *************/
#page {
  margin: 0 auto;
  padding: 0 18px;
  width: 990px;
  background: #7aa438 url("../images/background.jpg") no-repeat;
  margin-bottom: 0px;
}

.ajaxwait {
  width: 100%;
  height: 200px;
  text-align: center;
  padding-top: 130px;
}

section>h1, h2, h3, h4, p, table, span, form {
  padding: 0 12px;
}

footer>h1, h2, p, table, span {
  padding: 0 12px;
}

.nopad {
  padding: 0;
}

.padded {
  padding: 0 12px;
}

.middle {
  vertical-align: middle;
}

.padded-full {
  padding: 12px 12px;
}

a:visited, a {
  text-decoration: none;
  color: black;
}

a:hover {
  color: #472f60;
}

.purplebg {
  background-color: #472f60;
  color: white;
}

button.delete {
  padding-top: 9px;
  background: url("../images/cross.png") no-repeat 4px 9px;
  padding-left: 20px;
  border: 0px solid black;
}

a.logout {
  background: url("../images/door.png") no-repeat 3px 0px;
  padding-left: 20px;
  margin-left: 9px;
}

/*  Palette

green
color: #8fcd3a;
color: #7aa438;
color: #374f16;

lila
color:#bc7eff;
color:#6d4995;
color:#472f60;

color: white;
color: black;

*/
/******************
* Main Menu       *
*******************/
ul.main-menu {
  float: left;
  height: 36px;
  margin: 0;
  top: 0;
}

ul.main-menu li {
  display: block;
  float: left;
  line-height: 36px;
}

ul.main-menu li a, ul.main-menu li a:visited {
  background-color: transparent;
  color: #000000;
  display: block;
  float: left;
  padding: 0 10px;
  text-decoration: none;
}

ul.main-menu li a:hover {
  -moz-background-clip: border;
  -moz-background-inline-policy: continuous;
  -moz-background-origin: padding;
  background: #472f60 none repeat scroll 0 0;
  color: #ffffff;
  text-decoration: none;
}

ul.main-menu li a.active {
  background: #472f60 none repeat scroll 0 0;
  color: #ffffff;
  text-decoration: none;
}

.spinner a:hover {
  background: #472f60 none repeat scroll 0 0;
  color: #ffffff;
  text-decoration: none;
}

.tint1 {
  background: white;
  opacity: 0.95;
}

nav, footer, section, header {
  margin-bottom: 18px;
}

header.margintop {
  margin-top: 18px;
}

.margintop {
  margin-top: 9px;
}

section.league, section.bets {
  padding-top: 18px;
}

section.tight {
  margin-left: 0;
}

.ui-tabs .ui-tabs-nav li {
  border: none;
  border-right: 1px solid rgb(102, 143, 58);
}

p.info {
  text-indent: 0;
  background-color: #6d4995;
  color: #fff;
  padding: 10px;
}

/***********
*  Lists  *
***********/
ul.tablelike {
  float: left;
  list-style: none;
  margin-left: 0;
}

ul.tablelike li {
  float: left;
  margin: 0;
  top: 0;
  list-style: none;
}

li.highlighted {
  background: #ffc;
}

tr.highlighted.current-zoccer td {
  background: #bc7eff;
}

tr.current-zoccer td {
  background: #6d4995;
}

.bets li {
  padding-top: 18px;
}

/***********
 *  Tables *
 ***********/
.left {
  text-align: left;
}

.right {
  text-align: right;
}

.center {
  text-align: center;
}

table {
  border-top: none;
}

table th, table td {
  padding-right: 9px;
}

table th {
  border-top: 3px solid #000;
}

table.league {

}

table.league .colon {
  width: 5px;
  text-align: center;
}

table.league .goals {
  width: 10px;
  text-align: right;
}

table.league .teamA {
  text-align: right;
}

table.soccer-matches tr:

nth-child
(
odd

)
td {
  border-top: 1px solid black;
}

table.soccer-matches td {
  border: 0;
}

table.soccer-match-bets tr:nth-child(2n+1) td {
  border-top: 1px solid black;
}

table.soccer-matches td.goals {
  width: 32px;
  padding: 0px;
}

span.goalsA, span.goalsB {
  padding: 0;
  display: block;
}

table.soccer-matches td.doubledot {
  width: 9px;
  padding: 0;
}

table td img {
  vertical-align: middle;
}

/***********
 * Footer  *
 ***********/
footer {
  text-align: right;
}

/*************
 *  Header   *
 *************/
header.logo {
  margin-top: 18px;
  margin-bottom: 0;
  padding-bottom: 0;
}

#logo_image {
  position: relative;
  top: 0;
  left: -60px;
}

#login {
  padding-bottom: 18px;
  background: #8FCD3A;
}

form.settings {
  overflow: hidden;
}

form.login, form.register {
  overflow: hidden;
}

form.register input, form.register label, form.login input, form.login label {
  overflow: hidden;
  width: 100%;
}

input.text {
  border: solid 1px #ccc;
  padding: 1px 2px;
  display: block;
}

input.team {
  width: 110px;
}

.vertical {
  display: block;
  width: 9px;
  -moz-transform: rotate(-90 deg);
  -webkit-transform: rotate(-90 deg);
  filter: progid:DXImageTransform.Microsoft.BasicImage(rotation = 3 );
}

.spinner {
  border: 1px solid #8FCD3A;
  text-decoration: none;
}

.spinner-icon {
  width: 12px;
}

.icon-small {
  width: 16px;
}

.spinner a:hover {
  background: #472f60 none repeat scroll 0 0;
  color: #ffffff;
  text-decoration: none;
}

span.bet-result-0 {
  font-weight: bold;
  color: #683416;
}

span.bet-result-3 {
  font-weight: bold;
  color: #000000;
}

span.bet-result-4 {
  font-weight: bold;
  color: #344716;
}

span.bet-result-5 {
  font-weight: bold;
  color: #68913b;
}

/*************
 * errors    *
 *************/
span.error {
  padding: 0;
}

.error {
  color: red;
}

.purplebg .error {
  color: white;
}

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

/*************
 *  Search   *
 *************/
.floatRight {
  float: right;
}

span.searchText {
  width: 200px;
}

form.editable-form {
  text-align: right;
  display: inline;
  white-space: nowrap;
  padding: 0px;
}

form.editable-form select {
  display: inline;
  margin: 0px 10px;
  padding: 0;
}

span.editable-highlighted {
  background-color: #8fcd3a;
  color: #ffffff;
}

/*************
 *  Home   *
 *************/
ul.teaser {
  list-style: none;
  margin-left: 0px;
}

ul.teaser li {
  padding-bottom: 10px;
}

ul.teaser li a {
  padding: 0;
}

p.developers a {
  padding: 0;
}

/*************
 *  Nations   *
 *************/
ul.nations span {
  padding-left: 5px;
}

ul.nations span:hover {
  text-decoration: underline;
  cursor: pointer;
}

/*************
 *  Help   *
 *************/
div.help {
  position: absolute;
  text-align: right;
}

div.help button {
  position: relative;
  top: -46px;
  right: 10px;
}

div.help-details p {
  padding-bottom: 12px;
}

/*************
 *  Help   *
 *************/
ul.rules {
  margin-left: 25px;
}