﻿/***
==== Page Messages ====
***/

.page-messages {
	margin: 1em 0 3em;
	background: #333;
	color: #fff;
	
	padding: 1em;
	
	-moz-border-radius: 2px;
	-moz-box-shadow: 0 1px 0 #999;
	}


/*
Critical
*/

.pagemessage-critical {
	background: #ca121a;
	color: #fff;
	text-shadow: 0 1px 0 rgba(0,0,0,.2);
	}


/*
Watermarks
*/

input.watermark {
	font-style: italic;
	color: #999;
	}


/*
Form
*/

.form {
	margin: 0;
	}

/*
Fieldsets
*/
fieldset {
	width: 390px;
    
	position: relative;
	margin: 0 0 3em;

	-moz-border-radius: 2px;
	-moz-box-shadow:0 1px 0 rgba(0, 0, 0, 0.2), 0 0 1px rgba(0, 0, 0, 0.35);
	background: #E6E6E6;
	
	}
	
fieldset.full {
	width: auto;
	}
	
fieldset legend {
	position: relative;
	}
	
fieldset legend span {
	position: absolute;
	display: block;
	top: -15px;
	left: 30px;
	
	font-size: 1em;
	line-height: 1.25em;
	white-space: nowrap;
	
	padding: 5px 10px;
	
	font-weight: normal;
	color: #fff;
	text-shadow: 0 1px 0 #000;
	
	background: #555;
	
	-moz-border-radius: 2px;
	}
		
		
fieldset .content {
	position: relative;
	padding: 20px 30px 30px;
	}
	
	
/*
Fieldgroup
*/

.field-group
 {
	min-height: 1px;
	margin: 0 -10px 0;
	position: relative;
	clear: both;
	padding: 10px;
	
	-moz-border-radius: 5px;
	}
	
	.field-group:after  {		content: ".";		height: 0;		display: block;		clear: both;		visibility: hidden;		}
	* html .field-group {height: 1px;	}
	

/*
all fields
*/
	
.field label
 {
 	display: block;
	text-align: left;
	color: #333;
	font-weight: normal;
	font-size: .875em;
	
	line-height: 1.25em;
	margin: 0 0 .1em 0;
	}
	
		
	.field label em {
		font-size: .75em;
		color: #777;
		}
		

	
	.field .text,
	.field select,
	.field textarea,
	.field input[type="text"]
	 {
		padding: 5px;
		border: 1px solid #9A9B9D;
		font-size: 1em;
		
		-moz-border-radius: 2px;
		-moz-box-shadow: 0 1px 0 #fff, 0 1px 2px rgba(0,0,0,.1) inset;
		}
		
		
	.field-group.focus label {
		color: #000;
		}

	
/*
Checkboxes
*/	
	
.checkbox label {
	position: relative;
	padding: 0 0 0 20px;
	
	color: #333;
	font-weight: bold;
	font-size: .75em;	
	}
	
	.checkbox .checkbox {
		position: absolute;
		top: 0;
		left: 0;
		}

/*
Radiobutton List
*/
.radio-button-list {
	display:block;
	float: left;
	margin: 5px 0 0;
	}
	
	.radio-button-list td {
		border: none;
		padding: 0 20px 5px 0;
		max-width: 250px;
		line-height: 1.2em;
		}
	
	.radio-button-list label {
		display: inline;
		float: none !important;
		top: -2px !important;
		margin: 0 0 0 5px;
		line-height: 1em;
		}

/*
Button groups
*/		
		
.button-group {
	margin: 1em 0 0;
	}		
		
.button-group .button {
	padding: 5px 10px;
	}

	
/* When a field occurs within a field-group */
.field-group .field {
	float: left;
	margin: 0 1em 0 0;
	position: relative;
	}
	
	
/* field group sizes */
	.field .text,
	.field input[type="text"],
	.field textarea	    {	width: 300px;	} /* Default */
	
	.medium .text,
	.medium input[type="text"]		{	width: 200px;	}
	
	.short .text,
	.short input[type="text"]		{	width: 100px;	}
	
    .tiny .text,
	.tiny input[type="text"]		{	width: 50px;	}	
	
	
/* Errors */

.error-message {
	position: absolute;
	bottom: 0;
	background: #d3222a;
	color: #fff;
	padding: 2px 5px;
	text-shadow: 0 1px 0 rgba(0,0,0,.2);
	font-size: 12px;
	
	-moz-border-radius: 3px;
	-moz-box-shadow: 0 1px 0 rgba(0,0,0,.3);
	}

.field-error {
	padding-bottom: 30px;
	margin-bottom: 20px;
	}

.field-error .text,
.field-error input[type='text'],
.field-error select,
.field-error textarea
 {
	background: #fef7f8;
	border-color: #c82830;
	}
	
	


.form-leftaligned fieldset,
.form-leftaligned
 {
	width: auto;
	}

.form-leftaligned .field label {
	position: relative;
	float: left;
	width: 150px;
	top: 7px;
	padding: 0 20px 0 0;
	}
	
.form-leftaligned .error-message {
	left: 180px;
	}