/* bidirectional settings */
bdo[dir="rtl"]{
	direction: rtl;
	unicode-bidi: bidi-override;
}
bdo[dir="ltr"]{
	direction: ltr;
	unicode-bidi: bidi-override;
}
*[dir="rtl"]{
	direction: rtl;
	unicode-bidi: embed;
}
*[dir="ltr"]{
	direction: ltr;
	unicode-bidi: embed;
}

/* base */
head{
	display: none;
}
body{
	unicode-bidi: embed;
	display: block;
	margin: 0px;
	padding: 0px;
}

/* frames */
frame{
	unicode-bidi: embed;
	display: block;
}
frameset{
	unicode-bidi: embed;
	display: block;
}
iframe{
	unicode-bidi: embed;
	display: block;
}

/* scripts */
noframes{
	unicode-bidi: embed;
	display: block;
}
noscript{
	unicode-bidi: embed;
	display: run-in;
}
object{
	unicode-bidi: embed;
	display: run-in;
}
applet{
	unicode-bidi: embed;
	display: run-in;
}

/* headers */
h1{
	unicode-bidi: embed;
	display: block;
	margin: 0px;
	padding: 0px;
	font-size: 1.4em;
	font-weight: 900;
}
h2{
	unicode-bidi: embed;
	display: block;
	margin: 0px;
	padding: 1px;
	font-size: 1.2em;
	font-weight: 900;
}
h3{
	unicode-bidi: embed;
	display: block;
	margin: 0px;
	padding: 1px;
	font-size: 1.1em;
	font-weight: 900;
}
h4{
	unicode-bidi: embed;
	display: block;
	margin: 0px;
	padding: 1px;
	font-size: 1em;
	font-weight: 900;
}
h5{
	unicode-bidi: embed;
	display: block;
	margin: 0px;
	padding: 1px;
	font-size: 0.93em;
	font-weight: 900;
}
h6{
	unicode-bidi: embed;
	display: block;
	margin: 0px;
	padding: 1px;
	font-size: 0.86em;
	font-weight: 700;
}
h1, h2, h3, h4, h5, h6{
	font-family: 'Verdana','Arial','Helvetica',sans-serif;
}
h1 *, h2 *, h3 *, h4 *, h5 *, h6 *{
	font-family: 'Verdana','Arial','Helvetica',sans-serif;
}

/* tables */
table{
	unicode-bidi: embed;
	display: table;
	caption-side: top;
	empty-cells: show;
	background-image: none;
}
caption{
	unicode-bidi: embed;
	display: table-caption;
	margin: 0px;
	padding: 0px;
	text-align: center;
}
colgroup{
	unicode-bidi: embed;
	display: table-column-group;
}
col{
	unicode-bidi: embed;
	display: table-column;
}
thead{
	unicode-bidi: embed;
	display: table-header-group;
}
tfoot{
	unicode-bidi: embed;
	display: table-footer-group;
}
tbody{
	unicode-bidi: embed;
	display: table-row-group;
}
tr{
	unicode-bidi: embed;
	display: table-row;
	background-image: none;
}
th{
	unicode-bidi: embed;
	display: table-cell;
	vertical-align: top;
	text-align: center;
	background-image: none;
	font-weight: 900;
}
td{
	unicode-bidi: embed;
	display: table-cell;
	vertical-align: top;
	background-image: none;
}

/* lists */
dl{
	unicode-bidi: embed;
	display: block;
	margin-top: 0px;
	margin-bottom: 1.33em;
}
dt{
	unicode-bidi: embed;
	display: block;
	margin-top: 1.33em; /* margin here, instead of in dd, for n4 support */
}
dd{
	unicode-bidi: embed;
	display: block;
	margin: 0px 0px 0px 2em;
}
ol{
	unicode-bidi: embed;
	display: block;
	list-style-type: upper-alpha;
	margin-top: 0px;
}
ul{
	unicode-bidi: embed;
	display: block;
	list-style-type: square;
	margin-top: 0px;
}
li{
	unicode-bidi: embed;
	margin-top: 3px; /* used to provide spacing between list items */
}
/* note: list nesting specifics are 'generally' unsupported by n4 */
ul ol, ol ol{ /* second level ordered list */
	list-style-type: decimal;
	margin-top: 0px;
	margin-bottom: 0px;
	padding: 8px 18px 8px 18px;
}
ol ol ol, ol ul ol, ul ol ol, ul ul ol{ /* third level ordered list */
	list-style-type: lower-alpha;
	margin-top: 0px;
	margin-bottom: 0px;
}
ol ul, ul ul{ /* second level unordered list */
	list-style-type: disc;
	margin-top: 0px;
	margin-bottom: 0px;
}
ol ol ul, ol ul ul, ul ol ul, ul ul ul{ /* third level unordered list */
	list-style-type: circle;
	margin-top: 0px;
	margin-bottom: 0px;
}

/* forms */
form{
	unicode-bidi: embed;
	display: block;
	margin: 0px;
}
input{
	vertical-align: top;
	font-family: 'Courier New','Courier',monospace;
}
input[type="hidden"]{
	unicode-bidi: embed;
	visibility: hidden;
}
input[type="image"]{
	vertical-align: top;
	border: 0px; /* ignored by n4 */
}
input[type="radio"]{
	vertical-align: top;
	background-color: inherit;
}
input[type="checkbox"]{
	vertical-align: top;
	background-color: inherit;
}
input[type="submit"]{
	font-family: 'Courier New','Courier',monospace;
	cursor: pointer;
	cursor: hand;
}
input[type="reset"]{
	font-family: 'Courier New','Courier',monospace;
	cursor: pointer;
	cursor: hand;
}
input[type="file"]{
	font-family: 'Courier New','Courier',monospace;
	font-weight: 500;
	cursor: pointer;
	cursor: hand;
}
input[type="button"]{
	font-family: 'Courier New','Courier',monospace;
	cursor: pointer;
	cursor: hand;
}
select{
	unicode-bidi: embed;
	display: inline;
	vertical-align: top;
	font-family: 'Courier New','Courier',monospace; /* ignored by n4 */
}
option{
	font-family: 'Courier New','Courier',monospace; /* ignored by n4 */
}
textarea{
	unicode-bidi: embed;
	display: inline;
	font-family: 'Courier New','Courier',monospace; /* ignored by n4 */
}
fieldset{ /* not supported by n4 */
	unicode-bidi: embed;
	display: block;
	margin-left: 0px;
	margin-right: 0px;
	margin-top: 0px;
	margin-bottom: 1.33em;
	padding: 2px;
}
legend{
	unicode-bidi: embed;
	display: inline;
	padding: 2px;
}
legend:after{
	content: '\a';
}
label{
	unicode-bidi: embed;
	display: inline;
	border-bottom: 1px dashed #ccc;
}

/* general */
p{
	unicode-bidi: embed;
	display: block;
	margin-left: 0px;
	margin-right: 0px;
	margin-top: 0px;
	margin-bottom: 1.33em;
}
div{
	unicode-bidi: embed;
	display: block;
}
strong{
	unicode-bidi: embed;
	display: inline;
	font-weight: 900;
}
em{
	unicode-bidi: embed;
	display: inline;
	font-style: italic;
	font-weight: 800;
}
strong em, em strong{
	unicode-bidi: embed;
	display: inline;
	font-style: italic;
	font-weight: 800;
}
b{
	unicode-bidi: embed;
	display: inline;
	font-weight: 700;
}
i{
	unicode-bidi: embed;
	display: inline;
	font-style: italic;
}
pre, pre *{
	unicode-bidi: embed;
	display: block;
	margin-left: 0px;
	margin-right: 0px;
	margin-bottom: 1.33em;
	padding: 0px 2px 0px 2px;
	line-height: 1.33em;
	background-color: #f9f9f9;
	font-family: 'Courier New','Courier',monospace;
	font-size: medium;
}
kbd, kbd *{
	unicode-bidi: embed;
	display: inline;
	line-height: 1.33em;
	padding: 0px 2px 0px 2px;
	border: outset #ccc;
	border-width: 1px 2px 2px 1px;
	background-color: #f9f9f9;
	font-family: 'Courier New','Courier',monospace;
	font-size: medium;
}
address{
	unicode-bidi: embed;
	display: block;
	text-align: right;
	font-style: italic;
	font-weight: 700;
}
blockquote{
	unicode-bidi: embed;
	display: block;
	border: 1px solid #999;
	margin-left: 40px;
	margin-right: 40px;
	margin-bottom: 1.33em;
	padding: 1em;
}
q{
	unicode-bidi: embed;
	display: inline;
}
cite{
	unicode-bidi: embed;
	display: inline;
	font-style: italic;
}
var{
	unicode-bidi: embed;
	display: inline;
	font-style: italic;
}
big{
	unicode-bidi: embed;
	display: inline;
	font-size: larger;
	font-size: large;
}
small{
	unicode-bidi: embed;
	display: inline;
	font-size: small;
}
sub{
	unicode-bidi: embed;
	display: inline;
	vertical-align: sub;
	font-size: small;
}
sup{
	unicode-bidi: embed;
	display: inline;
	vertical-align: super;
	font-size: small;
}
abbr{
	unicode-bidi: embed;
	display: inline;
	border-bottom: 1px dotted #ccc;
	cursor: help;
}
acronym{
	unicode-bidi: embed;
	display: inline;
	border-bottom: 1px dotted #ccc;
	letter-spacing: 0.1em;
	white-space: nowrap;
	font-variant: small-caps;
	cursor: help;
}
hr{ /* always set all three colors */
	unicode-bidi: embed;
	display: block;
	outline: 0px;
	height: 1px;
	border: 0px solid #ccc; /* always set size to zero for n4 support */
	background-color: #ccc;
	color: #ccc;
}
img{
	border-width: 0px;
}

/* anchors */
a{
	unicode-bidi: embed;
	display: inline;
	text-decoration: none;
}
a[name]{
	text-decoration: none;
}
a[href]{
	text-decoration: underline;
}
a:focus{
	outline: thin;
}
a:link{
	text-decoration: underline;
}
a:visited{
	text-decoration: underline;
}
a:hover, a:active{
	text-decoration: underline;
}
h1 a, h2 a, h3 a, h4 a, h5 a, h6 a, a[name]{
	font-family: 'Verdana','Arial','Helvetica',sans-serif;
	text-decoration: none;
}

