
/* Global Declaration */

.selector, 
.radio, 
.checker, 
.uploader 
.selector *, 
.radio *, 
.checker *, 
.uploader *{
  margin: 0;
  padding: 0;
}

/* INPUT & TEXTAREA */

input.text,
input.email, 
input.password,
textarea.uniform {  	
	font-family:Arial, Helvetica, sans-serif;
	font-size:12px;
	color:#a6a39c;
	text-shadow:none;
	box-shadow:none;
	-webkit-box-shadow:none;
	-moz-box-shadow:none;
	border:1px #cfccc4 solid;
	text-transform:uppercase;
	background:white;
	padding:0 3%;
	height:32px;
	line-height:32px;
	width:94%;
}
textarea.uniform {
	min-height:120px;
	padding:10px;
}

.form-table input.text,
.form-table input.email, 
.form-table input.password,
.form-table textarea.uniform {
	background:#f1f0ee;
	border-right:none;
	border-left:none;
	border-top:1px c8c5c2 solid;
	border-bottom:1px #FFF solid;
	border-radius:3px;
	-webkit-border-radius:3px;
	-moz-border-radius:3px;
	width:94%;
	padding:0 3%;
	text-transform:none;
	letter-spacing:normal;
	font-size:13px;
	color:#555;
	text-shadow:0 1px 0 #FFF;
}

.form-table input.text:focus,
.form-table input.email:focus,
.form-table input.password:focus,
.form-table textarea.uniform:focus {
	background:#FFF;
}

/* Button */

div.button,
div.button span {
	cursor:pointer;
}

div.button {
	width:100%;
	height:32px;
}
div.button span {
	display:block;
  	background:url(../images/sprite-btn-tan.png);
	background-position:left top;
	width:100%;
	height:32px;
	line-height:33px;
	display:block;
	border:1px #ddd9d5 solid;
	box-shadow:0px 1px 0px #b0adaa;
	-webkit-box-shadow:0px 1px 0px #b0adaa;
	-moz-box-shadow:0px 1px 0px #b0adaa;
	text-shadow:0 1px 0 #FFF;
	font-size:16px;
	text-align:center;
	font-weight:bold;
	text-decoration:none;
	/*padding:0 5%;*/
	color:#48423e;
}
div.button span:hover {
	background-position:left -39px;
}
div.button span:active {
	background-position:left -78px;
	box-shadow: inset 0px 1px 4px #a19e9b;
	-webkit-box-shadow: inset 0px 1px 4px #a19e9b;
	-moz-box-shadow:inset 0px 1px 4px #a19e9b;
	border:1px #c8c5c2 solid;
	border-bottom:1px #ffffff solid;
}

.form-table div.button {
	height:27px;
}
.form-table div.button span {
	height:27px;
	line-height:28px;
	color:#333;
	font-size:11px;
	text-transform:uppercase;
}
/*.form-table div.button span:active, {
	box-shadow: inset 0px 1px 4px #a19e9b;
	-webkit-box-shadow: inset 0px 1px 4px #a19e9b;
	-moz-box-shadow:inset 0px 1px 4px #a19e9b;
	border:1px #c8c5c2 solid;
	border-bottom:1px #ffffff solid;
}*/

/* Select */

div.selector {
	background:url(../images/sprite-form-select.png) no-repeat right top;
	line-height: 32px;
	height: 32px;
	max-width: 190px;
	font-size: 12px;
	border:1px #c7c5c2 solid;
	cursor: pointer;
}
.form-table div.selector {
	border-radius:3px;
	-webkit-border-radius:3px;
	-moz-border-radius:3px;
}
div.selector span {
	height: 32px;
	line-height: 32px;
	padding: 0px 30px 0px 2px;
	cursor: pointer;
	color: #666;
	max-width: 190px;
	text-shadow: 0 1px 0 #fff;
	cursor:pointer;
}
div.selector select {
	/* change these to adjust positioning of select element */
	top: 0px;
	left: 0px;
}
div.selector:active, 
div.selector.active {
	background-position: right -32px;
}
div.selector:active span, 
div.selector.active span {
}
div.selector.focus, div.selector.hover, div.selector:hover {
	background-position: right -32px;
}
div.selector.focus span, div.selector.hover span, div.selector:hover span {
}
div.selector.focus:active,
div.selector.focus.active,
div.selector:hover:active,
div.selector.active:hover {
	background-position: right -32px;
}
/*div.selector.focus:active span,
div.selector:hover:active span,
div.selector.active:hover span,
div.selector.focus.active span {
}
div.selector.disabled {
  background-position: -483px -234px;
}
div.selector.disabled span {
  background-position: right -104px;
}
div.selector select {
  min-width: 190px;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 12px;
  border: solid 1px #fff;
}*/


/* Checkbox */
div.checker {
  cursor:pointer;
}
div.checker span {
  background:url(../images/sprite-form-options.png) no-repeat 0 0;
  width: 20px;
  height: 21px;
}
div.checker input {
  width: 20px;
  height: 21px;
}

div.checker span {
  width: 20px;
  height: 21px;
}
div.checker:active span, 
div.checker.active span {
  background-position: 0px -21px;
}
div.checker span.checked {
  background-position: 0px -21px;
}
div.checker:active span.checked, 
div.checker.active span.checked {
  background-position: 0px -21px;
}
div.checker.focus span.checked,
div.checker:hover span.checked {
  background-position: 0px -21px;
}
div.checker.focus:active span.checked,
div.checker:hover:active span.checked,
div.checker.active:hover span.checked,
div.checker.active.focus span.checked {
  background-position: 0px -21px;
}
div.checker.disabled span.checked,
div.checker.disabled:active span.checked,
div.checker.disabled.active span.checked {
  background-position: 0px 0px;
}

/* Radio */

div.radio {
  width: 20px;
  height: 21px;
  cursor:pointer;
}
div.radio input {
  width: 20px;
  height: 21px;
}
div.radio span {
  background:url(../images/sprite-form-options.png) no-repeat -20px 0;
  width: 20px;
  height: 21px;
}
div.radio:active span, 
div.radio.active span {
  background-position: -20px -21px;
}
div.radio span.checked {
  background-position: -20px -21px;
}

div.radio:active span.checked,
div.radio.active span.checked {
  background-position: -20px -21px;
}
div.radio.focus span.checked, 
div.radio:hover span.checked {
  background-position: -20px -21px;
}
div.radio.focus:active span.checked, 
div.radio:hover:active span.checked,
div.radio.focus.active span.checked,
div.radio.active:hover span.checked {
  background-position: -20px -21px;
}
div.radio.disabled span,
div.radio.disabled:active span,
div.radio.disabled.active span {
  background-position: -20px 0px;
}


/* Uploader */

div.uploader {
  background-position: 0px -297px;
  height: 28px;
}

div.uploader span.action {
  background-position: right -409px;
  height: 24px;
  line-height: 24px;
}

div.uploader span.filename {
  height: 24px;
  /* change this line to adjust positioning of filename area */
  margin: 2px 0px 2px 2px;
  line-height: 24px;
}

div.uploader.focus,
div.uploader.hover,
div.uploader:hover {
  background-position: 0px -353px;
}

div.uploader.focus span.action,
div.uploader.hover span.action,
div.uploader:hover span.action {
  background-position: right -437px;
}

div.uploader.active span.action,
div.uploader:active span.action {
  background-position: right -465px;
}

div.uploader.focus.active span.action,
div.uploader:focus.active span.action,
div.uploader.focus:active span.action,
div.uploader:focus:active span.action {
  background-position: right -493px;
}

div.uploader.disabled {
  background-position: 0px -325px;
}

div.uploader.disabled span.action {
  background-position: right -381px;
}


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

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

/* Uploader */
div.uploader {
  width: 190px;
  cursor: pointer;
}

div.uploader span.action {
  width: 85px;
  text-align: center;
  text-shadow: #fff 0px 1px 0px;
  background-color: #fff;
  font-size: 11px;
  font-weight: bold;
}

div.uploader span.filename {
  color: #777;
  width: 82px;
  border-right: solid 1px #bbb;
  font-size: 11px;
}

div.uploader input {
  width: 190px;
}

div.uploader.disabled span.action {
  color: #aaa;
}

div.uploader.disabled span.filename {
  border-color: #ddd;
  color: #aaa;
}
/*

CORE FUNCTIONALITY 

Not advised to edit stuff below this line
-----------------------------------------------------
*/

.selector, 
.checker, 
.button, 
.radio, 
.uploader {
  display: -moz-inline-box;
  display: inline-block;
  vertical-align: middle;
  zoom: 1;
  *display: inline;
}

.selector select:focus, .radio input:focus, .checker input:focus, .uploader input:focus {
  outline: 0;
}

/* Button */

div.button a,
div.button button,
div.button input {
  position: absolute;
}

div.button {
  cursor: pointer;
  position: relative;
}

div.button span {
  display: -moz-inline-box;
  display: inline-block;
  text-align: center;
  width:inherit;
}

/* Select */

div.selector {
  position: relative;
  padding-left: 10px;
  overflow: hidden;
}

div.selector span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

div.selector select {
  position: absolute;
  opacity: 0;
  filter: alpha(opacity:0);
  height: 100%;
  width:100%;
  border: none;
  background: none;
}

/* Checker */

div.checker {
  position: relative;
}

div.checker span {
  display: -moz-inline-box;
  display: inline-block;
  text-align: center;
}

div.checker input {
  opacity: 0;
  filter: alpha(opacity:0);
  display: inline-block;
  background: none;
}

/* Radio */

div.radio {
  position: relative;
}

div.radio span {
  display: -moz-inline-box;
  display: inline-block;
  text-align: center;
}

div.radio input {
  opacity: 0;
  filter: alpha(opacity:0);
  text-align: center;
  display: inline-block;
  background: none;
}

/* Uploader */

div.uploader {
  position: relative;
  overflow: hidden;
  cursor: default;
}

div.uploader span.action {
  float: left;
  display: inline;
  padding: 2px 0px;
  overflow: hidden;
  cursor: pointer;
}

div.uploader span.filename {
  padding: 0px 10px;
  float: left;
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  cursor: default;
}

div.uploader input {
  opacity: 0;
  filter: alpha(opacity:0);
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  float: right;
  height: 25px;
  border: none;
  cursor: default;
}