/** 
 * STROM IM ZOO Theme for Backoffice-Portal
 *
 * Form Styling
 */

input { vertical-align: middle; }
/* Align checkboxes, radios, text inputs with their label by: Thierry Koblentz tjkdesign.com/ez-css/css/base.css  */
input[type="radio"] { vertical-align: text-bottom; }
input[type="checkbox"] { vertical-align: bottom; line-height:2em; height:2em; }
.ie7 input[type="checkbox"] { vertical-align: baseline; }
.ie6 input { vertical-align: text-bottom; }

/* Hand cursor on clickable input elements */
label, input[type="button"], input[type="submit"], input[type="image"], button { cursor: pointer; }

/* Webkit browsers add a 2px margin outside the chrome of form elements */
button, input, select, textarea { margin: 0; }

/* Colors for form validity */
input:valid, textarea:valid   {  }
input:invalid, textarea:invalid {
   border-radius: 1px; -moz-box-shadow: 0px 0px 5px red; -webkit-box-shadow: 0px 0px 5px red; box-shadow: 0px 0px 5px red;
}
.no-boxshadow input:invalid, .no-boxshadow textarea:invalid { background-color: #f0dddd; }

/* FIELDSETS
---------------------------------------- */
fieldset {
	border: 0;
	width: 100%;
}

/* ACTION BUTTONS
---------------------------------------- */
/* Make buttons play nice in IE:
   www.viget.com/inspire/styling-the-button-element-in-internet-explorer/ */
button {  width: auto; overflow: visible; }


input.action {
	padding: 2px;
	font-size: 11px ;
	font-family: Verdana, Tahoma, Sans-serif;
}
input.action:hover,
input.action:focus {
	cursor: pointer;
}

input[type="button"].action, input[type="submit"].action {
			border-radius: 5px 5px 5px 5px;
			border: none;
		    color: white;
		    display: block;
		    font-size: 1em;
		    font-style: italic;
		    font-weight: 400;
		    padding: 9px;
		    text-shadow: 0 1px 1px #333333;
		    background: -moz-linear-gradient(-90deg,#b8c802,#9ba801); 
		    background: -o-linear-gradient(top, #b8c802, #9ba801);
		    background: -webkit-gradient(linear, left top, left bottom, from(#b8c802), to(#9ba801));
		    background: -webkit-linear-gradient(top,#b8c802,#9ba801);
}

/* FIELD FORMATING
---------------------------------------- */
form ul {
	list-style: none;
}
.middleColumn {
 	display: block;
 	margin: 0.5em  0;
	padding: 0.5em 0;
	/*width: 96%;*/
	clear: left;
}
	#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
---------------------------------------- */

input.text, textarea, select {
	padding: 0.3em;
	border: 1px solid #cacaca;
	color: #000;
	font-size:1.286em;
	line-height: 1.333em;
	font-weight: 100;
	width: 98.5%;
}


input.text {
	border-radius: 5px;
	font-style: italic;
}

textarea {
	
	}
input:focus span, textarea:focus span {
	border: 3px solid #000;
	
}

input.fail {
    box-shadow: 0 0 5px #FF4848;
}


html.cssgradients input.text, html.cssgradients input.password  {
		background: -moz-linear-gradient(-90deg,#eee,#fff); 
		background: -o-linear-gradient(top, #eee, #fff);
		background: -webkit-gradient(linear, left top, left bottom, from(#eee), to(#fff));
		background: -webkit-linear-gradient(top,#eee,#fff);
}

html.no-cssgradients input.text, html.no-cssgradients input.password{
	background-color: #eee;
}


input:focus, textarea:focus {
    box-shadow: 0 0 8px #007EFF;
    border-color: #008ac9;
    background: white !important;
}

/* SELECT DROPDOWN
---------------------------------------- */

select {
	width: auto;
	vertical-align: middle;
}

/* LABELS
---------------------------------------- */
.typography label {
 	display: block;
	margin: 1em 0 -0.5em 0;
	text-indent: 0.3em;
	color: #cdcdcd;
	font-size: 1em;
	line-height: 1.5em;
	text-transform: uppercase;
	font-weight: 700;
}

label.right {
	display:inline;
}
/* SEARCH BOX 
---------------------------------------- */
#Search {
	
}


	input#Search_Form_SearchForm_Search {
		width: 100%;
		padding: 5px;
		margin-left: -4px;
		font-size: 1.8em;
		font-weight: 100;
	}
#Sidebar input.action {
	font-size: 12px;
	float: right;
	padding: 1px;
	margin: -22px 10px 0 0;
}

#Search_Form_SearchForm_Search fieldset{
	width: 99%;
}

/* CHECKBOXES
---------------------------------------- */
ul.optionset {
	margin: 0;
	overflow: hidden;
}
	ul.optionset li {
		margin: 6px 0;
		clear: both;
	}
		ul.optionset li input {
			float: left;
			margin: 0 6px;
		}
		ul.optionset li label {
			margin: 0;
		}
		
#Layout form {
	padding: 1.5em auto;
}