/* jQuery Group | Copyright (c) Teijo Laine 2013 | Licenced under the MIT licence */
.jqgroup.read-write {
    cursor: default;
}
.jqgroup.read-write .match {
    cursor: move;
}
.jqgroup.read-write .match:hover {
    background-color: #ccc;
}
.jqgroup.read-write .rounds .round {
    padding-bottom: 10px;
}
.jqgroup.read-write .rounds .round:first-child {
    background-color: #f99;
}
.jqgroup.read-write .rounds .round:first-child .match {
    background-color: #fcc;
}
.jqgroup.read-write .rounds .round:first-child .match .team {
    border-color: #faa;
}
.jqgroup.read-write .standings table td:first-child {
    padding: 0;
}
.jqgroup.read-write .standings table td:first-child:hover:before {
    color: #333;
    font-size: 1em;
    content: "\0270E";
    position: absolute;
    left: -1em;
}
.jqgroup.read-write .rounds input[type="text"].score:focus,
.jqgroup.read-write .standings input[type="text"]:focus {
    text-decoration: none;
    background-color: #fff;
    border: 1px solid #000;
    color: #000;
}
.jqgroup.read-write .rounds input[type="text"].score.conflict,
.jqgroup.read-write .rounds input[type="text"].score.add.conflict,
.jqgroup.read-write .standings input[type="text"].conflict,
.jqgroup.read-write .standings input[type="text"].add.conflict {
    background-color: #900;
    color: #fee;
}
.jqgroup {
    font-family: Arial;
    font-size: 14px;
    width: 100%;
    display: inline-block;
    box-sizing: border-box;
}
.jqgroup input {
    box-sizing: border-box;
    height: 22px;
}
.jqgroup .standings {
    white-space: nowrap;
    overflow: auto !important;
}
.jqgroup .standings table {
    border-spacing: 0;
    width: 100%;
}
.jqgroup .standings table td,
.jqgroup .standings table th {
    padding: 3px;
}
.jqgroup .standings table td:nth-child(6) {
    cursor: help;
}
.jqgroup .standings table td:nth-child(6):hover {
    background-color: rgba(255, 255, 255, 0.6);
}
.jqgroup .standings table td:first-child {
    position: relative;
}
.jqgroup .standings input[type="submit"] {
    width: 100%;
}
.jqgroup .standings input[type="text"] {
    margin: 0;
    padding: 3px;
    border: 0;
    width: 100%;
    background-color: transparent;
}
.jqgroup .standings input[type="text"].add {
    border: 1px solid #000;
}
.jqgroup .standings td:not(:first-child) {
    text-align: center;
    background-color: rgba(255, 255, 255, 0.3);
}
.jqgroup .standings th:first-child {
    text-align: left;
}
.jqgroup .standings td {
    border-top: 1px solid #ddd;
}
.jqgroup .standings .drop {
    cursor: pointer;
    background-color: #fee;
}
.jqgroup .standings .drop:hover {
    background-color: red;
}
.jqgroup .rounds {
    background-color: #ddd;
    border-top: 1px solid #999;
    float: left;
    width: 100%;
}
.jqgroup .roundsHeader {
    cursor: pointer;
}
.jqgroup .roundsHeader:hover {
    text-decoration: underline;
}
.jqgroup .unassigned {
    background-color: #aaa;
}
.jqgroup .participant {
    background-color: #eee;
}
.jqgroup .match {
    background-color: #ddd;
    min-width: 50px;
    float: left;
    clear: both;
    width: 100%;
}
.jqgroup .match:nth-child(n + 3) div.team {
    border-top: 1px solid #ccc;
}
.jqgroup .match:nth-child(n + 3) div.team.highlight {
    border-color: #0b0;
}
.jqgroup .match div.team {
    float: left;
    width: 50%;
}
.jqgroup .match .score,
.jqgroup .match div.label {
    box-sizing: border-box;
    padding: 3px;
    float: left;
}
.jqgroup .match .score {
    font-size: 14px;
    height: 22px;
    width: 20%;
    border: 0;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.3);
}
.jqgroup .match .score.win {
    color: #060;
}
.jqgroup .match .score.lose {
    color: #900;
}
.jqgroup .match div.label {
    height: 22px;
    display: inline-block;
    white-space: nowrap;
    overflow: hidden;
    width: 80%;
}
.jqgroup .round {
    width: 100%;
    float: left;
    clear: both;
}
.jqgroup .round:nth-child(n + 3) {
    margin-top: 10px;
}
.jqgroup .round.droppable {
    background-color: #8c8;
}
.jqgroup .round.droppable .match {
    opacity: 0.7;
}
.jqgroup .round.droppable.over {
    background-color: #8f8;
}
.jqgroup [data-roundid="0"] {
    display: none;
}
.jqgroup header {
    padding: 0 2px;
    font-size: 13px;
    display: block;
    text-align: center;
}
.jqgroup .highlight {
    background-color: rgb(120 159 213 / 12%);
}
