@font-face {
    font-family: Inter;
    src: url('../fonts/Inter-Regular.woff2') format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: Inter;
    src: url('../fonts/Inter-Medium.woff2') format("woff2");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

body, #header {
    font-family: "Inter", "Arial", "Helvetica", sans-serif;
}
body {
    color: #242424;
}
h1, h2, h3, h4, h5, h6, #sidebar {
    font-family: "Inter", "Arial", "Helvetica", sans-serif;
}

h1 {
    font-weight: 500;
}

h4 {
    font-weight: 500;
    font-size: 1.7rem;
}

p {
    font-size: 1rem;
    margin: 1.2rem 0;
}

textarea:focus, input[type="email"]:focus, input[type="number"]:focus,
input[type="password"]:focus, input[type="search"]:focus,
input[type="tel"]:focus, input[type="text"]:focus, input[type="url"]:focus,
input[type="color"]:focus, input[type="date"]:focus,
input[type="datetime"]:focus, input[type="datetime-local"]:focus,
input[type="month"]:focus, input[type="time"]:focus,
input[type="week"]:focus, select[multiple=multiple]:focus {
    border-color: #01a76b;
    box-shadow: none;
}
details > summary {
    cursor: pointer;
}
a {
    color: #01a76b;
}
a:hover {
    color: #00b373;
}

.button {
    background-color: #00b373;
}
.button:hover {
    background-color: #01a76b;
}
.button, .button:hover {
    box-shadow: 0 3px 0 #0b3f30;
}
.button:active {
    box-shadow: 0 1px 0 #0b3f30;
}

#sidebar h5 {
    margin: 0;
}
#sidebar #logo {
    margin: 2rem 0;
}
#sidebar #logo img {
    height: 4.25rem;
}

#header {
    background-color: #0b3f30;
    padding: 1rem;
}

.searchbox {
    margin: 0px;
    border: 1px solid #5a6f69;
    background-color: #5a6f69;
}
.searchbox input[type="text"] {
    background-color: #0b3f30;
    box-shadow: none;
    border-style: none;
}
.searchbox label, .searchbox span {
    color: #ffffff;
}

.adv-search {
    margin: 0.5rem 0 0;
}

/* Hack for incorrect scrollbar library behaviour */
.scroll-wrapper {
    height: 76vh;
}
/* Hack for correct prism highligher bejaviour */
pre code {
    display: inline-block;
}
.copy-to-clipboard {
    height: 1.5rem;
    top: -0.1em;
}

#sidebar {
    background-color: #00b373;
}

#sidebar ul.topics > li > a {
    font-size: 1rem;
}

#sidebar ul li.active > a, #sidebar ul li.active > ul > li > a {
    color: #ffffff !important;
    background-color: #01a76b;
}
#sidebar ul li.active > a {
    margin-right: 0;
    padding-right: 0;
}
#sidebar ul.topics > li.parent {
    color: #ffffff;
    background-color: #00b373;
    padding-right: 0;
}

#sidebar ul.topics li.active {
    background-color: #01a76b;
}
#sidebar ul.topics li.parent > a .read-icon,
#sidebar ul.topics li.parent li:not(.visited) > a,
#sidebar ul.topics li.parent li.visited > a .read-icon {
    padding-right: 1rem;
}
#sidebar ul li.visited > a .read-icon {
    color: #ffffff;
}
/* Hides the sub-menu items if parent not active */
#sidebar ul.topics li.active > ul > li > ul,
#sidebar ul.topics li.parent > ul > li:not(.active, .parent) > ul {
    display: none;
}

#footer {
    color: #ffffff;
}

#top-bar {
    background-color: #f1f2f2;
}

#body img.btn {
   display: inline;
   margin: 0;
   vertical-align: middle;
}

.notices.lightblue {
    border-left: 10px solid #99cccc;
    background: #e2f0f0;
    color: #00555a;
}

#top-snappy-link {
    position: relative;
    float: right;
    z-index: 1;
    top: 50%;
    transform: translateY(-50%);
}
button.export {
    margin: 0 0 0 0;
    padding: 0;
    font-size: 1.05rem;
    line-height: inherit;
    color: #01a76b;
    background-color: transparent;
}
button.export:hover {
    color: #00b373;
}
/* make a github comit for this */
.github-link {
    margin-left: 0.7em;
}

.cc-window.cc-banner {
    padding: 0.7em !important;
}
.cc-window.cc-floating {
    padding: 1em !important
}
.cc-window .cc-message {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.cc-window .cc-message > img {
    max-height: 3.5rem;
}
.cc-window.cc-banner .cc-message > img {
    margin-right: 2rem;
}
.cc-window.cc-floating .cc-message > img {
    margin: 0.4rem 1rem 1rem 0.2rem;
    float: left;
}
.cc-window.cc-floating .cc-message > .cc-link {
    padding: 0 !important;
}