body {
  margin-top: 30px;
}

header {
  background-color: #fcfcfc;
  box-shadow: 0 1px 3px rgba(0, 0, 64, 0.4);
  color: #606060;
  display: block;
  padding-bottom: 6px;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 10;
}
.header_clear {
  height: 10px;
}

.login_message {
  text-align: right;
  margin-right: 1em;
  margin-top: 5px;
}

.header_link {

}

h1 {
  color: #000060;
  font-family: Junction, Verdana, Helvetica, sans-serif;
  font-size: 36px;
  text-align: center;
  text-shadow: #c0c0c0 1px 1px 1px;
}

header h1 {
  margin-top: 0px;
}

h1 a {
  text-decoration: none;
}
h1 a:visited {
  color: #000060;
}
h1 a:hover {
  color: #8080c0;
}

h2, h3 {
  color: #000000;
  font-family: Junction, Verdana, Helvetica, sans-serif;
  text-align: center;
  text-shadow: #c0c0c0 1px 1px 1px;
}

h2 {
  font-size: 24px;
  margin-top: 1.5em;
  margin-bottom: 0.5em;
}

h3 {
  font-size: 20px;
  margin-bottom: 0.5em;
}

.small {
  font-size: small;
}

.finalnote {
  font-size: x-small;
  color: #888;
}

#container {
  max-width: 680px;
  min-height: 100px;
  margin: 0 auto;
  background-image: url('header.png');
  background-repeat:no-repeat;
  text-align: center;
  position: relative;
  padding-left: 60px;
  padding-right: 60px;
}

.centred {
  text-align: center;
}


.achievement {
  display: inline-block;
  margin: 10px;
  width: 180px;
  vertical-align: top;
}

.achievement img {
  border: 1px solid black;
  padding: 0px;
}

.achievement_name {
  font-family: Junction, Verdana, Helvetica, sans-serif;
  margin-top: 5px;
}

.achievement_description {
  font-family: Junction, Verdana, Helvetica, sans-serif;
  color: grey;
  font-size: 80%;
}

a img {
  border: 0px none;
  margin: 2px;
}

#logininfo {
  float: right;
}

.info {
  display: inline-block;
  vertical-align: top;
  margin-top: 7px;
}

.signin {
  display: inline-block;
  margin-top: 2px;
}

.clearfix:after {
  clear: both;
  content: ".";
  display: block;
  height: 0;
  line-height: 0;
  visibility: hidden;
}

nav.bottom_menu {
  border-top: 1px solid #aaa;
  margin: 0 auto;
  margin-top: 2em;
  padding-top: 0.2em;
  padding-left: 60px;
  padding-right: 60px;
  max-width: 680px;
  min-height: 100px;
  text-align: center;
  position: relative;
}

#arenas table {
    min-width: 100%;
}

table.standings {
    margin: 0 auto;
    min-width: 100%;
    padding-bottom: 1em;
}

.shiftup {
    margin-top: -0.5em;
}

.explanatory-note {
  color: #333;
  font-size: 75%;
}


#message {
    background-color: #fed;
}

.arena-info {
  padding: 20px;
}

.control {
  padding: 10px;
}

.control a:before {
  content: "[";
}

.control a:after {
  content: "]";
}


/* Pretty up forms, based on Django Admin CSS */

/* TABLES */

table {
    border-collapse: collapse;
    border-color: #ccc;
    text-align: left;
}

td, th {
    font-size: 13px;
    line-height: 16px;
    border-bottom: 1px solid #eee;
    vertical-align: top;
    padding: 8px;
    font-family: "Roboto", "Lucida Grande", Verdana, Arial, sans-serif;
}

th {
    font-weight: 600;
    text-align: left;
}

thead th,
tfoot td {
    color: #666;
    padding: 5px 10px;
    font-size: 11px;
    background: #fff;
    border: none;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

tfoot td {
    border-bottom: none;
    border-top: 1px solid #eee;
}

thead th.required {
    color: #000;
}

tr.alt {
    background: #f6f6f6;
}

.row1 {
    background: #fff;
}

.row2 {
    background: #f9f9f9;
}

/* FORM DEFAULTS */

input, textarea, select, .form-row p, form .button, .form_note {
    margin: 2px 0;
    padding: 2px 3px;
    vertical-align: middle;
    font-family: "Roboto", "Lucida Grande", Verdana, Arial, sans-serif;
    font-weight: normal;
    font-size: 13px;
}
.form-row div.help {
    padding: 2px 3px;
}

textarea {
    vertical-align: top;
}

input[type=text], input[type=password], input[type=email], input[type=url],
input[type=number], input[type=tel], textarea, select, .vTextField {
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 5px 6px;
    margin-top: 0;
}

input[type=text]:focus, input[type=password]:focus, input[type=email]:focus,
input[type=url]:focus, input[type=number]:focus, input[type=tel]:focus,
textarea:focus, select:focus, .vTextField:focus {
    border-color: #999;
}

select {
    height: 30px;
}

select[multiple] {
    min-height: 150px;
}

/* FORM BUTTONS */

.button, input[type=submit], input[type=button], .submit-row input, a.button,
.submit-row a.button {
    background: #79aec8;
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    color: #fff;
    cursor: pointer;
}

a.button {
    padding: 4px 5px;
}

.button:active, input[type=submit]:active, input[type=button]:active,
.button:focus, input[type=submit]:focus, input[type=button]:focus,
.button:hover, input[type=submit]:hover, input[type=button]:hover {
    background: #609ab6;
}

.button[disabled], input[type=submit][disabled], input[type=button][disabled] {
    opacity: 0.4;
}

.button.default, input[type=submit].default, .submit-row input.default {
    float: right;
    border: none;
    font-weight: 400;
    background: #417690;
}

.button.default:active, input[type=submit].default:active,
.button.default:focus, input[type=submit].default:focus,
.button.default:hover, input[type=submit].default:hover {
    background: #205067;
}

.button.default.destructive,
input[type=submit].default.destructive,
.submit-row input .default.destructive {
    background: #ba2121;
}

.button.default.destructive:active,
input[type=submit].default.destructive:active,
.button.default.destructive:focus,
input[type=submit].default.destructive:focus,
.button.default.destructive:hover,
input[type=submit].default.destructive:hover {
    background: #a41515;
}

.button[disabled].default,
input[type=submit][disabled].default,
input[type=button][disabled].default {
    opacity: 0.4;
}

/* SUBMIT ROW */

.submit-row {
    padding: 12px 14px;
    margin: 0 0 20px;
    background: #f8f8f8;
    border: 1px solid #eee;
    border-radius: 4px;
    text-align: right;
    overflow: hidden;
}

body.popup .submit-row {
    overflow: auto;
}

.submit-row input, .submit-row a.button {
    height: 35px;
    line-height: 15px;
    margin: 0 0 0 5px;
}

.submit-row input.default {
    margin: 0 0 0 8px;
    text-transform: uppercase;
}

.submit-row p {
    margin: 0.3em;
}

.submit-row p.deletelink-box {
    float: left;
    margin: 0;
}

.submit-row a.deletelink {
    display: block;
    background: #ba2121;
    border-radius: 4px;
    padding: 10px 15px;
    height: 15px;
    line-height: 15px;
    color: #fff;
}

.submit-row a.closelink {
    display: inline-block;
    background: #bbbbbb;
    border-radius: 4px;
    padding: 10px 15px;
    height: 15px;
    line-height: 15px;
    margin: 0 0 0 5px;
    color: #fff;
}

.submit-row a.deletelink:focus,
.submit-row a.deletelink:hover,
.submit-row a.deletelink:active {
    background: #a41515;
}

.submit-row a.closelink:focus,
.submit-row a.closelink:hover,
.submit-row a.closelink:active {
    background: #aaaaaa;
}

/* MESSAGES & ERRORS */

ul.messagelist {
    padding: 0;
    margin: 0;
}

ul.messagelist li {
    display: block;
    font-weight: 400;
    font-size: 13px;
    padding: 10px 10px 10px 65px;
    margin: 0 0 10px 0;
    background-color: #dfd;
    color: #333;
}

ul.messagelist li.warning {
    background-color: #feb;
}

ul.messagelist li.error {
    background-color: #edd;
}

.errornote {
    font-size: 14px;
    font-weight: 700;
    display: block;
    padding: 10px 12px;
    margin: 0 0 10px 0;
    color: #ba2121;
    border: 1px solid #ba2121;
    border-radius: 4px;
    background-color: #fff;
    background-position: 5px 12px;
}

ul.errorlist {
    margin: 0 0 4px;
    padding: 0;
    color: #ba2121;
    background: #fff;
}

ul.errorlist li {
    font-size: 13px;
    display: block;
    margin-bottom: 4px;
}

ul.errorlist li:first-child {
    margin-top: 0;
}

ul.errorlist li a {
    color: inherit;
    text-decoration: underline;
}

td ul.errorlist {
    margin: 0;
    padding: 0;
}

td ul.errorlist li {
    margin: 0;
}

.form-row.errors {
    margin: 0;
    border: none;
    border-bottom: 1px solid #eee;
    background: none;
}

.form-row.errors ul.errorlist li {
    padding-left: 0;
}

.errors input, .errors select, .errors textarea {
    border: 1px solid #ba2121;
}

div.system-message {
    background: #ffc;
    margin: 10px;
    padding: 6px 8px;
    font-size: .8em;
}

div.system-message p.system-message-title {
    padding: 4px 5px 4px 25px;
    margin: 0;
    color: #c11;
    background-color: #fdd;
}

.description {
    font-size: 12px;
    padding: 5px 0 0 12px;
}

/* Help text */
.helptext, p.helptext, form p.helptext, div.helptext, form div.helptext,
div .helptext li {
    font-size: 11px;
    color: #777;
}

div.helptext ul {
     margin-bottom: 0;
}

.version {
    color: #606060;
}
