/* FUENTES */
/* LINDAS COMBINACIONES titulo y subt - 
    Montserrat y Open Sans, 
    Playfair Display y Roboto, 
    Lora y Source Sans Pro, 
    Merriweather y Lato,
    Raleway y Poppins,
    Oswald y PT Sans,
    Ubuntu y Droid Serif
*/

@import url('https://fonts.googleapis.com/css2?family=Montserrat&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Lora&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Raleway&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Open+Sans&display=swap');

.font-montserrat {
    font-family: 'Montserrat', sans-serif;
}
/*Fuente open sans - Similar a Poppins, predefinida por el template*/
.font-opensans {
    font-family: 'Open Sans', sans-serif;
}

.font-raleway {
    font-family: 'Raleway', sans-serif;
}

/*Fuente Lora - Muy parecida a Volkhov, predefinida por el template*/
.font-lora {
    font-family: 'Lora', sans-serif;
}

h1, h2{
    font-family: 'Montserrat', sans-serif !important;
}

/* FUENTES */


html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 0px;
}

.form-floating {
    margin-bottom: 10px;
}

@media (min-width: 576px) {
    .navbar-expand-sm .navbar-nav .nav-link {
        padding: 0.7rem !important;
    }
}

.botones-top-tablas {
    text-align: left;
    margin-bottom: 20px;
}

.brand-link .brand-image {
    float: none;
}


/* PANTALLA VER ZONAS */

.table-padelup {
    font-size: 15px !important;
    text-transform: uppercase;
}

.table img {
    border-radius: 50%;
}

.table td, .table th {
    vertical-align: middle;
}

#boton-volver-a-torneo {
    margin-right: 100px;
}

/* Tamańo de fuente para dispositivos móviles */
@media (max-width: 768px) {
    .table-padelup {
        font-size: 10px !important;
    }

    #boton-volver-a-torneo {
        margin-right: 5px;
    }
}

.menu-inferior {
    padding: 0;
    height: 60px !important;
    position: sticky !important;
    top: 0px;
    z-index: 2;
}

.grupo h2 {
    margin-top: 20px;
    font-weight: bold;
}

.grupo {
    padding-top:10px !important;
    padding-bottom:70px !important;
}






/*EFECTOS del CARROUSEL USADO EN INDEX DE TORNEOS

/*.scene {
    margin: 80px auto;
    width: 210px;
    aspect-ratio: 4 / 5;
    position: relative;
    perspective: 1000px;
}

.carousel {
    width: 100%;
    height: 100%;
    position: absolute;
    transform-style: preserve-3d;
    animation: rotate 30s infinite linear;
}

    .carousel > img {
        position: absolute;
        left: 0;
        top: 0;
        border-radius: 10px;
        width: 190px;
        aspect-ratio: 4 / 5;
        transform: rotateY(var(--i)) translateZ(288px);
    }

@keyframes rotate {
    0% {
        transform: rotateY(360deg);
    }

    100% {
        transform: rotateY(0deg);
    }
}*/


/*!
 * Responsive Tournament Bracket
 * Copyright 2016 Jakub Hájek
 * Licensed under MIT (https://opensource.org/licenses/MIT)
 */

/*//
// GOOGLE FONT
// ---------------------------
@import 'https://fonts.googleapis.com/css?family=Work+Sans:300,400,600,700&subset=latin-ext';


//
// VARIABLES
// ---------------------------
@breakpoint-xs: 24em;
@breakpoint-sm: 38em;
@breakpoint-md: 52em;
@breakpoint-lg: 72em;


//
// GENERAL RULES
// ---------------------------
* {
    &, &::before, &::after

{
    box-sizing: border-box;
}

}

html {
    font-size: 15px;

    @media (min-width: @breakpoint-sm) {
        font-size: 14px;
    }

    @media (min-width: @breakpoint-md) {
        font-size: 15px;
    }

    @media (min-width: @breakpoint-lg) {
        font-size: 16px;
    }
}

body {
    background-color: #f1f1f1;
    font-family: 'Work Sans', 'Helvetica Neue', Arial, sans-serif;
}

.container {
    width: 90%;
    min-width: 18em;
    margin: 20px auto;
}

h1, h2 {
    text-align: center;
}

h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5em;
}

h2 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 2em;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    border: 0;
}


//
// TOURNAMENT BRACKET
// ---------------------------
.tournament-bracket {
    display: flex;
    flex-direction: column;

    @media (min-width: @breakpoint-sm) {
        flex-direction: row;
    }
}

.tournament-bracket__round {
    display: block;
    margin-left: -3px;
    flex: 1;
}

.tournament-bracket__round-title {
    color: #9e9e9e;
    font-size: 0.95rem;
    font-weight: 400;
    text-align: center;
    font-style: italic;
    margin-bottom: 0.5em;
}

.tournament-bracket__list {
    display: flex;
    flex-direction: column;
    flex-flow: row wrap;
    justify-content: center;
    height: 100%;
    min-height: 100%;
    border-bottom: 1px dashed #e5e5e5;
    padding-bottom: 2em;
    margin-bottom: 2em;
    transition: padding 0.2s ease-in-out, margin 0.2s ease-in-out;

    @media (max-width: @breakpoint-xs) {
        padding-bottom: 1em;
        margin-bottom: 1em;
    }

    @media (min-width: @breakpoint-sm) {
        margin-bottom: 0;
        padding-bottom: 0;
        border-right: 1px dashed #e5e5e5;
        border-bottom: 0;
    }

    .tournament-bracket__round:last-child &

{
    border: 0;
}

}

.tournament-bracket__item {
    display: flex;
    flex: 0 1 auto;
    justify-content: center;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    padding: 2% 0;
    width: 48%;
    transition: padding 0.2s linear;
    &:nth-child(odd)

{
    margin-right: 2%;
}

&:nth-child(even) {
    margin-left: 2%;
}

&::after {
    transition: width 0.2s linear;
}

@media (max-width: @breakpoint-xs) {
    width: 100%;

    &:nth-child(odd),
    &:nth-child(even) {
        margin-left: 0;
        margin-right: 0;
    }
}

@media (min-width: @breakpoint-sm) {
    padding: 0.5em 1em;
    // flex-grow: 2;
    width: 100%;

    &:nth-child(odd),
    &:nth-child(even) {
        margin: 0;
    }

    &::after {
        position: absolute;
        right: 0;
        content: '';
        display: block;
        width: 1em;
        height: 45%;
        border-right: 2px solid #9e9e9e;
    }

    &:nth-child(odd)::after {
        top: 50%;
        border-top: 2px solid #9e9e9e;
        transform: translateY(-1px);
        .tournament-bracket--rounded &

{
    border-top-right-radius: 0.6em;
}

}

&:nth-child(even)::after {
    bottom: 50%;
    border-bottom: 2px solid #9e9e9e;
    transform: translateY(1px);
    .tournament-bracket--rounded &

{
    border-bottom-right-radius: 0.6em;
}

}

.tournament-bracket__round:first-child & {
    padding-left: 0;
}

.tournament-bracket__round:last-child & {
    padding-right: 0;
    &::after

{
    display: none;
}

}

.tournament-bracket__round:nth-last-child(2) & {
    &::after

{
    border-radius: 0;
    border-right: 0;
}

}
}

@media (min-width: @breakpoint-lg) {
    padding: 0.5em 1.5em;

    &::after {
        width: 1.5em;
    }
}

}


.tournament-bracket__match {
    display: flex;
    width: 100%;
    background-color: #ffffff;
    padding: 1em;
    border: 1px solid transparent;
    border-radius: 0.1em;
    box-shadow: 0 2px 0 0 #e5e5e5;
    outline: none;
    cursor: pointer;
    transition: padding 0.2s ease-in-out, border 0.2s linear;
    &:focus

{
    border-color: #2196F3;
}

&::before,
&::after {
    transition: all 0.2s linear;
}

@media (max-width: @breakpoint-xs) {
    padding: 0.75em 0.5em;
}

@media (min-width: @breakpoint-sm) {
    &::before,
    &::after {
        position: absolute;
        left: 0;
        z-index: 1;
        content: '';
        display: block;
        width: 1em;
        height: 10%;
        border-left: 2px solid #9e9e9e;
    }

    &::before {
        bottom: 50%;
        border-bottom: 2px solid #9e9e9e;
        transform: translate(0, 1px);
        .tournament-bracket--rounded &

{
    border-bottom-left-radius: 0.6em;
}

}

&::after {
    top: 50%;
    border-top: 2px solid #9e9e9e;
    transform: translate(0, -1px);
    .tournament-bracket--rounded &

{
    border-top-left-radius: 0.6em;
}

}
}

@media (min-width: @breakpoint-lg) {
    &::before,
    &::after {
        width: 1.5em;
    }

    &::before {
        transform: translate(0, 1px);
    }

    &::after {
        transform: translate(0, -1px);
    }
}

}

.tournament-bracket__round:last-child .tournament-bracket__match {
    &::before, &::after

{
    border-left: 0;
}

&::before {
    border-bottom-left-radius: 0;
}

&::after {
    display: none;
}

}

.tournament-bracket__round:first-child .tournament-bracket__match {
    &::before, &::after

{
    display: none;
}

}

.tournament-bracket__content {
    display: flex;
    &::after

{
    content: ':';
    width: 1em;
    text-align: center;
    padding: 0.2em 0.1em;

    @media (min-width: @breakpoint-sm) {
        order: 1;
    }
}

& .tournament-bracket__team:first-child {
    width: 50%;
    order: 0;
    text-align: right;

    @media (min-width: @breakpoint-sm) and (max-width: @breakpoint-md) {
        align-items: flex-end;
    }

    & .tournament-bracket__country

{
    order: 2;
    justify-content: flex-end;

    @media (min-width: @breakpoint-xs) {
        order: 0;
    }

    @media (min-width: @breakpoint-sm) and (max-width: @breakpoint-md) {
        flex-direction: column-reverse;
        align-items: flex-end;
    }
}

& .tournament-bracket__score {
    order: 0;

    @media (min-width: @breakpoint-xs) {
        order: 2;
    }
}

}

& .tournament-bracket__team:last-child {
    width: 50%;
    order: 2;
    text-align: left;

    @media (min-width: @breakpoint-sm) and (max-width: @breakpoint-md) {
        align-items: flex-start;
    }

    & .tournament-bracket__country

{
    @media (min-width: @breakpoint-sm) {
        justify-content: flex-start;
    }

    @media (min-width: @breakpoint-sm) and (max-width: @breakpoint-md) {
        align-items: flex-start;
    }
}

.tournament-bracket__code {
    order: 1;
}

}
}


.tournament-bracket__table {
    width: 100%;
}

.tournament-bracket__caption {
    font-size: 0.8rem;
    color: #BDBDBD;
    font-weight: 300;
    padding-bottom: 0.75em;
}

.tournament-bracket__team {
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;

    @media (min-width: @breakpoint-xs) {
        flex-direction: column-reverse;
    }

    @media (min-width: @breakpoint-sm) {
        flex-direction: column-reverse;
    }
}

.tournament-bracket__country {
    font-size: 0.95rem;
    display: flex;
    margin-top: 0.5em;
    align-items: center;

    @media (max-width: @breakpoint-xs) {
        margin-top: 0;
    }

    @media (min-width: @breakpoint-sm) and (max-width: @breakpoint-md) {
        display: flex;
        flex-direction: column;

        .tournament-bracket__code {
            margin-top: 0.2em;
        }
    }
}

.tournament-bracket__code {
    padding: 0 0.5em;
    color: #212121;
    font-weight: 600;
    text-transform: uppercase;
    border: 0;
    text-decoration: none;
    cursor: help;
    transition: padding 0.2s ease-in-out;

    @media (max-width: @breakpoint-xs) {
        padding: 0 0.25em;
    }

    @media (min-width: @breakpoint-sm) and (max-width: @breakpoint-md) {
        padding: 0;
    }
}

.tournament-bracket__score {
    display: flex;
    align-items: center;
    .tournament-bracket__team:first-child &

{
    flex-direction: row-reverse;
    padding-left: 0.75em;
}

.tournament-bracket__team:last-child & {
    padding-right: 0.75em;
}

}

.tournament-bracket__number {
    display: inline-block;
    padding: 0.2em 0.4em 0.2em;
    border-bottom: 0.075em solid transparent;
    font-size: 0.95rem;
    background-color: #F5F5F5;
    border-color: spin(shade(#F5F5F5, 10%), -10);
    .tournament-bracket__team--winner &

{
    background-color: #FFF176;
    border-color: spin(shade(#FFF176, 2%), -10);
}

}

.tournament-bracket__medal {
    padding: 0 0.5em;
}

.tournament-bracket__medal--gold {
    color: #FFD700;
}

.tournament-bracket__medal--silver {
    color: #C0C0C0;
}

.tournament-bracket__medal--bronze {
    color: #CD7F32;
}*/
