  /*
  **  stylesheet definitions for ###DOMAIN### - form styles
  **
  **  line endings: unix; encoding: utf-8; BOM: off; tabs: spaces; tab width: 2
  **
  **  @copyright  (c) Profi Webmedia
  **  @author     ###AUTHOR###
  **  @since      ###DATE###
  */

  /*
  @import url('style-reset.css');
  @import url('style-typography.css');
  @import url('style-form.css');
  */

  /* the following two rules are only available during development */
  /*
  body.dev {
    font-size: 62.5%;
    font-family: Arial, Helvetica, sans-serif;
    margin: 2em;
    background: #deb887 url('../img/bg-sample.png');
  }

    body.dev div.content-dummy {
      font-size: 1.2em;
      width: 400px;
      background-color: #fff;
      margin: 0 auto;
      padding: 2em;
    }
  */

  /* css definitions for live environment */
  form.complex {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.8em;
  }

    /* the styles of this elements should be adapted to the style-typography settings of normal ul/li content elements */
    form.complex div.form-results {
      border-color: #f00;
      border-width: 0px 2px 2px 2px;
      border-style: solid;
      margin-bottom: 2em;
    }

      form.complex div.form-results h2 {
        background-color: #f00;
        color: #fff;
        font-weight: bold;
        padding: 0.5em;
      }

      form.complex div.form-results ul {
        margin: 0.5em !important;
        list-style-type: none !important;
        padding: 0 !important;
      }

        form.complex div.form-results ul li {
          color: #f00;
          line-height: 1.5em;
          background: transparent url('../img/exclamation.png') left center no-repeat;
          padding: 0.5em 0 0.5em 2em !important;
          margin: 0 !important;
        }

    /* common styles */
    form.complex input[type=text],
    form.complex input.text, /* this special class is needed for IE6 browsers because attribute selectors are only processed during page rendering */
    form.complex textarea {
      border: 1px solid #a3976b;
    }

    form.complex input[type=text],
    form.complex input.text, /* this special class is needed for IE6 browsers because attribute selectors are only processed during page rendering */
    form.complex input[type=reset],
    form.complex input[type=submit],
    form.complex select,
    form.complex textarea {
      /* font family needs to be specified */
      font: 1em Arial, Helvetica, sans-serif;
    }

    form.complex input.align-center {
      text-align: center;
    }

    /*
      explicit reset of ol and li elements
      the !important rule is needed because standard content elements are margined/padded
    */
    form.complex ol,
    form.complex ol li {
      margin: 0 !important;
      padding: 0 !important;
    }

    /* this is the only way to define margin and padding in IE6 */
    form.complex ol {
      margin-bottom: 2em !important;
      padding-top: 0.4em !important;
      list-style-type: none !important;
    }

    /* new padding rule for field container elements */
    form.complex ol li {
      padding: 0.25em !important;
      clear: both;
    }

    form.complex fieldset.one-column ol li {
      width: 100% !important;
      padding: 0.25em 0 !important;
    }
    
    form.complex fieldset.one-column label {
      float: left;
      width: 15%;
      line-height: 1.5em;
    }

    form.complex fieldset.two-column ol li {
      clear: none !important;
      float: left !important;
      width: 50% !important;
      padding: 0.25em 0 !important;
    }

    form.complex fieldset.two-column ol li.empty {
      line-height: 2.0em;
    }

    /* form container and fieldset style for 	erroneous fields */
    form.complex li.error,
    form.complex fieldset.error {
      background: transparent url('../img/exclamation.png') 98% center no-repeat;
    }

      form.complex li.error input.culprit {
        border: 1px solid #f00;
      }

    /* fieldset settings */
    form.complex fieldset {
      /* necessary, because radio/checkbox field containers are floated */
      clear: both;
      /*border-top: 1px solid #cecece;*/
      /* this isnt supported by IE6, moved it to ol definition
      margin-bottom: 2em;
      padding-top: 0.4em;
      */
    }

      form.complex fieldset legend {
        font-family: 'Arial';
        color: #8f8f8e;
        font-size: 0.95em;
        font-weight: bold;
      }

    /* settings for special elements */

    /*
      a fieldset can hold label/field combinations which are in reverse order, e.g. radio/checkbox fieldsets

      margin setting MUST be identical with normal fieldset labels
      the !important rule overrides the reset of ol elements
    */
    form.complex fieldset.label-after-field ol {
      float: left;
      width: 70%;
    }

    /* the captcha fieldset */
    form.complex fieldset.captcha ol {
      margin-left: 30% !important;
    }

      /* the reverse labeled fields must be labeld with a paragraph element which behaves like a legend */
      form.complex fieldset.label-after-field p.legend {
        float: left;
        width: 30%;
        line-height: 2.5em !important;
      }

      form.complex fieldset.label-after-field p.legend,
      form.complex fieldset p.long-legend {
        line-height: 1.5em;
        font-weight: bold;
      }

      form.complex fieldset.label-after-field ol li {
        clear: none !important;
      }

      /* common label settings */
      form.complex fieldset label {
        float: left;
        width: 30%;
        line-height: 1.5em;
        font-family: 'Arial';
        color: #8f8f8e;
        font-size: 0.95em;
        text-align: right;
        padding-right: 3px;
      }
        
        form.complex fieldset label.required {
          font-weight: bold;
          text-align: right;
          padding-right: 3px;
        }

      /* labels can be marked with this class if used in a fieldset without a label */
      form.complex fieldset label.no-legend {
        font-weight: bold;
      }

      /*
        no floating and auto width for radio/checkbox labels
        and field-pair labels
      */
      form.complex fieldset.label-after-field label,
      form.complex li.field-pair label {
        float: none;
        width: auto;
      }

        /* a span with the class label-container wraps a label pair */
        form.complex li.field-pair span.label-container {
          float: left;
          width: 30%;
        }

    /* form help elements - rarely used yet */
    form.complex p.form-help {
      font-size: 0.9em;
      line-height: 1.5em;
    }

  /* this class can change later! */
  form.complex input.calendar-button {
    border: none;
    margin: 1px;
    padding: 1px;
    text-indent: -9999em;
    width: 16px;
    height: 16px;
    background: transparent url('../img/calendar_icon.png') center no-repeat;
  }

  /* just an experiment
  form.complex input.raise-button,
  form.complex input.lower-button {
    border: none;
    margin: 0;
    padding: 0;
    background-color: transparent;
    background-position: center;
    background-repeat: no-repeat;
    text-indent: -9999em;
    width: 16px;
    height: 16px;
  }

  form.complex input.raise-button {
    background-image: url('../img/ico-raise.png');
  }

  form.complex input.lower-button {
    background-image: url('../img/ico-lower.png');
  }
  */

    /* the form action buttons (submit/reset) */
    form.complex ul.form-actions {
      text-align: right;
    }

      form.complex ul.form-actions li {
        display: inline;
      }

  /* special settings for some input fields */
  input#countAdults,
  input#countChildren,
  input[id|=ageChild] {
    width: 2em;
  }

  /* some space for the privacy text... */
  form.complex .bodytext {
    margin: 1.5em 0 !important;
    font-size: 0.95em;
  }
  
  form.complex .captcha-label {
    width: 20%;
  }
  .error {
    font-family: 'Arial';
    color: #ff0000;
    font-size: 0.8em;
    padding: 8px 0 8px 25px;
    background: transparent url('../img/error.png') 3px 5px no-repeat;
  }
  .error-header {
    background-color: #ff0000;
    color: #ffffff;
    font-weight: bold;
    padding: 3px 5px;
  }
  #error-output {
    border: 2px solid #ff0000;
    margin-bottom: 15px;
    font-family: 'Arial';
    font-size: 0.9em;
  }
  form.complex input.text {
    border: 1px solid #A3976B;
  }
  form.complex textarea.text {
    border: 1px solid #A3976B;
    width: 420px;
  }
  