/*
 * The default style sheet used to render HTML.
 *
 * Copyright (C) 2000 Lars Knoll (knoll@kde.org)
 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 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";
html {
    display: block
}
/* 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;
}
div {
    display: block
}
layer {
    display: block
}
article, aside, footer, header, hgroup, main, nav, section {
    display: block
}
marquee {
    display: inline-block;
}
address {
    display: block
}
blockquote {
    display: block;
}
figcaption {
    display: block
}
figure {
    display: block;
}
q {
    display: inline
}
q:before {
    content: open-quote;
}
q:after {
    content: close-quote;
}
center {
    display: block;
    /* special centering to be able to emulate the html4/netscape behaviour */
}
hr {
    display: block;
    border-style: inset;
    border-width: 1px
}
map {
    display: inline
}
video {
    object-fit: contain;
}
/* heading elements */
h1 {
    display: block;
    font-size: 2em;
    font-weight: bold
}
h2 {
    display: block;
    font-size: 1.5em;
    font-weight: bold
}
h3 {
    display: block;
    font-size: 1.17em;
    font-weight: bold
}
h4 {
    display: block;
    font-weight: bold
}
h5 {
    display: block;
    font-size: .83em;
    font-weight: bold
}
h6 {
    display: block;
    font-size: .67em;
    font-weight: bold
}
/* tables */
table {
    display: table;
    border-collapse: separate;
    border-spacing: 2px;
    border-color: gray
}
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
}
/* 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, menu, dir {
    display: block;
    list-style-type: disc;
}
ol {
    display: block;
    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
}
dd {
    display: block;
}
dl {
    display: block;
}
dt {
    display: block
}
/* form elements */
form {
    display: block;
    margin-top: 0em;
}
label {
    cursor: default;
}
legend {
    display: block;
    border: none
}
fieldset {
    display: block;
    border: 2px groove ThreeDFace;
}
/* Form controls don't go vertical. */
input, textarea, keygen, select, button {
    margin: 0em;
    text-rendering: auto; /* FIXME: Remove when tabs work with optimizeLegibility. */
    color: initial;
    letter-spacing: normal;
    word-spacing: normal;
    line-height: normal;
    text-transform: none;
    text-indent: 0;
    text-shadow: none;
    display: inline-block;
    text-align: start;
}
keygen, select {
    border-radius: 5px;
}
textarea {
    background-color: white;
    border: 1px solid;
    flex-direction: column;
    resize: auto;
    cursor: auto;
    padding: 2px;
    white-space: pre-wrap;
    word-wrap: break-word;
}
select {
    box-sizing: border-box;
    align-items: center;
    border: 1px solid;
    white-space: pre;
    color: black;
    background-color: white;
    cursor: default;
    -webkit-appearance: auto;
}
select:not(:-internal-list-box) {
    overflow: visible !important;
}
select:-internal-list-box {
    align-items: flex-start;
    border: 1px inset gray;
    border-radius: initial;
    overflow-x: hidden;
    overflow-y: scroll;
    vertical-align: text-bottom;
    white-space: nowrap;
}
optgroup {
    font-weight: bolder;
    display: block;
}
option {
    font-weight: normal;
    display: block;
    padding: 0 2px 1px 2px;
    white-space: pre;
    min-height: 1.2em;
}
select:-internal-list-box optgroup option:before {
    content: "\00a0\00a0\00a0\00a0";;
}
select:-internal-list-box option,
select:-internal-list-box optgroup {
    line-height: initial !important;
}
select:-internal-list-box:focus option:checked {
    background-color: -internal-active-list-box-selection !important;
    color: -internal-active-list-box-selection-text !important;
}
select:-internal-list-box option:checked {
    background-color: -internal-inactive-list-box-selection !important;
    color: -internal-inactive-list-box-selection-text !important;
}
select:-internal-list-box:disabled option:checked,
select:-internal-list-box option:checked:disabled {
    color: gray !important;
}
select:-internal-list-box hr {
    border-style: none;
}
output {
    display: inline;
}
/* meter */
meter {
    box-sizing: border-box;
    display: inline-block;
    height: 1em;
    width: 5em;
    vertical-align: -0.2em;
}
/* progress */
progress {
    box-sizing: border-box;
    display: inline-block;
    height: 1em;
    width: 10em;
    vertical-align: -0.2em;
}
/* inline elements */
u, ins {
    text-decoration: underline
}
strong, b {
    font-weight: bold
}
i, cite, em, var, address, dfn {
    font-style: italic
}
tt, code, kbd, samp {
    font-family: monospace
}
pre, xmp, plaintext, listing {
    display: block;
    font-family: monospace;
    white-space: pre;
    margin: 1em 0
}
mark {
    background-color: #7CC8FF;
    color: black
}
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
}
/* Read-only text fields do not show a focus ring but do still receive focus */
html:focus, body:focus, input[readonly]:focus { 
    outline: none
}
embed:focus, iframe:focus, object:focus {
    outline: none
}
  
input:focus, textarea:focus, keygen:focus, select:focus {
    outline-offset: -2px
}
/* HTML5 ruby elements */
ruby, rt {
    text-indent: 0; /* blocks used for ruby rendering should not trigger this */
}
rt {
    line-height: normal;
}
ruby > rt {
    display: block;
    font-size: 50%;
    text-align: start;
}
ruby > rp {
    display: none;
}
/* other elements */
noframes {
    display: none
}
frameset, frame {
    display: block
}
frameset {
    border-color: inherit
}
iframe {
    border: 0
}
details {
    display: block
}
summary {
    display: block
}
template {
    display: none
}
bdo {
    unicode-bidi: bidi-override;
}
text
dialog:not([open]) {
    display: none
}
dialog {
    position: absolute;
    left: 0;
    right: 0;
    margin: auto;
    border: solid;
    padding: 1em;
    background: white;
    color: black
}
dialog::backdrop {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0,0,0,0.1)
}
/* page */
@page {
    /* FIXME: Define the right default values for page properties. */
    size: auto;
    margin: auto;
    padding: 0px;
    border-width: 0px;
}
/* noscript is handled internally, as it depends on settings. */