:root {
    color-scheme: only light;
}
html,
body {
    color-scheme: only light;
    height: 100%;
    /* The html and body elements cannot have any padding or margin. */
}
#wrap {
    min-height: 100%;
    height: auto !important;
    height: 100%;
    /* Negative indent footer by its height */
    margin: 0 auto -70px;
    /* Pad bottom by footer height */
    padding: 0 0 70px;
}
#footer {
    background-color: #f5f5f5;
    height: 70px;
    padding-left: 15px;
    padding-right: 15px;
}
#footer > .row {
    background-color: #f5f5f5;
}
.modal-backdrop {
    bottom: 0;
    position: fixed !important;
}
#wrap {
    padding: 20px 20px 80px;
}
.cont {
    overflow: auto;
    padding-right: 1px;
    padding-top: 35px !important;
    position: relative;
    top: -35px;
}
.container .credit {
    margin: 20px 0;
}
code {
    font-size: 80%;
}
ul {
    list-style-type: none;
}
.pageContent ul {
    list-style-type: disc;
}

table.ranking td {
    text-align: center;
}

.modal {
    overflow-y: auto !important;
}

.text-justify {
    text-align: justify;
}

.text-bold {
    font-weight: bold;
}

table.dataTable thead tr th {
    border-top-width: 0px !important;
}
table.dataTable thead th, table.dataTable thead td {
    border-color: silver !important;
}
table.dataTable.no-footer {
    border-color: silver !important;
}

table.dataTable th {
    text-align: center;
}

.menu-btns {
    display: flex;
    justify-content: center;
}

.menu-btns button {
    padding: 6px 12px;
}

.bigFirstLetter td:first-letter {
    text-transform: capitalize;
}

.changeLang:hover {
    background-color: transparent !important;
}
.menu {
    margin-top: -35px;
}

@media (max-width: 991px) {
    .menu {
        margin-top: 0px;
        background-color: white;
        z-index: 1051;
        border-radius: 5px;
        padding: 10px 5px;
        border: solid 1px gray;
        position: absolute !important;
        left: 10px !important;
        max-width: 400px;
    }
    #reservationContainer {
        margin-top: 20px;
    }
}

@media (max-width: 767px) {
    #wrap {
        padding: 10px 8px 70px;
    }
    .navbar {
        margin: -10px -8px 0 !important;
    }
    .disciplines {
        display: flex !important;
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
    }
    .disciplines > li {
        float: none;
        flex: 0 0 auto;
    }
    .disciplines li a {
        padding: 8px 6px !important;
        white-space: nowrap;
    }
    #reservationContainer {
        margin-top: 0;
        overflow-x: auto;
        max-width: 100%;
        -webkit-overflow-scrolling: touch;
    }
}

.modal-dialog h1, .modal-dialog h2, .modal-dialog h3,
.modal-dialog h4, .modal-dialog h5, .modal-dialog h6 {
    margin: 0;
}

.tab-pane .table tr:first-child td {
    border-top-width: 0px;
}
.tab-pane .table {
    margin: 0px;
}

.dataTables_filter input {
    height: 34px;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.42857143;
    color: #555;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
}

@media (min-width: 800px) {
    #leaguePlayers_filter,
    #leagueMatchList_filter {
        margin-top: -40px;
    }
}

#dPMatches table td:first-child {
    width: 50%
}

#tournamentMatchList_filter {
    margin-top: -30px;
}

#tournamentMatchList > tbody > tr > td {
    padding: 1px !important;
    vertical-align: middle !important;
}


/* Touch list */
ul.touchlist {

}
.touchlist li {
	padding: 10px;
    width: 25%;
}
ul.touchlist li p {
	margin: 0;
}
.touchlist .listplus-heading {
	margin: 10px 0 1px;
	list-style: none;
	background: red;
	border-radius: 5px 5px 0 0;
	padding: 5px 10px;
    display: block;
    width: 100%;
    color: #fff;
    background-color: #428bca;
    border-color: #428bca;
    text-decoration: none;
    font-size: 20px;
    font-weight: bold;
}

#tournamentPlayers .list-group-item {
    display: inline-table;
    width: 33%;
    border-width: 0px;
}

@media (max-width: 1200px) {
    #tournamentPlayers .list-group-item {
        width: 50%;
    }
}

@media (max-width: 500px) {
    #tournamentPlayers .list-group-item {
        width: 100%;
    }
}

@media (min-width: 1500px) {
    #tournamentPlayers .list-group-item {
        width: 25%;
    }
}

#tournamentPlayers p {
    margin: 0px;
}
#tournamentPlayers .name {
    font-size: large;
}
#tournamentPlayers div.list-group-item:hover {
    color: #555;
    text-decoration: none;
    background-color: #f5f5f5;
}
.ui-hidden {
    display: none !important;
}

.modal-dialog.match #matchVideo {
    height: 240px;
    margin-top: 10px;
    margin-bottom: -5px;
    overflow-y: auto;
    overflow-x: hidden;
}

.modal-dialog.match .row.points div:first-child {
    text-align: right;
}
.modal-dialog.match .row.points div:last-child {
    text-align: left;
}
.modal-dialog.match .points span {
    color: gray;
}
.modal-dialog.match .points span.serve {
    padding-left: 10px;
    padding-right: 10px;
}
.modal-dialog.match .matchPoint div {
    height: 45px;
    font-size: xx-large;
    border: solid 1px black;
    background-color: #eee;
}
.modal-dialog.match .matchPoint div:first-child {
    margin-left: -5px;
    margin-right: 5px;
    float: left;
    width: 45px;
}
.modal-dialog.match .matchPoint div:last-child {
    margin-left: 5px;
    margin-right: -5px;
    float: right;
    width: 45px;
}

.modal-header a[data-dismiss] {
    padding: 15px !important;
    margin: -26px -20px !important;
    position: relative;
    z-index: 10;
}

div.modal .flag-icon,
#tournamentPlayers .flag-icon,
#tournamentMatchList .flag-icon {
    font-size: 18px;
    margin-right: 5px;
}

.label-success, .badge-success {
	background-color: rgb(129, 189, 130) !important;
}
.label-info, .badge-info {
	background-color: rgb(104, 163, 213) !important;
}
.label-default, .badge-default  {
	background-color: #999999 !important;
}

.mobileapp {
    display: inline-block;
    vertical-align: middle;
}
.mobileapp a {
    margin-right: 5px;
    color: #e5c41a !important;
}

.mobileapp a.active {
    color: #000000  !important;
    -webkit-transition: all 1s ease;
    -moz-transition: all 1s ease;
    -o-transition: all 1s ease;
    -ms-transition: all 1s ease;
    transition: all 1s ease;
}

.mobileAppBaner {
    text-align: center;
}

.navbar {
    z-index: 5;
}

.navbarButtons .profileBtnMobile {
    display: none;
}

@media (min-width: 460px) {
    .navbarButtons .dropdown:not(.languagedropdown) .dropdown-menu {
        margin-top: 10px;
    }
    .navbarButtons .dropdown.dropdownlogged:not(.languagedropdown) .dropdown-menu {
        margin-left: -18px;
        margin-top: 10px;
    }
}

@media (max-width: 460px) {
    .mobileapp {
        display: block;
    }
    .mobileAppBaner .mobileAppBanerCaption {
        font-size: 20px !important;;
    }
    .mobileAppBaner a > img {
        max-height: 20px !important;
    }
    .navbarButtons {
        display: flex;
        align-items: center;
    }
    .navbarButtons .dropdown {
        width: auto !important;
    }
    .navbarButtons .dropdown > a.btn {
        width: auto !important;
    }
    .navbarButtons .dropdown > a:not(.btn) {
        margin-right: auto !important;
    }
    .navbarButtons .profileBtn {
        display: none;
    }
    .navbarButtons .profileBtnMobile {
        display: block;
        font-size: large;
        padding: 3px 9px;
    }
    .navbarButtons .dropdown:not(.languagedropdown) .dropdown-menu {
        transform: translate3d(-114px, 0px, 0px);
    }
    .navbarButtons .dropdown.dropdownlogged:not(.languagedropdown) .dropdown-menu {
        transform: translate3d(-130px, 0px, 0px);
    }
    .navbarButtons .dropdown.languagedropdown img {
        margin: 0 !important;
    }
    .leagueHeader,
    .tournamentHeader {
        margin-right: 0 !important;
    }
    .leagueSignInBtn,
    .tournamentSignInBtn {
        padding-right: 0px !important;
        position: relative !important;
        float: right !important;
        top: -10px !important;
    }
    .leagueHeader {
        margin-bottom: -10px !important;
        padding-bottom: 0 !important;
    }
    .leagueSignInBtn {
        top: -25px !important;
    }
    .modal {
        overflow-x: auto !important;
    }
}
a[data-dismiss="modal"].close {
    font-size: 40px;
}

table.dataTable thead .sorting, table.dataTable thead .sorting_asc, table.dataTable thead .sorting_desc, table.dataTable thead .sorting_asc_disabled, table.dataTable thead .sorting_desc_disabled {
    background-repeat: no-repeat;
    background-position: bottom right !important;
}

div.modal-footer {
    padding: 5px;
}

img.grayscale {
    filter: grayscale(100%);
}
img.grayscale:hover {
    filter: grayscale(0%);
}

#tournamentPlayers tr > td:first-child {
    position: relative;
}
#tournamentPlayers .fa-lock {
    right: 5px;
    position: absolute;
    top: 12px;
}
#groups .list-group .list-group-item {
    display: flex !important; align-items: center !important; justify-content: space-between !important;
}

.vgallery {
    line-height: 0px;
    text-align: center;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-around;
}
.vgallery > .item {
    padding: 0;
    width: 380px;
    height: 215px;
    margin-right: 10px;
    margin-bottom: 10px;
    display: inline-block;
    position: relative;
}
.vgallery > .item > img {
    width: 380px;
    opacity: 0.5;
    border-radius: 5px;
}
.vgallery > .item > .fa-play-circle {
    color: red;
    position: absolute;
    left: 160px;
    top: 70px;
}
.vgallery > .item:hover > .fa-play-circle {
    color: yellow;
    cursor: pointer;
}
.vgallery > .item > .info {
    position: absolute;
    left: 0px;
    right: 0px;
    bottom: 0px;
    background-color: #ffffffa1;
    height: 40px;
    color: black;
    text-align: left;
    font-weight: bold;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.vgallery > .item > .t {
    position: absolute;
    left: -115px;
    width: 110px;
    bottom: 0px;
    color: black;
    text-align: right;
    font-weight: bold;
    line-height: normal;
}
.discipline-icon {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    display: flex;
    align-items: flex-end;
}
.discipline-icon img {
    width: 20px !important;
    height: auto !important;
}
.autoscroll {
    position: relative;
    width: 100%;
}
.autoscroll-on, .autoscroll-touch {
    overflow-x: scroll;
}
.autoscroll-on::-webkit-scrollbar, .autoscroll-touch::-webkit-scrollbar {
    display: none;
}
.autoscroll-on, .autoscroll-touch {
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.autoscroll .autoscroll-button {
    position: absolute;
    top: 15px;
    left: 5px;
    z-index: 1;
}
.autoscroll .autoscroll-button .btn-circle {
    width: 30px;
    height: 30px;
    padding: 6px 0px;
    border-radius: 15px;
    text-align: center;
    font-size: 12px;
    line-height: 1.42857;
    background: #fff;
    outline: none !important;
    box-shadow: none !important;
}
.autoscroll-on .autoscroll-button .btn-circle {
    background: #ddd;
}
.autoscrollFloat {
    position: relative;
}
#brackets.autoscroll {
    position: unset;
}
#brackets .autoscroll-button {
    left: unset !important;
    right: 430px !important;
    top: 2px;
}
#bracketTools .btn {
    outline: none !important;
}
.fc-event-title .match .teamName {
    font-size: larger;
    white-space: nowrap;
}
#showEarlierSection > .panel-heading {
    padding: 0;
}
#showEarlierSection > .panel-heading > h5 {
    margin-top: 0;
}
#showEarlierSection [data-toggle="collapse"].collapsed .if-not-collapsed {
  display: none;
}
#showEarlierSection [data-toggle="collapse"]:not(.collapsed) .if-collapsed {
  display: none;
}

.pageContent img {
    max-width: 100%;
    max-height: 100%;
    height: inherit !important;
}

.clubPassesGrid > div {
    width: 280px;
    max-width: 100%;
}
.clubMyPassesGrid {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: flex-start;
}
.clubMyPassesGrid > div {
    width: 400px;
    max-width: 100%;
}
.clubMyPassCard {
    border: 1px solid #e5e5e5;
    border-left: 4px solid #3d85c6;
    padding: 14px 16px;
    border-radius: 4px;
    background: #fff;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
    transition: box-shadow .15s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.clubMyPassCard:hover {
    box-shadow: 0 3px 8px rgba(0,0,0,0.12);
}
.clubMyPassCard .passProgress {
    height: 8px;
    margin: 8px 0 4px;
    background: #eee;
    border-radius: 4px;
    overflow: hidden;
}
.clubMyPassSummaryRow {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-top: 8px;
}
.clubMyPassCard .passUsage {
    font-size: 13px;
    font-weight: 600;
    color: #555;
}
.clubMyPassHistoryToggle {
    display: block;
    margin-top: 10px;
    padding-top: 8px;
    border-top: 1px solid #eee;
    font-size: 12px;
    color: #3d85c6;
    cursor: pointer;
    outline: none;
    text-decoration: none;
}
.clubMyPassHistoryToggle:hover, .clubMyPassHistoryToggle:focus, .clubMyPassHistoryToggle:active {
    outline: none;
    text-decoration: none;
}
.clubMyPassHistoryBody {
    margin-top: 8px;
    max-height: 220px;
    overflow-y: auto;
    overflow-x: auto;
}
.clubMyPassHistoryTable {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
    white-space: nowrap;
}
.clubMyPassHistoryTable th, .clubMyPassHistoryTable td {
    padding: 4px 6px;
    border-bottom: 1px solid #eee;
    text-align: center;
}
.clubMyPassHistoryTable th.clubMyPassHistoryPrice, .clubMyPassHistoryTable td.clubMyPassHistoryPrice {
    text-align: right;
}
.clubMyPassHistoryRow {
    cursor: pointer;
}
.clubMyPassHistoryRow:hover {
    background: #f7f9fb;
}
.clubMyPassHistoryStatus {
    display: inline-block;
    padding: 1px 6px;
    border-radius: 3px;
    font-size: 11px;
    font-weight: 600;
    color: #fff;
}
.clubMyPassHistoryStatus.confirmed {
    background: #5cb85c;
}
.clubMyPassHistoryStatus.new {
    background: #999;
}
.clubMyPassHistoryStatus.cancelled {
    background: #d9534f;
}
.clubMyPassHistoryStatus.info {
    background: #5bc0de;
}
.clubMyPassTopupHistoryList {
    margin-bottom: 10px;
}
.clubMyPassTopupHistoryItem {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 12px;
}
.clubMyPassTopupHistoryItem:last-child {
    border-bottom: none;
}
.clubMyPassTopupHistoryItem .fa-plus-circle {
    color: #5cb85c;
}
.clubMyPassTopupHistoryDate {
    color: #777;
    flex: 1;
}
.clubMyPassTopupHistoryAmount {
    font-weight: 600;
    color: #2e7d32;
}
.clubMyPassUsageRow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.clubMyPassTopupBtn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    line-height: 1;
    background: #5cb85c;
    color: #fff;
    padding: 3px 10px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 11px;
    text-decoration: none;
}
.clubMyPassTopupBtn:hover, .clubMyPassTopupBtn:focus, .clubMyPassTopupBtn:active {
    background: #4cae4c;
    color: #fff;
    text-decoration: none;
    outline: none;
}
.passTopupInfoBox {
    background: #f5f9ff;
    border: 1px solid #dce9fb;
    border-radius: 6px;
    padding: 10px 12px;
    margin-bottom: 14px;
}
.passTopupInfoText {
    margin: 0 0 8px;
    font-size: 13px;
    line-height: 1.5;
    color: #555;
    text-align: justify;
}
.passTopupRangeRow {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.passTopupRangeChip {
    background: #fff;
    border: 1px solid #c6dcf7;
    border-radius: 12px;
    padding: 2px 10px;
    font-size: 12px;
    color: #2c6cb0;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
    line-height: 1.4;
}
.passTopupRangeChip:hover {
    background: #eaf3ff;
}
.passTopupQuickAdd {
    display: flex;
    gap: 4px;
    margin-left: auto;
    flex-wrap: wrap;
}
.passTopupQuickBtn {
    border: 1px solid #c6dcf7;
    background: #fff;
    color: #2c6cb0;
    border-radius: 12px;
    padding: 2px 9px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    line-height: 1.4;
}
.passTopupQuickBtn:hover {
    background: #eaf3ff;
}
.passTopupAmountLabel {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    font-size: 13px;
    color: #333;
}
.bootbox-prompt .bootbox-input-number {
    font-size: 16px;
    height: 40px;
}
.bootbox-prompt .input-group-addon {
    font-weight: 600;
    color: #555;
    background: #f5f5f5;
}