/*
	Modified by Canton so that styled forms only apply when enclosing form has class="formalized".
*/

.formalized .input_tiny {
  width: 50px;
}

.formalized .input_small {
  width: 100px;
}

.formalized .input_medium {
  width: 150px;
}

.formalized .input_large {
  width: 200px;
}

.formalized .input_xlarge {
  width: 250px;
}

.formalized .input_xxlarge {
  width: 300px;
}

.formalized .input_full {
  width: 100%;
}

.formalized .input_full_wrap {
  display: block;
  padding-right: 8px;
}

.formalized input[type="search"]::-webkit-search-decoration {
  display: none;
}

.formalized input:invalid,
.formalized button:invalid,
.formalized a.button:invalid,
.formalized select:invalid,
.formalized textarea:invalid {
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
}
.formalized input:focus,
.formalized button:focus,
.formalized a.button:focus,
.formalized select:focus,
.formalized textarea:focus {
  -webkit-box-shadow: #0066ff 0 0 5px 0;
  -moz-box-shadow: #0066ff 0 0 5px 0;
  box-shadow: #0066ff 0 0 5px 0;
  z-index: 1;
}

.formalized input[type="file"]:focus, input[type="file"]:active,
.formalized input[type="radio"]:focus,
.formalized input[type="radio"]:active,
.formalized input[type="checkbox"]:focus,
.formalized input[type="checkbox"]:active {
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
}

.formalized button,
.formalized a.button,
.formalized input[type="reset"],
.formalized input[type="submit"],
.formalized input[type="button"] {
  -webkit-appearance: none;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  -ms-border-radius: 4px;
  -o-border-radius: 4px;
  border-radius: 4px;
  -webkit-background-clip: padding;
  -moz-background-clip: padding;
  background-clip: padding-box;
  background: #dddddd url('../images/button.png?1298351022') repeat-x;
  background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #ffffff), color-stop(100%, #dddddd));
  background-image: -webkit-linear-gradient(#ffffff, #dddddd);
  background-image: -moz-linear-gradient(#ffffff, #dddddd);
  background-image: -o-linear-gradient(#ffffff, #dddddd);
  background-image: -ms-linear-gradient(#ffffff, #dddddd);
  background-image: linear-gradient(#ffffff, #dddddd);
  border: 1px solid;
  border-color: #dddddd #bbbbbb #999999;
  cursor: pointer;
  color: #333333;
  display: inline-block;
  font: bold 12px/1.3 "Helvetica Neue", Arial, "Liberation Sans", FreeSans, sans-serif;
  outline: 0;
  overflow: visible;
  margin: 0;
  padding: 3px 10px;
  text-shadow: white 0 1px 1px;
  text-decoration: none;
  vertical-align: top;
  width: auto;
  *padding-top: 2px;
  *padding-bottom: 0;
}
.formalized button:hover,
.formalized a.button:hover,
.formalized input[type="reset"]:hover,
.formalized input[type="submit"]:hover,
.formalized input[type="button"]:hover {
  background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #ffffff), color-stop(1px, #eeeeee), color-stop(100%, #cccccc));
  background-image: -webkit-linear-gradient(#ffffff, #eeeeee 1px, #cccccc);
  background-image: -moz-linear-gradient(#ffffff, #eeeeee 1px, #cccccc);
  background-image: -o-linear-gradient(#ffffff, #eeeeee 1px, #cccccc);
  background-image: -ms-linear-gradient(#ffffff, #eeeeee 1px, #cccccc);
  background-image: linear-gradient(#ffffff, #eeeeee 1px, #cccccc);
}
.formalized button:active,
.formalized a.button:active,
.formalized input[type="reset"]:active,
.formalized input[type="submit"]:active,
.formalized input[type="button"]:active {
  background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #ffffff), color-stop(1px, #dddddd), color-stop(100%, #eeeeee));
  background-image: -webkit-linear-gradient(#ffffff, #dddddd 1px, #eeeeee);
  background-image: -moz-linear-gradient(#ffffff, #dddddd 1px, #eeeeee);
  background-image: -o-linear-gradient(#ffffff, #dddddd 1px, #eeeeee);
  background-image: -ms-linear-gradient(#ffffff, #dddddd 1px, #eeeeee);
  background-image: linear-gradient(#ffffff, #dddddd 1px, #eeeeee);
  -webkit-box-shadow: inset rgba(0, 0, 0, 0.25) 0 1px 2px 0;
  -moz-box-shadow: inset rgba(0, 0, 0, 0.25) 0 1px 2px 0;
  box-shadow: inset rgba(0, 0, 0, 0.25) 0 1px 2px 0;
  border-color: #999999 #bbbbbb #dddddd;
}
.formalized button::-moz-focus-inner,
.formalized a.button::-moz-focus-inner,
.formalized input[type="reset"]::-moz-focus-inner,
.formalized input[type="submit"]::-moz-focus-inner,
.formalized input[type="button"]::-moz-focus-inner {
  border: 0;
  padding: 0;
}

.formalized a.button {
  *padding-bottom: 3px;
}

.formalized button {
  *padding-top: 1px;
  *padding-bottom: 1px;
}

.formalized textarea,
.formalized select,
.formalized input[type="date"],
.formalized input[type="datetime"],
.formalized input[type="datetime-local"],
.formalized input[type="email"],
.formalized input[type="month"],
.formalized input[type="number"],
.formalized input[type="password"],
.formalized input[type="search"],
.formalized input[type="tel"],
.formalized input[type="text"],
.formalized input[type="time"],
.formalized input[type="url"],
.formalized input[type="week"] {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-background-clip: padding;
  -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: #848484 #c1c1c1 #e1e1e1;
  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;
}
.formalized textarea[disabled],
.formalized select[disabled],
.formalized input[type="date"][disabled],
.formalized input[type="datetime"][disabled],
.formalized input[type="datetime-local"][disabled],
.formalized input[type="email"][disabled],
.formalized input[type="month"][disabled],
.formalized input[type="number"][disabled],
.formalized input[type="password"][disabled],
.formalized input[type="search"][disabled],
.formalized input[type="tel"][disabled],
.formalized input[type="text"][disabled],
.formalized input[type="time"][disabled],
.formalized input[type="url"][disabled],
.formalized input[type="week"][disabled] {
  background-color: #eeeeee;
}

.formalized button[disabled],
.formalized input[disabled],
.formalized select[disabled],
.formalized select[disabled] option,
.formalized select[disabled] optgroup,
.formalized textarea[disabled],
.formalized 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: #888888;
  cursor: default;
}

.formalized input::-webkit-input-placeholder,
.formalized textarea::-webkit-input-placeholder {
  color: #888888;
}

.formalized input:-moz-placeholder,
.formalized textarea:-moz-placeholder {
  color: #888888;
}

.formalized input.placeholder_text,
.formalized textarea.placeholder_text {
  color: #888888;
}

.formalized textarea,
.formalized select[size],
.formalized select[multiple] {
  height: auto;
}

.formalized select[size="0"],
.formalized select[size="1"] {
  height: 1.8em;
  *height: auto;
}

@media (-webkit-min-device-pixel-ratio: 0) {
  .formalized select[size],
  .formalized select[multiple],
  .formalized select[multiple][size] {
    background-image: none;
    padding-right: 3px;
  }

  .formalized select,
  .formalized select[size="0"],
  .formalized select[size="1"] {
    background-image: url(data:image/png;base64,R0lGODlhDQAEAIAAAAAAAP8A/yH5BAEHAAEALAAAAAANAAQAAAILhA+hG5jMDpxvhgIAOw==);
    background-repeat: no-repeat;
    background-position: right center;
    padding-right: 20px;
  }

  .formalized ::-webkit-validation-bubble-message {
    -webkit-box-shadow: none;
    box-shadow: none;
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0, #666666), color-stop(1, black));
    border: 1px solid;
    border-color: #747474 #5e5e5e #4f4f4f;
    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;
  }

  .formalized ::-webkit-validation-bubble-arrow,
  .formalized ::-webkit-validation-bubble-top-outer-arrow,
  .formalized ::-webkit-validation-bubble-top-inner-arrow {
    -webkit-box-shadow: none;
    box-shadow: none;
    background: #666666;
    border: 0;
  }
}
.formalized textarea {
  min-height: 40px;
  overflow: auto;
  resize: vertical;
  width: 100%;
}

.formalized optgroup {
  color: black;
  font-style: normal;
  font-weight: normal;
  font-family: Arial, "Liberation Sans", FreeSans, sans-serif;
}
.formalized optgroup::-moz-focus-inner {
  border: 0;
  padding: 0;
}

.formalized .ie6_button,
.formalized * html button,
.formalized * html a.button {
  background: #dddddd url('../images/button.png?1298351022') repeat-x;
  border: 1px solid;
  border-color: #dddddd #bbbbbb #999999;
  cursor: pointer;
  color: #333333;
  font: bold 12px/1.2 Arial, sans-serif;
  padding: 2px 10px 0px;
  text-decoration: none;
  overflow: visible;
  vertical-align: top;
  width: auto;
}

.formalized * html a.button {
  position: relative;
  top: 3px;
  padding-bottom: 2px;
}

.formalized * html button {
  padding-top: 1px;
  padding-bottom: 1px;
}

.formalized .ie6_input,
.formalized * html textarea,
.formalized * html select {
  background: white;
  border: 1px solid;
  border-color: #848484 #c1c1c1 #e1e1e1;
  color: black;
  padding: 2px 3px 1px;
  font-size: 13px;
  font-family: Arial, sans-serif;
  vertical-align: top;
}

.formalized * html select {
  margin-top: 1px;
}

.formalized .placeholder_text,
.formalized .ie6_input_disabled,
.formalized .ie6_button_disabled {
  color: #888888;
}

.formalized .ie6_input_disabled {
  background: #eeeeee;
}
