/* Override */
.md-typeset figcaption {
    margin: 0.5em auto;
}

figure p {
    margin: 0;
}

.tabbed-set {
    clear: both;
}

.md-typeset h1 {
    margin: 0 0 0.25em;
}


/* Utility */
.clear {
    clear: both;
}
.right {
    float: right;
    margin-left: 10px !important;
}
.left {
    float: left;
    margin-right: 10px !important;
}
figure.right, figure.left {
    margin-top: 0;
}
figure.right.clear
figure.right {
    margin-left: 10px;
}
figure.left {
    margin-right: 10px;
}
figure.w450 {
    width: 450px;
}
figure.w400 {
    width: 400px;
}
figure.w350 {
    width: 350px;
}
figure.w300 {
    width: 300px;
}
figure.w250 {
    width: 250px;
}

/* Flex Grid */
[dir=ltr] .md-typeset .flex ul {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    list-style-type: none;
    justify-content: space-between;
    padding: 0;
    margin: 0;
}
[dir=ltr] .md-typeset .flex ul li {
    flex-basis: 49%;
    border: 1px solid;
    border-radius: 4px;
    padding: 0 30px 20px;
    margin: 0 0 15px;
}
@media screen and (max-width: 570px) {
    [dir=ltr] .md-typeset .flex ul li {
        flex-basis: 100%;
    }
  }

  /* Custom Admonitions */

  :root {
    --md-admonition-icon--foundry-tip: url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><!--! Font Awesome Free 6.4.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) Copyright 2023 Fonticons, Inc.--><path d="m48.7 125.8 53.2 31.9c7.8 4.7 17.8 2 22.2-5.9l77.5-139.7c3-5.4-.9-12.1-7.1-12.1-1.6 0-3.2.5-4.6 1.4l-142 97.4c-9.6 6.6-9.2 20.9.8 26.9zM16 171.7v123.6c0 8 10.4 11 14.7 4.4l60-92c5-7.6 2.6-17.8-5.2-22.5L40.2 158c-10.6-6.4-24.2 1.3-24.2 13.7zM310.4 12.1 388 151.7c4.4 7.9 14.5 10.6 22.2 5.9l53.2-31.9c10-6 10.4-20.3.8-26.9L322.1 1.4c-1.4-.9-3-1.4-4.6-1.4-6.2 0-10.1 6.7-7.1 12.1zM496 171.7c0-12.4-13.6-20.1-24.2-13.7l-45.3 27.2c-7.8 4.7-10.1 14.9-5.2 22.5l60 92c4.3 6.7 14.7 3.6 14.7-4.4V171.7zm-49.3 246-160.6 18.9c-8.1.9-14.1 7.8-14.1 15.9v52.8c0 3.7 3 6.8 6.8 6.8.8 0 1.6-.1 2.4-.4l172.7-64c6.1-2.2 10.1-8 10.1-14.5 0-9.3-8.1-16.5-17.3-15.4zM233.2 512c3.7 0 6.8-3 6.8-6.8v-52.6c0-8.1-6.1-14.9-14.1-15.9l-160.6-19c-9.2-1.1-17.3 6.1-17.3 15.4 0 6.5 4 12.3 10.1 14.5l172.7 64c.8.3 1.6.4 2.4.4zM41.7 382.9l170.9 20.2c7.8.9 13.4-7.5 9.5-14.3l-85.7-150c-5.9-10.4-20.7-10.8-27.3-.8L30.2 358.2c-6.5 9.9-.3 23.3 11.5 24.7zm439.6-24.8-78.4-120c-6.5-10-21.4-9.6-27.3.8l-85.4 149.6c-3.9 6.8 1.6 15.2 9.5 14.3l170.1-20c11.8-1.4 18-14.7 11.5-24.6zm-216.9 11 78.4-137.2c6.1-10.7-1.6-23.9-13.9-23.9H183.1c-12.3 0-20 13.3-13.9 23.9l78.4 137.2c3.7 6.4 13 6.4 16.7 0zm-90-193.1h163.2c12.2 0 19.9-13.1 14-23.8l-80-144c-2.8-5.1-8.2-8.2-14-8.2h-3.2c-5.8 0-11.2 3.2-14 8.2l-80 144c-5.9 10.7 1.8 23.8 14 23.8z"/></svg>')
  }
  .md-typeset .admonition.foundry-tip,
  .md-typeset details.foundry-tip {
    border-color: rgb(255, 78, 0);
  }
  .md-typeset .foundry-tip > .admonition-title,
  .md-typeset .foundry-tip > summary {
    background-color: rgb(255, 78, 0, 0.1);
  }
  .md-typeset .foundry-tip > .admonition-title::before,
  .md-typeset .foundry-tip > summary::before {
    background-color: #ff4e00;
    -webkit-mask-image: var(--md-admonition-icon--foundry-tip);
            mask-image: var(--md-admonition-icon--foundry-tip);
  }

  /* Custom Button */
.reference {
    background-color: var(--md-typeset-kbd-color);
    border-radius: 0.1rem;
    box-shadow: 0 0.1rem 0 0.05rem var(--md-typeset-kbd-border-color), 0 0.1rem 0 var(--md-typeset-kbd-border-color), 0 -0.1rem 0.2rem var(--md-typeset-kbd-accent-color) inset;
    color: var(--md-default-fg-color);
    display: inline-block;
    font-size: .75em;
    padding: 0 0.6666666667em;
    vertical-align: text-top;
    word-break: break-word;
}