section, article, aside, footer, header, nav, hgroup {
    display: block;
}

html, body {
    height: 100%;
}

@page {
    size: A4;
}

@media print {
    nav, .no-print {
        display: none;
    }

    .division, .summary {
        padding-left: 2mm;
        padding-right: 2mm;
    }

    .no-page-break {
        page-break-inside: avoid;
    }
}

body {
    background-color: rgba(241, 241, 241, 1);
    color: rgba(33, 33, 33, 1);
    font-family: Roboto, sans-serif;
    margin: 0;
    padding: 1em;
}

div {
    background-color: rgba(254, 254, 254, 1);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Roboto Slab', serif;
}

div.header {
    background-color: rgba(130, 202, 250, 0.8);
    font-weight: bold;
    margin: 0;
    padding: 1em;
    border-top-left-radius: 1em;
    border-top-right-radius: 1em;
}

div.header h1 {
    font-weight: bold;
}

div.header-wrapper {
    background-color: rgba(130, 202, 250, 1);
    background-image: url(../images/header.jpg);
    background-position: 0% 30%;
    background-size: cover;
    z-index: -1;
    border-top-left-radius: 1em;
    border-top-right-radius: 1em;
}

div.content {
    padding: 1em 1em 1em 1em;
    border-bottom-left-radius: 1em;
    border-bottom-right-radius: 1em;
}

div.contests table {
    width: 100%;
}

div.contests table th {
    text-align: left;
    padding: 0 1em;
}

div.contests table td {
    vertical-align: top;
    padding: 0 1em;
}

.full-width {
    width: 100%;
}

.strong {
    font-weight: bold;
}

.nowrap {
    white-space: nowrap;
}

.round {
    border-radius: 0.5em;
}

.inline {
    display: inline-block;
    vertical-align: top;
    margin: 1em;
}

.right {
    text-align: right;
}

.center {
    text-align: center;
}

table.center {
	margin-left: auto;
	margin-right: auto;
}

.table-cell-padding td {
    padding: 0 1em;
}

div.news.notification {
    max-width: 100%;
}

div.news {
    max-width: 55em;
}

div.news dl.red {
    background-color: rgba(255, 173, 173, 1);
}

div.news dl.yellow {
    background-color: rgba(255, 223, 173, 1);
}

div.news dl {
    background-color: rgba(173, 223, 255, 1);
    border-radius: 1em;
    padding: 1em;
    margin: 0.5em;
}

div.news dt {
    margin: 0.0em;
    margin-bottom: 1em;
}

div.news dd {
    margin: 0.0em;
}

div.news div.history .header {
    background-color: rgba(173, 223, 255, 1);
    border-radius: 1em;
    padding: 1em;
    margin: 0.5em;
    cursor: pointer;
}

div.news div.history .content {
    display: none;
    padding: 0em;
}

div#facebook {
    max-width: 500px;
}

div.membership-fee {
    width: 6em;
    text-align: center;
    background-color: rgba(173, 223, 255, 1);
    border-radius: 1em;
    padding: 1em;
}

div.contact {
    width: 16em;
    background-color: rgba(173, 223, 255, 1);
    border-radius: 1em;
    padding: 1em;
    margin: 0.5em;
}

div.division, div.summary {
    display: inline-block;
    vertical-align: top;
    margin: 1em 0.5em;
}

div.division, div.summary table {
    width: 18em;
}

div.division td {
    padding: 0em 0.25em;
}

div.summary th {
    padding: 0em 0.25em;
}

div.summary td {
    padding: 0em 0.25em;
}

div.summary td.ranking2 {
    text-align: center;
    padding: 0em;
}

table {
    border-collapse: collapse;
}

table th {
    font-weight: bold;
    border-bottom: solid 1px black;
}

#results table th {
	background-color: rgba(250, 178, 130, 1);
}

table tr:last-child td {
}

table td {
    padding: 0px;
}

tr:nth-child(odd) {
    background-color: rgba(130, 202, 250, 1);
}

tr:nth-child(even) {
    background-color: rgba(173, 223, 255, 1);
}

td.name {
    width: 100%;
}

td.ranking {
    text-align: center;
}

td.time {
    text-align: right;
}

.navbar {
    background-color: rgba(33, 11, 181, 1);
    border-width: 0px;
}

.navbar ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: rgba(33, 11, 181, 1);
}

.navbar li {
    float: left;
}

.navbar li>a {
    display: block;
    color: rgba(254, 254, 254, 1);
    background-color: rgba(33, 11, 181, 1);
    text-align: center;
    padding: 0.9em 1em;
    text-decoration: none;
}

/* Change the link color to #111 (black) on hover */
.navbar li>a:hover,
.navbar li>a:focus {
    color: rgba(51, 51, 51, 1);
    background-color: rgba(173, 223, 255, 1);
}

.navbar li.active>a,
.navbar li.active>a:hover,
.navbar li.active>a:focus {
    color: rgba(254, 254, 254, 1);
    background-color: rgba(0, 130, 217, 1);
}

.shortcut-menu ul {
    column-width: 13em;
    list-style-type: none;
    width: 100%;
}

.shortcut-menu li {
    display: block;
    width: 12.5em;
}

.match-width {
	display: inline-block;
}
