.markets-topPanel {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
}

.markets-topPanel .icon {
  cursor: pointer;
  margin-left: 10px;
}

.markets-topPanel svg {
  width: 16px;
  height: 16px;
}

.market-list-row svg {
  width: 12px;
  height: 12px;
}

.markets-list {
  font-size: 0.85rem;
  flex-wrap: wrap;
  flex-direction: column;
  overflow-y: scroll;
  flex: 1;
}

.markets-list.expanded {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  flex-direction: row;
}


.markets-list .markets-list-header {
  display: flex;
  position: sticky;
  top: 0;
  background-color: var(--app-background-header);
  padding-right: 10px;
}



.markets-list-empty {
  height: 300px;
  display: flex;
  justify-content: center;

  align-items: center;
}

.market-message {
  color: var(--app-color-disabled);
  font-weight: 400;
}

.markets-list .markets-list-header .markets-list-header-item {
  text-transform: uppercase;
  font-weight: unset;
  padding: 5px 0;
  font-size: 0.85rem;
  cursor: pointer;
}

.markets-list .markets-list-header .markets-list-header-item > span {
  position: relative;
  &:last-child{
    margin-left: 14px;
  }
}

.markets-list .markets-list-header .markets-list-header-item i {
  position: absolute;
  top: 2px;
  right: -10px;
}

.markets-list .markets-list-header .markets-list-header-item i svg {
  width: 8px;
  height: 8px;
}

.market-list-row {
  display: flex;
  width: 100%;
  font-weight: 600;
  align-items: center;
  &:nth-child(odd){
    background-color: var(--app-background-odds);
  }
}


.market-list-row:not(.expanded) {
  min-height: 30px;
  padding: 4px 10px;
  cursor: pointer;
}

.market-list-row:not(.expanded):hover {
  background-color: var(--app-background-box-hover);
}

.market-list-row:not(.expanded) .asset-symbol span {
  color: var(--color) !important;
}

.market-list-row.expanded {
  justify-content: space-between;
  align-items: center;
  padding-bottom: 20px;
  flex: 1;
}

.markets-list.expanded .market-list-row.expanded {
  width: 250px;
  min-width: 250px;
}

.markets-list-header-item, .market-list-row > div {
  text-align: center;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.tradePanel-info {
  position: absolute;
  left: 0;
  right: 0;
  width: 100%;
  font-size: 0.75rem;
  text-align: center;
}

.tradePanel-info-bottom {
  top: calc(100% + 5px);
}

.markets-list-header .markets-list-header-item:first-child {
  width: 40% !important;
  //text-align: left !important;
  padding-left: 0.5rem;
}

.markets-list-header .markets-list-header-item {
  width: 20% !important;
  text-align: center !important;
}

.market-list-row:not(.expanded) > div:first-child {
  width: 40% !important;
  overflow-x: visible;
}

.market-list-row:not(.expanded) > div {
  width: 20%;
  text-align: center;
  text-overflow: ellipsis;
  overflow-x: hidden;
}

.favorites-empty {
  display: flex;
  flex-direction: column;
}

.favorites-empty-icon {
  display: flex;
  justify-content: center;
}

.favorites-empty-icon svg {
  height: 38px;
}

.favorites-empty-icon svg * {
  fill: var(--app-icon);
}

.favorites-empty-title {
  text-align: center;
  font-weight: 600;
  margin-top: 20px;
  font-size: 1rem;
}

.favorites-empty-subtitle {
  color: var(--app-color-disabled);
  text-align: center;
  margin-top: 10px;
  padding: 0 5%;
}

