/* Make sure we never scroll vertically. */
html {
    overflow-y: hidden;
}
#htmlAllowScroll {
    overflow-y: scroll;
}

/* Global */
input {
    vertical-align: middle;
}
.nojserror {
    color: red;
}

/* SpellChecker styles. */
.spellcheckChecking,
.spellcheckIncorrect {
    color: red;
}
.spellcheckCorrected {
    color: #090;
}
.spellcheckIncorrect,
.spellcheckCorrected {
    text-decoration: underline;
    cursor: pointer;
}

/* Splitbar styles. */
#msgSplitPane {
    border-bottom: 1px solid #d0d0d0;
    overflow: hidden;
}
.horde-splitbar-horiz {
    height: 7px;
    background-position: center -1px;
}

/* Message List */
.horde-buttonbar,
#msglistHeaderHoriz .msgSize {
    padding-right: 12px;
}
#msglistHeaderHoriz {
    border-bottom: 0;
}

#msglistHeaderVert {
    white-space: nowrap;
}

#msglistHeaderContainer .horde-popdown {
    display: inline-block;
    float: none;
    margin-bottom: -8px;
    margin-top: -4px;
}
#msglistHeaderContainer .sortup,
#msglistHeaderContainer .sortdown {
    margin-top: 3px;
    padding-top: 0;
}

.horde-table-header .horde-split-left {
    width: 2px;
    height: 22px;
    margin: 0 5px 0 -6px;
    top: 0;
}

/* Columns */
div.msgStatus {
    /* Ignore white-space in element. */
    font-size: 0;
    margin-top: 1px;
    padding-left: 8px;
    width: 70px;
}
div.msgFrom {
    left: 85px;
    width: 150px;
}
div.msgFrom a {
    color: inherit;
}
div.msgSubject {
    left: 240px;
    right: 225px;
}
div.msgDate {
    text-align: right;
    right: 88px;
    width: 130px;
}
div.msgSize {
    text-align: right;
    right: 18px;
    width: 50px;
}
div.msgSort {
    float: right;
    padding-top: 2px;
}

/* Message ViewPort */
span.vpEmpty {
    display: block;
    padding: 15px 80px 10px 35px;
    background: transparent url("../graphics/ico_message_off.png") no-repeat scroll 10px 15px;
    color: #a0a0a0;
    line-height: 18px;
}

/* Rows */
div.vpRow {
    border-bottom: 1px solid #d0d0d0;
    cursor: pointer;
    height: 21px;
    overflow: hidden;
}
div.vpRow div {
    overflow: hidden;
    padding-top: 4px;
    position: absolute;
    text-overflow: ellipsis;
    -o-text-overflow: ellipsis;
    white-space: nowrap;
}
div.vpRow div.iconImg {
    position: relative;
    margin-top: -3px;
    width: 16px;
}
div.vpRow div.horde-popdown {
    position: relative;
    width: 16px;
    margin-top: -4px;
}
div.vpRowSelected {
    background-color: #36525d !important;
    color: #fff;
}
div.vpRowHoriz div.sep {
    padding-left: 5px;
}

/* Rows: flags. */
div.flagLowpriority {
    font-weight: normal !important;
}
div.flagUnseen {
    font-weight: bold;
}
div.flagDeleted * {
    text-decoration: line-through;
}
div.vpRowSelected .msgflags.flagPersonal {
    background-image: url("../graphics/flags/personal-inv.png");
}
div.vpRowSelected .msgflags.flagHighpriority {
    background-image: url("../graphics/flags/priority_high-inv.png");
}
div.vpRowSelected .msgflags.flagLowpriority {
    background-image: url("../graphics/flags/priority_low-inv.png");
}
div.vpRowSelected .msgflags.flagSignedmsg {
    background-image: url("../graphics/flags/signed-inv.png");
}
div.vpRowSelected .msgflags.flagEncryptmsg {
    background-image: url("../graphics/flags/encrypted-inv.png");
}
div.vpRowSelected .msgflags.flagAttachmsg {
    background-image: url("../graphics/flags/attachment-inv.png");
}
div.vpRowSelected .msgflags.flagList {
    background-image: url("../graphics/flags/group-inv.png");
}
div.vpRowSelected .msgflags.flagJunk {
    background-image: url("../graphics/flags/spam-inv.png");
}
div.vpRowSelected .msgflags.flagNotJunk {
    background-image: url("../graphics/flags/innocent-inv.png");
}
div.vpRowSelected .msgflags.flagUnseen {
    background-image: url("../graphics/flags/unseen-inv.png");
}
div.vpRowSelected .msgflags.flagAnswered {
    background-image: url("../graphics/flags/answered-inv.png");
}
div.vpRowSelected .msgflags.flagDraft {
    background-image: url("../graphics/flags/draft-inv.png");
}
div.vpRowSelected .msgflags.flagForwarded {
    background-image: url("../graphics/flags/forwarded-inv.png");
}
div.vpRowSelected .msgflags.flagFlagged {
    background-image: url("../graphics/flags/flagged-inv.png");
}
div.vpRowSelected .msgflags.flagDeleted {
    background-image: url("../graphics/flags/deleted-inv.png");
}

/* Checkbox images */
.msCheck {
    background-image: url("../graphics/checkbox_off.png");
}
.msCheck:hover {
    background-image: url("../graphics/checkbox_over.png") !important;
}
.msCheckOn,
div.vpRowSelected .msCheck {
    background-image: url("../graphics/checkbox_on.png");
}
div.msgStatus .msCheck {
    margin-right: 1px;
}
.msCheckAll {
    cursor: pointer;
}

/* Rows (vertical mode) */
div.vpRowVert {
    height: auto;
    padding-top: 4px;
}
div.vpRowVert div {
    height: 20px;
    padding-top: 0;
    position: relative;
}
div.vpRowVert div.msgStatus {
    float: left;
    height: 24px;
    margin-right: 2px;
    padding-top: 16px;
    width: 15%;
}
div.vpRowVert div.msgFrom {
    left: auto;
    width: auto;
}
div.vpRowVert div.msgDate {
    float: right;
    right: auto;
    padding-right: 5px;
    width: auto;
}
div.vpRowVert div.msgSubject {
    left: auto;
    right: auto;
    color: gray;
    padding-right: 5px;
}

/* ViewPort - scroller */
.vpScroll {
    background: url("../graphics/scroller_back.png") repeat-y;
}
.vpScrollCursor {
    background: url("../graphics/scroller.png") repeat-y;
    border-left: 1px solid silver;
    width: 13px;
}
.vpScrollDown, .vpScrollUp {
    border-left: 1px solid silver;
    height: 16px;
    width: 13px;
}
.vpScrollUp {
    background-image: url("../graphics/sbcursor_top.png");
}
.vpScrollDown {
    background-image: url("../graphics/sbcursor_bottom.png");
    border-bottom: 1px solid #d0d0d0;
}
#slider_count {
    background-color: #ECEFF0;
    font-weight: bold;
    padding: 2px;
    position: absolute;
    opacity: 0.85;
}

/* IFRAMEs */
#dimpmain_iframe iframe {
    border: 0;
    width: 100%;
}

/* Sidebar */
#foldersLoading {
    padding: 10px;
}
#horde-sidebar .horde-info {
    display: none;
}
#ctx_mbox_sub span.iconImg,
#ctx_mbox_unsub span.iconImg,
#ctx_folderopts_sub span.iconImg,
#ctx_folderopts_unsub span.iconImg,
.folderoptsImg {
    background-image: url("../graphics/folders/folder.png");
}
.horde-subnavi-icon.col,
#ctx_folderopts_collapse span.iconImg,
#ctx_container_collapse span.iconImg,
#ctx_mbox_collapse span.iconImg {
    background-image: url("../graphics/folders/minus.png");
}
.horde-subnavi-icon.exp,
#ctx_folderopts_expand span.iconImg,
#ctx_container_expand span.iconImg,
#ctx_mbox_expand span.iconImg {
    background-image: url("../graphics/folders/plus.png");
}
#imp-normalmboxes {
    overflow-x: hidden;
    overflow-y: auto;
}
#imp-normalmboxes div.imp-sidebar-unsubmbox {
    font-style: italic;
}
.imp-sidebar-container:hover {
    background: none;
}
.imp-sidebar-container a:hover {
    cursor: default;
    text-decoration: none;
}
.imp-sidebar-container a,
.imp-sidebar-mbox-loading {
    color: #555 !important;
}
.horde-subnavi-icon.col,
.horde-subnavi-icon.exp {
    cursor: pointer;
}

#dropbase a {
    display: inline !important;
    padding-right: 1px;
}
#dropbase:hover {
    font-weight: normal !important;
}

#foldersSidebar .horde-popdown,
.dimpOptions .horde-popdown,
.atcrow .horde-popdown {
    display: inline-block;
    float: none;
    height: 16px;
    margin-top: -3px;
    width: 16px;
}

/* Message options. */
.dimpOptions {
    float: right;
}
.dimpOptions div {
    padding-bottom: 2px;
}
.dimpOptions span {
    cursor: pointer;
}
.dimpOptions .iconImg {
    margin-right: 0;
}
.dimpOptions a,
.dimpOptions a:visited {
    text-decoration: none;
    color: #000;
}
.dimpOptions a:hover {
    text-decoration: underline;
}
.dimpOptions .horde-popdown,
.atcrow .horde-popdown {
    padding-left: 4px;
}

/* Actions */
#button_compose {
    display: none;
}

/* Preview pane styles. */
#previewPane {
    overflow: auto;
}
#previewInfo {
    background: transparent url("../graphics/ico_message_off.png") no-repeat scroll 10px 15px;
    color: #a0a0a0;
    line-height: 18px;
    padding: 15px 80px 10px 40px;
}

/* Headers styles. */
.msgHeaders {
    padding: 10px 6px 10px 4px;
    background-color: #eceff0;
    border-bottom: 1px solid #d0d0d0;
    max-height: 300px;
    overflow-x: hidden;
    overflow-y: auto;
}
.msgHeaders a {
    color: #000;
}
.msgfullread .msgHeaders {
    cursor: default;
}

.msgHeaders table thead td.label {
    display: block;
    font-weight: bold;
    padding-right: 4px;
    text-align: right;
    white-space: nowrap;
}
.msgfullread .msgHeaders table thead td.label {
    padding-left: 3px;
}
.msgHeaders .subject {
    font-weight: bold;
}
#msgHeaderAtc td.label {
    display: table-cell;
}
#msgHeaderAtc td.label a {
    font-weight: normal;
    padding-right: 2px;
}

.atcLabel, .msgLogLabel {
    font-weight: bold;
    line-height: 20px;
    padding-right: 5px;
}

#partlist {
    padding-top: 2px;
}
#partlist .horde-tree-image {
    padding-right: 1px;
}

#partlist_toggle span.attachmentImg {
    margin-right: 0;
}

#msgloglist {
    list-style-type: none;
}
#msgloglist li {
    padding-top: 4px;
}

#msgloglist_toggle,
#partlist_toggle {
    cursor: pointer;
}

/* Preview small header */
#msgHeadersColl {
    line-height: 20px;
}
#msgHeadersColl ul {
    list-style: none;
    overflow: hidden;
    white-space: nowrap;
}
#msgHeadersColl li {
    float: left;
}
#msgHeadersColl .date {
    margin-left: 5px;
}
#msgHeadersColl .from .horde-button {
    line-height: 16px !important;
    margin: 0;
}

/* Message body formatting. */
.messageBody {
    padding: 10px;
}
.msgfullread div.messageBody {
    overflow: auto;
}
.msgfullread div.subject {
    font-size: 120%;
    font-weight: bold;
    max-height: 50px;
    overflow-x: hidden;
    overflow-y: auto;
    padding-bottom: 5px;
}

/* Message Composition. */
.composeAddrbook, #togglebcc, #togglecc {
    color: #36525d;
    cursor: pointer;
}
#togglebcc, #togglecc {
    padding-right: 5px;
}
.composeAddrbook:hover, #togglebcc:hover, #togglecc:hover {
    text-decoration: underline;
}

#writemsg input.checkbox {
    margin-right: 2px;
}

#priority_label, #encrypt_label {
    margin-left: 2px;
}

#composeContainer .header, #qreply .header {
    background-color: #eceff0;
    border-bottom: 1px solid #d0d0d0;
    padding: 10px;
}
.msgwrite {
    background-color: #eceff0;
    border-bottom: 1px solid #d0d0d0;
    cursor: default;
    padding: 10px;
}
.msgwrite .dimpOptions {
    padding: 8px 8px 0 0;
}
.msgwrite .dimpOptions label {
    cursor: pointer;
}
.msgwrite .dimpOptions input {
    min-height: 0px;
}
.msgwrite .dimpOptions .horde-popdown {
    height: 18px;
    margin-top: -6px;
}
.msgwrite #other_options .horde-popdown {
    height: 16px;
}
#noticerow li span.closeImg {
    float: right;
    margin: -1px 0 0;
    padding-left: 3px;
}
.msgwrite tr {
    vertical-align: top;
}
.msgwrite td.label {
    white-space: nowrap;
    text-align: right;
    padding: 4px 4px 0 4px;
    font-weight: bold;
}
.msgwrite span.loadingImg {
    float: right;
    margin-top: auto;
    padding: 2px;
    position: relative;
    right: 8px;
    filter: alpha(opacity=75);
    -moz-opacity: .75;
    opacity: .75;
}

#compose_upload_add {
    color: #36525d;
    cursor: pointer;
    display: inline-block;
    font-weight: bold;
    margin-top: 4px;
}
#compose_upload_add:hover {
    text-decoration: underline;
}
#upload {
    position: absolute;
    top: -5000px;
}
.atcrow .horde-popdown {
    padding-left: 0;
}

.atcrow td {
    border-collapse: collapse;
}
#atcdrop {
    border: 1px dashed #999;
    display: table-cell;
    color: #999;
    font-size: 110%;
    font-weight: bold;
    text-align: center;
    vertical-align: middle;
}
.atcdrop_over {
    border-color: #111 !important;
    color: #111 !important;
}

#noticerow .notices li {
    display: inline-block;
    padding: 3px;
}

#composeMessageParent {
    padding: 5px;
}
#composeMessage {
    background-color: #fff;
    border: none;
    margin: 0;
    padding: 0;
    width: 100%;
}

#signatureParent {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #eceff0;
    border-top: 1px solid #d0d0d0;
    cursor: default;
    padding: 6px;
}
#signatureBorder {
    height: 4.4em;
    margin-top: 4px;
}
#signatureParent .label {
    white-space: nowrap;
    font-weight: bold;
    line-height: 12px;
}
#signature {
    height: 100%;
    width: 100%;
    border: 0;
    background-color: #fff;
}
#signatureToggle {
    cursor: pointer;
    float: left;
    height: 14px;
    width: 12px;
}
#signatureToggle {
    background-image: url("../graphics/arrow_collapsed.png");
}
#signatureToggle.signatureExpanded {
    background-image: url("../graphics/arrow_expanded.png");
}

#rteloading {
    position: absolute;
    z-index: 100;
    background-color: #000;
    filter: alpha(opacity=35);
    -moz-opacity: .35;
    opacity: .35;
}
#rteloadingtxt {
    position: absolute;
    background-color: #fff;
    z-index: 101;
}

#encrypt_label,
#priority_label,
#sent_mail_label {
    cursor: default;
    font-weight: bold;
}

#save_sent_mail_load {
    padding-left: 0;
}

/* Attachment file list */
#attach_list {
    list-style: none;
    max-height: 125px;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 0 0 2px;
    width: 500px;
}
#attach_list canvas {
    margin-bottom: -4px;
    padding-right: 4px;
}
#attach_list li {
    padding-top: 7px;
}
#attach_list span.attachName, #attach_list span.attachNameNoview {
    padding-right: 3px;
}
#attach_list span.attachName {
    color: #36525d;
    cursor: pointer;
    text-decoration: underline;
}
#attach_list span.attachName:hover {
    color: red;
}

#upload_limit {
    color: darkred;
    display: inline-block;
    margin-top: 4px;
}
#upload_wait {
    display: inline-block;
    font-weight: bold;
    overflow: hidden;
    padding-top: 4px;
    text-overflow: ellipsis;
    -o-text-overflow: ellipsis;
    width: 500px;
}

span.attachmentImg {
    background-image: url("../graphics/attachment.png");
}

/* Context Menus */
.context div.contactAddr, .context div.mboxName {
    font-style: italic;
    padding: 0 2px;
    text-align: center;
}

/* Email Addresses. */
.msgHeaders .horde-button {
    padding: 1px 3px;
    margin: -1px 1px 2px 0;
}
.msgHeaders a.addrgroup-name {
    font-weight: bold;
}
.msgHeaders div.addrgroup-div {
    background-color: #aaa;
    display: inline-block;
    margin: 1px;
    padding: 4px 2px 3px;
}

/* Drag and drop styles. */
.drag, .dragdrop, .mboxdrag, .msgdrag {
    background: #eee;
    border: 1px solid #ccc;
    font-size: 12px;
    overflow: hidden;
    z-index: 999;
}
.dragdrop {
    color: red;
}
.dragdrop, .mboxdrag, .msgdrag {
    padding: 2px;
}
.imp-sidebar-mbox.mboxdrag {
    height: auto !important;
}

/* Search-related styles */
.qsearchMatch {
    font-weight: bold;
    text-decoration: underline;
}

#searchbar {
    background-color: #ffa;
    padding: 8px 10px;
}
#search_close, #search_edit, #search_refresh {
    cursor: pointer;
    float: right;
    margin-top: -1px;
}
#searchbar #search_label {
    font-weight: bold;
}
#searchbar #search_time_elapsed {
    float: right;
    padding-right: 12px;
}

/* Redbox styles. */
#RB_window {
    max-width: 50%;
}
.RB_Form {
    width: 20em;
    padding: 6px;
    border: 1px solid #ccc;
}
.RB_Form input {
    margin: .2em;
}
#mbox_import {
    overflow: hidden;
}

/* Popup message styling. */
.headercloseimg {
    float: right !important;
    cursor: pointer;
    margin-top: 6px;
}

/* Images */
span.iconImg {
    margin-right: 4px;
}

/* Sidebar images. */
span.infoIcon {
    background-image: url("../graphics/info_icon.png");
}
span.prefsIcon {
    background-image: url("../graphics/prefs.png");
}
span.logoutIcon {
    background-image: url("../graphics/logout.png");
}

/* Dimp action images. */
.dimpactionReply {
    background-image: url("../graphics/reply.png");
}
.dimpactionForward {
    background-image: url("../graphics/forward.png");
}
.dimpactionSpam {
    background-image: url("../graphics/spam.png");
}
.dimpactionInnocent {
    background-image: url("../graphics/innocent.png");
}
.dimpactionCompose {
    background-image: url("../graphics/compose.png");
}
.dimpactionCheckmail {
    background-image: url("../graphics/checkmail.png");
}
.dimpactionRefresh {
    background-image: url("../graphics/reload.png");
}
.imp-loading {
    background-image: url("../graphics/reload.gif");
}
.dimpactionDelete {
    background-image: url("../graphics/delete.png");
}
.dimpactionOther, .dimpactionSort {
    background-image: url("../graphics/plus.png");
}
.dimpactionDrafts, .dimpactionTemplates {
    background-image: url("../graphics/drafts.png");
}
.dimpactionSpellcheck {
    background-image: url("../graphics/spellcheck.png");
}
.dimpactionEditsearch {
    background-image: url("../graphics/edit.png");
}
.dimpactionResume {
    background-image: url("../graphics/drafts.png");
}
.dimpactionFilter {
    background-image: url("../graphics/filters.png");
}

/* Context menu images */
#ctx_reply_reply span.iconImg, #ctx_message_reply span.iconImg {
    background-image: url("../graphics/reply.png");
}
#ctx_reply_reply_all span.iconImg, #ctx_reply_reply_list span.iconImg {
    background-image: url("../graphics/replyall.png");
}
#ctx_forward_attach span.iconImg {
    background-image: url("../graphics/attachment.png");
}
#ctx_message_forward span.iconImg, #ctx_forward_body span.iconImg, #ctx_forward_both span.iconImg, #ctx_forward_redirect span.iconImg {
    background-image: url("../graphics/forward.png");
}
#ctx_mbox_empty span.iconImg,
#ctx_message_delete span.iconImg,
#ctx_oa_purge_deleted span.iconImg,
#ctx_atcfile_delete span.iconImg {
    background-image: url("../graphics/delete.png");
}
#ctx_message_undelete span.iconImg, #ctx_oa_undelete span.iconImg {
    background-image: url("../graphics/undelete.png");
}
#ctx_message_view span.iconImg, span.iconImg.flagSeen, #ctx_mbox_flag_seen span.iconImg {
    background-image: url("../graphics/seen.png");
}
#ctx_mbox_poll span.iconImg, #ctx_mbox_nopoll span.iconImg, #ctx_mbox_flag_unseen span.iconImg {
    background-image: url("../graphics/unseen.png");
}
#ctx_message_setflag span.iconImg, #ctx_oa_setflag span.iconImg, #ctx_mbox_setflag span.iconImg, span.iconImg.flagFlagged {
    background-image: url("../graphics/flagged.png");
}
#ctx_message_unsetflag span.iconImg, #ctx_oa_unsetflag span.iconImg {
    background-image: url("../graphics/clearflag.png");
}
#ctx_message_source span.iconImg, #msg_view_source span.iconImg, #ctx_preview_viewsource span.iconImg {
    background-image: url("../graphics/message_source.png");
}
#ctx_message_resume span.iconImg, #ctx_message_template span.iconImg, #ctx_message_template_edit span.iconImg, #ctx_template_new span.iconImg, #ctx_template_edit span.iconImg, #msg_resume_draft span.iconImg, #msg_template span.iconImg {
    background-image: url("../graphics/drafts.png");
}
#ctx_oa_preview_hide span.iconImg, #ctx_oa_preview_show span.iconImg {
    background-image: url("../graphics/preview.png");
}
#ctx_oa_layout_horiz span.iconImg {
    background-image: url("../graphics/application_tile_vertical.png");
}
#ctx_oa_layout_vert span.iconImg {
    background-image: url("../graphics/application_tile_horizontal.png");
}
#ctx_mbox_create span.iconImg, #ctx_container_create span.iconImg, #ctx_folderopts_new span.iconImg, #ctx_remoteauth_create span.iconImg {
    background-image: url("../graphics/folders/create.png");
}
#ctx_mbox_rename span.iconImg, #ctx_container_rename span.iconImg, #ctx_vcontainer_edit span.iconImg, #ctx_vfolder_edit span.iconImg {
    background-image: url("../graphics/folders/edit.png");
}
#ctx_mbox_size span.iconImg {
    background-image: url("../graphics/info_icon.png");
}
#ctx_mbox_acl span.iconImg {
    background-image: url("../graphics/edit.png");
}
#ctx_mbox_search span.iconImg, #ctx_mbox_searchsub span.iconImg, #ctx_container_search span.iconImg, #ctx_container_searchsub span.iconImg {
    background-image: url("../graphics/search.png");
}
#ctx_container_delete span.iconImg, #ctx_mbox_delete span.iconImg, #ctx_vfolder_delete span.iconImg {
    background-image: url("../graphics/folders/trash.png");
}
#ctx_mbox_export span.iconImg, #ctx_mbox_import span.iconImg, #ctx_preview_save span.iconImg {
    background-image: url("../graphics/download.png");
}
#ctx_message_spam span.iconImg {
    background-image: url("../graphics/spam.png");
}
#ctx_message_innocent span.iconImg {
    background-image: url("../graphics/innocent.png");
}
#ctx_message_blacklist span.iconImg, #ctx_oa_blacklist span.iconImg {
    background-image: url("../graphics/blacklist.png");
}
#ctx_message_whitelist span.iconImg, #ctx_oa_whitelist span.iconImg {
    background-image: url("../graphics/whitelist.png");
}
#ctx_message_editasnew span.iconImg, #ctx_contacts_new span.iconImg, #ctx_forward_editasnew span.iconImg {
    background-image: url("../graphics/compose.png");
}
#ctx_contacts_add span.iconImg {
    background-image: url("../graphics/add_contact.png");
}
#ctx_contacts_copy span.iconImg {
    background-image: url("../graphics/clipboard.png");
}
#ctx_folderopts_reload span.iconImg {
    background-image: url("../graphics/reload.png");
}
#ctx_preview_allparts span.iconImg, #msg_all_parts span.iconImg {
    background-image: url("../graphics/attachment.png");
}
#ctx_preview_thread span.iconImg {
    background-image: url("../graphics/thread.png");
}
#ctx_contacts_addfilter span.iconImg,
#ctx_message_addfilter span.iconImg,
#ctx_filteropts_applyfilters span.iconImg
{
    background-image: url("../graphics/filters.png");
}
#ctx_preview_listinfo span.iconImg,
#msg_listinfo span.iconImg {
    background-image: url("../graphics/group.png");
}

#ctx_contacts img.contactimg, #ctx_contacts div.flagimg {
    display: block;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}
#ctx_contacts div.flagimg img {
    padding-right: 3px;
}

#ctx_flag span.iconImg.flagUser, #ctx_flag_search span.iconImg.flagUser {
    border: 1px black solid;
    height: 17px;
    width: 17px;
}
#ctx_sortopts span.iconImg.sortup, #ctx_sortopts span.iconImg.sortdown {
    background-color: inherit;
    background-position: center;
    padding: 0;
}

div.vpRow div.msgSubject span.flagUser {
    font-size: 90%;
    font-weight: normal;
    margin-right: 3px;
    padding: 1px;
    position: relative;
    top: -2px;
}

/* Thread images */
div.msgSubject span.horde-tree-image {
    margin-top: -3px;
    margin-right: 1px;
}

/* Other images */
#msg_newwin_options span.iconImg {
    background-image: url("../graphics/newwin.png");
}
#preview_other span.iconImg {
    background-image: url("../graphics/plus.png");
    cursor: pointer;
    margin: 0 0 0 4px;
}
#th_expand, #partlist_col, #msgloglist_col {
    background-image: url("../graphics/arrow_collapsed.png");
    cursor: pointer;
    margin: 3px 0 -3px;
}
#th_collapse, #partlist_exp, #msgloglist_exp {
    background-image: url("../graphics/arrow_expanded.png");
    cursor: pointer;
    margin: 3px 0 -3px;
}
#th_collapse {
    margin: 4px 0 -2px;
}

span.readonlyImg {
    background-image: url("../graphics/locked-inv.png");
    margin: -1px 0 0 3px;
}

/* Growler notification styles. */
.imp-reply {
    background-image: url("../graphics/answered.png");
}
.imp-reply_all, .imp-reply_list {
    background-image: url("../graphics/replyall.png");
}
.imp-forward, .imp-redirect {
    background-image: url("../graphics/forwarded.png");
}

/* Dialog */
#dimpbase_confirm select {
    display: block;
    margin: 2px 0;
}

@media print {
    /* Hide UI elements when printing message in popup window. */
    div.msgfullread div.dimpOptions,
    div.msgfullread div.mimePartInfo a.iconImg {
        display: none;
    }

    div.msgfullread div.messageBody{
        height: auto !important;
        overflow: visible;
    }
}
