/* ----------------------------------------------------------------------------- */
/* generic */
/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */ 	

	/* display: inline-block */
	/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */ 
	div.jrapid_property > label,
	div.jrapid_property > div:nth-child(2),
	div.jrapid_checkboxcontainer,
	div.jrapid_checkboxcontainer div.jrapid_checkbox input,
	div.jrapid_checkboxcontainer div.jrapid_checkbox label,
	div.jrapid_multiline,
	div.jrapid_property_widget,	
	table.jrapid_entity_table td.jrapid_row div.jrapid_property,
	div.jrapid_actiongroup_form_select,
	div.jrapid_actiongroup_form_div {display: inline-block; /* start IE7 hack */zoom: 1; *display: inline; /* end IE hack */vertical-align:top;}
	
	div.jrapid_propertyactions { display: block !important; } 


/* ----------------------------------------------------------------------------- */
/* form */
/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */ 

	/* buttonbar */
	/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */ 
	div.buttonbar { clear: both; margin:0px !important; overflow:hidden; }


	/* input */
	/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */ 
	input.boolean { border:none !important; }
	input.jrapid_remove_file_button { margin-left:5px !important; }


	/* .jrapid_checkboxcontainer */
	/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */ 
	div.jrapid_checkboxcontainer { margin-right:10px; max-height: 200px; max-width:30em; overflow: auto; }
	div.jrapid_checkboxcontainer div.jrapid_checkbox { padding:0 0 3px 0; white-space: pre; }
	div.jrapid_checkboxcontainer div.jrapid_checkbox input { border:none !important; margin-right:10px; }
    div.jrapid_checkboxcontainer div.jrapid_checkbox label { margin-right:10px; text-align:left; width:auto; }


	/* jrapid_form */
	/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
	form#jrapid_form { padding:10px 0px; width: 100%; }
	div.jrapid_form_properties {padding-bottom:10px;padding: 10px;}
	td.jrapid_value { padding: 0px 10px 0px 10px; }		


	/* jrapid_entity_table */
	/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
	table.jrapid_entity_table { border-spacing: 0px; empty-cells: show; margin-top:0px; table-layout:auto; /*display:inline-block;*/ }
	table.jrapid_entity_table td { padding-right:8px; vertical-align:top; /*white-space: normal !important*/ }
	/* two entity tables next to each other -> make them be one under the other */
	table.jrapid_entity_table + table.jrapid_entity_table { display:block; }


	/* jrapid_hint - jrapid_tooltip */ 
	div.jrapid_hint { clear:both; display:block; font-size: 11px; margin-left:113px; padding-left:15px; }                     
	div.jrapid_tooltip  { background:#ececec; color: #666; border:1px solid #ccc; padding: 4px; position: fixed; _position: absolute; white-space:nowrap; width: auto; z-index: 99999; } 


	/* hr#jrapid_hr */
	hr#jrapid_hr { margin-bottom:8px; }
 
 
	/* jrapid_html always shown in-line (it is never floating) */
	/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */ 
	div.jrapid_html { display:block; font-size:12px; margin-bottom:10px; vertical-align:top; }
	div.jrapid_html + div.jrapid_html { display:block; }

	
	/* jrapid_labelposition */
	/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */ 
	div.jrapid_labelposition_top > label { display:block; padding:0px 0px 5px 0px; text-align:left; width:10em; }
	/* jrapid_labelposition_left */
	div.jrapid_property > label {margin-bottom:4px;padding-right:15px;position:relative;text-align:right;width:10em;} 
	/* jrapid_labelposition_right */
	div.jrapid_labelposition_right  { overflow:hidden; position:relative; width:auto; }	
	div.jrapid_labelposition_right > label { float:right; margin-bottom:4px; padding-right:15px; text-align:left; vertical-align:top; position:relative; width:10em; }
	div.jrapid_labelposition_right div.jrapid_property_widget { float:right; margin-bottom:4px; text-align:right; vertical-align:top; position:relative; }


	/* ----------------------------------------------------------------------------- */
	/* table.jrapid_multiline */
	/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */ 
	/* when in multiline, clear the margin-right */
	table.jrapid_multiline div.jrapid_property_widget { margin-right: 0px; }
	table.jrapid_multiline { border-collapse: collapse; border:0px; width:auto; }
	table.jrapid_multiline input { border-width:1px; font-size:11px; }
	table.jrapid_multiline select.jrapid_select { height: 24px; /* inputs are 18px + 2x2 (padding) + 1x2 (border) = 24px */	}
	
	div.jrapid_property table.jrapid_multiline th label { padding-left:0px; text-align:left; }	
	table.jrapid_multiline tr td div.more { position: absolute; border: 1px solid #cccccc; padding: 4px; width: auto; background-color: white; min-width: 200px; z-index: 999;}
	
	table.jrapid_multiline div.jrapid_property label { text-align:right; }
	label.jrapid_sub { font-size: 11px; font-weight: normal; margin: 0px 0 10px 0; text-align:left; width:auto; }

	/* table.jrapid_multiline
	the multiline DOM is used for both multiline and embeddedinline properties in forms.
	in properties, no left+right padding needed, only top-bottom.
	in embeddedinline, 6px for right and left (to separate td's columns)
	*/
	table.jrapid_multiline th { padding:2px 8px 2px 6px; }
	/*table.jrapid_multiline td { padding:0px 0px 7px; }*/
	/* table.jrapid_multiline tbody.jrapid_embeddedinline td { padding: 5px 6px; } */
	table.jrapid_multiline td { padding-bottom:5px; }

	/*  div.jrapid_embeddedinline */
	/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */ 
	div.jrapid_embeddedinline table.jrapid_table thead tr { border-collapse:separate }	
	tbody.jrapid_embeddedinline td { padding: 5px; } 

	/* jrapid_property  */ 
	/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */ 
	div.jrapid_property > label {white-space: pre-wrap;/* font-weight: bold; */}
	div.jrapid_property a + button,		
	div.jrapid_property a + input.jrapid_add_file_button,
	div.jrapid_property a + input.jrapid_add_file_button + input.jrapid_remove_file_button { margin-left:5px; }
	div.jrapid_property input.jrapid_add_file_button + div.jrapid_propertyactions { float: none; }


	/* jrapid_property_widget */
	div.jrapid_property_widget,
	table.jrapid_entity_table td.jrapid_row div.jrapid_property { margin-right: 10px; }

	 	
	/* table.jrapid_entity_table */
	div.jrapid_tab table.jrapid_entity_table { padding-right:8px; display:block; }


	/* jrapid_tabpane */
	ul.jrapid_tabpane {display: block;float:none;clear:inherit;height: 27px;margin:0 0 -1px;overflow:hidden;padding:0;text-align:left;position:relative;}


	/* pagebar */
	/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */	
	div#pagebar select { height:20px; }
	div#pagebar input { margin-top:-3px; }


	/* fixed */
	span.jrapid_fixed { float:left; padding-right: 8px; /*padding-top: 5px;*/}
	
	div.jrapid_collection span.jrapid_fixed { float: none; display: block; margin-bottom: 4px; }


	/* input select textarea */
	/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
	select + div.jrapid_hint, 
	input + div.jrapid_hint { margin-top:4px }
	div.windowcontainer textarea { font-size: 12px; }
