﻿.mail-panel
{
	border: 1px solid #BCBCBC;
	-moz-border-radius: 8px;
	border-radius: 8px;
	margin: 10px;
}

.mail-panel.closed
{
	margin-bottom: -15px;
	padding-bottom: 7px;
	border-bottom: 0;
	-moz-border-radius: 8px 8px 0 0;
	border-radius: 8px 8px 0 0;
}


.mail-header
{
	white-space: nowrap;
	overflow: hidden;
	-moz-border-radius: 7px 7px 0 0;
	border-radius: 7px 7px 0 0;
}
.closed .mail-header {cursor: pointer;}
.mail-header a {color: #76a4fb;}
.mail-header table
{
	width: 100%;
	border-collapse: collapse;
	border: 0;
}
.mail-header th, .mail-header td
{
	vertical-align: top;
	padding: 2px;
}

.mail-panel .marker
{
	display: inline-block;
	width: 14px; height: 14px;
	zoom: 1; /* обычный layout fix для ИЕ6 */
	*display: inline; /* для ИЕ 6, 7 */
}

.opened .mail-from {table-layout: fixed; overflow: hidden;}

.mail-from td {padding: 0;}

.mail-from h3
{
	display: inline-block; color: #00681C;
	zoom: 1; /* обычный layout fix для ИЕ6 */
	*display: inline; /* для ИЕ 6, 7 */
}
.mail-from h3 span {font-weight: normal; color: black; font-size: 12px;}
.closed .mail-from h3 span {display: none;}

.opened .mail-info {width: 100%;}
.mail-from table
{
	white-space: normal;
	display: none;
}
.mail-show-details h3 {display: none;}
.mail-show-details table
{
	display: table;
}
.mail-show-details th, .mail-show-details td {padding: 2px;}
.mail-show-details th
{
	font-weight: normal;
	text-align: right;
	color: #888888;
}
.mail-show-details td {padding-left: 10px;}
.mail-show-details .from {font-weight: bold; color: #00681C;}

.mail-annotation {width: 100%;}
.mail-annotation table {table-layout: fixed; overflow: hidden; color: #BBBBBB;}
.opened .mail-annotation {display: none;}

.closed .show-details {display: none;}

.mail-actions
{
	overflow: visible;
	padding: 0;
	width: 105px;
	float: right;
	background: #f9f9f9 url(../images/button_bg.gif) repeat-x left center;
	border-style: solid;
	border-width: 0 0 1px 1px;
	border-color: #BCBCBC;
	-moz-border-radius: 0 7px 0 4px;
	border-radius: 0 7px 0 4px;
	cursor: pointer;
}
.mail-actions a, .mail-actions span
{
	display: inline-block;
	padding: 3px 5px;
	text-decoration: none;
	color: #76a4fb;
	zoom: 1; /* обычный layout fix для ИЕ6 */
	*display: inline; /* для ИЕ 6, 7 */
}
.mail-actions a {border-right: 1px solid #BCBCBC;}
.mail-actions a:before
{
	display: inline-block;
	content: "";
	width: 14px; height: 13px;
	background: url(../images/sprites.png) no-repeat;
	background-position: 0 -40px;
	margin-right: 3px;
	zoom: 1; /* обычный layout fix для ИЕ6 */
	*display: inline; /* для ИЕ 6, 7 */
}
.mail-actions span {border-left: 1px solid white;}
.closed .mail-actions {display: none;}


/* Mail content */
.mail-content
{
	display: none;
	margin-top: 5px;
	padding: 5px;
}
.opened .mail-content {display: block;}

/* Mails chain actions */
#chain-actions
{
	text-align: right;
	white-space: nowrap;
	margin-top: 5px;
}
#chain-actions a
{
	margin-right: 1em;
	text-decoration: none;
}
#chain-actions a span {text-decoration: underline;}

.new-window:before
{
	display: inline-block;
	content: "";
	width: 16px; height: 16px;
	background: url(../images/sprites.png) no-repeat;
	background-position: 0 -60px;
	vertical-align: middle;
	margin-right: 5px;
	zoom: 1; /* обычный layout fix для ИЕ6 */
	*display: inline; /* для ИЕ 6, 7 */
}

.print-all:before
{
	display: inline-block;
	content: "";
	width: 16px; height: 16px;
	background: url(../images/sprites.png) no-repeat;
	background-position: -20px -60px;
	vertical-align: middle;
	margin-right: 5px;
	zoom: 1; /* обычный layout fix для ИЕ6 */
	*display: inline; /* для ИЕ 6, 7 */
}

.show-all:before
{
	display: inline-block;
	content: "";
	width: 16px; height: 16px;
	background: url(../images/sprites.png) no-repeat;
	background-position: -40px -60px;
	vertical-align: middle;
	margin-right: 5px;
	zoom: 1; /* обычный layout fix для ИЕ6 */
	*display: inline; /* для ИЕ 6, 7 */
}

.hide-all:before
{
	display: inline-block;
	content: "";
	width: 16px; height: 16px;
	background: url(../images/sprites.png) no-repeat;
	background-position: -60px -60px;
	vertical-align: middle;
	margin-right: 5px;
	zoom: 1; /* обычный layout fix для ИЕ6 */
	*display: inline; /* для ИЕ 6, 7 */
}

.resent-all:before
{
	display: inline-block;
	content: "";
	width: 16px; height: 16px;
	background: url(../images/sprites.png) no-repeat;
	background-position: -100px -60px;
	vertical-align: middle;
	margin-right: 5px;
	zoom: 1; /* обычный layout fix для ИЕ6 */
	*display: inline; /* для ИЕ 6, 7 */
}


.mail-answer-panel
{
	background-color: #F7F7F7;
	-moz-border-radius: 0 0 7px 7px;
	border-radius: 0 0 7px 7px;
}
.closed .mail-answer-panel {display: none;}

.answer-tabs {list-style: none;}
.answer-tabs li
{
	display: inline-block;
	cursor: pointer;
	padding: 5px 10px;
	zoom: 1; /* обычный layout fix для ИЕ6 */
	*display: inline; /* для ИЕ 6, 7 */
}

.answer-tabs span {text-decoration: underline; color: #0547C0;}

.answer-tabs .answer:before
{
	display: inline-block;
	content: "";
	width: 14px; height: 13px;
	background: url(../images/sprites.png) no-repeat;
	background-position: 0 -40px;
	margin-right: 3px;
	zoom: 1; /* обычный layout fix для ИЕ6 */
	*display: inline; /* для ИЕ 6, 7 */
}

.answer-tabs .resend:before
{
	display: inline-block;
	content: "";
	width: 14px; height: 13px;
	background: url(../images/sprites.png) no-repeat;
	background-position: -80px -40px;
	margin-right: 3px;
	zoom: 1; /* обычный layout fix для ИЕ6 */
	*display: inline; /* для ИЕ 6, 7 */
}

.answer-tabs .selected {background-color: #C3D9FF;}
.answer-form
{
	-moz-border-radius: 0 0 7px 7px;
	border-radius: 0 0 7px 7px;
}
