/* Custom styles for the Cloud Agent developer documentation */

/* Let wide tables and diagrams use the screen instead of the theme's fixed
   content width. */
.wy-nav-content {
    max-width: none !important;
}

.rst-content {
    max-width: 1400px !important;
    margin: 0 auto;
}

table.docutils {
    width: 100%;
    table-layout: auto;
}

table.docutils td,
table.docutils th {
    padding: 10px 12px;
    vertical-align: top;
    /* The theme keeps cells on one line, which pushes long prose off screen. */
    white-space: normal !important;
}

table.docutils thead {
    background-color: #e7f2fa;
}

/* Language switcher under the sidebar title; see _templates/layout.html. */
.wy-side-nav-search .doc-language-switcher {
    margin-top: 0.6em;
    font-size: 85%;
}

.wy-side-nav-search .doc-language-switcher a,
.wy-side-nav-search .doc-language-switcher .current {
    color: #fcfcfc;
    padding: 0 0.4em;
}

.wy-side-nav-search .doc-language-switcher a {
    text-decoration: underline;
    opacity: 0.85;
}

.wy-side-nav-search .doc-language-switcher a:hover {
    opacity: 1;
}

.wy-side-nav-search .doc-language-switcher .current {
    font-weight: bold;
}

.wy-side-nav-search .doc-language-switcher a + a::before,
.wy-side-nav-search .doc-language-switcher .current + a::before,
.wy-side-nav-search .doc-language-switcher a + .current::before {
    content: "\00b7";
    opacity: 0.5;
}
