/*
Los "environment-flag" sirven para que en el entorno local se muestre una banderita verde en la cabecera de la web, en
el de desarrollo una naranja y en el de producción ninguna.
*/
#environment-flag-production {
    display: none;
}

#environment-flag-development {
    color: darkorange;
    position: absolute;
}

#environment-flag-local {
    color: lime;
    position: absolute;
}

/* Ribete aviso modo pruebas (SHOW_TEST_MODE_RIBBON = Y) */
.cr-test-mode-ribbon {
    height: 0;
    overflow: visible;
    pointer-events: none;
    position: fixed;
    right: 0;
    top: 0;
    width: 0;
    z-index: 1045;
}

.cr-test-mode-ribbon__label {
    background: linear-gradient(135deg, #e53935 0%, #c62828 55%, #b71c1c 100%);
    border-bottom: 2px solid rgba(255, 255, 255, 0.22);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.24);
    color: #fff;
    display: block;
    font-family: 'Didact Gothic', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    line-height: 1.45;
    padding: 10px 0;
    position: fixed;
    right: -62px;
    text-align: center;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.18);
    text-transform: uppercase;
    top: 42px;
    transform: rotate(45deg);
    width: 280px;
    z-index: 1045;
}

.cr-test-mode-ribbon__line {
    display: block;
}

.cr-test-mode-ribbon__line--secondary {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.05em;
    opacity: 0.95;
}

@media (max-width: 767px) {
    .cr-test-mode-ribbon__label {
        font-size: 9px;
        padding: 8px 0;
        right: -66px;
        top: 34px;
        width: 250px;
    }

    .cr-test-mode-ribbon__line--secondary {
        font-size: 8px;
    }
}
