/* The "figure" admonition holds one figure, its caption and links to its
   PDF file and its source notebook.  The icon is Material Design's
   image-outline. */
:root {
  --md-admonition-icon--figure: url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M19 19H5V5h14m0-2H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V5a2 2 0 0 0-2-2m-5.04 9.29-2.75 3.54-1.96-2.36L6.5 17h11z"/></svg>');
}

.md-typeset .admonition.figure,
.md-typeset details.figure {
  border-color: #607d8b;
}

.md-typeset .figure > .admonition-title,
.md-typeset .figure > summary {
  background-color: rgba(96, 125, 139, 0.1);
}

.md-typeset .figure > .admonition-title::before,
.md-typeset .figure > summary::before {
  background-color: #607d8b;
  -webkit-mask-image: var(--md-admonition-icon--figure);
  mask-image: var(--md-admonition-icon--figure);
}

/* The figure takes the full width of the admonition. */
.md-typeset .admonition.figure img {
  display: block;
  width: 100%;
}
