body { 
	padding: 20px; 
	font-family: Arial;
}

h1 {
	font-weight: normal;
	color: #777;
	margin: 0px;
	padding: 0px;
}

a {
	text-decoration: none;
	color: blue;
}

a:hover {
	color: orange;
}

.button {
	display: inline-block;
	padding: 5px 20px;
	background-color: #DDD;
	border-radius: 3px;
	text-transform: uppercase;
	letter-spacing: 1px;
	color: #000;
	text-decoration: none;
	font-weight: bold;
	font-size: 12px;
}	

input.button {
	border: 0px;
	cursor: pointer;
}

/* USER 
 * * * * * * * * * * * * * * * * * * * * * * * * * * */

div.user {
	position: absolute;
	top: 25px;
	right: 60px;
	font-size: 12px;
}

div.user form input.submit {
	font-size: 10px;
	margin-left: 5px;
}

/* VIEWBY 
 * * * * * * * * * * * * * * * * * * * * * * * * * * */

div.viewby {
	position: absolute;
	top: 17px;
	right: 200px;
}

div.viewby a {
	position: relative;
	display: inline-block;
	height: 20px;
	background-color: #EEE;
	padding: 5px 10px;
	padding-bottom: auto;
	color: #999;
	width: 75px;
	text-align: center;
}

div.viewby.leads a.leads,
div.viewby.contacts a.contacts {
	background-color: #999;
	color: #FFF;
	top: 0px;
	height: 25px;
	padding-top: 10px;
}

div.viewby.contacts a.leads:hover,
div.viewby.leads a.contacts:hover {
	color: #555;
}

/* FILTER 
 * * * * * * * * * * * * * * * * * * * * * * * * * * */
 
#filter {
	position: relative;
	padding: 15px 20px;
	background-color: #999;
}

#filter select {
	font-size: 16px;
	margin-right: 10px
}

#filter select.usage {
	width: 150px;
}

#filter input.submit {
	font-size: 14px;
	color: #000;
	padding: 3px 20px;
	background-color: #DDD;
	border: 0px;
	border-bottom: 1px solid #777;
	border-right: 1px solid #777;
	letter-spacing: 1px;
	border-radius: 3px;
	margin-right: 10px;
}

#filter input.submit:hover {
	background-color: #A0C45C;
	cursor: pointer;
}

#filter .total {
	position: absolute;
	top: 20px;
	right: 40px;
	color: #CCC;
	letter-spacing: 1px;
	font-size: 14px;
}

#filter .total strong {
	color: #FFF;
	font-size: 16px;
}

#filter a.clear {
	color: #CCC;
	text-transform: uppercase;
	letter-spacing: 1px;
}

#filter a.clear:hover {
	color: #FFF;
}

/* TABLE 
 * * * * * * * * * * * * * * * * * * * * * * * * * * */

table { 
	width: 100%;
	border-collapse: collapse; 
	border-top: 1px solid #AAA;
}

table tr th {
	padding: 5px 10px;
	font-size: 11px;
	text-align: left;
	text-transform: uppercase;
	border-bottom: 1px solid #AAA;
	background-color: #CCC;
}

table tr td {
	padding: 5px 10px;
	font-size: 11px;
	border-bottom: 1px solid #AAA;
}

table tr td.date {
	width: 80px;
}

table tr.odd td {
	background-color: #F1F1F1;
}

table tr.has-message td {
	border-bottom: 1px dotted #AAA;
}

table tr.message td {
	font-style: italic;
	color: #888;
}

/* TABLE LEADS
 * * * * * * * * * * * * * * * * * * * * * * * * * * */

body.leads table tr td.site {
	width: 70px;
}

body.leads table tr td.site .extra {
	color: #999;
}

/* TABLE CONTACTS
 * * * * * * * * * * * * * * * * * * * * * * * * * * */

body.contacts table tr td.site {
	width: 120px;
}

body.contacts table tr.blocked td.ip,
body.contacts table tr td.ip.blocked {
	color: red;
}