/* mermaid diagram: strip RTD's code-block padding/background and remove gaps */
pre.mermaid {
   padding: 0 !important;
   background: none !important;
   border: none !important;
   margin-top: 0 !important;
   margin-bottom: 0.5em !important;
   overflow-x: auto !important;
}

.mermaid-container {
   margin-top: 0 !important;
}

/* override the 500px fixed height injected by sphinxcontrib-mermaid JS */
pre.mermaid > svg,
.mermaid-container > pre > svg {
   height: auto !important;
   max-height: none !important;
   max-width: 100% !important;
   width: 100% !important;
}

/* subgraph titles are SVG text elements — inherit from svg root above */
pre.mermaid > svg text,
pre.mermaid > svg tspan {
   font-size: inherit !important;
}

/* allow subgraph title foreignObject elements to overflow their
   Mermaid-calculated width so long titles are not clipped */
pre.mermaid > svg foreignObject,
.mermaid-container > pre > svg foreignObject {
   overflow: visible !important;
}

/* legend subgraph: transparent background with a subtle gray border;
   Mermaid renders the subgraph id directly as the SVG element id ("leg") */
pre.mermaid > svg g#leg.cluster > rect {
   fill: transparent !important;
   stroke: #cccccc !important;
   stroke-width: 1px !important;
   stroke-dasharray: none !important;
}

/* override table width restrictions */
@media screen and (min-width: 767px) {

   .wy-table-responsive table td {
      /* !important prevents the common CSS stylesheets from overriding
         this as on RTD they are loaded after this stylesheet */
      white-space: normal !important;
   }

   .wy-table-responsive {
      overflow: visible !important;
   }
}

.rst-content .admonition-tutorial .admonition-title .fa-info-circle:before{content:""} 
.rst-content
.fa-search-plus:before, .rst-content .admonition-tutorial .admonition-title:before, .wy-inline-validate.wy-inline-validate-info .wy-input-context:before, .wy-inline-validate.wy-inline-validate-warning .wy-input-context:before {
    content: "";
}

.rst-content .admonition-announcement .admonition-title .fa-info-circle:before{content:"\f0a1"} 
.rst-content
.fa-search-plus:before, .rst-content .admonition-announcement .admonition-title:before, .wy-inline-validate.wy-inline-validate-info .wy-input-context:before, .wy-inline-validate.wy-inline-validate-warning .wy-input-context:before {
    content: "\f0a1";
}


.rst-content .admonition-tutorial {
    clear: both;
    border-style: dashed;
    border-width: medium;
    border-color: #e7f2fa;
    background: white;
}
