
:root {
    --ndx-iv-hlc-color: var(--indices-green, #5dcc96);
    --ndx-iv-hv-color: var(--indices-hv-color, #6ac3ed);
    --ndx-iv-ema30-color: #2fa765;
    --ndx-iv-ema300-color: #c95353;
    --ndx-iv-z-curve-color: #e6e6e6;
    --ndx-iv-z-point-color: #ffe04a;
    --ndx-iv-hist-color: #434a50;
    --ndx-iv-z-grid-color: #25282d;}

#ndx-iv-price-chart.is-hidden,
#ndx-iv-hv-panel.is-hidden,
#ndx-iv-z-row.is-hidden,
#ndx-iv-z-ndx-panel.is-hidden,
#ndx-iv-z-vxn-panel.is-hidden,
#ndx-iv-price-legend.is-hidden,
#ndx-iv-price-logo.is-hidden {
    display: none;}

#ndx-iv-z-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 10px;
    width: 100%;
    min-width: 0;}

#ndx-iv-hv-panel {
    min-height: 250px;
    height: 250px;}

#ndx-iv-z-ndx-panel,
#ndx-iv-z-vxn-panel {
    min-width: 0;
    min-height: 260px;
    height: 260px;}

.ndx-iv-module-panel {
    position: relative;
    overflow: hidden;}

.ndx-iv-module-panel > .ndx-iv-panel-title {
    display: block;
    position: absolute;
    top: 6px;
    left: 20px;
    transform: none;
    margin-left: 0;
    z-index: 2;
    pointer-events: none;}

.ndx-iv-horizontal-legend {
    position: absolute;
    z-index: 3;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px 13px;
    left: 14px;
    right: 14px;
    top: 30px;
    font-size: 12px;
    line-height: 1.25;
    pointer-events: auto;}

#app-container #ndx-iv-hv-panel > #ndx-iv-hv-panel-legend {
    position: absolute !important;
    left: 70px !important;
    right: 14px !important;
    top: 35px !important;
    bottom: auto !important;
    transform: none !important;}
	
#app-container #ndx-iv-z-ndx-panel > #ndx-iv-z-ndx-panel-legend,
#app-container #ndx-iv-z-vxn-panel > #ndx-iv-z-vxn-panel-legend {
    position: absolute !important;
    left: 40px !important;
    right: 14px !important;
    top: 45px !important;
    bottom: auto !important;
    transform: none !important;}

#ndx-iv-price-legend {
    top: 43px;
    left: 16px;
    right: 14px;}

.ndx-iv-legend-item,
.ndx-iv-rs-toggle {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: inherit;
    white-space: nowrap;}

.ndx-iv-legend-item {
    color: inherit;}

.ndx-iv-legend-dot,
.ndx-iv-rs-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;}

.ndx-iv-hlc-dot {
    background-color: var(--ndx-iv-hlc-color);}

.ndx-iv-hv-dot {
    background-color: var(--ndx-iv-hv-color);}

.ndx-iv-ema30-dot {
    background-color: var(--ndx-iv-ema30-color);}

.ndx-iv-ema300-dot {
    background-color: var(--ndx-iv-ema300-color);}

.ndx-iv-ema30-text {
    color: var(--ndx-iv-ema30-color);}

.ndx-iv-ema300-text {
    color: var(--ndx-iv-ema300-color);}

.ndx-iv-z-point-dot {
    background-color: var(--ndx-iv-z-point-color);}

.ndx-iv-rs-toggle {
    border: 0;
    background: transparent;
    color: inherit;
    padding: 0;
    cursor: pointer;
    font-family: inherit;}

.ndx-iv-rs-toggle.is-muted,
.ndx-iv-rs-tooltip.is-muted {
    opacity: 0.4;}

.ndx-iv-rs-tooltip {
    cursor: pointer;}

.ndx-iv-rs-dot.indices-color-rs-r2 {
    background: var(--indices-rs-r2-color);}
	
.ndx-iv-rs-dot.indices-color-rs-r1 {
    background: var(--indices-rs-r1-color);}

.ndx-iv-rs-dot.indices-color-rs-mid {
    background: var(--indices-rs-mid-color);}

.ndx-iv-rs-dot.indices-color-rs-s1 {
    background: var(--indices-rs-s1-color);}

.ndx-iv-rs-dot.indices-color-rs-s2 {
    background: var(--indices-rs-s2-color);}

.ndx-iv-module-panel .ndx-iv-module-logo {
    pointer-events: none;}

@media (max-width: 800px) {

#ndx-iv-z-row {
    grid-template-columns: minmax(0, 1fr);}
		
#ndx-iv-hv-panel {
    height: 230px;
    min-height: 230px;}
	
#ndx-iv-z-ndx-panel,
#ndx-iv-z-vxn-panel {
    height: 245px;
    min-height: 245px;}
	 
#ndx-iv-price-legend {
     top: 60px;}
}
