div.code-toolbar{
    position:relative
}
div.code-toolbar>.toolbar{
    position:absolute;
    z-index:10;
    top:.3em;
    right:.2em;
    transition:opacity .3s ease-in-out;
    opacity:1
}

div.code-toolbar>.toolbar>.toolbar-item{
    display:inline-block
}
div.code-toolbar>.toolbar>.toolbar-item>a{
    cursor:pointer
}

/* feature styles for buttons */
/* icon copy */
div.code-toolbar>.toolbar>.toolbar-item>button > span
{
    color: transparent;
    background-color:#e6caa8;
    mask: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='none' d='M0 0h24v24H0z'></path><path d='M7 6V3a1 1 0 0 1 1-1h12a1 1 0 0 1 1 1v14a1 1 0 0 1-1 1h-3v3c0 .552-.45 1-1.007 1H4.007A1.001 1.001 0 0 1 3 21l.003-14c0-.552.45-1 1.007-1H7zM5.003 8L5 20h10V8H5.003zM9 6h8v10h2V4H9v2z' fill='currentColor'></path></svg>");
    mask-repeat: no-repeat no-repeat;
    mask-position: center right;
}

/* hide icon copy */
div.code-toolbar>.toolbar>.toolbar-item>button[data-copy-state=copy-success] > span ,
div.code-toolbar>.toolbar>.toolbar-item>button[data-copy-state=copy-success]:hover > span
{
    mask-image: none;
    color: #e6caa8;
    background-color: transparent;
}

/* color of "Copied!" */
.copy-to-clipboard-button[data-copy-state~=copy-success] span {
    color: #e6caa8;
}

/* text copy is hidden */
.copy-to-clipboard-button[data-copy-state=copy] span {
    color: transparent;
}

/* default item color */
div.code-toolbar>.toolbar>.toolbar-item {
   color: #e6caa8; 
}

/* remove toolbar items decoration*/
div.code-toolbar > .toolbar > .toolbar-item > a, 
div.code-toolbar > .toolbar > .toolbar-item > button, 
div.code-toolbar > .toolbar > .toolbar-item > span {
    background-color: transparent;
    border: 0;
    box-shadow: none;
}
/* end of style override for prismjs */

/* nav-link overrides for documentation pages */
.nav-item.active>a {
	color: var(--bs-warning);

}
.nav-item.active::after {
	content: ' ➡️ ';
}

#painfree_exec_time {
	font-size: 1em;
	font-weight: normal;
	font-family: monospace;
	float: right;
}
