::-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;
    scroll-behavior: smooth;
}

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

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

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

a:hover
{
    text-decoration: underline;
}

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;
}

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;
}

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

nav .topic::before, nav li.method::before, nav .global-method::before, nav .subtopic::before, nav li.static::before
{
	position: relative;
    top: 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::before
{
    content: url(images/object.png);
}

nav li.method::before
{
    content: url(images/method.png);
    margin-right: 4px;
}

nav li.static::before
{
    content: url(images/property.png);
    margin-right: 4px;
}

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

nav LI.active > a, nav LI.active > b > a
{
    margin-left: -4px;
}

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

#main h4.active
{
    border-bottom: 4px solid 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;*/
    top: 0;
    z-index: 99999;	
    display: inline-block;
    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: 16px;
} 

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;
}

h4
{
    font-size: 18px;
    color: #4d4e53;
    border-top: 1px solid #CCC;
}

.container-overview, article dl, article h4, .description, article h5, article h5 + ul, .details, .param-desc, .params, .prettyprint, .props, .live-sample
{
    margin-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 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
{
    margin-top: 14px;
    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 .prettyprint
{
    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
{
    border-left: 4px solid #c5c5c5;
    padding-left: 8px;
    border-radius: 4px;    
}

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

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

.prettyprint.source
{
    width: inherit;
}

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

.prettyprint
{
    padding-left: 24px;
    font-family: inherit;
    font-style: italic;
}

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

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

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

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

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

.prettyprint.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;
}

@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;
  }
}
