/**
 * SilverStripe Black Candy Theme
 * http://www.silverstripe.com
 *
 * Form Styling
 */


/* FIELDSETS
---------------------------------------- */
fieldset {
	border: 0;
}

/* ACTION BUTTONS
---------------------------------------- */
a.button,
.btn-toolbar input.action {
	background:url("../images/bullet-blue.png") no-repeat scroll left center #DDDDDD;
	border:0 none;
	color: #02006b;
	cursor:pointer;
	display:block;
	float:right;
	height:35px;
	line-height:35px;
	margin:0 38px;
	padding:0 0 2px;
	text-decoration: none;
	text-transform:uppercase;
	width:150px;
}
a.button {
	float: none;
	margin: 0;
	padding: 0 0 0 15px;
	width:165px;
}
a.button:hover,
a.button:focus,
.btn-toolbar input.action:hover,
.btn-toolbar input.action:focus {
	/*background:url("../images/bullet-white.png") no-repeat scroll left center #7c91ba;*/
    background-color: #9dc22a;
	color:#FFFFFF;
	text-decoration: none;
}

/* FIELD FORMATING
---------------------------------------- */
form ul {
	list-style: none;
}
.field {
	float: left;
	/*margin:0 20px 0 0;*/
	min-height: 70px;
	overflow: hidden;
	width: 100%;
}
.field.checkbox {
	min-height:0;
}
.field.textarea {
	min-height: 150px;
}
.field.dropdown {
	overflow: visible;
	position: static;
	z-index: 0;
}
.middleColumn .dropdown {
	cursor: pointer;
}
.readonly .middleColumn .dropdown {
	cursor: not-allowed;
}
.readonly input.dropdown[type="text"],
.readonly .dropdownbutton {
	background-color: #eee;
}
	#Sidebar .middleColumn {
		margin: 0 0 0 8px;
		display: inline;
	}

	div.tab .field .middleColumn {
		clear: none !important;
 		margin: 0 !important;
		width: auto;
	}

	.middleColumn .middleColumn {
		margin-left: 0;
		margin-right: 0;
		padding: 0;
	}

	.middleColumn .message {
		margin: 0;
	}


/* INPUT BOXS
---------------------------------------- */
form fieldset {}
input.text, textarea, select {
	background-color:#EEF4FF;
	border:1px solid #999999;
	border-radius: 4px;
	/*color: #7c91ba;*/
	font-size: 100%;
	height: 35px;
	line-height: 1.333em;
	padding: 5px 10px;
	/*width: 320px;*/
}
#TestContent select {
	height:auto;
}

/* Dropdown */
input.dropdown[type="text"] {
	background-color:#EEF4FF;
	border-top: 1px solid #999999;
	border-right: 0;
	border-bottom: 1px solid #999999;
	border-left: 1px solid #999999;
	border-radius: 4px 0 0 4px;
	float: left;
	line-height: 1.333em;
	padding: 2px 5px;
	position: inherit;
	width: calc(100% - 40px);
	z-index: 1 !important;
}
.checkbox input {
	float: left;
}
.radio label, .checkbox label {
    display: block !important;
    min-height: 3em;
    padding: 5px 0 0 3em;
    text-align: left;
}
input[type="radio"],
input[type="checkbox"] {
    background-color: #EEF4FF;
    border: 1px solid #999;
    border-radius: 5px;
    height: 2em;
    width: 2em;
}
#Form_ContactForm_Salutation_Holder { width: 100%; }
#Form_ContactForm_Salutation_Holder input { width: 20%; }
#Form_ContactForm_Street_Holder { width: 70%; }
#Form_ContactForm_Streetnumber_Holder { margin-left: 10%; width: 20%; }
#Form_ContactForm_Zipcode_Holder { width: 20%; }
#Form_ContactForm_Zipcode_Holder input { text-align: center; }
#Form_ContactForm_City_Holder {	margin-left: 10%; width: 70%; }
#Form_ContactForm_Participants_Holder { width: 20%; }
#Form_ContactForm_Participants_Holder input { width: 100%; }
#Form_ContactForm_Lessons_Holder { margin-left: 10%; width: 70%; }
#Form_ContactForm_Lessons_Holder input { width: 150px; }
#Form_ContactForm_Streetnumber_Holder { margin-left: 10%; width: 20%; }
#Form_ContactForm_Captcha { width: 20%; }
#Form_ContactForm_Captcha_Holder label:after { content: '*'; }
#Form_ContactForm_Captcha_Holder input { text-align: center; }
@media only screen and (min-width: 1024px) {
	#personalForm fieldset .field { width: 45%; }
	#personalForm fieldset .field:nth-child(2n),
	#personalForm fieldset .field:nth-child(4n) { margin-left: 10%; }

	#Form_ContactForm_Firstname_Holder { width: 45%; }
	#Form_ContactForm_Surname_Holder { margin-left: 10%; width: 45%; }
}

.watermark {
	color:#999999;
}
.defaultvalue {
	display: none;
    left: 7px;
    position: absolute;
    top: 3px;
}
.dropdownbutton {
	background:url("../images/dropdown.png") no-repeat scroll 10px 13px #EEF4FF;
	border-top: 1px solid #999999;
	border-right: 1px solid #999999;
	border-bottom: 1px solid #999999;
	border-left: 0;
	border-radius: 0 4px 4px 0;
	cursor: pointer;
	float: left;
	height: 35px;
	width: 40px;
}
ul.dropdownlayer {
	background-color: #EEF4FF;
    border-color: #999999;
    border-style: none solid solid;
    border-width: 0 1px 1px;
	border-radius: 0 0 4px 4px;
    display: none;
    left: 0;
    position: absolute;
    top: 54px;
    min-width: 290px;
	width: 100%;
}
#AdviceDropDown ul.dropdownlayer {
    top: 44px;
}
ul.dropdownlayer {
	margin: 0;
    padding: 0;
}
ul.dropdownlayer li {
	background-image:none;
	cursor:pointer;
	margin:0;
	padding:5px;
}
ul.dropdownlayer li.last {
}
ul.dropdownlayer li:hover {
	background-color:#7c91ba;
	color:#FFFFFF;
}
.holder-required input.text,
.holder-required input.dropdown,
.holder-required .dropdownbutton,
.holder-required .dropdownlayer,
.holder-required textarea,
.holder-required select,
.holder-validation input.text,
.holder-validation input.dropdown,
.holder-validation .dropdownbutton,
.holder-validation .dropdownlayer,
.holder-validation textarea,
.holder-validation select {
	background-color:#FFFFFF;
	border-color:#7c91ba;
}
#Street {
	width:275px;
	margin:0 10px 0 0;
}
#Street input {
	width:260px;
}
#Streetnumber {
	width:65px;
}
#Streetnumber input {
	width:35px;
}
#Zipcode {
	width:60px;
	margin:0 10px 0 0;
}
#Zipcode input {
	width:45px;
}
#City {
	width:280px;
}
#City input {
	width:250px;
}
#Salutation {
	width:70px;
	margin:0 10px 0 0;
}
#Salutation input {
	width:55px;
}
#SalutationDropDown .middleColumn {
	width: 20%;
	min-width:144px;
	margin:0 10px 0 0;
}
#Salutation input {
	width:55px;
}
#Firstname {
	width:270px;
}
#Firstname input {
	width:240px;
}
.price-box {

}
.price-box div {
	display: inline-flex;
}
.price-box div:first-child span {
	border: 0;
	margin-top: 14px;
}
.price-box div:last-child h3,
.price-box div:last-child h3 a {
	color: #161616;
	font-weight: bold;
	font-size: 17px;
	line-height: 28px;
}
textarea {
	height:100px;
}
input:focus span, textarea:focus span {
	border: 3px solid #000;
}

form .date input.month,
form .date input.day,
form .date input.year {
	width: auto;
}

form .datetime .clear {
	clear: both;
}

form .datetime .date,
form .datetime .time {
	float: left;
	clear: none;
	width: auto;
}
	form .datetime .middleColumn .middleColumn {
		width: auto;
	}
	form .datetime .date input,
	form .datetime .time input {
		width: auto;
	}


/* SELECT DROPDOWN
---------------------------------------- */

select {
	width: auto;
}

/* LABELS
---------------------------------------- */
.typography label {
 	color: #999999;
	display: block;
	line-height: 1.1em;
	padding: 0 0 5px;
}
.typography .holder-required label {
	color:#7c91ba;
}
.field.checkbox label {
	/*float: right;
    position: relative;
    top: -4px;
    width: 330px;*/
}
#personalForm .field.checkbox label {
    /*top: 0;*/
}
label.right {
	display:inline;
}
.field .readonly {
    color: #000000;
    position: relative;
    top: 5px;
}

form h2, form h3, form h4, form h5, form#Survey p {
	clear: both;
}

/* CHECKBOXES
---------------------------------------- */
#Survey .field {
	margin: 5px 40px 15px 0;
	width: 400px;
}
#Survey .field.text {
	margin: 0px 90px 0 0;
}
#Survey .field.textarea {
    margin: 0;
    width: 950px;
}
#Survey textarea {
    width: 760px;
}
#Survey .information {
    top: -20px;
}

ul.optionset {
	margin: 0;
	overflow: hidden;
}
	ul.optionset li {
		background: none;
		float: left;
	    padding: 0;
	    width: 13%;
	}
	ul.optionset li:last-child {
	    width: 33%;
	}
		ul.optionset li input {
			float: left;
    		margin: 0 5px 0 0;
		}
		ul.optionset li label {
			margin: 0;
		}

#Appraisal .box form {
	margin: 0 0 5px;
    overflow: hidden;
}
#Appraisal .box label {
	font-weight: bold;
}
#Appraisal .box label:after {
	content: ":";
}
#Appraisal .box label {
	display: none;
	float: left;
	width: 100px;
}
#Appraisal .box select {
	float: right;
    height: 24px;
    padding: 2px 3px;
    width: 260px;
}
#Appraisal .box select[name=period],
.hide {
	display: none;
}

input[type=submit].btn {
    background: transparent;
    border:0 none;
    color: #7c91ba;
    cursor: pointer;
}
input[type=submit].btn:hover {
    text-decoration: underline;
}

.ui-dialog.ui-widget.ui-widget-content {
	background-color: #FFFFFF;
    border: 1px solid #999999;
	padding: 10px;
	position: absolute !important;
    top: 310px !important;
}
.ui-widget-content .ui-dialog-title {
    color: #7c91ba;
	display: block;
    font-size: 120%;
    font-weight: normal;
    margin: 0 0 10px;
}
.ui-widget-content p {
    color: #666666;
    line-height: 1.5em;
    margin: 0 0 15px;
    text-align: justify;
}
.no-close .ui-dialog-titlebar-close {
	display: none;
}
.ui-widget-content input {
    float: left;
    margin: 0;
}
.ui-widget-overlay {
    background: none repeat scroll 0 0 #EEF4FF;
    height: 100%;
    left: 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1001;
	-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=70)";
	filter: alpha(opacity=70);
	-moz-opacity:0.7;
	-khtml-opacity: 0.7;
	opacity: 0.7;
}
