:root {
    --moori-ext-icon: url("data:image/svg+xml;charset=utf-8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill-rule='evenodd' d='M 5 3 C 3.9069372 3 3 3.9069372 3 5 L 3 19 C 3 20.093063 3.9069372 21 5 21 L 19 21 C 20.093063 21 21 20.093063 21 19 L 21 12 L 19 12 L 19 19 L 5 19 L 5 5 L 12 5 L 12 3 L 5 3 z M 14 3 L 14 5 L 17.585938 5 L 8.2929688 14.292969 L 9.7070312 15.707031 L 19 6.4140625 L 19 10 L 21 10 L 21 3 L 14 3 z'/></svg>");
    --moori-dl-icon: url("data:image/svg+xml;charset=utf-8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill-rule='evenodd' d='M13,14.5857864 L14.2928932,13.2928932 C14.6834175,12.9023689 15.3165825,12.9023689 15.7071068,13.2928932 C16.0976311,13.6834175 16.0976311,14.3165825 15.7071068,14.7071068 L12.7071068,17.7071068 C12.3165825,18.0976311 11.6834175,18.0976311 11.2928932,17.7071068 L8.29289322,14.7071068 C7.90236893,14.3165825 7.90236893,13.6834175 8.29289322,13.2928932 C8.68341751,12.9023689 9.31658249,12.9023689 9.70710678,13.2928932 L11,14.5857864 L11,1 C11,0.44771525 11.4477153,0 12,0 C12.5522847,0 13,0.44771525 13,1 L13,14.5857864 Z M7.49927404,7.13439413 C7.97733496,6.85785082 8.58906256,7.02121312 8.86560587,7.49927404 C9.14214918,7.97733496 8.97878688,8.58906256 8.50072596,8.86560587 C6.35109585,10.1090997 5,12.4011852 5,14.9297424 C5,18.7957357 8.13400675,21.9297424 12,21.9297424 C15.8659932,21.9297424 19,18.7957357 19,14.9297424 C19,12.4011852 17.6489042,10.1090997 15.499274,8.86560587 C15.0212131,8.58906256 14.8578508,7.97733496 15.1343941,7.49927404 C15.4109374,7.02121312 16.022665,6.85785082 16.500726,7.13439413 C19.2622074,8.73182487 21,11.6799275 21,14.9297424 C21,19.9003052 16.9705627,23.9297424 12,23.9297424 C7.02943725,23.9297424 3,19.9003052 3,14.9297424 C3,11.6799275 4.73779265,8.73182487 7.49927404,7.13439413 Z'></path></svg>");
}

.md-grid {
    max-width: 70rem;
}

@supports selector(::-webkit-scrollbar) {
    [dir=ltr] .md-sidebar__inner {
        padding-right: calc(100% - 20.5rem);
    }

    [dir=rtl] .md-sidebar__inner {
        padding-left: calc(100% - 20.5rem)
    }
}

.md-content img {
    max-width: 480px;
}

.md-consent__controls {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-gap: 15px;
}

.md-consent__controls > label {
    text-align: center;
}

a[data-fancybox] {
    display: block;
    text-align: center;
}

@media screen and (min-width: 76.25em) {
    .md-sidebar--primary {
        width: auto;
        min-width: 20rem;
    }
}

a[href*="//"]:not([href*="docs.moori.net"]):after {
    display: inline-block;
    width: 12px;
    height: 12px;
    margin-left: 5px;
    background-color: currentColor;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: contain;
    mask-size: contain;
    content: "";
    -webkit-mask-image: var(--moori-ext-icon);
    mask-image: var(--moori-ext-icon);
}

a[href*="examples"]:after {
    display: inline-block;
    width: 12px;
    height: 12px;
    margin-left: 5px;
    background-color: currentColor;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: contain;
    mask-size: contain;
    content: "";
    -webkit-mask-image: var(--moori-dl-icon);
    mask-image: var(--moori-dl-icon);
}

a.linked-img:after {
    display: none;
}
