/**	## HTML_forms_Patch V05 ##

	Dieses Stylesheet beinhaltet Workarounds, um Fehler im generierten CSS zu verbessern.
	HTML_forms_Patch kann einfach im Head-Bereich oder im original Stylesheet eingebunden werden und überschreibt dabei das Original.
	HTML_forms_Patch muss vor dem HTML_forms.css eingefügt werden.
	
	--Letzte Änderungen: 
		-Druck-CSS
**/

* {
	font-family: Arial,Helvetica,sans-serif !important; /*Erzwingt Schriftart*/
}

body {
	background: #bcbcbc;
}

.page {
	/* Schlagschatten und abgerundete Ecken */
	box-shadow: 1px 2px 3px rgba(0,0,0,0.3);
	border-radius: 3px;
	
    /* Herstellerspezifische Regeln CSS3, u.U. nicht mehr benötigt */
	-moz-box-shadow: 1px 2px 3px rgba(0,0,0,0.3);
	-webkit-box-shadow: 1px 2px 3px rgba(0,0,0,0.3);

	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
}

/* Passt input-Elements dem Container an */
.input {
  border:none;
  width:100%;
}

/* Setzt input-Elemente des Typs file auf auto */
input[type="file"] {
    width: auto !important;
}

/** Passt alle div-Elemente in .obj containern an
In der ursprünglichen Fassung wurden mit * alle darunterliegenden Elemente 
an den .obj-Container angepasst.
Das hat im Falle von Labels die Wirkung, dass das Layout zerschossen wird. 
Diese Lösung zerschiesst die rtf Objekte.
*/
/*
.obj div {
  width: 100%;		
  height: 100%;
}
*/
div div {
	width: 100%;
}

/* Passt Textfelder Elemente an */
/*textarea.input {
	box-sizing: border-box;
}*/

/* Fügt Unterstrich hinzu */
select, 
.input {
	border-bottom: 1px solid rgba(0,0,0,0.5) !important;
}

/* Fügt hover und focus Effekt hinzu */
select.obj:focus, 
.input:focus,
select.obj:hover, 
.input:hover{
  border-bottom: 2px solid rgba(0,0,0,0.6) !important;
}

/* Ändert Feldgrößen von Auswahlfeldern auf die gleiche Größe */
select.obj {
	/* height: 0.6cm !important; */
	box-sizing: content-box;
}

/*Mit der eforms-Version 7.3.8 wurden neue checkboxen mit mehrzeiligen Labels eingeführt incl neuer classen-Namen*/
/*.left-checkbox-label {
 display:block !important;
 margin-left:0 !important;
}*/

/*.left-checkbox-input {
  float:left           !important;
  margin-right:   10px !important;
  margin-bottom:  80px !important;
}*/

/*Mit der eforms-Version 7.5.4 wurden neue Labels (Ankreuzfelder im neuen Stril) eingeführt incl neuer classen-Namen*/
.left-cb-label {
 display:block !important;
 margin-left:0 !important;
}

.left-cb-input {
  float:left           !important;
  margin-right:   10px !important;
  margin-bottom:  120px !important;
}

/* Druck-CSS */
@media print {
	body {
		background: white;
	}
	a {
		color: black;
		text-decoration: none;
	}
	select, 
	.input {
		border-bottom: 1px solid black;
	}
	
	.page {
		box-shadow: none;
		page-break-after: auto; /* Bei always schiebt der Firefox nach der 1. Seite alles zusammen */
		height:29.7cm;
                width:21cm;
	}

}

@page {
 	 /* size: auto; */
	    size: A4 portrait;
  	    margin: 0;
}


/**	## ENDE: HTML_forms_Patch ## */