@namespace url(http://www.w3.org/1999/xhtml);

/* This file is licensed under Creative Commons Attribution License
 * http://creativecommons.org/licenses/by/3.0/
 *
 * Initial Developer:
 * Andreas Jung (sd-daken.deviantart.com)
 *
 * Contributor(s):
 *
 */

@-moz-document url-prefix(http), url-prefix(https), url-prefix(file) {
  input:not([type="submit"]):not([type="reset"]):not([type="button"]):not([type="checkbox"]):not([type="radio"]),
  textarea {
    -moz-appearance: none !important;
    -moz-box-sizing: padding-box !important;
    position: relative;
    left: -4px;
    border-width: 4px !important;
    -moz-background-clip: padding !important;
    -moz-border-bottom-colors: transparent transparent transparent rgb(120,120,200);
    -moz-border-left-colors: transparent transparent transparent rgb(120,120,200);
    -moz-border-right-colors: transparent transparent transparent rgb(120,120,200);
    -moz-border-top-colors: transparent transparent transparent rgb(120,120,200);
  }
  input:not([type="checkbox"]):not([type="radio"]):focus,
  textarea:focus {
    -moz-appearance: none !important;
    border-width: 4px !important;
    -moz-background-clip: padding !important;
    -moz-border-bottom-colors: -moz-rgba(85,165,243,0.2) -moz-rgba(85,165,243,0.5) -moz-rgba(85,165,243,0.7) -moz-rgba(85,165,243,0.8) !important;
    -moz-border-left-colors: -moz-rgba(85,165,243,0.2) -moz-rgba(85,165,243,0.5) -moz-rgba(85,165,243,0.7) -moz-rgba(85,165,243,0.8) !important;
    -moz-border-right-colors: -moz-rgba(85,165,243,0.2) -moz-rgba(85,165,243,0.5) -moz-rgba(85,165,243,0.7) -moz-rgba(85,165,243,0.8) !important;
    -moz-border-top-colors: -moz-rgba(85,165,243,0.2) -moz-rgba(85,165,243,0.5) -moz-rgba(85,165,243,0.7) -moz-rgba(85,165,243,0.8) !important;
  }

input:not([type="submit"]):not([type="reset"]):not([type="button"]):not([type="checkbox"]):not([type="radio"]):not([type="hidden"])+*,
  textarea:not([style="display: none;"])+* {
  position: relative;
  top: -4px;
}

  input[type="submit"],
  input[type="reset"],
  input[type="button"] {
    margin: 1px;
  }

  input[type="submit"]:focus,
  input[type="reset"]:focus,
  input[type="button"]:focus {
    margin:0px;
    -moz-box-sizing: padding-box !important;
  }

}