#layout-menu .popover-header {
    display: flex;
    align-items: center;
    justify-content: center;
}

#layout-menu .popover-header #logo {
    width: auto;
    height: 44px;
    max-height: 44px;
    max-width: 62px;
    padding: 0;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

@media screen and (min-width: 481px) and (max-width: 1024px) {
    #layout-menu .popover-header #logo {
        height: 30px;
        max-height: 30px;
        max-width: 34px;
    }
}

.task-login #logo,
.task-logout #logo {
    width: auto;
    height: 88px;
    max-height: 88px;
    object-fit: contain;
}

#taskmenu {
    display: flex;
    flex-direction: column;
}

#taskmenu > .action-buttons {
    order: 1;
}

#taskmenu > a.mail {
    order: 2;
}

#taskmenu > a.eskela-folders {
    order: 3;
}

#taskmenu > a.contacts {
    order: 4;
}

#taskmenu > a.eskela-filters {
    order: 5;
}

#taskmenu > a.settings {
    order: 6;
}

#taskmenu > .special-buttons {
    order: 7;
}

#taskmenu a.button-help {
    display: none !important;
}
