[class*=gzPrettyForms] {
  font-size: inherit;
}

/**
 * Textareas
 */

.gzPrettyForms-textarea {
  border: 1px solid #999999;
  display: inline-block;
  resize: none;
  text-align: left;
  font-weight: normal;
  vertical-align: middle;

  /* CSS3 Attributes */
  -webkit-border-radius: 2px;
  -moz-border-radius: 2px;
}

/**
 * Text fields
 */

.gzPrettyForms-text,
.gzPrettyForms-password {
  text-align: left;
  font-weight: normal;
  border: 1px solid #999999;
  display: inline-block;
  vertical-align: middle;
  height: 20px;
  line-height: 20px;

  /* CSS3 Attributes */
  -webkit-border-radius: 2px;
  -moz-border-radius: 2px;
}

/**
 * Button fields
 * Submit fields
 */

.gzPrettyForms-button,
.gzPrettyForms-submit {
  background: url(../images/gzPrettyForms-elements.png) repeat-x 0 -66px;
  border: none;
  color: #ffffff;
  cursor: pointer;
  display: inline-block;
  font-weight: normal;
  vertical-align: middle;
  height: 24px;
  line-height: 24px;
  text-align: center;

  /* CSS3 Attributes */
  -webkit-border-radius: 2px;
  -moz-border-radius: 2px;
}

.gzPrettyForms-button:hover,
.gzPrettyForms-submit:hover {
  background-position: 0 -90px;
}

/**
 * Select boxes
 */

.gzPrettyForms-select {
  display: inline-block;
  position: relative;
  vertical-align: top;
  zoom: 1;
  *display: inline;
}

.gzPrettyForms-original-select {
  position: absolute;
  top: 0;
  left: 0;
  
    -moz-opacity:.0;
    filter:alpha(opacity=0);
    opacity:.0;
}

.gzPrettyForms-select-option {
  color: #000000;
  text-align: left;
  font-weight: normal;
  position: relative;
  height: 22px;
  display: inline-block;
  text-decoration: none;
  font-weight: normal;
  line-height: 22px;
  text-indent: 5px;
  overflow: hidden;

  border: 1px solid #999999;
  background: #ffffff;

    /* CSS3 Attributes */
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
}

.gzPrettyForms-select-option:hover {
  text-decoration: none;
}

.gzPrettyForms-select-option.disabled {
  -moz-opacity:.50;
  filter:alpha(opacity=50);
  opacity:.50;
}

.gzPrettyForms-select-option span {
  display: block;
  float: right;
  vertical-align: middle;
  color: #000000;
  text-decoration: none;
  line-height: 22px;
  height: 22px;
  overflow: hidden;
  padding: 0 21px 0 4px;
  position: relative;
  background: url(../images/gzPrettyForms-elements.png) no-repeat top right white;
}

.gzPrettyForms-select-option.focus span {
  background: url(../images/gzPrettyForms-elements.png) no-repeat -22px right white;
}

/**
 * Checkboxes
 */

.gzPrettyForms-checkbox {
  position: absolute;
  cursor: pointer;
  opacity: 0; /* Standard: FF gt 1.5, Opera, Safari */
  filter: alpha(opacity=0); /* IE lt 8 */
  -ms-filter: "alpha(opacity=0)"; /* IE 8 */
  margin: 0;
}

.gzPrettyForms-checkbox + label.emptyLabel {
  width: 14px;
  height: 14px;
}

.gzPrettyForms-checkbox + label {
  cursor: pointer;
  line-height: 20px;
  display: inline-block;
  background: url(../images/gzPrettyForms-elements.png) no-repeat 0 -114px;
  padding: 0 0 0 20px;
}

.gzPrettyForms-checkbox + label.checked {
  background: url(../images/gzPrettyForms-elements.png) no-repeat 0 -174px;
}

.gzPrettyForms-checkbox + label.disabled {
  color: #999999;
}

/**
 * Radio buttons
 */

.gzPrettyForms-radio {
  position: absolute;
  cursor: pointer;
  opacity: 0; /* Standard: FF gt 1.5, Opera, Safari */
  filter: alpha(opacity=0); /* IE lt 8 */
  -ms-filter: "alpha(opacity=0)"; /* IE 8 */
  margin: 0;
}

.gzPrettyForms-radio + label {
  cursor: pointer;
  line-height: 20px;
  display: inline-block;
  background: url(../images/gzPrettyForms-elements.png) no-repeat 0 -234px;
  padding: 0 0 0 20px;
}

.gzPrettyForms-radio + label.checked {
  background: url(../images/gzPrettyForms-elements.png) no-repeat 0 -294px;
}

.gzPrettyForms-radio + label.disabled {
  color: #999999;
}

/**
 * File browser
 */

.gzPrettyForms-file-holder {
  position: relative;
}

.gzPrettyForms-file {
  position: relative;
  text-align: right;
  -moz-opacity:0 ;
  filter:alpha(opacity: 0);
  opacity: 0;
  z-index: 2;
}

.gzPrettyForms-file-fake {
  position: absolute;
  top: 0px;
  left: 0px;
  z-index: 1;
  width: 280px;
}

.gzPrettyForms-file-fake input {
  position: absolute;
  top: 0;
  left: 0;
  width: 190px;
}

.gzPrettyForms-file-fake .gzPrettyForms-file-button {
  position: absolute;
  top: 3px;
  right: 0;
}

.gzPrettyForms-file-button {
  width: 70px;
  display: inline-block;
  height: 24px;
  line-height: 24px;
  text-align: center;
  color: #ffffff;
  cursor: pointer;
  background: url(../images/gzPrettyForms-elements.png) repeat-x 0 -60px;
  overflow: hidden;

  /* CSS3 Attributes */
  -webkit-border-radius: 2px;
  -moz-border-radius: 2px;
}

.gzPrettyForms-file-button:hover {
  background: url(../images/gzPrettyForms-elements.png) repeat-x 0 -84px;
}