@font-face {
    font-family: 'PoppinsBold';
    src: url('/fonts/Poppins-Bold.ttf') format('truetype');
}

@font-face {
    font-family: 'PoppinsRegular';
    src: url('/fonts/Poppins-Regular.ttf') format('truetype');
}

@font-face {
    font-family: 'PoppinsMedium';
    src: url('/fonts/Poppins-Medium.ttf') format('truetype');
}

@font-face {
    font-family: 'PoppinsSemiBold';
    src: url('/fonts/Poppins-SemiBold.ttf') format('truetype');
}

:root {
    --primary: #00005C;
    --secondary: #80BC02;
}

.navbar-brand {
    padding: 25px 0;
}

@media (max-width: 767px) {
    .navbar-brand {
        padding: 0 0;
    }
}

.navbar-brand img {
    width: auto;
}

@media (max-width: 767px) {
    .navbar-brand img {
        width: 140px;
    }
}

@media (max-width: 1000px) {
    .navbar-brand img {
        width: 115px;
    }
}

.bg-fmv-primary {
    background: var(--primary) !important;
}

.bg-fmv-secondary {
    background: var(--secondary) !important;
}

.text-fmv-primary {
    color: var(--primary) !important;
}

.text-fmv-secondary {
    color: var(--secondary) !important;
}

.btn-fmv-primary {
    font-weight: 700 !important;
    font-size: 20px !important;
    transition: all 0.3s ease !important;
}

.btn-fmv-primary:hover {
    background: var(--primary) !important;
    border-color: var(--secondary) !important;
    color: var(--secondary) !important;
}

.input-fmv {
    outline: none !important;
    padding-left: 60px !important;
}

.input-fmv::placeholder {
    color: #ffffff !important;
    font-weight: 200 !important;
    text-transform: uppercase !important;
    font-size: 20px !important;
}

.input-fmv-icon {
    position: absolute;
    width: 30px;
    top: 12px;
    left: 15px;
}

.navbar {
    padding: 0 !important;
}

.nav-link {
    color: var(--primary) !important;
    font-size: 20px;
    font-weight: 500;
    font-family: 'PoppinsMedium', sans-serif;
}

@media (max-width: 767px) {
    .nav-link {
        font-size: 15px;
    }
}

@media (max-width: 1000px) {
    .nav-link {
        font-size: 12px;
    }
}

.abs-center {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    /*margin: 30vh 0;*/
    height: 96vh
}

/*@media (max-width: 767px) {*/
/*    .abs-center {*/
/*        margin: 20vh 0;*/
/*    }*/
/*}*/

.abs-center h1 {
    font-size: 48px;
    font-weight: 700;
    margin: 0;
    padding: 0;
    line-height: 1.5;
    font-family: 'PoppinsBold', sans-serif;
}

@media (max-width: 767px) {
    .abs-center h1 {
        font-size: 28px;
    }
}

@media (max-width: 1000px) {
    .abs-center h1 {
        font-size: 30px;
    }
}

.abs-center h2 {
    font-size: 36px;
    font-weight: 500;
    margin: 0;
    padding: 0;
}

.abs-center .horario p {
    font-size: 32px;
    font-weight: 500;
}

.abs-center .transmision {
    font-size: 20px;
    font-weight: 500;
}

.abs-center .iniciar-sorteo {
    background: #80BC02;
    border-color: #80BC02 !important;
    color: var(--primary);
    width: 350px;
}

.iniciar-sorteo-v2 {
    background: #80BC02;
    border-color: #80BC02 !important;
    color: white !important;
    width: 220px;
    font-family: 'PoppinsMedium', sans-serif;
}

.iniciar-sorteo-v2 a {
    color: white !important;

}

.iniciar-sorteo-v2 a:hover {
    color: var(--primary) !important;
}

@media (max-width: 767px) {
    .abs-center .iniciar-sorteo {
        width: 250px;
    }

}

.abs-center .iniciar-sorteo a {
    font-size: 32px;
    font-weight: 500;
    font-family: 'PoppinsSemiBold', sans-serif;
}

@media (max-width: 767px) {
    .abs-center .iniciar-sorteo a {
        font-size: 20px;
    }
}


.filtros {
    display: flex;
    align-items: center;
    justify-content: center;
}

.filtros select {
    display: inline-flex;
    width: auto !important;
    border: 1px solid var(--primary);
    padding: 5px 45px;
    border-radius: 50rem !important;
    color: var(--primary);
    font-size: 20px;
}

@media (max-width: 767px) {
    .filtros select {
        padding: 8px 18px;
        font-size: 8px;
    }

    .filtros-custom select {
        padding: 8px 26px !important;
    }

    .filtros-custom-sorteo select {
        padding: 8px 10px !important;
    }
}

@media (max-width: 1000px) and (orientation: landscape) {
    .filtros select {
        padding: 5px 20px;
    }
}

.filtros select:focus {
    border-color: var(--primary);
}

.filtros button {
    background: var(--primary);
    color: #ffffff;
    font-size: 20px;
    font-weight: 500;
    padding: 5px 25px;
    border: none;
    border-radius: 50rem !important;
    transition: all 0.5s ease !important;
}

@media (max-width: 767px) {
    .filtros button {
        font-size: 10px;
        padding: 8px 10px;
    }
}

.filtros button:hover {
    background: var(--secondary);
}

.filtros-departamento select {
    border-color: var(--secondary);
    color: var(--secondary);
}

.filtros-departamento button {
    background: var(--secondary);
}

.filtros-departamento button:hover {
    background: var(--primary);
}

.resultado-info {
    display: flex;
    align-items: center;
}

.resultado-info ul {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
}

.resultado-info ul li {
    padding: 0 10px;
    color: var(--primary);
    font-size: 24px;
    text-transform: uppercase;
}

@media (max-width: 767px) {
    .resultado-info ul li {
        font-size: 15px;
    }
}

.resultado-info ul li:nth-child(2) {
    border-right: 1px solid var(--primary);
    border-left: 1px solid var(--primary);
}

.resultado {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding-top: 20vh;
    padding-bottom: 70px;
}

@media (max-width: 767px) {
    .resultado {
        padding-top: 16vh;
        padding-bottom: 0;
    }
}

@media (max-height: 375px) and (orientation: landscape) {
    .resultado {
        padding-bottom: 0;
        margin-top: 15vh;
    }
}

.resultado h1 {
    color: var(--primary);
    font-weight: bold;
    font-size: 48px;
    margin: 0;
    padding: 0;
    line-height: 1;
}

@media (max-width: 767px) {
    .resultado h1 {
        font-size: 38px;
        text-align: center;
    }

    .resultado p {
        text-align: center;
    }
}

.resultado p {
    color: var(--primary);
    font-size: 24px;
    padding: 0;
    margin: 0;
    line-height: 1.2;
}

.resultado .tabla-resultados {
    margin-top: 20px;
    border-top: 1px solid var(--primary);
    border-bottom: 1px solid var(--primary);
    margin-bottom: 40px;
    width: 90vw !important;
}

.resultado .tabla-resultados table th {
    color: var(--primary);
    font-size: 16px;
    font-weight: 500;
}

.resultado .tabla-resultados table td {
    color: #686868;
    font-size: 16px;
    font-weight: 400;
    text-transform: capitalize;
}

footer {
    font-size: 20px;
    color: #686868;
    font-weight: 500;
    background: #ffffff;
}

footer img {
    width: 40px;
}

.footer-links {
    margin-top: 10px;
}

.youtube-footer {
    width: 46px !important;
}

@media (max-width: 768px) {
    .footer-custom .d-flex {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-custom .social-icon {
        padding-left: 0;
        padding-right: 0;
    }

    .footer-custom .d-flex > a {
        display: inline-block;
        margin: 5px;
    }

    .footer-custom {
        margin-top: 15px;
        position: inherit !important;
    }
}

.social-icon {
    display: inline-block;
    width: 42px;
    height: 40px;
    background-size: cover;
    background-repeat: no-repeat;
    margin-right: 10px;
}

.social-icon:first-child {
    margin-left: 20px;
}

.facebook {
    background-image: url('/img/facebook-blue.svg');
}

.facebook:hover {
    background-image: url('/img/facebook.svg');
}

.instagram {
    background-image: url('/img/instagram-blue.svg');
}

.instagram:hover {
    background-image: url('/img/instagram.svg');
}

.youtube {
    width: 50px !important;
    background-image: url('/img/youtube-blue.svg');
}

.youtube:hover {
    background-image: url('/img/youtube.svg');
}

.pagination {
    display: flex;
    list-style-type: none;
    padding: 0;
}

.pagination li {
    margin: 0 5px;
}

.pagination li a {
    text-decoration: none;
    color: gray;
    font-size: 16px;
}

.pagination li.active a {
    font-weight: bold;
}

.pagination li a:hover {
    text-decoration: underline;
}

.pagination li.page-item.disabled {
    pointer-events: none;
}

.page-link {
    background-color: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
}

/* Specific styling for arrow */
.pagination li a[aria-label="Siguiente"] {
    font-weight: bold;
    color: gray;
}

/* Hover effect for links */
.pagination li a:hover {
    color: #000;
}

.page-item.active .page-link {
    color: #333;
    background-color: #fff;
}

.navigation-page-custom {
    display: flex;
    justify-content: center;
}

.navigation-page-custom .pagination {
    flex-wrap: wrap;
}

@media (min-width: 768px) {
    .navigation-page-custom {
        justify-content: flex-end;
    }
}

.select-hover:hover {
    border-color: #80BC02;
    color: #80BC02;
}

.select-hover:hover option {
    color: #80BC02;
}

.capitalize {
    text-transform: capitalize;
}

.form-select:hover {
    background-image: url('/img/ep_arrow-up-bold.png');
}

.provincias-sorteadas {
    background-color: #80BC02;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    color: white;
    padding: 20px;
}

/*.loader {*/
/*    border: 4px solid #f3f3f3;*/
/*    border-top: 4px solid #80BC02;*/
/*    border-radius: 50%;*/
/*    width: 90px;*/
/*    height: 90px;*/
/*    animation: spin 2s linear infinite;*/
/*    margin-left: 10px;*/
/*}*/

/*@keyframes spin {*/
/*    0% {*/
/*        transform: rotate(0deg);*/
/*    }*/
/*    100% {*/
/*        transform: rotate(360deg);*/
/*    }*/
/*}*/


.lds-ring {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
}

.lds-ring div {
    box-sizing: border-box;
    display: block;
    position: absolute;
    width: 64px;
    height: 64px;
    margin: 8px;
    border: 8px solid #80BC02;
    border-radius: 50%;
    animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
    border-color: #80BC02 transparent transparent transparent;
}

.lds-ring div:nth-child(1) {
    animation-delay: -0.45s;
}

.lds-ring div:nth-child(2) {
    animation-delay: -0.3s;
}

.lds-ring div:nth-child(3) {
    animation-delay: -0.15s;
}

@keyframes lds-ring {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}


@media (max-width: 768px) {
    .navbar .container {
        padding: 10px 25px;
    }
}

.contenedor-tabla-spinner {
    position: relative;
}

.spinner-overlay {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /*background-color: rgba(255, 255, 255, 0.5);*/
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 768px) {
    .spinner-overlay {
        position: inherit;
    }
}

.table-blur {
    filter: blur(10px);
}

.gradient-button {
    background-color: #1660FF !important; /* Gradient background */
    border: none; /* Remove default border */
    color: white; /* Text color */
    border-radius: 30px; /* Rounded corners */
    font-size: 16px; /* Font size */
    font-family: sans-serif; /* Font family */
    text-align: left !important; /* Align text to the left */
    cursor: pointer; /* Mouse cursor on hover */
    outline: none; /* Remove outline */
    position: relative; /* Position relative to place the toggle */
    overflow: hidden; /* Hide overflow */
    padding: 5px 80px 5px 20px !important; /* Adjusted padding: top, right, bottom, left */
    /* Other styles */
}

.gradient-button:hover {
    background-color: #80BC02 !important; /* Gradient background */

}

@media (max-width: 768px) {
    .gradient-button {
        font-size: 10px;
        padding: 5px 45px 5px 20px !important;
    }
}

.gradient-button::after {
    content: ''; /* Content for the toggle */
    display: block; /* Block display */
    position: absolute; /* Absolute position */
    right: 5px; /* Position from the right */
    top: 50%; /* Position from the top */
    width: 25px; /* Width of the toggle */
    height: 25px; /* Height of the toggle */
    background-color: white; /* Background color of the toggle */
    border-radius: 50%; /* Make it round */
    transform: translateY(-50%); /* Align it center vertically */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); /* Shadow for 3D effect */
}

@media (max-width: 768px) {
    .gradient-button::after {
        width: 15px;
        height: 15px;
    }
}

.gradient-button:active::after {
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2); /* Shadow for pressed effect */
}

.gradient-button:focus {
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.5); /* Outline effect */
}

.gradient-button-v2 {
    background-color: #80BC02 !important; /* Gradient background */
    border: none; /* Remove default border */
    color: white; /* Text color */
    border-radius: 30px; /* Rounded corners */
    font-size: 16px; /* Font size */
    font-family: sans-serif; /* Font family */
    text-align: left !important; /* Align text to the left */
    cursor: pointer; /* Mouse cursor on hover */
    outline: none; /* Remove outline */
    position: relative; /* Position relative to place the toggle */
    overflow: hidden; /* Hide overflow */
    padding: 5px 20px 5px 40px !important; /* Adjusted padding: top, right, bottom, left */
    /* Other styles */
}

.gradient-button-v2:hover {
    background-color: #1660FF !important; /* Gradient background */

}

@media (max-width: 768px) {
    .gradient-button-v2 {
        font-size: 10px;
        padding: 5px 5px 5px 30px !important;
    }
}

.gradient-button-v2::after {
    content: ''; /* Content for the toggle */
    display: block; /* Block display */
    position: absolute; /* Absolute position */
    left: 5px; /* Position from the right */
    top: 50%; /* Position from the top */
    width: 25px; /* Width of the toggle */
    height: 25px; /* Height of the toggle */
    background-color: white; /* Background color of the toggle */
    border-radius: 50%; /* Make it round */
    transform: translateY(-50%); /* Align it center vertically */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); /* Shadow for 3D effect */
}


@media (max-width: 768px) {
    .gradient-button-v2::after {
        width: 15px;
        height: 15px;
    }
}

.gradient-button-v2:active::after {
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2); /* Shadow for pressed effect */
}

.gradient-button-v2:focus {
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.5); /* Outline effect */
}

a.exportar-boton {
    display: inline-block;
    padding: 2px 10px;
    margin: 0;
    background-color: #007bff; /* Color de fondo azul */
    color: white; /* Texto en blanco */
    text-align: center;
    text-decoration: none;
    font-size: 16px;
    border-radius: 5px;
    border: none;
    transition: background-color 0.3s, color 0.3s;
}

a.exportar-boton:hover {
    background-color: #0056b3;
    color: #fff;
}


@media (max-width: 600px) {
    th.single-word {
        padding-bottom: 20px;
    }
}

@media (max-width: 1000px) and (orientation: landscape) {
    th.single-word {
        padding-bottom: 20px;
    }
}

.left-align-center-vertical {
    text-align: left;
    vertical-align: middle;
}