/*
 * Rules shared by every page that extends base.html.twig.
 *
 * They used to be inline (<style> in preloader.html.twig, style="" attributes
 * in the legacy templates) and were moved here so the pages work under
 * Content-Security-Policy "style-src 'self'" (no 'unsafe-inline').
 */

/* templates/preloader.html.twig */
.preloader-block {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 100%;
    width: 100%;
    opacity: 0.8;
    background-color: #ffffff;
    display: none;
}

.preloader-block__active {
    display: block;
}

.preloader-block .preloader {
    position: absolute;
    top: 50%;
    left: 50%;
    margin-left: -35px;
    margin-top: -10px;
}

/* templates/security/login.html.twig, templates/security/_login.html.twig */
.legacy-form-error {
    clear: both;
    font: normal normal 13px/15px Arial, Helvetica, sans-serif;
    line-height: 13px;
    color: #900;
    padding: 0 4px 6px;
    text-align: right;
    position: relative;
    top: -5px;
}

/* shown by public/js/script.js with .css({display: 'block'}) */
.legacy-form-error--hidden {
    display: none;
}

/* templates/resetting/reset.html.twig, templates/resetting/resetfail.html.twig */
.legacy-message--error {
    color: red;
}

.legacy-message--success {
    color: green;
}
