 /*----------------------------------------------------------------------------------------------------
					   						TABLE
-----------------------------------------------------------------------------------------------------*/


form table {
/*  width: 650px;*/
/*  margin: 0 10px;*/
	overflow: scroll;
}

form table td {
	border: 1px solid #B2C3CC;
	padding: 6px;
		vertical-align:top;
}

table {          
	padding: 0;
	margin: 10px 0 10px 20px;
	border-collapse: collapse;
	text-align: left; 
	width: 95%;  
}

caption {
	padding: 0 0 5px 0;
		width: 700px;	 
	text-align: left;
	font-size: 14px;
	font-weight: bold;

}


td {
	border-right: 1px solid #B2C3CC;
	padding: 6px;
		vertical-align:top;
		font-size: 12px;
}  

td p {
	padding: 0px;
	margin: 0px;
}

td.total, th.total {
	border-bottom: 0;
	font-weight: bold;
}

td.odd {
	background: #DFF4FF;
	vertical-align:top;
	
}

td.total {
	background: #92DAFF;
	vertical-align:top;	

}

th {

border-right: 1px solid #B2C3CC;
background: #950000;
color: #fff;
font-weight: normal;
height: 30px;
padding: 2px 6px;
	
}

/* TODO: I doubt this is the best place for it */
tr.unread {
	font-weight:bold;
}

tr:hover {
	background-color: #f2f2f2;
}

tr.header:hover {
background-color: #FFF;
}

.pagination {
	background: #EBEBEB;
	padding: 3px;
	margin-top: 10px;
	}

.pagination p.floatright {
	float: right;
}

/* ========= DETAILS TABLES ========== */

#details {
	  display: block;
	  float: left;	
	  width: 712px;
	  margin: 0px 0px 0px 0px;
	  padding: 0px;
	}

#details h1 {
	color: #25b5ff;
	font-size: 16px;
	background: #fff url(images/titlebg.jpg) no-repeat;
	padding: 13px 0px 13px 13px;
	margin: 0px 0px 17px 0px;
	font-weight: normal;
	letter-spacing: 1px;
/*	float: left;
	display: inline;*/
}


#details table {
	width: 710px;
	text-align: left;
	font-size: 11px;
	line-height: 14px;
	margin: 0px 0px 15px 0px;
}

#details tbody tr th {
  padding: 10px 5px 10px 13px;
	margin: 0px 0px 0px 0px;
	color: #1b1b1b;
	background: #950000;
	border: none;
	text-align: left;
}

  #details-table tbody tr td {
    padding: 10px 5px 10px 13px;
	border-bottom: 1px solid #b7b7b7;
	color: #1b1b1b;
  }

    #details-table tbody tr.even td {
      background-color: #ececec;
    }
    #details-table tbody tr.odd  td {
      background-color: #fff;
    }

table.horizontal {
	border: none;
	width: 95%;
}

table.horizontal tr {
	border: none;	
}

table.horizontal td {
	border: none;
border-bottom: 1px solid #B2C3CC;
}

table.main_table {
	width: 95%;  
	display: table;
}

table.radiotable {
  width: 97%;  
}

tr.sent {
  background-color: #d7d7d9;
}

tr.sent:hover {
	background-color: #f2f2f2;
}


table.crisp_table {
  border: 1px solid #C9C9C9;
  border-collapse: collapse;
  width: 94% !important;
}

table.crisp_table thead tr th {
  background: #F0F0F0;
  color: #555;
  font-weight: bold;
  padding: 5px 10px;
  margin: 0;
  height: auto;
}

table.crisp_table tbody tr td {
  border: 1px solid #C9C9C9;
  padding: 5px 10px;
  vertical-align: middle;
}

table.crisp_table tbody tr td.icon, table.crisp_table thead tr th.icon {
  padding: 5px 5px;
}

table.crisp_table tbody tr td img.icon {
  margin: 0 !important;
  padding: 0 !important;
}

table.crisp_table tbody tr td.actions {
  text-align: right;
}

table.crisp_table tbody tr td a.action_right {
  float: right;
}

table.crisp_table tbody tr td.actions img {
  vertical-align: -2px;
}

table.crisp_table thead tr th p {
  margin: 0;
  padding: 0;
}

form table.crisp_table {
  margin-left: 20px;
}

form table.crisp_table input {
  width: auto;
}

form table.crisp_table input.checkbox_collection {
  text-align: center;
  margin: 0 15px;
}

/* Move me to another file */
a.send_unsent_right {
  float: right;
  margin-bottom: 10px;
  margin-top: 10px;
}

td div.progress_bar {
  width:53%;
  border:1px solid #B2C3CC;
  float:right;
}

td div.progress_bar div {
  background:#ccc;
  height:9px;
  margin:2px;
}

td div.sublink {
  margin-top:5px;
}
