.calendar-month,
.calendar-day,
.calendar-month td,
.calendar-day td,
.calendar-month th,
.calendar-day th {
  border: 1px solid #e5e5e5;
  background-color: #eee;
  text-align: center;
}
.calendar-month tr th {font-weight: 700}
.calendar-month .active,
.calendar-day .active {
  background-color: #ccc;
}
div.mail-archive-style-switcher {
  border-top: 1px solid #e5e5e5;
  border-bottom: 1px solid #e5e5e5;
  margin: 0 0 20px;
  padding: 15px 0 0;
  width: 100%;
}
.thread-flat-switcher {
    text-align: center;
}
#ma-search-results-holder form p {
    padding: 0;
}
#ma-search-results-holder .ma-page-list {
    line-height: 1;
    float: right;
}
.ma-page-list .page_list,
.email-body pre {
  border-left: 1px solid #e5e5e5;
  white-space: pre-wrap;
  margin: 0;
}
.mail-archive-style-switcher .page_list {
  white-space: nowrap;
}
.email-header {
  background-color: #ddd;
  white-space: nowrap;
}
.excluded-count {
  margin: 10px;
  text-align: center;
}
.ma-search-result {
  table-layout: fixed;
  width: 100%;
  word-wrap: break-word;
}

.msg-subject {
    width: 125px;
}

.calendar-month td,
.calendar-day td {
    padding: 4px 10px !important;
}

@media print, screen and (min-width: 640px) {
    .msg-subject {
        width: 250px;
    }
}
@media print, screen and (min-width: 1053px) {
    .msg-subject {
        width: 380px;
    }
}
@media print, screen and (max-width: 640px) {
    .calendar-month td, .calendar-day td {
        padding: 0 !important;
    }

}

@media print, screen and (max-width: 1053px) {
    .mail-archive-style-switcher {
        margin-left: 0;
        margin-right: 0;
    }
    .thread-flat-switcher {
        display: block !important;
    }

}

.ma-search-result th { cursor: pointer; }
.ma-search-result th:hover { text-decoration: underline; }
input.search-query { width: 90%; }
