::-webkit-scrollbar
{
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track
{
  background-color: #F8F8F8;
  -webkit-border-radius: 6px;
  border-radius: 6px;
}

::-webkit-scrollbar-thumb
{
  -webkit-border-radius: 6px;
  border-radius: 6px;
  background-color: #C0C0C0;
}

::-webkit-scrollbar-thumb:hover
{
  background-color: #A0A0A0;
}

html
{
    overflow: auto;
    background-color: #fff;
    font-size: 14px;
}

body
{
    line-height: 1.5;
    background-color: white;
    margin: 0 8px 8px 8px;
    color: #4D4E53;
}

body, code, tbody
{
	font-family: Arial, Helvetica, sans-serif;
	font-weight: normal;
	font-size: 13px;
}

a, a:visited, a:active, header, h4.name, #main a.live-sample
{
    color: #0095dd;
    text-decoration: none;
}

a:hover
{
    text-decoration: underline;
}

a[target]::after
{
    content: url(images/link.png);
    zoom: 0.5;
    position: relative;
    top: -1em;
}

#main a.disabled
{
    color: gray;
    pointer-events: none;
    text-decoration: none;
}

tt, kbd, samp
{
    font-family: Consolas, Monaco, 'Andale Mono', monospace;
}

.class-description
{
    font-size: 130%;
    line-height: 140%;
    margin-bottom: 1em;
    margin-top: 1em;
}

.class-description:empty
{
    margin: 0;
}

article img
{
  max-width: 100%;
}

header
{
    position: sticky;
    top: 0;
    background: white;
    border-bottom: 1px solid #ccc;
    z-index: 100000;
}

header h2
{
    padding: 4px 0 4px;
}

.container-overview h4
{
    border-top: initial;
    position: relative;
    left: -48px;
    width: calc(100% + 48px);
}

section
{
    display: block;
    padding: 0 12px 12px 12px;
    border-bottom: 1px solid #CCC;
    margin-right: 48px;
}

.variation
{
    display: none;
}

.signature-attributes
{
    font-size: 60%;
    color: gray;
    font-style: italic;
    font-weight: lighter;
    padding-left: 2px;
}

#main
{
    float: right;
    width: calc(100% - 210px);
}

#L
{
	float: left;
    display: block;
    width: 210px;
    background: #fff;
    position: fixed;
    height: 100%;
    border-right: 1px solid #c5c5c5;
    padding-right: 3px;    
    white-space: nowrap;
}

#L::after
{
  content: var(--version, "");
  position: absolute;
  right: 0;
  bottom: 0;
  margin: 0 12px 8px;
  color: #E8E8E8;
  user-select: none;
  animation: hideVersionAfter 0s 8s forwards;
}

@keyframes hideVersionAfter
{
  to { content: ""; }
}

nav
{
    overflow: auto;
    height: calc(100% - 36px);	
    margin-top: 4px;
    user-select: none;
}

nav .topic::before, nav li.method::before, nav .global-method::before, nav .subtopic::before, nav li.member.static::before, nav li.member.instance::before
{
	position: relative;
    top: 2px;
    margin-right: 6px;
    left: 2px;
}

nav .classes::before
{
    content: url(images/library.png);
}

nav .events::before, nav .event::before
{
    content: url(images/event.png);
}

nav .global::before, nav .global-method::before
{
    content: url(images/constant.png);
}

nav .subtopic.control
{
    font-weight: bold;
}

nav .subtopic::before
{
    content: url(images/object.png);
}

nav li.method::before
{
    content: url(images/method.png);
}

nav li.member.static.readonly::before
{
    content: url(images/constant.png);
}

nav li.member.static::before
{
    content: url(images/property.png);
}

nav li.member.instance::before
{
    content: url(images/property.png);
    filter: sepia(100%) saturate(500%);
}

/*
nav .import a
{
    opacity: 0.75;
}
*/  

nav .readonly
{
    position: relative;
}

nav .readonly::after
{
  content: url(images/readonly.png);
  position: absolute;
  top: 2px;
  right: 4px;
  opacity: 0.25;
}

nav .subtopic
{
    display: inline-block;
    position: sticky!important;
    top: 0;
    z-index: 99998;	
    width: calc(100% - 16px);
    text-decoration: none;
    color: initial;
    padding-top: 2px;
    padding-bottom: 2px;
    border: 1px solid #E0E0E0;
    border-radius: 4px;
}

nav .subtopic:has(.glyph:not(.expanded))
{
    color: black;
    background-color: white;
    border: 1px solid transparent;
}

nav .active .subtopic:has(.glyph:not(.expanded))
{
    border: 1px solid lightgray;
}

nav .subtopic, .descriptor-table.three tr:first-child, .descriptor-table tr:first-child, .descriptor-table tr:first-child
{
    background-color: #F0F0F0;
}

nav LI > a, nav LI > b > a
{
    padding: 4px;
}

nav LI.active > a, nav LI.active > b > a
{
    background-color: black;
    color: white;
    position: relative;
    border-radius: 4px;
    text-decoration: none;
}

nav .glyph
{
    float: right;
    clear: both;
    position: relative;
    left: -10px;
    top: 8px; 
    border: solid #D0D0D0;
    border-width: 0 2px 2px 0;
    width: 0.25em;
    height: 0.25em;
    cursor: pointer;
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    transition: transform 0.25s;
}

nav .subtopic .glyph
{
    left: -4px
}

nav .glyph::before
{
  content: "";
  position: absolute;
  inset: -8px; /* expands clickable zone in all directions */
/*
  outline: 1px solid black;
*/  
}

nav .glyph.expanded
{
  transform: rotate(-135deg);
  -webkit-transform: rotate(-135deg);
}

li:has(a span.glyph:not(.expanded)) > ul, h3:has(span span.glyph:not(.expanded)) + ul
{
  display: none;
}

nav h3
{
    cursor: pointer;
}

.spec
{
    position: relative;
    margin-bottom: 1em;
}

#main h4.active, #main h4.active + .spec
{
    color: black;
}

#main h4.active + .spec::before
{
    content: "";
    position: absolute;
    width: 0px;
    height: calc(100% - 4px);
    display: block;
    margin-left: 28px;
    border-color: black!important;
}

#main .container-overview h4.active + .spec::before
{
    margin-left: -18px!important;
}

#main h4.active
{
    font-weight: bold;
    background-color: black !important;
    color: white!important;
    border-radius: 4px;
/*    
    box-shadow: 0px 2px 0 0 black;
*/    
}

input#Filter
{
    width: calc(100% - 8px);
    top: 4px;    
    left: 4px;
    position: sticky;
    margin-left: 0;
    margin-bottom: 4px;
    cursor: auto;
    font-size: 100%;
    text-indent: 4px;
    height: 20px;
    border-radius: 3px;
    border: 1px solid #cccccc;
    box-shadow: 0px 1px 0 rgba(0, 0, 0, .08);
    transition: background 0.15s linear;
    outline: none;
}

input#Filter:focus
{
    background: #f8f8f8;
}

span#close
{
    float: right;
    position: relative;
    top: calc(-100% + 11px);
    right: 6px;    
	cursor: pointer;
	opacity: 0;
	transform: rotate(-90deg);
	-webkit-transform: rotate(-90deg);
	transition: transform 0.25s;
}

.close span#close
{
	transform: rotate(0deg);
	-webkit-transform: rotate(0deg);
	opacity: 1;
}
 
nav ul
{
    padding: 0;
    margin: 0;
    list-style-type: none;
}

nav h3
{
/*    
    position: sticky;
    display: inline-block;
*/    
    top: 0;
    z-index: 99999;	
    width: calc(100% - 4px);
    border-bottom: 1px solid #e5e5e5;
    border-top: 1px solid #e5e5e5;
    background: white;
    text-overflow: clip;
    overflow: hidden;
    line-height: 1.6em;    
}

nav li
{
    margin-left: 8px;
} 

footer
{
    display: none;
    padding: 6px;
    margin-top: 12px;
    font-style: italic;
    font-size: 90%;
}

h1, h2, h3, h4
{
    font-weight: 200;
    margin: 0;
}

h1
{
    display: none;
    font-size: 32px;
    letter-spacing: -2px;
    margin: 12px 24px 20px;
}

h2, h3.subsection-title
{
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -1px;
}

h2 .signature, h2 .type-signature
{
    display: none;
}

h4
{
    font-size: 18px;
    color: #4d4e53;
    border-top: 1px solid #CCC;
    border-bottom: 1px solid #CCC;
    margin-left: 0 !important;
    background-color: #F0F0F0;
    padding: 4px;
    border-radius: 4px;
}

.container-overview, article dl, article h4, .description, article h5, article h5 + ul, .details, .param-desc, .params, .samples, .props, .live-sample
{
    margin-left: 48px;
}

.container-overview .spec
{
    margin-left: -48px;
    padding-left: 48px;
}

.container-overview h4, .container-overview h5, .container-overview .description, .container-overview .params, .description .params
{
    margin-left: initial;
}

h5, h6, .container-overview .subsection-title, dt, thead tr
{
    font-size: 100%;
    font-weight: bold;
    letter-spacing: -0.01em;
    margin: 3px 0 3px 0;
}

thead tr
{
    font-size: 90%;
}

.param-desc
{
    padding-left: 40px;
}

table
{
    border-spacing: 0;
    border: 0;
    border-collapse: collapse;
}

td, th
{
    border: 1px solid #ddd;
    margin: 0px;
    text-align: left;
    vertical-align: top;
    padding: 4px 6px;
    display: table-cell;
}

.props, .params
{
    width: calc(100% - 48px);
}

.props td, .props th
{
    border: initial;
    border-bottom: 1px solid #ddd;
}

.props tr:nth-child(even)
{
    background-color: #F8F8F8;
}

thead tr
{
    color: white;
    font-weight: bold;
}

thead tr th:first-child, thead tr th:nth-child(1), thead tr th:nth-child(2), thead tr th:nth-child(3), thead tr th:nth-child(4), thead tr th:nth-child(5)
{
    background-color: #c5c5c5;
}

thead tr th:first-child
{
    border-top-left-radius: 10px;
    border: none;
}

th
{
    border-right: 1px solid #ddd;
}

tr > th:last-child
{
    border-right: 1px solid #ddd;
}

.clear
{
    clear: both;
}

.important
{
    font-weight: bold;
    color: #950B02;
}

.yes-def
{
    text-indent: -1000px;
}

.type-signature
{
    color: #aaa;
}

.details
{
    border-left: 2px solid #DDD;
}

.details dt
{
    width: 120px;
    float: left;
    padding-left: 10px;
    padding-top: 6px;
}

.details dd
{
    margin-left: 70px;
}

.details ul
{
    margin: 0;
}

.details ul
{
    list-style-type: none;
}

.details li
{
    margin-left: 30px; padding-top: 6px;
}

.details .samples
{
    margin: 0
}

.details .object-value
{
    padding-top: 0;
}

.description
{
    margin-bottom: 1em;
    margin-top: 1em;
}

.warn
{
    margin-top: 8px;
    margin-bottom: 8px;
    padding: 4px;
    color: #fff!important;
    background-color: #2196F3!important;
    text-align: center;
}

.warn a
{
    color: #fff!important;
    font-weight: bold;
}

.note, #main h4.active + .spec::before
{
    border-left: 2px solid #c5c5c5;
    padding-left: 8px;
    border-radius: 8px;
}

.code-caption
{
    font-style: italic;
    font-size: 107%;
    margin: 0;
}

.source
{
    border: 1px solid #ddd;
    width: 80%;
    overflow: auto;
}

.samples.source
{
    width: inherit;
}

.source code
{
    font-size: 100%;
    line-height: 18px;
    display: block;
    padding: 4px 12px;
    margin: 0;
    background-color: #fff;
    color: #4D4E53;
}

.samples
{
    padding-left: 24px;
    font-family: inherit;
    font-style: italic;
    width: calc(100% - 96px);
    overflow: hidden;
    white-space: break-spaces;
    text-overflow: ellipsis;
    color: #4D4E53;
}

.samples code span.line
{
    display: inline-block;
}

.samples.linenums
{
  padding-left: 70px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.samples.linenums ol
{
  padding-left: 0;
}

.samples.linenums li
{
  border-left: 3px #ddd solid;
}

.samples.linenums li.selected, .samples.linenums li.selected *
{
  background-color: lightyellow;
}

.samples.linenums li *
{
  -webkit-user-select: text;
  -moz-user-select: text;
  -ms-user-select: text;
  user-select: text;
}

.params .name, .props .name, .name code
{
    color: #4D4E53;
    font-size: 100%;
}

.params td.description > p:first-child, .props td.description > p:first-child
{
    margin-top: 0;
    padding-top: 0;
}

.params td.description > p:last-child, .props td.description > p:last-child
{
    margin-bottom: 0;
    padding-bottom: 0;
}

.disabled
{
    color: #454545;
}

.hidden
{
  display: none;
}

.live-sample::before
{
    content: "\25B8";
    color: black;
    zoom: 1.75;
    display: inline-block;
    position: relative;
    top: 2px;
    right: 1px;
    text-decoration: none;
}

.descriptor-table
{
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.descriptor-table th, .descriptor-table td
{
    border: 1px solid #ccc;
    padding: 5px;
    vertical-align: top;
    overflow: hidden;
    word-wrap: break-word;
}

.descriptor-table.three th[colspan="3"], .descriptor-table.three td[colspan="3"]
{
    font-weight: bold;
}

.descriptor-table th:first-child, .descriptor-table td:first-child
{
    width: 175px;
    white-space: nowrap;
}

.descriptor-table.three th:nth-child(2), .descriptor-table.three td:nth-child(2)
{
    width: auto;
}

.descriptor-table.three th:last-child, .descriptor-table.three td:last-child
{
    width: 465px;
}

.descriptor-table ul
{
    margin: 0;
    padding-left: 20px;
}

.FilterMatch
{
	background-color: yellow; border-radius: 3px;
}

.FilterMatch.F2
{
	background-color: Goldenrod;
}

.FilterMatch.F3
{
	background-color: lime;
}

.FilterMatch.F4
{
	background-color: green;
}

WRAP
{
	overflow: hidden;
	display: block;
}

.iframe-url
{
    display: none;
}

.loading
{
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000;
    width: 64px;
    height: 64px;
    background-image: url('images/arrows.gif');
}

.loading.active
{
    display: block;
}

@media only screen and (max-width: 580px)
{
  body
  {
    margin: 0;
  }

  body::-webkit-scrollbar
  {
    display: none;
  }

  #L
  {
    width: calc(100% - 4px);
    height: 164px;
    overflow-y: hidden;
    border-right: none;
    padding-right: 0;
    border-bottom: 1px solid lightgray;
  }

  #F
  {
    margin-right: 6px;
    position: sticky;
    top: 0px;
    z-index: 100000;
  }

  #main
  {
    float: left;
    width: 100%;
    position: relative;
    top: 165px;
  }

  header
  {
    z-index: initial;
  }
}
