/*
 * Example for the Alkacon OAMP Webform Module, used as default CSS.
 *
 * The CSS to use can be specified as module parameter "css".
 * If no value is defined, the CSS file shipped with the module is used.
 * 
 * Important: to generate valid XHTML code, specify "false" as module parameter value
 * and include the CSS in your template head manually.
 */
@media all
{
	/****************************
	 * Default DIV based styles *
	 ****************************
	 */

	/* webform wrapper */
	div.webform_wrapper {
	}
	
	/* row wrapper */
	div.webform_row{
	}
	
	div.webform_middletext, div.webform_mandatory, div.webform_button{
	}
	
	/* labels */
	div.webform_label, div.webform_label_multi, div.webform_label_table, div.webform_text_left {
		width: 175px;
		display: inline-block;
		vertical-align: top;
		font-weight: normal;
		text-align: right;
		padding: 4px 35px 4px 0;
	}
	
	/* fields */
	div.webform_field, div.webform_field_multi, div.webform_field_table, div.webform_text_right {
		width: 480px;
		display: inline-block;
		vertical-align: top;
		padding: 4px 0;
		
		overflow: hidden;
	}
	
	/* additional fields */
	div.webform_wrapper input[type=text], div.webform_wrapper input[type=password] {
		width: 460px;
		margin-top: -2px;
	}
	
	/* -35px webshop */
	.webform-shop div.webform_label, .webform-shop div.webform_label_multi, 
	.webform-shop div.webform_label_table, .webform-shop div.webform_text_left {
		width: 165px;
	}
	.webform-shop div.webform_field, .webform-shop div.webform_field_multi, 
	.webform-shop div.webform_field_table, .webform-shop div.webform_text_right {
		width: 455px;
	}
	.webform-shop div.webform_wrapper input[type=text], .webform-shop div.webform_wrapper input[type=password] {
		width: 435px;
	}

	div.webform_wrapper select {
		padding-top: 3px;
	}
	div.webform_wrapper select,
	div.webform_wrapper .dropdown {
		background-image: url(gfx/dropdown_links.png), url(gfx/dropdown_mitte.png), url(gfx/dropdown_rechts.png);
		background-position: 0 top, 17px top, 449px top;
		background-size: 20px, 432px 24px, 31px;
		background-repeat: no-repeat;
		
		border: 0;
		width: 510px;
		height: 24px;
		margin-top: -3px;
		
		-moz-box-shadow: none;
		-webkit-box-shadow: none;
		box-shadow: none;
		
		-moz-border-radius: 0;
		-webkit-border-radius: 0;
		border-radius: 0;
	}
	.webform-shop div.webform_wrapper select {
		background-position: 0 top, 20px top, 424px top;
		background-size: auto, 404px 24px, auto;
	}

	div.webform_wrapper textarea {
		width: 460px;
		height: 60px;
	}
	.webform-shop div.webform_wrapper textarea {
		width: 435px;
	}

	div.webform_wrapper div.webform_button {
		clear: both;
		/* text-align: center;*/
		padding-left: 210px;
	}
	.webform-shop div.webform_wrapper div.webform_button {
		padding-left: 200px;
	}
		
	/* checkbox */
	div.webform_checkbox_wrapper {
		display: inline-block;
		/*margin-right: 20px;*/
		padding-bottom: 2px;
	}
	
	div.webform_checkbox_row_wrapper {
		display: inline;
		padding-right: 8px;
	}

	div.webform_field_checkbox, div.webform_field_checkbox_row {
		vertical-align: top;
		padding: 2px 0 0 0;
		display: inline;
	}
	div.webform_field input[type="checkbox"] + a,
	div.webform_label_checkbox, div.webform_label_checkbox_row {
		padding: 0 0 0 2px;
		display: inline-block;
		width: 430px;
		vertical-align: top;
	}
	.webform-shop div.webform_field input[type="checkbox"] + a,
	.webform-shop div.webform_label_checkbox, .webform-shop div.webform_label_checkbox_row {
		width: 425px;
	}
	div.webform_field input[type="checkbox"],
	.webform-shop div.webform_field input[type="checkbox"]  {
		/*padding: 0;*/
		margin: 3px 3px 3px 0;
	}

	/* radio */
	div.webform_radio_wrapper {
		display: inline-block;
		margin-right: 20px;
		padding-bottom: 2px;
	}
	
	div.webform_radio_row_wrapper {
		display: inline;
		padding-right: 8px;
	}
	
	div.webform_field_radio, div.webform_field_radio_row {
		vertical-align: middle;
		padding: 2px 0 0 0;
		display: inline;
	}
	
	div.webform_label_radio, div.webform_label_radio_row {
		padding: 0 0 0 2px;
		display: inline;
	}
	
	/* sub field sets */
	div.webform_wrapper div.webform_subfields div.webform_label,
	div.webform_wrapper div.webform_subfields div.webform_label_multi,
	div.webform_wrapper v.webform_subfields div.webform_field {
	}
	
	div.webform_wrapper div.webform_subfields div.webform_label,
	div.webform_wrapper div.webform_subfields div.webform_label_multi {
	}

	div.webform_wrapper div.webform_subfields div.webform_field {
		background-color: #EEE;
	}

	/* submit and other buttons */
	div.webform_wrapper input.formbutton {
		margin-top: 10px;
	}
	
	/* check page */
	div.webform_check_wrapper div.webform_label {
		font-weight: normal;
	}
	
	div.webform_check_wrapper div.webform_field {
		/*font-weight: bold;*/
	}
	
	div.webform_check_button {
		margin-top: 10px;
		float: left;
	}
	
	/* confirmation page */
	div.webform_confirm_wrapper div.webform_label {
		font-weight: normal;
	}
	
	div.webform_confirm_wrapper div.webform_field {
		/*font-weight: bold;*/
	}

	span.webform_msg_error,
	span.webform_label_error {
		color: #f00;
	}
	.dynlongtext input {
		margin: 3px 3px 3px 0;
	}
	.dynlongtext a {
		cursor: pointer;
	}
}    
