/* 
 * The default style sheet used by khtml to render HTML pages
 * (C) Lars Knoll (knoll@kde.org) 2000
 *
 * Konqueror/khtml relies on the existence of this style sheet for
 * rendering. Do not remove or modify this file unless you know
 * what you are doing.
 */

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

html {
    display: block
} 

/* The children of the <head> element all have display:none */

head { 
    display: none
}
     
meta {
    display: none
}

title {
    display: none
}

link {
    display: none
}

style {
    display: none
}

script {
    display: none
}

/* generic block-level elements */

body {
    display: block;
    margin: 8px
}

p {
    display: block;
    margin: 1.0__qem 0px
}

div {
    display: block
}

layer {
    display: block
}

marquee {
    display: inline-block;
    overflow: marquee
}

address {
    display: block
}
      
blockquote {
    display: block;
    margin: 1__qem 40px 1em 40px
}

q {
    display: inline
}

q:before {
    content: '"'
    /* FIXME: content: open-quote; */
}

q:after {
    content: '"'
    /* FIXME: content: close-quote; */
}

iframe, embed, object {
    width: 300px;
    height: 150px
}

center {
    display: block;
    /* special centering to be able to emulate the html4/netscape behaviour */
    text-align: -khtml-center
}  

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

map {
    display: inline
}

/* heading elements */
      
h1 {
    display: block;
    font-size: 2em;
    margin: .67__qem 0 .67em 0;
    font-weight: bold
}
      
h2 {
    display: block;
    font-size: 1.5em;
    margin: .83__qem 0 .83em 0;
    font-weight: bold
}
      
h3 {
    display: block;
    font-size: 1.17em;
    margin: 1__qem 0 1em 0;
    font-weight: bold
}
      
h4 {
    display: block;
    margin: 1.33__qem 0 1.33em 0;
    font-weight: bold
}

h5 {
    display: block;
    font-size: .83em;
    margin: 1.67__qem 0 1.67em 0;
    font-weight: bold
}

h6 {
    display: block;
    font-size: .67em;
    margin: 2.33__qem 0 2.33em 0;
    font-weight: bold
}

/* tables */

table {
    display: table;
    border-collapse: separate;
    text-align: -khtml-auto;
    border-spacing: 2px;
    border-color: gray
}

table[align="center"] {
    margin-left: auto;
    margin-right: auto
}

thead {
    display: table-header-group;
    vertical-align: middle;
    border-color: inherit
}
      
tbody {
    display: table-row-group;
    vertical-align: middle; 
    border-color: inherit
}
      
tfoot {
    display: table-footer-group;
    vertical-align: middle;
    border-color: inherit
}

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;
    text-align: -khtml-center
}

/* Lists */

ul, menu, dir {
    display: block;
    list-style-type: disc;
    margin: 1__qem 0 1em 0;
    -khtml-padding-start: 40px
}

ol {
    display: block;
    list-style-type: decimal;
    margin: 1__qem 0 1em 0;
    -khtml-padding-start: 40px
}

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
}

dd {
    display: block;
    -khtml-margin-start: 40px
}

dl {
    display: block;
    margin: 1__qem 0 1em 0
} 

dt {
    display: block
}

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

/* form elements */

form {
    display: block;
    margin: 0__qem 0 1em 0
}

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

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

button {
    display: inline-block;
    border: 2px outset ButtonFace;
    background-color: ButtonFace;
    color: ButtonText;
    padding: 2px 2px 2px 2px;
    cursor: default
}

button:active {
    border-style: inset
}

input, textarea {
    text-align: -khtml-auto
}

/* If we support for CSS2 system fonts, then we won't have to hard code Lucida Grande here. */
input, textarea, select, button {
    margin: 0__qem;
    font: 11px 'Lucida Grande';
    color: initial
}

input[type="hidden"] {
    display: none
}

input[type="radio"], input[type="checkbox"] {
    margin: 3px 0.5ex
}

option, optgroup, area, param {
    display: none
}

/* 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 {
    display: block;
    font-family: monospace;
    white-space: pre;
    margin: 1__qem 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 {
    display: inline;
    white-space: nowrap
}

wbr {
    white-space: normal
}

/* End Inline Elements */

:focus { 
    outline: auto 3px #1f5ccf
}

html:focus, body:focus { 
    outline: none
}

a:-khtml-any-link {
    color: -khtml-link;
    text-decoration: underline
}

a:-khtml-any-link:active {
    color: -khtml-activelink
}

/* Bidirectionality settings */

bdo[dir="ltr"]  {
    direction: ltr;
    unicode-bidi: bidi-override
}

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

/* other elements */

noframes {
    display: none
}

frameset, frame {
    display: block
}

/* noscript is handled internally, as it depends on the html settings */
