html,
body,
body.swal2-height-auto {
    height: 100% !important;
}

html {
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
    color: white !important;
}

:root {
    --low_orange: #fdb42f;
}

.tooltip {
    font-size: 15px;
}

i {
    vertical-align: middle;
}

.tooltips-alan {
    background-color: transparent !important;
    border: 1px solid darkturquoise;
    width: 50px;
    padding: 7px !important;
    margin: 5px;
    border-radius: 0.1cm;
    text-align: center;
}

.tooltips-alan i {
    font-size: 19px;
    margin-bottom: 1px !important;
}

.tooltips-alan:hover {
    border-color: rgb(30 80 126) !important;
    background-color: white !important;
}

.tooltips-alan i:hover {
    color: rgb(30 80 126) !important;
}

.borderTurquoise {
    border-color: darkturquoise;
}

.borderGreen {
    border-color: #55c75a
}

.borderGrey {
    border-color: #696969
}

.borderRed {
    border-color: #d71d1d;
}

.backGreen {
    background-color: #518a54;
}

.colorTurquoise {
    color: darkturquoise;
}

.colorGreen {
    color: #55c75a
}

.colorRose {
    color: #ffb0b0;
}

.colorGrey {
    color: #696969
}

.colorOrange {
    color: #f3c10e;
}

.borderRose {
    border-color: #ffb0b0;
}

.borderBrown {
    border-color: #C4A484;
}

.borderPurple {
    border-color: #e49ae4;
}

.borderOrange {
    border-color: #f3c10e;
}

.colorRed {
    color: #d71d1d;
}

.colorBrown {
    color: 	#C4A484;
}

.colorPurple {
    color: #e49ae4;
}

.btnTo {
    color: white !important;
}

.btnRegister {
    background-color: #518a54 !important;
    border-color: #487a4a !important;
    width: 128px;
    padding: 0;
}

.btnOrange {
    background-color: #f96c08 !important;
    border-color: #aa4a05 !important;
    width: 128px;
    padding: 0;
}

.btnRegister:hover {
    background-color: #314352 !important;
    border-color: #ccd1d6 !important;
}

.btnRed {
    background-color: #7c0707 !important;
    border-color: #660101 !important;
}

.btnRed:hover {
    background-color: #314352 !important;
    border-color: #394e5f !important;
}

.btnInvitado {
    background-color: #542c9b !important;
    border-color: #542c9b !important;
    width: 128px;
}

.btnInvitado:hover {
    background-color: #314352 !important;
    border-color: #394e5f !important;
}

.acciones {
    display: grid;
}

table {
    border-collapse: inherit !important;
}

.actions a:nth-child(2) {
    /* margin-top: 10px; */
}

td,
th {
    padding: 1.0rem 0.5em;
    /* font-size: 1.4rem; */
    /* text-align: center!important; */
}

th a {
    padding: 1.0rem 0rem;
    /* font-size: 1.4rem; */
    color: white !important;
    /* text-align: center!important; */
}

th.actions {
    color: #606c76;
}

.banner {
    min-width: 100%;
}

.top5 {
    border: 2px solid lightgrey;
    background-color: rgba(0, 0, 0, 0.7);
    box-shadow: rgb(30, 80, 126) 1px 1px 10px 1px;
    border-radius: 20px;
    padding: 15px;
    width: 47%;
    transition: all .5s ease-in-out;
}

.top5:hover {
    transform: scale(1.05);
    background-color: rgba(11, 20, 29, 0.6);
    ;
}

.top5:hover td,
.top5:hover th,
.top5:hover h2 {
    color: white !important;
}

@media (max-width: 768px) {
    .top5:hover {
        transform: scale(1.05);
    }
}

.ranking {
    display: flex;
    justify-content: space-around;
}


/* .banner {
    width: auto;
    max-width: none;
    min-height: 100px;
}

@media (min-width: 1050px) {
    .banner {
        width: 100%;
        max-width: 100%;
        min-height: none;
    }
} */

.formMobile,
.formMobileAdmin {
    display: none;
}

@media (max-width: 1200px) {
    .formMobileAdmin {
        display: block;
        margin-top: 25px;
        padding: 0 20px;
    }

    .formPCAdmin {
        display: none !important;
    }

    .torneoList {
        max-width: 650px;
        margin: 0 auto 30px auto;
    }

    .torneoList .botonesList a {
        width: 120px !important;
    }
}

@media (max-width: 990px) {
    .emailOculto {
        display: none;
    }
}

@media (max-width: 992px) {
    main {
        margin-top: 53px !important;
    }

    .navbar {
        position: fixed;
        width: 100%;
        z-index: 1500;
    }

    .campos {
        flex-direction: column;
    }

    .top5 {
        margin-top: 30px;
    }

    .formMobile {
        display: block;
        margin-top: 25px;
    }

    .formPC {
        display: none !important;
    }

    h2 {
        text-align: center;
    }

    .bordeMobile {
        border-top: 3px dashed white;
        /* margin-top: -22px; */
    }

    .busquedaEstilo,
    .formBusqueda {
        display: flex;
        flex-direction: column;
    }

    .busqueda {
        margin: 20px auto 0 auto;
    }

    .botonBusqueda {
        width: 145.3px;
        margin: 0 !important;
    }
}

@media (max-width: 540px) {
    #footer {
        height: auto;
        line-height: 40px;
    }
}

@media (max-width: 540px) {
    .escudo {
        /* display: none; */
    }

    .torneos {
        justify-content: center !important;
    }

    .divEscudoMobile {
        text-align: center;
    }

    .escudoMobile {
        width: 100px !important;
        height: 100px !important;
        margin: 0 0 20px 0 !important;
    }

    .torneoMobile {
        flex-direction: column-reverse;
    }
}

@media (max-width: 992px) {
    .mobilePicture {
        margin: 0 auto !important;
        display: flex;
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .ranking {
        flex-direction: column;
    }

    .top5 {
        width: 100%;
    }

    .pagination li a,
    p {
        font-size: 12px;
    }
}

.botonBusqueda {
    vertical-align: bottom;
}

@media (max-width: 525px) {
    .pagination li a {
        display: none;
    }

    /*.pagination li a,
    p {
        display: none;
    }
    ALAN*/
    .prev a,
    .next a,
    .last a,
    .mostrar a {
        display: block !important;
    }
}

@media (max-width: 465px) {
    .actionButton {
        display: flex;
        flex-direction: column;
    }
}

button,
.btnTo {
    font-size: 1.15rem !important;
}

@media (max-width: 992px) {

    .rankingPC,
    .oculto {
        display: none;
    }
}

@media (max-width: 768px) {
    .mobileDiv {
        max-width: 60% !important;
    }

    .mobileFieldset {
        width: auto !important;
    }
}

@media (max-width: 440px) {
    .mobileDiv {
        max-width: 70% !important;
    }
}

.forgetPass:hover {
    color: #fdb42f !important;
}

button,
.button,
b {
    transition: all 0.2s linear;
    /* width: 161px; */
}

.boton161 {
    width: 161px !important;
}

button:hover,
.button:hover {
    color: #fdb42f !important;
    text-decoration: none;
    background-color: #314352 !important;
    border-color: #fdb42f !important;
}

.botonEye {
    border: none;
    background-color: transparent;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
    color: black;
    text-align: center;
    transition: all .3s ease;
}

.botonEye:hover {
    color: #fdb42f !important;
}

html {
    font-size: 11px;
}

@media (max-width: 440px) {
    html {
        font-size: 10px;
    }
}

.asc::after {
    display: none;
}

.clubesMobile {
    display: none !important;
}

.loginMobile {
    display: none;
    width: 45px !important;
}

.loginMobile i {
    font-size: 20px !important;
}

.tenisMobile {
    display: none;
}

@media (max-width: 992px) {
    .loginMobile {
        display: block;
    }

    .clubesMobile {
        display: flex !important;
    }

    .tenisMobile {
        display: block;
        position: absolute;
        right: 0;
    }

    .tenisPC {
        display: none;
    }

    .home-div div {
        flex: 0 0 30% !important;
    }
}


/* @media (min-width: 992px) {
    .tenisMobile {
        display: none;
    }
} */

@media (max-width: 440px) {
    .loginMobile {
        /*width: 100px;*/
    }
}

.bienvenido:hover {
    color: #fdb42f !important;
}

.error-container {
    height: 70vh !important;
}

.errorDiv {
    background-color: rgb(28 53 76 / 60%) !important;
    border: 1px solid lightgrey;
    border-radius: 5px;
    padding: px;
    padding: 20px;
    text-align: center;
}

.errorA a {
    text-shadow: 2px 2px 2px black;
}

.errorA {
    margin-top: 20px;
}

@media (max-width: 550px) {
    .botonFoto {
        width: 160px;
    }
}

@media (max-width: 440px) {
    .botonFoto {
        width: 150px;
    }
}

.volverBoton u:hover {
    color: #fdb42f;
}

.message.error {
    margin-top: 20px;
}

.inputRecover {
    width: 302px !important;
    display: block;
}

.campos-recover {
    width: 302px;
    margin: 0 auto;
}

@media (max-width: 375px) {
    .content-recover {
        padding: 1rem !important;
    }
}

a:hover,
u:hover,
b:hover {
    text-decoration: none;
}

.content {
    margin-bottom: 80px !important;
}


/* .footerAbsolute {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 60px;
    line-height: 60px;
    background-color: #f5f5f5;
}

.footerRelative {
    width: 100%;
    height: 60px;
    line-height: 60px;
    background-color: #f5f5f5;
} */

.clubes-banner {
    min-height: 115px;
}

body {
    display: flex;
    flex-direction: column;
    height: 100vh;
    margin: 0;
}

.footerFixed {
    min-height: 38px;
    line-height: 38px;
    margin-top: auto;
}

.btnAgregarTorneo {
    position: absolute;
    margin-top: 0;
    top: 0;
    right: 0;
}

@media (max-width: 992px) {
    .btnAgregarTorneo {
        position: relative;
    }

    .hrTorneo {
        display: block;
    }
}


/* ULTIMOS CAMBIOS */


/* CUSTOM MENU */

.dropdown-menu {
    background-color: #cfcfcf !important;
}

.dropdown-item:hover {
    background-color: #afafaf !important;
}

h5.dropdown-header {
    color: #051224;
}

hr {
    border-top: 1px solid rgba(246, 243, 243, 50%) !important;
}

.closebtn:hover {
    color: #fdb42f !important;
}

.sidenav {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 1;
    top: 0;
    left: 0;
    background-color: #fff;
    overflow-x: hidden;
    transition: 0.5s;
    padding-top: 60px;
}

.sidenav a {
    text-decoration: none;
    font-size: 20px;
    color: #051224;
    display: block;
    transition: 0.3s;
}

.sidenav a:hover {
    color: #0b2a55;
}

.sidenav .closebtn {
    position: absolute;
    top: 0;
    right: 25px;
    font-size: 25px;
    margin-left: 50px;
}


@media screen and (max-height: 450px) {
    .sidenav {
        padding-top: 15px;
    }

    .sidenav a {
        font-size: 18px;
    }
}


/* ---------------------------------------------------- 18/9 */

.ultimos-torneos-h2 {
    font-weight: bold;
    margin-bottom: 15px;
    margin-top: 30px;
}

.top5-h2 {
    text-align: center;
    margin-bottom: 15px;
    font-weight: bold;
}

.tournamentIndex {
    /* max-width: 850px; */
    /* margin: 0 auto 12px auto; */
    max-width: none;
    width: 100%;
    height: calc(100vh - 53px);
    border: none;
    border-radius: 0;
    padding: 0;
    margin: 0 !important;
}

.home-div {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 10% 150px 10%;
    height: 100%;
}

.home-div div {
    flex: 0 0 45%;
}

.carousel {
    box-shadow: white 0px 0px 13px 4px;
}

.carousel img {
    margin-bottom: 0;
}

.left-container h1 {
    font-size: 40px;
    font-weight: bold;
    text-shadow: 1px 1px 1px black;
}

.left-container p {
    font-size: 22px;
    margin-top: 20px;
    text-shadow: 1px 1px 1px black;

}

.clubes-banner {
    height: 120px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.club-img {
    /* padding: 10px 20px; */
    margin: 0 10px !important;
    width: 90px;
    height: 90px;
}

.btn-primary {
    background-color: rgb(30, 80, 126) !important;
    border-color: rgb(30, 80, 126) !important;
}


/* 
@media (max-width: 992px) {
    .clubes-banner {
        height: 120px;
    }
} */

@media (max-width: 768px) {
    .club-img {
        padding: 10px 10px;
    }
}

@media (max-width: 380px) {
    .club-img {
        margin: 0 !important;
        width: 85px;
        height: 85px;
    }
}

.content-rankings {
    max-width: 750px;
    margin: 0 auto;
}

.grid-form {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 15px;
}

@media (max-width: 768px) {
    .grid-form {
        grid-template-columns: repeat(1, 1fr);
        column-gap: 0px;
    }
}

@media (max-width: 400px) {
    .input {
        max-width: 235px !important;
    }
}


/* ////////////////////////// */

.sidenav {
    top: 53px !important;
}

.navbar-toggler {
    z-index: 10;
}

.sidenav {
    width: 0px;
}

.navbar {
    height: 53px !important;
}

.active-navbar {
    width: 250px;
    border-right: 1px solid grey;
    z-index: 4;
}

.toggleNav {
    display: none;
    z-index: 10;
    background-color: rgb(17 59 101);
    width: 40px;
    height: 40px;
    color: black;
    position: relative;
    align-items: center;
    justify-content: center;
    padding: 0;
    border-color: white;
    border-radius: 4px;
    overflow: hidden;
}

.toggleNav:focus {
    background-color: rgb(17 59 101);
    outline: none;
    border-color: white;
}

.toggleNav:hover {
    background-color: #082340 !important;
}

.toggleNav span {
    width: 20px;
    height: 3px;
    background-color: white;
    position: absolute;
    border-radius: 4px;
    left: 10px;
    transition: .5s;
}

.toggleNav.activeToggle span {
    background-color: #fbc460;
}

.toggleNav span:nth-child(2) {
    width: 10px;
    transform: translateY(10px);
}

.toggleNav span:nth-child(3) {
    width: 15px;
    transform: translateY(-10px);
}

.toggleNav.activeToggle span:nth-child(1) {
    transform: translateX(60px);
}

.toggleNav.activeToggle span:nth-child(2) {
    width: 20px;
    transform: translateY(0px) rotate(405deg);
    transition-delay: 0.125s;
}

.toggleNav.activeToggle span:nth-child(3) {
    width: 20px;
    transform: translateY(0px) rotate(315deg);
    transition-delay: 0.25s;
}

@media (max-width:992px) {
    .toggleNav {
        display: flex;
    }
}

.escudo {
    filter: drop-shadow(-2px -2px 3px white) drop-shadow(2px 2px 3px white);
    width: 170px;
    height: 170px;
    margin: 12px 0 0 0;
}


/* body, h1,h2,h3,h4,h5,h6,p,span, label, input,select, a,b,ul,li th,td{
    font-family: 'Candal', sans-serif!important;
} */

h2 {
    line-height: 3rem;
}


/* TOURNAMENT CARDS */

.tournament_card {
    /* background-color: rgba(0, 0, 0, 0.3); */
    /* border: 1px solid white; */
    border-radius: 5px;
    transition: all .3s ease-in-out;
    display: flex;
    justify-content: space-evenly;
    margin-bottom: 40px;
    align-items: center;
    padding: 40px 10px;
}

.tournament-active {
    background-color: rgba(0, 0, 0, 0.7);
    margin-top: 10px;
    box-shadow: rgb(30 80 126) 1px 1px 10px 1px;
    max-width: 900px;
    margin: 70px auto 100px auto;
    padding: 10px;
    border-radius: 20px;
}

.clubs {
    /* background-color: rgba(0, 0, 0, 0.7); */
    margin-top: 10px;
    /* box-shadow: rgb(30 80 126) 1px 1px 10px 1px; */
    /* margin: 70px auto 100px auto; */
    padding: 10px;
    border-radius: 20px;
}

.last-tournaments {
    background-color: rgba(0, 0, 0, 0.7);
    margin-top: 10px;
    box-shadow: rgb(30 80 126) 1px 1px 10px 1px;
    max-width: 90%;
    margin: 75px auto 100px auto;
    padding: 20px 90px;
    border-radius: 20px;
}

.last-tournaments hr {
    border-top: 1px solid rgba(25, 142, 249, 0.377) !important;
}

.ranking {
    /* background-color: rgb(242, 243, 253); */
    padding: 100px;
}

.clubs-container {
    /* background-color: rgb(242, 243, 253); */
    padding: 20px;
}

@media (max-width: 992px) {
    .home-div {
        flex-direction: column;
    }

    .left-container {
        margin: 50px auto 25px auto;
    }

    .tournament-active {
        margin: 0 auto 30px auto;
    }

    .last-tournaments {
        padding: 20px;
    }

    .tournament-active {
        max-width: 90%;
    }

    .top-5 {
        max-width: 90%;
    }

    .ranking {
        padding: 40px 20px;
    }
}

.tournament-active h1,
.tournament-active .title_tournament,
.top5-h2,
.top5 th,
.top5 td,
.last-tournaments h2,
.last-tournaments th,
.last-tournaments td,
.last-tournaments a,
.clubs-container h1 {
    color: white !important;
}

.tournament_card:hover {
    /* background-color: rgba(0, 0, 0, 0.7); */
    /* transform: scale(1.03); */
}

.tournament_card .escudo {
    transition: all .6s ease-in-out;
}

.tournament_card:hover .escudo {
    filter: drop-shadow(-2px -2px 6px rgb(30 80 126)) drop-shadow(2px 2px 6px rgb(30 80 126));
    transform: scale(1.05);
}

.title_tournament {
    text-align: center;
    font-weight: bold;
    font-size: 22px;
    transition: all .6s ease-in-out;
}

.tournament_card:hover .title_tournament {
    color: #fdb42f;
}

.whiteh2 {
    color: white !important;
}

@media (max-width: 500px) {

    .text_tournament,
    label {
        font-size: 14px !important;
    }
}


/* TOURNAMENT CARDS */
.g-signin2 {
    margin-right: 10px;
}

.error-message {
    color: orange;
    text-shadow: 2px 2px 1px black;
    margin-bottom: 20px;
}

.form-error {
    border: 4px solid orange !important;
}

.abcRioButtonContentWrapper {
    display: flex !important;
    align-items: center !important;
}

.abcRioButtonLightBlue {
    height: 40px !important;
    width: 33px !important;
}

.navbar_img_container {
    display: flex;
    height: 40px;
    margin: 0 20px;

}

@media (max-width: 1150px) {
    .navbar_img_container {
        display: none;
    }
}

.navbar_img,
.navbar_img img {
    height: 100%;
    width: auto;
    margin: 0 auto 0 5px;
    transition: all .4s ease-in-out;
}

.navbar_img:hover {
    filter: drop-shadow(0 0 5px orange);
}

/* CLUBS */

.club_card {
    display: flex;
    flex-direction: column;
    width: 175px;
    margin: 20px auto;
}

.club_card p {
    font-weight: bold;
    font-size: 20px;
    text-align: center;
}

.club_card img {
    max-width: 150px;
    margin: 0 auto;
    filter: drop-shadow(-2px -2px 3px white) drop-shadow(2px 2px 3px white);

}

.clubs_cards {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;

    /* max-width: 425px; */
    margin: 30px auto 10px auto;
}

.buttonClub {
    flex-grow: 1;
    margin: 10px;
    background-color: rgba(0, 0, 0, 0.4);
    border: 1px solid white;
    border-radius: 15px;
    transition: all .4s ease-in-out !important;
}

.buttonClub:hover {
    background-color: rgba(0, 0, 0, 0.8);
    transform: scale(1.1);
    border: 1px solid var(--low_orange);
}

.buttonClub p {
    transition: all .4s ease-in-out;
}

.buttonClub:hover p {
    color: var(--low_orange) !important;

}

.buttonClub img {
    transition: all .6s ease-in-out;
}

.buttonClub:hover img {
    filter: drop-shadow(-2px -2px 3px var(--low_orange)) drop-shadow(2px 2px 3px var(--low_orange));
}

@media (max-width: 768px) {
    .clubs_cards {
        grid-template-columns: 100%;
    }

    .club_card img {
        height: 100px;
        width: 100px;
        margin: 0 auto;
    }
}

.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
    color: black !important;
}

.select2-results__option--selectable {
    color: black !important;
}

.modal-header {
    min-height: 60px !important;
}

@media (max-width: 992px) {
    .hide-mobile {
        display: none;
    }
}

.logged_user {
    background-color: rgba(30, 80, 126, 0.658);
}

.active-user {
    background-color: rgb(176, 48, 48);
}

.desafio-user {
    background-color: rgba(205, 247, 193, 39%);
}

.count-challenges {
    background-color: #268d48d6;
    width: 25px;
    display: inline-block;
    height: 24px;
    text-align: center;
    border-radius: 50%;
    font-size: 15px;
    border: 1px solid #c3c3c3;
}
