
/************** Forms & pseudo-form **************/
.form fieldset,
.fieldset {
	border: 1px solid #d9d9d9;
	padding: 1em 1.667em 1.667em 1.667em;
	-moz-border-radius: 0.25em;
	-webkit-border-radius: 0.25em;
	-webkit-background-clip: padding-box;
	border-radius: 0.25em;
	margin-bottom: 1.667em;
	}
	/* IE class */
	.ie7 .content .form fieldset.no-margin,
	.ie7 .form.content fieldset.no-margin,
	.ie7 .form .content fieldset.no-margin {
		display: block;
		width: 100%;
	}
	.fieldset {
		position: relative;
		z-index: 89;
		padding-top: 1.667em;
	}
	.with-legend {
		margin-top: 1em;
	}
	/* IE class */
	.ie .form fieldset {
		padding-top: 0;
	}
	.form legend,
	.legend {
		margin-left: -0.833em;
		}
		.legend {
			position: absolute;
			left: 1.667em;
			top: -1.083em;
		}
		/* IE class */
		.ie .form legend {
			margin-bottom: 1em;
			margin-top: -1em;
			}
			.ie .form .fieldset-with-legend {
				margin-top: 2em;
			}
			.ie .form .fieldset-with-legend-first-child {
				margin-top: 1em;
			}
		.form legend a,
		.legend a {
			display: block;
			margin: -0.25em -0.333em -0.333em -0.5em;
			padding: 0.25em 20px 0.333em 0.5em;
			color: #666;
			background: url(../images/icons/fugue/chevron-off.png) no-repeat right 60%;
			}
			.form legend a:hover,
			.legend a:hover {
				color: #3399cc;
				background-image: url(../images/icons/fugue/chevron.png);
			}
	
	.form fieldset.collapsed,
	.fieldset.collapsed {
		border: none;
		padding: 0;
		background: none;
		}
		.form fieldset.no-margin.collapsed,
		.fieldset.no-margin.collapsed {
			padding-left: 1.667em;
		}
		.form fieldset.no-margin.collapsed:last-child,
		.fieldset.no-margin.collapsed:last-child {
			padding-bottom: 1.667em;
		}
		/* IE class */
		.form fieldset.no-margin.collapsed.last-child,
		.fieldset.no-margin.collapsed.last-child {
			padding-bottom: 0.667em;
		}
		.form fieldset.collapsed > *,
		.fieldset.collapsed > * {
			display: none;
			}
			.form fieldset.collapsed legend,
			.fieldset.collapsed .legend {
				display: block;
				margin-left: 0;
				}
				.ie7 .form fieldset.collapsed legend,
				.ie7 .fieldset.collapsed .legend {
					display: inline-block;
				}
				.form fieldset.collapsed legend a,
				.fieldset.collapsed .legend a {
					background-image: url(../images/icons/fugue/chevron-expand-off.png);
					}
					.form fieldset.collapsed legend a:hover,
					.fieldset.collapsed .legend a:hover {
						background-image: url(../images/icons/fugue/chevron-expand.png);
					}
		
		fieldset legend .show-expanded, .fieldset .legend .show-expanded { display: inline; }
		fieldset legend .show-collapsed, .fieldset .legend .show-collapsed { display: none; }
		fieldset.collapsed legend .show-expanded, .fieldset.collapsed .legend .show-expanded { display: none; }
		fieldset.collapsed legend .show-collapsed, .fieldset.collapsed .legend .show-collapsed { display: inline; }
	
	.content .form fieldset.no-margin,
	.content.form fieldset.no-margin,
	.form .content fieldset.no-margin,
	.content .fieldset.no-margin {
		border-color: #999999;
		border-width: 1px 0 1px 0;
		-moz-border-radius: 0;
		-webkit-border-radius: 0;
		-webkit-background-clip: padding-box;
		border-radius: 0;
		}
		.form fieldset.no-margin legend,
		.fieldset.no-margin .legend {
			margin-left: 0;
		}
		/* IE class */
		.ie7 .form fieldset.no-margin legend {
			margin-left: -0.667em;
		}
	
	.form fieldset:last-child,
	.fieldset:last-child {
		margin-bottom: 0;
	}
	/* IE class */
	.form fieldset.last-child,
	.fieldset.last-child {
		margin-bottom: 0;
	}
	.content .form fieldset.no-margin:last-child,
	.content.form fieldset.no-margin:last-child,
	.form .content fieldset.no-margin:last-child,
	section .fieldset.no-margin:last-child {
		border-bottom: 0;
		-moz-border-radius: 0 0 0.167em 0.167em;
		-webkit-border-bottom-left-radius: 0.167em;
		-webkit-border-bottom-right-radius: 0.167em;
		border-radius: 0 0 0.167em 0.167em;
	}
	/* IE class */
	.content .form fieldset.no-margin.last-child,
	.content.form fieldset.no-margin.last-child,
	.form .content fieldset.no-margin.last-child,
	.fieldset.no-margin.last-child {
		border-bottom: 0;
	}
	
	.form label,
	.form .label {
		color: #000000;
		font-weight: bold; 
		display: block;
		line-height: 26px;
		}
		.form label.light,
		.form .label.light {
			font-weight: normal;
			color: #777;
		}
		.form label.inline,
		.form .label.inline {
			display: inline;
			float: none;
			margin: 0;
			font-weight: normal;
		}
		.form .required label,
		.form .required .label,
		.form label.required,
		.form .label.required,
		.form label.inline.required,
		.form .label.inline.required {
			color: black;
		}
		.form .required label:before,
		.form .required .label:before,
		.form label.required:before,
		.form .label.required:before {
			color: red;
			/*content: "* ";*/
		}
		/** IE class **/
		.form .required-label-before {
			color: red;
		}
	
	p.inline-label,
	.inline-label p {
		padding-left: 20em;
	}
	p.inline-mini-label,
	.inline-mini-label p {
		padding-left: 5em;
	}
	p.inline-small-label,
	.inline-small-label p {
		padding-left: 11em;
	}
	p.inline-medium-label,
	.inline-medium-label p {
		padding-left: 15em;
		}
		.inline-label label,
		.inline-label .label,
		.inline-mini-label label,
		.inline-mini-label .label,
		.inline-small-label label,
		.inline-small-label .label,
		.inline-medium-label label,
		.inline-medium-label .label {
			display: block;
			float: left;
			color: #333333;
			padding: 0.667em 0 0.583em;
			}
			.inline-label label,
			.inline-label .label {
				width: 19em;
				margin-left: -20em;
			}
			.inline-mini-label label,
			.inline-mini-label .label {
				width: 4em;
				margin-left: -5em;
			}
			.inline-small-label label,
			.inline-small-label .label {
				width: 10em;
				margin-left: -11em;
			}
			.inline-medium-label label,
			.inline-medium-label .label {
				width: 14em;
				margin-left: -15em;
			}
	
	/** IE class **/
	.form input[type=text],
	.form input[type=password],
	.form .input-type-text {
		font-size: 1em;
		line-height: 1em;
		color: #333333;
		padding: 3px;
		border: 1px solid #89bad3;
		background-color:#fff;
		/*background: white url(../images/old-browsers-bg/input-bg.png) repeat-x top;
		background: -moz-linear-gradient(
			top,
			#d4d4d4,
			#ebebeb 3px,
			white 27px
		), white;
		background: -webkit-gradient(
			linear,
			left 0px, left 27px,
			from(#d4d4d4),
			to(white),
			color-stop(0.12, #ebebeb)
		), white;
		-moz-border-radius: 0.417em;
		-webkit-border-radius: 0.417em;
		-webkit-background-clip: padding-box;
		border-radius: 0.417em;*/
	}
		.form input[type=text],
		.form input[type=password] {
			padding-bottom: 3px;
		}
		.form input[type=text]:focus,
		.form input[type=password]:focus,
		.form .input-type-text:focus,
		.form select:focus,
		.form textarea:focus {
			border-color: #3399cc;
		}
		/** IE selector **/
		.form .input-focus {
			border-color: #3399cc;
		}
		.form span.input-type-text {
			display: inline-block;
		}
		/** IE class **/
		.ie7 .form p.input-type-text {
			display: inline-block;
		}
		.form .input-type-text input[type=text],
		.form .input-type-text input[type=password] {
			padding: 3px;
			border: none;
			background-color: #fff;
			margin: 0 0 1px 0;
		}
		/** IE class **/
		.ie7 .form .input-type-text input[type=text] {
			float: left;
		}
		.form .input-type-text img {
			margin: 0 0 -3px 0.2em;
		}
	
	.form select,
	.form textarea {
		color: #333333;
		font-size: 1em;
		padding: 3px;
		border: 1px solid #89bad3;
		background-color:#fff;
	}
		.form select {
			font-size: 1.083em;
			padding: 3px;
		}
	
	.form input[type=text].small,
	.form input[type=password].small,
	.form select.small,
	.form textarea.small {
		font-size: 1em;
		padding: 0.167em;
		-moz-border-radius: 0.25em;
		-webkit-border-radius: 0.25em;
		-webkit-background-clip: padding-box;
		border-radius: 0.25em;
		}
		.form input[type=text].small,
		.form input[type=password].small {
			padding: 0.25em;
		}
	.form input[type=text].smaller,
	.form input[type=password].smaller,
	.form select.smaller,
	.form textarea.smaller {
		font-size: 1em;
		padding: 0;
		-moz-border-radius: 0;
		-webkit-border-radius: 0;
		-webkit-background-clip: padding-box;
		border-radius: 0;
	}
	.form input[type=text].big,
	.form input[type=password].big,
	.form select.big,
	.form textarea.big {
		font-size: 1.5em;
	}
	.form input[type=text].bigger,
	.form input[type=password].bigger,
	.form select.bigger,
	.form textarea.bigger {
		font-size: 2.5em;
	}
	
	.form input[type=radio],
	.form input[type=checkbox] {
		vertical-align: -9%;
		margin: 0;
		padding: 0;
		}
		/** IE class **/
		.form .input-type-check {
			vertical-align: -7%;
		}
		.form input[type=radio] + label,
		.form input[type=checkbox] + label {
			color: #333333;
			font-weight: normal;
			display: inline;
			margin-bottom: 0;
			padding-right: 0.5em;
		}
		/** IE class **/
		.form .input-type-check-label {
			color: #333333;
			font-weight: normal;
			display: inline;
			margin-bottom: 0;
			padding-right: 0.5em;
		}
		.form input[type=radio] + label:last-child,
		.form input[type=checkbox] + label:last-child {
			padding-right: 0;
		}
		/** IE class **/
		.form .input-type-check-label-last-child {
			padding-right: 0;
		}
	
	.checkable-list {
		padding-top: 0.333em;
		line-height: 1.25em;
		}
		.checkable-list li {
			padding: 0 0 0.75em 1.25em;
			}
			.checkable-list li:last-child {
				padding-bottom: 0;
			}
			/** IE class **/
			.checkable-list li.last-child {
				padding-bottom: 0;
			}
			.checkable-list li input[type=radio],
			.checkable-list li input[type=checkbox] {
				float: left;
				vertical-align: baseline;
				margin: 1px 0 0 -1.167em;
			}
			/** IE class **/
			.ie .checkable-list li input[type=radio],
			.ie .checkable-list li input[type=checkbox] {
				margin: -3px 0 0 -1.25em;
			}
			.checkable-list li .input-type-radio,
			.checkable-list li .input-type-checkbox {
				float: left;
				margin: -3px 0 0 -1.25em;
			}
	
	.full-width {
		-moz-box-sizing: border-box;
		-ms-box-sizing: border-box;
		-webkit-box-sizing: border-box;
		box-sizing: border-box;
		width: 100%;
		}
		.ie7 .full-width {
			width: 93%;
		}
		.ie7 select.full-width {
			width: 100%;
		}
	.input-with-button input[type=text] {
		width: 65%;
		margin-right: 3%;
	}
	/** IE class **/
	.input-with-button .input-type-text {
		width: 65%;
		margin-right: 3%;
	}
	.input-with-button select {
		width: 70%;
		margin-right: 3%;
	}
	.input-with-button button {
		width: 25%;
	}
	
	.input-height {
		display: block;
		line-height: 1em;
		padding: 0.583em 0 0.75em;
		border: 1px solid transparent;
		}
		.input-height.grey-bg {
			background: #cccccc;
			border: 1px solid #cccccc;
			-moz-border-radius: 0.25em;
			-webkit-border-radius: 0.25em;
			-webkit-background-clip: padding-box;
			border-radius: 0.25em;
			padding-left: 0.75em;
			padding-right: 0.75em;
		}
		p.input-height,
		p.input-height.grey-bg {
			line-height: 1.25em;
			padding-top: 0.5em;
			padding-bottom: 0.583em;
		}
	
	.one-line-input {
		text-align: right;
		}
		.one-line-input label {
			float: left;
			margin: 0.2em 0 0 0;
		}
	
	.form input[type=text].error,
	.form input[type=password].error,
	.form .input-type-text.error {
		border-color: #CC0000;
	}
	
	.check-ok,
	.check-error,
	.check-warning {
		display: block;
		position: absolute;
		z-index: 89;
		width: 16px;
		height: 16px;
		right: -8px;
		top: -8px;
		}
		.check-ok { background: url(../images/icons/fugue/tick-circle-blue.png) no-repeat; }
		.check-error { background: url(../images/icons/fugue/cross-circle.png) no-repeat; }
		.check-warning { background: url(../images/icons/fugue/exclamation-diamond.png) no-repeat; }
		
		span.relative > input + .check-ok,
		span.relative > select + .check-ok,
		span.relative > input + .check-error,
		span.relative > select + .check-error,
		span.relative > input + .check-warning,
		span.relative > select + .check-warning {
			margin-top: -0.667em;
			right: -4px;
			}
			p span.relative > input + .check-ok,
			p span.relative > select + .check-ok,
			p span.relative > input + .check-error,
			p span.relative > select + .check-error,
			p span.relative > input + .check-warning,
			p span.relative > select + .check-warning {
				margin-top: -0.583em;
			}
/* my styles */
form .row{
	clear:both;
	}
form .row label{
	width: 50%;
	float: left;
}
form .radio-buttons{
width: 50%;
	float: left;
}
form .radio-buttons label{
	width: auto !important;
	float: none !important;
}
form .row input[type="text"],form .row input[type="password"]{
	width: 45%;
	}
form .row textarea{
	width: 45%;
	}
form .row .errorMessage{
	padding-left: 50%;
}
form .buttons input[type="submit"]{
	color: #666666;
	width: 150px;
	cursor: pointer;
	display: inline-block;
		background: #dfdfdf url(../images/old-browsers-bg/button-bg.png) repeat-x top;
		-webkit-background-size: 100% 100%;
		-moz-background-size: 100% 100%;
		-o-background-size: 100% 100%;
		background-size: 100% 100%;
		background: -moz-linear-gradient(
			top,
			#f6f6f6,
			#dfdfdf
		);
		background: -webkit-gradient(
			linear,
			left top, left bottom,
			from(#f6f6f6),
			to(#dfdfdf)
		);
		 border: 1px solid white;
    border-radius: 0.417em 0.417em 0.417em 0.417em;
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.5);
    font-weight: normal;
    line-height: 1.53em;
    outline: 0 none;
    padding: 0.167em 0.5em 0.25em;
    text-decoration: none;
    text-shadow: none;
	}
form .buttons input[type="submit"].delete {
	border:1px solid red;
	color:red;
}
form .buttonwide input[type="submit"]{
	color: #666666;
	width: 220px;
	cursor: pointer;
	display: inline-block;
		background: #dfdfdf url(../images/old-browsers-bg/button-bg.png) repeat-x top;
		-webkit-background-size: 100% 100%;
		-moz-background-size: 100% 100%;
		-o-background-size: 100% 100%;
		background-size: 100% 100%;
		background: -moz-linear-gradient(
			top,
			#f6f6f6,
			#dfdfdf
		);
		background: -webkit-gradient(
			linear,
			left top, left bottom,
			from(#f6f6f6),
			to(#dfdfdf)
		);
		 border: 1px solid white;
    border-radius: 0.417em 0.417em 0.417em 0.417em;
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.5);
    font-weight: normal;
    line-height: 1.53em;
    outline: 0 none;
    padding: 0.167em 0.5em 0.25em;
    text-decoration: none;
    text-shadow: none;
	}
	
/* FORMS */
.form-container { width:98%;float:down;padding:7px 1%; margin:10px 0;}
.form-container-left { width:45%;float:left;padding:0; }
.form-container-right { width:45%;float:right;padding:0; }

.form-container fieldset {
	padding:20px 7px;
	margin-top:36px;
    box-shadow: 0 1px 1px rgba(255, 255, 255, 0.2) inset, 1px 1px 1px rgba(0, 0, 0, 0.6);
	background-color: #f8f8f8;
}
.form-container legend { font-size: 20px; line-height:20px; font-weight: bold; color:#0C5FA5; margin-top:-25px; margin-left:-5px; padding:3px;}
.form-container-left legend, .form-container-right legend { font-size: 18px; font-weight: bold; color: #0C5FA5; margin-left: 5px; }

.form-container .alert ul {margin-left:15px;}
.form-container .alert li {list-style:disc;}
.form-container .alert {line-height:18px;}

.form-container .button-toolbar { margin-top:-5px; margin-bottom:3px;}
.form-container .button-toolbar a.btn {padding:2px !important;}
/*
.form-container a.btn, input.btn {
    -moz-border-bottom-colors: none;
    -moz-border-image: none;
    -moz-border-left-colors: none;
    -moz-border-right-colors: none;
    -moz-border-top-colors: none;
    background-color: #F5F5F5;
    background-image: -moz-linear-gradient(center top , #FFFFFF, #E6E6E6);
    background-repeat: repeat-x;
    border-color: #E6E6E6 #E6E6E6 #B3B3B3;
    border-radius: 4px 4px 4px 4px;
    border-style: solid;
    border-width: 1px;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.2) inset, 0 1px 2px rgba(0, 0, 0, 0.05);
    color: #333333;
    cursor: pointer;
    display: inline-block;
    font-size: 13px;
    line-height: 18px;
    margin-bottom: 0;
    padding: 2px;
    text-align: center;
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75);
    vertical-align: middle;
}
.form-container a.small-btn, input.small-btn { padding:2px; }
*/
.oneLineRadioGroup { padding-left:1em; }
.oneLineRadioGroup label, .oneLineRadioGroup input{ display:inline; }

/*.form-container legend {
	color: #eee;
	background: #e7e7e7 url(../images/old-browsers-bg/legend-bg.png) repeat-x top;
	-webkit-background-size: 100% 100%;
	-moz-background-size: 100% 100%;
	-o-background-size: 100% 100%;
	background-size: 100% 100%;
	background: #156A9D !important;
	background: -moz-linear-gradient( top, #156A9D,  #02416D );
	background: -webkit-gradient( linear, left top, left bottom, from(#f8f8f8), to(#e7e7e7) );
}	
.form-container legend {
    border: 1px solid #2E6674;
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.5);
    box-shadow: none;
	border:none;
    border-radius: 0;
    outline: 0 none;
    padding: 0.167em 0.5em 0.25em;
    text-decoration: none;
    text-shadow: none;
}
	*/
.attendance td {padding:0 !important;}
.attendance th span.current {
	color:#ee2222;
}
.attendance input[type=text] {
	border:none;
	width:21px;
	margin:0 !important;
	text-align:center;
	background:transparent;
}
.attendance th.current {
	background:#0988DE; color:white; border:1px solid black;
}
.attendance td.inactive {background:#ddd; border:1px solid black;}
td.nochoffen {
	width:100px;
}
td.nochoffen input[type=text] {width:100px;}
div.compact-radio input[type=radio] + label, div.compact-radio input[type=checkbox] + label {display:inline !important;float:none !important;width:auto;}
input[type="file"]:focus,
input[type="radio"]:focus,
input[type="checkbox"]:focus
{
  outline: thin dotted #333;
  outline: 5px auto -webkit-focus-ring-color;
  outline-offset: -2px;
}
.ui-dialog-content div {height:100%;}

input[type=text].invisible {border:none !important; background:transparent !important;}
input[type=text].strong {font-weight:bold;}

.form {line-height:16px;}
