footer {
    margin-top: 2em;
    color: #8d8c8c;
    padding: 0.5em 2em;
    line-height: 1.3em;
}

footer .separ {
    padding-left: 0.3em;
    padding-right: 0.3em;
}

footer .actions {
    padding-bottom: 0.5em;
}

footer .actions, footer .info {
    display: flex;
    flex-direction: row;
    justify-content: center;
}

footer .debug-warning {
    background-color: #E2007A;
    color: #EEEEEE;
    border-radius: 0.25em;
    padding-left: 0.2em;
    padding-right: 0.2em;
}

footer a {
    color: #4c5854;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

footer #language-switch-form {
    display: inline-block;
}

footer #language-switch-form .switch {
    border: none;
    background: transparent;
    cursor: pointer;
    color: #4c5854;
    padding: 0 0 0 0.1em;
}

footer #language-switch-form .switch:hover {
    text-decoration: underline;
}

footer #language-switch-form .switch:last-child {
    padding-right: 0;
}

footer.custom-footer {
    background-color: #F6F3EE;
    border-color: #E1DBD1;
    border-width: 1px 0 1px 0;
    border-style: solid;
    text-align: left;
    padding-top: 0.7em;
}

footer.custom-footer .debug-warning  {
    float: right;
}

footer.custom-footer a {
    color: #009EE0;
}

@media screen and (max-width: 479px) {
    footer .separ {
        display: none;
    }

    footer .actions, footer .info {
        flex-direction: column;
        flex-wrap: nowrap;
        align-items: center;
        line-height: 1.5em;
    }
}
