:root {
    --white: #ffffff;
    --color: #f6a50d;
    --gray: #272727;
    --light-gray: #888888;
    --white-alpha1: rgba(255, 255, 255, 0.1);
    --white-alpha5: rgba(255, 255, 255, 0.5);
    --black-alpha5: rgba(0, 0, 0, 0.5);
    --black-alpha15: rgba(0, 0, 0, 0.15);
    --black-alpha05: rgba(0, 0, 0, 0.05)
}

@font-face {
    font-family: 'Calibri';
    src: url('./font/Calibri.ttf');
    src: url('./font/Calibri.eot?#iefix') format('embedded-opentype'),
        url('./font/Calibri.woff') format('woff'),
        url('./font/Calibri.ttf') format('truetype'),
        url('./font/Calibri.svg#Calibri') format('svg');
    font-style: normal;
}

/* -----------------------------------
   Reset default browser styles
  ------------------------------------- */

* {
    line-height: 1.5;
    margin: 0;
    padding: 0;
    border: none;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

html {
    font-size: 65%;
    -webkit-text-size-adjust: 100%;
}

body {
    padding: 0;
    margin: 0;
    font-size: 1.4rem;
    font-family: 'Calibri';
    position: relative;
    min-height: 100vh;
    background: var(--white);
    color: var(--gray);
    line-height: 1.5;
}

::-webkit-scrollbar-button {
    display: none
}

::-webkit-scrollbar {
    background-color: transparent;
    width: 4px;
    height: 4px;
}

::-webkit-scrollbar-track {
    background-color: transparent;
    transition: .25s all ease;
}

::-webkit-scrollbar-track:hover {
    background-color: #ffffff
}

::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.3);
    transition: .25s all ease;
}

::-webkit-scrollbar-thumb:hover {
    background-color: rgba(0, 0, 0, 0.3);
}

a {
    text-decoration: none;
    outline: none !important;
    cursor: pointer;
    color: var(--color);
}

a:hover {
    outline: none !important;
}

b,
strong {
    font-weight: bold !important;
}

header,
section,
article,
footer,
aside {
    display: block;
}

ul,
ol {
    list-style: none;
}

ul {
    padding: 0 0 0 10px;
    margin: 0;

}

q {
    quotes: none;
}

p {
    line-height: 1.43;
}

table,
table td {
    padding: 0;
    border-collapse: collapse;
}

img {
    max-width: 100%;
    background: transparent;
    border: 0 none;
    font-weight: inherit;
    margin: 0;
    padding: 0;
    outline: 0;
}

embed {
    vertical-align: top;
}

input,
button {
    outline: none;
    border-radius: 0;
}

button {
    cursor: pointer;
    outline: none;
}

button:focus {
    outline: none;
}

input::-ms-clear,
input::-ms-reveal {
    display: none;
}

button::-moz-focus-inner {
    border: 0;
}

.noselect {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

input,
select,
textarea {
    -moz-appearance: none;
    appearance: none;
    background: transparent;
    -webkit-touch-callout: text;
    -webkit-user-select: text;
    -khtml-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
    border-radius: 0;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
a {
    margin: 0;
    padding: 0;
}

h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 10px;
}

h2 {
    font-size: 2.6rem;
    margin: 30px 0px 10px;
    border-bottom: solid 1px;
    border-color: var(--black-alpha15);

}

h2,
h3 {
    font-weight: 400;
    margin-bottom: 10px;
}

h3 {
    font-size: 2rem;
}

.grid {
    position: relative;
    display: flex;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transition: .3s linear;
}

.align-center {
    align-items: center;
    align-self: center;
}

.justify-between {
    justify-content: space-between;
}

.justify-center {
    justify-content: center;
}

.vertical {
    flex-direction: column;
    flex-wrap: nowrap;

}

/* -----------------------------------
   main styles
  ------------------------------------- */

.wrapper {
    padding-top: 70px;
}

header {
    position: fixed;
    display: flex;
    width: 100%;
    z-index: 10;
    padding: 0 20px;
    top: 0;
    height: 70px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
    background: var(--white);
}

.logo {
    height: 60px;
}

.search {
    position: relative;
}

.search input {
    max-width: 400px;
    width: 400px;
    height: 45px;
    border: solid 1px rgba(0, 0, 0, 0.1);
    padding: 15px 40px 15px 15px;
    font-size: 1.6rem;
    border-radius: 4px;
}

.search button {
    background: transparent;
    color: rgba(124, 55, 55, 0.3);
    position: absolute;
    right: 10px;
    top: 10px;
    transition: .3s ease;
}

.search button:hover {
    color: rgba(0, 0, 0, 1);
    transition: .3s ease;
}

.version select {
    /* Reset Select */
    appearance: none;
    outline: 0;
    border: 0;
    box-shadow: none;
    /* Personalize */
    flex: 1;
    padding: 0 1em;
    background-image: none;
    cursor: pointer;
    font-size: 1.45rem;
}

/* Remove IE arrow */
.version select::-ms-expand {
    display: none;
}

/* Custom Select wrapper */
.version {
    position: relative;
    display: flex;
    width: 10em;
    height: 45px;
    border-radius: 4px;
    overflow: hidden;
    background-color: #f3f3f3;
    border: solid 1px rgba(0, 0, 0, 0.1);
}

/* Arrow */
.version::after {
    content: '';
    border: solid black;
    border-width: 0 1px 1px 0;
    transform: rotate(45deg);
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 3px;
    transition: .25s all ease;
    pointer-events: none;
}

aside {
    z-index: 1;
    width: 300px;
    left: 0px;
    top: 0;
    position: fixed;
    height: 100%;
    padding: 0px 0 90px;
    margin-top: 70px;
    max-height: 100%;
    overflow-y: auto;
    border-right: solid 1px rgba(0, 0, 0, 0.1);
}

nav {
    padding-top: 20px;
}

nav ul .subNavInner {
    padding-left: 1em;
    overflow: hidden;
    display: none;
    background-color: var(--black-alpha05);
}

nav ul li {
    margin: 10px 0;
}

nav ul li a {
    color: var(--gray);
    font-size: 1.5rem;
}

nav ul li a.subNav {
    width: 100%;
    display: block;
    position: relative;
}

nav ul li a.subNav:after {
    content: '';
    border: solid var(--gray);
    border-width: 0 2px 2px 0;
    transform: rotate(-45deg);
    position: absolute;
    top: 5px;
    right: 15px;
    padding: 3px;
    transition: .25s all ease;
    pointer-events: none;
}

nav ul li a.subNav.block:after {
    transform: rotate(45deg);
}

nav ul li a.subNav.block {
    font-weight: 700;
}

nav ul .subNavInner.block {
    display: block;
}

nav ul li a.active {
    color: var(--color);
}

.mainContainer {
    padding-left: 300px;
    height: calc(100% - 136px);
    position: relative;
    overflow-y: auto;
}

.mainContainer .contWrap li {
    position: relative;
    padding: 5px 0px 5px 20px;
}

.mainContainer .contWrap li:before {
    content: '';
    position: absolute;
    width: 7px;
    height: 7px;
    background-color: var(--light-gray);
    left: 0;
    top: 12px;
    border-radius: 2px;
}

.mainContainer .contWrap li li:before {
    background-color: transparent;
    border: solid 1px;
    border-color: var(--light-gray);
}

.mainContainer code {
    background-color: var(--black-alpha05);
    padding: 2px 5px;
    border-radius: 2px;
    font-size: 1.2rem;
}

.mainContainer p {
    margin-bottom: 15px;
}

.warning {
    background-color: rgba(201, 122, 126, 0.05);
    border: solid 1px;
    border-color: rgba(201, 122, 126, 0.3);
    padding: 10px 10px 10px 40px;
    position: relative;
    margin-top: 10px;

}

.ico-warning {
    width: 15px;
    height: 15px;
    color: red;
    position: absolute;
    left: 15px;
    top: 14px;
}

.apiInfo,
.contWrap {
    display: inline-block;
    width: calc(100% - 480px);
    padding: 20px 30px;
}

.contWrap {
    width: 100%;
}

.mainContainer .attribute {
    padding-top: 25px;
}

.mainContainer table {
    width: 100%;
    margin-bottom: 10px;
}

.mainContainer table th,
.mainContainer table td {
    border-bottom: solid 1px;
    border-color: var(--black-alpha15);
    font-weight: 200;
    text-align: left;
}

.mainContainer table th {
    padding: 0px 10px 10px 0;
    text-transform: uppercase;
    font-size: 1.5rem;
}

.mainContainer table td {
    padding: 10px 10px 10px 0;
}

.mainContainer table td:first-child {
    color: var(--light-gray);
}

.mainContainer table td span {
    display: block;
}

.mainContainer table td span.attName {
    color: var(--gray);
    font-size: 1.6rem;
}

.mainContainer table td span.caption,
.caption {
    display: inline-block;
    cursor: help;
    text-transform: uppercase;
    border-bottom: dotted 1px;
    border-color: var(--color);
    position: relative;
}

.attDiscription {
    position: absolute;
    background-color: var(--white);
    text-align: center;
    border-radius: 4px;
    padding: 15px;
    width: max-content;
    max-width: 300px;
    cursor: default;
    visibility: hidden;
    display: none;
    opacity: 0;
    transition: .3s ease;
    text-transform: none;
}

.attDiscription.top {
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
}

.attDiscription:after,
.attDiscription:before {
    content: '';
    left: 50%;
    border: solid transparent;
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
}

.attDiscription.top:after,
.attDiscription.top:before {
    top: 100%;
}

.attDiscription.top:before {
    border-color: #e6ebf3 rgba(245, 56, 56, 0)rgba(245, 56, 56, 0);
    border-width: 11px;
    margin-left: -11px;
}

.attDiscription.top:after {
    border-color: #ffffff hsla(0, 0%, 100%, 0)hsla(0, 0%, 100%, 0);
    border-width: 10px;
    margin-left: -10px;
}

section.attribute table td span.caption:hover .attDiscription,
.caption:hover .attDiscription {
    visibility: visible;
    display: block;
    opacity: 1;
}

section.attribute table td span.caption:hover .attDiscription.top,
.caption:hover .attDiscription.top {
    box-shadow: 0 8px 20px 9px rgba(0, 0, 0, 0.1);
}

.apiDetails {
    position: fixed;
    display: inline-block;
    width: 480px;
    height: calc(100% - 70px);
    top: 70px;
    right: 0;
    background: var(--gray);
    color: var(--white);
    padding: 15px;
}


.tab ul.tab-menu {
    width: 100%;
    overflow: hidden;
    overflow-x: auto;
    white-space: nowrap;
    padding: 0;
}

.tab ul.tab-menu>li {
    position: relative;
    float: left;
    cursor: pointer;
    width: 50%;
}

.tab ul.tab-menu>li.active {
    z-index: 2;
}

.tab ul.tab-menu>li.active a {
    color: var(--white);
    background-color: var(--color);
}

.tab ul.tab-menu>li>a {
    display: block;
    min-width: 120px;
    padding: 0 10px;
    max-width: 300px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: 15px;
    line-height: 40px;
    text-align: center;
    color: var(--white);
    background-color: var(--white-alpha1);
    border-radius: 100px;
}

.tab .tab-content>div {
    margin-top: -2px;
    position: relative;
    padding: 5px;
    display: none;
}

.tab .tab-content>div.view {
    display: block;
    width: 100%;
    min-height: 200px;
}

.link {
    padding: 10px 35px 10px 0px;
    position: relative;
    text-align: center;
}

.copy span {
    position: absolute;
    right: 0;
    top: 10px;
    width: 40px;
    height: 40px;
    padding: 12px;
    border-radius: 50%;
    cursor: pointer;
    background-color: var(--white-alpha1);
    transition: 0.3s all ease;
    z-index: 10;
}

.copy span:hover {
    transform: scale(1.2);
}

.ico-copy {
    color: var(--white);
    width: 18px;
}

.codeType {
    border-bottom: solid 1px;
    border-top: solid 1px;
    border-color: var(--white-alpha1);
    margin: 0px -15px;
    padding: 10px 0;
    overflow: hidden;
    height: 60px;
}

.switch {
    position: absolute;
    top: 10px;
    left: 50%;
    width: 160px;
    height: 40px;
    text-align: center;
    margin: 0px 0 0 -80px;
    background: #e86d04;
    transition: all 0.2s ease;
    border-radius: 4px;
}

.switch span {
    position: absolute;
    width: 20px;
    height: 4px;
    top: 50%;
    left: 50%;
    margin: -2px 0px 0px -4px;
    background: #fff;
    display: block;
    transform: rotate(-45deg);
    transition: all 0.2s ease;
}

.switch span:after {
    content: "";
    display: block;
    position: absolute;
    width: 4px;
    height: 12px;
    margin-top: -8px;
    background: #fff;
    transition: all 0.2s ease;
}

input[type=radio] {
    display: none;
}

.switch label {
    cursor: pointer;
    color: rgba(0, 0, 0, 0.3);
    width: 60px;
    line-height: 40px;
    transition: all 0.2s ease;
}

label[for=req],
label[for=proReq] {
    position: absolute;
    left: 15px;
    height: 20px;
}

label[for=res],
label[for=proRes] {
    position: absolute;
    right: 15px;
}

#res:checked~.switch,
#proRes:checked~.switch {
    background: #c55200;
}

#req:checked~.switch label[for=req],
#proReq:checked~.switch label[for=proReq] {
    color: #fff;
}

#res:checked~.switch label[for=res],
#proRes:checked~.switch label[for=proRes] {
    color: #fff;
}


.tabCode ul.tab-menu>li {
    width: auto;
    margin-top: 10px;
}

.tabCode ul.tab-menu>li a {
    background-color: transparent;
    color: var(--white-alpha5);
    border-radius: 0;
    width: auto;
    min-width: auto;
    text-transform: uppercase;
}

.tabCode ul.tab-menu>li.active a {
    background-color: transparent;
    color: var(--color);
    border-bottom: solid 2px;
    border-color: var(--color);
}

.tabCode .tab-content {

    border-top: solid 1px;
    border-color: var(--white-alpha1);
}

.tabCode .tab-content>div {
    background-color: var(--black-alpha5);
    padding: 0 15px 15px;
    margin-top: 10px;
    border-radius: 10px 10px 0 0;
    height: calc(100vh - 313px);
}

.code {
    overflow-y: auto;
    position: relative;
    width: 100%;
    height: 100%;
    color: #bed6ff;
    line-height: 1.7;
    word-break: break-word;
}

.code pre {
    white-space: pre-line;
    left: 0;
    margin: 0;
    padding: 0;
}

footer {
    z-index: 2;
    background-color: var(--white);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
    position: relative;
    padding: 20px;
}

.string {
    color: #2aa198
}

.keywords {
    color: #859900
}

.comments {
    color: #5f6f6f;
}

.built {
    color: #dc322f;
}