/*

0 CSS RESET

*/

/* meyerweb.com/eric/tools/css/reset/

v2.0 | 20110126
License: none (public domain)

*/

html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {

margin: 0;
padding: 0;

}

html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {

border: 0;
font-size: 100%;

}

html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, tt, var, b, u, i, center, dl, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {

vertical-align: baseline;

}

html, body, div, span, applet, object, iframe, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {

font-family: $bodyfont;

}

h1, h2, h3, h4, h5, h6, .h2Annex {

font-family: $headerfont;

}

dl {

display: grid;
grid-template-columns: max-content auto;

}

dt {

grid-column-start: 1;

}

dd {

grid-column-start: 2;

}

dd p, dt p {

margin-top: 0px;

}

/* HTML5 display-role reset for older browsers */ article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {

display: block;

} body {

line-height: 1.3;

} blockquote, q {

quotes: none;

} blockquote:before, blockquote:after, q:before, q:after {

content: '';
content: none;

} table {

border-collapse: collapse;
border-spacing: 0;

}

body {

margin-left: 298px;
margin-right: 2em;

}

main {

padding-left: 4em;
padding-right: 2em;

}

.title-section, .prefatory-section {

padding-left: 4em;
padding-top: 2em;

}

.prefatory-section {

margin-bottom: 5em;

}

.doctitle-en, .doctitle-fr {

margin-top: 2em;
text-align: left;

}

.doctitle-en {

background-color: black;
padding-left: 3em;
margin-left: -3em;
padding-top: 2em;
padding-bottom: 2em;

}

.doctitle-en span {

font-size: 1.5em;
line-height: 1.5em;
font-weight: 900;
display: block;
color: white;

}

.doctitle-fr span {

font-size: 1.2em;
line-height: 1.2em;
font-style: italic;
display: block;

}

span.title {

text-transform: uppercase;
font-size: 1em;
font-weight: 800;

}

.coverpage_docstage {

margin-top: 2em;
margin-bottom: 2em;

}

.coverpage_warning {

border-top: solid 1px #f36f36;
border-bottom: solid 1px #f36f36;
margin: 1em 2em;
color: #485094;
padding: 1em;

}

.coverpage_warning .title {

color: #f36f36;
font-weight: 500;

}

.coverpage_warning .content {

font-style: italic;

}

.coverpage_docnumber, .coverpage_techcommittee {

text-align: right;
font-size:14.0pt;

}

.coverpage {

text-align: center;
margin: 2em 0;

}

.coverpage-category {

float: left;
text-align: left;

}

.coverpage-logo {

color: #485094;

}

.coverpage-tc-name {

color: #485094;
font-size: 1.2em;
line-height: 1.2em;
margin: 0.25em 0;

}

.coverpage-doc-identity {

background-color: #485094;
color: white;
font-size: 2em;
line-height: 2em;
margin: 0.5em 0;

}

.coverpage-doc-identity-first {

font-size: 5mm;
text-align: right;
padding-right: 5mm;
padding-bottom: 1em;
padding-top: 1em;

}

.coverpage-title {

font-weight: 400;

}

.coverpage-title .title-second {

display: none;

}

.coverpage-logo-text {

font-size:24.0pt;

}

.coverpage-stage-block {

font-style: italic ;
text-align: center;
font-size: 1.25em;
font-weight: 600;

}

span.date-publish {

float:left;

}

span.date-active {

float:right;

}

.coverpage-doc-relations {

font-size:10.5pt;
padding-top: 0.5em;

}

.coverpage-title-zh {

  font-size: 8mm;
display: flex;
flex-wrap: wrap;
justify-content: center;
/* flex-direction: column; */
font-family:$headerfont;

}

.coverpage-title-zh span {

padding-top: 2mm;
font-size: 28pt;

}

.coverpage-title-en {

  margin-top: 10mm;
  font-size: 18pt;
    display: flex;
flex-wrap: wrap;
justify-content: center;
      font-family:$headerfont;

}

.coverpage-title-en span {

display: block;

}

.coverpage-title-en .title-first {

text-transform: uppercase;

}

.coverpage-iso-relation {

font-size:14pt;
        margin-top: 10mm;
text-align: center;

} .coverpage-dates {

      font-size:14.0pt;
        width:100%;
margin-top: 25mm;
      font-family:$headerfont;
      border-bottom: 1px solid #000;

}

.coverpage_footer {

text-align:center;
font-size: 16pt;
font-weight: 600;
width: 100%;
margin-top: 10mm;

}

/* NEW */ .coverpage_footer table, .coverpage_footer th, .coverpage_footer td {

border: 0;

}

/* NEW */ .coverpage_footer th, .coverpage_footer td {

padding: 5px;
font-size: 1.1em;
font-weight: 600;

}

/* NEW */ .coverpage_footer .publish {

vertical-align: middle;

}

.coverpage-banner {

padding-top: 5mm;
margin-left:auto;
margin-right:auto;
width:auto;
display:flex;
flex-wrap: wrap;
justify-content: center;

}

.copyright .name {

font-weight: 900;
padding-top: 1em;

}

.copyright .year, .copyright .message, .copyright .name, .copyright .address {

margin-top: 1em;
line-height: 1.1em;
display: block;

}

.copyright .message, .copyright .name, .copyright .address {

font-size: 0.9em;

}

.copyright .name {

color: #485094;
font-weight: 600;

}

.copyright .address {

color: #485094;

}

/* TYPOGRAPHY */

h1 {

font-size: 1.5em; 
line-height: 2em; 
color: #485094;
font-weight: 400;

}

h2 {

font-size: 1.3em; 
line-height: 1.5em; 
color: #485094;
font-weight: 300;

}

h3 {

font-size: 1.1em; 
line-height: 1.3em; 
color: #485094;
font-weight: 300;

}

h1 {

margin-top: 2em;
margin-bottom: 1em;

}

h2 {

margin-top: 2em;
margin-bottom: 1em;

}

h4, h5, h6 {

line-height: 1.2;

}

h2 p {

display: inline;

}

p {

margin-top: 1em;
margin-bottom: 1em;
line-height: 1.2em;

}

p.zzSTDTitle1 {

font-weight: 700;
font-size: 1.5em;

}

span.obligation {

font-weight: 400;

}

a, a:visited {

text-decoration: none;
color: #485094;

}

a:hover {

text-style: italic;
color: #485094;

}

nav a {

color: black;
text-decoration: none;
line-height: 1.2em;

}

p.TermNum {

color: #485094;
font-weight: 400;
      margin: 0;

}

p.Terms {

color: #485094;
font-weight: 400;
      margin: 0;

}

p.AltTerms {

color: #485094;
font-weight: 400;
font-style: italic;
      margin: 0;

}

p.DeprecatedTerms {

color: #485094;
font-weight: 400;
font-style: italic;
      margin: 0;

}

/* Navigation*/

@media (min-width: 768px) {

nav {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    width: 278px;
    font-size: 0.9em;
    overflow: auto;
    padding: 0 0 0 45px;
    background-color:#f7f7f7;
}

#toggle {
    position: fixed;
    height: 100%;
    width: 30px;
    background-color:black;
    color: white!important;
    cursor: pointer;
    margin-left: -4em;
    margin-top: -2em;
}

#toggle span {
    text-align: center;
    width: 100%;
    position: absolute;
    top: 50%;
    transform: translate(0, -50%);

}

.container {
    padding-left: 360px;
}

.rule.toc {
    display: none;
}

h1.toc-contents {
    margin-top: 1em;
}

ul#toc-list {
    padding:0;
    margin:0;
}

}

@media (max-width: 768px) {

#toc {
    padding: 0 1.5em 0 1.5em;
    overflow: visible;
}

#toggle {
    display: none;
    margin-left: -4em;
    margin-top: -2em;
}

body {
    margin-left: 2em;
}

main {
    padding: 0;
}

.title-section, .prefatory-section {
    padding-left: 0;
    padding-top: 0;
    width: 100%;
}

}

toc ul {

margin: 0;
padding: 0;
list-style: none;

}

toc li {

padding: 5px 10px;

}

toc a {

text-decoration: none;
display: block;

}

toc a:hover {

color: white;

}

toc .h2 {

padding-left: 30px;

}

toc .h3 {

padding-left: 50px;

}

toc .toc-active a {

color: white;

}

toc .toc-active, toc li:hover {

background: #1d1d1d;
box-shadow: inset -5px 0px 10px -5px #1d1d1d!important;

}

toc li:hover a {

color: white;

}

/* ul li {

  list-style: none;
}

ul li p:before {
  content: "?~@~T";
  display: inline-block;
  width: 1em;
  margin-left: -1.5em;
  margin-right: 0.5em;
}

*/

li p {
    /* display: inline-block; */
    margin-bottom: 0.6em;
    line-height: 1.2;
}

#toc li:before {
  content: " ";
  display: none;
}

/*

Document types + stages

*/

.document-type-band {

left:0;
top:180px;
height: 100%;
position: fixed;
display: block;
z-index: 99;
/*box-shadow: -5px 0px 10px #1d1d1d*/

}

.document-stage-band {

left:0;
top:0;
height: 100%;
position: fixed;
display: block;
z-index: 98;
box-shadow: -5px 0px 10px #1d1d1d

}

.document-type {

position: relative;
width: 25px;

}

.document-stage {

position: relative;
width: 25px;

}

p.document-type, p.document-stage {

color: white;
text-transform: uppercase;
font-size: 0.9em;
font-weight: 400;
letter-spacing: 0.05em;
margin:0;
margin-left: 6px;
writing-mode:tb-rl;
    -webkit-transform:rotate(180deg);
    -moz-transform:rotate(180deg);
    -o-transform: rotate(180deg);
    white-space:nowrap;
    display:block;
bottom:0;

}

p.document-type {

font-weight: 400;
height: 210px;

}

governance-band p.document-type {

font-weight: 400;
height: 230px!important;

}

p.document-stage {

font-weight: 300;
height:160px;

}

standard-band {

background-color: #0ac442;

}

standard {

border-bottom: solid 3px #0ac442;

}

governance {

border-bottom: solid 3px #750697;

}

governance-band {

background-color: #750697;

}

guide {

border-bottom: solid 3px #48a0e7;

}

guide-band {

background-color: #48a0e7;

}

.coverpage-maturity {

font-family: 'Overpass', sans-serif;
font-weight: 400;
font-size: 1em;
margin: 0 0 2em 0;
text-transform: uppercase;
}

working-draft {

border-bottom: solid 3px #fda706;

}

working-draft-band {

background-color: #fda706;

}

committee-draft {

border-bottom: solid 3px #fd06fd;

}

committee-draft-band {

background-color: #fd06fd;

}

draft-standard {

border-bottom: solid 3px #fdf906;

}

draft-standard {

border-bottom: solid 3px #fdf906;

}

standard {

border-bottom: solid 3px #0ac442;

}

standard-band {

background-color: #0ac442;

}

obsolete {

border-bottom: solid 3px #7e0d13;

}

obsolete-band {

background-color: #7e0d13;

}

/* 3 Other styles */

/*

3.3 Lists

*/

ul, ol {margin-left: 2em;}

toc-list ul {margin-bottom: 0.25em;}

toc-list ul li {list-style-type: none;}

/* 3.4 Rules */

.rule {

  width: 100%;
  height: 1px;
  background-color: #0e1a85;
  margin: 2em 0;
}

/* 3.5 Bibliograhy */

p.Biblio, p.NormRef { margin-top: 1em; margin-left: 2em; }

/* 3.6 Source Code + figures */

.Sourcecode { font-family: $monospacefont; }

.figure, .Sourcecode { background-color: f7f7f7; line-height: 1.6em; padding: 1.5em; margin: 2em 0 1em 0; overflow: auto; }

.figure-title, .FigureTitle { font-weight: 700; font-size: 1em; text-align: center; }

/* 3.7 Notes */

.Note, .note {

background-color: #fff495;
color: #47430c;
padding: 0.5em;
margin: 1.5em 0 1.5em 0;
text-align: left;

}

.Note p, .note p {

margin: 0;

}

/* 3.8 Examples */

.example {

background-color: #e1eef1;
padding: 0.5em;
margin: 2em 0 1em 0;
text-align: left;

}

.example p {

margin: 0;

}

.example .example-title { font-weight: 700; text-transform: uppercase; text-align: center; margin-top:0; }

/* 3.9 Tables */

table { border-collapse: collapse; width: 100%; font-weight: 300; margin: 1em 0 2em 0; margin-left: auto; margin-right: auto; padding-right: 2em; text-align: center; }

table, th, td { border: 1px solid black; font-size: 0.95em; }

td, th { padding: 1em!important; }

td.header { font-weight: 400; }

p.TableTitle { text-align: center; margin-top: 2.5em; font-weight: 800; font-size: 1.1em; }

.TableFootnote {

text-align: left!important;

}

/* 3.10 Footnotes */

a.footnote-number, a.TableFootnoteRef { vertical-align: super; font-size: 0.8em; }

.footnote { font-size: 0.9em; }

sup a {

  vertical-align: super;
  font-size: 0.8em;
}
#footnote_box {
  font-size: 14px;
  background: white;
  padding: 0 10px;
  margin: 10px;
  border: 1px solid #888;
  -moz-box-shadow: 0px 0px 5px #888;
  -webkit-box-shadow: 0px 0px 5px #888;
  box-shadow: 0px 0px 5px #888;
}

ol.footnotes-list, aside.footnote {
    margin-left: 1em;

}

ol.footnotes-list li, aside.footnote {
    font-size: 0.9em;
    vertical-align: top;
    list-style:decimal;
    margin-bottom: 1em;
}

ol.footnotes-list:first-child {
    margin-top: 2em;
}

ol.footnotes-list p, aside.footnote {
    display: inline;
}

ol li p:before {
    content: "";
    display: none;
}

/* 3.11 Blockquotes */

.blockquote, .Quote { background-color: f7f7f7; font-style: italic; width: 80%; padding: 1.5em; margin-top: 2em; margin-left: auto; margin-right: auto; }

/* 3.12 Formulas */

.formula { background-color: f7f7f7; padding: 1.5em; margin-top: 2em; text-align: center; margin-left: 20%; margin-right: 20%; font-size: 0.9em; }

/* Keywords */

span.keyword { font-weight: 600; }

.Admonition, .admonition {

background-color: #ffb3b3;
/* color: #47430c;*/
padding: 0.5em;
margin: 1.5em 0 1.5em 0;
text-align: left;

}

.Admonition p, .admonition p {

margin: 0;

}