fieldset {
    width: 420px;
    margin: 0;
    padding: 0;
    border: none;
}

legend {
    padding: 3px 0;
    text-align: left;
}

input:focus, textarea:focus {
    background: #dee2e4;
    border: 1px solid #ccc;
}

input {
    margin-bottom: 5px;
    padding: 4px 4px 2px 4px;
    overflow: hidden;
} 

/* Kontaktformular */

#mailform label {
    display: block;
    line-height: 18px;
    margin: 5px 3px 0 0;
}


.tx_mailform_submit
, #mailform input[type="submit"] {
    border: 1px solid #ccc;
    height: 22px;
    line-height: 16px;
    background: #c6e0e8;
    padding: 0;
}

#mailform textarea {
    margin-bottom: 5px;
    padding: 4px 4px 2px 4px;
    overflow: auto;
    border: 1px solid #ccc;
}

#mailform select {
    margin-bottom: 5px;
    border: 1px solid #ccc;
    height: 20px;
}

form#mailform input
, form#mailform textarea
, form#mailform select {
    width: 400px;
    border: 1px solid #ccc;
}

#mailform input.csc-mailform-check {
    margin-bottom: 10px;
    width: 20px;
    line-height: 20px;
    border: 1px solid #ccc;
}
    
form#mailform input#mailformformtype_mail {
    border: 1px solid #ccc;
    width: 140px;
    height: 20px;
    line-height: 14px;
    background: #c6e0e8;
    padding: 0;
}


/* Suchbox */

form#searchform {
    margin: 0;
    padding: 0;
}

input#search_field {
    background: url(/fileadmin/templates/img/bg_search.png) no-repeat;
    float: left;
    width: 150px;
    height: 17px;
    border: none;
    padding: 7px 4px 5px 5px; 
    margin: 0;
}

input#search_button {
    background: url(/fileadmin/templates/img/bg_search_button.png) no-repeat;
    width: 36px;
    height: 29px;
    border: none;
    margin: 0;
}

input.sword {
    width: 380px;
}

/* Routenplaner */


div.fromdirform input
, div.todirform input {
    height: 15px;
    line-height: 12px;
    margin: 0;
    padding: 2px;
}

div.fromdirform input[type="submit"]
, div.todirform input[type="submit"] {
    height: 20px;
    line-height: 12px;
    margin: 0 0 0 4px;
    padding: 0;
}




/* Mailform-Extension */

.tx_mailform_div_label_left {
	width: 420px;
}

/**
  * Normal Text element
  */
.tx_mailform_text {
  font-size: 11px;
  border: 1px solid #222;
  height: 15px;
}

/**
 * Select (Dropdown / Multiselect)
 */
.tx_mailform_select {
  font-size: 10px;
  border: 1px solid #222;
  margin-bottom: 5px;
}

.tx_mailform_option {
  font-size: 10px;
}

/**
 * Textarea
 */
.tx_mailform_textarea {
  font-size: 11px;
  margin-bottom: 5px;
  border: 1px solid #222;
}

/**
 * Password field
 */
.tx_mailform_password {
  font-size: 10px;
  border: 1px solid #222;
  margin-bottom: 5px;
}

/**
 * File Upload
 * Currently not functional
 */
.tx_mailform_file {
  font-size: 10px;
  border: 1px solid #222;
  margin-bottom: 5px;
}

/**
 * Captcha
 */
.tx_mailform_captcha {
  font-size: 15px;
  border: 1px solid #222;
  height: 18px;
}

/**
 * Checkboxes
 */

div.tx_mailform_checkbox_element {
        width: 440px;
	height: 20px;
	position: relative;
}

input.tx_mailform_checkbox_box {
	border: none;
	width: 20px;
	position: absolute;
	top: 0;
	left: 0;
}

label.tx_mailform_cb_label {
    position: absolute;
    top: 0;
    left: 25px;
    line-height: 15px;
    padding: 2px 0;
    text-align: left;
    width: 400px;
}

/**
 * Radio Buttons
 */
input.tx_mailform_radio_button { }

td.tx_mailform_radio_text {
  font-size: 10px;
  padding: 5px;
}
label.tx_mailform_rb_label {
  font-size: 10px;
  margin-bottom: 2px;
}


tx_mailform_radio_element {
	width: 120px;
	height: 15px;
}



/**
 * Submitbutton with extended features
 */
.tx_mailform_submitextended {
  font-size: 10px;
  border: 1px solid #222;
  margin-bottom: 5px;
}

.tx_mailform_navi_nextpage {
	font-size: 10px;
	margin-bottom: 5px;
}

.tx_mailform_navi_previouspage {
	font-size: 10px;
	margin-bottom: 5px;
}

.tx_mailform_navi_reload {
	font-size: 10px;
	margin-bottom: 5px;
}

.tx_mailform_navi_pagenavi {
	font-size: 10px;
	margin-bottom: 5px;
}

.tx_mailform_div_err_msg_1 {
    color: red;
}




