
/* CSS form builder plugin stylesheets.
  - copy (or link) this file into public/stylesheets/ folder
  - include in your template (<%= stylesheet_link_tag 'css_form' %>)
*/

form.cssform, div.css_show {
  width: 816px;
  margin-left: auto;
  margin-right: auto;
  background-color: #eee;
  padding: 5px;
  border: 1px solid #444;
}

form.cssform .form-field , div.css_show  .form-field {
  display: block;
  float: left;
  font-size: 90%;
  padding: 0px 0px 2px 0px;
  margin: 0px 10px 0px 0px;
}

form.cssform br, div.css_show br {
  clear: both;
}

form.cssform .form-field input,
form.cssform .form-field select,
form.cssform .form-field textarea,
div.css_show .form-field span {
  float: left;
  padding: 0px;
}

form.cssform .form-field input,
form.cssform .form-field select,
form.cssform .form-field textarea {
  border: solid 1px #1F7F00;
}

div.form-field span{
  float: left;
  padding: 0px;
  font-weight: bold;
  background-color: #f7f7f7;
  border: solid 1px #1F7F00;
  width: 120px;
}

div.css_show .form-field span{
  font-weight: bold;
  background-color: #f7f7f7;
  border: solid 1px #1F7F00;
  width: 150px;
}

div.css_show .form-field span.textarea,
form.cssform .form-field textarea {
  width: 310px;
  height: 60px;
  border: solid 1px #1F7F00;
}

div.css_show .form-field span.textarea-double-size,
form.cssform .form-field textarea.double-size {
  width: 620px;
  height: 30px;
  border: solid 1px #1F7F00;
}

div.css_show  .form-field span.checkbox, 
div.css_show  .form-field span.radiobutton{
  width: 40px;
}

div.css_show pre{
  background-color: #f7f7f7;
}

form.cssform .form-field input.normal-size,
form.cssform .form-field select.normal-size,
div.css_show .form-field span.normal-size {
  width: 120px;
}

form.cssform .form-field input.larger-size,
form.cssform .form-field select.larger-size,
div.css_show .form-field span.larger-size {
  width: 200px;
}

form.cssform .form-field input.double-size,
form.cssform .form-field select.double-size,
div.css_show .form-field span.double-size {
  width: 310px;
}

form.cssform .form-field input.half-size,
form.cssform .form-field select.half-size,
div.css_show .form-field span.half-size {
  width: 70px;
}

form.cssform .form-field input.q-size,
form.cssform .form-field select.q-size,
div.css_show .form-field span.q-size {
  width: 40px;
}

form.cssform .form-field input.numeric,
div.css_show .form-field span.numeric {
  width: 120px;
  text-align: left;
}

form.cssform .form-field input.numeric-small,
div.css_show .form-field span.numeric-small {
  width: 35px;
  text-align: left;
}

form.cssform fieldset,
div.css_show fieldset {
  margin: 0px 5px 0px 5px;
  padding-top: 2px;
  padding-bottom: 4px;
  padding-left: 10px;
  border: 1px solid #aaa;
} 

form.cssform fieldset.right,
div.css_show fieldset.right {
  float: right;
  width: 320px;
}

form.cssform fieldset.continue,
div.css_show fieldset.continue {
  float: left;
  width: 350px;
}


form.cssform legend,
div.css_show legend {
  font-size: 14pt;
  font-weight: bold;
  font-style: italic;
  margin-left: 5px;
  margin-right: 5px;
  color: #555;
}

form.cssform label  {
    line-height: normal;
    text-align: right;
    margin-right: 10px;
    position: relative;
    display: block;
    float: left;
    width: 100px;
}

div.css_show label  {
    line-height: normal;
    text-align: right;
    margin-right: 10px;
    position: relative;
    display: block;
    float: left;
    width: 100px;
}
