btn-link {
    color: #f68b1f !important;
}

.btn-primary,
input[type="submit"],
button:not(.tox-tbtn),
.rcmbutton {
    background-color: #f68b1f !important;
    border-color: #f68b1f !important;
    color: white !important;
}

.btn-primary:hover,
.rcmbutton:hover {
    background-color: #e07b1c !important;
    border-color: #e07b1c !important;
}

#taskmenu .action-buttons a {
    background-color: #f68b1f !important;
    border-color: #f68b1f !important;
    color: white !important;
}

#taskmenu .action-buttons a:hover {
    background-color: #e07b1c !important;
    border-color: #e07b1c !important;
}

.folderlist li.mailbox .unreadcount {
    background-color: #f68b1f !important;
    color: white !important;
}

.taskbar a.active,
.taskbar a.active:hover {
    background-color: #f68b1f !important;
    color: white !important;
}

#header {
    background-color: #f68b1f !important;
}

#logo:hover {
    filter: hue-rotate(-20deg);
}
ul.treelist li.selected > div > a,
ul.treelist li.selected > a {
    background-color: rgba(246, 139, 31, 0.3) !important;
}
a.support-link,
a.support-link:visited {
    color: #f68b1f !important;
    text-decoration: underline;
}

a.support-link:hover,
a.support-link:focus {
    color: #e07b1c !important;
    text-decoration: none;
}
#messagelist tr.message.selected.focused td {
    background-color: #fcd9b1 !important;
}
#messagelist tr.selected.focused::before {
    background-color: #f68b1f !important;
}
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 #f68b1f !important;
    outline: none !important;
}

#message-header .header-links a {
    color: #f68b1f !important;
}
#message-header > .subject a.extwin {
    color: #f68b1f !important;
}
#message-header > .subject a.extwin:hover {
    color: #e07b1c !important;
}
a[href^="mailto:"] {
    color: #f68b1f !important;
    text-decoration: none;
}

a[href^="mailto:"]:hover {
    color: #e07b1c !important;
    text-decoration: underline;
}
tr.selected td.section {
    background-color: rgba(246, 139, 31, 0.1) !important;
}
#settings-menu li.selected,
#settings-menu li.selected a {
    background-color: rgba(246, 139, 31, 0.1) !important;
}
.custom-control-input:checked ~ .custom-control-label::before {
    background-color: #f68b1f !important;
    border-color: #f68b1f !important;
    transition: none !important;
}
input[type="radio"]:checked {
    accent-color: #f68b1f;
}
.skinlicense a {
    color: #f68b1f !important;
    text-decoration: underline;
}

.skinlicense a:hover,
.skinlicense a:focus {
    color: #e07b1c !important;
    text-decoration: none;
}
#mailtoprotohandler {
    color: #f68b1f !important;
    text-decoration: underline;
}

#mailtoprotohandler:hover,
#mailtoprotohandler:focus {
    color: #e07b1c !important;
    text-decoration: none;
}

a.button.btn.btn-link.extwin.hidden-small {
    color: #f68b1f !important;
}

a.button.btn.btn-link.extwin.hidden-small:hover {
    color: #d17112 !important;
    text-decoration: underline;
}

.form-control:focus {
    color: #2c363a;
    border-color: #f68b1f;
    box-shadow: 0 0 0 .2rem rgba(246, 139, 31, 0.25);
}
.recipient-input.focus {
    color: #2c363a;
    border-color: #f68b1f;
    box-shadow: 0 0 0 .2rem rgba(246, 139, 31, 0.25);
}

html:not(.touch) .listing.focus tbody tr.focused > td.name {
    background-color: rgba(246, 139, 31, 0.3);
}

.custom-control-input:focus ~ .custom-control-label::before {
  box-shadow: 0 0 0 0.2rem rgba(246, 139, 31, 0.5) !important;
  border-color: rgba(246, 139, 31, 1) !important;
  transition: none !important;
}

tr.selected.focused > td {
  background-color: rgba(246, 139, 31, 0.3) !important;
}


/* === DARK MODE === */

html.dark-mode .listing li.selected,
html.dark-mode .listing li.selected > a,
html.dark-mode .listing li.selected > div > a,
html.dark-mode .listing tr.selected td {
    color: #f68b1f !important;
    background-color: rgba(246, 139, 31, 0.2) !important;
}

html.dark-mode:not(.touch) .listing li > a:focus,
html.dark-mode:not(.touch) .listing.focus tbody tr.focused > td:first-child,
html.dark-mode:not(.touch) .listing.focus:not(.withselection) tbody tr.focused > td.selection + td {
    border-left: 2px solid #f68b1f !important;
    outline: none !important;
}

html.dark-mode .form-control:focus,
html.dark-mode .recipient-input.focus {
    border-color: #f68b1f !important;
    box-shadow: 0 0 0 .2rem rgba(246, 139, 31, 0.25) !important;
}

html.dark-mode .custom-control-input:checked ~ .custom-control-label::before {
    background-color: #f68b1f !important;
    border-color: #f68b1f !important;
}

html.dark-mode .custom-control-input:focus ~ .custom-control-label::before {
    box-shadow: 0 0 0 0.2rem rgba(246, 139, 31, 0.5) !important;
    border-color: #f68b1f !important;
}
html.dark-mode .messagelist tr:not(.flagged):not(.deleted).selected td.subject a,
html.dark-mode .messagelist tr:not(.flagged):not(.deleted).selected td.subject span.msgicon.status {
    color: #f68b1f !important;
}
html.dark-mode {
    scrollbar-color: #f68b1f #4d6066 !important;
}

.toolbar a.button {
  background-color: #f4f4f4;
  color: #333;                
  border: 1px solid #ccc;     
}

.toolbar a.button.active,
.toolbar a.button.selected {
  background-color: #ff6600;  
  color: #fff;
  border-color: #ff6600;
}
div.tox.focused {
    border-color: #f68b1f !important;
    box-shadow: 0 0 0 .2rem rgba(246, 139, 31, 0.25) !important;
}
