
/**************************************************
 html5doctor.com Reset Stylesheet (Eric Meyer's Reset Reloaded + HTML5 baseline)
 v1.6.1 2010-09-17 | Authors: Eric Meyer & Richard Clark
 html5doctor.com/html-5-reset-stylesheet/
 Bootstrap: Bootstrap v1.3.0
***************************************************/

html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var, b, i, dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure,
footer, header, hgroup, menu, nav, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

html { 
  overflow-y: scroll; /* always force a scrollbar in non-IE */  
  font-size: 100%;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body { 
  line-height: 1; 
}

html, body { /* Stops fixed position things from disappearing */
  height:100%; 
}

article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}

a:hover, 
a:active { 
  outline: none; /* people.opera.com/patrickl/experiments/keyboard/test */
} 
a:focus {
  outline: thin dotted;
}

blockquote, q { 
  quotes: none; 
}
blockquote:before, 
blockquote:after, 
q:before, 
q:after { 
  content: ""; 
  content: none; 
}

/* bicubic resizing for non-native sized IMG: 
   code.flickr.com/blog/2008/11/12/on-ui-quality-the-little-things-client-side-image-resizing/ */
.ie7 img { -ms-interpolation-mode: bicubic; }


/**************************************************
 FORMS RESET - Work in progress - needs more testing
***************************************************/

/* hand cursor on clickable elements */
button, 
input[type="button"], 
input[type="reset"],
input[type="submit"] { 
  cursor: pointer; 
  -webkit-appearance: button;
} 
label {
  cursor: pointer; 
}

/* remove textarea scrollbars in IE */
textarea { 
  overflow: auto; 
}

button,
input,
select,
textarea {
  font-size: 100%;
  vertical-align: baseline;
}
.lte7 button,
.lte7 input,
.lte7 select,
.lte7 textarea {
  vertical-align: middle;
}

button, input {
  line-height: normal;
}
.lte7 button, .lte7 input {
  overflow: visible;
}

button::-moz-focus-inner, 
input::-moz-focus-inner {
  border: 0;
  padding: 0;
}

/* make buttons play nice in IE:    
   www.viget.com/inspire/styling-the-button-element-in-internet-explorer/ */
button {  width: auto; overflow: visible; }

/* align checkboxes, radios, text inputs with their label tjkdesign.com/ez-css/css/base.css */
input[type="radio"]         { vertical-align: text-bottom; }
.ie7 input[type="checkbox"] { vertical-align: baseline; }
.ie6 input                   { vertical-align: text-bottom; }

.lte7 legend { margin-left: -7px; }

input[type="search"] {
  -webkit-appearance: textfield;
  -webkit-box-sizing: content-box;
  -moz-box-sizing: content-box;
  box-sizing: content-box;
}
input[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}
