body {
    color: #FFFFFF;
    font-family: arail, helvetica, sans-serif;
    background-color: black;
}
h1 {
    color: #FFA500;
}
.leagues, .legend {
    display: inline-block;;
}
.leagues {
    padding-right: 50px;
}
.legend {
    font-size: 0.8em;
}
table {
    border-collapse: collapse;
    margin-top: 5px;
}
tr.highlight {
    background-color: #555;
}
tr.highlight td.top {
    background-color: #888;
}
tr.task_details th {
    cursor: initial;
}
a.task_details {
    color: black;
}
a.loading {
    animation: loading 1s ease-in-out infinite;
}
@keyframes loading {
    50% { opacity: 0.3; }
    100% { opacity: 1; }
}
td, th {
    border: 1px solid #ffffff;
}
th {
    background-color: rgb(255,153,51);
    color: #000000;
    font-weight: normal;
    font-size: 70%;
    cursor: pointer;
    text-decoration: underline;
}
th[role=columnheader]:not(.no-sort):after {

}

th[aria-sort]:not(.no-sort):after {
    visibility: visible;
    opacity: 0.4;
    content: '';
    float: right;
    margin-top: 7px;
    border-width: 0 4px 4px;
    border-style: solid;
    border-color: #404040 transparent;
    -ms-user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
}

th[aria-sort=ascending]:not(.no-sort):after {
    border-bottom: none;
    border-width: 4px 4px 0;
}

th[role=columnheader]:not(.no-sort):hover:after {
    visibility: visible;
    opacity: 1;
}
td {
    text-align: left;
    font-size: 75%;
    vertical-align: middle;
    padding: 3px;
}
#stat td {
    white-space: nowrap;
}
td.team {
    color:  #FFA500;
    font-weight: bold;
    cursor: pointer;
    text-decoration: underline;
    white-space: initial;
    text-align: right;
}
th.total, th.place {
    font-weight: bold;
}
td.total, td.place {
    color:rgb(255,51,0);
    font-weight: bold;
    text-align: center;
}
.task {
    color: #FFFF66;
}
td.ignored {
    font-size: 0.6em;
}
td.ignored::before {
    content: '(';
}
td.ignored::after {
    content: ')';
}
.help1 {
    color: #66CC66;
}
.help2 {
    color: #3399FF;
}
.ap {
    color: #FF3333;
}
td.top {
    background-color: #555;
}
td.unfinished {
    color:#CC7777;
    font-size:x-small;
}
a.league {
    display: inline-block;
    text-align: center;
    width: 150px;
    text-decoration: none;
    background-color: none;
    border: 1px solid #AA9510;
    color: #AA9510;
}
a.league.selected {
    background-color: orange;
    border: 1px solid orange;
    color: black;
}
a.league:hover {
    background-color: grey;
    border: 1px solid #FFB510;
}

#taskWrapper {
    position: absolute;
    width: calc(100vw - 16px);
}
#taskWrapper h2, #taskWrapper h3 {
    color: #FFA500;
}
#taskWrapper blockquote {
    color:#FFA500;
    border:solid 1px;padding:10px;
    background-color:#262626;
    border-radius: 10px;
    margin-left: 0;
    margin-right: 0;
}

#corrections {
    margin-top: 10px;
    font-size: 0.8em;
}
