table, form {
	margin: 0;
	padding: 0;
}

ul, ol {
	margin: 1em 1em 1em 2em;
	padding: 0;
	line-height: 1.5em;
}
li {
	margin: 0.5em;
	padding: 0;
	line-height: 1.5em;
}

big, .big {
	font-size: 150%;
}
small, .small {
	font-size: 75%;
}

th {
	text-align: left;
}

a {
	text-decoration: underline;
	outline: none;
}
a img {
	border: none;
}

a.edit,
a.delete {
	display: block;
	float: left;
	margin: 0 1em 0 0;
	background: no-repeat left center;
	padding: 5px 0.5em 3px 22px;
}
a.edit {
	background-image: url(../images/edit.gif);
}
a.delete {
	background-image: url(../images/delete.gif);
	padding-left: 20px;
	margin-right: 0;
}

.nobr {
	white-space: nowrap;
}

input,
textarea,
button,
.button {
	font-family: Tahoma, sans-serif;
	font-size: 100%;
	text-decoration: none !important;
}

.blur {
	color: #aaa;
}

input.text:focus,
input.int:focus,
textarea:focus {
	background: #fff;
	color: #000;

	border-color: #9c9;
	
	-moz-box-shadow: #aea 0 0 7px;
	-webkit-box-shadow: #aea 0 0 7px;
}
input.text.blur,
textarea.blur {
	color: #ccc;
}

input.text,
input.int,
textarea,
select {
	padding: 0.3em;
	
	/* background: #f7f7f7 url(i/input-text.gif) repeat-x center; */
	color: #333;
	
	border: 1px solid;
	border-color: #aaa #ddd #ddd #aaa;
	
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	-khtml-border-radius: 3px;

	outline: none;
	-moz-box-shadow: none;
	-webkit-box-shadow: none;
}
textarea {
	/* background: #fff url(i/textarea.gif) repeat-x top; */
}
select {
	padding: 0.1em 0.3em;
	padding-right: 0.1em;
}
select option {
	margin: 0.3em;
}

input.text.readonly,
input.int.readonly,
textarea.readonly {
	background: #f0f0f0;
	
	border-color: #aaa #ddd #ddd #aaa;
	
	-moz-box-shadow: none;
	-webkit-box-shadow: none;
}

input.text.readonly:focus,
input.int.readonly:focus,
textarea.readonly:focus {
}

input.text[disabled],
input.int[disabled],
textarea[disabled] {
	background-color: #eee;
	color: #999;
}

.button {
	margin: 0 0.25em 0 0;
	padding: 0.3em 0.7em;
	//padding: 0;

	font-size: 100%;
	color: #333 !important;
	background: #e0e0e0 url(i/button.gif) repeat-x center -7px;
	border: 1px solid #999;
	
	line-height: 1.4em;
	vertical-align: middle;
	text-decoration: none;
	cursor: pointer;

	-moz-border-radius: 1em;
	-webkit-border-radius: 1em;
	-khtml-border-radius: 1em;
	-moz-box-shadow: rgba(0,0,0,0.2) 1px 2px 4px;
	-webkit-box-shadow: rgba(0,0,0,0.2) 1px 2px 4px;
	-khtml-box-shadow: rgba(0,0,0,0.2) 1px 2px 4px;
}
.button.big {
	font-size: 125%;
	padding: 0.2em 0.7em 0.3em;
	//padding: 0;
}
.button.small {
	padding: 0.1em 0.4em;
	//padding: 0;
	-moz-border-radius: 0.8em;
	-webkit-border-radius: 0.8em;
	-khtml-border-radius: 0.8em;
}
.button:hover {
	color: #000;
	border-color: #777;
	background: #eee url(i/button.gif) repeat-x center -4px;
}
.button:active {
	border-color: #555; 
	background: #ddd url(i/button.gif) repeat-x center -11px;
	-moz-box-shadow: rgba(0,0,0,0.2) 1px 1px 2px;
	-webkit-box-shadow: rgba(0,0,0,0.2) 1px 1px 2px;
	-khtml-box-shadow: rgba(0,0,0,0.2) 1px 1px 2px;
}
.button.disabled,
.button[disabled] {
	color: #ccc;
	background: #f0f0f0;
	border-color: #ccc;
	cursor: default;
	-moz-box-shadow: none;
	-webkit-box-shadow: none;
	-khtml-box-shadow: none;
}

.button.update,
.button.save {
	color: #090 !important;
}
.button.cancel {
	color: #777 !important;
}
.button.cancel:hover {
	color: #555 !important;
}
.button.delete {
	color: #900 !important;
}
.button.delete:hover {
	color: #c00 !important;
}

table.form {
	margin: 0 0 1em;
}
table.form td,
table.form th {
	padding: 7px;
	padding-right: 15px;
}
table.form th {
	font-weight: normal;
	text-align: left;
	vertical-align: top;
	padding-top: 11px;
}
table.form input.text,
table.form textarea {
	width: 95%;
}

input.text.short,
table.form input.text.short {
	width: 12em;
}

input.int {
	width: 5em;
}
input.int.short {
	width: 2.5em;
}

input.currency,
table.form input.currency {
	width: 7em;
}

a.icon {
	display: block;
	float: left;
	min-height: 20px;
	padding-left: 27px;
	background: no-repeat left center;
	padding-top: 4px;
	margin-right: 1em;
	margin-bottom: 0.5em;
}
a.icon.image {
	background-image: url(i/image-icon.png);
}

.clear {
	clear: both;
}
.clear.left {
	clear: left;
}
.clear.right {
	clear: right;
}

.pageProperties .button {
	display: block;
	text-indent: -999em;
	width: 18px;
	height: 26px;
	background-image: url(i/page_properties-icon.png);
	background-repeat: no-repeat;
	background-position: center;
}

fieldset {
	float: left;
	margin: 0;
	padding: 0;
	cursor: default;
	border: 1px solid #ddd;
	-moz-border-radius: 1em;
	-webkit-border-radius: 1em;
	-khtml-border-radius: 1em;
}
fieldset legend {
	margin: 0 1.2em 0 0.9em;
	font-size: 133%;
	font-weight: normal;
	color: #39b54a;
}
.fieldset-inside {
	padding: 0.5em;
}

.currency {
	font-size: 100%;
	color: #40b340;
}
.currency .before {
	margin-right: 0.15em;
	vertical-align: top;
	position: relative;
	top: 0.25em;
	cursor: default;
}
.currency strong {
	font-size: 133%;
	font-family: Tahoma, sans-serif;
	color: #090;
	word-spacing: -0.1em;
	cursor: text;
}
.currency .after {
	margin-left: 0.25em;
	cursor: default;
}
