body.tournament-detail-loading #appCapsule > .appHeader,
body.tournament-detail-loading #appCapsule > #actionSheetContent,
body.tournament-detail-loading #appCapsule > .section.full.mt-1 {
    visibility: hidden;
}

body.tournament-detail-loading .tournament-detail-loader,
#appCapsule.tournament-detail-loading .tournament-detail-loader {
    display: flex !important;
}

#sidebarPanel .modal-content {
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

#sidebarPanel .sidebar-logo-fixed {
    flex: 0 0 auto;
    position: sticky;
    top: 0;
    z-index: 30;
    display: block;
    padding: 10px 0 6px;
    background: #fff;
}

#sidebarPanel .modal-body {
    flex: 1 1 auto;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

body.dark-mode-active #sidebarPanel .sidebar-logo-fixed {
    background: #181a20;
}

/* Partido de Ranking calendar.html*/
.rankingMatch{
    color:#fdae04;
}
/* Partido de Reserva calendar.html*/
.reserveMatch{
    color:#32a1ce;
}

#my_matches .matchesListView {
    max-height: 700px; /* Define una altura máxima según tus necesidades */
    overflow-y: auto; /* Permite el desplazamiento vertical si el contenido supera la altura máxima */
}


.listView-spinner {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 80vh; /* Ajusta esto según tus necesidades */
}

.innerSection {
    top: 0px;
    background-color: #fff;
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1000;
}

.innerSection .tab-content {
    height: calc(100vh - 220px);
    overflow-y: scroll;
}

/*Extending Cards Features*/
.row {
    margin-bottom: 30px;
}

.card {
    -webkit-transform: translate3d(0, 0, 0);
    background-size: cover;
    border: 0px !important;
    max-height: 150000px;
    margin-bottom: 30px;
    background-position: center center !important;
}

.cover-slider .card {
    margin-bottom: 0px !important;
}

[data-card-height=cover].card {
    margin-bottom: 0px !important;
}

.card-style {
    overflow: hidden;
    margin: 0px 15px 30px 15px;
    border-radius: 20px;
    border: none;
    box-shadow: 0 4px 24px 0 rgba(0, 0, 0, 0.1);
}

.card-style .card-body {
    padding: 15px;
}

.card-style .card-overlay {
    border-radius: 20px;
}

.card-style-full {
    margin-left: 0px;
    margin-right: 0px;
}

.card-body {
    z-index: 2;
}

.card-header {
    z-index: 2;
    font-size: 20px;
    font-family: system-ui;
    
}

.card-footer {
    z-index: 2;
}

.card-top {
    z-index: 2;
    position: absolute;
    left: 0px;
    right: 0px;
    top: 0px;
}

.card-bottom {
    z-index: 2;
    position: absolute;
    left: 0px;
    right: 0px;
    bottom: 0px;
}

.card-center {
    z-index: 2;
    position: absolute;
    left: 0px;
    right: 0px;
    top: 50%;
    transform: translateY(-50%);
}

.card-overlay {
    left: 0px;
    right: 0px;
    top: 0px;
    bottom: 0px;
    position: absolute;
    z-index: 1;
}

.card-image {
    display: block;
    width: 100%;
    min-height: 250px;
    overflow: hidden;
    position: absolute;
    width: 100%;
}

.card-image img {
    transition: all 450ms ease;
}

.card-fixed {
    position: fixed;
    left: 0px;
    right: 0px;
}

.card-clear {
    pointer-events: none;
    margin-bottom: -30px;
    opacity: 0;
}

.card-overflow {
    overflow: visible !important;
    z-index: 20;
}

[data-card-height] p {
    padding-bottom: 0px;
}

/*Card Effects*/
.card-scale-image {
    transform: scale(1.05, 1.05) !important;
}

.card-rotate-image {
    transform: rotate(5deg) scale(1.2, 1.2) !important;
}

.card-grayscale-image {
    filter: grayscale(100%);
}

.card-blur-image {
    filter: blur(5px);
}

.card-hide-image {
    opacity: 0 !important;
}

.card-hide div {
    transition: all 300ms ease;
}

.card-hide * {
    transition: all 300ms ease;
}

.polaroid-effect {
    background-color: #FFF;
    padding: 5px;
    border: solid 1px rgba(0, 0, 0, 0.1);
}

.card-scale * {
    transition: all 300ms ease;
}

.card-rotate * {
    transition: all 300ms ease;
}

.card-grayscale * {
    transition: all 300ms ease;
}

.card-blur * {
    transition: all 300ms ease;
}

.card-overlay {
    background-position: center center;
    background-size: cover !important;
}

.card-overlay-infinite {
    position: absolute;
    left: 0px;
    right: 0px;
    bottom: 0px;
    width: 2000px;
    height: 100%;
    z-index: 0;
    animation: infiniteBG 600s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
    background-image: url(images/mountain.jpg);
    background-size: cover;
    background-repeat: repeat;
    background-position: left center;
    transform: translateX(0px);
}

@keyframes infiniteBG {
    0% {
        transform: translateX(0px);
    }

    50% {
        transform: translateX(-1400px);
    }

    100% {
        transform: translateX(0px);
    }
}

.card-overlay-zoom {
    position: absolute;
    left: 0px;
    right: 0px;
    bottom: 0px;
    top: 0px;
    height: 100%;
    z-index: 0;
    animation: zoomBG 30s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
    background-size: cover;
    background-repeat: repeat;
    background-position: center center;
    transform: translateX(0px);
}

@keyframes zoomBG {
    0% {
        transform: scale(1, 1);
    }

    50% {
        transform: scale(1.5, 1.5);
    }

    100% {
        transform: scale(1, 1);
    }
}

.card-overlay-rotate {
    position: absolute;
    margin-top: -25%;
    margin-left: -25%;
    width: 150%;
    height: 160%;
    z-index: 0;
    animation: rotateBG 50s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
    background-repeat: repeat;
    background-position: center center;
}

@keyframes rotateBG {
    0% {
        transform: rotate(0deg);
    }

    50% {
        transform: rotate(45deg);
    }

    100% {
        transform: rotate(0deg);
    }
}

/*Card Full Left & Right*/
.theme-dark .drag-line {
    background-color: rgba(255, 255, 255, 0.05);
}

.drag-line {
    width: 45px;
    height: 3px;
    border-radius: 10px;
    background-color: rgba(0, 0, 0, 0.1);
    margin: 15px auto -15px auto;
    animation: moveDragLine 1.5s infinite;
}

@keyframes moveDragLine {
    0% {
        transform: translateY(0px);
    }

    20% {
        transform: translateY(-3px);
    }

    40% {
        transform: translateY(1px);
    }

    45% {
        transform: translateY(0px);
    }
}

.card-full-left,
.card-full-left .card-overlay {
    margin-left: 0px !important;
    border-top-left-radius: 0px !important;
    border-bottom-left-radius: 0px !important;
}

.card-full-right,
.card-full-right .card-overlay {
    margin-right: 0px !important;
    border-top-right-radius: 0px !important;
    border-bottom-right-radius: 0px !important;
}

/*Card Effects*/
.card-scale-image {
    transform: scale(1.05, 1.05) !important;
}

.card-rotate-image {
    transform: rotate(5deg) scale(1.2, 1.2) !important;
}

.card-grayscale-image {
    filter: grayscale(100%);
}

.card-blur-image {
    filter: blur(5px);
}

.card-hide-image {
    opacity: 0 !important;
}

.card-hide div {
    transition: all 300ms ease;
}

.card-hide * {
    transition: all 300ms ease;
}

.polaroid-effect {
    background-color: #FFF;
    padding: 5px;
    border: solid 1px rgba(0, 0, 0, 0.1);
}

.card-scale * {
    transition: all 300ms ease;
}

.card-rotate * {
    transition: all 300ms ease;
}

.card-grayscale * {
    transition: all 300ms ease;
}

.card-blur * {
    transition: all 300ms ease;
}

.card-overlay {
    background-position: center center;
    background-size: cover !important;
}

.card-overlay-infinite {
    position: absolute;
    left: 0px;
    right: 0px;
    bottom: 0px;
    width: 2000px;
    height: 100%;
    z-index: 0;
    animation: infiniteBG 600s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
    background-size: cover;
    background-repeat: repeat;
    background-position: left bottom;
    transform: translateX(0px);
}

@keyframes infiniteBG {
    0% {
        transform: translateX(0px);
    }

    50% {
        transform: translateX(-1400px);
    }

    100% {
        transform: translateX(0px);
    }
}

.walk-card {
    z-index: 2;
}

.walk-bg {
    position: fixed;
    top: 0px;
    left: 0px;
    right: 0px;
    height: 10000px;
    background-repeat: repeat-y;
    background-position: center;
    background-image: url("../images/walk.jpg");
    animation: infibg 700s infinite;
}

@keyframes infibg {
    0% {
        transform: translateY(-45%);
    }

    50% {
        transform: translateY(-100%);
    }
}

.gradient-fade-top {
    z-index: 1;
    top: 0px;
    position: fixed;
    left: 0px;
    right: 0px;
    height: 600px;
}

.gradient-fade-bottom {
    z-index: 1;
    bottom: 0px;
    position: fixed;
    left: 0px;
    right: 0px;
    height: 300px;
    background: linear-gradient(to bottom, rgba(240, 240, 240, 0) 0%, rgba(240, 240, 240, 0.98) 85%, #f0f0f0 100%);
}

.theme-light .gradient-fade-top {
    background: linear-gradient(to top, rgba(240, 240, 240, 0) 0%, rgba(240, 240, 240, 0.95) 60%, #f0f0f0 100%);
}

.theme-light .gradient-fade-bottom {
    background: linear-gradient(to bottom, rgba(240, 240, 240, 0) 0%, rgba(240, 240, 240, 0.98) 85%, #f0f0f0 100%);
}

.theme-dark .gradient-fade-top {
    background: linear-gradient(to top, rgba(27, 29, 33, 0) 0%, rgba(27, 29, 33, 0.95) 70%, #1b1d21 100%);
}

.theme-dark .gradient-fade-bottom {
    background: linear-gradient(to bottom, rgba(27, 29, 33, 0) 0%, rgba(27, 29, 33, 0.8) 75%, #1b1d21 100%);
}

.card-element {
    background-color: #fff;
    padding: 12px;
    border-radius: 4px;
    border: 1px solid #ccc;
    font-size: 16px;
    font-family: 'Source Code Pro', monospace;
    box-shadow: 0 2px 3px rgba(0, 0, 0, 0.1);
    height: 44px;
}

.card-element:focus {
    border-color: #4a90e2;
    box-shadow: 0 2px 3px rgba(74, 144, 226, 0.5);
}

.StripeElement--invalid {
    border-color: #fa755a;
}

.StripeElement--webkit-autofill {
    background-color: #fefde5 !important;
}

.selectableIncidence {
    vertical-align: middle;
    text-align: center;
    padding: 10px;
    cursor: pointer;
    border: 1px solid #ccc;
}

.selectableIncidence.on {
    background-color: #fff;
}

.selectableIncidence.off {
    background-color: #ff0000;
}

.daycol {
    padding: 10px;
    text-align: center;
    background-color: #666;
    color: #fff;
}

.circle {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    color: white;
  }

  div.jQBracket .bracket{
    padding-top:50px;
}
div.jQBracket .teamContainer{
    -webkit-box-shadow: 0px 0px 2px 0px rgba(38,38,38,1);
    -moz-box-shadow: 0px 0px 2px 0px rgba(38,38,38,1);
    box-shadow: 0px 0px 2px 0px rgba(38,38,38,1);
    border-radius: 5px 5px 5px 5px !important;
    -moz-border-radius: 5px 5px 5px 5px !important;
    -webkit-border-radius: 5px 5px 5px 5px !important;
}
div.jQBracket .team{
    background-color: #EBEDEF !important;
    color: #1D2834 !important;
}
div.jQBracket .team.highlight{
    background-color:  #7C8894 !important;
    color: #f0f0f0 !important;
    font-weight: bold !important;
}
div.jQBracket .team.lose{

}
div.jQBracket .team.win{
}
div.jQBracket .team.win div.score{
    color: #009616;
    font-weight: bold;
}
div.jQBracket .team.lose div.score{
    color: #FF0000;
}
div.jQBracket .connector{

}
div.jQBracket .connector.highlight{
    border-color:#455A64 !important;
}
div.jQBracket .team.na div.score{
    color:rgba(165, 166, 167,.3) !important;
}
div.jQBracket .team.na {
    background-color: #a5a6a7 !important;
    font-style: italic !important;
    color: #f5f5f5 !important;
    font-weight: normal;
}
div.jQBracket .connector.highlightWinner {
    border-color: #1e74fd !important;
}
.cuadroFlotanteFecha{
    border-radius: 0px 10px 0px 0px;
    -moz-border-radius: 0px 10px 0px 0px;
    -webkit-border-radius: 0px 10px 0px 0px;
    -webkit-box-shadow: 0px -1px 2px 0px rgba(0,0,0,0.75);
    -moz-box-shadow: 0px -1px 2px 0px rgba(0,0,0,0.75);
    box-shadow: 0px -1px 2px 0px rgba(0,0,0,0.75);		
}
