﻿.message_center {
	padding: 0;
	float: left;
	display: block;
	position: relative;
	width: 900px;
}
.mail_top {
	clear: both;
	position: relative;
	overflow-x: hidden;
	overflow-y: auto;
	width: 100%;
}
.mail_detail {
	clear: both;
	position: relative;
	overflow-x: hidden;
	overflow-y: auto;
	width: 100%;
	background: #eee;
	margin-bottom: 10px;
}
.mail_detail p {
	padding: 20px 10px;
}
.mail_bottom {
	float: left;
	display: block;
	width: 100%;
	height: 40px;
	border: 1px solid #ddd;
	background:#eee;
	border-radius: 5px;
}
.table_message {
	margin: 0;
	font-size: 12px;
	border-collapse: collapse;
	padding: 0;
	border: 1px solid #ddd;
}
.table_message a {
	color: #bd8433 ;
}
.table_message a:hover {
	text-decoration: none;
}
.table_message td {
	margin: 0;
	padding: 5px 10px;
	text-align: center;
	border-right: 1px solid #ddd;
	border-bottom: 1px solid #ddd;
	color: #111;
	text-transform: capitalize;
}
.table_message tr:hover {
	background: rgba(0, 0, 0, 0.2);
}
.table_message thead tr {
	height: 30px;
	text-align: center;
}
.table_message thead th {
	text-align: center;
	border-right: 1px solid #ddd;
	border-bottom: 1px solid #ddd;
	padding: 10px 10px;
	color: #111;
	text-transform: capitalize;
	vertical-align: middle;
	font-size: 12px;
	background:#eee;
	text-shadow: none;
}
.with_message {
	width: 100%;
}
.bggray {
	background: rgba(0, 0, 0, 0.2);
}
.bgunread {
	font-weight: 600;
}
.mail_bottom a {
	color: #bd8433 !important;
}
.mail_bottom a:hover {
	color: #bd8433 !important;
	text-decoration: none !important;
}
.recycle i {
	float: left;
	font-size: 20px;
	margin: 10px 20px 0 20px;
}
.ref_btn i {
	float: left;
	font-size: 20px;
	margin: 10px 0 0 15px;
}
.close_btn i {
	float: left;
	font-size: 20px;
	margin: 10px 5px 0 0;
}
a.close_btn {
	float: right;
	line-height: 42px;
	padding-right: 15px;
	font-weight: bold;
	text-transform: capitalize;
}
.textyellow {
	color: #bd8433 !important;
}

.mess-boxpaging {
  display: flex;
  flex-direction: row-reverse;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin: 10px 0;
}
@media screen and (max-width: 1023px) {
	.message_center {
	width: 600px;
}
}
@media screen and (max-width: 680px) {
	.message_center {
	width: 300px;
}
table.table_message, .table_message thead, .table_message tbody, .table_message th, .table_message td, .table_message tr {
	display: block;
}
.table_message thead tr {
	position: absolute;
	top: -9999px;
	left: -9999px;
}
.table_message tr {
	border-bottom: 1px solid #ddd;
}
.table_message td {
	border: none;
	border-bottom: 1px solid #ddd;
	position: relative;
	padding-left: 35%;
	text-align: right !important;
}
.table_message td:before {
	position: absolute;
	left: 6px;
	width: 30%;
	padding-right: 5px;
	text-align: left;
	font-weight: bold;
}
.table_message td:nth-of-type(1):before {
	content: "No";
}
.table_message td:nth-of-type(2):before {
	content: "Sender";
}
.table_message td:nth-of-type(3):before {
	content: "";
}
.table_message td:nth-of-type(4):before {
	content: "Subject";
}
.table_message td:nth-of-type(5):before {
	content: "Date";
}

}
