/* DIV CSS */
#wps_mail_search_div { float:right; }
#wps_mail_content_div { float: left; width: 100%; }
.wps_mail_full_width { width: 100%; }

/* Search */
#wps_mail_search_div {
    clear: both;
    margin-bottom: 10px;
    overflow: hidden;
}

.wps_mail_search {
    max-width: 400px;
    float:left;
}
.wps_mail_reset {
    float: left;
    margin-left: 6px;
    font-size: 0.8em;
}

/* New recipient */

#wps_add_recipient {
    border: 0;
    cursor: pointer;
}
#wps_add_recipient img {
    -moz-box-shadow: none;
	-webkit-box-shadow: none;
	-o-box-shadow: none;
	-ms-box-shadow: none;
    box-shadow: none;
}

#wps_mail_new_recipients_div {
    display: none;
    margin: 20px auto 0 auto;
    width: 75%;
    text-align: center;
}

#wps_mail_new_recipients_submit,
#wps_mail_new_recipients_cancel {
    margin-left: 6px;
    margin-top: 5px;
}

/* Delete recipient */

.wps_mail_delete_recipient {
    width: 12px;
    height: 12px;
    top: 3px;
    right: 3px;
    cursor:pointer;
    position:absolute;
    background-color: #fff;
    padding: 2px;
}

/* New Post */

#wps_mail_post_div {
	width:100%;
    clear: both;
}

#wps_mail_post_title_label,
#wps_mail_post_content_label,
.wps_activity_image_upload_button
{
    margin-top: 12px;
}

#wps_mail_title {
	width:100%;
	-webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
	-moz-box-sizing: border-box;    /* Firefox, other Gecko */
	box-sizing: border-box;         /* Opera/IE 8+ */	
}

#wps_mail_textarea {
	width: 100%;
	height: 150px;
	clear: both;
	overflow: auto;
	padding-top: 10px;
	padding-bottom: 10px;
	margin-bottom: 10px;
	-webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
   	-moz-box-sizing: border-box;    /* Firefox, other Gecko */
   	box-sizing: border-box;         /* Opera/IE 8+ */		
}

/* Mail item */

.wps_mail_flip_attachment:hover,
.wps_mail_rotate_attachment:hover {
    background-color: #fff;
    width: 11px;
    height: 11px;
    padding: 2px;
}

#wps_mail_message_recipients {
	overflow: auto;
	text-align: center;
	width: 100%;
}

.wps_mail_message_recipient {
	text-align: center;
	display: inline-block;
	vertical-align: top;
	margin: 0 5px 10px 0;
	word-wrap: break-word;
	-webkit-hyphens: none;
	-moz-hyphens: none;
	hyphens: none;
	font-size: 0.8em;
}

#wps_mail_message_freshness {
	font-style: italic;
	margin-bottom:10px;
}

#wps_forum_post_comments {
    padding: 0;
}

.wps_mail_message_comment {
    width: 100%;
	clear: both;
	overflow: auto;
	border-bottom: 1px solid #dfdfdf;
	padding-top: 10px;
	padding-bottom: 10px;
	-webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
   	-moz-box-sizing: border-box;    /* Firefox, other Gecko */
   	box-sizing: border-box;         /* Opera/IE 8+ */		
}

.wps_mail_message_comment_author {
	text-align: center;
	float: left;
	font-size: 0.8em;
}

#wps_mail_comment {
	width:100%;
	height: 200px;
	margin-bottom:10px;
	-webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
	-moz-box-sizing: border-box;    /* Firefox, other Gecko */
	box-sizing: border-box;         /* Opera/IE 8+ */	
}

#wps_mail_post_close_button {
	float:right;
}

/* Mail box */

.wps_mail_checkbox,
.wps_mail_remove,
.wps_mail_restore {
    float: left;
    width: 5%;
}
.wps_mail_posts {
	border-bottom: 1px solid #dfdfdf;
}

.wps_mail_post {
	border-top: 1px solid #dfdfdf;
	padding-top: 4px;
	padding-bottom: 4px;
	overflow: hidden;
	clear: both;
}

.wps_mail_post_hidden {
    font-style: italic;
}

.wps_mail_post_unread {
	font-weight: bold;
}

.wps_mail_recipients {
	width: 25%;
	float: left;
	max-height: 1em;
}

.wps_mail_recipient {
	clear: both;
}
.wps_mail_recipient_avatar {
	float:left;
	margin-right: 10px;
	height: 19px;
	padding-top: 3px;
}
.wps_mail_recipient_display_name {
}

.wps_mail_title {
	width: 35%;
	float: left;
}

.wps_mail_count {
	width: 10%;
	text-align:center;
	float: left;
}

.wps_mail_freshness {
	width: 20%;
	float: left;
}

/* Marked items */

#s2id_marked_items_options {
	margin-top: 20px;
    margin-bottom: 20px;
}

/* Popup mail */

.wps_mail_to_user_post_popup_div * {
	text-align: left;
}

.wps_mail_to_user_post_popup_div {
	z-index: 9999999;
	-moz-box-shadow: 0 0 12px #666;
	-webkit-box-shadow: 0 0 12px #666;
	-o-box-shadow: 0 0 12px #666;
	-ms-box-shadow: 0 0 12px #666;
	box-shadow: 0 0 12px #666;
	background-color: #fff;
	padding: 10px;	
    border-radius: 3px;
}

.wps_mail_popup_recipient {
	margin-bottom: 5px;
}
.wps_mail_popup_message {
	-webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
	-moz-box-sizing: border-box;    /* Firefox, other Gecko */
	box-sizing: border-box;         /* Opera/IE 8+ */	
	width:100%;
	height: 180px;
	margin-bottom: 10px;
}

.wps_mail_popup_button {
	margin-left: 0;
}

.wps_mail_popup_cancel_button {
	float: right;
	margin-right: 0;
}

/* Flag */

#wps_alerts_mail_flag {
    position: relative;
}
#wps_alerts_mail_flag_unread {
    text-align: center;
    color: #fff;
    background-color: #f00;
}

/* Labels */

.wps_mail_hidden,
#wps_mail_mark_all_read,
#wps_mail_unread_only,
#wps_mail_all_mail {
    font-size: 0.8em;
    margin-right: 10px;
}

/* Auto responder */

#wps_mail_autorespond_set_div {
	width: 100%;
}

#wps_mail_autorespond_textarea {
	-webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
	-moz-box-sizing: border-box;    /* Firefox, other Gecko */
	box-sizing: border-box;         /* Opera/IE 8+ */	
	height: 150px;
	width: 100%;
}

#wps_mail_autorespond_submit {
	clear: both;
	margin-top: 10px;
}

#wps_mail_autorespond_preview {
	margin: 10px auto 10px auto;
	border: 1px solid #999;
	padding: 0 6px;
	border-radius: 3px;
	background-color: #efefef;
}

.wps_mail_autorespond_div {
    width: 100%;
	clear: both;
	overflow: auto;
	border: 1px solid #d2d2d2;
	background-color: #efefef;
	padding-top: 10px;
	padding-bottom: 10px;
	margin-top: 10px;
	-webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
   	-moz-box-sizing: border-box;    /* Firefox, other Gecko */
   	box-sizing: border-box;         /* Opera/IE 8+ */		
}

.wps_mail_autorespond_author {
	float: left;
}

.wps_mail_autorespond_author_display_name {
	font-weight: bold;
}

.wps_mail_autorespond_content {
	margin-top: -8px;
}