
FORM { margin: 0; }

/* -------------------------------------------------------------------------- */

.eforms_PageButtonsGrid { width: 100%; clear: both; }
.eforms_PageButtonsGrid .c1 { width: 33%; text-align: left; }
.eforms_PageButtonsGrid .c2 { width: 34%; text-align: center; }
.eforms_PageButtonsGrid .c3 { width: 33%; text-align: right; }
.eforms_PageButtonsGrid .r2 TD { padding-top: 5px; }

.eforms_Buttons_normal, .eforms_Buttons_disabled { display: inline-block; background-repeat: no-repeat; text-decoration: none; }

.eforms_Button_variantleft { text-align: left; }
.eforms_Button_variantcenter { text-align: center; }
.eforms_Button_variantright { text-align: right; }


/* STATIC ------------------------------------------------------------------- */
/* Zapewnia rozciaganie eforms_FormPage na wysokosc niezbedna
   do objecia floatowanych elementow */
/* -------------------------------------------------------------------------- */

.eforms_FormPage { _height:1%; }
.eforms_FormPage_contentKeeper { clear: both; font-size: 0; height: 0px; }

/* STATIC ------------------------------------------------------------------- */
/* Box(common): Sterowanie ulozeniem */
/* -------------------------------------------------------------------------- */

.eforms_Box_variantfull_width .eforms_BoxSuite { clear: left; }
.eforms_Box_variantfull_width .eforms_BoxSuite .eforms_BoxColumn2 { display: none; }
.eforms_Box_variantleft .eforms_BoxSuite { float: left; clear: left; width: 50%; }
.eforms_Box_variantleft .eforms_BoxSuite .eforms_BoxColumn2 { display: none; }
.eforms_Box_variantright .eforms_BoxSuite { float: right; clear: right; width: 50%; }
.eforms_Box_variantright .eforms_BoxSuite .eforms_BoxColumn2 { display: none; }
.eforms_Box_variantdouble .eforms_BoxSuite { clear: left; }
.eforms_Box_variantdouble .eforms_BoxSuite .eforms_BoxColumn1 { float: left; width: 50%; }
.eforms_Box_variantdouble .eforms_BoxSuite .eforms_BoxColumn2 { float: right; width: 50%; }

/* STATIC ------------------------------------------------------------------- */
/* Box(common): Zapewnia rozciaganie eforms_BoxBody na wysokosc niezbedna
   do objecia floatowanych kolumn */
/* -------------------------------------------------------------------------- */

.eforms_Box_variantfull_width .eforms_Box_contentKeeper { display: none; }
.eforms_Box_variantleft .eforms_Box_contentKeeper { display: none; }
.eforms_Box_variantright .eforms_Box_contentKeeper { display: none; }
.eforms_Box_variantdouble .eforms_Box_contentKeeper { clear: both; height: 0; font-size: 0; line-height: 0; }

/* STATIC ------------------------------------------------------------------- */
/* Box(common): Zapewnia zlamanie wiersza */
/* -------------------------------------------------------------------------- */

.eforms_Box_variantfull_width .eforms_Box_lineBreaker { clear: both; height: 0; font-size: 0; line-height: 0; }
.eforms_Box_variantleft .eforms_Box_lineBreaker { clear: both; height: 0; font-size: 0; line-height: 0; }
.eforms_Box_variantright .eforms_Box_lineBreaker { display: none; }
.eforms_Box_variantdouble .eforms_Box_lineBreaker { clear: both; height: 0; font-size: 0; line-height: 0; }

/* STATIC ------------------------------------------------------------------- */
/* Box(common): Rozmiary dla multicolumn */
/* -------------------------------------------------------------------------- */

.eforms_BoxColumnX { float: left; }
.eforms_Box_multicolumn .eforms_Box_class_identifier TABLE.eforms_BoxTable { width: 100%; }
.eforms_Box_multicolumn .eforms_Box_class_identifier .eforms_BoxTableLCell { width: 20%; }
.eforms_Box_multicolumn .eforms_Box_class_identifier TD.eforms_BoxTableRCell { width: 80%; }
.eforms_Box_multicolumn .eforms_Box_class_identifier DIV.eforms_BoxTableBCell { /*overflow: hidden;*/ width: auto; }
.eforms_Box_multicolumn .eforms_Box_class_identifier TD.eforms_BoxTableRCell .eforms_BoxTable_widthKeeper { /*overflow: hidden;*/ width: 100%; }

/* STATIC ------------------------------------------------------------------- */
/* Box(common): Pilnuje domyślnej wysokości separatorów */
/* -------------------------------------------------------------------------- */
.eforms_BoxTableSep { font-size: 0px; line-height: 0px; }

/* STATIC ------------------------------------------------------------------- */
/* Box(common): Domyślna szerokość tabeli w boksie */
/* -------------------------------------------------------------------------- */
TABLE.eforms_BoxTable { width: 100% }

/* STATIC ------------------------------------------------------------------- */
/* Box(common): Domyślna szerokość iframe dla customField */
/* -------------------------------------------------------------------------- */
.eforms_FormPage iframe { width: 100% }

/* STATIC ------------------------------------------------------------------- */
/* Fieldset */
/* -------------------------------------------------------------------------- */

.eforms_FieldSet {}

.eforms_FieldSetCell,
.eforms_FieldSetLCell,
.eforms_FieldSetRCell { padding: 0; }

.eforms_FieldSet_varianthorizontal .eforms_FieldSetCell { vertical-align: bottom; }
.eforms_FieldSet_varianthorizontal .eforms_FieldSetCell DIV.eforms_FieldSetLCell { float: left; width: auto; }
.eforms_FieldSet_varianthorizontal .eforms_FieldSetCell DIV.eforms_FieldSetRCell { float: left; width: auto; }

.eforms_FieldSet_variantvertical .eforms_FieldSet_rowFirst .eforms_FieldSetLCell,
.eforms_FieldSet_variantvertical .eforms_FieldSet_rowFirst .eforms_FieldSetRCell,
.eforms_FieldSet_variantvertical .eforms_FieldSet_rowFirst .eforms_FieldSetCell { padding-top: 0px !important; }

.eforms_FieldSet_holder .eforms_FieldSet TD.eforms_FieldSetRCell IFRAME { width: auto; }
.eforms_FieldSet_holder .eforms_FieldSet TD.eforms_FieldSetBCell IFRAME { width: auto; }

/* FIXED -------------------------------------------------------------------- */
/* Fieldset */
/* -------------------------------------------------------------------------- */

.eforms_FieldSet_varianthorizontal .eforms_FieldSetCell {
	/* property:FieldSetH_ItemsSpacing */ padding-right: 10px;
}

.eforms_FieldSetLCell {
	/* property:FieldSet_LeftLabelSpacing */ padding-right: 10px;
}

.eforms_FieldSetTCell {
	/* property:FieldSet_TopLabelSpacing */
}

/* STATIC ------------------------------------------------------------------- */
/* Confirmation component */
/* -------------------------------------------------------------------------- */

.eforms_ConfirmationComponent {}

.eforms_ConfirmationComponentCell,
.eforms_ConfirmationComponentLCell,
.eforms_ConfirmationComponentRCell { padding: 0; }

.eforms_ConfirmationComponentLCell {
	padding-right: 10px; 
}


/* STATIC ------------------------------------------------------------------- */
/* Multifield */
/* -------------------------------------------------------------------------- */

.eforms_Multifield TD { padding: 0 3px 0 0; }

/* STATIC ------------------------------------------------------------------- */
/* Fields */
/* -------------------------------------------------------------------------- */

.eforms_ShapedInputFileC {
	position: relative;
	display: block;
	float: left; width: auto;
	margin-right: 10px;
}
.eforms_ShapedInputFile {
	position: absolute; z-index: 2;
	font-size: 30px;
	opacity: 0; -moz-opacity: 0; filter: alpha(opacity=0);
}
.eforms_ShapedInputFileC .eforms_Buttons, x:-moz-any-link {
	 vertical-align: top;
}

/*.eforms_AddFileButton_{STATE} */
/*.eforms_RemoveFileLink_{STATE} */
.eforms_FileInfoText { padding-top: 5px; }
.eforms_FileInfoText SPAN { padding-right: 13px; }

.eforms_TextFieldMessage { font: normal normal normal 10px Courier; text-align: right; }
.eforms_TextField_prompt { color: gray !important; }

.eforms_ContextHelpIcon { display: inline; vertical-align: top; }
.eforms_ContextHelpLayer { position: absolute; display: none; }

.eforms_CheckboxesAndRadiobuttons_varianthorizontal { float: left; .float: none; _float: left; }
.eforms_CheckboxesAndRadiobuttons_varianthorizontal .eforms_Option {}
.eforms_CheckboxesAndRadiobuttons_varianthorizontal .eforms_Option .eforms_OptionControl {}
.eforms_CheckboxesAndRadiobuttons_varianthorizontal .eforms_Option .eforms_OptionControl INPUT { vertical-align: middle; }
.eforms_CheckboxesAndRadiobuttons_varianthorizontal .eforms_Option .eforms_OptionLabel {}
.eforms_CheckboxesAndRadiobuttons_varianthorizontal .eforms_Option .eforms_OptionLabel LABEL {}
.eforms_CheckboxesAndRadiobuttons_varianthorizontal .eforms_Option .eforms_OptionLabel LABEL IMG.eforms_OptionLabelPicture { vertical-align: top; }
.eforms_CheckboxesAndRadiobuttons_varianthorizontal .eforms_Option .eforms_OptionLabel IMG.eforms_ContextHelpIcon { vertical-align: middle; }
.eforms_CheckboxesAndRadiobuttons_varianthorizontal .eforms_Option .eforms_OptionTextField INPUT { margin-left: 5px; }

.eforms_CheckboxesAndRadiobuttons_variantvertical   { float: left; .float: none; _float: left; }
.eforms_CheckboxesAndRadiobuttons_variantvertical   .eforms_Option { display: block; clear: left; }
.eforms_CheckboxesAndRadiobuttons_variantvertical   .eforms_Option .eforms_OptionControl { float: left; }
.eforms_CheckboxesAndRadiobuttons_variantvertical   .eforms_Option .eforms_OptionControl INPUT { vertical-align: top; }
.eforms_CheckboxesAndRadiobuttons_variantvertical   .eforms_Option .eforms_OptionLabel { display: block; margin-left: 25px; padding-top: 2px; padding-top: 3px\9; }
.eforms_CheckboxesAndRadiobuttons_variantvertical   .eforms_Option .eforms_OptionLabel LABEL {}
.eforms_CheckboxesAndRadiobuttons_variantvertical   .eforms_Option .eforms_OptionLabel LABEL IMG.eforms_OptionLabelPicture { vertical-align: top; }
.eforms_CheckboxesAndRadiobuttons_variantvertical   .eforms_Option .eforms_OptionLabel IMG.eforms_ContextHelpIcon { vertical-align: middle; }
.eforms_CheckboxesAndRadiobuttons_variantvertical   .eforms_Option .eforms_OptionTextField INPUT { margin-left: 5px; }

.eforms_ConfirmationCheckbox .eforms_OptionControl { float: left; }
.eforms_ConfirmationCheckbox .eforms_OptionControl INPUT { vertical-align: top; }
.eforms_ConfirmationCheckbox .eforms_OptionLabel { display: block; margin-left: 25px; padding-top: 2px; padding-top: 3px\9; }
.eforms_ConfirmationCheckbox .eforms_OptionLabel IMG.eforms_ContextHelpIcon { vertical-align: middle; }

.eforms_StaticContent {}

/* -------------------------------------------------------------------------- */

DIV.eforms_ErrorsArea {}
  P.eforms_ErrorsTitle { margin-left: 20px; }
 UL.eforms_ErrorMessages { margin-left: 0px; padding-left: 40px; }
 .eforms_BoxBody .eforms_ErrorMessages { margin: 2px 0 0 0 ; padding-left: 0; list-style: none; }

/* -------------------------------------------------------------------------- */

.eforms_ConfirmBoxTitle {
	font-weight: bold;	
}

/* STATIC ------------------------------------------------------------------- */
/* DatePicker */
/* -------------------------------------------------------------------------- */

.date_picker_icon { vertical-align: top; }

#DatePicker {
	position: absolute;
	left: 0; top: 0;
	background: #EEEEEE;
	border: 1px solid #909090;
	z-index: 1000000;
}

#DatePicker_Decoration { height: 14px; padding: 5px; }
#DatePicker_Decoration A { float: right; width: auto; }
#DatePicker_Header { text-align: center; padding: 6px 0; }
#DatePicker_HeaderSeparator { padding: 0 5px; }
#DatePicker SELECT { font-size: 9px; }
#DatePicker_Footer { display:none; }
#DatePicker_CalendarSlot { padding: 5px; }
#DatePicker_CalendarSlot TABLE { border: 1px solid #EEEEEE; }

.DatePicker_state_hidden { visibility: hidden; }

.DatePicker_state_hidden SELECT { visibility: hidden !important; }

.DatePicker_WeekDay {
	width: 29px; border: 1px solid #EEEEEE; padding: 1px 0;
	background: gray;
	text-align: center;
	font: normal normal bold 10px Tahoma; color: white;
}
.DatePicker_WeekDay_Sunday { color: red; }

.DatePicker_Day {
	border: 1px solid #EEEEEE;
	background: white;
	text-align: center;
	font: normal normal normal 11px/16px Tahoma; color: black;
	cursor: pointer;
}
.DatePicker_Day_Other {
	border-color: #eeeeee;
	background: #eeeeee;
	cursor: default;
	font-size: 7px; color: gray;
}
.DatePicker_Day_Unavailable {
	border-color: #eeeeee;
	background: #eeeeee;
	cursor: default;
	color: gray;	
}
.DatePicker_Day_Sunday { color: red; }
.DatePicker_Day_Today  { border: 1px dotted gray; }
.DatePicker_Day_Selected  { background: navy; font-weight: bold; color: white; }

#DatePicker_Decoration A, #DatePicker_Header A { text-decoration: none; }
#DatePicker_Decoration A SPAN { display: none; }
#DatePicker_Header A SPAN { visibility: hidden; }

#DatePicker_Decoration A {
	display: block;
	width: 14px; height: 14px;
	background: URL('/_img/eforms/picker.gif?__af_appv=feb2-6.2.40') no-repeat;
}

#DatePicker_PrevMonthButton, #DatePicker_PrevYearButton {
	background: URL('/_img/eforms/picker.gif?__af_appv=feb2-6.2.40') no-repeat 50% -40px;
}

#DatePicker_NextMonthButton, #DatePicker_NextYearButton {
	background: URL('/_img/eforms/picker.gif?__af_appv=feb2-6.2.40') no-repeat 50% -20px;
}

/**/

.eforms_dep_hiddenElement { display: none !important; }

/* STATIC ------------------------------------------------------------------- */
/* Wyglad wydruku/ podgladu wyslanego w wniosku */
/* -------------------------------------------------------------------------- */

.eforms_ResultsHTMLBody {
	margin: 15px;
	padding: 0;
	background: white;
	color: black;
}

.eforms_ResultsFormTitle {
	font-size: 17px;
}

.eforms_ResultsTable { border: none; empty-cells: show; font-size: 12px; }

.eforms_ResultsTable TD {
	border: none;
	border-bottom: 1px solid silver;
	padding: 3px;
}
.eforms_ResultsTable TD.eforms_ResultsPageTitle {
	padding-top: 10px;
	font-size: 14px;
}

.eforms_ResultsTable TD.eforms_ResultsBoxTitle {
	padding-top: 15px;
	font-weight: bold;
}

.eforms_ResultsHTMLBody .print_button IMG { border: none; }
@media print {
	.eforms_ResultsHTMLBody .print_button { display: none; }
}

/* -------------------------------------------------------------------------- */
/* Wyglad dodatkowych elementow funkcjonalnych wniosku */
/* -------------------------------------------------------------------------- */

/* !! EEW-5929 Zmiany underlay należy uwzględniać również w pliku epoint/eforms/ui/Dialog.js w VIEW.DEFAULT */

#eforms_dialogBoxUnderlay {
	position: absolute; left: 0; top: 0;
	display: none;
	overflow: hidden;
	background-color: white;
	z-index: 997;
	opacity: 0.0; -moz-opacity: 0; filter: alpha(opacity=0);
}

.eforms_commonDialogBox,
.eforms_commonDialogBox H1,
.eforms_commonDialogBox P,
.eforms_commonDialogBox DIV,
.eforms_commonDialogBox A {
	display: block; position: static; float: none; clear: none;
	width: auto; height: auto;
	margin: 0; padding: 0;
	background: transparent;
	border: none;
	font: normal normal normal 11px/normal Tahoma, Arial, Helvetica, Sans-serif; color: #434343;
	text-decoration: none;
}
.eforms_commonDialogBox A { 
	display: inline;
}

.eforms_commonDialogBox {
	position: absolute; left: 0; top: 0;
	display: none;
	z-index: 998;

	width: 360px;
	border: 2px solid #555555;
	background: white;
	padding: 0;
}
	
.eforms_commonDialogBox H1 {
	margin: 0 0 10px 0;
	border: none;
	border-bottom: 1px solid silver;
	padding: 10px;
	font-size: 15px;
	font-weight: bold;
}
.eforms_commonDialogBox P { margin: 11px 0; }

.eforms_commonDialogBox .contentArea {
	padding: 0px 10px;
}

.eforms_commonDialogBox .forms_label { font-size: 11px; color: #434343; padding-right: 5px; }
.eforms_commonDialogBox .forms_label_error { font-size: 11px; color: red; }
.eforms_commonDialogBox .form-field-error { margin-bottom: 5px; font-size: 11px; color: red; }
.eforms_commonDialogBox .form-error { margin-bottom: 5px; font-size: 11px; color: red; }

.eforms_commonDialogBox_lite {
	border-width: 1px;
	border-color: #AAAAAA;
}

.eforms_commonDialogBox .buttonsArea {
	margin: 10px 0 0 0;
	padding: 10px;
	background: silver;
}

.eforms_commonDialogBox .topButtonsArea {
	border-bottom: 1px solid #cccccc;
	background: #f5f5f5;
	padding: 1px;
	text-align: right;
}

.eforms_commonDialogBox .buttonsArea A.themelessButton {
	display: inline-block;
	margin: 3px 0;
	border-color: #BBBBBB gray gray #BBBBBB;
	border-style: solid;
	border-width: 1px;
	padding: 3px 10px;
	background: white;
	text-decoration: none;
	color: #434343;
}

.eforms_commonDialogBox A.themelessButton IMG {
	border: 0;
}

#eforms_wait_dialog {
	position: absolute; left: 0; top: 0;
	display: none;
	z-index: 998;
}
#eforms_load_dialog .contentArea { height: 90px; }
#eforms_agreement_rendering_dialog { width: 120px; }
#eforms_agreement_rendering_dialog .contentArea P { padding: 20px 0; text-align: center; }
#eforms_agreement_rendering_error_dialog .contentArea, #eforms_agreement_rendering_entry_deleted_dialog .contentArea { padding: 30px 10px; }
.commonPane { overflow: auto; }

.clear { clear: both; height: 1px; line-height: 1px; font-size: 1px;}

.eforms_DatepickerIcon, .eforms_SmallContextHelpIcon, .eforms_ContextHelpIcon, .eforms_OptionLinkLabel, .eforms_OptionTextField, .eforms_MandatoryIndicator {
    margin-left:3px;
}

.eforms_Multifield .eforms_ContextHelpIcon {
	margin-left:0;
}

.eforms_OptionLabelPicture {
    margin-right:3px;
}

/* EEW-7655 do skaskowania, gdy cała tabelka z formularzem będzie renderowana z builderów */
.eforms_BoxTableLCell .eforms_MandatoryIndicator, .eforms_BoxTableTCell .eforms_MandatoryIndicator {
    margin-left:0;
}