/*
 *
 * Defines default styles specific to Sphinx Press,
 * on top of VuePress styles
 *
 */

 /* FONTS FOR THE CODE - will fall back to monospace if unavailable */

@import url('https://fontlibrary.org/face/roboto-mono');
@import url('https://fontlibrary.org/face/inconsolata');

/* MAKES MAIN TEXT SECTION LARGER */
.content:not(.custom) {
    max-width: 840px;
}

/* THE SECTION BELOW DEFINES THE APPEARANCE OF AUTODOC-GENERATED DOCS */

.sig-name.descname {
    font-size: 1.2em;
    font-weight: bold;
    padding: 0 0 3px; /* creates a perfect grey rectangle*/
}

.sig-param {
    font-family: 'RobotoMonoRegular', 'Roboto Mono', 'Inconsolata', monospace;
    margin-left: 0.3em;
}

.sig-paren {
    margin-left: 0.3em;
}

dt {
    line-height: 1.5em;
    margin-bottom: 1em;
}

dt.field-odd, dt.field-even, p.rubric {
    font-size: 1.2em;
    font-weight: bold;
    color: #4d6a86
}

dd {
    margin-inline-start: 10px;
}

dd.field-odd p strong {
  margin-left: 1em;
}

dl.method, dl.function {
    margin-top: 2em;
    margin-bottom: 3em;
}

.viewcode-link {
    margin-left: 1em;
    color: #9ad8bc;
}

/* THE SECTION BELOW DEFINES THE APPEARANCE OF TABLE-OF-CONTENTS */

/* color fixes for table of contents */
.toc-backref {
    /* TOCS cause all your section titles to go green. Pouah! */
    color: inherit;
}

.contents.topic p.topic-title {
    /* Hide all TOC titles */
    display: none;
}

.contents.topic {
    margin-bottom: 3em;
}


/* THE SECTION BELOW CHANGES CODE FONTS FOR BETTER 80-CHARS READABILITY */
/* Code will be displayed as Roboto, or Inconsolata if screen is small */
code, pre {
    font-family: 'RobotoMonoRegular', 'Roboto Mono', 'Inconsolata', monospace;
}

@media (max-width: 1200px) {
    code, pre {
        font-family: 'InconsolataRegular', 'Inconsolata', 'RobotoMonoRegular', 'Roboto Mono', monospace;
    }
    pre {
        font-size: 0.95em;
    }
}

blockquote {
    font-size: inherit;
}

blockquote h2 {
    margin-left: 1em;
}

/* THE SECTION BELOW FIXES A SPHINX-MERMAID OPACITY PROBLEM */
.content .section {
    opacity: 1.0 !important;
}
.section {
    opacity: 1.0 !important;
}

/* ========================================================== */
/* ================== PAL CUSTOM STYLES ===================== */
/* ========================================================== */

:root {
    --pal-orange:#e67e22;
    --light-orange: #E8AC69;
    --soft-black: #484848;
    --grey: #959595;
    --pal-grey: #707070;
    --light-grey: #d8d8d8;
    --pal-black: #303C50;
}

body {
    color: var(--pal-black);
}

.navbar {
    border-bottom: 1px solid var(--light-orange) !important;
}
.sidebar {
    border-right: 1px solid var(--light-orange) !important;
}
.sidebar a {
    display: block;
}
.sidebar .local-toc {
    padding: 10px;
    font-size: 16px;
    word-break: break-word;
}
hr {
    border-top: 1px solid var(--light-orange) !important;
}
a,p a code {
    color: var(--pal-orange);
}
a:hover {
    text-decoration: underline;
    cursor: pointer;
}
.footnote .label {
    margin-top: 0;
    padding-top: 1px;
}
.footnote p {
    font-style: italic;
    font-size: 15px;
    opacity: 0.8;
}
.footnote-list .footnote.brackets {
    border-top: 1px solid var(--light-grey);
    padding-top: 5px;
}
.brackets .fn-backref, .footnote-reference.brackets {
    vertical-align: super;
    font-size: smaller;
}
.sidebar .toctree-l1 a.current {
    border-left-color: var(--pal-orange)!important;
}
.sidebar .toctree-l1.current a {
    border-left: .5rem solid #ffd3ac;
}
.sidebar .toctree-l1 a.current, .sidebar .toctree-l2 a.current {
    color: var(--pal-orange);
    font-weight: 600;
}
.sidebar ul {
    margin: -1px;
    padding: 0 0 0 30px;
    list-style-type: revert;
}
p.caption {
    font-size: 1.1em;
    font-weight: 600;
    margin-bottom: .5rem;
    padding: 0 1.5rem;
    font-family: "Source Sans Pro", Arial, Helvetica, sans-serif;
    margin-top: .5rem;
}
.menu-list {
    margin-top: 15px;
}
ol, p, ul {
    font-family: "Open Sans", Arial, Helvetica, sans-serif;
}
.content:not(.custom) {
    margin: 0;
    padding: 0rem 3.5rem;
}
.sidebar .toctree-l1 a:hover, .sidebar .toctree-l2 a:hover {
    color: #f09a3e;
}
.body-header {
    padding-top: 5px;
}
.toctree-wrapper, .compound {
    padding-top: 0;
}
.page-nav {
    max-width: 100%;
    margin:0;
}
.footer {
    text-align: center;
}

/* Page navigation top */
.body-header ul.page-nav {
    display:none;
}

/* SEARCH FORM, INPUT */
form.quick-search-form, form.search-page-form {
    display: flex;
    align-items: center;
    width: 100%;
}
.sidebar .searchbox .searchformwrapper {
    margin-top: 10px;
}
form.quick-search-form .input-form {
    width: 60%;
}
form.search-page-form, .search-page-title {
    margin-bottom: 30px;
}
/* Search page input */
.search-page-form .input-form {
    width: 100%;
    min-width: 150px;
}
.input-form {
    height: 15px;
    padding: 9px 7px;
    color: var(--pal-black);
    border: 1px solid var(--pal-grey);
    border-radius: 9px;
    font-size: 16px;
    outline: none;
}
.input-form:focus{
    border: 1px solid var(--light-orange);
}
.input-btn {
    padding: 9px;
    text-transform: capitalize;
    width: 75px;
    font-size: 16px;
    color: white;
    background: var(--light-orange);
    border: none;
    margin: 5px;
    border-radius: 9px;
    outline: none;
    cursor: pointer;
}
.input-btn:hover {
    background: var(--pal-orange);
}

/* Search results */

.highlighted {
    background-color: #ffee78!important;
    padding: 0!important;
}

.search-results-container .no-search-matches {
    font-style: italic;
    color: var(--pal-black);
    margin: 30px 0;
    font-size: 19px;
    font-weight: normal;
    opacity: 0.95;
}

.pal-search cite {
    color: var(--grey);
}

.pal-search li a {
    font-size: 18px;
}

.search-page-header {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
}
/* Handbook elements */
table caption {
    font-size: 14px;
    font-weight: 500;
    padding-bottom: 10px;
}
td, th {
    padding: 8px;
}
table p {
    margin-bottom: 0;
    font-size: 15px;
}
figure, figcaption {
    text-align: center;
}
figcaption {
    font-size: 14px;
}
.footnote-reference, .label, dt, p {
    margin-top: -3.6rem;
    padding-top: 3.6rem;
}

#tiago-documentation ul li blockquote {
    border-left:  0!important;
}

/*Scrollbar*/
/* width */
::-webkit-scrollbar {
  width: 10px;
}

/* Track */
::-webkit-scrollbar-track {
  background: #f1f1f1; 
}
 
/* Handle */
::-webkit-scrollbar-thumb {
  background: #c0c6cc; 
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #969ea6;
}

@media (max-width: 959px) {
    .input-form {
        width: 50%;
    }
    .content:not(.custom) {
        padding: 2rem;
    }
    .search-page-title {
        padding-top: 10px!important;
    }
}
@media (max-width: 360px) {
    .page {
        width: 105vw;
    }
}

.literal-block {
    background-color: #301e2d !important;
    color : #e7e9db !important;
}