#chart-container {
    position: relative;
    overflow: hidden;
}
.graph {
    height: 300px;
    width: 100%;
}

#modal_background {
    background-color: var(--md-default-fg-color--lightest);
    overflow: hidden;
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99;
}

.modal_graph, .system_map_graph {

    overflow: visible;
    display: flex;
    align-items: center;
}
.modal_graph {
    border: 1px solid var(--md-default-fg-color--lightest);
    box-shadow: 0px 0px 10px var(--md-default-fg-color--lightest);
    border-radius: 8px;
    justify-content: center;
    position: absolute;
    top: 10%;
    left: 15%;
    width: 70%;
    height: 80%;
    z-index: 100;
}
a.md-tootltip__link.md-nav__link {
    display: inline;
}
.md-tooltip {
    opacity: initial;
}
.modal_graph .md-tooltip {
    bottom: 65px;
    width: 100%;
}
.system_map_graph .md-tooltip {
    /*bottom: 150px;*/
    top: 0px;
}
.md-tooltip > .echarts-tooltip {
    /* float: left; */
    /* clear: both; */
    /* position: absolute; */
    /* top: 0; */
    width: 100%;
    /* margin: -100% 0; */
}
h1:has(+ #chart-container) {
    margin-bottom: 1rem;
}
#system_map_graph  {
    width: 100%;
    min-height: 100%; /* 1:1 Aspect Ratio */
    position: relative; /* If you want text inside of it */
    top: 0px;
    /*top: 70px;*/
}
#system_map_graph .echarts-tooltip {
    box-shadow: none !important;
    background: transparent !important;
    border-width: 0px 0 0 0px !important;
    border-radius: 0 !important;
    color: var(--md-default-fg-color)!important;
    border-color: rgb(39, 45, 76) !important;

    padding-left: 0 !important
}
#system_map_graph .md-tooltip .md-tags--container  {
    /*margin: 10px 0 0;*/
    line-height:1;
    user-select: text;
}
#system_map_graph .md-tooltip .md-tags.md-breadcrumb,
#system_map_graph .md-tooltip .md-tags--breadcrumb  {
    flex-wrap: nowrap;
}
#system_map_graph .md-tooltip .md-tags.md-breadcrumb a:last-child,
#system_map_graph .md-tooltip .md-tags--breadcrumb a:last-child {
    color: #ff7900;
}
#system_map_graph .md-tooltip  .md-tag {
    font-size: .6rem!important;
}
#system_map_graph > .md-tooltip .md-tags--meta a span {
    color: #db1457;
}
/* Basic styling for the accordion */
#struct {
    /*padding: 10px;*/
    /*width: 300px;*/
}

#struct dl {
    margin: 0;
    padding: 0;
}

#struct dt .dt-header{
    font-weight: bold;
    backface-visibility: hidden;
    display: flex;
    font-size: .7rem;
    outline-color: var(--md-accent-fg-color);
    outline-offset: .2rem;
    transition: transform .4s cubic-bezier(.1,.7,.1,1), opacity .25s;
    opacity: 1 !important;
}
.struct {
    margin-bottom: 20px;
}
#struct dd {
    /*margin: 0;*/
    /*padding: 0;*/
    display: none; /* Hidden by default */
    /*padding-left: 20px; !* Indentation for nested lists *!*/
}

#struct dd.open {
    display: block; /* Display when open */
}

#struct dl dl {
    margin-left: 10px; /* Indentation for nested dl elements */
}

/* Optional: Hover effects for <dt> */
#struct dt:hover {
    color: var(--md-accent-fg-color);
    /*background-color: #e0e0e0;*/
}
#struct div.detail > div  span {
    display: table-cell;
}

#struct div.detail > div{
    display: table-row;
}

#struct .detail{
    display: table;
    width: 100%
}
#struct .detail-hidden{
    display: none!important;
}

#struct .val {
    text-align: right;
}


#chart-container #system_map_graph .md-tooltip .md-tags.md-breadcrumb  {
    flex-wrap: nowrap;
}
#chart-container  #system_map_graph .md-tooltip .md-tags.md-breadcrumb a:last-child {
    color: #ff7900;
}
