a {
    color: #f36d2e;
    transition: color 0.3s;
}
a:hover {
    color: #c9480c;
}
input[type="text"] {
    border-color: #cfcfcf;
    box-shadow: none;
}
.custom-select:hover,
input[type="text"]:hover,
input[type="password"]:hover,
input[type="number"]:hover,
.custom-file-input:hover,
.custom-file .custom-file-label:hover,
.propform.groupped .row.input-group .content input:hover,
.recipient-input:hover {
    border-color: #828282;
    transition: border-color 0.3s;
}
.custom-select:focus,
input[type="text"]:focus,
input[type="password"]:focus,
input[type="number"]:focus,
.custom-file-input:focus,
.custom-file .custom-file-label:focus,
.propform.groupped .row.input-group .content input:focus,
.recipient-input.focus {
    border-color: #000000 !important;
    box-shadow: none;
}
::selection {
    background-color: #f7c3ab;
}
.form-control:focus {
    color: #202a2d;
    border-color: #000000;
    box-shadow: none;
}
.btn-primary {
    border: 1px solid #18921d;
    background-color: #23a729;
    background-image: linear-gradient(0deg, #118515 0%, #23a729 100%);
    font-weight: 700;
    border-radius: 5px;
    padding: 0.785rem 1.57rem 0.785rem 1.2rem;
    text-shadow: 0 1px #1d7418;
    line-height: 1;
    font-size: 1.125rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: none !important;
}
.btn-primary:hover, .btn-primary.disabled, .btn-primary:disabled {
    background-color: #118515;
    border: 1px solid #18921d;
    background-image: linear-gradient(180deg, #118515 0%, #23a729 100%);
}
.btn-primary:not(:disabled):not(.disabled):active:focus,
.btn-primary:not(:disabled):not(.disabled).active:focus {
    box-shadow: none;
}
.btn-primary:not(:disabled):not(.disabled):active,
.btn-primary:not(:disabled):not(.disabled).active {
    background-color: #118515;
    border: 1px solid #18921d;
    background-image: linear-gradient(180deg, #118515 0%, #23a729 100%);
}
.btn-primary.send:before {
    height: auto;
    width: auto;
    margin: 0 0.625rem 0 0 !important;
    font-size: 1rem;
    position: relative;
    top: -1px;
}
button.btn-primary:before,
button.btn-secondary:before {
    margin: 0 0.71rem 0 0 !important;
    font-size: 1rem;
    width: auto;
    height: auto;
}
button.btn-primary:before {
    position: relative;
    top: -1px;
}
.btn-secondary {
    background-color: #f9f9f9;
    background-image: linear-gradient(
        0deg,
        rgba(228, 228, 228, 1) 0%,
        rgba(249, 249, 249, 1) 100%
    );
    border: 1px solid #c0c0c0;
    border-bottom: 1px solid #808080;
    color: #000000;
    box-shadow: none !important;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    padding: 0.642rem 1.07rem;
}
.btn-secondary:hover,
.btn-secondary:not(:disabled):not(.disabled):active,
.btn-secondary:not(:disabled):not(.disabled).active,
.btn-secondary.disabled, .btn-secondary:disabled {
    background-image: linear-gradient(
        180deg,
        rgba(228, 228, 228, 1) 0%,
        rgba(249, 249, 249, 1) 100%
    );
    border: 1px solid #c0c0c0;
    border-bottom: 1px solid #808080;
    color: #000000;
}
.listing li a,
.custom-select,
ul.treelist.notree li > a,
.messagelist .message .subject,
.messagelist .message .flags,
.listing tbody td,
.messagelist td.subject a {
    cursor: pointer;
}

.task-login .formbuttons {
    margin: 1.07rem 0 2.14rem 0;
}
.folderlist li.mailbox .unreadcount {
    background-color: #198881;
}
.messagelist td.subject span.msgicon.status.unread:before {
    color: #198881;
}
.messagelist td.subject span.msgicon.status:before {
    color: #cee6ed;
}
#layout-menu {
    background-color: #1e272c;
}
#layout-menu .popover-header {
    background-color: #1e272c !important;
}
#layout-menu .popover-header img {
    max-height: 40px;
    max-width: 40px;
}
#taskmenu .special-buttons {
    background-color: #2a353b;
}
#taskmenu a:hover {
    background-color: #354148;
}
.custom-switch .custom-control-label:before {
    box-shadow: none !important;
    border-color: #adb5bd !important;
}
.custom-switch .custom-control-input:checked ~ .custom-control-label::before {
    border-color: #f36d2e !important;
    background-color: #f36d2e;
    box-shadow: none !important;
}
.custom-switch
    .custom-control-input:checked:disabled
    ~ .custom-control-label::before {
    border-color: #f7c3ab !important;
    background-color: #f7c3ab;
}
ul.treelist li.selected > div > a,
ul.treelist li.selected > a,
.listing tr.selected td,
.listing li.selected,
.listing tr.selected td {
    background-color: #fff8f4;
}
html:not(.touch) .listing li > a:focus,
html:not(.touch) .listing.focus tbody tr.focused > td:first-child,
html:not(.touch)
    .listing.focus:not(.withselection)
    tbody
    tr.focused
    > td.selection
    + td {
    border-left: 2px solid #f36d2e;
}
#layout > div > .header {
    background-color: #f2f3f4;
}
.quota-widget .value {
    background-color: #737677;
}
.select-menu .listing li a:hover,
.popupmenu .listing li > a:not(.disabled):hover {
    background-color: #f36d2e;
    cursor: pointer;
    color: #ffffff;
    transition: background-color 0.3s, color 0.3s;
}
.ui-dialog-titlebar-close.btn-secondary:hover {
    background-color: transparent;
    background-image: none;
    border: none;
}
.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset {
    justify-content: space-between;
    flex-direction: row-reverse;
}
.ui-dialog .ui-dialog-buttonpane {
    height: auto;
    padding: 1rem 1.5rem;
    border-top: 1px solid #efefef;
}
.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset button {
    margin: 0;
}
.quota-widget .bar {
    background-color: #dee0e1;
    border: 1px solid #dee0e1;
}
.menu.pagenav a.disabled {
    cursor: not-allowed !important;
    pointer-events: auto;
}
.file-upload .upload-form {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
.popover {
    box-shadow: 0 5px 10px rgb(0 0 0 / 15%);
}
.ui-dialog.ui-widget.ui-widget-content {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}
.nav-tabs .nav-item.show .nav-link,
.nav-tabs .nav-link.active {
    border-color: #efefef #efefef #ffffff;
}
.nav-tabs .nav-link:focus,
.nav-tabs .nav-link:hover {
    border-color: #efefef;
}
.nav-tabs,
.ui-draggable .ui-dialog-titlebar {
    border-color: #efefef;
}
.file-upload .hint {
    width: 100%;
}
.messagelist tr.flagged td,
.messagelist tr.flagged td.subject span.subject a,
.messagelist tr.flagged td.subject span.date,
.messagelist tr.flagged td.subject span.fromto {
    color: #198881;
}
.floating-action-buttons a.button {
    border: 1px solid #18921d;
    background-color: #23a729;
    background-image: linear-gradient(0deg, #118515 0%, #23a729 100%);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}
html.layout-small .popover-header,
html.layout-phone .popover-header {
    background-color: #1e272c;
}
.popover .menu li a:not(.disabled):hover {
    background-color: #f36d2e;
}
.task-login #logo {
    top: unset;
    margin: 0 0 2rem 0;
}
#login-form {
    top: unset;
}
.login-form__wrapper {
    display: flex;
    flex-direction: column;
    margin-top: 16vh;
}
.login-form__message {
    padding: 1rem;
    text-align: center;
    margin: 1rem;
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, .1);
}
.login-form__message--warning {
    background-color: #ff9800;
}
.login-form__message--error {
    background-color: #f44336;
    color: #ffffff;
}
.login-form__message--info {
    background-color: #2196F3;
    color: #ffffff;
}

@media screen and (min-width: 481px) {
    #taskmenu .action-buttons a.compose,
    #taskmenu .action-buttons a.compose:hover {
        color: #f36d2e;
    }
    #taskmenu .action-buttons a.compose:hover {
        background-color: #354148;
    }
    #taskmenu .action-buttons a.compose.selected {
        background-color: #45555c;
    }
}
@media screen and (max-width: 480px) {
    #taskmenu a {
        border-bottom: 1px solid #2a353b !important;
        color: #ffffff;
    }
    #taskmenu .action-buttons a {
        color: #f36d2e;
    }
    #taskmenu .special-buttons .logout {
        color: #ff5552;
    }
    .ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset button.btn-primary {
        padding: 0.785rem 1.57rem 0.785rem 1.2rem;
        border: 1px solid #18921d !important;
        background-color: #23a729;
        background-image: linear-gradient(0deg, #118515 0%, #23a729 100%);
        line-height: 1;
        font-size: 1.125rem;
        height: auto;
        color: #ffffff;
    }
    .ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset button:before {
        height: auto;
        width: auto;
        margin: 0 0.5rem 0 0 !important;
        line-height: 1;
    }
    .ui-dialog .ui-dialog-buttonpane {
        height: auto !important;
        padding: 1rem 1.5rem !important;
    }
    .ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset button.btn-secondary {
        background-color: #f9f9f9;
        background-image: linear-gradient(
            0deg,
            rgba(228, 228, 228, 1) 0%,
            rgba(249, 249, 249, 1) 100%
        );
        border: 1px solid #c0c0c0 !important;
        border-bottom: 1px solid #808080 !important;
        color: #000000;
        line-height: 1;
        padding: 0.642rem 1.07rem;
        height: auto;
    }
    .popover .menu .dropbutton a.dropdown:hover {
        background-color: #f36d2e;
    }
    .login-form__message {
        padding: .625rem;
    }
}
