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, font, 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 {
	margin: 0;
	padding: 0;
	border: 0 solid #000;
	outline: 0;
	text-indent: 0;
}

html {
	font-size: 100.1%;
}
html, body {
	height: 100%;
}

ol, ul {
	padding-left: 15px;
}
dd, dt, li, ol, ul {
	list-style-position: outside;
}

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

*:focus {
	outline: 0;
}

ins {
	text-decoration: none;
}
del {
	text-decoration: line-through;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}
td, th {
	vertical-align: top;
}

img {
	-ms-interpolation-mode: bicubic;
}

input {
	vertical-align: top;
}
textarea {
	overflow: auto;
}

/* For bad WYGIWYS editors, that uses tags instead of styles: */
table[border="1"]>caption, table[border="1"]>tr>td, table[border="1"]>tr>th, table[border="1"]>thead>tr>td, table[border="1"]>thead>tr>th, table[border="1"]>tbody>tr>td, table[border="1"]>tbody>tr>th, table[border="1"]>tfoot>tr>td, table[border="1"]>tfoot>tr>th { border-width: 1px; }
table[border="2"]>caption, table[border="2"]>tr>td, table[border="2"]>tr>th, table[border="2"]>thead>tr>td, table[border="2"]>thead>tr>th, table[border="2"]>tbody>tr>td, table[border="2"]>tbody>tr>th, table[border="2"]>tfoot>tr>td, table[border="2"]>tfoot>tr>th { border-width: 2px; }
table[border="3"]>caption, table[border="3"]>tr>td, table[border="3"]>tr>th, table[border="3"]>thead>tr>td, table[border="3"]>thead>tr>th, table[border="3"]>tbody>tr>td, table[border="3"]>tbody>tr>th, table[border="3"]>tfoot>tr>td, table[border="3"]>tfoot>tr>th { border-width: 3px; }
table[border="4"]>caption, table[border="4"]>tr>td, table[border="4"]>tr>th, table[border="4"]>thead>tr>td, table[border="4"]>thead>tr>th, table[border="4"]>tbody>tr>td, table[border="4"]>tbody>tr>th, table[border="4"]>tfoot>tr>td, table[border="4"]>tfoot>tr>th { border-width: 4px; }
table[border="5"]>caption, table[border="5"]>tr>td, table[border="5"]>tr>th, table[border="5"]>thead>tr>td, table[border="5"]>thead>tr>th, table[border="5"]>tbody>tr>td, table[border="5"]>tbody>tr>th, table[border="5"]>tfoot>tr>td, table[border="5"]>tfoot>tr>th { border-width: 5px; }
table caption, table td, table th {
	behavior: expression(this.runtimeStyle.behavior = 'none',
		(function(obj) {
			var parent = obj;
			while (parent = parent.parentNode) {
				if ('table' == parent.tagName.toLowerCase()) {
					if (parent.border && 1 <= parent.border) {
						obj.runtimeStyle.borderWidth = parent.border + 'px';
						return;
					}
					break;
				}
			}
		})(this)
	);
}
