@media only screen and (min-width: 768px) {
    .countdown.countdownright {
        float: right;
        color: black;
        font-weight: bold;
    }
    span.time.hours.text-primary {
        padding-left: 10px;
    }
    .countdown .date span {
        font-size: 14px;
        font-weight: bold;
    }
    .countdown .date {
        min-width: 18px;
        color: black;
        display: inline-block;
    }
}
@media only screen and (min-width: 199px) {
    .header-style-2 .dez-topbar-left li a span {
        display: initial;
    }
}
@media only screen and (max-width: 996px) {
    .countdown {
        display: none;
    }
    .ocultomovil {
        display: none;
    }
    #bg > div.page-wraper > header > div.top-bar > div > div > div.dez-topbar-left > ul > li.ocultomovil{
        display: none!important;
    }
}
td.headingrojo {
    background-color: #2d3239;
    color: white;
}
td.headingnegro {
    background-color: #000000;
    color: white;
}
.cd-years{
    color: #ffba00;
}

.cd-days{
    color: #ffba00;
}

.cd-hours{
    color: #ffba00;
}

.cd-mins{
    color: #ffba00;
}

.cd-secs{
    color: #ffba00;
}
@media screen and (min-width: 600px) and (max-width: 2080px) {
    .escritorio{ display: all; }  /* show it on smaller screen */
    .solomovil{ display: none; }   /* hide it on larger screens */
    div#slide-100-layer-1 {
        max-width: 100% !important;
    }
}
/* Campos obligatorios vacíos: borde rojo (antes de enviar por required y si PHP devuelve error) */
.dz-field-error {
    border-left: 3px solid #dc3545;
    padding-left: 10px;
}
.dz-field-error .form-control,
.form-control.is-invalid,
.dz-field-error input.checkbox {
    border: 2px solid #dc3545 !important;
}
.input-group.dz-field-error {
    border: 2px solid #dc3545 !important;
    border-radius: 4px;
    flex-wrap: wrap;
}
/* Badge "Este campo es obligatorio" debajo de cada campo con error */
.dz-error-msg {
    display: block;
    width: 100%;
    flex-basis: 100%;
    color: #dc3545 !important;
    font-size: 0.8rem;
    font-weight: 600;
    margin-top: 4px;
    padding: 2px 0;
}
[data-dz-recaptcha-wrap].dz-field-error {
    border: 2px solid #dc3545;
    padding: 10px;
    border-radius: 4px;
}
[data-dz-recaptcha-wrap].dz-field-error .dz-error-msg {
    margin-top: 8px;
}
/* Bloques de checkbox obligatorio (ej. RGPD) sin marcar */
.m-b0.dz-field-error {
    border: 2px solid #dc3545 !important;
    padding: 8px !important;
    border-radius: 4px;
    margin-top: 4px;
}

/* Aviso RGPD en formularios: cada bloque en su propia línea */
.rgpd-aviso {
    display: block;
    width: 100%;
    line-height: 1.45;
}
.rgpd-aviso p {
    margin: 0 0 0.55em;
}
.rgpd-aviso p:last-child {
    margin-bottom: 0;
}

.noticia-detalle-img a,
.noticia-detalle-img img {
    display: block;
    width: 100%;
    height: auto;
}
.noticia-detalle-img {
    margin-bottom: 30px;
}

@media screen and (min-width: 0px) and (max-width: 599px) {
    .escritorio{ display: none; }   /* hide it on larger screens */
    .solomovil{ display: all; }   /* hide it on larger screens */
    h1{font-size:22px !important;text-align: center !important;}
    h2{font-size:18px !important;line-height: 24px;text-align: left !important;margin-top: 5px !important;}
    /*h2.centered{text-align: left !important;}*/
    h3{font-size:18px !important;}
    div#slide-100-layer-1 {
        max-width: 100% !important;
        white-space: normal !important;
        padding-bottom: 95px !important;
    }
}

/* Botones: azul suave (90, 141, 208) en lugar del rojo */
.site-button,
.comments-area .comment-form p input[type="submit"],
.site-filters .active > [class*="site-button"] {
    background-color: #5A8DD0;
}
.site-button:active,
.site-button:hover,
.site-button:focus,
.active > .site-button,
.comments-area .comment-form p input[type="submit"]:hover,
.comments-area .comment-form p input[type="submit"]:focus,
.comments-area .comment-form p input[type="submit"]:active {
    background-color: #4F7CB7;
    color: #fff;
}
.site-button.red {
    background-color: #5A8DD0;
    color: #fff;
}
.site-button.red:hover,
.site-button.red:active,
.site-button.red:focus {
    background-color: #4F7CB7;
    color: #fff;
}

/* Logo SPAINSPORT 2025: marca horizontal (emblema + nombre) */
.logo-header,
.is-fixed .logo-header,
.is-fixed.header-curve .logo-header {
    width: 210px;
    height: auto;
    padding: 16px 8px;
    box-sizing: content-box;
}
.logo-header img,
.is-fixed .logo-header img,
.is-fixed.header-curve .logo-header img {
    display: block;
}
.logo-footer {
    width: 210px;
    height: auto;
    max-width: 100%;
}
@media only screen and (max-width: 767px) {
    .logo-header,
    .is-fixed .logo-header,
    .is-fixed.header-curve .logo-header {
        width: 170px;
        height: auto;
    }
}

/* Footer: las dos bandas (menús y barra inferior) en azul oscuro */
.footer-overlay .footer-top,
.site-footer .footer-top {
    background-color: #1C4570;
}
.footer-overlay .footer-bottom,
.site-footer .footer-bottom {
    background-color: #143352;
    border-top-color: rgba(255, 255, 255, 0.12);
}
