/*

vim-hybrid theme by w0ng (https://github.com/w0ng/vim-hybrid)

*/

/*background color*/
.hljs {
  display: block;
  overflow-x: auto;
  padding: 0.5em;
  background: #1d1f21;
}

/*selection color*/
.hljs::selection,
.hljs span::selection {
  background: #373b41;
}

.hljs::-moz-selection,
.hljs span::-moz-selection {
  background: #373b41;
}

/*foreground color*/
.hljs {
  color: #c5c8c6;
}

/*color: fg_yellow*/
.hljs-title,
.hljs-name {
  color: #f0c674;
}

/*color: fg_comment*/
.hljs-comment,
.hljs-meta,
.hljs-meta .hljs-keyword {
  color: #707880;
}

/*color: fg_red*/
.hljs-number,
.hljs-symbol,
.hljs-literal,
.hljs-deletion,
.hljs-link {
 color: #cc6666
}

/*color: fg_green*/
.hljs-string,
.hljs-doctag,
.hljs-addition,
.hljs-regexp,
.hljs-selector-attr,
.hljs-selector-pseudo {
  color: #b5bd68;
}

/*color: fg_purple*/
.hljs-attribute,
.hljs-code,
.hljs-selector-id {
 color: #b294bb;
}

/*color: fg_blue*/
.hljs-keyword,
.hljs-selector-tag,
.hljs-bullet,
.hljs-tag {
 color: #81a2be;
}

/*color: fg_aqua*/
.hljs-subst,
.hljs-variable,
.hljs-template-tag,
.hljs-template-variable {
  color: #8abeb7;
}

/*color: fg_orange*/
.hljs-type,
.hljs-built_in,
.hljs-builtin-name,
.hljs-quote,
.hljs-section,
.hljs-selector-class {
  color: #de935f;
}

.hljs-emphasis {
  font-style: italic;
}

.hljs-strong {
  font-weight: bold;
}

/**
 * Featherlight - ultra slim jQuery lightbox
 * Version 1.2.3 - http://noelboss.github.io/featherlight/
 *
 * Copyright 2015, Noël Raoul Bossart (http://www.noelboss.com)
 * MIT Licensed.
**/
@media all{.featherlight{display:none;position:fixed;top:0;right:0;bottom:0;left:0;z-index:2147483647;text-align:center;white-space:nowrap;cursor:pointer;background:#333;background:rgba(0,0,0,0)}.featherlight:last-of-type{background:rgba(0,0,0,.8)}.featherlight:before{content:'';display:inline-block;height:100%;vertical-align:middle;margin-right:-.25em}.featherlight .featherlight-content{position:relative;text-align:left;vertical-align:middle;display:inline-block;overflow:auto;padding:25px 25px 0;border-bottom:25px solid transparent;min-width:30%;margin-left:5%;margin-right:5%;max-height:95%;background:#fff;cursor:auto;white-space:normal}.featherlight .featherlight-inner{display:block}.featherlight .featherlight-close-icon{position:absolute;z-index:9999;top:0;right:0;line-height:25px;width:25px;cursor:pointer;text-align:center;font:Arial,sans-serif;background:#fff;background:rgba(255,255,255,.3);color:#000}.featherlight .featherlight-image{width:100%}.featherlight-iframe .featherlight-content{border-bottom:0;padding:0}.featherlight iframe{border:0}}@media only screen and (max-width:1024px){.featherlight .featherlight-content{margin-left:10px;margin-right:10px;max-height:98%;padding:10px 10px 0;border-bottom:10px solid transparent}}
/* perfect-scrollbar v0.6.13 */
.ps-container{-ms-touch-action:auto;touch-action:auto;overflow:hidden !important;-ms-overflow-style:none}@supports (-ms-overflow-style: none){.ps-container{overflow:auto !important}}@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none){.ps-container{overflow:auto !important}}.ps-container.ps-active-x>.ps-scrollbar-x-rail,.ps-container.ps-active-y>.ps-scrollbar-y-rail{display:block;background-color:transparent}.ps-container.ps-in-scrolling.ps-x>.ps-scrollbar-x-rail{background-color:#eee;opacity:.9}.ps-container.ps-in-scrolling.ps-x>.ps-scrollbar-x-rail>.ps-scrollbar-x{background-color:#999;height:11px}.ps-container.ps-in-scrolling.ps-y>.ps-scrollbar-y-rail{background-color:#eee;opacity:.9}.ps-container.ps-in-scrolling.ps-y>.ps-scrollbar-y-rail>.ps-scrollbar-y{background-color:#999;width:11px}.ps-container>.ps-scrollbar-x-rail{display:none;position:absolute;opacity:0;-webkit-transition:background-color .2s linear, opacity .2s linear;-o-transition:background-color .2s linear, opacity .2s linear;-moz-transition:background-color .2s linear, opacity .2s linear;transition:background-color .2s linear, opacity .2s linear;bottom:0px;height:15px}.ps-container>.ps-scrollbar-x-rail>.ps-scrollbar-x{position:absolute;background-color:#aaa;-webkit-border-radius:6px;-moz-border-radius:6px;border-radius:6px;-webkit-transition:background-color .2s linear, height .2s linear, width .2s ease-in-out, -webkit-border-radius .2s ease-in-out;transition:background-color .2s linear, height .2s linear, width .2s ease-in-out, -webkit-border-radius .2s ease-in-out;-o-transition:background-color .2s linear, height .2s linear, width .2s ease-in-out, border-radius .2s ease-in-out;-moz-transition:background-color .2s linear, height .2s linear, width .2s ease-in-out, border-radius .2s ease-in-out, -moz-border-radius .2s ease-in-out;transition:background-color .2s linear, height .2s linear, width .2s ease-in-out, border-radius .2s ease-in-out;transition:background-color .2s linear, height .2s linear, width .2s ease-in-out, border-radius .2s ease-in-out, -webkit-border-radius .2s ease-in-out, -moz-border-radius .2s ease-in-out;bottom:2px;height:6px}.ps-container>.ps-scrollbar-x-rail:hover>.ps-scrollbar-x,.ps-container>.ps-scrollbar-x-rail:active>.ps-scrollbar-x{height:11px}.ps-container>.ps-scrollbar-y-rail{display:none;position:absolute;opacity:0;-webkit-transition:background-color .2s linear, opacity .2s linear;-o-transition:background-color .2s linear, opacity .2s linear;-moz-transition:background-color .2s linear, opacity .2s linear;transition:background-color .2s linear, opacity .2s linear;right:0;width:15px}.ps-container>.ps-scrollbar-y-rail>.ps-scrollbar-y{position:absolute;background-color:#aaa;-webkit-border-radius:6px;-moz-border-radius:6px;border-radius:6px;-webkit-transition:background-color .2s linear, height .2s linear, width .2s ease-in-out, -webkit-border-radius .2s ease-in-out;transition:background-color .2s linear, height .2s linear, width .2s ease-in-out, -webkit-border-radius .2s ease-in-out;-o-transition:background-color .2s linear, height .2s linear, width .2s ease-in-out, border-radius .2s ease-in-out;-moz-transition:background-color .2s linear, height .2s linear, width .2s ease-in-out, border-radius .2s ease-in-out, -moz-border-radius .2s ease-in-out;transition:background-color .2s linear, height .2s linear, width .2s ease-in-out, border-radius .2s ease-in-out;transition:background-color .2s linear, height .2s linear, width .2s ease-in-out, border-radius .2s ease-in-out, -webkit-border-radius .2s ease-in-out, -moz-border-radius .2s ease-in-out;right:2px;width:6px}.ps-container>.ps-scrollbar-y-rail:hover>.ps-scrollbar-y,.ps-container>.ps-scrollbar-y-rail:active>.ps-scrollbar-y{width:11px}.ps-container:hover.ps-in-scrolling.ps-x>.ps-scrollbar-x-rail{background-color:#eee;opacity:.9}.ps-container:hover.ps-in-scrolling.ps-x>.ps-scrollbar-x-rail>.ps-scrollbar-x{background-color:#999;height:11px}.ps-container:hover.ps-in-scrolling.ps-y>.ps-scrollbar-y-rail{background-color:#eee;opacity:.9}.ps-container:hover.ps-in-scrolling.ps-y>.ps-scrollbar-y-rail>.ps-scrollbar-y{background-color:#999;width:11px}.ps-container:hover>.ps-scrollbar-x-rail,.ps-container:hover>.ps-scrollbar-y-rail{opacity:.6}.ps-container:hover>.ps-scrollbar-x-rail:hover{background-color:#eee;opacity:.9}.ps-container:hover>.ps-scrollbar-x-rail:hover>.ps-scrollbar-x{background-color:#999}.ps-container:hover>.ps-scrollbar-y-rail:hover{background-color:#eee;opacity:.9}.ps-container:hover>.ps-scrollbar-y-rail:hover>.ps-scrollbar-y{background-color:#999}

.autocomplete-suggestions {
    text-align: left;
    cursor: default;
    border: 1px solid #ccc;
    border-top: 0;
    background: #fff;
    box-shadow: -1px 1px 3px rgba(0,0,0,.1);

    /* core styles should not be changed */
    position: absolute;
    display: none;
    z-index: 9999;
    max-height: 254px;
    overflow: hidden;
    overflow-y: auto;
    box-sizing: border-box;
    
}
.autocomplete-suggestion {
    position: relative;
    cursor: pointer;
    padding: 7px;
    line-height: 23px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #333;
}

.autocomplete-suggestion b {
    font-weight: normal;
    color: #1f8dd6;
}

.autocomplete-suggestion.selected {
    background: #333;
    color: #fff;
}

.autocomplete-suggestion:hover {
    background: #444;
    color: #fff;
}

.autocomplete-suggestion > .context {
    font-size: 12px;
}

/*
*
*  APNIC Style Guide Documentation Theme Stylesheet (former Learn Theme)
*
*/

:root {
    --MAIN-ANCHOR-color: #007BBD; /* color of anchors on titles */

    --BREADCRUMBS-BG-color: #E6E6E6; /* Background color of top bar breadcrumbs */

    --MENU-HEADER-BG-color:#FFFFFF; /* Background color of menu header */
    --MENU-HEADER-BORDER-color:#007BBD; /* Color of menu header border */

    --MENU-SEARCH-BG-color:white; /* Search field background color (by default borders + icons) */
    --MENU-SEARCH-BOX-color: #8C8C8C; /* Override search field border color */
    --MENU-SEARCH-BOX-ICONS-color: #8C8C8C; /* Override search field icons color */

    --MENU-SECTIONS-ACTIVE-BG-color:#3c3c3c; /* Background color of the active section and its childs */
    --MENU-SECTIONS-BG-color:#262626; /* Background color of other sections */
    --MENU-SECTIONS-LINK-color: #ccc; /* Color of links in menu */
    --MENU-SECTIONS-LINK-HOVER-color: #ffffff;  /* Color of links in menu, when hovered */
    --MENU-SECTION-ACTIVE-CATEGORY-color: #ffffff; /* Color of active category text */
    --MENU-SECTION-ACTIVE-CATEGORY-BG-color: #4b4b4b; /* Color of background for the active category (only) */
    --MENU-SECTION-BORDER-color: #404040; /*Color of menu item border */

    --TABLE-OF-CONTENT-color: #666666; /* Color of text in table of content */
}

/* -------------------------------------------------
    Left Sidebar
------------------------------------------------- */

/* Sidebar toggle icon */

#sidebar-toggle {
    color: black;
    text-decoration: none;
}
#sidebar-toggle-span {
    display: none;
    padding-right: 0.5rem !important;
    margin-right: 1rem !important;
}
@media only all and (max-width: 47.938em) {
    #sidebar-toggle-span {
        display: inline;
    }
}

/* Header */

#header-wrapper {
    background: var(--MENU-HEADER-BG-color);
    color: var(--MENU-SEARCH-BOX-color);
    border-bottom: 3px solid var(--MENU-HEADER-BORDER-color);
    padding: 1.4rem 0 0.5rem 1rem;
}
#header a {
    display: inline-block;
}
#header #logo-svg {
    width: 8rem;
    height: 2rem;
}
#header #logo-svg path {
    fill: #fff;
}

/* Searchbox */

.searchbox {
    border-color: var(--MENU-SEARCH-BOX-color);
    position: relative;
    border-bottom: 1px solid #ccc;
    border-radius: 0;
    margin: 1.25rem;
}
.searchbox i {
    color: var(--MENU-SEARCH-BOX-ICONS-color);
}
.searchbox label {
    color: #3c3c3c;
    position: absolute;
    left: 10px;
    top: 3px;
}
.searchbox span {
    color: rgba(255, 255, 255, 0.6);
    position: absolute;
    right: 10px;
    top: 3px;
    cursor: pointer;
}
.searchbox span:hover {
    color: rgba(255, 255, 255, 0.9);
}
.searchbox input {
    display: inline-block;
    width: 100%;
    height: 30px;
    background: transparent;
    border: 0;
    padding: 0 25px 0 30px;
    margin: 0;
    font-weight: 300;

    color: #fff;
}
.searchbox input::-webkit-input-placeholder {
    font-style: italic;
    color: rgba(255, 255, 255, 0.6);
}
.searchbox input::-moz-placeholder {
    font-style: italic;
    color: rgba(255, 255, 255, 0.6);
}
.searchbox input:-moz-placeholder {
    font-style: italic;
    color: rgba(255, 255, 255, 0.6);
}
.searchbox input:-ms-input-placeholder {
    font-style: italic;
    color: rgba(255, 255, 255, 0.6);
}
.searchbox input:focus {
    outline: none;
}

#searchResults {
    text-align: left;
}

/* Sidebar */

#sidebar {
    background-color: var(--MENU-SECTIONS-BG-color);
    position: fixed;
    top: 35px;
    width: 300px;
    bottom: 0;
    left: 0;
    font-weight: 400;
    font-size: 15px;
    z-index: 1;
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.5);
}
#sidebar a {
    color: var(--MENU-SECTIONS-LINK-color);
}
#sidebar a:hover {
    text-decoration: none;
    color: var(--MENU-SECTIONS-LINK-HOVER-color);
}
#sidebar a.subtitle {
    color: rgba(204, 204, 204, 0.6);
}
#sidebar hr {
    border-bottom: 1px solid #2a232f;
}
#sidebar a.padding {
    padding: 0 1rem;
}
#sidebar h5 {
    margin: 2rem 0 0;
    position: relative;
    line-height: 2;
}
#sidebar h5 a {
    display: block;
    margin-left: 0;
    margin-right: 0;
    padding-left: 1rem;
    padding-right: 1rem;
}
#sidebar h5 i {
    color: rgba(204, 204, 204, 0.6);
    position: absolute;
    right: 0.6rem;
    top: 0.7rem;
    font-size: 80%;
}
#sidebar h5.parent a {
    background: #201b24;
    color: #d9d9d9 !important;
}
#sidebar h5.active a {
    background: #fff;
    color: #777 !important;
}
#sidebar h5.active i {
    color: #777 !important;
}
#sidebar h5 + ul.topics {
    display: none;
    margin-top: 0;
}
#sidebar h5.parent + ul.topics, #sidebar h5.active + ul.topics {
    display: block;
}
#sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-indent: 0.8rem;
}
#sidebar ul.searched a {
    color: #999999;
}
#sidebar ul.searched .search-match a {
    color: #e6e6e6;
}
#sidebar ul.searched .search-match a:hover {
    color: white;
}
#sidebar ul.topics {
    position: relative;
}
#sidebar ul.topics.searched ul {
    display: block;
}
#sidebar ul.topics ul {
    display: none;
    padding-bottom: 1rem;
}
#sidebar ul.topics ul ul {
    padding-bottom: 0;
}
#sidebar ul.topics > li {
    border-bottom: 1px solid var(--MENU-SECTION-BORDER-color);
    text-indent: 1.25rem;
}
#sidebar ul.topics > li:hover {
    background: #333333;
}
#sidebar ul.topics li.parent ul, #sidebar ul.topics > li.active ul {
    display: block;
}
#sidebar ul.topics > li > a {
    line-height: 2rem;
    font-size: 1rem;
}
#sidebar ul.topics > li > a b {
    opacity: 0.5;
    font-weight: normal;
}
#sidebar ul.topics > li > a .fa {
    margin-top: 9px;
}
#sidebar ul.topics > li.parent,
#sidebar ul.topics > li.active {
    background: var(--MENU-SECTIONS-ACTIVE-BG-color);
    border-bottom: 1px solid var(--MENU-SECTION-BORDER-color);
}
#sidebar ul li.active > a {
    color: var(--MENU-SECTION-ACTIVE-CATEGORY-color) !important;
}
#sidebar ul li {
    padding: 0;
}
#sidebar ul li.visited + span {
    margin-right: 16px;
}
#sidebar ul li a {
    display: block;
    padding: 2px 0;
}
#sidebar ul li a span {
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    display: block;
}
#sidebar ul li > a {
    padding: 4px 0;
}
#sidebar ul li.visited > a .read-icon {
    color: #007BBD;
    display: inline;
}
#sidebar ul li li {
    padding-left: 1.5rem;
}
#sidebar #shortcuts h3 {
    color: white ;
    margin-top:1rem;
    padding-left: 1rem;
}
#sidebar ul li.dd-item.haschildren::before {
    display: inline-block;
    position: absolute;
    right: 1.25rem;
    border: solid;
    border-width: 0 2px 2px 0;
    margin-top: 0.8rem;
    padding: 2px;
    width: 7px;
    height: 7px;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    -webkit-transition: all 0.2s ease-out;
    transition: all 0.2s ease-out;
    content: " ";
    color: white;
}
#sidebar ul li.dd-item.haschildren.active::before {
    display: inline-block;
    position: absolute;
    margin-top: 0.8rem;
    right: 20px;
    right: 1.25rem;
    border: solid;
    border-width: 0 2px 2px 0;
    padding: 2px;
    width: 7px;
    height: 7px;
    -webkit-transform: rotate(45deg);
    transform: rotate(225deg);
    -webkit-transition: all 0.2s ease-out;
    transition: all 0.2s ease-out;
    content: " ";
    color: white;
}
#sidebar ul li.dd-item.haschildren ul li.dd-item.haschildren::before {
    content: none;
}

/* Useful links */

.sidebar-nav-links {
    margin-top: 48px;
    margin-top: 3rem;
    text-indent: 20px;
    text-indent: 1.25rem;
    color: #cccccc;
}
.sidebar-nav-links p {
    border-bottom: 1px solid var(--MENU-SECTION-BORDER-color);
    font-weight: 800;
    text-indent: 1.5rem;
}
.sidebar-nav-links ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

/* -------------------------------------------------
    Table of Content
------------------------------------------------- */

aside#sg-toc {
    position: fixed;
    top: 9rem;
    right: 0;
    font-size: .875rem;
}
aside#sg-toc a {
    color: var(--TABLE-OF-CONTENT-color);
}
aside#sg-toc ul {
    padding-left: 0;
    padding-inline-start: 0;
    list-style: none;
}
aside#sg-toc ul li {
    padding-left: 0;
}
aside#sg-toc ul li ul li {
    padding-left: 15px;
}

/* -------------------------------------------------
    Body
------------------------------------------------- */

.default-animation,
#header #logo-svg,
#header #logo-svg path,
#sidebar, #sidebar ul,
#body, #body .padding, #body .nav {
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    transition: all 0.5s ease;
}
#body {
    position: relative;
    margin-left: 300px;
    min-height: 100%;
}
#body img, #body .video-container {
    margin: 0 auto;
    display: block;
    text-align: center;
}
#body img.border, #body .video-container.border {
    border: 2px solid #e6e6e6 !important;
    padding: 2px;
}
#body img.shadow, #body .video-container.shadow {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}
#body img.inline {
    display: inline !important;
    margin: 0 !important;
    vertical-align: bottom;
}

/* Headings */

body #chapter h1 {
    font-size: 3.5rem;
}
@media only all and (min-width: 48em) and (max-width: 59.938em) {
    body #chapter h1 {
        font-size: 3rem;
    }
}
@media only all and (max-width: 47.938em) {
    body #chapter h1 {
        font-size: 2rem;
    }
}

/* Chapters */

#chapter {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 2rem 0;
}
#chapter #body-inner {
    padding-bottom: 3rem;
    max-width: 80%;
}
#chapter h3 {
    font-weight: 300;
    text-align: center;
}
#chapter h1 {
    font-size: 5rem;
    border-bottom: 4px solid #F0F2F4;
}
#chapter p {
    text-align: center;
    font-size: 1.2rem;
}

/* Footer */

#footer p {
    text-indent: 1.5rem;
}

/* Notices */

div.notices {
    margin: 2rem 0;
    position: relative;
}
div.notices p {
    padding: 1.25rem;
    margin-top: 1.25rem;
    margin-bottom: 1.25rem;
    border: 1px solid #eee;
    border-left-width: .25rem;
    border-radius: 0;
}
div.notices.info p {
    border-left-color: #FFC107;
    border-top: none;
    background: transparent;
}
div.notices.warning p {
    border-left-color: #B00020;
    border-top: none;
    background: transparent;
}
div.notices.note p {
    border-left-color: #007BBD;
    border-top: none;
    background: transparent;
}
div.notices.tip p {
    border-left-color: rgba(92, 184, 92, 0.8);
    border-top: none;
    background: transparent;
}

/* Attachments shortcode */

section.attachments {
    margin: 2rem 0;
    position: relative;
}
section.attachments label {
    font-weight: 400;
    padding-left: 0.5em;
    padding-top: 0.2em;
    padding-bottom: 0.2em;
    margin: 0;
}
section.attachments .attachments-files {
    padding: 15px;
    display: block;
    font-size: 1rem;
    margin-top: 0rem;
    margin-bottom: 0rem;
    color: #666;
}
section.attachments.orange label {
    color: #fff;
    background: #F0B37E;
}
section.attachments.orange .attachments-files {
    background: #FFF2DB;
}
section.attachments.green label {
    color: #fff;
    background: rgba(92, 184, 92, 0.8);
}
section.attachments.green .attachments-files {
    background: #E6F9E6;
}
section.attachments.blue label {
    color: #fff;
    background: #6AB0DE;
}
section.attachments.blue .attachments-files {
    background: #E7F2FA;
}
section.attachments.grey label {
    color: #fff;
    background: #505d65;
}
section.attachments.grey .attachments-files {
    background: #f4f4f4;
}

/* Children shortcode */

.children p {
    font-size: small;
    margin-top: 0px;
    padding-top: 0px;
    margin-bottom:  0px;
    padding-bottom: 0px;
}
.children-li p {
    font-size: small;
    font-style: italic;
}
.children-h2 p, .children-h3 p {
    font-size: small;
    margin-top: 0px;
    padding-top: 0px;
    margin-bottom:  0px;
    padding-bottom: 0px;
}
.children h3,.children h2 {
    margin-bottom: 0px;
    margin-top: 5px;
}

/* Code snippets */

code, kbd, pre, samp {
    font-family: "Consolas", menlo, monospace;
    font-size: .9rem;
}
code {
    border-radius: 2px;
    white-space: nowrap;
    color: #5e5e5e;
    padding: 0px 2px;
}
code + .copy-to-clipboard {
    margin-left: -1px;
    border-left: 0 !important;
    font-size: inherit !important;
    vertical-align: middle;
    height: 21px;
    top: 0;
}
pre {
    position: relative;
    padding: 1rem;
    margin: 2rem 0;
    background: #1d1f21;
    border: 0;
    border-radius: 2px;
    line-height: 1.15;
}
pre code {
    color: whitesmoke;
    background: inherit;
    white-space: pre;
    border: 0;
    padding: 0;
    margin: 0;
    font-size: 15px;
}
code + .fa-clone {
    color: #5e5e5e;
    background-color:rgb(245, 245, 245);
    margin-left: -.2rem;
    padding: 2px;
}
pre .fa-clone {
    position: absolute;
    right: 4px;
    top: 4px;
    background-color: #4d5257;
    color: #ccc;
    border-radius: 2px;
    padding: 4px;
}
pre .fa-clone:hover {
    background-color: #656c72;
    color: #fff;
}

.page-title {
    margin-top: -25px;
    padding: 25px;
    float: left;
    clear: both;
}

/* Anchors */

.anchor {
  color: #007BBD;
  font-size: 0.5em;
  cursor:pointer;
  visibility:hidden;
  margin-left: 0.5em;
    position: absolute;
    margin-top:0.1em;
}

h2:hover .anchor, h3:hover .anchor, h4:hover .anchor, h5:hover .anchor, h6:hover .anchor {
  visibility:visible;
}

#body a.anchor-link {
    color: #ccc;
}
#body a.anchor-link:hover {
    color: #007BBD;
}

/* Badges */

#body-inner .tabs-wrapper.ui-theme-badges {
    background: #1d1f21;
}
#body-inner .tabs-wrapper.ui-theme-badges .tabs-nav li {
    font-size: 0.9rem;
    text-transform: uppercase;
}
#body-inner .tabs-wrapper.ui-theme-badges .tabs-nav li a {
    background: #35393c;
}
#body-inner .tabs-wrapper.ui-theme-badges .tabs-nav li.current a {
    background: #4d5257;
}
#body-inner pre {
    white-space: pre-wrap;
}
.tabs-wrapper pre {
    margin: 1rem 0;
    border: 0;
    padding: 0;
    background: inherit;
}

/* Table */

table {
    width: 100%;
    margin-bottom: 1rem;
    background-color: transparent;
}
table th, table td {
    padding: 12px;
    padding: 0.75rem;
    vertical-align: top;
    border-top: 1px solid #b3b3b3;
}
table thead th {
    vertical-align: bottom;
    border-bottom: 2px solid #b3b3b3;
}

/* Tooltips */

.tooltipped {
    position: relative;
}
.tooltipped:after {
    position: absolute;
    z-index: 1000000;
    display: none;
    padding: 5px 8px;
    font: normal normal 11px/1.5 "Work Sans", "Helvetica", "Tahoma", "Geneva", "Arial", sans-serif;
    color: #fff;
    text-align: center;
    text-decoration: none;
    text-shadow: none;
    text-transform: none;
    letter-spacing: normal;
    word-wrap: break-word;
    white-space: pre;
    pointer-events: none;
    content: attr(aria-label);
    background: rgba(0, 0, 0, 0.8);
    border-radius: 3px;
    -webkit-font-smoothing: subpixel-antialiased;
}
.tooltipped:before {
    position: absolute;
    z-index: 1000001;
    display: none;
    width: 0;
    height: 0;
    color: rgba(0, 0, 0, 0.8);
    pointer-events: none;
    content: "";
    border: 5px solid transparent;
}
.tooltipped:hover:before, .tooltipped:hover:after, .tooltipped:active:before, .tooltipped:active:after, .tooltipped:focus:before, .tooltipped:focus:after {
    display: inline-block;
    text-decoration: none;
}
.tooltipped-s:after, .tooltipped-se:after, .tooltipped-sw:after {
    top: 100%;
    right: 50%;
    margin-top: 5px;
}
.tooltipped-s:before, .tooltipped-se:before, .tooltipped-sw:before {
    top: auto;
    right: 50%;
    bottom: -5px;
    margin-right: -5px;
    border-bottom-color: rgba(0, 0, 0, 0.8);
}
.tooltipped-se:after {
    right: auto;
    left: 50%;
    margin-left: -15px;
}
.tooltipped-sw:after {
    margin-right: -15px;
}
.tooltipped-n:after, .tooltipped-ne:after, .tooltipped-nw:after {
    right: 50%;
    bottom: 100%;
    margin-bottom: 5px;
}
.tooltipped-n:before, .tooltipped-ne:before, .tooltipped-nw:before {
    top: -5px;
    right: 50%;
    bottom: auto;
    margin-right: -5px;
    border-top-color: rgba(0, 0, 0, 0.8);
}
.tooltipped-ne:after {
    right: auto;
    left: 50%;
    margin-left: -15px;
}
.tooltipped-nw:after {
    margin-right: -15px;
}
.tooltipped-s:after, .tooltipped-n:after {
    transform: translateX(50%);
}
.tooltipped-w:after {
    right: 100%;
    bottom: 50%;
    margin-right: 5px;
    transform: translateY(50%);
}
.tooltipped-w:before {
    top: 50%;
    bottom: 50%;
    left: 2px;
    margin-top: -12px;
    border-left-color: rgba(0, 0, 0, 0.8);
}
.tooltipped-e:after {
    bottom: 50%;
    left: 100%;
    margin-left: 5px;
    transform: translateY(50%);
}
.tooltipped-e:before {
    top: 50%;
    right: -5px;
    bottom: 50%;
    margin-top: -5px;
    border-right-color: rgba(0, 0, 0, 0.8);
}

/* Top bar breadcrumbs */

#top-bar {
    background-color: var(--BREADCRUMBS-BG-color);
    margin-top: 36px;
    margin-right: 0px;
    margin-left: 2px;
    padding: 1.8rem 1rem;
    position: fixed;
    height: 0;
    min-height: 3rem;
    width: 100%;
    z-index: 1000;
}
#body #breadcrumbs {
    height: auto;
    margin-bottom: 0;
    padding-left: 0;
    line-height: 1.4;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    width: 70%;
    display: inline-block;
    float: left;
}
#body #breadcrumbs span {
    padding: 0 0.1rem;
}
@media only all and (max-width: 59.938em) {
    #sidebar {
        width: 230px;
    }
    #body {
        margin-left: 230px;
    }
}
@media only all and (max-width: 47.938em) {
    #sidebar {
        width: 230px;
        left: -230px;
    }
    #body {
        margin-left: 0;
        width: 100%;
    }
    .sidebar-hidden {
        overflow: hidden;
    }
    .sidebar-hidden #sidebar {
        left: 0;
    }
    .sidebar-hidden #body {
        margin-left: 230px;
        overflow: hidden;
    }
    .sidebar-hidden #overlay {
        position: absolute;
        left: 0;
        right: 0;
        top: 0;
        bottom: 0;
        z-index: 10;
        background: rgba(255, 255, 255, 0.5);
        cursor: pointer;
    }
}

/** Copy to Clipboard **/

.fa-clone {
    width: 27px;
    height: 1.45rem;
    top: 1px;
    display: inline-block;
    vertical-align: middle;
    position: relative;
    cursor: pointer;
    border-radius: 2px;
    font-size: inherit !important;
    text-align: center;
}

.copy-to-clipboard {
    background-image: url(../images/clippy.svg);
    background-position: 50% 50%;
    background-size: 16px 16px;
    background-repeat: no-repeat;
    width: 27px;
    height: 1.45rem;
    top: -1px;
    display: inline-block;
    vertical-align: middle;
    position: relative;
    color: #5e5e5e;
    margin-left: -0.2rem;
    cursor: pointer;
    border-radius: 0 2px 2px 0;
    margin-bottom: 1px;
}
.copy-to-clipboard:hover {
    background-color: #E8E2CD;
}
pre .copy-to-clipboard {
    position: absolute;
    right: 4px;
    top: 4px;
    background-color: #4d5257;
    color: #ccc;
    border-radius: 2px;
}
pre .copy-to-clipboard:hover {
    background-color: #656c72;
    color: #fff;
}

/** Others **/

.parent-element {
    -webkit-transform-style: preserve-3d;
    -moz-transform-style: preserve-3d;
    transform-style: preserve-3d;
}
.highlightable {
    overflow: auto;
    position: relative;
}
.hljs::selection, .hljs span::selection {
    background: #b7b7b7;
}
.lightbox-active #body {
    overflow: visible;
}
.lightbox-active #body .padding {
    overflow: visible;
}
#github-contrib i {
    vertical-align: middle;
}
.featherlight img {
    margin: 0 !important;
}
.lifecycle #body-inner ul {
    list-style: none;
    margin: 0;
    padding: 2rem 0 0;
    position: relative;
}
.lifecycle #body-inner ol {
    margin: 1rem 0 1rem 0;
    padding: 2rem;
    position: relative;
}
.lifecycle #body-inner ol li {
    margin-left: 1rem;
}
.lifecycle #body-inner ol strong, .lifecycle #body-inner ol label, .lifecycle #body-inner ol th {
    text-decoration: underline;
}
.lifecycle #body-inner ol ol {
    margin-left: -1rem;
}
.lifecycle #body-inner h3[class*='level'] {
    font-size: 20px;
    position: absolute;
    margin: 0;
    padding: 4px 10px;
    right: 0;
    z-index: 1000;
    color: #fff;
    background: #1ABC9C;
}
.lifecycle #body-inner ol h3 {
    margin-top: 1rem !important;
    right: 2rem !important;
}
.lifecycle #body-inner .level-1 + ol {
    background: #f6fefc;
    border: 4px solid #1ABC9C;
    color: #16A085;
}
.lifecycle #body-inner .level-1 + ol h3 {
    background: #2ECC71;
}
.lifecycle #body-inner .level-2 + ol {
    background: #f7fdf9;
    border: 4px solid #2ECC71;
    color: #27AE60;
}
.lifecycle #body-inner .level-2 + ol h3 {
    background: #3498DB;
}
.lifecycle #body-inner .level-3 + ol {
    background: #f3f9fd;
    border: 4px solid #3498DB;
    color: #2980B9;
}
.lifecycle #body-inner .level-3 + ol h3 {
    background: #34495E;
}
.lifecycle #body-inner .level-4 + ol {
    background: #e4eaf0;
    border: 4px solid #34495E;
    color: #2C3E50;
}
.lifecycle #body-inner .level-4 + ol h3 {
    background: #34495E;
}

/* -------------------------------------------------
    Page:
------------------------------------------------- */

/*
*
*  Style for specific pages and quick overwrites of the vendor/theme.css
*
*/

/* -------------------------------------------------
    Layout > Grid page
------------------------------------------------- */

.sg-grid-example {
    margin-bottom: 2rem;
}

.sg-grid-example .row>.col,
.sg-grid-example .row>[class^=col-] {
    padding: 1rem;
    background-color: rgba(0, 123, 189, 0.2);
    border: 1px solid white;
    color: black;
}
.sg-grid-row-flex-cols .row {
    min-height: 10rem;
    background-color: rgba(0, 123, 189, 0.1);
    margin-bottom: 1rem;
}

/* -------------------------------------------------
    Utilities > Flex page
------------------------------------------------- */

.bd-highlight {
    background-color: rgba(0, 123, 189, 0.2);
    border: 1px solid white;
    color: black;
}

/* -------------------------------------------------
    Colors page
------------------------------------------------- */

.sg-colors {
    display: flex;
    list-style-type: none;
    margin: 0px 0px 24px;
    padding: 0px;
    flex-flow: column wrap;
}
.sg-colors li {
    padding: 20px;
    border: none;
    font-size: 0.8rem;
}

/* Color page - copy to clipboard function */

.clipboard {
  color: #333333;
  line-height:1.5;
  text-align: center;
  font-family: sans-serif;
  width:100%;
  padding: 20px;
  border: none;
  font-size: 0.8rem;
  margin: 0 auto;
  width: 96%;
  transition: 0.05s;
}
.clipboard:hover {
    padding: 25px 20px;
    cursor: pointer;
    box-shadow: 0px 3px 6px 4px #10101030;
    z-index: 1;
    border-radius: 4px;
    width: 100%;
}

.copied {
  display: none;
  background-color: grey;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  bottom: 0;
  z-index: 1000;
  height: 100%;
  width: 100%;
  color: white;
  font-size: 72px;
  font-weight: bold;
  text-align: center;
  line-height: 100%;
  text-transform: uppercase;
  opacity: 0.9;
}
.copied:before {
  content: "";
  display: inline-block;
  height: 100%;
  vertical-align: middle;
}
