/*

Uniform Theme: Uniform Default
Version: 1.8
By: Josh Pyles
License: MIT License
---
For use with the Uniform plugin:
http://uniformjs.com/

*/

/* General settings */
div.selector,
div.selector span,
div.checker span,
div.radio span,
div.uploader,
div.uploader span.action,
div.button,
div.button span {
  -webkit-font-smoothing: antialiased;
}
div.selector,
div.checker,
div.button,
div.radio,
div.uploader {
  display: -moz-inline-box;
  display: inline-block;
  *display: inline;
  zoom: 1;
  vertical-align: middle;  /* Keeping this as :focus to remove browser styles */
}
div.selector:focus,
div.checker:focus,
div.button:focus,
div.radio:focus,
div.uploader:focus {
  outline: 0;
}
div.selector,
div.selector *,
div.radio,
div.radio *,
div.checker,
div.checker *,
div.uploader,
div.uploader *,
div.button,
div.button * {
  margin: 0;
  padding: 0;
}
.highContrastDetect {
}

/* Input & Textarea */
input.uniform-input,
select.uniform-multiselect,
textarea.uniform {
}
input.uniform-input.active,
select.uniform-multiselect.active,
textarea.uniform.active {
}

/* Remove default webkit and possible mozilla .search styles.
 * Keeping this as :active to remove browser styles */
div.checker input,
input[type="search"],
input[type="search"]:active {
  -moz-appearance: none;
  -webkit-appearance: none;
}

/* Select */
div.selector {
  /*background: url("../images/white-30.png") repeat 0 0;*/
  border: 1px solid #c3c3bb;
  border-radius: 2px;
  line-height: 40px;
  height: 40px;
  padding: 0 0 0 10px;
  position: relative;
  overflow: hidden;
  max-width: 100%;
}
div.selector span {
  text-overflow: ellipsis;
  display: block;
  overflow: hidden;
  white-space: nowrap;
  height: 46px;
  line-height: 45px;
  padding-right: 25px;
  cursor: pointer;
  width: 100%;
  display: block;
}
div.selector.fixedWidth {
  width: 190px;
}
div.selector.fixedWidth span {
  width: 155px;
}
div.selector select {
  opacity: 0;
  filter: alpha(opacity=0);
  -moz-opacity: 0;
  border: none;
  background: none;
  position: absolute;
  height: 46px;
  top: 0;
  left: 0px;
  width: 100%;
  cursor: pointer;
}

/* Checkbox */
div.checker {
  position: relative;
  background: url("../images/white-30.png") repeat 0 0;
  border: 1px solid #c3c3bb;
  border-radius: 2px;
}
div.checker,
div.checker span,
div.checker input {
  width: 26px;
  height: 26px;
  cursor: pointer;
  outline: none;
}
div.checker span {
  display: -moz-inline-box;
  display: inline-block;
  *display: inline;
  zoom: 1;
  text-align: center;
}
div.checker span.checked:before {
  background: url("../images/bg-images.png") no-repeat -232px -66px;
  content: "";
  display: block;
  height: 18px;
  left: 4px;
  position: absolute;
  top: -1px;
  width: 24px;
}
div.checker input {
  opacity: 0;
  filter: alpha(opacity=0);
  -moz-opacity: 0;
  border: none;
  background: none;
  display: -moz-inline-box;
  display: inline-block;
  *display: inline;
  zoom: 1;
}

/* Radio */
div.radio {
  position: relative;
  background: url("../images/white-30.png") repeat 0 0;
  border: 1px solid #c3c3bb;
  border-radius: 50%;
}
div.radio,
div.radio span,
div.radio input {
  width: 20px;
  height: 20px;
  cursor: pointer;
  outline: none;
  background:#fff;
  border-radius:50%
}
div.radio span {
  display: -moz-inline-box;
  display: inline-block;
  *display: inline;
  zoom: 1;
  text-align: center;
}
div.radio span.checked {
  background-position: -72px -279px;
}
div.radio span.checked:before {
  background-color: #991b1e;
    border-radius: 50%;
    content: "";
    display: block;
    height: 14px;
    left: 3px;
    position: absolute;
    top: 3px;
    width: 14px;
}
div.radio input {
  opacity: 0;
  filter: alpha(opacity=0);
  -moz-opacity: 0;
  border: none;
  background: none;
  display: -moz-inline-box;
  display: inline-block;
  *display: inline;
  zoom: 1;
  text-align: center;
}
div.radio.active span {
}
div.radio.active span.checked {
}
div.radio.hover span,
div.radio.focus span {
}
div.radio.hover span.checked,
div.radio.focus span.checked {
}
div.radio.hover.active span,
div.radio.focus.active span {
}
div.radio.hover.active span.checked,
div.radio.focus.active span.checked {
}
div.radio.disabled span,
div.radio.disabled.active span {
}
div.radio.disabled span.checked,
div.radio.disabled.active span.checked {
}

/* Uploader */
div.uploader {
  background-position: 0 -297px;
  height: 28px;
  width: 190px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
div.uploader span.action {
  background-position: right -409px;
  height: 28px;
  line-height: 28px;
  width: 82px;
  text-align: center;
  float: left;
  display: inline;
  overflow: hidden;
  cursor: pointer;
}
div.uploader span.filename {
  text-overflow: ellipsis;
  display: block;
  overflow: hidden;
  white-space: nowrap;
  float: left;
  cursor: default;
  height: 24px;
  margin: 2px 0 2px 2px;
  line-height: 24px;
  width: 85px;
  padding: 0 10px;
}
div.uploader input {
  opacity: 0;
  filter: alpha(opacity=0);
  -moz-opacity: 0;
  border: none;
  background: none;
  position: absolute;
  top: 0;
  right: 0;
  float: right;
  cursor: default;
  width: 100%;
  height: 100%;
}
div.uploader.active span.action {
  background-position: right -465px;
}
div.uploader.hover,
div.uploader.focus {
  background-position: 0 -353px;
}
div.uploader.hover span.action,
div.uploader.focus span.action {
  background-position: right -437px;
}
div.uploader.hover.active span.action,
div.uploader.focus.active span.action {
  background-position: right -493px;
}
div.uploader.disabled,
div.uploader.disabled.active {
  background-position: 0 -325px;
}
div.uploader.disabled span.action,
div.uploader.disabled.active span.action {
  background-position: right -381px;
}

/* Buttons */
div.button {
  background-position: 0 -641px;
  height: 30px;
  cursor: pointer;
  position: relative;  /* Keep buttons barely visible so they can get focus */
}
div.button a,
div.button button,
div.button input {
  opacity: 0.01;
  filter: alpha(opacity=1);
  -moz-opacity: 0.01;
  display: block;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  position: absolute;
}
div.button span {
  display: -moz-inline-box;
  display: inline-block;
  *display: inline;
  zoom: 1;
  line-height: 22px;
  text-align: center;
  background-position: right -521px;
  height: 22px;
  margin-left: 13px;
  padding: 8px 15px 0 2px;
}
div.button.active {
  background-position: 0 -671px;
}
div.button.active span {
  background-position: right -551px;
  cursor: default;
}
div.button.hover,
div.button.focus {
  background-position: 0 -701px;
}
div.button.hover span,
div.button.focus span {
  background-position: right -581px;
}
div.button.disabled,
div.button.disabled.active {
  background-position: 0 -731px;
}
div.button.disabled span,
div.button.disabled.active span {
  background-position: right -611px;
  cursor: default;
}

/* INPUT & TEXTAREA */
input.uniform-input,
select.uniform-multiselect,
textarea.uniform {
  font-size: 12px;
  font-family: "Helvetica Neue", Arial, Helvetica, sans-serif;
  font-weight: normal;
  color: #777;
  border-top: solid 1px #aaaaaa;
  border-left: solid 1px #aaaaaa;
  border-bottom: solid 1px #cccccc;
  border-right: solid 1px #cccccc;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
}
input.uniform-input.hover,
input.uniform-input.focus,
select.uniform-multiselect.hover,
select.uniform-multiselect.focus,
textarea.uniform.hover,
textarea.uniform.focus {
  -webkit-box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.3);
  -moz-box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.3);
  box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.3);
  border-color: #999;
}

/* PRESENTATION */

/* Buttons */
div.button span {
  font-weight: bold;
  font-family: "Helvetica Neue", Arial, Helvetica, sans-serif;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
}
div.button.hover span,
div.button.focus span {
  color: #555;
}
div.button.disabled span,
div.button.disabled.active span {
  color: #bbb;
}

/* Select */
div.selector {
}
div.selector span {
  background: url("../images/select-bg.png") no-repeat right center;
}
div.selector select {
}
div.selector.disabled span,
div.selector.disabled.active span {
}

/* Checker */
div.checker {
  margin-right: 5px;
}

/* Radio */
div.radio {
  margin-right: 3px;
}

/* Uploader */
div.uploader span.action {
  text-shadow: white 0px 1px 0px;
  background-color: #fff;
  font-size: 11px;
  font-weight: bold;
}
div.uploader span.filename {
  color: #777;
  border-right: solid 1px #bbbbbb;
  font-size: 11px;
}
div.uploader.disabled span.action,
div.uploader.disabled.active span.action {
  color: #aaa;
}
div.uploader.disabled span.filename,
div.uploader.disabled.active span.filename {
  border-color: #ddd;
  color: #aaa;
}
input.uniform-input,
input.uniform-input:focus {
  background-color: #fff;
}