table {
  width: 100%;
  margin: 15px 0px;
  border-collapse: collapse;
  border-spacing: 0px;
clear: both;
}

table th,
table td{
  vertical-align: top;
}

table th.center,
table td.center{
  text-align: center;
}
table th.left,
table td.left{
  text-align: left;
}
table th.right,
table td.right{
  text-align: right;
}

table td.top,
table th.top{
  vertical-align: top;
}

table td.no-wrap{
  white-space: nowrap;
}

table th.middle,
table td.middle{
  vertical-align: middle;
}

table tr.odd th,
table tr.odd td{
  background: #F2F2F2;
}

table th div{
  font-weight: normal;
  font-size: 9px;
  color: #777;
  margin-left: 5px;
}

table.listing tr td.icons{
  text-align: right;
  width: 50px;
}
table.listing tr td.icons img{
  margin-left: 7px;
}

table td.destinations input{
  margin-bottom: 5px;
}

/* ========================= */
/*  General purpose listings    */
/* ========================= */

table.listing tr.row-hover,
ul.listing li.row-hover{
  background: #F1F9E9;
}

table.listing th,
table.listing td,
table.listing tr.row-hover,
table.simplelisting th,
table.simplelisting td{
  padding: 2px 5px;
  border-bottom: 1px solid #C0C0C0;
}
table.listing thead th,
table.simplelisting thead th{
  padding: 3px 5px 2px 5px;
  border-bottom: 1px solid #72BC1E;
  background: url(/images/backgrounds/table-listing-head.gif) #fff bottom left repeat-x;
}

table.listing tfoot td,
table.simplelisting tfoot td{
  border-top: 1px solid #0D4EAA !important;
  padding: 8px 5px 2px 5px;
  font-weight: bold;
}

table.listing * input,
table.simplelisting * input{
  height: 13px;
  vertical-align: middle;
}

table td h2,
table td h3{
  margin: 0 0 0 0;
  font-size: 110%;
}

table td p{
  margin-top: .5em;
}

table td span.date{
  color: #999;
  font-weight: normal;
  font-size: 90%;
}

table tfoot tr.sub td,
table tfoot tr.sub th{
	color: #666;
	font-weight: normal;
	font-size: 90%;
}

/* ========================= */
/*  Layout   */
/* ========================= */

table.layout {
	width: 100%;
	border-spacing: 0;
}

table.layout td{
	vertical-align: top;
}

table.layout tr td.left{
	width: 29%;
	padding-right: 1%;
}

table.layout tr td.right{
	text-align: left;
	width: 70%;
}

/* ========================= */
/*  Pairs   */
/* ========================= */

table.pairs{
  width: auto;
}
table.pairs tbody th{
  width: 160px;
}


table td.currency{
	width: 3em;
	color: #999;
}

/* ========================= */
/*  Help tables              */
/* ========================= */
table.help tr td.example pre{
  border: 1px solid #ccc;
  background: #f2f2f2;
  padding: 2px;
}

table.help tr td.example{
    padding: 2px;
}


/* ========================= */
/*  Table style LI listing   */
/* ========================= */

ul.listing li{
  padding: 5px 5px;
  border-bottom: 1px solid #C0C0C0;
}

ul.listing{
	width: 100%;
  margin: 15px 0px;
  border-top: 1px solid #72BC1E;
  background: url(/images/backgrounds/window-top.gif) top left repeat-x;
}

ul.listing form dl{
	width: 100%;
}

ul.listing li li{
	border: 0px;
	padding: 0px;
}

textarea {
	scroll: auto;
}


/* ========================= */
/*  Quote table styles       */
/* ========================= */

table.quotes tr td strong,
table.quotes tr td span{
	display: block;
}

table.quotes tr td span{
	font-size: 90%;
}

table.quotes h4{
	margin-bottom:  0;
}

table.quotes p{
	margin-top: 0;
}

table.quotes tbody td,
table.quotes tbody th{
	padding:  5px 5px;
}

table.quotes tbody td a{
	font-weight: bold;
}

table.quotes td.status{
	width: 34px;
	padding: 7px 5px 0 5px;
}

.status span,
table.quotes .status span{
	padding: 1px 3px;
	color: white;
}

.draft span, span.draft{ background: #444; }
.sent span, span.sent,
.final span, span.final{ background: #2250D0; }
.accepted span, span.accepted,
.payed span, span.payed{ background: #35A317; }
.declined span, span.declined,
.overdue span, span.overdue{ background: #DC0E22; }
.billed span, span.billed{ background: #AC20AC; }

/*

MAC calendar colors

background: #2250D0;
background: #35A317;
background: #DC0E22;
background: #AC20AC;
background: #ED771E;
background: #4B289E;
*/

table.quotes tr.empty td{
	padding-top: 5px;
	padding-bottom: 5px;
}
table tr.empty td{
	color: #999;
}

.pdf {
  width: 1rem;
}

.status-label {
  width: 1rem;
  vertical-align: bottom;
}
