/* Modified from http://trac.webkit.org/browser/trunk/WebCore/css/html.css */

/*
 * The default style sheet used to render HTML.
 *
 * Copyright (C) 2000 Lars Knoll (knoll@kde.org)
 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008 Apple Inc. All rights reserved.
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Library General Public
 * License as published by the Free Software Foundation; either
 * version 2 of the License, or (at your option) any later version.
 *
 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Library General Public License for more details.
 *
 * You should have received a copy of the GNU Library General Public License
 * along with this library; see the file COPYING.LIB.  If not, write to
 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
 * Boston, MA 02110-1301, USA.;
 *
 */

@namespace "http://www.w3.org/1999/xhtml";

body, input, textarea, keygen, select, button, isindex, datagrid {
	font-size: 10.0px
}

body *{
	font-family: Helvetica, Arial, sans-serif;
}

a * {cursor: pointer}

html, hr, h1, h2, h3, h4, h5, h6 , ul, menu, dir, ol, dd, dl , dt,
form, legend, fieldset, pre, xmp, plaintext, listing, frameset, frame {
	display: block
}

head *, input[type="hidden"], area, param, datalist {
	display: none
}

img {border: 0}

body {margin: 0}

p {margin: 1em 0}

blockquote {margin: 1em 40px}

hr {
	margin: 0.5em auto;
	border-style: inset;
	border-width: 1px
}

/* heading elements */

h1, h2, h3, h4, h5, h6 {
	font-weight: bold
}

h1 {
	font-size: 2em;
	margin: .67em 0
}

h2 {
	font-size: 1.5em;
	margin: .83em 0
}

h3 {
	font-size: 1.17em;
	margin: 1em 0
}

h4 {
	font-size: 1em;
	margin: 1.33em 0
}

h5 {
	font-size: .83em;
	margin: 1.67em 0
}

h6 {
	font-size: .67em;
	margin: 2.33em 0
}

/* tables */

table {
	display: table;
	border-collapse: separate;
	border-spacing: 2px;
	border-color: gray;
}

thead, tbody, tfoot {
	border-color: inherit;
	vertical-align: middle;
}

thead {display: table-header-group}

tbody {display: table-row-group}

tfoot {display: table-footer-group}

/* for tables without table section elements (can happen with XHTML or dynamically created tables) */

table > tr {
	vertical-align: middle;
}

col {
	display: table-column;
}

colgroup {
	display: table-column-group;
}

tr {
	display: table-row;
	vertical-align: inherit;
	border-color: inherit;
}

td, th {
	display: table-cell;
	vertical-align: inherit;
}

th {
	font-weight: bold;
}

caption {
	display: table-caption;
}

/* lists */

ul, ol, menu, dir {
	margin: 1em 0;
	padding-left: 40px;
}
ul, menu, dir {
	list-style-type: disc;
}

ol {
	list-style-type: decimal;
}

li {
	display: list-item;
}

ul ul, ol ul {
	list-style-type: circle;
}

ol ol ul, ol ul ul, ul ol ul, ul ul ul {
	list-style-type: square;
}

dl {
	margin: 1em 0;
}

ol ul, ul ol, ul ul, ol ol {
	margin-top: 0;
	margin-bottom: 0
}

/* form elements */

form {
	margin-top: 0
}

label {cursor: default}

legend {
	padding-left: 2px;
	padding-right: 2px;
	border: none
}

fieldset {
	margin-left: 2px;
	margin-right: 2px;
	padding: 0.35em 0.75em 0.625em;
	border: 2px groove ThreeDFace
}

input, textarea, keygen, select, button, isindex, datagrid {
	margin: 0;
	color: initial;
	letter-spacing: normal;
	word-spacing: normal;
	line-height: normal;
	text-transform: none;
	text-indent: 0;
	text-shadow: none;
	display: inline-block
}

input[type="text"], input[type="password"], input[type="search"], isindex {
	padding: 1px;
	background-color: white;
	border: 1px solid #bbb;
	cursor: auto
}

textarea {
	background-color: white;
	border: 1px solid #bbb;
	resize: auto;
	cursor: auto;
	padding: 2px;
	white-space: pre-wrap;
	word-wrap: break-word
}

input[type="hidden"], input[type="image"], input[type="file"] {
	padding: initial;
	background-color: initial;
	border: initial
}

input[type="file"] {text-align: start !important}

input[type="radio"], input[type="checkbox"] {
	margin: 3px 0.5ex;
	padding: initial;
	background-color: initial;
	border: initial
}

input[type="button"], input[type="submit"], input[type="reset"] {
	white-space: pre
}

input[type="button"], input[type="submit"], input[type="reset"], button {
	text-align: center;
	cursor: default;
	color: ButtonText;
	padding: 2px 6px 3px 6px;
	border: 2px outset ButtonFace;
	background-color: ButtonFace
}

input[type="range"] {
	padding: initial;
	border: initial;
	margin: 2px
}

input[type="button"]:disabled, input[type="submit"]:disabled, input[type="reset"]:disabled,
input[type="file"]:disabled, button:disabled,
select:disabled, keygen:disabled, optgroup:disabled, option:disabled, datagrid:disabled {
	color: GrayText
}

input[type="button"]:active, input[type="submit"]:active, input[type="reset"]:active, button:active {
	border-style: inset
}

input[type="button"]:active:disabled, input[type="submit"]:active:disabled, input[type="reset"]:active:disabled, button:active:disabled {
	border-style: outset
}

keygen, select {
	border: 1px solid #bbb;
	white-space: pre;
	color: black;
	background-color: white;
	cursor: default
}

select[size],
select[multiple],
select[size][multiple] {
	border: 1px inset gray;
	white-space: initial
}

select[size="0"],
select[size="1"] {
	border: 1px solid #bbb;
	white-space: pre
}

optgroup {font-weight: bolder}

option {font-weight: normal}

/* datagrid */

datagrid {
	height: 150px; /* We don't use width:300px in CSS, since we want width:intrinsic and width:min-intrinsic to reset to 300 properly. */
	color: black;
	background-color: white;
	cursor: default;
	border: 1px inset gray;
	white-space: initial
}

/* inline elements */

u, ins {text-decoration: underline}

strong, b {font-weight: bolder}

i, cite, em, var, address {font-style: italic}

tt, code, kbd, samp {font-family: monospace}

pre, xmp, plaintext, listing {
	font-family: monospace;
	white-space: pre;
	margin: 1em 0
}

big {font-size: larger}

small {font-size: smaller}

s, strike, del {text-decoration: line-through}

sub {
	vertical-align: sub;
	font-size: smaller
}

sup {
	vertical-align: super;
	font-size: smaller
}

nobr {white-space: nowrap}

/* other elements */

frameset {border-color: inherit}

iframe {border: 2px inset}
