.wy-nav-content {
    max-width: 1050px
}
.wy-side-nav-search {
    background-color: #19191a;
}

/* Provide a button and shortened pres to reduce page heights */
.collapsing-code-block {
    position: relative; /* support `position: absolute` in child button */
    max-height: 250px;
    overflow-y: hidden !important;
    transition: all 0.5s ease-out;
    box-shadow: 0px -40px 20px -10px rgba(206,206,206,1) inset;
    -webkit-box-shadow: 0px -40px 20px -10px rgba(206,206,206,1) inset;
    -moz-box-shadow: 0px -40px 20px -10px rgba(206,206,206,1) inset;
}

.collapsing-code-block--open {
    max-height: 5000px;
    transition: all 0.5s ease-in;
    box-shadow: none;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
}

@media (max-width: 600px) {
    .collapsing-code-block {
        padding-top: 40px !important;
    }
}

.collapsing-code-block__toggle {
    position: absolute;
    top: .25rem;
    right: .25rem;
    display: block;
    padding: .25rem .5rem;
    padding: 6px 12px 8px;
    border: 1px solid rgba(0,0,0,.1);
    box-shadow: inset 0 1px 2px -1px hsla(0,0%,100%,.5), inset 0 -2px 0 0 rgba(0,0,0,.1);
    -webkit-user-drag: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.collapsing-code-block > .collapsing-code-block__toggle::after {
    content: "More";
}

.collapsing-code-block--open > .collapsing-code-block__toggle::after {
    content: "Less";
}

.cfloat-left, .cfloat-right {
    width: 49%;
}

.cfloat-left {
    float: left;
}

.cfloat-right {
    float: right;
}

.cfloat-clear {
    /* Can be used with containers to clear earlier floats */
    /* By this any character in the container works to do the trick */
    clear: both;
    height: 1px;
    overflow: hidden;
    white-space: nowrap;
    text-indent: 100%;
}

@media (max-width: 600px) {
    .cfloat-left, .cfloat-right {
        width: 100% !important;
        float: none !important;
    }
}

.admonition {
    /* Ensure custom floats don't break following admonitions */
    display: inline-block;
    width:  100%;
}

ul li .line-block {
    margin-bottom: 12px !important;
}

.zammad-language-switcher.wy-breadcrumbs-aside {
    display: flex;
    gap: 10px;
    align-items: center;
}

/*
 * Sphinx RTD theme compatibility layer
 */

.wy-plain-list-disc li ul,
.rst-content .section ul li ul,
.rst-content .toctree-wrapper ul li ul,
article ul li ul {
    margin-bottom: 12px;
}

.wy-menu-vertical header,
.wy-menu-vertical p.caption {
    color: #55a5d9;
    font-weight: 700;
    font-size: 85%;
}

.wy-menu-vertical a {
    color: #d9d9d9;
}

.wy-menu-vertical li.current a {
    color: #404040;
}

.wy-side-nav-search > a img.logo {
    width: 70px;
    height: 61px;
}
