.botes.hoy {
    background-color: #b2e8ff;
}

.botes.manana {
    background-color: #b2e8ff;
}


/* Agregar estilos para pantallas más pequeñas */
  @media (max-width: 480px) {
    .premios-container {
      justify-content: center;
    }
  
    .botes {
      width: 90%;
    }
  }
  .premios-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: left;
    align-items: center;
    margin-top: 10px;
    margin-block-end: 10px;
  }
   .botes {
    flex: 1 1 25%;
    margin: 5px;
    background-color: #fedc00 ;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    border-radius: 5px;
    text-align: center;
    /*height: 170px;*/
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
  }
      
  .botes p:first-child {
    font-size: 1.2em;
    font-weight: bold;
    margin-bottom: 10px;
    color: black;
  }
  
  .botes p:nth-child(2) {
    font-size: 1.9em;
    font-weight: bold;
    background-image: linear-gradient(to bottom,transparent 37%,#fedc00 37%);
    color: black;
  }
  
  .botes p:last-child {
    font-size: 1.2em;
    color: black;
  }

.bola {
  display: inline-block;
  width: 49px;
  height: 49px;
  border-radius: 50%;
  background-color: #fff;
  color: #000;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  line-height: 49px;
  margin: 5px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}


body {
    font-size: 16px;
    /*background: #f3f3f3;*/
    background: #1e2326;
}

.blanco {
    background: #fff;
}

.logo {
    padding: 20px;
}

h1,
h2,
h3 {
    font-weight: bold;
    color: #000;
}

a {
    color: #951a81;
    text-decoration: none;
}

@media (min-width: 600px) {
    .foto {
        width: 292px;
        height: 292px;
    }
    .foto2 {
        width: 162px;
        height: 162px;
    }
    .mb15 {
        margin-bottom: 30px;
        min-height: 400px;
    }
    .mb30 {
        margin-bottom: 30px;
    }
    h3 {
        font-size: 21px !important;
        margin-top: 10px !important;
    }
    .navbar-default {
        background-color: #000;
        border-color: #000;
    }
    .navbar-default .navbar-nav>li>a {
        color: #fff !important;
        font-weight: bold;
        font-size: 17px;
    }
    .navbar-default {
        background-color: #2c2e83 !important;
        border-color: #2b2e83 !important;
    }
}

@media (max-width: 600px) {
    .foto {
        width: 152px;
        height: 152px;
    }
    .mb15 {
        margin-bottom: 30px;
        min-height: 240px;
    }
    h3,
    .h3 {
        font-size: 21px;
    }
    .mb30 {
        margin-bottom: 30px;
    }
}

.navbar-default .navbar-nav>li>a {
    color: #000;
    font-weight: bold;
    font-size: 17px;
}

.caja {
    background: white;
    color: #2b2e83;
    padding: 15px;
    margin-bottom: 10px;
    border: 1px solid #2b2e83;
}

.caja2 {
    color: #2b2e83;
    padding: 15px;
    margin: 0 0 10px 0;
    border: 1px solid #2b2e83;
    display: inline-block;
    box-sizing: border-box; /* Ajusta el tamaño de la caja para incluir el padding y el borde */
}

.margin-right0 {
    margin-right: 0 !important;
}

.caja2:nth-child(4n) {
    background-color: #eff4ff;
  }
  
  .caja2:nth-child(4n-1) {
    background-color: #eff4ff;
  }
  
  .caja2:nth-child(4n-2) {
    background-color: #eff4ff;
  }
  
  .caja2:nth-child(4n-3) {
    background-color: #eff4ff;
  }

  .caja2.primitiva2.caja-comprobar.width100mobile {
    background: #ffc1e4;
}
  .caja2.primitiva.caja-comprobar.width100mobile {
    background: #00cf6f;
}
.caja2.primitiva3.caja-comprobar.width100mobile {
    background: #ffddf0;
}

.caja2.rojo.caja-comprobar.width100mobile {
    background: #dc3f47;
}

.caja2.verde.caja-comprobar.width100mobile {
    background: #e4ffd6;
}


  

@media (min-width: 1200px) {
 .caja2:nth-child(odd) {
    width: 49.46%; /* Establece el ancho de cada columna en un 50% en pantallas de 768px o más */
    margin-right:3px;
    margin-left: 3px;
    margin-block-start: 12px;
    margin-block-end: 12px;
  }

  .caja2:nth-child(even) {
    margin-right: 0 !important;
    margin-left: 6px !important;
    margin-block-start: 12px;
    margin-block-end: 12px;
    width: 49.46%;
  }

}

.euromillones:nth-child(4n-1) {
    background-color: #225ad3 ;
  } 
  .euromillones:nth-child(4n-2) {
    background-color: #225ad3 ;
  }
  .euromillones:nth-child(4n-3) {
    background-color: #225ad3 ;
  }
  .euromillones:nth-child(4n-4) {
    background-color: #225ad3 ;
  }
  .caja2.euromillones.hoy {
    position: relative;
  }
  .caja2.euromillones.hoy::before {
    content: 'HOY';
    position: absolute;
    top: -22px;
    right: 5px;
    width: 45px;
    height: 45px;
    background-color: red;
    border-radius: 50%;
    color: white;
    font-size: 12px;
    font-weight: bold;
    text-align: center;
    line-height: 45px;
    animation: pulse 2s infinite;
    transform: rotate(-45deg);
  }
  .caja2.euromillones.ayer {
    position: relative;
  }
  .caja2.euromillones.ayer::before {
    content: 'Ayer';
    position: absolute;
    top: -22px;
    right: 5px;
    width: 45px;
    height: 45px;
    background-color: red;
    border-radius: 50%;
    color: white;
    font-size: 12px;
    font-weight: bold;
    text-align: center;
    line-height: 45px;
  }



.once:nth-child(4n-1) {
    background-color: #ebfcf0;
  }
  
  .once:nth-child(4n-2) {
    background-color: #ebfcf0;
  }
  
  .once:nth-child(4n-3) {
    background-color: #ebfcf0;
  }
  
  .once:nth-child(4n-4) {
    background-color: #ebfcf0;
  }
  
  .caja2.once.hoy {
    position: relative;
  }
  
  .caja2.once.hoy::before {
    content: 'Hoy';
    position: absolute;
    top: -22px;
    right: 5px;
    width: 45px;
    height: 45px;
    background-color: red;
    border-radius: 50%;
    color: white;
    font-size: 12px;
    font-weight: bold;
    text-align: center;
    line-height: 45px;
    animation: pulse 2s infinite;
    transform: rotate(-45deg);
  }

  .caja2.once.ayer {
    position: relative;
  }
  
  .caja2.once.ayer::before {
    content: 'Ayer';
    position: absolute;
    top: -22px;
    right: 5px;
    width: 45px;
    height: 45px;
    background-color: red;
    border-radius: 50%;
    color: white;
    font-size: 12px;
    font-weight: bold;
    text-align: center;
    line-height: 45px;

  }
  
  @keyframes pulse {
    0% {
      transform: scale(1);
    }
    50% {
      transform: scale(1.2);
    }
    100% {
      transform: scale(1);
    }
  }
  
  
  
  

.premio-circulo1 {
    display: inline-block;
    padding: 8px;
    margin-bottom: 10px;
    font-weight: 600;
    background-color: #fedc00;
    color: black;
    margin-left: 5px;
    margin-right: 5px;
    box-sizing: border-box;
}

.premio-circulo2 {
    display: inline-block;
    padding: 8px;
    margin-bottom: 10px;
    font-weight: 600;
    background-color: #ff0000;
    color: white;
    margin-left: 5px;
    margin-right: 5px;
    box-sizing: border-box;
}

.margin-bottom10 {
    margin-bottom: 10px !important;
}

.premio-circulo3 {
    display: inline-block;
    padding: 8px;
    margin-bottom: 10px;
    font-weight: 600;
    background-color: #008137;
    color: white;
    margin-left: 5px;
    margin-right: 5px;
    box-sizing: border-box;
}

.premio-circulo4 {
    display: inline-block;
    padding: 8px;
    margin-bottom: 10px;
    font-weight: 600;
    background-color: #4430fb;
    color: white;
    margin-left: 5px;
    margin-right: 5px;
    box-sizing: border-box;
}

.premio-circulo5 {
    display: inline-block;
    padding: 8px;
    margin-bottom: 10px;
    font-weight: 600;
    background-color: #ff6700;
    color: white;
    margin-left: 5px;
    margin-right: 5px;
    box-sizing: border-box;
}

.enlace {
    background: black;
    padding: 11px;
}

.enlace a {
    color: white !important;
    text-decoration: none;
}
.enlace2 {
    background: #ffffff;
    padding: 11px;
}

.enlace-estrellas {
    color: white !important; margin-bottom: 18px; margin-top: 0 !important; font-size: 15px !important;
}

.premio,
.premio2 {
    font-size: 20px;
}

.dpremio {
    font-size: 20pt;
    background: #2b2e83;
    padding: 5px 15px;
    color: white;
    border-radius: 18px;
}

.reintegros {
    font-size: 15px;
}

.table {
    display: block!important;
    overflow-x: auto!important;
}

h1,
h2,
h3 {
    font-weight: bold;
    color: #2b2e83;
}

h1 {
        background-repeat: no-repeat;
        background-color: #fedc00;
        background-image: linear-gradient(to bottom,transparent 3%,#f0f8ff 1%);
        padding: 2em 0 2em 2%;
        border-radius: 0 0 90px 0px;
}

.titulo.fondo {
    background-repeat: no-repeat;
    background-color: #000000;
    background-image: linear-gradient(to bottom,transparent 8%,#f0f8ff 1%);
    padding: 2em 0 2em 2%;
    border-radius: 0 0 90px 0px;
}

.flex-wrap {
    display: flex;
    flex-wrap: wrap;
}

.div-centro {
    margin: auto;
}

.btn {
    display: inline-block;
    background-color: #6E0C5F;
    color: #ffffff;
    padding: 12px 12px;
    font-size: 11px;
    font-weight: bold;
    text-decoration: none;
    text-align: center;
    text-transform: uppercase;
    border: none;
    border-radius: 40px;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
  }
  
  .btn:hover {
    background-color: #ffffff;
    color: #6E0C5F;
  }
  
  

.width100 {
    width: 100% !important;
}

.caja-comprobar form {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.caja-comprobar form input {
    margin: 20px 0;
}

.alert {
    padding: 30px;
}

.alert-danger {
    background-color: #ff0000;
    color: #ffffff;
}

.alert-success {
    background-color: #c0ff00;
    color: #2b2e83;
}

h1,
.h1 {
    font-size: 26px;
}

h2,
.h2 {
    font-size: 20px;
}

h3,
.h3 {
    font-size: 14px;
}

h4,
.h4 {
    font-size: 13px;
}

.input-lg {
    padding: 2% 10%;
}

.btn-lg {
    padding: 2% 8%;
}

.btn-links {
    background: #2c2e83;
    color: #ffffff !important;
    FONT-WEIGHT: 600;
    padding: 20px 10px;
    WIDTH: 290PX;
}
.btn-links:hover {
    background-color: #6E0C5F;
    color: #6E0C5F;
  }

.btn-01 {
    margin-right: 10px;
    MARGIN-BOTTOM: 10PX;
    margin-block-start: 20px;
}

.btn-02 {
    margin-right: 10px;
    MARGIN-BOTTOM: 10PX;
    margin-block-start: 20px;
}

.caja-btn-2203 {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

#main-container {
    width: 100%;
    max-width: 100%;
    background-color: white;
    height: 100%;
    overflow: hidden;
}

.block {
    background-color: white;
    border: 2px solid;
    border-color: rgb(0, 0, 0);
    padding: 10px;
    width: 31.33%;
    height: 100%;
    float: left;
    margin: 1%;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

@media screen and (max-width: 640px) {
    .block {
        background-color: white;
        width: 98%;
    }
    .block:first-child {
        width: 98%;
        height: 100%;
        background-color: white;
        clear: both;
    }
    .block:last-child {
        width: 98%;
        background-color: white;
        clear: both;
    }
}

@media screen and (max-width: 640px) and (max-width: 320px) {
    .block {
        width: 98%;
    }
}

.columnaPremio {
    border: 2px solid lightgrey;
    width: 15%!important;
}

.premiobloque {
    background: #6E0C5F;
    color: white;
    padding: 10px;
    font-size: 30px;
}

.tablaPremios {
    display: flex;
    max-width: 100%;
    width: 100%;
    justify-content: space-evenly;
    padding-top: 40px;
    padding-bottom: 40px;
    margin-bottom: 20px;
}

.titular {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-bottom: 30px;
    border-bottom: 1px solid lightgrey;
    align-items: center;
    padding-top: 20px;
    padding-bottom: 20px;
    font-size: 18px;
    font-weight: bold;
}

.pildorasNumeros {
    display: flex;
    justify-content: center;
}

@media (max-width:1200px) {
    .width100mobile {width: 100% !important;}
}
@media (max-width:767px) {
    .tablaPremios {
        flex-direction: column;
    }
    .columnaPremio {
        width: 100%!important;
        margin-bottom: 40px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding-bottom: 20px;
    }
    
    .bloque-estrella {
        width: 25% !important;
    }
    
}

.estrellas {
    display: flex;
}

.bloque-estrella {
    width: 14%;
}

.estrella-img {
    width: 70px;
    margin-top: -11px;
}

.texto-estrella {
    margin-left: -51px;
    font-size: 20px;
    font-weight: 700;
}

.hoy{
    position: relative;
  }

.hoy::before {
    content: 'HOY';
    position: absolute;
    top: -22px;
    right: 5px;
    width: 45px;
    height: 45px;
    background-color: red;
    border-radius: 50%;
    color: white;
    font-size: 12px;
    font-weight: bold;
    text-align: center;
    line-height: 45px;
    animation: pulse 2s infinite;
    transform: rotate(-45deg);
}
.manana{
    position: relative;
  }
  .manana::before {
    content: '1 dia';
    position: absolute;
    top: -22px;
    right: 5px;
    width: 45px;
    height: 45px;
    background-color: red;
    border-radius: 50%;
    color: white;
    font-size: 12px;
    font-weight: bold;
    text-align: center;
    line-height: 45px;
  }

.botes.falta {
    position: relative;
  }
  .botes.falta::before {
    content: "Faltan " attr(data-dias) " dias";
    position: absolute;
    top: -22px;
    right: 5px;
    width: 70px;
    border-radius: inherit;
    background-color: black;
    padding: 3px;
    color: white;
    font-size: 12px;
    font-weight: bold;
    text-align: center;
}

.ayer {
    position: relative;
  }
  .ayer::before {
    content: 'Ayer';
    position: absolute;
    top: -22px;
    right: 5px;
    width: 45px;
    height: 45px;
    background-color: red;
    border-radius: 50%;
    color: white;
    font-size: 12px;
    font-weight: bold;
    text-align: center;
    line-height: 45px;
  }

  .blog h2,
  .blog h3 {
    margin-top: 22px !important;
  }

  .blog h2 {
    margin-top: 22px !important;
    font-size: 28px !important;
    background: #7fffd4;
    padding: 10px;
  }

  .blog h3 {
    background-color: #ccff0063;
    display: inline-block;
    padding: 5px;
    font-size: 21px;
  }

  .blog h4 {
    background-color: #ccff0024;
    display: inline-block;
    padding: 5px;
    font-size: 21px;
  }

  .col-md-12.blog h1 {
    font-size: 40px !important;
  }
  

/* ULTIMOS JUEGOS HOME */

/* Contenedor para todos los sorteos */
.sorteo-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start; /* Cambiar a flex-start para alinear todos los elementos hacia el inicio */
}

/* Cada sorteo ocupará un 30% del ancho en pantallas grandes */
.sorteo-container {
    background-color: #fff; /* Fondo blanco */
    border: 1px solid #ddd; /* Borde gris suave */
    padding: 15px; /* Padding interno */
    margin: 10px; /* Margen entre los sorteos */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Sombra suave */
    border-radius: 8px; /* Bordes redondeados */
    width: calc(33.33% - 20px); /* Ancho para ocupar 1/3 del contenedor, restando el margen */
    box-sizing: border-box; /* Incluir padding y border en el tamaño total */
}

/* Estilo de los números */
.sorteo-numeros span {
    display: inline-block; /* Cada número en bloque */
    width: 35px; /* Ancho fijo */
    height: 35px; /* Alto fijo */
    line-height: 35px; /* Centrado vertical */
    margin-right: 8px; /* Margen a la derecha */
    margin-bottom: 10px; /* Margen inferior */
    border-radius: 50%; /* Bordes redondeados */
    color: white; /* Color del texto en blanco */
    text-align: center; /* Centrando el texto */
    font-size: 1em; /* Tamaño de fuente */
}

/* Detalles del sorteo */
.sorteo-detalles {
    font-size: 1em; /* Tamaño de fuente */
    margin-top: 10px; /* Margen superior */
    color: #555; /* Color del texto */
}

.sorteo-detalles p {
    margin-bottom: 10px; /* Margen inferior */
    font-size: 1em; /* Tamaño de fuente */
}

.sorteo-detalles span {
    font-weight: bold; /* Negrita para resaltar */
    color: #0056b3; /* Color azul */
}

/* Responsive: una columna en pantallas pequeñas */
@media (max-width: 768px) {
    .sorteo-container {
        width: 100%; /* Ancho completo en pantallas pequeñas */
        margin-bottom: 15px; /* Margen inferior */
    }
}
/* Estilo de los números */
.sorteo-numeros span {
    display: inline-block;
    width: 35px;
    height: 35px;
    line-height: 35px;
    margin-right: 8px;
    margin-bottom: 10px;
    border-radius: 50%;
    color: white;
    text-align: center;
    font-size: 1em;
}

/* Colores para cada juego */
.bonoloto {
    background-color: #007bff; /* Azul Bonoloto */
}

.el-gordo {
    background-color: #dc3545; /* Rojo El Gordo */
}

.eurodreams {
    background-color: #6f42c1; /* Verde EuroDreams */
}

.eurojackpot {
    background-color: #17a2b8; /* Teal EuroJackpot */
}

.euromillon {
    color: black !important;
    background-color: #ffc107; /* Amarillo Euromillones */
}

.primitiva {
    background-color: #28a745; /* Morado Primitiva */
}

.triplex {
    background-color: #fd7e14; /* Naranja Triplex */
}

.loteria-nacional {
    background-color: #20c997; /* Verde claro Lotería Nacional */
}
/* FIN ULTIMOS JUEGOS HOME */
