@charset "utf-8";
/* CSS Document */

.bannerAviso {
    height: 100%;
    width: 98%;
    max-width: 980px;
    margin: 20px auto;
}

.bannerAvisoDana {
    /* height: 60px; */
    display: flex;
    flex-flow: row;
    background-color: #1a3950;
    color: #ffffff;
    font-size: 1em;
    padding: 30px 20px;
}

    .bannerAvisoDana .bloqueA {
        width: 30%;
        display: flex;
        flex-flow: column;
        justify-content: flex-start;
        align-items: flex-start;
    }

        .bannerAvisoDana .bloqueA span.contacto {
            font-size: 1em;
            font-weight: bold;
            margin-bottom: 3px;
            margin-top: 0px;
            margin-bottom: 6px;
        }

            .bannerAvisoDana .bloqueA span.contacto a {
                font-size: 0.9rem;
                font-weight: bold;
                color: #ffffff;
            }

                .bannerAvisoDana .bloqueA span.contacto a:hover {
                    text-decoration: underline;
                }

        .bannerAvisoDana .bloqueA span.titular {
            font-size: 2.6em;
            font-weight: bold;
            margin-top: 0px;
            margin-bottom: 0px;
        }

    .bannerAvisoDana .bloqueB {
        display: flex;
        flex-flow: column;
        justify-content: center;
        text-align: left;
        line-height: 24px;
    }

        .bannerAvisoDana .bloqueB span {
            font-weight: bold;
            font-size: 1.5em;
            margin: 0px;
        }

        .bannerAvisoDana .bloqueB button {
            padding: 12px 18px;
            background-color: #ffffff;
            border-radius: 20px;
            border: 0px;
            color: #1a3950;
            margin-top: 20px;
        }

            .bannerAvisoDana .bloqueB button:hover {
                text-decoration: underline;
                cursor: pointer;
            }

@media only screen and (min-width: 0px) and (max-width: 1024px) and (min-resolution: 1dppx), only screen and (min-device-width: 0px) and (max-device-width: 1024px) and (-webkit-min-device-pixel-ratio: 2) {
    .destacado {
        grid-template-rows: auto auto auto;
    }

        .destacado .bannerAviso {
            grid-row: 1 / 2;
            grid-column: 1 / span 2;
        }

        .destacado h2.titulo2 {
            grid-row: 2 / 3;
        }

        .destacado .carrusel {
            grid-row: 3 / 4;
        }

    .bannerAvisoDana .bloqueA {
        margin-bottom: 20px;
    }

    .bannerAvisoDana .bloqueB button {
        margin-top: 10px;
    }
}

@media only screen and (min-width: 0px) and (max-width: 767px) and (min-resolution: 1dppx), only screen and (min-device-width: 0px) and (max-device-width: 767px) and (-webkit-min-device-pixel-ratio: 2) {
    .bannerAvisoDana {
        flex-flow: column;
    }

        .bannerAvisoDana .bloqueA {
            width: 100%;
        }

            .bannerAvisoDana .bloqueA p.titular {
                margin-bottom: 0px;
            }

            .bannerAvisoDana .bloqueA span.contacto {
                margin-top: 0px;
            }
}

@media only screen and (min-width: 768px) and (max-width: 1140px) and (min-resolution: 1dppx), only screen and (min-device-width: 768px) and (max-device-width: 1140px) and (-webkit-min-device-pixel-ratio: 2) {
    .destacado .bannerAviso {
        grid-row: 1 / 2;
        grid-column: 1 / span 5;
        padding-left: 15px;
        padding-right: 15px;
    }

    .bannerAvisoDana .bloqueA {
        width: 45%;
        margin-bottom: 0px;
    }
}
