.tv-market-status--market--for-chart {
  display: block !important;
}

.expand-chart {
  display: flex;
  height: 100%;
  flex: 1 1 0;
  justify-content: center;
  align-items: center;
}

.expand-chart:hover svg {
  background-color: #ebf7fc;
}

html.theme-dark .expand-chart:hover svg {
  background-color: #262b3e;
}

html.theme-dark .expand-chart.active svg,
.expand-chart.active svg {
  background-color: #37a6ef;
}

.chart-info {
  font-size: 14px;
  font-weight: 500;
  width: fit-content;
  text-align: center;
  border-radius: 4px;
  line-height: 22px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 35px;
  padding: 0 0.4rem;
}

body[class*='light'] {
  .chart-info.active {
    background-color: #cfdefc;
    color: #0d59f2;
  }
}

body[class*='dark'] {
  .chart-info.active {
    background-color: #233c6d;
    color: #8baff9;
  }
}


.expand-chart svg {
  width: 20px;
  height: 20px;
  padding: 5px;
  fill: #4a4a4a;
}

.hidden {
  display: none;
}

.hide-tooltips #tooltip-root-element,
.hide-control-bar .control-bar-wrapper,
.hide-price-axis .chart-markup-table.price-axis,
.hide-time-axis .chart-markup-table.time-axis,
.hide-time-axis .chart-markup-table.price-axis-container {
  display: none;
}

.hide-context-menus .context-menu-wrapper {
  display: none !important;
}

.hide-create-new-order tr[data-action-name='trade-new-order'] {
  display: none;
}

.hide-create-new-order tr[data-action-name='trade-new-order']:first-child + tr,
.hide-create-new-order tr[data-action-name='trade-new-order']:first-child + tr + tr {
  display: none;
}

.dealticket-buttons {
  display: flex;
}

.layout-toggle-container.button-dealticket {
  color: white;
  display: flex !important;
  flex-direction: column;

  margin: 0 1px;
  padding: 3px 6px;
}

.button-dealticket .button-dealticket__label {
  text-transform: uppercase;
  font-size: 9px;
  line-height: 11px;
}

.button-dealticket .button-dealticket__value {
  font-size: 12px;
  min-width: 50px;
  line-height: 14px;
  vertical-align: middle;
}

.button-dealticket .button-dealticket__value::after {
  content: '';
  font-family: 'icomoon';
  font-size: 7px;
  line-height: 15px;
  padding-left: 10px;
}

.button-dealticket .button-dealticket__value.button-dealticket__value--up::after {
  content: '\e90a';
  padding-left: 3px;
}

.button-dealticket .button-dealticket__value.button-dealticket__value--down::after {
  content: '\e90e';
  padding-left: 3px;
}

.layout-toggle-container.button-buy {
  background-color: blue;
}

.layout-toggle-container.button-sell {
  background-color: red;
}

.layout-toggle-container.button-sell--disabled {
  background: none;
  color: #d1d1d1;
  border: 1px solid #d1d1d1;
  border-right: none;
}

.quantity-box {
  width: 75px;
  background-color: #202020;
  padding: 5px 10px;
  box-sizing: border-box;
  font-size: 12px;
  color: #dddddd;
}

.quantity-box .quantity-box__value {
  background-color: transparent;
  border: none;
  width: 100%;
}

.blank-pane {
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2.3em;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

.charts-popup-list .title {
  pointer-events: none;
}

.theme-light-japan:not(.refreshed) .tv-trading-toolbar__bs-button--sell,
.theme-dark-japan:not(.refreshed) .tv-trading-toolbar__bs-button--sell {
  background-color: #2c7cb3;
}

.theme-light-japan:not(.refreshed) .feature-no-touch .tv-trading-toolbar__bs-button--sell:active,
.theme-light-japan:not(.refreshed) .feature-no-touch .tv-trading-toolbar__bs-button--sell:hover,
.theme-light-japan:not(.refreshed) .feature-touch .tv-trading-toolbar__bs-button--sell:active,
.theme-dark-japan:not(.refreshed) .feature-no-touch .tv-trading-toolbar__bs-button--sell:active,
.theme-dark-japan:not(.refreshed) .feature-no-touch .tv-trading-toolbar__bs-button--sell:hover,
.theme-dark-japan:not(.refreshed) .feature-touch .tv-trading-toolbar__bs-button--sell:active,
.theme-light-japan:not(.refreshed) .tv-trading-toolbar__bs-button--sell:hover,
.theme-dark-japan:not(.refreshed) .tv-trading-toolbar__bs-button--sell:hover {
  background-color: #1d5176;
}

.theme-light-japan:not(.refreshed) .tv-trading-toolbar__bs-button--buy,
.theme-dark-japan:not(.refreshed) .tv-trading-toolbar__bs-button--buy,
.theme-light-japan:not(.refreshed) .layout-toggle-container.button-buy,
.theme-dark-japan:not(.refreshed) .layout-toggle-container.button-buy {
  background-color: #de4559;
}

.theme-light-japan:not(.refreshed) .feature-no-touch .tv-trading-toolbar__bs-button--buy:active,
.theme-light-japan:not(.refreshed) .feature-no-touch .tv-trading-toolbar__bs-button--buy:hover,
.theme-light-japan:not(.refreshed) .feature-touch .tv-trading-toolbar__bs-button--buy:active,
.theme-dark-japan:not(.refreshed) .feature-no-touch .tv-trading-toolbar__bs-button--buy:active,
.theme-dark-japan:not(.refreshed) .feature-no-touch .tv-trading-toolbar__bs-button--buy:hover,
.theme-dark-japan:not(.refreshed) .feature-touch .tv-trading-toolbar__bs-button--buy:active,
.theme-light-japan:not(.refreshed) .tv-trading-toolbar__bs-button--buy:hover,
.theme-dark-japan:not(.refreshed) .tv-trading-toolbar__bs-button--buy:hover,
.theme-light-japan:not(.refreshed) .layout-toggle-container.button-buy:hover,
.theme-dark-japan:not(.refreshed) .layout-toggle-container.button-buy:hover {
  background-color: #b62034;
}

body.refreshed.theme-light-japan,
body.refreshed.theme-dark-japan {
  --chart-buy-color: var(--v2-market-up-down-positive-soft);
  --chart-buy-shadow-color: var(--v2-market-up-down-positive-soft-hovered);
  --chart-sell-color: var(--v2-market-up-down-negative-soft);
  --chart-sell-shadow-color: var(--v2-market-up-down-negative-soft-hovered);
}

.chart-loading-screen.fade .chart-loading-screen-shield {
  opacity: 0.85;
}

.market-status-dot--realtime,
html.theme-dark .market-status-dot--realtime {
  color: #318757;
}

.market-status-dot--realtime::after,
html.theme-dark .market-status-dot--realtime::after {
  background: #318757;
}
.market-status-dot--delayed,
html.theme-dark .market-status-dot--delayed {
  color: #d1b854;
}
.market-status-dot--delayed::after,
html.theme-dark .market-status-dot--delayed::after {
  background: #d1b854;
}
.market-status-dot--suspended,
html.theme-dark .market-status-dot--suspended {
  color: #8c8c8c;
}
.market-status-dot--suspended::after,
html.theme-dark .market-status-dot--suspended::after {
  background: #8c8c8c;
}
.market-status-dot--indicative,
html.theme-dark .market-status-dot--indicative {
  color: #8c8c8c;
}
.market-status-dot--indicative::after,
html.theme-dark .market-status-dot--indicative::after {
  background: #8c8c8c;
}
.market-status-dot--phone-only,
html.theme-dark .market-status-dot--phone-only {
  color: #8c8c8c;
}
.market-status-dot--phone-only::after,
html.theme-dark .market-status-dot--phone-only::after {
  background: #8c8c8c;
}
.market-status-dot--closed,
html.theme-dark .market-status-dot--closed {
  color: #8c8c8c;
}
.market-status-dot--closed::after,
html.theme-dark .market-status-dot--closed::after {
  background: #8c8c8c;
}
.market-status-dot--close-only,
html.theme-dark .market-status-dot--close-only {
  color: #318757;
}
.market-status-dot--close-only::after,
html.theme-dark .market-status-dot--close-only::after {
  background: #318757;
}
.market-status-dot--short-only,
html.theme-dark .market-status-dot--short-only {
  color: #318757;
}
.market-status-dot--short-only::after,
html.theme-dark .market-status-dot--short-only::after {
  background: #318757;
}
.market-status-dot--long-only,
html.theme-dark .market-status-dot--long-only {
  color: #318757;
}
.market-status-dot--long-only::after,
html.theme-dark .market-status-dot--long-only::after {
  background: #318757;
}
