/* Courtesy of Edan Kemelman <edankeme@yahoo.com>*/

*:focus { 
  -moz-outline: 2px dotted #ff0000 !important;
  -moz-outline-offset: 1px !important;
  -moz-outline-radius: 5px !important;
}

button:focus::-moz-focus-inner { 
  border-color: transparent; 
}

button::-moz-focus-inner,
input[type="reset"]::-moz-focus-inner,
input[type="button"]::-moz-focus-inner,
input[type="submit"]::-moz-focus-inner,
input[type="file"] > input[type="button"]::-moz-focus-inner {
  border: 1px dotted transparent;
}

textarea:focus, button:focus, select:focus, input:focus { 
  -moz-outline-offset: -1px !important; 
}

input[type="radio"]:focus {
  -moz-outline-radius: 12px !important; 
  -moz-outline-offset: 0px !important;
}

a:focus { 
  -moz-outline-offset: 0px !important; 
}
