/*

0 CSS RESET

*/

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

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

*/

@import 'base_style/all';

/*

1. HTML & Body

*/

body {

@include bodyStyle1($normalfontsize, 1.4em, #301907, #f7f7f7, 300);
// @include sidebarNavContainer(323px);
main {
  margin: 0 0 0 6em;
}

}

toc {

@include toc(#301907, #301907, #301907);
@include sidebarToc();

.toc-active,
li:hover {
  background: none;
  box-shadow: none !important;
  border-bottom: solid 1px #301907 !important;
}

li:hover a {
  color: black;
}

li a {
  text-transform: uppercase;
}

ul {
  a:hover {
    box-shadow: none;
    color: white;
  }
}

}

nav {

@include sidebarNav(#f7f7f7, 328px, 15px);

}

toggle {

@include sidebarNavToggle(white, #301907)

}

myBtn {

@include toTopBtn(white, #f36f36);
text-transform: uppercase;

a.anchorjs-link {
  @include anchorLink(#485094)
}

}

strong {

font-weight: 800;

}

/*

2. Responsive navigation layout

*/

@media screen and (min-width: 768px) {

.container {
    padding-left: 343px;
}

.rule.toc {
    display: none;
}

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

ul#toc-list {
    padding:0;
    margin:0;
}
#toggle {
  width: 15px;
}

}

div.figure {

@include figureBlock();

}

/*

Document types + stages

*/

.document-type-band {

@include docBand($order: 2, $offset: 180px);

.document-type {
  top: 20px;
}

}

.document-stage-band {

@include docBand(1, 150);

}

p.document-stage {

@include docBandTitle(150);

}

governance-band p.document-type {

height: 230px !important;

}

p.document-stage {

font-weight: 300;
height: 160px;

}

governance-band p.document-type {

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

}

p.document-stage {

font-weight: 300;
height:160px;

}

standard-band p{

height: 270px;

}

proposal-band p {

height: 150px;

}

standard-band, published-band {

background-color: #9ABD48;

}

standard, published {

border-bottom: solid 3px #9ABD48;

}

governance, policy-and-procedures, circular {

border-bottom: solid 3px #750697;

}

governance-band, policy-and-procedures-band, circular-band {

background-color: #750697;

}

guide {

border-bottom: solid 3px #48a0e7;

}

guide-band {

background-color: #48a0e7;

}

.coverpage-maturity {

font-family: $bodyfont;
font-weight: 400;
font-size: 1em;
margin: 0 0 2em 0;
text-transform: uppercase;
}

working-draft, proposal {

border-bottom: solid 3px #F7803C;

}

working-draft-band, proposal-band {

background-color: #F7803C;

}

committee-draft {

border-bottom: solid 3px #fd06fd;

}

committee-draft-band {

background-color: #fd06fd;

}

draft-standard {

border-bottom: solid 3px #fdf906;

}

draft-standard-band {

background-color: #fdf906;

}

standard {

border-bottom: solid 3px #9ABD48;

}

standard-band {

background-color: #9ABD48;

}

obsolete {

border-bottom: solid 3px #7e0d13;

}

obsolete-band {

background-color: #7e0d13;

}

/*

3. TYPOGRAPHY

*/

/*

3.1 Titles

*/

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

font-family: $headerfont;
color: #301907;
font-weight: 300;
margin-top: 2em;

}

h1 {

color: #301907;
font-size: 1.6em;
/* margin-top: 5em; */
margin-bottom: 30px;
margin-left: -75px;
padding: 45px 15px 15px 50px;
border-bottom: solid 5px #FD8924;
font-weight: 800;

}

h1#content {

margin-top: 0em;
margin-left: -2em;

}

h1.containerhdr {

font-size: 2em;
font-weight: 400;
margin-top: 2em;
margin-bottom: 30px;
border-bottom: none;

}

h2.containerhdr {

font-size: 1.8em;
font-weight: 400;
margin-left: -75px;
font-style: italic;
padding: 45px 15px 15px 50px;

}

h2 {

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

}

h3 {

font-size: 1.1em;
font-weight: 100;

}

.TermNum, .Terms, .AltTerms {

color: #301907;
font-weight: 100;

}

h2.TermNum {

font-size: 0.9em;

line-height: 1em; margin: 0; margin-top: 2em; }

p.Terms {

font-size: 1.1em;
line-height: 1.7em;
margin: 0;

}

/*
3.2 Links
 */

@include elementStyles(#485094, #301907, white);

/* 3.3 Lists

*/

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

ul > li {

list-style: none;

}

ul > li:before {

content: "\2014";
display: inline-block; width: 1em;
margin-left: -1.2em;

}

ul > li p:first-child {

display: inline;

}

ul > li:first-child {

margin-top: 1em;

}

ul ul > li:first-child {

margin-top: 0;

} ol ul > li:first-child {

margin-top: 0;

}

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

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

toc li:before {

content: " ";
display: none;

}

/* 3.4 Rules

*/

.rule {

@include rule(1px, #0e1a85)

}

/* 3.5 Bibliograhy

*/

p.Biblio, p.NormRef {

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

}

/* 3.6 Source Code + figures

*/

.figure, pre, .pseudocode {

@include pseudocodeBlock(#f7f7f7);

}

pre {

@include monospaceBlockStyle()

}

@include admonitionBlock(); @include recommendationBlock();

.FigureTitle, .SourceTitle {

@include blockTitle()

}

/* 3.7 Notes

*/

.Note {

background-color: #fff495;
color: #47430c;
padding: 1.2em;
margin: 2em 0 1em 0;

}

.Admonition {

background-color: #ffcccc;
color: #47430c;
padding: 1.2em;
margin: 2em 0 1em 0;

}

/* 3.8 Examples

*/

.example {

@include exampleBlock(#e1eef1, #424242, 1.2em);

.example-title {
  margin-top: 0;
}

pre,
.pseudocode {
  background: none;
}

}

/* 3.9 Tables

*/

table {

@include table(1px solid black);

&.glossary,
&.glossary tr,
&.glossary td {
  border: none;
}
&.glossary td {
  border-bottom: 1px solid black;
  padding-bottom: 5px;
  padding-top: 20px;
}

}

p.TableTitle {

text-align: center;
margin-top: 2.5em;
font-weight: 400;

}

/* 3.10 Footnotes

*/

a.footnote-number {

vertical-align: super;
font-size: 0.8em;

}

.footnote {

font-size: $footnotefontsize;

}

/* 3.11 Blockquotes

*/

.Quote {

@include blockquoteBlock(#f7f7f7);

}

/* 3.12 Formulas

*/

.formula {

@include formulaBlock(#f7f7f7)

}

/* 3.13 Contact Info

*/

.contact-info {

padding: 2em;
margin-top: 5em;
width: 250px;

text-align: left;
border: #1661AD solid 2px;
color: #1661AD!important;
border-radius: 25px;

}

.contact-info a, .contact-info a:hover {

color: #1661AD;

}

.contact-info p, .contact-info a {

@include monospaceBlockStyle();
font-weight: 400;

}

.contact-info .name {

font-weight: 700;
font-size: 1.2em;
margin-bottom:0;

}

.contact-info .address {

font-size: 1em;
line-height: 1.3em;
margin-top:0;

}

/* Keywords

*/

span.keyword {

font-weight: 600;

}

/* Paragraphs

*/

p {

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

}

h2 p {

display: inline;

}

/* 4.0 Page header

*/

/* 4.1 Top Logo

*/

.icon-svg {

width: 100%;
color: #5ecf86;

}

.wrapper-top {

color: #ffffff;
padding: 3em 0 6em 0;
width: 100%;

}

.wrapper-top-bottom {

width: 0;
height: 0;
border-top: 100px solid #1661AD;
border-right: 100px solid transparent;
position: absolute;

}

.doc-number {

font-size: 1.0em;
font-family: $bodyfont;
margin-left: 5em;

}

.coverpage-title {

font-family: $headerfont;
line-height: 1.5em;
font-weight: 100;
padding: 1em;
/*text-transform: uppercase;*/
margin-left: 3.5em;
margin-bottom: 3em;
border-left: 0.5em solid white;

}

.WordSection11 {

padding: 0 2em 0 3em;

}

.info-section { padding: 0 2em 0 5em; }

.prefatory-section {

padding: 0 3em 0 6em;

}

.zzSTDTitle1, .MsoCommentText {

display: none;

}

.coverpage { // height: 100vh;

background: linear-gradient(200deg, #fa6742, #FD8924);
padding-left: 1.5em;

}

.coverpage-logo span, .coverpage-tc-name span {

font-family: $bodyfont;
text-transform: none;
font-weight: 300;

}

.coverpage-footer {

text-align: left;
margin-left: 5em;

}

.coverpage-logo span {

display: block;

}

.coverpage-logo span.doc-edition {

font-weight: 800;
display: block;
font-size: 1.2em;

}

.coverpage-location {

font-size: 1em;
line-height: 1.2em;
padding-top:1em;
margin: 0.25em 0; }

.section-content {

padding-right: 50px;

}

/* 4.2 Document Identity

*/

.coverpage-doc-identity {

margin-bottom: 3em;
padding-left: 5em;

}

.coverpage-doc-identity::after {

clear: both;
content: "";
display: table;

}

.coverpage-doc-identity .logo {

width: 50px;
height: auto;

}

.coverpage-doc-identity .logo, .coverpage-doc-identity .publisher {

float: left;
display: block;

}

.coverpage-doc-identity .publisher {

line-height: 50px;
margin-left: 1em;
font-size: 1.2em;

}

.coverpage-title .title-second {

display: none;

}

.coverpage-title span {

display: block;
text-align: left;

}

.coverpage-title span.title-1 {

font-weight: 900;
font-size: 1.8em;
line-height: 2em;

}

.coverpage-title span.title-2 {

font-size: 0.8em;
font-style: italic;

}

.coverpage-title span.title-3 {

padding-top: 1em;
font-size: 2.2em;
line-height: 1.2em;

}

.coverpage-stage-block {

font-family: $bodyfont;
font-weight: 600;
font-size: 1.25em;
margin: 2em 0em 2em 0em;
text-transform: uppercase;

}

/* 4.3 Draft Warning

*/

.coverpage-warning {

border: #f36f36 solid 2px;
color: #f36f36!important;
margin: 1em 2em;
color: #485094;
padding: 2em 1em 1em 1em;
border-radius: 25px;

}

.coverpage-warning .title {

font-family: $headerfont;
font-weight: 300;
text-transform: uppercase;
font-size: 1.2em;

}

/* 4.4 Copyright

*/

.copyright {

padding: 1em;
font-size: 0.8em;
text-align: left;

}

/* 5.0 Other styles

*/

@page {

margin: 2cm 1cm;

}

@media print {

.document-info,  nav, .copyright {
  page-break-before: always;
}

.coverpage-doc-identity .logo {
  -webkit-filter: invert(100%); /* Safari 6.0 - 9.0 */
  filter: invert(100%);
}

.coverpage-title {
  border-left: 0.5em solid #888;
}

h1, h2, h3, h4 {
  page-break-after: avoid;
  margin-top: 1.2em;
}

.note, .figure, pre, .pseudocode, table {
  page-break-inside: avoid;
}

.info-section {
  display: none;
}

.coverpage {
  height: 27cm;
}

.wrapper-top {
  color: #000;
  top: 0;
  padding-top: 4cm;
  padding-bottom: 4cm;
}

.wrapper-top-bottom {
  margin-top: -5px;
}

.container {
  padding-left: 0;
}

h1.content {
  margin-top: 2em;
  line-height: 2.5em;
}

h1 {
  font-size: 1.5em;
  line-height: 1.5;
}

h2 {
  font-size: 1.2em
}

h3 {
  font-size: 1em;
}

.Note {
  background-color: #fff495;
  color: #47430c;
  padding: 5px;
  margin: 2em 0 1em 0;
}

.Note p {
  padding: 0 5px 0 5px;
}

.Admonition {
  background-color: #ffcccc;
  color: #47430c;
  padding: 5px;
  margin: 2em 0 1em 0;
}

.Admonition p {
  padding: 0 5px 0 5px;
}

nav {
  line-height: 1;
}

.wrapper-top-bottom {
  display: none;
}

}

/* Mobile Styles */ @media only screen and (max-width: 400px) {

.coverpage-doc-identity {
  margin-bottom: 2em;
  padding-left: 0em;
}

.coverpage-doc-identity .publisher {
  line-height: 1.2em;
  width: 70%;
}

.doc-number {
  margin-left: 0;
}

.coverpage-title {
  margin-left: 0;
  font-size: 0.8em;
}

.coverpage-footer {
  margin-left: 0;
}

.prefatory-section {
  padding-left: 0;
}

main {
  margin-left: 1em;
}

h1 {
  margin-left: 0;
  padding-left: 0;
}

h1#content {
  margin-left: 1em;
}

}

/* Tablet Styles */ @media only screen and (min-width: 401px) and (max-width: 960px) {

.coverpage-doc-identity {
  margin-bottom: 2em;
  padding-left: 0em;
}

.coverpage-doc-identity .publisher {
  line-height: 1.2em;
  width: 70%;
}

.doc-number {
  margin-left: 0;
}

.coverpage-title {
  margin-left: 0;
  font-size: 0.8em;
}

.coverpage-footer {
  margin-left: 0;
}

.prefatory-section {
  padding-left: 0;
}

main {
  margin-left: 2em;
}

h1 {
  margin-left: 0em;
  padding-left: 0;
}

h1#content {
  margin-left: 1em;
}

}

@media screen and (max-width: 768px) {

#toggle {
  display: none;
}

.rule.toc {
  display: none;
}

}

@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {

.main-section h1 {margin-left:14px;}
.main-section h2, h3, h4, ol, ul, p, .ms-table-wrap {margin-left:75px;}
.main-section li p {margin-left:5px;}
.main-section li {margin-left:25px;}

}