:root {
    --auphonic-white: white;
    --auphonic-light-grey: #f3f4f6; /* auphonic-web grey background */
    --auphonic-dark: #1f2937; /* auphonic web: dark header */
    --auphonic-dark-text: #111827; /* auphonic web: dark text */
    --auphonic-dark-text-href: #3f3f46; /* auphonic web: dark text href */
}

body {
    font-family: Inter var, Helvetica, Helvetica Neue, Arial, sans-serif;
    color: var(--auphonic-dark-text)
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: Inter var, Helvetica, Helvetica Neue, Arial, sans-serif;
    font-weight: 700;
}

h2 {
    margin-top: 2.2em;
    margin-bottom: 1.2em;
}

.breadcrumb-item:before {
    content: "\00BB";
    color: var(--auphonic-dark-text);
}

.fa-home:before,
.icon-home:before {
    display: none !important; /* disabled default icon */
}

.wy-menu-vertical li.current a {
    /* border-right: 1px solid #c9c9c9 !important; */ /* no border on navbar */
}

.wy-menu-vertical li.current > a,
.wy-menu-vertical li.on a {
    color: var(--auphonic-dark-text);
}

.wy-menu-vertical li.current {
    background-color: var(--auphonic-light-grey);
    color: var(--auphonic-dark-text);
}

.wy-menu-vertical li.toctree-l2.current > a,
.wy-menu-vertical li.toctree-l2.current li.toctree-l3 > a {
    background-color: var(--auphonic-light-grey);
    color: var(--auphonic-dark-text);
}

.wy-menu-vertical li.toctree-l3.current > a,
.wy-menu-vertical li.toctree-l3.current li.toctree-l4 > a {
    background-color: var(--auphonic-light-grey);
    color: var(--auphonic-dark-text);
}

.wy-menu-vertical li.current a {
    border: none !important; /* no border on navbar */
}

.wy-menu-vertical a {
    color: var(--auphonic-dark-text);
}

.wy-menu-vertical li.current a:hover {
    background-color: var(--auphonic-white);
    color: var(--auphonic-dark-text);
}

.wy-menu-vertical a:active,
.wy-menu-vertical a:hover {
    background-color: var(--auphonic-white);
    color: var(--auphonic-dark-text);
}

.wy-menu-vertical li.current > a, .wy-menu-vertical li.on a {
    background-color: var(--auphonic-white);
    color: var(--auphonic-dark-text);
}

.wy-menu-vertical li.current > a:hover, .wy-menu-vertical li.on a:hover {
    background-color: var(--auphonic-white);
    color: var(--auphonic-dark-text);
}

.wy-nav-side {
    background-color: var(--auphonic-light-grey) !important;
    color: var(--auphonic-dark-text) !important;
}

a.reference img {
    padding: 5px;
    margin-bottom: 20px !important;
}

.wy-nav-content {
    max-width: 1100px !important;
    background-color: var(--auphonic-white) !important;
    margin: 0 auto; /* center help content */
}

.wy-body-for-nav,
.wy-nav-content-wrap {
    background-color: var(--auphonic-white) !important;
}

.wy-side-nav-search {
    background: var(--auphonic-dark) !important;
}

.wy-nav-top {
    background: var(--auphonic-dark) !important;
}

.wy-side-nav-search input[type="text"] {
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    border-radius: 0 !important;
    background-color: rgba(255, 255, 255, 0.1) !important;
    box-shadow: none !important;
    color: white !important;
}

.wy-side-nav-search input[type="text"]::placeholder {
    color: rgba(255, 255, 255, 0.6) !important;
}

.wy-side-nav-search a {
    color: white !important;
}

.wy-nav-content a:not(.btn):not(.toc-backref):not(.headerlink),
.wy-nav-content a:not(.btn):not(.toc-backref):not(.headerlink):visited {
    color: var(--auphonic-dark-text-href);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.headerlink {
    color: var(--auphonic-dark-text-href) !important;
}

.rst-content code.literal,
.rst-content tt.literal {
    color: var(--auphonic-dark-text);
}

a {
    word-wrap: break-word; /* fix for long URLs on mobile devices */
}

/*
	override table width restrictions
	See https://rackerlabs.github.io/docs-rackspace/tools/rtd-tables.html
*/

.wy-table-responsive table td,
.wy-table-responsive table th {
    /* !important prevents the common CSS stylesheets from overriding
     this as on RTD they are loaded after this stylesheet */
    white-space: normal !important;
}

.wy-table-responsive {
    overflow: auto !important;
}

/* RTD theme sizes tables to their content, so each table ends up a different
   width depending on cell text. Force all content tables to span the full
   container so they line up. Column proportions still come from each table's
   `:widths:` colgroup. */
.rst-content table.docutils,
.wy-table-responsive table {
    width: 100% !important;
}

th.stub {
    vertical-align: middle;
}

/* do not display header link for tables */
table a.headerlink {
    display: none;
}

.with-border {
    border: 1px solid #e1e4e5;
}

/* Hide images that are only included to trigger Sphinx copying them to _images/ */
.hidden-copy-only {
    display: none !important;
}

/* Next/Previous navigation links - match action-link-red style */
.rst-footer-buttons {
    margin-top: 3rem !important;
}

.rst-footer-buttons .btn-neutral {
    background-color: transparent !important;
    color: #d14836 !important; /* auphonicred */
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
    text-decoration: none !important;
    font-weight: 600 !important; /* semibold */
}

.rst-footer-buttons .btn-neutral:hover,
.rst-footer-buttons .btn-neutral:visited,
.rst-footer-buttons .btn-neutral:focus,
.rst-footer-buttons .btn-neutral:active {
    color: #d14836 !important;
    text-decoration: none !important;
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
}

.rst-footer-buttons .btn-neutral .fa {
    font-size: 0 !important;
}

.rst-footer-buttons .btn-neutral .fa-arrow-circle-left::before {
    content: "\2190" !important; /* ← */
    font-family: inherit !important;
    font-size: 0.875rem !important;
    color: #d14836 !important;
}

.rst-footer-buttons .btn-neutral .fa-arrow-circle-right::before {
    content: "\2192" !important; /* → */
    font-family: inherit !important;
    font-size: 0.875rem !important;
    color: #d14836 !important;
}
