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