/*
   default.css

   Copyleft 🄯 2021-2022 Taiji Yamada <taiji@aihara.co.jp>
*/
@import url('./default-underline.css');
/*@import url('./default-hr.css');*/
@import url('./default-hr-ornaments.css');
@import url('./default-table.css');
@import url('./default-link.css');
@import url('./default-nav.css');
@import url('./default-sticky.css');
@import url('./default-fonts.css');
@import url('./default-math.css');
@import url('./default-tabset.css');
@import url('./default-details-summary.css');
/*@import url('./details-summary-animation.css') screen;*/
@import url('./default-keyframes.css') screen;
@import url('./default-animations.css') screen;
@import url('./default-section-links.css');
@media screen {
body {
  margin-bottom: /*512px*/75vh;
}
div.textarea {
  resize: both;
  overflow: auto;
}
*[style*='./overflow: auto;'], *[style*='./overflow: scroll;'] {
  border-style: inset;
}
}
h1, h2, h3, h4, h5, h6 {
  border-style: none none solid none;
  margin-top: 0; margin-bottom: .25em;
}
h1, .h1 { border-width: 6px; }
h2, .h2 { border-width: 5px; }
h3, .h3 { border-width: 4px; }
h4, .h4 { border-width: 3px; }
h5, .h5 { border-width: 2px; }
h6, .h6 { border-width: 1px; }
hr {
  height: 0;
  border-width: 1px 0 0 0;
  border-style: solid;
}
dl {
  padding: .5em;
}
pre {
  border-style: solid;
  border-width: 1px;
  margin: .5em; padding: .5em;
}
blockquote {
  border-style: none none none solid;
  border-width: 1px;
  margin: .5em; padding: .5em;
}
figure {
  border-style: solid;
  border-width: 1px;
  margin: .5em; padding: .5em;
}
table:not(.default) {
  border-style: solid;
  border-width: 1px;
  margin: .5em; padding: .5em;
}
table:not(.default) > :is(thead, tbody, tfoot) > tr > :is(th, td) {
  border-style: solid;
  border-width: 1px;
}
fieldset {
  border-style: solid;
  border-width: 1px;
  margin: .5em; padding: .5em;
}
legend {
  border-style: solid none none solid;
  border-width: 1px;
  padding: .125em .25em;
}
:not(fieldset) > legend {
  margin: .5em;
}
textarea {
  border-width: 1px;
  border-style: inset; /* for Firefox compatibility */
}
address {
  border-style: solid none none none;
  border-width: 1px;
}
iframe {
  border-style: solid;
  border-width: 1px;
  margin: 0; padding: 0;
}

* {
  column-rule-width: 1px;
  column-rule-style: solid;
}

textarea, div.textarea { margin: 1px 0; padding: 2px; } /* for Firefox compatibility */
div.textarea {
  appearance: auto;
  display: inline-block;
  /*margin-block: 1px;*/ /* for Firefox compatibility above */
  border-width: /*2px*/1px;
  border-style: inset;
  /*background-color: Field;
  color: FieldText;*/
  background-color: white; /* for SeaMonkey */
  color: black;
  text-rendering: optimizeLegibility;
  vertical-align: text-bottom;
  white-space: /*pre*/pre-wrap;
  word-wrap: /*normal*/break-word;
}
div.textarea:not([contenteditable]) {
  cursor: text;
}
/*div.textarea::placeholder {
  opacity: 0.54;
}*/

/* for both dark and light of color-scheme */
.em			{ font-weight: normal;	font-style: italic; color: forestgreen; }
.em:lang(ja)		{ font-weight: bold;	font-style: normal; }
.strong			{ font-weight: bold;	font-style: italic; color: orangered; }
.strong:lang(ja)	{ font-weight: bold;	font-style: italic; }
