/**
 * BookZakaz Main CSS
 */

.bookzakaz {
	line-height: 1;	
	border: 1px solid #ddd;
	padding: 15px;
	border-radius: 5px;
}

.bookzakaz a {
	color: #007C9C;
}

.bookzakaz a:hover {
	color: #00A5CF;
}

.bookzakaz input[type=text],.bookzakaz input[type=button],.bookzakaz input[type=submit],.bookzakaz textarea
	{
	width: 99%;
	padding-top: 8px;
	padding-bottom: 8px;
	border: 1px solid #ccc;
	font-size: 16px;
}

.bookzakaz textarea {
	height: 200px;
}

.bookzakaz form{
	border: none;
	padding: 0;
	margin: 0;
}

.bookzakaz div.bookzakaz_updated,div.bookzakaz_error {
	border-width: 1px;
	border-style: solid;
	padding: 0.6em;
	margin: 15px 0;
	-moz-border-radius: 3px;
	-khtml-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
}

.bookzakaz div.bookzakaz_updated p,div.bookzakaz_error p {
	margin: .5em 0;
	padding: 2px;
	color: #333;
	font-size: 12px;
	line-height: 14px;
}

.bookzakaz div.bookzakaz_error {
	background-color: #FFEBE8;
	border-color: #C00;
}

.bookzakaz div.bookzakaz_updated {
	background-color: #FFFFE0;
	border-color: #E6DB55;
}

.bookzakaz .cpm-inbox .cpm-inbox-from {
	width: 190px;
}

.bookzakaz .cpm-inbox .cpm-inbox-received {
	width: 90px;
	text-align: center;
}

.bookzakaz .cpm-user {
	background-repeat: no-repeat;
	background-position: left center;
	padding-left: 20px;
	display: inline-block;
	line-height: 25px;
}

.bookzakaz table {
	font-size: 12px;
	color: #444;
	width: 100%;
	background: #fff;
}

.bookzakaz table a {
	text-decoration: none;
}

.bookzakaz table p {
	line-height: 14px;
	margin: 0;
}

.bookzakaz table thead tr th {
	background: #555;
	color: #fff !important;
}

.bookzakaz table td, .bookzakaz table th {
	padding: 7px 10px !important;
	font-size: 12px;
}

.bookzakaz table tbody tr.even td {
	background-color: #FAFAFA;
}

.bookzakaz table tbody tr.odd td {
	background-color: #F2F7FC;
}

.bookzakaz table tbody tr.unopened td {
	background-color: #D2F0D1 !important;
}

.bookzakaz table tbody tr.unopened td.cpm-inbox-subject {
	font-weight: bold;
}

.bookzakaz .cpm-thread-from {
	text-align: center;
	width: 100px;
	line-height: 14px !important;
}

.bookzakaz .cpm-thread-from-avatar {
	margin-bottom: 5px;
}

.bookzakaz td.cpm-thread-message,.bookzakaz td.cpm-thread-from {
	vertical-align: top;
}

.bookzakaz .cpm-thread-from-time {
	font-size: 11px;
	margin-top: 3px;
}

.bookzakaz .cpm-thread-message p {
	line-height: 20px !important;
	margin-top: 2px !important;
	margin-bottom: 18px !important;
}

.bookzakaz .cpm-thread-meta {
	font-size: 11px;
	margin-bottom: 10px;
	background: #FAFAFA;
	border: 2px solid #FFF;
	padding: 10px;
}

.bookzakaz .cpm-thread-meta-label {
	font-weight: bold;
	margin-right: 10px;
}

.bookzakaz .cpm-user-separator {
	margin-right: 2px;
}

.bookzakaz .cpm-thread-meta-subscribe label {
	float: left;
	margin-top: 3px;
	margin-left: 5px;
}

.bookzakaz .cpm-thread-meta-subscribe input {
	float: left;
}

.bookzakaz .clear {
	clear: both;
}

.bookzakaz form {
	margin: 0;
	padding: 0;
}

.bookzakaz .cpm-thread-reply,.bookzakaz .cpm-thread-reply td {
	background: none !important;
	padding: 0 !important;
	border: none !important;
}

.bookzakaz textarea {
	overflow: auto;
}

.bookzakaz .cpm-header{
	margin-bottom:10px;
}

.bookzakaz .cpm-button {
	display: inline-block;
	font-size:11px;
	background:#F0FCFF;
	border: 1px solid #8FBFC9;
	padding:10px 20px;
	text-decoration: none;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
	margin-right:10px;
	font-weight:bold;
}

.bookzakaz .cpm-button:hover {
	background:#D3EEF5;
}

.bookzakaz .cpm-thread-meta{
	color: #444;
}

/* CSS for autocomplete script */

.bookzakaz_recipient_suggest_result {
	padding: 5px 33px;
	background-position: left center;
	background-repeat: no-repeat;
	text-align: left;
	color: #555;
	font-weight: bold;
}

.ac_results {
	padding: 0px;
	border: 1px solid #ccc;
	background-color: #fff;
	overflow: hidden;
	z-index: 99999;
}

.ac_results ul {
	width: 100%;
	list-style-position: outside;
	list-style: none;
	padding: 0;
	margin: 0;
}

.ac_results li {
	margin: 0px;
	padding: 2px 5px;
	cursor: default;
	display: block;
	/* 
	if width will be 100% horizontal scrollbar will apear 
	when scroll mode will be used
	*/
	/*width: 100%;*/
	font: menu;
	font-size: 12px;
	/* 
	it is very important, if line-height not setted or setted 
	in relative units scroll will be broken in firefox
	*/
	line-height: 16px;
	overflow: hidden;
	border-bottom: 1px solid #eee;
}

.ac_odd {
	background-color: #eee;
}

.ac_over {
	background-color: #ddd;
	color: #000;
}