/*!
 * Tine 2.0 - Felamimail 
 * Copyright (c) 2007-2011 Metaways Infosystems GmbH (http://www.metaways.de)
 * http://www.gnu.org/licenses/agpl.html AGPL Version 3
 */
.action_email_flag {
    background-image:url(../../images/oxygen/16x16/actions/flag-red.png) !important;
}
.x-btn-medium .action_email_flag {
    background-image:url(../../images/oxygen/22x22/actions/flag-red.png) !important;
}
.x-btn-large .action_email_flag {
    background-image:url(../../images/oxygen/32x32/actions/flag-red.png) !important;
}


.action_email_reply {
    background-image:url(../../images/oxygen/16x16/actions/mail-reply-sender.png) !important;
}
.x-btn-medium .action_email_reply {
    background-image:url(../../images/oxygen/22x22/actions/mail-reply-sender.png) !important;
}
.x-btn-large .action_email_reply {
    background-image:url(../../images/oxygen/32x32/actions/mail-reply-sender.png) !important;
}


.action_email_replyAll {
    background-image:url(../../images/oxygen/16x16/actions/mail-reply-all.png) !important;
}
.x-btn-medium .action_email_replyAll {
    background-image:url(../../images/oxygen/22x22/actions/mail-reply-all.png) !important;
}
.x-btn-large .action_email_replyAll {
    background-image:url(../../images/oxygen/32x32/actions/mail-reply-all.png) !important;
}


.action_email_forward {
    background-image:url(../../images/oxygen/16x16/actions/mail-forward.png) !important;
}
.x-btn-medium .action_email_forward {
    background-image:url(../../images/oxygen/22x22/actions/mail-forward.png) !important;
}
.x-btn-large .action_email_forward {
    background-image:url(../../images/oxygen/32x32/actions/mail-forward.png) !important;
}


.action_update_cache {
	background-image:url(../../images/oxygen/16x16/actions/mail-receive.png) !important;
}
.x-btn-medium .action_update_cache {
    background-image:url(../../images/oxygen/22x22/actions/mail-receive.png) !important;
}
.x-btn-large .action_update_cache {
    background-image:url(../../images/oxygen/32x32/actions/mail-receive.png) !important;
}


.action_mark_read {
    background-image:url(../../images/oxygen/16x16/actions/mail-mark-read.png) !important;
}
.x-btn-medium .action_mark_read {
    background-image:url(../../images/oxygen/22x22/actions/mail-mark-read.png) !important;
}
.x-btn-large .action_mark_read {
    background-image:url(../../images/oxygen/32x32/actions/mail-mark-read.png) !important;
}
	

.FelamimailIconCls {
    background-image:url(../../images/oxygen/16x16/apps/kmail.png) !important;
}
.x-btn-medium .FelamimailIconCls {
    background-image:url(../../images/oxygen/22x22/apps/kmail.png) !important;
}
.x-btn-large .FelamimailIconCls {
    background-image:url(../../images/oxygen/32x32/apps/kmail.png) !important;
}


.action_folder_emptytrash {
    background-image:url(../../images/oxygen/16x16/actions/emptytrash.png) !important;
}
.x-btn-medium .action_folder_emptytrash {
    background-image:url(../../images/oxygen/22x22/actions/emptytrash.png) !important;
}
.x-btn-large .action_folder_emptytrash {
    background-image:url(../../images/oxygen/32x32/actions/emptytrash.png) !important;
}

.x-btn .action_saveAsDraft {
    background-image:url(../../images/oxygen/16x16/places/folder-txt.png);
}
.x-btn-medium .action_saveAsDraft {
    background-image:url(../../images/oxygen/22x22/places/folder-txt.png);
}
.x-btn-large .action_saveAsDraft {
    background-image:url(../../images/oxygen/32x32/places/folder-txt.png);
}

.x-btn .action_saveAsTemplate {
    background-image:url(../../images/oxygen/16x16/places/folder-tar.png);
}
.x-btn-medium .action_saveAsTemplate {
    background-image:url(../../images/oxygen/22x22/places/folder-tar.png);
}
.x-btn-large .action_saveAsTemplate {
    background-image:url(../../images/oxygen/32x32/places/folder-tar.png);
}

.x-btn .action_email_download {
    background-image:url(../../images/oxygen/16x16/actions/document-save.png);
}
.x-btn-medium .action_email_download {
    background-image:url(../../images/oxygen/22x22/actions/document-save.png);
}
.x-btn-large .action_email_download {
    background-image:url(../../images/oxygen/32x32/actions/document-save.png);
}

/* rule grid actions */

.action_new_rule {
    background-image:url(../../images/oxygen/16x16/actions/plus.png) !important;
}
.x-btn-medium .action_new_rule {
    background-image:url(../../images/oxygen/22x22/actions/plus.png) !important;
}
.x-btn-large .action_new_rule {
    background-image:url(../../images/oxygen/32x32/actions/plus.png) !important;
}

.action_move_up {
    background-image:url(../../images/oxygen/16x16/actions/arrow-up.png) !important;
}
.x-btn-medium .action_move_up {
    background-image:url(../../images/oxygen/22x22/actions/arrow-up.png) !important;
}
.x-btn-large .action_move_up {
    background-image:url(../../images/oxygen/32x32/actions/arrow-up.png) !important;
}

.action_move_down {
    background-image:url(../../images/oxygen/16x16/actions/arrow-down.png) !important;
}
.x-btn-medium .action_move_down {
    background-image:url(../../images/oxygen/22x22/actions/arrow-down.png) !important;
}
.x-btn-large .action_move_down {
    background-image:url(../../images/oxygen/32x32/actions/arrow-down.png) !important;
}

/***** flag classes ******/

.flag_unread td{
    font-weight: bold;
}

.flag_flagged {
    color: #ff0000;
}

.flag_deleted td {
    text-decoration: line-through;
    color: #aaaaaa;
}

.FelamimailFlagIcon {
    width: 12px;
    height: 12px;
}

/**** preview *****/

.preview-panel-felamimail {
	padding: 5px;
	overflow: 'hidden';
}

.preview-panel-felamimail-headers {
    background-color: #dddddd;
    overflow: 'hidden';
}

.preview-panel-felamimail-attachments {
	margin-top: 5px;
    background-color: #e8e8e8;
    width: 100%;
}

/* note: el tyle of html areas underling textarea are copied to iframe*/
.felamimail-message-body-html, 
.preview-panel-felamimail-body {
    overflow: 'auto';
    font-size: 13px;
}

.preview-panel-felamimail-body ul {
	list-style: circle outside; 
	margin-left: 20px;
}
.preview-panel-felamimail-body ol {
    list-style: decimal outside; 
    margin-left: 20px;
}


/* note: htmlarea has textarea as its basis, so when we support text composing
         this need to be restructured e.g. by having a felamimail-message-body-text cls
*/
.preview-panel-felamimail-body .x-form-textarea {
	margin-top: 5px;
	font: normal 13px courier;
	border: 0px;
}

/***** node classes ******/

.felamimail-node-unread span {
    font-weight: bold;
}


.felamimail-node-trash img.x-tree-node-icon {
    background-image:url(../../images/oxygen/16x16/places/user-trash.png);
}
.x-btn-medium .felamimail-node-trash img.x-tree-node-icon {
    background-image:url(../../images/oxygen/22x22/places/user-trash.png);
}
.x-btn-large .felamimail-node-trash img.x-tree-node-icon {
    background-image:url(../../images/oxygen/32x32/places/user-trash.png);
}


.felamimail-node-trash-full img.x-tree-node-icon {
    background-image:url(../../images/oxygen/16x16/places/user-trash-full.png);
}
.x-btn-medium .felamimail-node-trash-full img.x-tree-node-icon {
    background-image:url(../../images/oxygen/22x22/places/user-trash-full.png);
}
.x-btn-large .felamimail-node-trash-full img.x-tree-node-icon {
    background-image:url(../../images/oxygen/32x32/places/user-trash-full.png);
}


.felamimail-node-sent img.x-tree-node-icon {
    background-image:url(../../images/oxygen/16x16/places/mail-folder-sent.png);
}
.x-btn-medium .felamimail-node-sent img.x-tree-node-icon {
    background-image:url(../../images/oxygen/22x22/places/mail-folder-sent.png);
}
.x-btn-large .felamimail-node-sent img.x-tree-node-icon {
    background-image:url(../../images/oxygen/32x32/places/mail-folder-sent.png);
}


.felamimail-node-inbox img.x-tree-node-icon {
    background-image:url(../../images/oxygen/16x16/places/mail-folder-inbox.png);
}
.x-btn-medium .felamimail-node-inbox img.x-tree-node-icon {
    background-image:url(../../images/oxygen/22x22/places/mail-folder-inbox.png);
}
.x-btn-large .felamimail-node-inbox img.x-tree-node-icon {
    background-image:url(../../images/oxygen/32x32/places/mail-folder-inbox.png);
}


.felamimail-node-drafts img.x-tree-node-icon {
    background-image:url(../../images/oxygen/16x16/places/folder-txt.png);
}
.x-btn-medium .felamimail-node-drafts img.x-tree-node-icon {
    background-image:url(../../images/oxygen/22x22/places/folder-txt.png);
}
.x-btn-large .felamimail-node-drafts img.x-tree-node-icon {
    background-image:url(../../images/oxygen/32x32/places/folder-txt.png);
}


.felamimail-node-templates img.x-tree-node-icon {
    background-image:url(../../images/oxygen/16x16/places/folder-tar.png);
}
.x-btn-medium .felamimail-node-templates img.x-tree-node-icon {
    background-image:url(../../images/oxygen/22x22/places/folder-tar.png);
}
.x-btn-large .felamimail-node-templates img.x-tree-node-icon {
    background-image:url(../../images/oxygen/32x32/places/folder-tar.png);
}


.felamimail-node-junk img.x-tree-node-icon {
    background-image:url(../../images/oxygen/16x16/places/trashcan-empty-alt.png);
}
.x-btn-medium .felamimail-node-junk img.x-tree-node-icon {
    background-image:url(../../images/oxygen/22x22/places/trashcan-empty-alt.png);
}
.x-btn-large .felamimail-node-junk img.x-tree-node-icon {
    background-image:url(../../images/oxygen/32x32/places/trashcan-empty-alt.png);
}


.felamimail-node-unselectable img.x-tree-node-icon {
    background-image:url(../../images/oxygen/16x16/places/folder.png);
    opacity: 0.5;
}
.x-btn-medium .felamimail-node-unselectable img.x-tree-node-icon {
    background-image:url(../../images/oxygen/22x22/places/folder.png);
    opacity: 0.5;
}
.x-btn-large .felamimail-node-unselectable img.x-tree-node-icon {
    background-image:url(../../images/oxygen/32x32/places/folder.png);
    opacity: 0.5;
}


.felamimail-node-intelligent-marked img.x-tree-node-icon {
    background-image:url(../../images/oxygen/16x16/places/folder-important.png);
}
.x-btn-medium .felamimail-node-intelligent-marked img.x-tree-node-icon {
    background-image:url(../../images/oxygen/22x22/places/folder-important.png);
}
.x-btn-large .felamimail-node-intelligent-marked img.x-tree-node-icon {
    background-image:url(../../images/oxygen/32x32/places/folder-important.png);
}


.felamimail-node-intelligent-unread img.x-tree-node-icon {
    background-image:url(../../images/oxygen/16x16/places/folder-bookmarks.png);
    /* background-image:url(../../images/oxygen/16x16/places/mail-folder-sent.png); */
}
.x-btn-medium .felamimail-node-intelligent-unread img.x-tree-node-icon {
    background-image:url(../../images/oxygen/22x22/places/folder-bookmarks.png);
    /* background-image:url(../../images/oxygen/22x22/places/mail-folder-sent.png); */
}
.x-btn-large .felamimail-node-intelligent-unread img.x-tree-node-icon {
    background-image:url(../../images/oxygen/32x32/places/folder-bookmarks.png);
    /* background-image:url(../../images/oxygen/32x32/places/mail-folder-sent.png); */
}


.felamimail-node-account img.x-tree-node-icon {
    background-image:url(../../images/oxygen/16x16/places/user-home.png);
}
.x-btn-medium .felamimail-node-account img.x-tree-node-icon {
    background-image:url(../../images/oxygen/22x22/places/user-home.png);
}
.x-btn-large .felamimail-node-account img.x-tree-node-icon {
    background-image:url(../../images/oxygen/32x32/places/user-home.png);
}

.felamimail-node-statusbox {
	padding-right: 5px;
	position: absolute;
	right: 0px;
}

.felamimail-node-statusbox-progress {
	width: 16px;
    height: 16px;
    margin-top: 1px;
    background-repeat: no-repeat;
    vertical-align: top;
    margin-right: 5px;
}

.felamimail-node-statusbox-progress-pie {
    background-image:url(../../images/progress-pie.gif);
}

.felamimail-node-statusbox-progress-loading {
    background-image:url(../../library/ExtJS/resources/images/default/tree/loading.gif);
}

.ext-gecko .felamimail-node-statusbox-unread {
    -moz-border-radius: 8px;
}

.felamimail-node-statusbox-unread {
    border-radius: 8px;
    background-color: #D9E8FB;
    color: black;
	line-height: 16px;
	margin-top: 1px;
	padding: 0px 5px;
}

.x-tree-selected .felamimail-node-statusbox-unread {
	background-color: #FFFFFF;
}

.felamimail-node-accountfailure {
    position: absolute;
    right: 5px;
	width: 16px;
    height: 16px;
    background-image:url(../../images/warning.gif);
    margin-right: 10px;
}

/***** email composing dialog ******/

/* disable grid headers */
.felamimail-recipient-grid .x-grid3-hd-row, #felamimail-attachment-grid .x-grid3-hd-row {
    display:none;
}

.felamimail-recipient-grid .x-grid3 {
    background-color: #DFE8F6;
}
	
.felamimail-recipient-grid tr {
    border-color: #DFE8F6;  
}

.felamimail-body-blockquote {
    margin: 5px 10px 0 3px;
    padding-left: 10px;
    border-left: 2px solid #000088;
}

.x-fmail-uploadrow .x-grid3-cell-inner {
    background-image:url(../../library/ExtJS/resources/images/default/grid/wait.gif);
    background-repeat: no-repeat;
    padding-left: 19px;
}

.felamimail-recipient-grid .x-grid3-td-type {
    background-color: #DFE8F6;
}

.felamimail-recipient-grid .x-grid3-td-address {
    background-color: white;
    border: 1px solid #B5B8C8;
}

.felamimail-recipient-grid .x-grid3-td-address-editing {
    background-color: transparent;
    border: 0;
}

.felamimail-no-email {
    color: #999999;
}

/***** sieve rules ******/

.felamimail-sieverule-disabled {
    color: #aaaaaa;
}

