/**
* CSS which is used on the front-end and the admin
**/


a img {
	border-style: none;
}


/**
* Notification box
**/
ul.messages {
	padding: 10px 0 10px 0;
	margin: 10px 0 10px 0;
	list-style-type: none;
	font-family: arial, sans-serif;
	font-size: 12px;
	border: 1px dashed #999;
	background-color: #EEEEDE;
	zoom: 1;
}

ul.messages li {
	display: block;
	vertical-align: bottom;
	margin: 0px;
	margin-left: 10px;
	padding: 5px 20px 4px 30px;
}

ul.messages li.confirm {
	color: #090;
	background: url(../images/icons-16x16/dialog-information.png) no-repeat left center;
	list-style-type: none;
}

ul.messages li.error {
	color: #900;
	background: url(../images/icons-16x16/dialog-error.png) no-repeat left center;
	list-style-type: none;
}

ul.messages li span.action-link {
	padding-left: 25px;
}

div#notification-box {
	padding: 20px;
}

div#notification-box-links {
	width: auto !important;
	position: static !important;
	padding: 20px !important;
}

#notification-box-links {
	text-align: center;
}

#notification-box-links a {
	margin: 0 10px 0 0;
	font-family: 'Lucida Grande', Verdana, helvetica, arial, sans-serif;
}


/**
* Refine bar
**/
div.refine-bar {
	background-color: #EFFFF9;
	border: 1px #333 solid;
	padding: 0px;
	zoom: 1;
	min-height: 53px;
}

div.refine-bar div.refine-add {
	float: left;
	width: 180px;
	padding: 10px;
}

	div.refine-bar div.refine-add select {
		width: 180px;
	}
	
	div.refine-bar div.refine-add optgroup {
		margin-top: 5px;
	}
	
	div.refine-bar div.refine-add optgroup option {
		padding-left: 15px;
	}
	
div.refine-bar div.refine-list {
	float: left;
	width: 315px;
	padding: 10px;
}

	div.refine-bar div.refine-list > div {
		padding: 2px;
	}
		
		div.refine-bar b {
			padding-top: 6px;
			width: 150px;
			float: left;
		}
		
		div.refine-bar div.refine-list input {
			width: 130px;
			float: left;
		}
		
		div.refine-bar div.refine-list select {
			width: 140px;
			float: left;
		}
		
		div.refine-bar div.refine-list .remove {
			margin: 6px 0 0 3px;
			cursor: pointer;
			display: inline-block;
		}
		

div.refine-bar div.refine-submit {
	float: left;
	width: 200px;
	padding: 10px;
}



/* Input fields - errors */
td.field-info, table.form-section td.field-info {
	padding: 4px;
	border-style: none;
	vertical-align: middle;
}

span.field-info {
	color: #01387A;
	font-weight: bold;
	padding: 2px 10px;
	margin: 0px;
	font-size: 10px;
	vertical-align: middle;
}
	span.field-info:before {
		content: "\2039\00a0";
	}

span.field-error {
	background: #822A2A;
	color: white;
	font-weight: bold;
	padding: 2px 7px 2px 7px;
	margin: 0 0 0 20px;
	font-size: 10px;
	vertical-align: middle;
}
span.field-error:before {
	border-bottom: 9px solid transparent;
	border-right: 9px solid #822a2a;
	border-top: 10px solid transparent;
	content: " ";
	display: inline-block;
	width: 0;
	height: 0;
	top: 5px;
	margin-left: -16px;
	margin-right: 4px;
	position: relative;
}

input[type=text].field-error,
input[type=password].field-error,
textarea.field-error,
.textbox.field-error {
	border: 1px #7E2222 solid;
}

span.field-error + span.field-info {
	display: none;
}


/* Toggle strips */
.toggle-strip {}

	.toggle-strip .ts-item {
		background: #fff;
		border: 1px #888 solid;
		box-shadow: 1px 1px 1px #ccc;
		float: left;
		padding: 5px 10px;
		margin-left: -1px;
		cursor: pointer;
	}
	
	.toggle-strip .ts-over {
		background: #eee;
	}
	
	.toggle-strip .ts-on {
		background: #bbb;
	}
	
	.toggle-strip .ts-first {
		border-radius: 4px 0 0 4px;
		-moz-border-radius: 4px 0 0 4px;
		-webkit-border-radius: 4px 0 0 4px;
	}
	
	.toggle-strip .ts-last {
		border-radius: 0 4px 4px 0;
		-moz-border-radius: 0 4px 4px 0;
		-webkit-border-radius: 0 4px 4px 0;
	}


.widget-hasinfobox {
	position: relative;
}

	.widget-hasinfobox:hover {
		outline: 1px #999 dotted;
	}
	
	.widget-infobox {
		display: none;
		position: absolute;
		top: 0; right: 0;
		padding: 5px 10px;
		background: #CCC;
		color: #000;
		font-size: 12px;
		font-family: sans-serif;
	}
	
	.widget-hasinfobox:hover > .widget-infobox {
		display: block;
	}



/**
* Debugging - always show PREs in a readable fashion
**/
pre {
	text-align: left;
	background-color: white;
	color: black;
	padding: 10px;
	margin: 5px;
	font-size: 11px;
	border: 1px #CCC solid;
}

