/* Example: Gmail-like sidebar for all skins */

html.layout-phone .messagelist td.subject, html.touch .messagelist td.subject
 {
    padding: 5px;
}

.messagelist td.subject span {
    padding: 5px 5px 0 5px;
    line-height: 1.1em;
}

@media (max-width: 768px) {
.listing tbody td a {
    font-size: 1.2em;
  }
}


#layout-sidebar, .sidebar {
    background-color: #f6f8fc; 
}

/* 2. Unset/Override it when Dark Mode is active */

@media (prefers-color-scheme: dark) {
    #layout-sidebar, .sidebar {
        /* This reverts it to the skin's default dark color */
        background-color: unset !important;
    }
}

.messagelist td.subject span.msgicon.status.unread:before {
    content: "\f111";
    color: #dc3545!important;
    font-size: .7rem;
}

.messagelist td.subject span.msgicon.status:before {
    font-size: .6rem;
}


html.dark-mode body {
    color: #c5d1d3;
    background-color: black!important;
}


html.dark-mode span.rcmContactAddress{
    color: #fff;
}


a.rcmContactAddress {
    color: #0842a0;
}

html.dark-mode a.rcmContactAddress {
   color: #00acff!important;
}

.messagelist td.subject span.fromto {
    font-size: 1em;
    color: #0842a0;
    font-weight: 600 !important;
  }


@media (max-width: 768px) {
.messagelist td.subject span.fromto {
    font-size: 1.3em!important;
  }
}
html.dark-mode .listing li a {
	color: unset!important;
}

html.dark-mode .message-htmlpart {
/*   background-color: #2c363a!important; */
    /*color: #fff!important; */
}


/*.listing li a {
    color: #c5d1d3!important;
}
*/

#layout-menu .popover-header img {
    max-height: 38px!important;
}


/* Force pill-shaped buttons */
.button, .btn {
    border-radius: 20px !important;
    text-transform: none !important;
}

.folderlist li.mailbox .unreadcount {
    background: #b3261e!important;
}

#message-header .header-links a {
    color: #0842a0;
}


html.dark-mode #message-header .header-links a {
    color: #00acff!important;
}


#message-header .header-links a.adr {
    color: #0842a0 !important;
    text-decoration: none; /* Gmail style */
}

.folderlist li.mailbox .unreadcount {
    padding: 0 0.5em!important;
    border-radius: 1em!important;

}
/* Custom Watermark override (if not using the config option) 
body.task-mail.action-none {
    background: url('path/to/your/logo.png') center no-repeat #f6f8fc !important;
    background-size: 200px !important;
}
*/

/*.theme.dark,*/
.about {
    display: none !important;
}

.input-group {
    padding: 5px 0!important;
}

.formbuttons {
    margin-top: 20px!important;
}


#layout-sidebar {
    max-width: 30%;
    min-width: 220px;
    width: 220px!important;
}
