/**
 * prism.js default theme for JavaScript, CSS and HTML
 * Based on dabblet (http://dabblet.com)
 * @author Lea Verou
 */

code[class*="language-"],
pre[class*="language-"] {
	color: black;
	text-shadow: 0 1px white;
	font-family: Consolas, Monaco, 'Andale Mono', monospace;
	direction: ltr;
	text-align: left;
	white-space: pre;
	word-spacing: normal;

	/* -moz-tab-size: 4; Unknown vendor extension */
	/* -o-tab-size: 4; Unknown vendor extension */
	tab-size: 4;

	/* -webkit-hyphens: none; Unknown vendor extension */
	/* -moz-hyphens: none; Unknown vendor extension */
	/* -ms-hyphens: none; Unknown vendor extension */
	hyphens: none;
}
/*  Unknown vendor extension
::-moz-selection {
	text-shadow: none;
	background: #b3d4fc;
}
*/
/*  Non-standard
::selection {
	text-shadow: none;
	background: #b3d4fc;
}
*/
@media print {
	code[class*="language-"],
	pre[class*="language-"] {
		text-shadow: none;
	}
}

/* Code blocks */
pre[class*="language-"] {
	padding: 1em;
	margin: .5em 0;
	overflow: auto;
}

:not(pre) > code[class*="language-"],
pre[class*="language-"] {
	background: #f5f2f0;
}

/* Inline code */
:not(pre) > code[class*="language-"] {
	padding: .1em;
	border-radius: .3em;
}

.token.comment,
.token.prolog,
.token.doctype,
.token.cdata {
	color: #5a6a8a; /* previous value of slategray was below min contrast for WCAG compliance */
}

.token.punctuation {
	color: #666; /* previous value of 999 was below min contrast for WCAG compliance */
}

.namespace {
	opacity: .7;
}

.token.property,
.token.tag,
.token.boolean,
.token.number {
	color: #905;
}

.token.selector,
.token.attr-name,
.token.string {
	color: #517A00; /* previous value of 690 was below min contrast for WCAG compliance */
}

.token.operator,
.token.entity,
.token.url,
.language-css .token.string,
.style .token.string {
	color: #806144; /* previous value of a67f59 was below min contrast for WCAG compliance */
	background: hsla(0,0%,100%,.5);
}

.token.atrule,
.token.attr-value,
.token.keyword {
	color: #07a;
}


.token.regex,
.token.important {
	color: #e90;
}

.token.important {
	font-weight: bold;
}

.token.entity {
	cursor: help;
}

/* added from the main document by Liam Quin */
.issue {border: dashed red 2px; background-color: #ffd}
.example {color: #404; background-color:#eee}

span.informative {
  background-color: white;
  display: inline;
  border: 1px solid black;
  color: #404;
  padding: 2px;
}

.example:first-child {padding-top:1em}

/* Make these stand-out more... */
.externalDFN {
  font-style: italic;
  background-color: #fff9d6;
}
/* Switch statement */
dl.switch dt::before {
  content: "↪ ";
  margin-left: 1em;
}
/* Better spacing around various lists (implied paragraph children) */
ol > li, section:not(#toc) ul > li, section dl > dt {
  margin: 1em 0;
}
/* domintro styling */
dl.domintro {
  background-color: rgb(221, 255, 221);
  padding: 1em 0.5em 1em 2em;
  clear: both;
}
dl.domintro dt {
  color: black;
}
dl.domintro > dd {
  color: green;
}
dl.domintro::before {
  float: right;
  background-color: white;
  display: block;
  border: 2px solid black;
  color: green;
  margin-top: -20px;
  padding: 2px;
  content: "This box is informative.";
}
/* Fancy table stuff */
table {
  border-collapse: collapse;
}
thead tr {
  border-bottom: 2px solid black;
}
tbody tr:not(:last-child) {
  border-bottom: 1px solid black;
}
td {
  border-left: 1px solid black;
  padding: 4px;
}

/*****************************************************************
 * ReSpec 3 CSS
 * Robin Berjon - http://berjon.com/
 *****************************************************************/

/* --- INLINES --- */
em.rfc2119 {
  text-transform:     lowercase;
  font-variant:       small-caps;
  font-style:         normal;
  color:              #900;
}

h1 acronym, h2 acronym, h3 acronym, h4 acronym, h5 acronym, h6 acronym, a acronym,
h1 abbr, h2 abbr, h3 abbr, h4 abbr, h5 abbr, h6 abbr, a abbr {
  border: none;
}

dfn {
  font-weight:    bold;
}

a.internalDFN {
  color:  inherit;
  border-bottom:  1px solid #99c;
  text-decoration:    none;
}

a.externalDFN {
  color:  inherit;
  border-bottom:  1px dotted #ccc;
  text-decoration:    none;
}

a.bibref {
  text-decoration:    none;
}

cite .bibref {
  font-style: normal;
}



/* --- TOC --- */
.toc a, .tof a {
  text-decoration:    none;
}

a .secno, a .figno {
  color:  #000;
}

ul.tof, ol.tof {
  list-style: none outside none;
}

.caption {
  margin-top: 0.5em;
  font-style:   italic;
}


/* --- DL --- */
.section dd > p:first-child {
  margin-top: 0;
}

.section dd > p:last-child {
  margin-bottom: 0;
}

.section dd {
  margin-bottom:  1em;
}

.section dl.attrs dd, .section dl.eldef dd {
  margin-bottom:  0;
}
/* --- ISSUES/NOTES --- */
div.note-title {
  padding-right:  1em;
  min-width: 7.5em;
  color: #b9ab2d;
}

div.note-title { color: #52e052; }
div.note-title span {
  text-transform: uppercase;
}
div.note {
  margin-top: 1em;
  margin-bottom: 1em;
}
.note > p:first-child { margin-top: 0 }
.note {
  padding: .5em;
  border-left-width: .5em;
  border-left-style: solid;
}
div.note {
  padding: 0.5em;
  margin: 1em 0;
  position: relative;
  clear: both;
}
span.note { padding: .1em .5em .15em; }

.note {
  border-color: #52e052;
  background: #e9fbe9;
}


pre.idl {
  border-top: 1px solid #90b8de;
  border-bottom: 1px solid #90b8de;
  padding:    1em;
  line-height:    120%;
}

pre.idl::before {
  content:    "WebIDL";
  display:    block;
  width:      8ex;
  background: #90b8de;
  color:  #fff;
  font-family:    initial;
  padding:    3px;
  font-weight:    bold;
  margin: -1em 0 1em -1em;
}

.idlType {
  color:  #ff4500;
  font-weight:    bold;
  text-decoration:    none;
}

/*.idlInterface*/
.idlInterfaceID, .idlDictionaryID, .idlCallbackID, .idlEnumID {
  font-weight:    bold;
  color:  #005a9c;
}

.idlSuperclass {
  font-style: italic;
  color:  #005a9c;
}

/*.idlAttribute*/
.idlAttrType, .idlFieldType, .idlMemberType {
  color:  #005a9c;
}
.idlAttrName, .idlFieldName, .idlMemberName {
  color:  #ff4500;
}
.idlAttrName a, .idlFieldName a, .idlMemberName a {
  color:  #ff4500;
  border-bottom:  1px dotted #ff4500;
  text-decoration: none;
}



.extAttr {
  color:  #666;
}

/*.idlConst*/
.idlConstType {
  color:  #005a9c;
}
.idlConstName {
  color:  #ff4500;
}
.idlConstName a {
  color:  #ff4500;
  border-bottom:  1px dotted #ff4500;
  text-decoration: none;
}


.idlImplements a {
  font-weight:    bold;
}

dl.attributes, dl.methods, dl.constants, dl.fields, dl.dictionary-members {
  margin-left:    2em;
}

.attributes dt, .methods dt, .constants dt, .fields dt, .dictionary-members dt {
  font-weight:    normal;
}

.attributes dt code, .methods dt code, .constants dt code, .fields dt code, .dictionary-members dt code {
  font-weight:    bold;
  color:  #000;
  font-family:    monospace;
}

.attributes dt code, .fields dt code, .dictionary-members dt code {
  background:  #ffffd2;
}

.attributes dt .idlAttrType code, .fields dt .idlFieldType code, .dictionary-members dt .idlMemberType code {
  color:  #005a9c;
  background:  transparent;
  font-family:    inherit;
  font-weight:    normal;
  font-style: italic;
}



.attributes dd, .methods dd, .constants dd, .fields dd, .dictionary-members dd {
  margin-bottom:  1em;
}
