/* Just code block */
.codeblock {
    border-radius: 0;
    padding: 18px;
    border-left: 3px solid #1E89E7;
    margin: 12px 0;
    width: 100%;
    font-family: PTMono, monospace;
    font-size: 16px;
    background-color: #F4F4F4;
    max-height: unset;
    color: #636363;
}
.codeblock code {
    background-color: #F4F4F4;
    white-space: pre-wrap;
}

/* Any code block header with slider */
figure.\-.topic\/fig.fig.fignone.fig_hide:not(.list) figcaption {
    background-color: #F4F4F4;
    color: #4a4a4a;
}
figure.\-.topic\/fig.fig.fignone.fig_show:not(.list) figcaption {
    background-color: #F4F4F4;
    color: #4a4a4a;
}

figure.\-.topic\/fig.fig.fignone:not(.fig_hide):not(.fig_show):not(.list) {
    display: grid;
}

figure.\-.topic\/fig.fig.fignone:not(.fig_hide):not(.fig_show):not(.list) figcaption {
    order: 2;
    color: #4a4a4a;
}

figure.\-.topic\/fig.fig.fignone:not(.fig_hide):not(.fig_show):not(.list) figcaption span:nth-child(2) {
    font-family: 'ProximaNova-Regular', sans-serif;
    font-size: 16px;
    line-height: 24px;
    color: #4a4a4a;
    font-style: italic;
}

figure.\-.topic\/fig.fig.fignone:not(.fig_hide):not(.fig_show):not(.list) figcaption {
    margin-top: 7px;
    margin-bottom: 20px;
    color: #4a4a4a;
}

/* Temporary, until we have design and solution about copy button. */
pre.codeblock span.copyTooltip.wh-tooltip-container {
    display: none !important;
}

/* Code block only with header and code */
figure.\-.topic\/fig.fig.fignone.fig_hide:not(.list) {
    font-family: "ProximaNova-Regular", proxima-nova, sans-serif;
    font-size: 16px;
}

figure.\-.topic\/fig.fig.fignone.fig_hide:not(.list) figcaption {
    cursor: pointer;
    padding: 15px 24px 15px 24px;
    border-left: 3px solid #1E89E7;
    color: #4a4a4a;
}

figure.\-.topic\/fig.fig.fignone.fig_hide:not(.list) {
    margin-top: 37px;
}

figure.\-.topic\/fig.fig.fignone.fig_hide:not(.list) pre {
    margin-top: 0;
    display: none;
}

/* Opened by default code block with header  */
figure.\-.topic\/fig.fig.fignone.fig_show:not(.list) figcaption {
    border-left: 3px solid #1E89E7;
    color: #4a4a4a;
}

figure.\-.topic\/fig.fig.fignone.fig_show:not(.list) pre {
    margin-top: 0;
}

figure.\-.topic\/fig.fig.fignone.fig_show:not(.list) figcaption span:nth-child(2) {
    font-family: "ProximaNova-Regular", proxima-nova, sans-serif;
    font-size: 16px;
}

figure.\-.topic\/fig.fig.fignone.fig_show:not(.list) figcaption {
    display: block;
    padding: 15px 24px;
    color: #4a4a4a;
}

figure.\-.topic\/fig.fig.fignone.fig_show:not(.list) figcaption span.fig--title {
    display: flex;
}
