/* Heliotronic-Branding für den Roundcube-Skin "Elastic"
   CI: Navy #263562, Rot #e3000f, Petrol #15779b */

/* Kopf mit Logo immer Navy (auf dem Handy auch im aufgeklappten Menü) */
#layout-menu .popover-header {
    background-color: #263562 !important;
}

/* Seitenleiste links in Navy (ab Tablet-Breite; auf dem Handy ist das
   Menü eine weiße Liste mit dunkler Schrift und bleibt so) */
@media screen and (min-width: 481px) {
    #layout-menu,
    #taskmenu .special-buttons {
        background-color: #263562 !important;
    }

    #taskmenu a.selected,
    #taskmenu a:hover,
    #taskmenu a.selected:hover {
        background-color: #34478a !important;
    }
}

/* Logo in der Seitenleiste etwas Luft geben */
#layout-menu .popover-header img {
    padding: .5rem !important;
}

/* Logo auf der Login-Seite nicht zu breit */
body.task-login #logo {
    max-width: 320px;
    width: 80%;
    height: auto;
}

/* Hauptschaltflächen in Navy, nur im hellen Modus */
html:not(.dark-mode) .btn-primary,
html:not(.dark-mode) .btn.btn-primary {
    background: #263562;
    border-color: #263562;
    color: #fff;
}

html:not(.dark-mode) .btn-primary:hover,
html:not(.dark-mode) .btn-primary:focus,
html:not(.dark-mode) .btn-primary:active {
    background: #1e2a4e;
    border-color: #1b2647;
    color: #fff;
}
