/**
 * FormBuilder Styles by Jonathan Nicol (F6 Design)
 * Pretty example - for styling markup created using FormBuilder's usePseudoLegends and showDividers parameters
 * Feel free to modify these rules to suit your site's design!
 */

/* Form */
.form {
	margin: 0;
	padding: 0px;
	}
	
	/* fieldset */
	.form fieldset {
		clear: both;
		margin-bottom: 10px;
		border: none;
		overflow:hidden;
		padding: 20px 10px;
		background-color: #FDFDFD;
		border: 1px solid #D6D6D6;
	}
		.form fieldset.collapseable{
			/*background-color: #FFF; */
		}
		.form fieldset.fieldset_tab {
			padding-top: 25px;	
		}
		.form fieldset.submit {
			clear: both;
			border: none;
			padding-left: 260px;
			background: none;
			padding-top: 5px;
		}
		.form fieldset.set-a {
			border: 1px dotted #9DCD17;
			padding-bottom: 20px;
			padding-left: 20px; 
		}
		.form fieldset legend {
			color: #9DCD17;
			background-color: #FFFFFF;
		}
		.form fieldset div.legend{
			margin: 10px 0; 
		}

  	.form dl {
		margin: 0;
	}
	  	.form dt {
			width: 250px;
			display: block;
			clear: both;
			float: left; 
			font-weight: normal;
		}
	  		.form dt label{
	  			padding-right: 5px;
				font-weight: normal;
			}
	  	.form dd {
			margin: 1px 0 1px 0;
			padding: 0;
			display: block;
	  		float: left;
			font-weight: normal;
	  		*float: none;
	  	}
	  		/* field instructions */
	  		.form dd p {
				float: right;
				margin: 0;
	  			font-weight: normal;
				padding: 5px 0 0 10px;
	  		}
	  		.form dd label {
	  			display: table;
	  			font-weight: normal; 
	  			margin-bottom: 0;
  			}
			.form dd p.form_instructions_filebox{
				float: none;
  				margin-top: 25px;
			}
			.form dd p.form_instructions_tickbox{
				padding-top: 0;
			}

	  	/* dividers */
	  	.form dd.form_divider {
	  		clear: both;
	  		float: none;
	  		height: 1px;
			margin: 0;
			overflow: hidden;
			width: 100%;
	  	}
	  	.form dd.form_divider:last {
			display: none;
		}
		
.formErrorLabel {
	color: #CC0000;
	font-weight: bold;
}
.form_plupload{
	float: left; 
}
.form_plupload div.pickfiles,
.form_plupload div.filelist{
	float: left; 
	width: 300px; 
	text-align: left; 
	padding: 5px; 
	background-color: #FAFAFA; 
	color: grey; 
	border: 1px solid #C9C9C9; 
}
.form_plupload div.filelist{
	display: none;
}
.form_plupload div.pickfiles{
	text-align: center;
}
.form_plupload div.filelist div{
	height: 18px; 
	overflow:hidden; 
}
.form_plupload div.progress{
	display: none; 
	float: left; 
	text-align: left; 
	padding: 7px;
	margin: 0;
	height: 30px;
	box-shadow: none;
	background: none;
	border: none;
	width: 100px; 
	font-size: 10px;
}
.form_textfield, 
.form_translationfield,
.form_textboxselect,
.form_text,
input.form_calendar {
	background: #fff;
	float: left;
	border:1px solid #C9C9C9; 
	width: 300px;
	padding: 4px;
}
.form_translationfield{
	width: 184px;  
}
div.selectwrapper,
div.textboxwrapper{
	float: left;
}
select.form_textboxselect{
	width: 60px;
}
input.form_textboxselect{
	width: 240px;
}
.form_calendar_disabled{
	color: #9F9F9F;
}
.form_textvalue{
	float: left;
}
.form_textvalue ul{
	display: block;
	margin: 0;
	padding: 0 0 0 15px;
}
.form_select {
	background: #fff;
	float: left;
	border:1px solid #C9C9C9; 
	width: 300px;
	padding: 4px;
}
.form_select_old option{
	padding: 2px;
}
.form_select_old.multiple{
	float: none;
	height: auto;
}
.tagsinput{
	min-height: 150px; 
}
.form_textfield{
}
.form_filefield{
	padding: 2px 0 1px 0;
	border: 1px solid #C9C9C9;
	width: 300px;
	float: left; 
}
.form_textarea {
	/* textarea tends to override font settings, so we will re-specify them here */
	border:1px solid #C9C9C9;
	width: 300px;
	float: left; 
	padding: 4px;
}
.form_radio {
	margin-right: 5px; 
}
input.hidden{
	display: none;
}
input.form_calendar{
	width: 190px;
	margin-right: 3px; 
	float: left; 
}
img.form_calendar{
	width: 16px;
	height: 16px;
	margin-right: 3px; 
	float: left; 
}
span.form_calendar{
	padding-top: 1px; 
	float: left; 
}
.form_translationtickbox,
.form_tickbox,
.form_checkbox {
	float: left;
	margin-top: 3px; 
	margin-right: 3px;
	clear: both;
}
.form_tickboxlabel,
.form_checkboxlabel {
	float: left;
	height: 20px;
	padding-left: 10px; 
}
div.button{
}
.form_resetbtn_old,
.form_submitbtn_old {
    background: none;
    border: 0;
    padding: 0;
    margin: 0;
	text-align: center;
	color: #FFFFFF;
	font-family: arial;
}
.form_button,
.form_resetbtn_grey,
.form_submitbtn_grey {
	padding: 0 5px 1px;
	height: 20px;
	border: 1px solid #898989;
	color: #898989;
}
input[type="text"]:hover, 
input[type="password"]:hover {
    border-left: 4px solid #DC0000;
}
input[type="text"]:focus, 
input[type="password"]:focus {
    border-left: 4px solid #DC0000;
}
input[type="radio"], 
input[type="checkbox"] {
    line-height: normal;
    margin: 4px 0 0;
}
input[type="checkbox"], input[type="radio"] {
    box-sizing: border-box;
}
input[type="submit"] {
    background: rgba(0, 0, 0, 0) linear-gradient(#BC0022, #DC0000) repeat scroll 0 0;
    border: medium none;
    border-radius: 4px;
    color: white;
    cursor: pointer;
    display: inline-block;
    font-family: Helvetica,Arial,sans-serif;
    font-size: 1em;
    height: 40px;
    line-height: 40px;
    margin: 0 0 10px;
    padding: 0 20px;
    position: relative;
    text-decoration: none;
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.3);
}
input[type="submit"]:hover {
    background: #DC0000 none repeat scroll 0 0;
}
input[type="submit"]:active {
    background: #DC0000 none repeat scroll 0 0;
}
input.disable_buttons[type="submit"] {
    opacity: 0.5;
}
input.disable_buttons[type="submit"]:hover {
    background: rgba(0, 0, 0, 0) linear-gradient(#E3E3E3, #F0F0F0) repeat scroll 0 0;
    cursor: default;
}
select,
input[type="text"], 
input[type="password"] {
}
.form_LinkAsButton,
.form_LinkAsButton:visited,
.form_LinkAsButton:hover,
.form_LinkAsButton:link {
	display: inline-block;
	border: 1px solid #DC0000;
	padding: 2px 6px 2px 6px;
	background-color: #DC0000;
	text-align: center;
	text-decoration: none;
	color: #FFFFFF;
	font-weight: bold;
	font-size: 12px; 
}
.form_LinkAsButton_grey,
.form_LinkAsButton_grey:visited,
.form_LinkAsButton_grey:hover,
.form_LinkAsButton_grey:link {
	display: inline-block;
	border: 1px solid #898989;
	background: rgba(0, 0, 0, 0) linear-gradient(#E3E3E3, #F0F0F0) repeat scroll 0 0;
	text-align: center;
	text-decoration: none;
	color: #000000;
	border-radius: 4px;
	cursor: pointer;
	font-family: Helvetica,Arial,sans-serif;
	font-size: 1em;
	height: 40px;
	line-height: 40px;
	margin: 0 5px 10px 0 ;
	padding: 0 20px;
	position: relative;
}
.form_LinkAsButton_grey:hover{
	background: #F0F0F0 none repeat scroll 0 0;
}
.form_LinkAsButton_green,
.form_LinkAsButton_green:visited,
.form_LinkAsButton_green:hover,
.form_LinkAsButton_green:link {
	display: inline-block;
	border: 1px solid #A9D156;
	padding: 2px 6px 2px 6px;
	background-color: #9DCD17;
	text-align: center;
	text-decoration: none;
	color: #FFFFFF;
	font-weight: bold;
	font-size: 12px;
}
.form_fielderror {
	color: #B22222;
}
.form_required {
	color: #CC0000;
	font-weight: bold;
}
.focus_out{
	color: grey;
	font-style: italic;
}
.focus_in{
	color: black;
	font-style: normal;
}
.form_button.success{
	border-color: #4F8A10;
	color: #4F8A10;
	background-color: #DFF2BF;
}
.form_button.error{
	border-color: #D63301;
	color: #D63301;
	background-color: #FFCCBA;
}
div.entry-edit{
	clear: both;
}
div.entry-edit-head{
	background: none repeat scroll 0 0 #DC0000 ;
	padding: 4px 10px;
	overflow: hidden;
	margin-top: 2px; 
}
div.collapseable a {
	color: #FFFFFF;
	font-weight: bold;
	text-decoration: none;
	background: url("/projects/_global/images/entry_edit_head_arrow_down.gif") no-repeat scroll 100% 50% transparent;
	display: block;
}
div.collapseable a.opened {
	color: #FFFFFF;
	font-weight: bold;
	text-decoration: none;
	background: url("/projects/_global/images/entry_edit_head_arrow_up.gif") no-repeat scroll 100% 50% transparent;
	display: block;
}
div.collapseable a:hover.closed {
	text-decoration: none;
}
div.form_checkbox_column{
	margin-right: 10px;
	float: left;
}