/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
/*table,*/ caption, tbody, tfoot, thead, tr, /*th, td,*/
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}
/* XXX: Removed border reset so <table border=1> still works */
table, th, td {
    margin: 0;
    padding: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
    display: block;
}
body {
    line-height: 1;
}
ol, ul {
    list-style: none;
}
blockquote, q {
    quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
    content: '';
    content: none;
}
table {
    border-collapse: collapse;
    border-spacing: 0;
}

/*  Unreset styles
    Add .unreset class around elements that *should* have default css applied
    
    Based on http://www.jbcrawford.net/archives/284
    Modified to remove some unnecessary unresets, added some nested list styles,
    and added default line-height
*/
.unreset th { font-weight: bolder; text-align: center }
.unreset caption { text-align: center }
.unreset h1 { font-size: 2em; margin: .67em 0 }
.unreset h2 { font-size: 1.5em; margin: .75em 0 }
.unreset h3 { font-size: 1.17em; margin: .83em 0 }
.unreset h4, .unreset p,
.unreset blockquote, .unreset ul,
.unreset fieldset, .unreset form,
.unreset ol, .unreset dl, .unreset dir,
.unreset menu { margin: 1.12em 0 }
.unreset h5 { font-size: .83em; margin: 1.5em 0 }
.unreset h6 { font-size: .75em; margin: 1.67em 0 }
.unreset h1, .unreset h2, .unreset h3, .unreset h4,
.unreset h5, .unreset h6, .unreset b,
.unreset strong { font-weight: bolder }
.unreset blockquote { margin-left: 40px; margin-right: 40px }
.unreset i, .unreset cite, .unreset em,
.unreset var, .unreset address { font-style: italic }
.unreset pre, .unreset tt, .unreset code,
.unreset kbd, .unreset samp { font-family: monospace }
.unreset big { font-size: 1.17em }
.unreset small, .unreset sub, .unreset sup { font-size: .83em }
.unreset sub { vertical-align: sub }
.unreset sup { vertical-align: super }
.unreset table { border-collapse: separate; }
.unreset thead, .unreset tbody, .unreset tfoot, 
.unreset th, .unreset td { vertical-align: middle }
.unreset ol, .unreset ul, .unreset dir,
.unreset menu, .unreset dd { margin-left: 40px }
.unreset ol ul, .unreset ul ol,
.unreset ul ul, .unreset ol ol { margin-top: 0; margin-bottom: 0 }
.unreset ol { list-style-type: decimal }
.unreset ul { list-style-type: disc }
.unreset ul ul { list-style-type: circle; }
.unreset ul ul ul { list-style-type: square; }
.unreset { line-height: normal; }

/*** BM Custom reset styles ***/

/* Set default styles for input fields */
input[type=text],input[type=number],input[type=date],textarea {padding: 2px; margin: 0;}
input[type=radio],input[type=checkbox] {margin: 3px 3px 3px 4px; padding: 0;}

/* Removes 2px top-bottom margin for fields in Chrome */
select, input[type="text"], textarea { margin: 0; }
input[type="text"], input[type=number] { border: 1px solid #ccc; }