/*
Aviso sobre iframes de terceros (YouTube, Visita Virtual) dormidos por
TrackingScriptCloak/IframeSeguimiento hasta que el visitante acepte cookies.
Ver pdccCloak.js.

z-index bajo (10): solo tiene que taparse a si mismo, encima del iframe/imagen
que envuelve, no del resto de la pagina.
*/

.pdccIframeWrap {
    position: relative;
    display: block;
}

/* Caso YouTube: el iframe original llevaba class="embed-responsive-item"
   (position:absolute;width:100%;height:100%, ver Bootstrap), posicionado
   respecto a ".embed-responsive". Al envolverlo, el wrap pasa a ser el
   ancestro posicionado mas cercano, asi que tiene que ocupar el mismo hueco
   que ocupaba el iframe. */
.pdccIframeWrap-absoluto {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.pdccIframeAviso {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px;
    text-align: center;
    background: rgba(31, 41, 55, .92);
    box-sizing: border-box;
}

.pdccIframeAviso * {
    box-sizing: border-box;
}

.pdccIframeAviso-texto {
    margin: 0;
    padding: 0;
    max-width: 320px;
    color: #f9fafb;
    font-family: inherit;
    font-size: 14px;
    line-height: 1.4;
}

.pdccIframeAviso-btn {
    display: inline-block;
    padding: 7px 16px;
    border: 0;
    border-radius: 4px;
    background: #f59e0b;
    color: #1f2937;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    cursor: pointer;
}

.pdccIframeAviso-btn:hover,
.pdccIframeAviso-btn:focus {
    background: #fbbf24;
}
