/* desplazamiento del menu */
:root {
    /* --color-primary: rgb(175, 30, 34);
    --color-primary-rgb: 175, 30, 34;

    --color-secondary: rgb(237, 29, 35);
    --color-secondary-rgb: 237, 29, 35;

    --color-tertiary: rgb(5, 5, 4);
    --color-tertiary-rgb: 5, 5, 4;

    --color-fourth: rgb(0, 0, 0);
    --color-fourth-rgb: 0, 0, 0; */

    /* --color-primary: rgb(163, 22, 81);
    --color-primary-rgb: 163, 22, 81;

    --color-secondary: rgb(226, 123, 29);
    --color-secondary-rgb: 226, 123, 29;

    --color-tertiary: rgb(218, 22, 81);
    --color-tertiary-rgb: 218, 22, 81;

    --color-fourth: rgb(163, 22, 81);
    --color-fourth-rgb: 163, 22, 81; */

    --color-primary: rgb(36, 42, 91);
    --color-primary-rgb: 36, 42, 91;

    --color-secondary: rgb(69, 79, 135);
    --color-secondary-rgb: 69, 79, 135;

    --color-tertiary: rgb(6 10 33);
    --color-tertiary-rgb: 6, 10, 33;

    --color-fourth: rgb(10, 10, 10);
    --color-fourth-rgb: 10, 10, 10;

}

.vh-25 {
    height: 25vh;
}

.text-grey {
    color: grey !important;
}

.table-dark td,
.table-dark th {
    background-color: var(--color-fourth) !important;
}

.select2-dropdown--below.select2-dropdown {
    top: -40px;
}

.upLetter {
    text-transform: uppercase;
}

.text-justify {
    text-align: justify;
}

.text-bg-primary {
    background-color: var(--color-primary) !important;
}

.text-bg-secondary {
    background-color: var(--color-secondary) !important;
}

#menu {
    /* margin-top: -100vh !important; */
    /* max-height: 60px; */
    /* margin-bottom: 80vh !important; */
    margin-bottom: -20vh;
    z-index: 1020;
    position: relative;
    height: 20vh;
    display: flex;
    align-items: center;
}

#menu.bg-dark {
    background-color: var(--color-fourth) !important;
}

#menu .close {
    position: absolute;
    color: var(--color-primary);
    right: 1.5rem;
    top: 0.5rem;
}

#menu .nav-link {
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    color: white;
    padding: 0 15px;
    font-family: 'webfont-1P7Y8R9FDE';
    font-weight: 100 !important;
    letter-spacing: 1px;
}

#menu .dropdown-menu {
    border-radius: 0;
    border: none;
    background-color: var(--color-tertiary);
    padding: 15px 8px;
}

#menu .dropdown-menu .dropdown-item {
    color: white;
    text-transform: uppercase;
    padding-bottom: 5px;
}

#menu .dropdown-menu .dropdown-item::selection,
#menu .dropdown-menu .dropdown-item:focus,
#menu .dropdown-menu .dropdown-item:active,
#menu .dropdown-menu .dropdown-item:hover {
    background-color: var(--color-primary);
    color: white;
}

.gold i {
    color: gold;
}

.plate i {
    color: white;
}

.bronze i {
    color: orangered;
}

.personSwiper-pagination .swiper-pagination-bullet {
    width: 80px;
    height: 4px;
    border-radius: 4px;
    background-color: var(--color-primary);
    opacity: 0.5;
    transition: opacity 0.3s ease;
    margin: 0 4px;
}

.personSwiper-pagination .swiper-pagination-bullet-active {
    opacity: 1;
}

.btn.disabled,
.btn:disabled,
fieldset:disabled .btn {
    color: rgba(var(--color-primary-rgb), 0.5);
}


.custom-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--color-primary);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem 1rem;
}

.custom-arrow:hover {
    color: var(--color-secondary);
}

.custom-arrow .arrow-body {
    width: 80px;
    height: 2px;
    background-color: currentColor;
}

.custom-arrow .arrow-head {
    display: inline-block;
    border: solid currentColor;
    border-width: 0 2px 2px 0;
    padding: 6px;
}

.custom-arrow.prev .arrow-head {
    transform: rotate(135deg);
    order: 0;
    margin-right: -25px;
}

.custom-arrow.next .arrow-head {
    transform: rotate(-45deg);
    order: 1;
    margin-left: -25px;
}

.dropdown-submenu {
    position: relative;
}

.dropdown-submenu>.dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -1px;
    display: none;
}

.dropdown-submenu:hover>.dropdown-menu {
    display: block;
}

/* .dropdown-submenu > .dropdown-item::after {
    content: "›";
    float: right;
} */

.dropdown-submenu {
    position: relative;
}

.dropdown-submenu>.dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -1px;
}

.btn {
    border-radius: 0 !important;
    text-transform: uppercase;
}

/* .btn:first-child:active, */
/* :not(.btn-check)+.btn:active,  */
.btn-check:checked+.btn,
.btn.active,
.btn.show {
    border-color: var(--color-primary);
    background-color: var(--color-secondary);
}

.btn-primary {
    background-color: var(--color-primary);
    border-color: var(--color-secondary);
}

.btn-primary:hover {
    border-color: var(--color-primary);
    background-color: var(--color-secondary);
}

.btn-outline-primary {
    color: var(--color-primary);
    border-color: var(--color-primary);
}

.btn-outline-primary:hover {
    color: white;
    background-color: var(--color-primary);
}

.btn-dark {
    background-color: var(--color-tertiary);
    color: white;
}

.btn-dark:hover {
    background-color: rgba(var(--color-tertiary-rgb), 0.9);
    color: white;

}

body {
    position: relative;
    color: var(--color-tertiary);
    /* background-color: white; */
    /* o el color base que quieras */
}

body::before {
    content: "";
    position: fixed;
    /* o absolute si prefieres */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(/img/bg.svg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.2;
    /* ajusta la opacidad */
    pointer-events: none;
    /* importante para no bloquear clics */
    z-index: -1;
    /* detrás del contenido */
}


a {
    text-decoration: none;
    color: var(--color-tertiary);
}

a:hover {
    color: var(--color-secondary);
}


div>.zoom a {
    position: absolute;
    width: 70px;
    height: 70px;
    top: 50%;
    left: 50%;
    background-color: var(--color-primary);
    transform: translate(-50%, -50%);
    padding-top: 17px;
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    transition: 0.5s all;
    opacity: 0;
}

div>.zoom a {
    color: white;
}

div:hover>.zoom a {
    opacity: 1;
    transition: 0.5s all;
}


div:hover>.zoom a:hover {
    background-color: white;
    color: var(--color-tertiary);
}

.hide-scrollBar {
    /* scrollbar-width: thin; */
    scrollbar-width: none;
}

.hide-scrollBar::-webkit-scrollbar,
.hide-scrollBar::-webkit-scrollbar-thumb,
.hide-scrollBar::-webkit-scrollbar-track,
.hide-scrollBar::-webkit-scrollbar-thumb {
    width: 0px;
    height: 0px;

}

#banners .banner img {
    opacity: 0;
}

#banners .banner::after,
#banners .banner::before {
    filter: brightness(0.5);
    background-size: 100vw 100vh !important;
}

/* #banners .banner-1::after,
#banners .banner-1::before, */
#banners .banner {
    /* background-position: top;
    background-repeat: no-repeat;
    background-size: auto; */
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

#banners .blur {
    position: absolute;
    top: 0;
    width: 100%;
    height: 20vh;
    background-position: top;
    filter: blur(3px);
    overflow: hidden;
    border-bottom: 1px solid #00000085;
    box-shadow: 0px 0px 20px 0px rgba(255, 255, 255, 0.6) inset;
    background-color: rgb(255 255 255 / 15%);
}

#banners .banner-1 {
    background-image: url(../img/banners/slider1.jpg);
    /* background-size: cover;
    background-position: center;
    background-repeat: no-repeat; */
}

/* #banners .banner-2::after,
#banners .banner-2::before, */
#banners .banner-2 {
    background-image: url(../img/banners/slider4.jpg);
    /* background-size: cover;
    background-position: center;
    background-repeat: no-repeat; */
}

/* #banners .banner-3::after,
#banners .banner-3::before, */
#banners .banner-3 {
    background-image: url(../img/banners/slider3.jpg);
    /* background-size: cover;
    background-position: center;
    background-repeat: no-repeat; */
}

/* #banners .banner-4::after,
#banners .banner-4::before, */
#banners .banner-4 {
    background-image: url(../img/banners/slider4.jpg);
    /* background-size: cover;
    background-position: center;
    background-repeat: no-repeat; */
}

#banners .row {
    flex: 1;
}

#banners h2 small {
    font-weight: 100;
}

/* #banners h2 strong {
    color: var(--color-primary) !important;
} */

#banners i {
    font-weight: bolder;
}

.bannerSwiper-prev-arrow,
.bannerSwiper-next-arrow {
    z-index: 1021;
}

.bannerSwiper-prev-arrow .custom-arrow,
.bannerSwiper-next-arrow .custom-arrow {
    color: white;
    opacity: 0.8;
}

.bannerSwiper-prev-arrow .arrow-body,
.bannerSwiper-next-arrow .arrow-body {
    width: 28vh !important;
}

.bannerSwiper-prev-arrow {
    top: 30vh !important;
    left: 75vw !important;
    transform: rotate(90deg) !important;
}

.bannerSwiper-next-arrow {
    left: 75vw !important;
    bottom: 35vh !important;
    transform: rotate(90deg) !important;
}



#banners .swiper-slide::before,
#banners .swiper-slide::after {
    content: '';
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 1;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 1.5s ease-in-out;
}

#banners .swiper-slide.swiper-slide-prev::after {
    transform: scaleX(1);
    transform-origin: right;
}

#banners .swiper-slide.swiper-slide-active::before {
    transform: scaleX(0);
    transform-origin: left;
}

#banners .swiper-slide.swiper-slide-next::before {
    transform: scaleX(1);
    transform-origin: left;
}

#banners .swiper-slide img {
    transition: transform 1.5s ease-in-out;
}

#banners .swiper-slide-active img {
    transform: translateX(0);
}

#descriptions {
    /* transform: translateY(-20vh); */
    z-index: 1;
    position: relative;
    margin-top: -20vh !important;
}

#descriptions .card {
    border-radius: 0;
    min-height: 350px;
    background-color: var(--color-primary);
    position: relative;
    /* border: 0; */
}

#descriptions a,
#descriptions .card {
    color: white;
}

#descriptions .card-body {
    min-height: 100%;
    padding: 16% 19% 17% 19%;
}

#descriptions .card h3 {
    font-weight: bold;
}

#descriptions .card h3 a {
    transition: 0.5s;
}

#descriptions .card h3 a:hover {
    color: currentColor;
    filter: brightness(10);
    transition: 0.5s;
}

#descriptions .card p {
    font-weight: 100;
}

#descriptions .card .card-link {
    font-weight: bold;
    text-transform: uppercase;
    position: absolute;
    bottom: 15%;

}

#descriptions .desc:nth-child(2) .card,
#descriptions .desc:nth-child(2) .card .card-link {
    background-color: var(--color-tertiary);
    color: white;
}

#descriptions .desc:nth-child(2) .card h3 a {
    color: white !important;
}

#descriptions .desc:nth-child(2) .card h3 a:hover {
    filter: brightness(0.5);
}

#lastNew h3 {
    font-size: 2.625em;
}

#lastNew .card-text {
    color: rgba(var(--color-tertiary-rgb), 0.4);
}

#resume {
    background-image: url(../img/home2-bg2-1.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 80vh;
    padding-top: 20vh !important;
}


#resume .area {
    background-color: var(--color-primary);
    height: 600px;
    /* height: 640px; */
    /* margin-top: 10vh; */
    padding: 7%;
    position: relative;
    padding-top: 5%;
}

#resume .card-title,
#resume .title {
    color: white;
}

#resume .title {
    font-size: 2.625em;
    font-weight: bold;
}

#resume .swiper {
    /* height: 80vh; */
    border: none;
    border-radius: 0;
    background-color: var(--color-primary);
}

#resume .card {

    border: none;
    border-radius: 0;
    background-color: transparent;
}

#resume .card-title {
    font-size: 1.4375rem;
    font-weight: bold;
}

#resume .custom-arrow {
    color: var(--color-tertiary);
}

#resume .resumeSwiperPagination {
    position: absolute;
    bottom: 90px;
    right: 70px;
    z-index: 2;
}

#news {
    /* height: 800px; */
    padding-top: 18% !important;
}

#news.principal {
    padding-top: 6rem !important;
}

#lastNew .new-1 {
    background-image: url(../img/news/new4.jpg);
}

#lastNew .new,
#news .new {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

#lastNew .new img,
#news .new img {
    opacity: 0;
}

#news .new-1 {
    background-image: url(../img/news/new1.jpg);
}

#news .new-2 {
    background-image: url(../img/news/new2.jpg);

}

#news .new-3 {
    background-image: url(../img/news/new3.jpg);
}

#news .card {
    border-radius: 0;
    border: none;
}

#news h2 {
    font-size: 2.625em;
    font-weight: bold;
}

#news .card-body {
    padding-left: 60px;
    padding-top: 35px;
}

#news .card-title {
    z-index: 2;
    position: relative;
    font-size: 1.875em;
    font-weight: bold;
}

#news .card-text {
    opacity: 0.5;
}

#news .card-subtitle {
    background-color: var(--color-primary);
    color: white !important;
    width: 100px;
    height: 100px;
    padding: 10px 0px 0px 10px;
    position: absolute;
    left: 0;
    top: -60px;
    font-size: 14px;
}

#news .card-subtitle strong {
    font-size: 24px;
}

#persons {
    background-image: url(../img/home-image-4-copyright.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 80vh;
    position: relative;
    padding-top: 50vh !important;
    margin-top: 10vh !important;
    margin-bottom: 50vh !important;
}

#persons:before {
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background-color: rgba(var(--color-primary-rgb), 0.5);
}

#persons .person-1 {
    background-image: url(../img/person/person1.jpg);
    /* background-image: url(https://www.api.asofutsal.com/img/person/c53b1b27e1fd98c665126bd7b07d835f.jpg); */
}

#persons .person-2 {
    background-image: url(../img/person/person2.jpg);
    /* background-image: url(https://www.api.asofutsal.com/img/person/aa90f90dd15ba30cea99ff5a25bae946.jpg); */
}

#persons .person-3 {
    background-image: url(../img/person/person3.jpg);
    /* background-image: url(https://www.api.asofutsal.com/img/person/388510098229314c569544814614b510.jpg); */
}

#persons .person-4 {
    background-image: url(../img/person/person4.jpg);
    /* background-image: url(https://www.api.asofutsal.com/img/person/1098a7e11cbae98f525575787e89ad23.jpg); */
}

#persons .person-5 {
    background-image: url(../img/person/person5.jpg);
    /* background-image: url(https://www.api.asofutsal.com/img/person/cf175d5b4054f391800c9ea8e11c6391.jpg); */
}


#persons .person {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

#persons .person img {
    opacity: 0;
    /* width: 500px;
    height: 600px; */
    object-fit: contain;
}


#persons .separador {
    font-size: 2.625em;
    padding: 70px 0% 70px 0%;
    background-color: var(--color-primary);
    color: white;
    min-height: 200px;
    max-width: 750px;
    width: 100%;
    font-weight: bold;
    position: absolute;
    top: -100px;
    right: 0;
}

#persons .card {
    border: 0;
}

#persons .card-title {
    text-align: left;
    font-size: 1.437em;
}

#persons .card-text {
    text-align: left;
    opacity: 0.5;
}

.swiper-pagination-bullet-active {
    width: 120px !important;
    transition: 0.5s all !important;
}

.swiper-pagination-bullet {
    transition: 0.5s all !important;
}

#gallery {
    padding-top: 10vh !important;
    padding-bottom: 10vh !important;
}

#gallery .title {
    font-size: 2.625em;
    margin-bottom: 10vh;
    font-weight: bold;
}

#gallery .gallery {
    position: relative;
}

#gallery .gallery img {
    opacity: 0;
}

#gallery .gallery-1 {
    background-image: url(../img/gallery/gallery1.jpg);
    background-size: cover;
    background-repeat: no-repeat;
}

#gallery .gallery-2 {
    background-image: url(../img/gallery/gallery2.jpg);
    background-size: cover;
    background-repeat: no-repeat;
}

#gallery .gallery-3 {
    background-image: url(../img/gallery/gallery3.jpg);
    background-size: cover;
    background-repeat: no-repeat;
}

#gallery .gallery-4 {
    background-image: url(../img/gallery/gallery4.jpg);
    background-size: cover;
    background-repeat: no-repeat;
}

#separador {
    height: 180px;
    margin-top: -90px;
    margin-bottom: -90px;
    position: relative;
    background-color: var(--color-primary);
    width: 70%;
    z-index: 2;
    padding-top: 60px !important;
    padding-left: 90px !important;
    color: white;
}

#separador h2 {
    font-size: 1.437em;
    line-height: 1.2em;
}

#footer {
    background-color: var(--color-tertiary);
    padding-top: 20vh !important;
    padding-bottom: 10vh !important;
    color: white;
}

#footer .list-group-item,
#footer .card {
    border: none;
    border-radius: 0;
    background-color: transparent;
    color: white;
}

#footer .list-group-item:hover {
    cursor: pointer;
    color: var(--color-primary);
}

#footer a {
    color: var(--color-primary);
    font-weight: bold;
}

#footer a:hover {
    color: white;
}

footer {
    background-color: var(--color-fourth);
    color: white;
}

footer .nav-link {
    color: white;
}

footer .nav-link:hover {
    color: var(--color-primary);
}

footer .socialLinks .nav-link {
    background-color: var(--color-primary);
    color: white;
}

footer .socialLinks .nav-link:hover {
    background-color: var(--color-secondary);
}

#medalsTable {
    margin-bottom: 5rem !important;
}

.table-msp {
    /* border: none; */
    border-color: var(--color-tertiary);
    /* border: -0px solid; */
}

.table-msp td,
.table-msp th {
    font-size: 1rem;
    font-style: normal;
    padding: 1rem;
}

.table-msp thead {
    border-color: var(--color-primary);
}

.table-msp thead td,
.table-msp thead th {
    background-color: var(--color-primary);
    /* color: white; */
}

.table-msp tbody td,
.table-msp tbody th {
    background-color: transparent;
}

.table-msp tbody tr:nth-child(odd) {
    background-color: rgba(var(--color-tertiary-rgb), 1);
}

.table-msp tbody tr:nth-child(even) {
    background-color: rgba(var(--color-fourth-rgb), 1);
}

.table-msp tr:hover {
    filter: brightness(1.2);
    opacity: 0.95;
}

.pignose-calendar {
    width: 100%;
    background-color: transparent;
    border: none;
    box-shadow: none;
}

.pignose-calendar .pignose-calendar-top {
    background-color: transparent;
    padding: 20px;
    border: none;
    border: none;
    box-shadow: none;
}

.pignose-calendar .pignose-calendar-top .pignose-calendar-top-date {
    padding: 0;
}

.pignose-calendar .pignose-calendar-top .pignose-calendar-top-year {
    color: var(--color-primary);
}

.pignose-calendar .pignose-calendar-unit {
    height: 2.5em;
}

.pignose-calendar .pignose-calendar-unit a {
    border-radius: 0%;
}

.pignose-calendar .pignose-calendar-unit.pignose-calendar-unit-active a {
    background-color: rgba(var(--color-fourth-rgb), 0.7);
}

.fecha-marcada a {
    background: var(--color-secondary) !important;
    color: white !important;
    font-weight: bold;
}

.fecha-activa a {
    background: var(--color-primary) !important;
    color: white !important;
}

.fecha-desactivada a {
    /* background: #f5f5f5 !important; */
    color: #ccc !important;
    pointer-events: none;
}

#delegations {
    margin-bottom: 5rem !important;
}

#delegations .sports-columned {
    column-count: 3;
    /* o 4 si quieres más columnas */
    column-gap: 2rem;
    padding: 10px 30px;
}

#delegations .letter-group {
    break-inside: avoid;
    margin-bottom: 2rem;
}

#delegations .letter-header {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

#delegations .sports {
    /* padding-left: 1rem;
    list-style: disc; */
    padding-left: 0;
}

#delegations .letter {
    font-size: 2.625em;
    width: 80px;
    height: 80px;
    display: block;
    background-color: var(--color-primary);
    text-align: center;
    color: white;
    margin-left: 10px;
    margin-bottom: 30px;
}

#delegations .sports li {
    padding-left: 0px;
    list-style: none;
    padding: 0.3rem 0rem;
    position: relative;
    font-weight: 500;
}

#delegations .sports li:hover a {
    color: white !important;

}

#delegations .sports li:hover {
    background-color: var(--color-primary);
    padding-left: 1rem;
}

#delegations .sports * {
    transition: 0.5s all;
}

#delegations .sports li:after {
    content: "\f061";
    font-family: "Font Awesome 5 Pro";
    right: 0.5rem;
    position: absolute;
    opacity: 0;
}

#delegations .sports li:hover:after {
    opacity: 1;
    color: white;
}

#delegations .sports .pictograma {
    position: absolute;
    width: 65px;
    /* height: 55px; */
    overflow: hidden;
    right: 2rem;
    background-color: var(--color-tertiary);
    top: 50%;
    opacity: 0;
    transform: translateY(-50%);
    padding: 3px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#delegations .sports li:hover .pictograma {
    opacity: 1;
}

#delegations .sports .pictograma img {
    max-width: 100%;
    max-height: 100%;
}

#sports {
    margin-bottom: 5rem !important;
}

#sports .sports-columned {
    column-count: 3;
    /* o 4 si quieres más columnas */
    column-gap: 2rem;
    padding: 10px 30px;
}

#sports .letter-group {
    break-inside: avoid;
    margin-bottom: 2rem;
}

#sports .letter-header {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

#sports .sports {
    /* padding-left: 1rem;
    list-style: disc; */
    padding-left: 0;
}

#sports .letter {
    font-size: 3.025em;
    width: 80px;
    height: 80px;
    display: block;
    background-color: var(--color-primary);
    text-align: center;
    color: white;
    margin-left: 10px;
    margin-bottom: 30px;
    font-family: 'webfont-1P7Y8R9FDE';
    font-weight: 100 !important;
}

#sports .sports li {
    padding-left: 0px;
    list-style: none;
    padding: 0.3rem 0rem;
    position: relative;
    font-weight: 500;
}

#sports .sports li:hover a {
    color: white !important;

}

#sports .sports li:hover {
    background-color: var(--color-primary);
    padding-left: 1rem;
}

#sports .sports * {
    transition: 0.5s all;
}

#sports .sports li:after {
    content: "\f061";
    font-family: "Font Awesome 5 Pro";
    right: 0.5rem;
    position: absolute;
    opacity: 0;
}

#sports .sports li:hover:after {
    opacity: 1;
    color: white;
}

#sports .sports .pictograma {
    position: absolute;
    width: 55px;
    height: 55px;
    overflow: hidden;
    right: 2rem;
    background-color: var(--color-tertiary);
    top: 50%;
    opacity: 0;
    transform: translateY(-50%);
    padding: 3px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#sports .sports li:hover .pictograma {
    opacity: 1;
}

#sports .sports .pictograma img {
    max-width: 100%;
    max-height: 100%;
}

.tourney-content .list-group-item {
    background-color: transparent;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    /* color: white; */
}

.tourney-content .list-group-item.active {
    background-color: transparent;
    color: var(--color-primary);
}

.tourney-content .list-group-item-action:not(.active):focus,
.tourney-content .list-group-item-action:not(.active):hover {
    background-color: var(--color-primary);
    color: white;
}

/* #sports .sports-columned hr {
    border-color:var(--color-tertiary);
} */

/* #sports li::marker {
    content: "\f061";
    font-family: "Font Awesome 5 Pro";
    color: var(--color-primary);
} */




.game-date {
    background-color: var(--color-primary);
    color: white !important;
    width: 80px;
    height: 80px;
    padding: 10px;
    font-size: 14px;
    position: absolute;
    top: 0;
    left: 0;
    transform: translate(-15%, -30%);
    z-index: 2;
}

.game-date .day {
    font-size: 26px;
    font-weight: bold;
    line-height: 26px;
}

.game-date .month {
    font-weight: 100;
    font-size: 15px;
    text-transform: uppercase;
}

.game-date .time {
    font-size: 12px;
    margin-top: -1px;
}


.game-verus {
    /* min-height: 85px; */
    /* justify-content: space-around; */
    justify-content: center;
    justify-content: space-evenly;
    gap: 0.4rem;
    position: relative;
}

.game-verus .vs {
    position: relative;
    width: 2rem;
}

.game-verus .vs::before {
    content: 'VS';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(var(--color-tertiary-rgb), 0.1);
    font-weight: 900;
    width: 30px;
    height: 30px;
    z-index: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    right: 0;
    left: 0;
    /* opacity: 0; */
    margin: 0 auto;
}

/* .game-verus .team {
    display: flex;
    align-items: center;
} */

.game-verus .team .name {
    font-size: 30px;
    font-weight: bold;
    text-transform: uppercase;
    color: var(--color-tertiary);
    display: flex;
    flex-direction: column;
    white-space: nowrap;
}

.game-verus .team .score {
    background-color: rgba(var(--color-tertiary-rgb), 0.1);
    color: black;
    width: 100%;
    height: 25px;
    line-height: 24px;
    font-size: 20px;
    text-align: center;
    font-weight: bold;
}

.game-verus .team .flag {
    /* background-color: red; */
    width: 44px;
    height: calc(100% - 11px);
    margin-top: 12px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.flag.flag-1 {
    margin-left: 0.3rem;
}

.flag.flag-2 {
    margin-right: 0.3rem;
}

.game-sede {
    font-size: 10px;
    text-transform: uppercase;
    margin-top: 1rem;
}

.game-box {
    margin-bottom: 4rem;
    margin-bottom: 4rem;
    break-inside: avoid;
}

.game-fase .badge {
    background-color: var(--color-tertiary) !important;
    border-radius: 0% !important;
}

.game-position {
    text-transform: uppercase;
}

#games.show {
    display: grid;
}

#games {
    grid-template-columns: 1fr 1fr;
    /* gap: 2rem; */
    column-gap: 2rem;
    /* padding: 3rem 0 0 0; */
    padding: 3rem 0rem 0rem 0rem;
}

.game-position .badge {
    border-radius: 0;
    background-color: transparent !important;
    border: 1px solid black;
    font-size: 1rem;
}

.game-position .badge.bg-warning {
    border-color: #ffb02e;
}

.game-position .badge.bg-secondary {
    border-color: #bdbdbd;
}

.game-position .badge.bg-info {
    border-color: #da9045;
}

.game-link {
    position: absolute;
    margin: 0 auto;
    left: 0;
    right: 0;
    bottom: -31px;
}

.game-link .btn {
    font-weight: 600;
}

.game-name {
    font-size: 10px;
    text-transform: uppercase;
    font-weight: 500;
}


#person {
    margin-bottom: 5rem !important;
}

#person .card-img-top {
    height: 100%;
    width: 100%;
    object-fit: cover;
    border-radius: 0;
    /* opacity: 0; */
}

#person .person-box {
    border-radius: 0;
    position: relative;
}

#person .person-picture {
    position: absolute;
    background-color: var(--color-primary);
    top: 0;
    left: 0;
    height: 80px;
    width: 80px;
    padding: 0px;
    transform: translate(-15%, -30%);
}

#person .person-delegation {
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    padding-right: 10px;
    padding-top: 10px;
}

#person .person-delegation .info {
    display: flex;
    align-items: center;
    flex-direction: column;
    font-size: 8px;
    text-transform: uppercase;
    font-weight: 500;
}

#person .card-lastname {
    text-transform: uppercase;
    font-weight: 700;
}

#person .card-sport {
    font-size: 10px;
    text-transform: uppercase;
    margin-top: 1rem;
    text-align: center;
}

#person .person-delegation .badge {
    background-color: var(--color-tertiary);
    border-radius: 0;
}

#person .person-delegation .space {
    position: absolute;
    left: 80px;
}

#person .card-link {
    position: absolute;
    bottom: 0;
    transform: translateY(100%);
    right: 0;
    left: 0;
    margin: 0 auto;
}

.tableMedalsChart {
    height: 50vh;
}

#banner-sec {
    position: relative;
    overflow: hidden;
    padding-top: 9rem !important;
    padding-bottom: 9rem !important;
}

#banner-sec:before {
    content: '';
    /* background-color: rgb(0 0 0 / 30%); */
    background-color: rgba(var(--color-tertiary-rgb), 0.3);
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

#banner-sec:after {
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background-color: rgba(var(--color-secondary-rgb), 0.5);
}

#banner-sec img#banner-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

#banner-sec .container {
    position: relative;
    z-index: 1;
}

.select2 {
    width: 100% !important;
    height: 100% !important;
}

.select2 .select2-selection {
    height: 100% !important;
    border: var(--bs-border-width) solid var(--bs-border-color);
}

.select2 .select2-selection .select2-selection__rendered {
    height: 100% !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 100% !important;
}


/* .table-game-key {
    gap: 2rem;
} */

.table-game-key {
    display: flex;
    align-items: stretch;
    gap: 1rem;
}


/* .fase-column {
    flex: 1 1 200px;
    min-width: 200px;
} */
/* max-width: 250px; */

.fase-column {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    /* reparte juegos verticalmente */
    align-items: stretch;
    /* height: 100%; */
    /* o una altura fija para forzar alineación */
    min-height: 500px;
    position: relative;
    padding-top: 40px;
    /* ajustable */
    flex: 1 1 200px;
    min-width: 200px;
}

.fase-column h5 {
    position: absolute;
    top: 0;
    width: 100%;
}


#personDetail h2 span {
    text-transform: uppercase;
}


#personDetail .itemInscriptions {
    column-count: 2;
    gap: 2rem;
    padding-top: 2rem;
}

#personDetail .itemInscriptions>div {
    break-inside: avoid;
    page-break-inside: avoid;
    /* por compatibilidad */
    -webkit-column-break-inside: avoid;
    /* Safari */
    margin-bottom: 2rem !important;
}

#personDetail .itemInscriptions img {
    position: absolute;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    background-color: var(--color-primary);
    border-radius: 0 !important;
    padding: 5px;
    height: 50px;
    width: 50px;
    max-height: 100px !important;
}

#personDetail .person-info:before {
    content: '';
    background-image: url(https://devapi.smartportgms.com//img/users/0f000ab23b512c344ee4539db526c8a9.png);
    background-position: center;
    background-size: cover;
    position: absolute;
    width: 50%;
    height: 100%;
    top: 0;
    right: 0;
    background-color: red;
    z-index: 0;
    opacity: 0.3;
    -webkit-mask-image: linear-gradient(to right, transparent, black);
    mask-image: linear-gradient(to right, transparent, black);
}

#personDetail .person-info {
    position: relative;
}

#personDetail .person-info .row.align-items-center {
    z-index: 2;
    position: relative;
}

#myPartChart,
#myMedalChart {
    max-height: 300px;
}

#game-detail {
    padding-bottom: 6rem !important;
}


#allSports {
    padding-bottom: 10vh;
}

#allSports h2 {
    font-size: 2.625em;
    font-weight: bold;
}

#allSports .card {
    background-color: rgba(var(--color-primary-rgb), 0.2);
    border-radius: 0;
    font-size: 14px;
    font-weight: 500;
}

#allSports .card:hover {
    background-color: var(--color-primary);
    color: white;
}

#allSports .sportimg {
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
}

#allSports .sportimg img {
    opacity: 0;
}

#documents {
    padding-top: 0px !important;
    padding-bottom: 20vh !important;
}


#documents .link-documents {
    position: absolute;
    top: 0;
    left: 0;
    transform: translate(-30%, -60%);
    width: 40px;
    height: 40px;
}

#documents .card-title {
    font-size: 16px;
    font-weight: 200;
    margin: 0;
}

#documents .swiper.docsSwiper {
    padding-top: 20px;
    padding-left: 20px;
}

#documents .title {
    font-size: 2.625em;
    margin-bottom: 10vh;
    font-weight: bold;
}

#footer .logoFooter {
    width: 100px;
    display: flex;
    max-height: 50px;
}

#footer .logoFooter img {
    width: 100%;
    filter: invert(1);
}

#footer .logo-content {
    display: flex;
    padding-top: 40px;
    justify-content: space-between;
}


#sedeDetail .embed-responsive iframe {
    width: 100%;
    height: 30vh;
}

#eventDetail{
    padding-bottom: 6rem !important;
}