/*********** Much of this taken from formalize.css */


/*********** DATA ENTRY COMMON */
.editor-field {
    margin-left: 20px;
}
.editor-label {
    padding-top: 10px;
}
.editor-button {
    padding-top: 10px;
    margin-bottom: 20px;
    margin-left: 20px;
}
textarea,
select,
input[type="date"],
input[type="datetime"],
input[type="datetime-local"],
input[type="email"],
input[type="month"],
input[type="number"],
input[type="password"],
input[type="search"],
input[type="tel"],
input[type="text"],
input[type="time"],
input[type="url"],
input[type="week"] {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  -moz-background-clip: padding;
  background-clip: padding-box;
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  -ms-border-radius: 0;
  -o-border-radius: 0;
  border-radius: 0;
  -webkit-appearance: none;
  background-color: white;
  border: 1px solid;
  border-color: rgb(132,132,132) rgb(193,193,193) rgb(225,225,225);
  color: black;
  outline: 0;
  margin: 0;
  padding: 2px 3px;
  text-align: left;
  font-size: 13px;
  font-family: Arial, "Liberation Sans", FreeSans, sans-serif;
  height: 1.8em;
  vertical-align: top;
  padding-top: 2px;
  padding-bottom: 1px;
  height: auto;
  width: 90%;
}
textarea:focus,
select:focus,
input[type="date"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="email"]:focus,
input[type="month"]:focus,
input[type="number"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="tel"]:focus,
input[type="text"]:focus,
input[type="time"]:focus,
input[type="url"]:focus,
input[type="week"]:focus {
    background-color: #ff6 !important;
    border-color: rgb(51,51,51) !important;
}
textarea,
select[size],
select[multiple] {
  height: auto;
}
select[size="0"],
select[size="1"] {
  height: 1.8em;
  *height: auto;
}
textarea {
  min-height: 40px;
  overflow: auto;
  resize: vertical;
  width: 100%;
}
optgroup {
  color: black;
  font-style: normal;
  font-weight: normal;
  font-family: Arial, "Liberation Sans", FreeSans, sans-serif;
}
input::-webkit-input-placeholder,
textarea::-webkit-input-placeholder {
  color: rgb(136,136,136);
}
input:-moz-placeholder,
textarea:-moz-placeholder {
  color: rgb(136,136,136);
}
input.placeholder_text,
textarea.placeholder_text {
  color: rgb(136,136,136);
}



/*********** INPUT SIZE */
.input_tiny {
  width: 50px;
}
.input_small {
  width: 100px;
}
.input_medium {
  width: 150px;
}
.input_large {
  width: 200px;
}
.input_xlarge {
  width: 250px;
}
.input_xxlarge {
  width: 300px;
}
.input_90 {
  width: 90%;
}
.input_full {
  width: 100%;
}
.input_full_wrap {
  display: block;
  padding-right: 8px;
}
input[type="search"]::-webkit-search-decoration {
  display: none;
}



/*********** PSEUDO ELEMENTS AND CONDITIONAL EFFECTS */
input:invalid,
button:invalid,
a.button:invalid,
select:invalid,
textarea:invalid {
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
}
input:focus,
select:focus,
textarea:focus {
  -webkit-box-shadow: rgb(0,102,255) 0 0 5px 0;
  -moz-box-shadow: rgb(0,102,255) 0 0 5px 0;
  box-shadow: rgb(0,102,255) 0 0 5px 0;
  z-index: 1;
}
input[type="file"]:focus, input[type="file"]:active,
input[type="radio"]:focus,
input[type="radio"]:active,
input[type="checkbox"]:focus,
input[type="checkbox"]:active {
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
}
textarea[disabled],
select[disabled],
input[type="date"][disabled],
input[type="datetime"][disabled],
input[type="datetime-local"][disabled],
input[type="email"][disabled],
input[type="month"][disabled],
input[type="number"][disabled],
input[type="password"][disabled],
input[type="search"][disabled],
input[type="tel"][disabled],
input[type="text"][disabled],
input[type="time"][disabled],
input[type="url"][disabled],
input[type="week"][disabled] {
  background-color: rgb(238,238,238);
}
button[disabled],
input[disabled],
select[disabled],
select[disabled] option,
select[disabled] optgroup,
textarea[disabled],
a.button_disabled {
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
  -moz-user-select: -moz-none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  user-select: none;
  color: rgb(136,136,136);
  cursor: default;
}
optgroup::-moz-focus-inner {
  border: 0;
  padding: 0;
}
.ie6_button,
* html button,
* html a.button {
  background: rgb(221,221,221) url('../images/button.png?1298351022') repeat-x;
  border: 1px solid;
  border-color: rgb(221,221,221) rgb(187,187,187) rgb(153,153,153);
  cursor: pointer;
  color: rgb(51,51,51);
  font: bold 12px/1.2 Arial, sans-serif;
  padding: 2px 10px 0px;
  text-decoration: none;
  overflow: visible;
  vertical-align: top;
  width: auto;
}
.ie6_input,
* html textarea,
* html select {
  background: white;
  border: 1px solid;
  border-color: rgb(132,132,132) rgb(193,193,193) rgb(225,225,225);
  color: black;
  padding: 2px 3px 1px;
  font-size: 13px;
  font-family: Arial, sans-serif;
  vertical-align: top;
}
* html select {
  margin-top: 1px;
}
.placeholder_text,
.ie6_input_disabled,
.ie6_button_disabled {
  color: rgb(136,136,136);
}
.ie6_input_disabled {
  background: rgb(238,238,238);
}



/*********** MEDIA OF SOME KIND */
@media (-webkit-min-device-pixel-ratio: 0) {
  select[size],
  select[multiple],
  select[multiple][size] {
    background-image: none;
    padding-right: 3px;
  }
  select,
  select[size="0"],
  select[size="1"] {
    background-image: url(data:image/png;base64,R0lGODlhDQAEAIAAAAAAAP8A/yH5BAEHAAEALAAAAAANAAQAAAILhA+hG5jMDpxvhgIAOw==);
    background-repeat: no-repeat;
    background-position: right center;
    padding-right: 20px;
  }
  ::-webkit-validation-bubble-message {
    -webkit-box-shadow: none;
    box-shadow: none;
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0, rgb(102,102,102)), color-stop(1, black));
    border: 1px solid;
    border-color: rgb(116,116,116) rgb(94,94,94) rgb(79,79,79);
    color: white;
    font: 13px/17px "Lucida Grande", Arial, "Liberation Sans", FreeSans, sans-serif;
    overflow: hidden;
    padding: 15px 15px 17px;
    text-shadow: black 0 0 1px;
    height: 16px;
  }
  ::-webkit-validation-bubble-arrow,
  ::-webkit-validation-bubble-top-outer-arrow,
  ::-webkit-validation-bubble-top-inner-arrow {
    -webkit-box-shadow: none;
    box-shadow: none;
    background: rgb(102,102,102);
    border: 0;
  }
}

