
/***************************** 
 Member of RB-Master

Name: cssformedit
UID: cssformedit
Author: opus5 (customized)
Last change date: 02.09.2015 17:10
Copyright: opus5
Release version: Generated with version 2.6.0
Framework version: -
Summary: formedit/generic form/ simple form css
Necessary libaries: -

*************************/
/* start style formular */
.formedit form { margin:0; padding:0;}
.formedit fieldset#formHeadline {width:420px; border:1px solid #999; padding:10px; margin:5px; text-align:left;}
.formedit fieldset#formHeadline:hover {border-color:#900;}
.formedit
.formedit fieldset {width:390px; border:1px solid #999; padding:10px; margin:5px; text-align:left;}
.formedit fieldset:hover {border-color:#333;}
.formedit fieldset#requiredMessage {width:390px; border:1px dotted #900; padding:10px; margin:5px; text-align:left;}
.formedit fieldset#requiredMessage:hover {border:1px solid #900;}
.formedit fieldset#checkbox input  {width:35px;}
.formedit legend {font-size:1.1em; color:#666; font-weight:bold; padding:5px; margin:5px; background:none;}

/* used as Label for checkboxes and radiobuttons */
.formedit span { color:#666; font-weight:normal; font-size:1em; margin:0 3px 3px 0; padding:0; line-height:1.5em; width:120px; display:block; text-align:left; clear:left;}
.formedit label { color:#666; font-size:1em; margin:0 3px 3px 0; padding:0; line-height:1.5em; width:120px; display:block; float:left; clear:left;}
.formedit input {border:1px solid #666; padding-left:0.3em; margin-bottom:0.6em; width:240px; background:#fff; text-align:left;}
.formedit input:focus {border-color:#900;}
.formedit select {border:1px solid #666; padding-left:0.3em; margin-bottom:0.6em; background:#fff;}
.formedit option {color:#900;}
.formedit textarea {width:244px; border:1px solid #666;}
.formedit textarea:focus {border-color:#900;}
.formedit .submitbtn {width:123px; background:#666; border:1px solid; border-color:#999 #333 #333 #999; color:#fff; cursor:pointer; padding:0; margin:0; text-align:center;}
.formedit .submitbtn:hover {background:#900; color:#fff; border:1px solid; border-color:#c00 #990100 #990100 #c00;}
.formedit .captcha { border:1px solid #666;}
/* ende style formular */

/* styles for invalid validation */
.formedit label.error {width:240px; margin-left:123px; color:#990000;}
.formedit input.error {border:1px dotted #990000;}
.formedit textarea.error {border:1px dotted #990000;}
.formedit select.error {border:1px dotted #990000;}
.formedit option.error {border:1px dotted #990000;}

/* styles for autocomplete box */
.ac_results {padding: 0px; border: 1px solid black;	background-color: white; overflow: hidden; z-index: 99999;}
.ac_results ul {width: 100%; list-style-position: outside; list-style: none; padding: 0; margin: 0;	text-align:left;}
.ac_loading {background: white  right center no-repeat;}
.ac_odd {background-color: #eee; text-align:left;}
.ac_over {background-color: #0A246A; color: white; text-align:left;}
.ac_results li {margin: 0px; padding: 2px 5px; cursor: default; display: block; font: menu; font-size: 12px; overflow: hidden;
	/*
	it is very important, if line-height not setted or setted
	in relative units scroll will be broken in firefox
	*/
	line-height: 16px;
	/*
	if width will be 100% horizontal scrollbar will apear
	when scroll mode will be used
	*/
	/*width: 100%;*/
}

/* import of RBTT */

.form .formCol {
    width: 70%;
}

.form fieldset fieldset {
    margin: 0;
    padding: 0;
    width: 100%;
}
.form .multiblock {
    margin: 0;
    clear: both;
    float: none;
    width: 100%;
}

.textrow,
form .multiblock {
	position: relative;
	width: 520px;
	margin: 0 -50px 0 0;
	clear: both;
}

.singleblock {
	width: 480px;
}

.col {
	text-align: right;
}

.multiblock,
.singleblock {
	clear: both;
	padding-top: 10px;
}

.textrow .col,
.multiblock .col {
	float: left;
	width: 225px;
	margin: 0 30px 0 0;
}

.col {
	position: relative;
}

.col label,
.col .label {
	position: relative;
	display: block;
	float: left;
	width: 85px;
	top: 2px;
	margin-bottom: 4px;
	text-align: left;
    padding: 2px 10px 0 0;
    text-align: right;
}

.form p span, .form label span {
    color: #000;
}

.col label.error {
	clear: left;
	float: none;
	width: auto;
	margin-left: 88px;
}

.col textarea + label.error {
	margin-left: 0;
}

.col input {
	height: 18Px;
	line-height: 20Px;
}

.singleblock .col .input,
.singleblock .col input.text {
	width: 390Px;
}

.col textarea {
	float: left;
	clear: both;
	margin: 0;
}

.singleblock .col select {
	width: 392Px;
}

/*
.singleblock .col select.day,
.singleblock .col select.month {
	width: 102px;
}

.singleblock .col select.year {
	width: 182px;
}
*/

.multiblock .col .input,
.multiblock .col input.text {
	width: 135px;
}

.multiblock .col textarea {
	width: 223px;
}

.multiblock .col select {
	width: 137px;
}

.col select {
	margin-bottom: 15px;
}

.col select.day,
.col select.month {
	width: 40px;
	float: left;
}

.col select.year {
	width: 61px;
	float: left;
}

.singleblock .col select.year {
	margin-right: 255px;
}

.clickboxes {
	text-align: left;
}

.singleblock .clickboxes .label {
	display: inline;
	float: none;
	width: auto;
}

.singleblock .clickboxes .input {
	display: inline;
}

.multiblock .clickboxes .input {
	position: relative;
	float: left;
}

.clickboxes .input label {
	float: none;
	width: auto;
}

.clickboxes .input input {
	position: absolute;
	width: auto;
	height: auto;
	top: auto;
	margin-left: 0;
}

.singleblock .clickboxes .input input {
	margin-left: 10px;
}

.singleblock .clickboxes .input label {
	display: inline;
	margin-left: 30px;
}

.singleblock .col .clickboxes label.error {
	margin-left: 0;
}

.multiblock .clickboxes .input label {
	display: block;
	margin: 0 0 1px 20px;
}


.webform input.btn {
	border: 0;
	width: auto;
	overflow: visible;
	text-decoration: none;

	background: url(../images/btns/cntBtnblueBg_sprite.png) 0 0 no-repeat;
	padding: 0 0 2px 3px;
	height: 22px;
	margin-bottom: 5px;
	margin-right: 10px;
	cursor: pointer;
}

.webform label.error {
	float: right;
	color: red;
}

/*
button.btn span, a.btn span {
	background: url(../images/btns/cntBtnblueBgEnd_sprite.png) 100% 0 no-repeat;
	color: #fff!important;
	padding: 2px 6px 0px 0px;
	height: 21px;
	font: bold 12px/17px Arial;
	display: block;
	position: relative;
	top: -1px;
	white-space: nowrap;
	width: 100%;
}
*/

.form label, .form p {
	font-size: 0.9em;
	line-height: 16px;
}
.form .check.inlineLnk ul.relatedItems {
    margin-left: 155px;
}

.form .check.inlineLnk .formCol ul.relatedItems{
 margin-left: 0px;
}

.form div.insert {
    margin-left: 15px;
}
.form div.insert:last-child {
	clear: both;
}


.form .multiblock .input label,
.form .multiblock .select label,
.form .multiblock .check.withLabel label.first,
.form .multiblock .radio label {
    text-align: right;
    width: 40%;
    margin-bottom: 10px;
    margin-right: 1px;
}

.form .formCol input {
	float: left;
}

form .multiblock {
	float: right;
	width: 630px;
	margin: 0 -10px 0 0;
	padding: 0;
}

*+html form .multiblock {
	margin: 0 0 0 0;
}

*html form .multiblock {

}

.form h2.headline {
    margin-bottom: 10px;
    font-size: 1em;
}

form .multiblock h2.headline {
	padding: 0;
    width: 50%;
}

/*
form .multiblock h2.full {
	width: 302px !important;
}
*/

form .multiblock .firstCol {
	float: left;
	width: 50%;
}

form .multiblock .secondCol {
	float: left;
	width: 50%;
	/*margin-left: 20px;*/
}

form .multiblock .firstCol .formCol,
form .multiblock .secondCol .formCol {
    width: auto;
}

form .multiblock .col {
	margin: 0;
	padding: 0;
}

form .multiblock .firstCol input,
form .multiblock .firstCol textarea,
form .multiblock .secondCol input,
form .multiblock .secondCol textarea,
form .multiblock .select select {
	width: 150px;
}

form .comment p {
	padding: 0 0 0 9px;
	color: #808285;
}

form .multiblock .check input,
form .multiblock .radio input,
.radio .formCol input,
.check .formCol input  {
	width: 25px;
}

.radio .formCol input,
.check .formCol input {
	margin: 0 0 0 -5px;
}

form .multiblock .select {
	margin-top: 15px;
}

form .multiblock .select select {
	margin-right: 0;
}

/* new sizes to fit styleguide */

.form button.btn, .form a.btn{
	padding-left: 3px !important; 
}
.form div.check {
	margin-left: 0px;
}
.form div.check.bBlack{
	margin-left: 21.5%;
	color:#000;
}

.form .input label,
.form .select label,
.form .comment label,
.form .file label,
form .radio label.first,
.form .check.withLabel label.first,
.form .inputTwoCol label {
	width: 20%;
}

.form .insert button.btn,
.form .insert a.relatedLnk {
  margin-left: 20%;
}

form .multiblock .insert a.relatedLnk {
	margin-left: 0px;
}

.form .inputTwoCol input {
	width: 150px;
}

.form .select select {
	width: 330px;
  font-size: 0.9em;
}

.form .input input,
.form .comment textarea,
.form .file input {
	width: 325px;
	font-size:1em;
    font-family: arial, sans-serif;
}

.form .input textarea {

    font-family: arial,sans-serif;
    font-size: 1em;
    width: 325px;
}

.form .input .input_content {
	/* width: 400px; */
}

.form label.css_date {
	width: 20%;
}

.form .input_error {
	float: right;
	width: auto;
}

.form .input .input_error {
	float: right;
	width: auto;
}

.form .input .input_error label {
	width: auto;
}

.captcha_img {
    float: left;
    width: 300px;
}

#captcha_reload {
    display: block;
    /* float: right; */
    padding: 2px 0 0 15px;
    text-decoration: none;
    font-weight: bold;
    color: #215F8B;
    font-size: 12px;
}

.captcha {
	margin-left: 15px;
}


.captcha_input {
    margin-left: 140px;
    margin-top: 10px;
}

.form .submitrow {
	margin-left: 20px;
}

.form .submitrow .reset_button {
	float: left;
	margin-left: 125px;
}
.form .submitrow .submit_button {
	float: right;
	margin-right: 75px;
}

.form .col .withLabel input {
	height: auto;
}

.form .col .withLabel label {
	width: auto;
	padding: 0;
	line-height: auto;
}
.col .txt_align_left {
   text-align: left;
}


/* ADAPTIONS FOR GRID 4 COLUMNS */

/* general */
.grid4 .form .input label,
.grid4 .form .col label.radiovalue,
.grid4 .form .radio label,
.grid4 .form .select label,
.grid4 .form .inputTwoCol label {
    width: 80px;
    clear: both;
}

/* text */
.grid4 input.text,
.grid4 .inputTwoCol input,
.grid4 .form .input textarea {
    width: 120px;
}
.grid4 div.input {
    clear: both;
}

/* select */
.grid4 .select select {
    width: 125px;
}

/* checkbox and radio */
.grid4 .formCol {
    width: 125px;
}

/* captcha */
.grid4 .captcha_img {
    width: auto;
}
.grid4 .captcha {
    margin-left: 0;
}
.grid4 #captcha_reload {
    float: none;
    padding: 2px 0 0;
}
.grid4 .inputTwoCol .captcha_input {
    margin-left: 80px;
}
.grid4 .inputTwoCol .captcha_input input {
    width: 120px;
    margin-left: 10px;
}

/* reset and submit button */
.grid4 .form .submitrow {
    margin-left: 0;
}
.grid4 .form .submitrow .reset_button {
    margin-left: 20px;
}
.grid4 .form .submitrow .submit_button {
    margin-right: 20px;
}


/* ADAPTIONS FOR SUBMENU COLUMN */

/* general */
#subMenu .form fieldset {
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
}
#subMenu .form fieldset .cntBox {
    width: 220px;
    padding-left: 3px;
    padding-right: 3px;
}


/* ERROR MESSAGES */

/* general */
.input, .col, .radio, .select, .inputTwoCol {
    position: relative;
    clear: both;
}
.multiblock .input,
.multiblock .col,
.multiblock .radio,
.multiblock .select,
.multiblock .inputTwoCol {
    clear: none;
}
label.error {
    width: auto !important;
    padding-right: 0 !important;
}
.form .cntBox {
    float: none;
}

/* text */
.input .input_error {
    position: absolute;
    top: 0;
    right: 0;
}
.grid4 .input .input_error {
    position: static;
    padding-right: 10px;
}

/* checkbox */
.col .input_error {
    position: absolute;
    top: 0;
    right: 0;
}
.grid4 .col .input_error {
    position: static;
    padding-right: 10px;
}
label.radiovalue {
    padding-top: 0 !important;
    margin-top: -1px !important;
}

/* radio */
.radio .input_error {
    position: absolute;
    top: 0;
    right: 0;
}
.grid4 .radio .input_error {
    position: static;
    padding-right: 10px;
}
.radio label {
    padding-top: 0;
    margin-top: 0;
}

/* select */
.select .input_error {
    position: absolute;
    top: 0;
    right: 0;
}
.grid4 .select .input_error {
    position: static;
    padding-right: 10px;
}
/* date selector */
label.css_date {
    padding-top: 0 !important;
    margin-top: -1px !important;
}

/* multiblock */
.form .multiblock .input_error {
    position: static;
    width: 76%;
}
.form .multiblock .input_error .error {
    text-align: left;
    float: none;
    margin-left: 0;
}
/*
.form .multiblock .radio .input_error,
.form .multiblock .col .input_error {
    margin-top: -10px;
}
*/

/* inputTwoCol */
.inputTwoCol .input_content {
    float: left;
}
.grid4 .inputTwoCol .input_content {
    float: right;
    padding-right: 10px;
}
.inputTwoCol .input_content input {
    float: none;
}
.grid4 .inputTwoCol .input_content input {
    margin-left: 0;
}
.inputTwoCol .input_content .input_error {
    float: none;
}
.inputTwoCol .input_content .input_error label {
    margin-right: 0;
    margin-top: -15px;
}

/* captcha */
.captchaWrapper .input_content {
    float: none;
}
.grid4 .captchaWrapper .input_content label {
    margin-right: 0;
}
#captchaResponse_error {
    position: absolute;
    top: 0;
    right: 0;
}
#captchaResponse_error label.error {
    width: auto !important;
    padding-right: 0 !important;
    margin-right: 0;
}
.grid4 #captchaResponse_error {
    position: static;
    padding-right: 10px;
}

fieldset div.imgBoxLeft .txtSection {
    margin-left: 62px;
}
/*Chrome and Safari Hack for Send-Button*/
@media screen and (-webkit-min-device-pixel-ratio:0)
{ fieldset .tsrBoxR, fieldset .tsrBoxL {
    width: 340px;
} }
@media screen and (-webkit-min-device-pixel-ratio:0)
{ .form button.btn span, .form a.btn span { 
	background-position: 100% 1px !important; 
} }
