@charset "utf-8";
/* CSS Document */

  /**
   *  YAML Forms - visual styling
   *
   *  (en) visual form styling area
   */

  #contactform {
	background: #edebd6;
	border:1px #ddd solid;
	margin:0 0 1em 0;
	padding:15px;
  }

  #contactform fieldset {
    border:1px #ddd solid;
    background:#edebd6;
    margin:0 0 1em 0;
    padding:0.5em;
  }
  
  #contactform legend {
    font-size:125%; font-weight:normal; color:#000;
  }

  #contactform label {
	color:#000;
  }

  #contactform input,
  #contactform textarea,
  #contactform select, 
  #contactform optgroup {
    font-family:Arial, Helvetica, sans-serif; /* proportional fonts for all form elements */
  }

  #contactform .type-text input,
  #contactform .type-text textarea,
  #contactform .type-select select {
    border:1px solid #ddd;
  }

  /* :hover and :focus status on form fields */
  #contactform div input:focus,
  #contactform div select:focus,
  #contactform div textarea:focus,
  #contactform div input:hover,
  #contactform div select:hover,
  #contactform div textarea:hover,
  #contactform div input:active,
  #contactform div select:active,
  #contactform div textarea:active {
    border:1px #a66 solid;
    background:#fff;
  }

  /* avoid jumping checkboxes & radiobuttons in IE8 */
  #contactform div.type-check input:focus,
  #contactform div.type-check input:hover,
  #contactform div.type-check input:active { border:0 none; }

  /* Styling of buttons */
  #contactform .type-button input {
    border-top:1px #ddd solid;
    border-left:1px #ddd solid;
    border-right:1px #444 solid;
    border-bottom:1px #444 solid;
    color:#fff;
    background:#454545 url(images/button_gray.png) top left repeat-x;
    padding:.5em 1.2em;
  }

  #contactform .type-button input[type=submit] { color:#fff; background:#5e5607 url(images/button_yellow.png) top left repeat-x; }

  /* optional button styling for IE6 using classes */
  #contactform .type-button input.submit { color:#fff; background:#5e5607 url(images/button_yellow.png) top left repeat-x; }

  /* :hover and :focus status on buttons */
  #contactform div.type-button input:focus,
  #contactform div.type-button input:hover,
  #contactform div.type-button input:active {
    border-top:1px #444 solid;
    border-left:1px #444 solid;
    border-right:1px #ddd solid;
    border-bottom:1px #ddd solid;
    color:#fff;
    background:#555; 
  }

  #contactform div.type-button input.submit:focus,
  #contactform div.type-button input.submit:hover,
  #contactform div.type-button input.submit:active {
    background:#880; color:#fff;
  }

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

 /**
  * Vertical-Forms - technical base (standard)
  *
  * |-------------------------------|
  * | fieldset                      |
  * |-------------------------------|
  * |   label                       |
  * |   input / select / textarea   |
  * |-------------------------------|
  * | /fieldset                     |
  * |-------------------------------|
  *
  * (en) Styling of forms where both label and input/select/textarea are styled with display:block;
  *
  * WARNING:This part contains several IE-stability-fixes. Don't edit this part if you are not sure, what you're doing!
  */

  /* General form styling  | Allgemeine Formatierung des Formulars */
  #contactform {
	overflow:hidden;
	background: #d0cc95;
}
  #contactform fieldset { overflow:hidden; }
  #contactform label { display:block; cursor:pointer; }
  #contactform legend { background:transparent; border:0; padding:0 0.5em; }
  #contactform .message { display:block; margin-bottom:0.5em; color:#666; }

  /* Hiding of hidden fields (otherwise ugly spaces in Firefox) */
  #contactform input[type=hidden] { display:none !important; }

  /* Highlight mandatory fields */
  #contactform sup { color:#800; font-weight:bold; }

  /* styling containing DIV elements */
  #contactform div.type-text,
  #contactform div.type-select,
  #contactform div.type-check,
  #contactform div.type-button {
    margin:0.5em 0;
    padding:3px 0.5em;  
    position:relative;
    overflow:hidden;
  }

  #contactform div.type-button {
	padding:3px 0em;
	margin-left: 31%;
  }

  /* styling standard form elements with 'almost' equal flexible width */
  #contactform .type-text input,
  #contactform .type-text textarea {
    display:block;
    position:relative;
    padding:0.3em 0.3em;
    width:58.5%;
  }

  #contactform .type-select select {
    display:block;
    position:relative;
    padding:0.3em 2px 0.3em 1px;
    width:60%;
    cursor:pointer;
  }
  #contactform .type-select select optgroup {
    font-style:normal;
    font-weight:bold;
  }

  #contactform .type-check input { cursor:pointer; }
  #contactform .type-check label { display:inline; }

  /* Styling of buttons | Gestaltung von Buttons */
  #contactform .type-button input {
    width:auto;
    cursor:pointer;
  }

  /* Styling of error-messages */
  #contactform div.error {
    border:1px #a00 dashed;
    background:#faf4f4;
    padding:0.5em;
  }

  #contactform div.error label { color:#000; font-weight:bold; }
  #contactform div.error .message { color:#800; }

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

  /* Indent Checkbox fields to match label-width */

  .full div.type-text input,
  .full div.type-text textarea { width:95.5%; }
  .full div.type-select select { width:97.0%; }
  
  /* width adjustments for IE 5.x & IE6 */
  * html .full div.type-text input,
  * html .full div.type-text textarea { width:95.5%; }
  * html .full div.type-select select { width:97.0%; }
  
  
   /*------------------------------------------------------------------------------------------------------*/

 /**
  * Columnar forms display - technical base (optional)
  *
  * |-------------------------------------------|
  * | fieldset                                  |
  * |-------------------------------------------|
  * |                                           |
  * |   label   |   input / select / textarea   |
  * |                                           |
  * |-------------------------------------------|
  * | /fieldset                                 |
  * |-------------------------------------------|
  *
  * (en) Styling of forms where label floats left of form-elements
  *
  * WARNING:This part contains several IE-stability-fixes. Don't edit this part if you are not sure, what you're doing!
  */

  /* Columnar display */
  .columnar .type-text label,
  .columnar .type-select label {
    float:left;
    width:30%; /* Can be fixed width too */
  }

  /* Indent Checkbox fields to match label-width */
  .columnar div.type-check input { margin-left:30%; }
  .columnar div.error .message { margin-left:30%; }

  .columnar div.type-text input,
  .columnar div.type-text textarea { float:left; width:67.8%; }
  .columnar div.type-select select { float:left; width:69.4%; }
  
  /* width adjustments for IE 5.x & IE6 */
  * html .columnar div.type-text input,
  * html .columnar div.type-text textarea { float:left; width:67.2%; }
  * html .columnar div.type-select select { float:left; width:68.8%; }
  
 /*------------------------------------------------------------------------------------------------------*/

 /**
  * Global fixes for YAML's form construction set
  *
  * @workaround
  * @affected IE 5.x/Win, IE6, IE7
  * @css-for IE 5.x/Win, IE6, IE7
  * @valid no
  */

  .yform, 
  .yform div,
  .yform div * { zoom:1; }

 /**
  * Forms Fieldset/Legend-Bug in IE
  * @see http://www.mattheerema.com/web-design/2006/04/getting-fieldset-backgrounds-and-legends-to-behave-in-ie/
  *
  * @workaround
  * @affected IE 5.x/Win, IE6, IE7, IE8
  * @css-for IE 5.x/Win, IE6, IE7, IE8
  * @valid no
  */
  
  /* all IE */
  .yform { padding-top:0\9; }
  .yform fieldset { padding:0 5px\9; padding-top:1em\9; }
  .yform legend { position:absolute\9; top:-.5em\9; *left:0\9; }
  .yform fieldset { position:relative\9; overflow:visible\9;  margin-top:1.5em\9; zoom:1; }

  /* IE5.x, IE6 & IE7 */
  .yform legend { *padding:0 5px; }
  .yform fieldset { *padding-top:1.5em; }
  
  /* IE5.x & IE6 */
  * html .yform { padding-top:10px; }
#contactform p.submit img {
	margin-left: 30%;
}
#contactform .errors {
	margin: 0 0 10px 0;
	color: #f00;
}
#contactform .type-text #comments { font-size: 0.9em; }
#contactform .LastName{ border: 0 none;width:1px;height:1px;overflow:hidden; }
