/* @override 
	http://localhost:8000/stylesheets/main.css
	http://crm.factotumtech.net.local/stylesheets/main.css
*/

body {
	font-family: 'Lucida Grande', Verdana, sans-serif;
	font-size: 11px;
	background: #f3f3f3;
}

label {
	font-size: 10px;
	font-weight: bold;
	color: #686868;
	//display: block;
	margin-bottom: 4px;
}

code {
	border: 1px dashed #555;
	padding: 5px;
	width: 100%;
	white-space: pre;
	font-family: monospace;
	font-size: 11px;
	background-color: #fefeee;
	display: block;
}

img {
	border :none;
}

ul {
	line-height: 1.8;
}

a {
	color: #00a4b5;
	text-decoration: none;
}

input {
	margin-bottom: 3px;
}

a:hover {
	text-decoration: underline;
	cursor:pointer;
}

.link:hover {
	text-decoration: underline;
	cursor:pointer;
}

h2 {
	font-size: 14px;
	margin-bottom: 8px;
}

.comment h3, .dotted h3, .comment h4, .dotted h4 {
	margin-top:0px
}

h4 {
	margin-bottom: 5px;
}

textarea {
	border: 1px solid #ddd;
}

form {
	margin: 0px;
	padding: 0px;
}

form label {
	line-height: 1.5;
	
}

.clear_both {
	clear: both;
}

.error {
	color: red;
}

.success {
	color: green;
}

.fieldWithErrors {
	margin: 0;
	padding: 0;
	border: 1px solid red;
	background-color: #ffdfd9;
}

/* VALIDATE */

input.required, textarea.required {
	
}

input.validation-failed, textarea.validation-failed {
	border-color: #cf3938;
}

input.validation-passed, textarea.validation-passed {
	
}

.validation-advice {
	margin-top: -4px;
	margin-left: 5px;
	padding: 2px;
	width: 150px;
	text-align: center;
	background-color: #cf3938;
	color: #FFF;
	font-size: 9px;
	font-weight: bold;
}

/* TICKET VIEW */

.view_ticket {
	
}

.ticket_header {
	padding:5px;
	border: 1px solid #ddd;
}

.sla {
	margin-bottom: 5px;
	font-style: italic;
	color: #aaa;
}

.message {
	padding: 15px;
	border: 1px solid #ddd;
	margin-bottom: 10px;
}

.message_subject {
	padding-bottom: 10px;
	font-weight: bold;
}

.message_sent_by {
	
}

.message_body {
	padding-top: 15px;
	font-size: 11px;
	line-height: 1.5;
	color: #686868;
}

.dotted {
	background-color: #f8f8f8;
}

.comment, .dotted {
	padding: 15px;
	margin-bottom: 10px;
	border: 1px dashed #ddd;
}

.comment {
	background-color: #fefeee;
}

.highlighted {
	background-color: #fdfdc2;
}

.reply {
	border: 1px solid #ddd;
	margin-bottom: 10px;
	padding: 15px;
}

/* INVOICE TABLE */

.settled {
	background-color: #e3fddb;
}

.overdue {
	background-color: #ffd3cc;
}

.due {
	background-color: #fbebc5;
}


/* TICKET TABLE */

.open {
	background-color: #e3fddb;
}

.closed {
	background-color: #fff;
}

.on_hold {
	background-color: #ffdfd9;
}

.merged {
	background-color: #e6e4e2;
}

/* ALTERNATIVE TICKET COLOURS */

.low_priority {
	background-color: #e7ffdc;
}

.medium_priority {
	background-color: #fef2ba;
}

.high_priority {
	background-color: #ffc6be;
	font-weight: bold;
}

.no_priority {
	background-color: #fff;
}

table {
	border-collapse: collapse;
	border-left: 1px solid #bbb;
	border-right: 1px solid #bbb;
	border-bottom: 1px solid #bbb;
}

th {
	text-align: left;
	font-weight: normal;
	font-size: 10px;
	height: 17px;
	background: url(/images/table_head.gif);
	padding-left: 10px;
	border-left: 1px solid #bbb;
	border-right: 1px solid #bbb;
}

th:hover {
	cursor: pointer;
}

th.selected {
	background: url(/images/table_head_selected.gif);
	border-left: 1px solid #577abe;
	border-right: 1px solid #6c8cc4;
}

td {
	height: 18px;
	font-size: 11px;
	padding-left: 10px;
}

.unread {
	background: url(/images/unread.png);
	background-repeat: no-repeat;
	padding: 0px;
	background-position: center center;
}

.alt {
	background-color: #ecf3fe;
}

#header {
	height: 70px;
}

#logo {
	float:right;
}

#container {
	position: relative;
	width: 740px;
	padding: 20px;
	border: 1px solid #ddd;
	background: #fff;
}

#main {
	margin-top: 20px;
}

#search_text {
	color: #00808e;
	float: right;
	top: 20px;
	right: 20px;
	font-size: 14px;
}

div.auto_complete {
	width: 350px;
	background: #fff;
}

div.auto_complete ul {
	border: 1px solid #888;
	margin: 0;
	padding: 0;
	width: 100%;
	list-style-type: none;
}

div.auto_complete ul li {
	margin: 0;
	padding: 3px;
}

div.auto_complete ul li.selected {
	background-color: #79dbe1;
	font-weight: bold;
}

div.auto_complete ul strong.highlight {
	color: #800;
	margin: 0;
	padding: 0;
}

/* SMS */


#sms_buttons {
	width: 120px;
	float: left;
}

#sms_all_b, #sms_received_b, #sms_sent_b {
	cursor: pointer;
	width: 80px;
	height: 15px;
	text-align: left;
	padding: 8px;
	margin: 10px;
	margin-top: 0px;
	font-size: 13px;
	font-weight: bold;
	border: 1px solid #ddd;
}

#sms_list {
	width: 620px;
	float: right;
}

.sms_received {
	background-color: #e9ffe3;
}

.sms_sent {
		background-color: #e4f3fe;
}










