/* ### Uni-Form by Dragan Babic  - http://dnevnikeklektika.com/ ### */
/* ### Some rights reserved - http://creativecommons.org/licenses/by-sa/2.5/ ### */

/* Uni-Form styles are embeded here for viewing convenience */
/* Edit below "user prefs" comment only for each selector */

.uniForm {
  margin: 0;
  padding: 0;
  position: relative;
  width: 100%;
  /* user prefs */
  padding: 10px 0;
}

/* Some generals */
.uniForm fieldset {
  border: none;
  margin: 0;
  padding: 0;
  /* user prefs */
  /* margin:0 0 7px 0; padding:0 0 10px 0;
  border-bottom:1px solid #efefef; */
}

.uniForm fieldset legend {
  color: #000; /* Reset IE */
  margin: 0;
  padding: 0;
  /* user prefs */
  margin-bottom: .25em;
  font-weight: bold;
  font-size: 110%;
  color: #5596c0;
  clear: both;
  padding-top: 1em;
  white-space: normal;
}

.uniForm .ctrlHolder { /* This is the main unit that contains our form "modules" */
  overflow:hidden;
  margin: 0 0.5em;
  padding: 0;
  clear: both;
  /* user prefs */
  /* background: #cce1f2; */
  background: none;
  padding: 7px 4px;
}

.buttonHolder {
/*  overflow: hidden; */
/*  clear: both; */
  /* user prefs */
  margin: 0;
  padding: 10px 0 0 0;
  text-align: right;
/*  position: relative; */
  height: 2em;
}

 form .buttonHolder {
  background: #dbebf7;
}

form .buttonHolder ul {
  float: right;
  width: 80%;
/*  display: inline; */
  background: #ffffff url('images/ltb_corner.png') top left no-repeat;
  padding: 10px 0 0 20px;
}

.buttonHolder li {
  background-image: none;
  float: right;
  display: inline;
  padding-left: 10px;
}

.buttonHolder li.left {
  float: left;
  padding-left: 0;
  padding-right: 10px;
}

form .buttonHolder ul.center {
  width: auto;
  background: #fff;
  float: none;
  text-align: center;
}

.buttonHolder li.center {
  float: none;
  padding-right: 5px;
  padding-left: 5px;
}

.buttonHolder li.payment {
  float: none;
  display: block;
  border-bottom: 1px solid #ddd;
  margin-bottom: 1em;
}

.submitButton {}

.uniForm .buttonHolder{ text-align: right; }
.uniForm .resetButton{ float: left; }
.uniForm .primaryAction{ font-weight: bold; float: right; }

.uniForm .multiField,
      .uniForm .blockLabels .multiField{ width: 60%; }
        .uniForm .multiField .inlineLabel,
        .uniForm .blockLabels .multiField .inlineLabel{ display: block; margin: 0 0 .5em 0; }
        .uniForm .multiField .blockLabel,
        .uniForm .blockLabels .multiField .blockLabel{ width: 30%; margin: 0 10px 0 0; }
        .uniForm .multiField .blockLabel .textInput,
        .uniForm .multiField .blockLabel .selectInput,
        .uniForm .multiField .blockLabel select,
        .uniForm .blockLabels .multiField .blockLabel .textInput,
        .uniForm .blockLabels .multiField .blockLabel .selectInput,
        .uniForm .blockLabels .multiField .blockLabel select{ width: 100%; margin: .3em 0 0 0; }

          .uniForm .inlineLabel{
            width:auto;
            float:none;
            display:inline;
            /* user prefs */
            margin:0 2em 0 0;
            font-weight:normal;
          }
            .uniForm .inlineLabel input{
            }
.uniForm .inlineLabels .multiField .inlineLabel { display: inline; }

/* Highlighting the rows on input focus */
.focused {
  /* background:#FFFCDF url(../images/uf_focused.png);
     border:1px solid #EFE795; border-width:1px 0;
     padding:7px 4px; */
}


/* Styles for form controls where labels are in line with the input elements */
/* Set the class to the parent to .inlineLabels */
.inlineLabels .ctrlHolder {}
.uniForm .inlineLabels label, .uniForm .inlineLabels .label {
  float: left;
  margin: .3em 0 0 0;
  padding: 0;
  line-height: 100%;
  /* user prefs */
  width: 27%;
  margin: 0;
  font-weight: normal;
  font-size: 110%;
  text-align: right;
  padding: 3px 3% 3px 0;
}

.inlineLabels .textInput, .inlineLabels .fileUpload {
/*  float: left; */
  /* user prefs */
  width: 67%;
  border: 1px solid #dfdfdf;
  padding: 3px;
}

.inlineLabels .fileUpload > input {}

.inlineLabels .selectInput {
/*  float: left; */
  /* user prefs */
  width: 67%;
  border: 1px solid #dfdfdf;
  padding: 3px;
}

.inlineLabels textarea {
  float: left;
  width: 69%;
  /* user prefs */
  border: 1px solid #dfdfdf;
  height: auto;
}

.inlineLabels .formHint {
  clear: both;
  /* user prefs */
  color: #999;
  margin: .5em 0 0 30%;
  padding: 3px 0;
  font-size: 80%;
}

              /* inlineLabels esthetics */
              .inlineLabels .formHint strong{
                padding:0 0 0 14px;
                background:url(../images/bullet_error.png) 0 0 no-repeat;
                display:inline-block;
              }


/* ########################################################################## */
/* Styles for form controls where labels are above the input elements */
/* Set the class to the parent to .blockLabels */
.uniForm .blockLabels .ctrlHolder {}

.uniForm.blockLabels label,.uniForm .blockLabels .label{
                display:block;
                float:none;
                margin:.3em 0; padding:0;
                line-height:100%;
                width: 95%;
                /* user prefs */
                font-weight:bold;
                width:auto;
              }
              .blockLabels .label{
                float:left;
                margin-right:3em;
              }

              .blockLabels .textInput{
                float:left;
                width: 95%;
                /* user prefs */
                border:2px solid #dfdfdf;
                padding: 2px;
              }

              .blockLabels .selectInput{
                float:left;
                width:100%;
                /* user prefs */
                border:2px solid #dfdfdf;
                margin-top: 1px;
              }

              .uniForm .blockLabels textarea{
                display:block;
                float:left;
                width: 95%;
                /* user prefs */
                border:2px solid #dfdfdf;
                height:12em;
              }
              .blockLabels textarea.small { height: 6em; }

            .blockLabels .formHint{
              float:right;
              margin:0;
              width:38%;
              clear:none;
              /* user prefs */
              color:#999;
              font-size:80%;
              font-style:italic;
            }

            /* blockLabels esthetics */
            .blockLabels .ctrlHolder{
              /*border:1px solid #dfdfdf; border-width:1px 0;
              margin-top:-1px; */
            }

            .blockLabels .focused{
              padding:7px 4px;
            }

/* ########################################################################## */

/* Focus pseudoclasses */
.ctrlHolder .textInput:focus, .ctrlHolder .selectInput:focus {
  border-color: #DFD77D;
  background: #FFFCDF;
}

div.focused .textInput:focus {}
div.focused .formHint { color:#000; }

/* Required asterisk styling, use if needed */
label em, .label em {
  display: block;
  position: absolute;
  left: 28.5%;
  padding-top: 3px;
  font-style: normal;
  font-weight: bold;
  color: #ed1c24;
}

.blockLabels label em, .blockLabels .label em {
  position: static;
  display: inline;
}

/* Messages */
.uniForm #errorMsg, .uniForm .message {
  margin: 0.25em 0;
  padding: 1em;
  background: #fde8e4 url('images/error_icon_big.png') 20px 10px no-repeat;
  padding-left: 70px;
}

.uniForm .error, .uniForm .blockLabels.ctrlHolder.error { position:relative; }
.uniForm .error p { line-height: 100%; padding-top: 3px; }
.uniForm #errorMsg dt, .uniForm #errorMsg h3{
  font-size: 110%;
  font-weight: bold;
  color: #000;
  margin: 0;
  padding: 0 0 5px 0;
}
.uniForm #errorMsg dd { margin: 0; padding: 0; }
.uniForm #errorMsg ol {
  margin: 0;
  padding: 0;
   margin-left: 20px;
}
.uniForm #errorMsg ol li {
  margin: 0;
  padding: 2px;
  position: relative;
  line-height: 100%;
}

.uniForm .errorField { margin: 0 0 3px 0; }
.uniForm .inlineLabels .errorField {
  background: url('images/error_icon.png') top left no-repeat;
  margin-left: 30%;
  padding-left: 22px;
}
                .uniForm .errorField strong{
                  background:#FFE2E2;
                  padding:1px 3px 3px 3px;
                  }
             .ctrlHolder.error input,
             .ctrlHolder.error textarea,
             .ctrlHolder.error input:focus,
             .ctrlHolder.error textarea:focus {
                              border-color:#DF7D7D;
             }
             .ctrlHolder.error.focused{
               padding:7px 4px;
             }