/* Clan sectors intentionally reuse the original WRoad visual language. */
.sector-page__title {
  overflow: hidden;
}

.sector-page__title > span:first-child {
  float: left;
}

.sector-page__count {
  color: #a9a9a9;
  float: right;
  font-weight: normal;
}

.sector-list {
  background: #202020;
}

.sector-card {
  background: #202020;
  border-left: 1px solid #b8b8b8;
  border-right: 1px solid #777;
}

.sector-card__header {
  background: url('/img/inter/bg3.jpg') repeat;
  border-bottom: 1px solid #080808;
  border-top: 1px solid #8f8f8f;
  min-height: 23px;
  overflow: hidden;
  padding: 3px 5px;
}

.sector-card__identity {
  float: left;
  font-weight: bold;
  max-width: 67%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sector-card__icon {
  height: 16px;
  padding-right: 4px;
  vertical-align: -18%;
  width: 16px;
}

.sector-card__code {
  color: #fff;
}

.sector-card__code::after {
  color: #777;
  content: ' — ';
  font-weight: normal;
}

.sector-card__type {
  color: #ffb700;
}

.sector-card__district {
  color: #fff;
  float: right;
  font-size: 12px;
  max-width: 32%;
  overflow: hidden;
  padding-top: 2px;
  text-align: right;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sector-card__district span {
  color: #2acd2d;
}

.sector-card__body {
  background: #202020;
}

.sector-card__bonus,
.sector-card__control {
  border-top: 1px dotted #4f4f54;
  overflow: hidden;
  padding: 4px 5px;
}

.sector-card__bonus {
  border-top: 0;
}

.sector-card__label,
.sector-card__control-label {
  color: #2acd2d;
}

.sector-card__label::after,
.sector-card__control-label::after {
  content: ':';
}

.sector-card__bonus-value {
  color: #fff;
}

.sector-card__bonus-value img {
  vertical-align: -12%;
}

.sector-card__timer {
  color: #7d8fff;
}

.sector-card__action {
  background: #7b7f61;
  border-top: 1px solid #bfc2a7;
  padding: 3px 4px;
}

.sector-card__action .but2 {
  line-height: 26px;
  text-align: center;
}

.sector-card__history {
  border-top: 1px solid #777;
}

.sector-card__history summary {
  background: url('/img/inter/pager.jpg') repeat-x #292a30;
  color: #c4c4c4;
  cursor: pointer;
  font-size: 13px;
  list-style: none;
  min-height: 18px;
  padding: 3px 5px;
  text-decoration: underline;
}

.sector-card__history summary::-webkit-details-marker {
  display: none;
}

.sector-card__history summary::before {
  color: #ffb700;
  content: '[+]';
  display: inline-block;
  font-weight: bold;
  margin-right: 4px;
  text-decoration: none;
}

.sector-card__history[open] summary::before {
  content: '[−]';
}

.sector-card__log {
  background: #33333e;
  border-top: 1px solid #111;
}

.sector-card__log .b4.bg_container {
  background: #33333e;
  border-bottom: 1px dotted #595960;
  padding: 3px 4px;
}

.sector-card__log .b4.bg_container:last-of-type {
  border-bottom: 0;
}

.sector-card__log .spacer_2 {
  display: none;
}

.sector-card__empty,
.sector-list__empty {
  color: #aaa;
  padding: 4px 5px;
}

.sector-list__empty {
  background: #33333e;
}

.sector-card__spacer {
  clear: both;
}

@media (max-width: 330px) {
  .sector-card__identity,
  .sector-card__district {
    float: none;
    max-width: none;
    text-align: left;
  }

  .sector-card__district {
    display: block;
    padding-left: 20px;
  }
}
