blockquote:before, blockquote:after, q:before, q:after {
	content: "";
}

blockquote, q {
	quotes: "" "";
}

a {
	color: #636363;
	text-decoration: none;
	outline: none;
	cursor: pointer;
}

a img {
	border: none;
}

img {
	vertical-align: middle;
}

h1, h2, h3, h4, h5, h6 {
	font-weight: normal;
	color: #666;
}

h1 {
	font-size: 24px;;
	font-weight: bold;
	line-height: 1;
	color: #333;
	margin-bottom: 10px;
}

h2 {
	color: #454545;
	font-size: 18px;
	font-weight: bold;
	margin-bottom: 10px;
}

h3 {
	color: #666666;
	font-size: 14px;
	font-weight: bold;
	margin-bottom: 15px;
}

h4 {
	font-size: 13px;
	font-weight: bold;
	margin-bottom: 15px;
}

h5 {
	font-size: 12px;
	margin-bottom: 15px;
}

h6 {
	font-size: 11px;
	margin-bottom: 15px;
}

h1 img, h2 img, h3 img, h4 img, h5 img, h6 img {
	margin: 0;
}

a:focus, a:hover {
	color: #000;
}

blockquote {
	margin: 1.5em;
	color: #666;
	font-style: italic;
}

strong {
	font-weight: bold;
}

em, dfn {
	font-style: italic;
}

dfn {
	font-weight: bold;
}

sup, sub {
	line-height: 0;
}

abbr, acronym {
	border-bottom: 1px dotted #666;
}

address {
	margin: 0 0 1.5em;
	font-style: italic;
}
/* misc */
.cl {
	clear: both;
	display: block;
	height: 0;
	overflow: hidden;
	visibility: hidden;
	width: 0;
	line-height: 0;
}

.fl {
	float: left;
}

.fr {
	float: right;
}

.fn {
	float: none !important;
}

.tl {
	text-align: left;
}

.tr {
	text-align: right;
}

.tc {
	text-align: center;
}

.hd {
	display: none;
}

.pointer {
	cursor: pointer;
}

.clear {
	clear: both
}

.clear20 {
	clear: both;
	height: 20px;
}

.clear40 {
	clear: both;
	height: 40px;
}

.strong {
	font-weight: bold !important;
}

/* Page Blocks */
.box {
	background: #fff;
	border: 1px solid #9d9d9d;
	margin-bottom: 15px;
	padding: 15px;
	border-top: 0;
	-moz-border-radius-bottomleft: 3px;
	-moz-border-radius-bottomright: 3px;
	-webkit-border-bottom-left-radius: 3px;
	-webkit-border-bottom-right-radius: 3px;
}

.box.stats {
	padding: 30px 15px;
}

.box.table {
	padding: 0;
}

.box-header {
	border: 1px solid #9d9d9d;
	font-weight: bold;
	font-size: 14px;
	background: #cdcdcd url('../img/boxheader.gif') repeat-x top;
	padding: 10px 15px;
	color: #333333;
	-moz-border-radius-topleft: 3px;
	-moz-border-radius-topright: 3px;
	-webkit-border-top-left-radius: 3px;
	-webkit-border-top-right-radius: 3px;
	text-shadow: 1px 1px 1px #fff;
}

.box-header .fr a {
	color: #333333;
	text-decoration: none;
	font-size: 12px;
	padding: 0 5px;
}

.box-header .fr a:hover {
	color: #1f92ff;
}

.box h2 {
	color: #454545;
	font-size: 18px;
	font-weight: bold;
	margin-bottom: 10px;
}

.box h3 {
	color: #666666;
	font-size: 14px;
	font-weight: bold;
	margin-bottom: 15px;
}

.box h4 {
	color: #666666;
	font-size: 13px;
	font-weight: bold;
	margin-bottom: 15px;
}

.box ul {
	padding-bottom: 15px;
	padding-left: 30px;
}

.box ul li {
	margin-bottom: 5px;
	padding-left: 5px;
}

.box ol {
	list-style-position: inside;
	padding-bottom: 15px;
	padding-left: 15px;
}

.box ol li {
	margin-bottom: 5px;
}
/* Forms */
form label {
	padding-top: 5px;
	margin-right: 8px;
	display: block;
	color: #454545;
	font-size: 13px;
	font-weight: bold;
	display: inline-block;
	vertical-align: top;
}

form span.label {
	display: inline-block;
	padding-top: 5px;
	vertical-align: top;
}

form p {
	margin-bottom: 10px;
	padding-bottom: 20px;
}

form div.row {
	clear: both;
	padding: 4px 0;
	margin-bottom: 10px;
	min-height: 25px;
}

form .row label {
	width: 175px;
	text-align: right;
}

form .row .checkbox, form .row .radio {
	width: auto;
}

form input, form textarea, form select {
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border: 1px solid #c7c6c6;
	outline: medium none;
	margin: 0;
}

form .row input, form .row textarea {
	width: 300px;
}

form .row textarea {
	height: 75px;
}

form .row #cp {
	width: 50px;
}

form .row input.small {
	width: 150px;
}

form .row input[type=checkbox] {
	width: auto;
}

form input.error {
	border: 1px solid #FCCAC3;
}

form input.error:focus {
	border: 1px solid #EA5338;
	-webkit-box-shadow: 0 1px 2px #EA5338 inset;
	-moz-box-shadow: 0 1px 2px #EA5338 inset;
}

form input[type=checkbox], form input[type=radio] {
	/*	float:left;*/
	border: none;
	background: none;
	margin: 0;
	padding: 0;
	margin-top: 3px;
}

form input[type=checkbox]:focus, form input[type=radio]:focus {
	border: none;
	background: none;
}

form label.checkbox, form label.radio {
	font-weight: normal;
	margin: 0;
	padding: 0 20px 0 6px;
	vertical-align: bottom;
}

form input:focus, form textarea:focus, form select:focus {
	-moz-box-shadow: 0px 0px 3px #d0e1f7;
	border: 1px solid #555555;
}

form optgroup {
	background: #f7f7f7;
}

fieldset {
	margin-bottom: 15px;
}

/* Tables */
table {
	border-collapse: separate;
	border-spacing: 0px;
}

caption, th, td {
	text-align: left;
	font-weight: normal;
}

table, td, th {
	vertical-align: middle;
}

table {
	width: 100%;
	border-collapse: collapse;
}

tr td {
	vertical-align: middle;
}

thead td, thead th {
	font-weight: bold;
	padding: 8px;
}

th, td {
	border-bottom: 1px solid #DEDEDE;
}

tbody th {
	padding: 0 8px;
	text-align: left;
}

/* Dialog Box */
.message {
	font-size: 12px;
	padding: 15px;
	margin-bottom: 10px;
	border: 1px solid #AAAAAA;
}

.message.new {
	background: #feeac9;
	border: 1px solid #d38e49;
}

.message h4 {
	border-bottom: 1px solid #AAAAAA;
	padding-bottom: 5px;
}

small {
	font-size: 10px;
}

/* Login Page */
#login-wrapper {
	margin: 0 auto;
	width: 400px;
	margin-top: 150px;
}

div#login-wrapper div.notification {
	padding: 15px 15px 15px 50px;
}

.box-header.login {
	font-size: 19px;
	padding: 10px 15px;
}

form.login label {
	width: 125px;
}

form.login input {
	width: 200px;
}

#password_dialog table, #password_dialog td {
	border: 0;
}

.hidden {
	position: absolute;
	top: -10000px;
	left: 0;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.right {
	float: right;
}

.left {
	float: left;
}

.justify {
	text-align: justify;
}

.clear {
	clear: both;
}

.clear10 {
	clear: both;
	height: 10px;
}

.clear20 {
	clear: both;
	height: 20px;
}

.clear40 {
	clear: both;
	height: 40px;
}

.pointer {
	cursor: pointer;
}

.center {
	text-align: center;
}

.searchhighlight {
	background-color: #89ff58;
	padding: 3px 0px;
}

div.feedback {
  z-index: 10000;
  text-align: center;
  position: fixed;
  bottom: 0px;
  right: 0px;
  display: none;
  width: 100%;
  margin: 0 auto;
  border-radius: 0; }


  /* notifications */
.notification.narrow.tick {
  background-color: #effeb9;
  border-color: #98c700;
  color: #333333; }

.notification.narrow.lock {
  background-color: #ffeaa7;
  border-color: #f9b418; }

.notification.success {
  background-color: #6ccb63;
  border-color: #98c700; }

.notification.error {
  background-color: #d9534f;
  border-color: #ea5338; }

.notification.warning {
  background-color: #f9b418;
  border-color: #f9b418; }

.notification.info {
  background-color: #d1e4f3;
  border-color: #4d8fcc; }

.notification.tip {
  background-color: #feeac9;
  border-color: #d38e49; }

.notification {
  border-width: 0px;
  border-style: solid;
  padding: 25px;
  border-radius: 0px;
  color: #fff;
  font-size: 1.8em; }

.notification.narrow {
  padding: 5px 5px 5px 35px; }

/* Upload form - import */

#upload_form label {
	width: 250px;
}

#upload_form input[name=csvfile] {
	width: 500px;
	border: 0;
	background: none;
}

#upload_form div.smallinput input[type=text] {
	width: 30px;
	background: none;
}

#upload_form div.smallinput label {
	width: auto;
}

#upload_form div.smallinput {
	margin-bottom: 20px;
}

#import_preview_content .datagrid th {
	font-size: 1.2em;
	background-color: #636363;
	color: #fff;
	text-align: left;
	padding: 5px 10px;
}

#import_preview_content {
	overflow: auto;
	max-height: 640px;
}

#import_preview {
	padding-top: 15px;
}

.errors {
	background-color: #e5afaf;
	color: #bd0000;
	list-style-type: none;
	padding: 0 10px 0 10px;
	margin-top: 5px;
	margin-bottom: 5px;
	border: 1px solid #bd0000;
}

.td_errors {
	color: #bd0000;
	font-weight: bold;
}

.td_errors a {
	color: #bd0000;
	font-weight: bold;
}

p.ok {
    line-height: 1.7;
}

.ok {
	background-color: #6ccb63;
	color: white;
	list-style-type: none;
	padding: 0 10px 0 10px;
	margin-top: 5px;
	margin-bottom: 5px;
	border: 1px solid #dadde2;
}

.warnings {
	background-color: #ff800c;
	color: #fff;
	list-style-type: none;
	padding: 10px;
	margin-top: 5px;
	margin-bottom: 5px;
	border: 1px solid #ff800c;
	font-size: 1.1em;
	border-radius: 5px;
	text-align: center;
}

.warnings i {
	font-size: 2.4em;
}