/* jQuery Group | Copyright (c) Teijo Laine 2013 | Licenced under the MIT licence */
#brackets_container {
    padding-left: 15px;
}
.ret_span {
    padding-left: 7px;
}
tr.group_title_row {
    position: sticky;
    top: 64px;
    z-index: 10;
    background: #f3f4f6;
    height: 40px;
}
.group_title_row .group_title {
    color: var(--main-color);
    border-radius: 5px;
}
.jqgroup.read-write {
    cursor: default;
}
.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;
    display: none !important;
}
.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: initial;
    overflow: hidden;
}
.jqgroup .standings table {
    border-spacing: 0 5px;
    width: 100%;
    border-collapse: separate;
}
.jqgroup .standings table td,
.jqgroup .standings table th {
    padding: 10px;
    background: #fff;
}
.jqgroup .standings table td:nth-child(6):hover {
    background-color: rgba(255, 255, 255, 0.6);
}
.jqgroup .standings table td:first-child {
    position: relative;
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
}
.jqgroup .standings table td:last-child {
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
}
.jqgroup .standings table th:nth-child(2) {
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
}
.jqgroup .standings table th:last-child {
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
}
.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;
}
.jqgroup .standings th:first-child {
    text-align: left;
    background: none;
}
.jqgroup .standings .drop {
    cursor: pointer;
    background-color: #fee;
}
.jqgroup .standings .drop:hover {
    background-color: red;
}
.jqgroup .rounds {
    float: left;
    width: 100%;
}
.jqgroup .roundsHeader {
    padding-bottom: 5px;
    padding-top: 14px;
    font-weight: bold;
    background: #ffffffff;
    display: none;
}
.jqgroup .unassigned {
    background-color: #aaa;
}
.jqgroup .participant {
    background-color: #eee;
}
.jqgroup .match {
    min-width: 50px;
    float: left;
    clear: both;
    width: 100%;
    position: relative;
    padding: 10px 0;
    border-radius: 5px;
}
.jqgroup .match:nth-child(n + 3) div.team.highlight {
    border-color: #5d666f;
}
.jqgroup .match div.team {
    float: left;
    width: 100%;
    background: #fff;
    border-left: 5px solid var(--main-color);
    padding: 10px;
}
.jqgroup .match div.team:nth-child(2),
.jqgroup .match div.team:nth-child(3) {
    border-radius: 5px 5px 0 0;
}
.jqgroup .match div.team:nth-child(4),
.jqgroup .match div.team:nth-child(5) {
    border-radius: 0 0 5px 5px;
    margin-top: 5px;
}
.jqgroup .match .score,
.jqgroup .match div.label {
    box-sizing: border-box;
    padding: 3px;
    float: left;
    color: var(--text-color);
    font-size: 13px;
}
.jqgroup .match .score {
    font-size: 14px;
    height: 22px;
    width: 5%;
    border: 0;
    text-align: center;
}
.jqgroup .match .score.win {
    color: var(--green);
}
.jqgroup .match .score.lose {
    color: #ff0000;
}
.jqgroup .match div.label {
    height: 22px;
    display: inline-block;
    white-space: nowrap;
    overflow: hidden;
    width: 80%;
    padding-left: 10px;
}
.jqgroup .match div.label.win,
td.semwin {
    color: var(--green);
}
.jqgroup .round {
    width: 100%;
    float: left;
    clear: both;
    margin: 5px 0;
}
.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 {
    font-weight: bold;
    padding: 10px 2px;
    font-size: 13px;
    display: block;
    text-align: center;
    color: #fff;
    background: var(--main-color);
    border-radius: 5px;
    position: sticky;
    z-index: 5;
    top: 104px;
}
.jqgroup .highlight {
    background-color: var(--main-color-opac-20);
}
.divider_teams {
    clear: left;
}
.jqgroup .match-info {
    text-align: center;
    font-weight: bold;
    font-size: 12px;
    padding-left: 12px;
    color: var(--main-color);
    visibility: hidden;
    margin: 5px 0;
}
.editScoreTour {
    cursor: pointer;
    position: absolute;
    right: 0;
    top: 34px;
    bottom: 20px;
    color: var(--text-color);
    width: 32px;
}
.editScoreTour i {
    position: absolute;
    right: 5px;
    top: 50%;
}

@media only screen and (max-width: 1023px){
	tr.group_title_row {
		top:0;
	}
    .jqgroup header{
        top:38px;
    }
}