.menu_icon {
	background-image: url('images/icon_med.png');
	background-repeat: no-repeat;
	float:left;
	height:36px;
	width:36px;
}

.sm-working {
	background-image: url('images/loading.gif');
	background-repeat: no-repeat;
	background-position:center;
	width: 16px;
	height: 16px;
	display: none;
}

.wrap a {
	cursor: pointer;
}

#message_list {
	margin: 5px 0 0 0;
	text-align: left;
}

#message_list .unseen {
	font-weight: bold;
}

#message_list tfoot a {
	cursor: pointer;
}

#page_list, #page_list li {
	display: inline;
}

#page_list {
	list-style: none;
	margin-left: 3px;
}

#page_list li {
	padding: 3px;
	border-bottom-left-radius: 5px;
	border-bottom-right-radius: 5px;
	border-top-left-radius: 5px;
	border-top-right-radius: 5px;
}

#page_list li:hover, #page_list li a:hover, #page_list .current-page {
	background-color: #ccc;
	color: rgb(33, 117, 155) !important;
}

#email_search {
	margin-top:5px;
	text-align:right;
}

#email_search #search_query {
	width:180px;
	position:relative;
	bottom:1px;
}

#message_list .from-name {
	border-bottom: 1px dotted #666;
}

#message_list .from-email {
	display: none;
	padding: 4px 6px 4px 6px;
	background-color: #ffffe0;
	border: 1px solid #e6db55;
	-moz-border-radius: 5px;
	border-radius: 5px;
	z-index: 100;
	position: absolute;
}

#message_list .email-date span {
	display: none;
	padding: 4px 6px 4px 6px;
	background-color: #ffffe0;
	border: 1px solid #e6db55;
	-moz-border-radius: 5px;
	border-radius: 5px;
	z-index: 100;
	position: absolute;
}

#message_list .row-selected, .address_list .row-selected {
	background-color: #ffffe0;
}

#message_list .loading-messages {
	background-image: url('images/loading.gif');
	background-repeat: no-repeat;
	background-position:center;
}

#message_list tfoot .link-disabled, #message_list tfoot .link-disabled:hover {
	color:#666;
	cursor: default;
}

#message_info {
	width: auto;
	min-width: 500px;
	margin: 3px 0 3px 0;
}

#message_info td {
	vertical-align: middle;
	width: 340px;
}

#message_nav {
	margin-top: 8px;
	text-align: center;
	width: 500px;
	padding: 0 3px 0 3px;
}
#message_nav a { text-decoration: none; }

#previous_email {
	float: left;
}

#next_email {
	float: right;
}

#back_to_mailbox {
	
}

.email-address-options {
	position:absolute;
	z-index:100;
	border-radius: 4px;
	background-color:#fff;
	padding: 0;
	border: 1px solid #ccc;
	display:none;
}

.email-address-options span {
	display:none;
}

.email-address-options ul {
	margin:0;
	padding:0;
}

.email-address-options li {
	margin:0;
	padding:5px;
}

.email-address-options li:hover {
	background-color: #ddd;
	cursor: pointer;
}

#hide_header {
	display:none;
}

#message_header {
	display:none;
	width: auto;
	min-width: 500px;
	margin-top: 3px;
}

#message_body, #message_attachments {
	clear: both;
	margin: 5px 0 5px 0;
	width: auto;
	min-width: 500px;
}

#message_body td {
	padding: 10px;
	font-size: 15px;
}

.message_options {
	width:120px;
}

tbody .message_options {
	height: 20px !important;
	margin:0;
	position: relative;
	bottom: 2px;
}

tfoot .message_options {
	height: 20px !important;
}

/*
	Compose
*/

#compose-table {
	clear: both;
	margin: 10px 0 10px 0;
}

#compose-table th, #compose-table td {
	font-weight: normal;
	text-align: left;
}

#compose-table th {
	padding-right: 6px;
}

#compose-table input[type="text"] {
	width: 270px;
}

#compose-table textarea {
	width: 600px;
	height: 240px;
}

#compose-attachments th, #compose-attachments td {
	text-align:left;
}

#compose-attachments input {
	width:280px;
}

#compose-attachments tfoot td {
	text-align:right;
}

#message_functions a {
	float: left;
	margin: 3px 8px 3px 3px;
	text-decoration: none;
	cursor: pointer;
}

#previous-link {
	margin-left: 10px;
}

#move-email {
	height:auto;
	width:360px;
	background:#fff;
	z-index:200;
	padding: 6px 10px 6px 10px;
	text-align: left;
	margin: 130px auto;
	
	-moz-box-shadow: 0 0 10px #3b3b3b;
	-webkit-box-shadow: 0 0 10px #3b3b3b;
	box-shadow: 0 0 10px #3b3b3b;
	
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
}

#move-cancel {
	cursor: pointer;
	display:block;
	text-align:right;
}

.sm-pop-bg {
	display:none;  
	position:fixed; 
	height:100%;  
	width:100%;  
	top:0;  
	left:0;  
	background:#000000;  
	z-index:100;  
	-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=60)";
	filter: alpha(opacity=60);
	opacity: .6;
}

/*
	Addresses
*/

.address_list {
	margin: 10px 0 10px 0;
}

.address_list .list_name {
	font-size: 1.3em;
	text-transform:capitalize;
}

.address_list .list_name span {
	font-size: .9em;
	font-weight: 200;
}

.address_list .list_options {
	text-align:right;
}

.address_list .list_options a {
	margin-right: 8px;
}

.address_list .delete-address {
	margin-left:6px;
	font-size:1.1em;
}

.address_list tbody select{
	height: 20px !important;
	margin:0;
	position: relative;
	bottom: 2px;
}

#add-contact, #delete-list-confirm {
	width: 400px !important;
}

#add-contact input[type="text"], #add-contact textarea {
	width:300px;
}
#add-contact textarea {
	height:100px;
}
	/*Compose->Addresses*/
.sm-pop-cont {
	text-align:center;
	position:absolute;
	top:36px;
	left:0;
	width: 100%;
	z-index:200;
	display:none;
}

.sm-pop-cont .wrap, .sm-pop-cont #add-contact, #delete-list-confirm {
	text-align:left;
	margin:0 auto;
	width: 620px;
	background-color:#fff;
	padding:15px;
	border-radius: 5px;
	border: 1px solid #f0f0f0;
	z-index:200;
}

.address_book_icon {
	cursor: pointer;
	border:0;
	vertical-align:middle;
	margin-left:4px;
	margin-bottom:2px;
}

#close-contact, #close-confirm {
	cursor: pointer;
	position:relative;
	bottom:22px;
	font-weight:bold;
	z-index:250;
}

#addresses-menu {
	border-radius: 5px;
	border: 1px solid #f0f0f0;
	z-index:200;
	margin:5px auto;
	width: 620px;
	background-color:#fff;
	padding:5px;
	font-weight:bold;
}

#addresses-menu a {
	cursor: pointer;
}

/*
	Login
*/

#sm_login {
	margin-left:8px;
	padding:26px 24px 46px;
	font-weight:normal;
	-moz-border-radius:3px;-khtml-border-radius:3px;-webkit-border-radius:3px;border-radius:3px;
	background:#fff;
	border:1px solid #e5e5e5;
	-moz-box-shadow:rgba(200,200,200,0.7) 0 4px 10px -1px;
	-webkit-box-shadow:rgba(200,200,200,0.7) 0 4px 10px -1px;
	-khtml-box-shadow:rgba(200,200,200,0.7) 0 4px 10px -1px;
	box-shadow:rgba(200,200,200,0.7) 0 4px 10px -1px;
}

#login_container p {
	margin-bottom:0;
}

label{color:#777;font-size:14px;}
#login_container .submit{float:right;}

#login_container p{margin-bottom:24px;}

#sm_login {
	width:320px;
	margin:7em auto;
}
#login_container .input {
	font-family:"HelveticaNeue-Light","Helvetica Neue Light","Helvetica Neue",sans-serif;
	font-weight:200;
	font-size:24px;
	width:97%;
	padding:3px;
	margin-top:2px;
	margin-right:6px;
	margin-bottom:16px;
	border:1px solid #e5e5e5;
	background:#fbfbfb;
	outline:none;
	-moz-box-shadow:inset 1px 1px 2px rgba(200,200,200,0.2);
	-webkit-box-shadow:inset 1px 1px 2px rgba(200,200,200,0.2);
	box-shadow:inset 1px 1px 2px rgba(200,200,200,0.2);
	color: #555;
}

#login_container .button-primary {
	font-family: sans-serif;
	padding: 5px 12px !important;
	border: none;
	font-size: 16px !important;
	border-width: 1px;
	border-style: solid;
	-moz-border-radius: 11px;
	-khtml-border-radius: 11px;
	-webkit-border-radius: 11px;
	border-radius: 11px;
	cursor: pointer;
	text-decoration: none;
	margin-top: -24px !important;
	margin-right: 4px !important;
	color: #fff;
}

#login_container .clear{clear:both;}

/*
	Footer
*/

#sm_footer {
	margin-top:10px;
}
#sm_footer img {
	border:1px solid #aaa;
}

/*
	Error Page
*/

#broke-image {
	background-image: url('images/broke.png');
	width: 500px;
	height: 500px;
	background-repeat: no-repeat;
	position: absolute;
	z-index: 200;
}

#broke {
	position: relative;
	top: 30px;
}

#broke h1 {
	margin: 5px;
	font-size: 40px;
	font-family: Arial;
	font-weight: 300;
	text-indent:150px;
	z-index: 100;
}

#broke h5 {
	margin: 5px;
	padding:0;
	font-size: 20px;
	font-family: Arial;
	font-weight: 300;
	text-indent:230px;
	z-index: 100;
}

#broke-message {
	font-style: italic;
	position: relative;
	top: 280px;
	width: 440px;
	text-align: center;
	z-index: 300;
}