/*
 * Style sheet for the CSS2 specification
 * $Id: default.css,v 1.2 2018/05/04 20:06:22 plehegar Exp $
 */

  BODY {
    color: black;
    font-family: sans-serif;
    background: white;
    margin: 2em;
    /* For the REC: background: #def url(recbg.jpg); */
  }

  H1 {
    clear: left;
    margin-top: 2em;
    text-align: center;
  }

  PRE {
    font-family: monospace;
  }

  IMG {
    border: 0;
    text-align: center;
  }

  TH {
    text-align: left;
  }

  DIV.propdef TH {
    text-align: right;
  }

  DIV.descdef TH {
    text-align: right;
  }

  A.propdef-title {
    background: yellow;
  }

  A.descdef-title {
    color: yellow;
    background: green
  }

div.example { color: maroon }
pre.example { color: maroon }
pre.illegal-example { color: red }
div.illegal-example { color: red }
div.illegal-example p { color: black }


div.html-example { color: maroon }
pre.html-example { color: maroon }
pre.illegal-html-example { color: red }
div.illegal-html-example { color: red }
div.illegal-html-example p { color: black }
pre.deprecated-html-example { color: red }
div.deprecated-html-example { color: red }
div.deprecated-html-example p { color: black }

div.xml-example { color: maroon }
pre.xml-example { color: maroon }
pre.illegal-xml-example { color: red }
div.illegal-xml-example { color: red }
div.illegal-xml-example p { color: black }

div.note { color: green; margin-left: 1em }
p.note { color: green; margin-left: 1em }

a.normref {
    color: red;
}

a.informref {
    color: green;
}

UL.toc, OL.toc {list-style: none}
DIV.toc UL UL, DIV.toc OL OL {margin-left: 0}
DIV.toc UL UL UL, DIV.toc OL OL OL {margin-left: 1em}
DIV.toc UL UL UL UL, DIV.toc OL OL OL OL {margin-left: 0}
LI.tocline1 {margin-top: 1em; font-weight: bold}
LI.tocline2 {font-weight: normal}
LI.tocline4 {font-style: italic}
/* DIV.subtoc UL, DIV.subtoc OL {list-style: none} */
DIV.subtoc {padding: 1em; border: solid thin; margin: 1em 0;
    background: #ddd}

S, DEL {text-decoration: line-through}
U, INS {text-decoration: underline}


/** Outdated warning **********************************************************/

a#outdated-note {
	color: white;
}

a#outdated-note:hover {
	background: transparent;
}

.outdated-spec {
	background-color: rgba(0,0,0,0.5);
}

.outdated-warning {
	position: fixed;
	bottom: 50%;
	left: 0;
	right: 0;
	margin: 0 auto;
	width: 50%;
	background: maroon;
	color: white;
	border-radius: 1em;
	box-shadow: 0 0 1em red;
	padding: 2em;
	text-align: center;
	z-index: 2;
}

.edited-rec-warning {
	background: darkorange;
	box-shadow: 0 0 1em;
}

.outdated-warning button {
	position: absolute;
	top: 0;
	right:0;
	margin: 0;
	border: 0;
	padding: 0.25em 0.5em;
	background: transparent;
	color: white;
	font:1em sans-serif;
	text-align:center;
}

.outdated-warning span {
	display: block;
}

.outdated-collapsed {
	bottom: 0;
	border-radius: 0;
	width: 100%;
	padding: 0;
}
