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

   UNI-FORM DEFAULT by DRAGAN BABIC                         (v2) | Wed, 31 Mar 10

   ------------------------------------------------------------------------------

   Copyright (c) 2010, Dragan Babic

   Permission is hereby granted, free of charge, to any person
   obtaining a copy of this software and associated documentation
   files (the "Software"), to deal in the Software without
   restriction, including without limitation the rights to use,
   copy, modify, merge, publish, distribute, sublicense, and/or sell
   copies of the Software, and to permit persons to whom the
   Software is furnished to do so, subject to the following
   conditions:

   The above copyright notice and this permission notice shall be
   included in all copies or substantial portions of the Software.

   THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
   EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
   OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
   NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
   HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
   WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
   FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
   OTHER DEALINGS IN THE SOFTWARE.

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

.uniForm{}

    form.uniForm  {  background: #f5f5f5; padding-top: 14px;
 						   /* Border radii */
 						   border-radius:         4px;
 						   -moz-border-radius:    4px;
 						   -khtml-border-radius:  4px;
    					}

    .uniForm label { font-family: Arial, sans-serif; font-size: 16px; font-weight: bold; margin-bottom: 13px; }

    .uniForm label span { font-size: 12px; font-weight: normal; }

    .uniForm label em,
    .uniForm .label em{ width: 1em; color: #f48d1f; }

    .uniForm legend{ font-weight: bold; font-size: 100%; margin: 0; padding: 1.5em 0; }

    .uniForm .ctrlHolder{ padding-top: 14px; padding-bottom: 20px;  }
    .uniForm .ctrlHolder.focused{ }

    .uniForm .inlineLabels .noLabel{}

    .uniForm .buttonHolder{ background: #ececec; padding: 28px;
                            /* CSS3 */
                            border-radius:         0 0 4px 4px;
                            -webkit-border-radius: 0 0 4px 4px;
                            -moz-border-radius:    0 0 4px 4px;
                            -o-border-radius:      0 0 4px 4px;
                            -khtml-border-radius:  0 0 4px 4px;
                          }

      .uniForm .buttonHolder .secondaryAction {
        float: right;
        margin-top: 15px;
        color: #999;
      }

      .uniForm .buttonHolder .primaryAction{
color: #fff; font-family: Patagonia; text-align: center; padding: 15px 50px; font-size: 18px; font-weight: normal; line-height: 1; border: none; outline: none; font-weight: normal; text-transform: uppercase;
/* Border radii */
border-radius:         4px;
-moz-border-radius:    4px;
-khtml-border-radius:  4px;
text-shadow: 0px 1px 0px #343434;
background: #f78d00;
background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2Y3OGQwMCIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNkMzM0MjIiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
background: -moz-linear-gradient(top,  #f78d00 0%, #d33422 100%);
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f78d00), color-stop(100%,#d33422));
background: -webkit-linear-gradient(top,  #f78d00 0%,#d33422 100%);
background: -o-linear-gradient(top,  #f78d00 0%,#d33422 100%);
background: -ms-linear-gradient(top,  #f78d00 0%,#d33422 100%);
background: linear-gradient(top,  #f78d00 0%,#d33422 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f78d00', endColorstr='#d33422',GradientType=0 );
                                           }
      .uniForm .buttonHolder .primaryAction:hover {
text-decoration: none;
/* Box shadows */
box-shadow:         0px 0px 10px rgba(0,0,0,.25);
-webkit-box-shadow: 0px 0px 10px rgba(0,0,0,.25);
-moz-box-shadow:    0px 0px 10px rgba(0,0,0,.25);
background: #f7a900;
background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2Y3YTkwMCIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNkZDQxMmUiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
background: -moz-linear-gradient(top,  #f7a900 0%, #dd412e 100%);
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f7a900), color-stop(100%,#dd412e));
background: -webkit-linear-gradient(top,  #f7a900 0%,#dd412e 100%);
background: -o-linear-gradient(top,  #f7a900 0%,#dd412e 100%);
background: -ms-linear-gradient(top,  #f7a900 0%,#dd412e 100%);
background: linear-gradient(to bottom,  #f7a900 0%,#dd412e 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f7a900', endColorstr='#dd412e',GradientType=0 );
      }

      .uniForm .buttonHolder .primaryAction:active{
color: #fff;
/* Box shadows */
box-shadow:         0px 3px 9px rgba(0,0,0,.25) inset;
-webkit-box-shadow: 0px 3px 9px rgba(0,0,0,.25) inset;
-moz-box-shadow:    0px 3px 9px rgba(0,0,0,.25) inset;
      }
      .uniForm .buttonHolder .primaryAction:visited{ color: #fff; }
      .uniForm .secondaryAction            { text-align: left; }
      .uniForm button.secondaryAction      { background: transparent; border: none; color: #777; margin: 1.25em 0 0 0; padding: 0; }

        .uniForm .inlineLabels label em,
        .uniForm .inlineLabels .label em{ font-style: normal; font-weight: bold; }
        .uniForm label small{ font-size: .75em; color: #777; }

      .uniForm .textInput,
      .uniForm textarea    { padding-top: 7px; padding-bottom: 7px; border: 1px solid #ccc; background: #fff; padding-left: 4px; padding-right: 4px;
/* Box sizing */
box-sizing:         border-box;
-webkit-box-sizing: border-box;
-moz-box-sizing:    border-box;
}
      .uniForm textarea    { height: 12em; }
      .uniForm select      {}
      .uniForm .fileUpload {}

/* Required Atribute Border Fix For Mozilla  */
input:-moz-placeholder { box-shadow:none !important; }
input:invalid { box-shadow:0 0 0px; }​
textarea:-moz-placeholder { box-shadow:none !important; }
textarea:invalid { box-shadow:0 0 0px; }​


      .uniForm ul{}
        .uniForm li{}
          .uniForm ul li label{ font-size: 16px; font-weight: bold; }

            .uniForm .small {}
            .uniForm .medium{}
            .uniForm .large {} /* Large is default and should match the value you set for .textInput, textarea or select */
            .uniForm .auto  {}
            .uniForm .small,
            .uniForm .medium,
            .uniForm .auto{}

      /* Get rid of the 'glow' effect in WebKit, optional */
      .uniForm .ctrlHolder .textInput:focus,
      .uniForm .ctrlHolder textarea:focus{ outline: none; background-color: #ffffdf; border: 1px solid #343434; }

      .uniForm .formHint                    { font-size: .85em; color: #777; }
      .uniForm .inlineLabels .formHint      { padding-top: .5em; }
      .uniForm .ctrlHolder.focused .formHint{ color: #333; }

/* ----------------------------------------------------------------------------- */
/* ############################### Messages #################################### */
/* ----------------------------------------------------------------------------- */

  /* Error message at the top of the form */
  .uniForm #errorMsg{ background: #ffdfdf; border: 1px solid #f3afb5; margin: 0 0 1.5em 0; padding: 0 1.5em;
                      /* CSS3 */
                      border-radius:         4px;
                      -webkit-border-radius: 4px;
                      -moz-border-radius:    4px;
                      -o-border-radius:      4px;
                      -khtml-border-radius:  4px;
                    }
    .uniForm #errorMsg h3{} /* Feel free to use a heading level suitable to your page structure */
    .uniForm #errorMsg ol{ margin: 0 0 1.5em 0; padding: 0; }
      .uniForm #errorMsg ol li{ margin: 0 0 3px 1.5em; padding: 7px; background: #f6bec1; position: relative; font-size: .85em;
                                /* CSS3 */
                                border-radius:         4px;
                                -webkit-border-radius: 4px;
                                -moz-border-radius:    4px;
                                -o-border-radius:      4px;
                                -khtml-border-radius:  4px;
                              }

  .uniForm .ctrlHolder.error,
  .uniForm .ctrlHolder.focused.error{ background: #ffdfdf; border: 1px solid #f3afb5;
                                      /* CSS3 */
                                      border-radius:         4px;
                                      -webkit-border-radius: 4px;
                                      -moz-border-radius:    4px;
                                      -o-border-radius:      4px;
                                      -khtml-border-radius:  4px;
                                    }
    .uniForm .ctrlHolder.error input.error,
    .uniForm .ctrlHolder.error select.error,
    .uniForm .ctrlHolder.error textarea.error{ color: #af4c4c; margin: 0 0 6px 0; padding: 4px; }

 .uniForm  p.error, .uniForm p.invalid { background: #cd190b; width: 100%; color: #fff; margin-top: 0px; padding: 5px 0; text-align: center; font-size: 13px;
  				/* Border radii */
  				border-radius:         4px;
  				-moz-border-radius:    4px;
  				-khtml-border-radius:  4px;
  				}
	 p.error-title { background-color: #cd190b; color: #fff; font-size: 18px; font-family: Arial, sans-serif; font-weight: bold; text-transform: uppercase; margin: 0; padding: 20px 28px 20px 0; width: 100%; text-align: center;  position: relative; letter-spacing: 1px; display: none; }


  /* Success messages at the top of the form */
  .uniForm #okMsg{ background: #c8ffbf; border: 1px solid #a2ef95; margin: 0 0 1.5em 0; padding: 1.5em; text-align: center;
                   /* CSS3 */
                   border-radius:         4px;
                   -webkit-border-radius: 4px;
                   -moz-border-radius:    4px;
                   -o-border-radius:      4px;
                   -khtml-border-radius:  4px;
                 }
    .uniForm #okMsg p{ margin: 0; }

/* ----------------------------------------------------------------------------- */
/* ############################### Columns ##################################### */
/* ----------------------------------------------------------------------------- */

    .uniForm .col{}
    .uniForm .col.first{}
    .uniForm .col.last{}
    .uniForm .col{ }
    /* Use .first and .last classes to control the layout/spacing of your columns */
    .uniForm .col.first{ width: 49%; float: left; clear: none;                   }
    .uniForm .col.last { width: 49%; float: right; clear: none; margin-right: 0; }
