﻿
fieldset {
	display: block;
	float: left;
	width: 100%;
	font-size: 14px;
	line-height: 20px;
	margin: 20px 0 20px 0;
	border: none;
	/* border-bottom: dotted 1px #bcbcbc; */
	padding: 0;
}

	fieldset legend {
		padding: 0;
		line-height: 1.6em;
		text-align: left;
		/* padding: 10px 0; */
		margin: 0;
		/* letter-spacing:-1px; */
		text-transform: uppercase;
		font-size: 1.4em;
		color: #4d4d4d;
		font-family: Segoe UI, Arial, Sans-Serif;
		margin: 1em 0 0.5em 0;
	}


label.overlabel-apply {
	position: absolute;
	top: 1px;
	left: 3px;
	z-index: 1;
	color: #999;
	float: left;
	padding: 2px 0 0 4px;
}


.field, .infofield {
	display: block;
	float: left;
	clear: left;
	border: none;
	margin: 0 0 0 0;
	padding: 0 0 12px 0;
	width: 100%;
	position: relative;
}

	.infofield, .field.buttons {
		padding: 14px 0 14px 0;
	}

	.field.firstname {
		width: 37%;
		clear: left;
	}

	.field.lastname {
		width: 60%;
		clear: right;
		margin-left: 3%;
	}

fieldset h1 {
	font-size: 2.5em;
}

.infofield p {
	width: 100%;
	margin: 0px 0 0px 0;
	padding: 0;
}
/* ############### Common form styles ############### */

.field label, .field label.description {
	display: block;
	float: none;
	clear: none;
	text-align: left; /* right text alignment reduces cognitive work load */
	font-size: 14px;
	line-height: 18px;
	width: 100%;
	padding: 8px 0px 5px 0px;
	margin: 0px 0 0px 0;
}

	/* Placing a label right over its input field permitted users to capture both elements with a single eye movement. */
	.field label.toplabel {
		clear: both;
	}

	.field label.two-liner {
		padding: 0;
		line-height: 16px;
	}

	.field label.checkboxlabel {
		display: inline;
		font-weight: normal;

	}

input[type=text]:focus, input[type=password]:focus, input[type=email]:focus, input[type=url]:focus, input[type=tel]:focus, textarea:focus, select:focus {
	background-color: #f1fbff;
}

input[type=text], input[type=password], input[type=search], input[type=email], input[type=url], input[type=tel], textarea, select {
	display: block;
	float: left;
	width: 100%;
	padding: 10px;
	line-height: 18px;
	background-color: #FFF;
	border: 1px solid #DBDBDB;
	/* border: 1px dashed #e1e1e1; */
	border-radius: 4px; /* CSS3 */
	-moz-border-radius: 4px; /* for Firefox */
	-webkit-border-radius: 4px; /* for Safari */
	box-shadow: 1px 1px 3px #eceeef; /* CSS3 */
	-moz-box-shadow: 1px 1px 3px #eceeef; /* for Firefox */
	-webkit-box-shadow: 1px 1px 3px #eceeef; /* for Safari */
}

input[type=text], input[type=password], input[type=email], input[type=url], input[type=tel], textarea {
	border-right: 6px solid #DBDBDB;
}

select {
	line-height: 1.3em;
}

textarea {
	height: auto;
	line-height: 1.3em;
}

input[type=text].subject {
	width: 375px;
}

input[type=text].date-month {
	width: 30px;
	/* color: #bbb; */
}

input[type=text].date-year, .field input[type=text].clock {
	width: 50px;
	/* color: #bbb; */
}

input[type=text].date {
	width: 85px;
	/* color: #bbb; */
}



/* ############### Checkbox & Radiobuttons ############### */
ul.rbl, ul.cbl {
	display: block;
	float: left;
	clear: left;
}

	ul.rbl, ul.rbl li, span.rb, ul.cbl, ul.cbl li, span.cb {
		line-height: 16px;
		font-size: 12px;
		padding: 8px 0;
	}

		ul.rbl li, ul.cbl li {
			padding: 3px 0;
		}

			ul.rbl li input[type=radio], span.rb input[type=radio] {
				vertical-align: top;
				margin-right: 5px;
			}

			ul.cbl li input[type=checkbox], span.cb input[type=checkbox] {
				vertical-align: top;
				margin-right: 5px;
			}

			ul.rbl li label, ul.cbl li label, span.rb label, span.cb label {
				line-height: inherit;
				vertical-align: top;
				font-size: 12px;
				font-weight: normal;
			}

/*width: 24%;
    padding: 7px 0px 7px 0px;
    margin: 0px 1% 0px 0;*/


/* ############### Checkbox & Radiobuttons ############### */ /*update:20130109 sks*/

.field.cbl ul.cbl, .field.cbl ul.cbl li,
.field.rbl ul.rbl, .field.rbl ul.rbl li {
	list-style: none;
	float: left;
	display: block;
	clear: none;
	width: 48%;
	margin: 0;
	padding: 1px 0px;
}

	.field.cbl ul.cbl li,
	.field.rbl ul.rbl li {
		width: 100%;
		padding: 1px 0px;
	}

		.field.cbl ul.cbl li .additionalField,
		.field.rbl ul.rbl li .additionalField {
			width: 97%;
			padding: 4px 0px;
			margin: 0 0 0 3%;
			float: left;
			clear: both;
		}

		.field.cbl ul.cbl li input[type=checkbox], .field.cbl ul.cbl li label,
		.field.rbl ul.rbl li input[type=radio], .field.rbl ul.rbl li label {
			float: left;
			display: inline;
			clear: none;
			padding: 0;
			margin: 0;
		}

		.field.cbl ul.cbl li input[type=checkbox],
		.field.rbl ul.rbl li input[type=radio] {
			margin: 5px 0;
		}

		.field.cbl ul.cbl li label,
		.field.rbl ul.rbl li label {
			width: 90%;
			margin-left: 1%;
			letter-spacing: 0;
			text-align: left;
			padding: 5px 0;
		}

			.field.cbl ul.cbl li label:hover,
			.field.rbl ul.cbl li label:hover {
				background-color: rgba(230,230,230,0.4);
				cursor: pointer;
			}





/* ############### Buttons ############### */

input[type=submit] {
	font-size: 16px;
	/* margin: 0;*/
	letter-spacing: 1px;
	font-weight: bold;
	border-radius: 4px; /* CSS3 */
	-moz-border-radius: 4px; /* for Firefox */
	-webkit-border-radius: 4px; /* for Safari */
	cursor: pointer;
	padding: 12px 18px;
	display: block;
	background-color: #0081d5;
	color: #FFF;
	border: 1px solid #0b90c2;
}

	input[type=submit]:hover {
		background-color: #2899e7;
		/* text-decoration: underline; */
		color: #FFF;
	}

	input[type=submit].red {
		background-color: #d33516;
		border: 1px solid #b10000;
	}

		input[type=submit].red:hover {
			background-color: #e04f32;
		}

	input[type=submit].green, input[type=submit].submitHpForm {
		background-color: #75cc3a;
		border: 1px solid #4cb406;
	}

		input[type=submit].green:hover, input[type=submit].submitHpForm:hover {
			background-color: #4cb406;
			border: 1px solid #4cb406;
		}

	input[type=submit].blue {
		float: right;
		background-color: #6fcef2;
		background-color: #0081d5;
		color: #FFF;
		text-shadow: 1px 1px #0b90c2;
		border-color: #0b90c2;
		background: -moz-linear-gradient(top, #51c1eb, #6fcef2);
		background: -webkit-gradient(linear, left top, left bottom, from(#189aef), to(#0081d5));
		-moz-box-shadow: inset 0px 0px 3px #0073be; /* for Firefox */
		-webkit-box-shadow: inset 0px 0px 3px #0073be; /* for Safari */
		box-shadow: inset 0px 0px 3px #0073be; /* CSS3 */
	}

		input[type=submit].blue:hover {
			background: -moz-linear-gradient(top, #4daff3, #2899e7);
			background: -webkit-gradient(linear, left top, left bottom, from(#4daff3), to(#2899e7));
			-moz-box-shadow: inset 0px 0px 3px #168ada; /* for Firefox */
			-webkit-box-shadow: inset 0px 0px 3px #168ada; /* for Safari */
			box-shadow: inset 0px 0px 3px #168ada; /* CSS3 */
		}

.field.buttons input[type=submit] {
	width: 100%;
	padding: 16px 0;
	text-transform: uppercase;
}



a.btn {
	display: block;
	float: left;
	/* height: 36px; */
	line-height: 18px;
	padding: 8px 18px;
	display: block;
	float: left;
	background-color: #0081d5;
	color: #FFF;
	border: 1px solid #0b90c2;
	text-decoration: none;
	font-weight: bold;
	border-radius: 4px; /* CSS3 */
	-moz-border-radius: 4px; /* for Firefox */
	-webkit-border-radius: 4px; /* for Safari */
}

	a.btn:focus,
	a.btn:hover,
	a.btn:active {
		background-color: #2b9ae2;
		border-color: #0081d5;
		text-decoration: underline;
	}

	a.btn.cancel {
		color: #777;
		border-color: #AAA;
		background-color: #eee;
		background: -moz-linear-gradient(top, #f0f0f0, #eee);
		background: -webkit-gradient(linear, left top, left bottom, from(#f0f0f0), to(#eee));
		-moz-box-shadow: inset 0px 0px 3px #bbb; /* for Firefox */
		-webkit-box-shadow: inset 0px 0px 3px #bbb; /* for Safari */
		box-shadow: inset 0px 0px 3px #bbb; /* CSS3 */
		font-size: 12px;
	}

		a.btn.cancel:focus,
		a.btn.cancel:hover,
		a.btn.cancel:active {
			background-color: #f0f0f0;
			background: -moz-linear-gradient(top, #fff, #f0f0f0);
			background: -webkit-gradient(linear, left top, left bottom, from(#fff), to(#f0f0f0));
			text-decoration: none;
		}

	a.btn.back {
		color: #777;
		border-color: #FFF;
		background: #FFF;
		-moz-box-shadow: none; /* for Firefox */
		-webkit-box-shadow: none; /* for Safari */
		box-shadow: none; /* CSS3 */
		font-size: 12px;
	}

		a.btn.back:focus,
		a.btn.back:hover,
		a.btn.back:active {
			border-color: #AAA;
			background-color: #f0f0f0;
			background: -moz-linear-gradient(top, #fff, #f0f0f0);
			background: -webkit-gradient(linear, left top, left bottom, from(#fff), to(#f0f0f0));
			text-decoration: none;
			color: #0081d5;
		}

input.error, input:required, input.required,
textarea.error, textarea:required, textarea.required {
	border-right-color: #e77776;
}

input.input-validation-error {
	border-color: #e77776;
	background-color: rgba(231, 119, 118, 0.2);
}

input[type="checkbox"].input-validation-error {
	outline: 1px solid #e77776;
}

input.valid, input.passed, input.required.valid,
textarea.valid, textarea.passed, textarea.required.valid {
	border-right-color: #71c91b;
}

label.error, label.valid, .field-validation-error {
	background-color: #FF4E4E;
	border: 1px solid #d33516;
	font-weight: bold;
	color: #fff;
	width: auto;
	margin: 0px 3px 0px 25%;
	line-height: 14px;
	font-size: 11px;
	text-align: left;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	border-radius: 4px;
	clear: none;
	padding: 5px 8px;
	/*width: 100px;
    margin: 31px -115px 0 0 ;*/
	margin: 72px 0 0 0;
}

.field label.error, .field .field-validation-error {
	position: absolute;
	top: 0;
	right: 0;
	z-index: 13;
	margin-right: -107px;
}


.field-validation-error {
	position: relative;
	background: #FF4E4C;
	border: 1px solid #D33516;
	font-family: Arial, sans-serif;
}

	.field-validation-error:after, .field-validation-error:before {
		bottom: 100%;
		left: 15px;
		border: solid transparent;
		content: " ";
		height: 0;
		width: 0;
		position: absolute;
		pointer-events: none;
	}

	.field-validation-error:after {
		border-color: rgba(255, 78, 76, 0);
		border-bottom-color: #FF4E4C;
		border-width: 5px;
		margin-left: -5px;
	}

	.field-validation-error:before {
		border-color: rgba(211, 53, 22, 0);
		border-bottom-color: #D33516;
		border-width: 6px;
		margin-left: -6px;
	}


	.field-validation-error.checkboxvalidation {
		margin-top: 30px;
		right: unset;
	}

	.field-validation-valid.checkboxvalidation {
		display: none;
	}

/*.field .field-validation-error {
    position: absolute ;
    top: 66px;
    width: 92%;
    height: auto;
    left: 0;
    z-index: 13;
    margin-top: 0;
    margin-right: 0;
    padding: 3px 3%;
}
.field .field-validation-error {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 13;
    margin-left: -140px;
    width: 130px;
}*/



fieldset div span.error {
	color: #e46c6e;
}

.field input[disabled=disabled] {
	/* border: 1px dashed #dbdbdb; */
	border-color: #EEE;
}




span.summary-label {
	display: table;
	color: Black;
	font-size: 12px;
	font-style: normal;
	padding-top: 7px;
}

div.validation-summary-errors {
	color: red;
}
