body, mw-chart {
   background: #fff;
}

#chart-component {
   border-top: 25px solid #fff;
}

#chart-component > *  {
   -webkit-box-ordinal-group: 10;
   -moz-box-ordinal-group: 10;
   -ms-flex-order: 10;
   -webkit-order: 10;
   order: 10;
}

#chart-component .dm-popup {
   background: #1b335f;
}

imf-legend .dm-legend-value {
   Xdisplay: none !important;
   padding-right: 10px;
}

imf-legend .dm-legend-label:after {
   Xcontent: none !important;
}

.dm-legend-item .dm-info-button {
   display: none;
}

#chart-component .dm-component-header {
   -webkit-box-ordinal-group: 0;
   -moz-box-ordinal-group: 0;
   -ms-flex-order: 0;
   -webkit-order: 0;
    order: 0;
}

#chart-component imf-legend {
   -webkit-box-ordinal-group: 2;
   -moz-box-ordinal-group: 2;
   -ms-flex-order: 2;
   -webkit-order: 2;
   order: 2;

   z-index: 3000;
}

#chart-component mw-slider {
   display: none;
}

#chart-component .dm-legend-item:nth-last-child(1):nth-child(odd) {
   border-bottom: none;
}

#chart-component .dm-legend-swatch {
   left: -10px;
}

#chart-component .dm-legend-swatch:before {
   height: 2px;
   width: 18px;
}

[axis-count="2"] + mw-slider + imf-legend li.dm-legend-item::before {
   transform: scaleY(1) !important;
}

[axis-count="2"] + mw-slider + imf-legend li.dm-legend-item:first-of-type:before {
   transform: scale(-1,1) !important;
}

#chart-component .dm-component-footer {
   position: absolute;
   top: 5px;
   right: -10px;
   z-index: 4999;
   background: transparent;
}

.dm-component-footer a {
   color: #000;
   padding: 5px;
   text-decoration: none;
   font-size: 18px;
   transition: background-color 0.5s linear;
}

.dm-component-footer a:after {
   content: ", October 2025";
   padding-left: 0;
}

.dm-component-footer a:hover {
   background-color: rgba(0,0,0,0.04);
}

.dm-component-footer > span {
   display: none;
}

#chart-component > .dm-indicator-select {
   display: block !important;
   position: absolute;
   top: 12px;
   left: 40px;
   color: #fff;
   background: #0cafae;
   font-weight: 300;
   border: none;
   border-radius: 5px;
   padding: 3px 20px;
   cursor: pointer;
   text-transform: uppercase;
   z-index: 4000;
}

#chart-component > .dm-indicator-select:hover {
   background-color: #0ba8a0;
}

#chart-component .dm-legend-label {
   font-size: 13pt;
   padding-left: 10px;
}

#chart-component imf-legend {
   padding-bottom: 0 !important;
   margin-bottom: -20px !important;
}

#chart-component .dm-legend-item:nth-child(n+2) {
   Xdisplay: none;
}

.dm-legend-add, .dm-legend-reset {
   display: none !important;
}

.dm-component-footer {
   border-top: none;
}

imf-legend .dm-legend-container {
   padding: 0;
   padding-top: 5px;
}

@media only screen and (min-width: 600px) {
   imf-legend .dm-legend-item {
      padding-left: 30px !important;
   }
}
