@charset "UTF-8";
@font-face {
  font-family: "Open Sans";
  src: url("../../fonts/open-sans/OpenSans-Regular.ttf");
}
.square, .square-mini {
  display: inline-block;
  float: left;
  height: 220px;
  width: 220px;
  background-color: #f5efe8;
  position: relative;
  margin: 8px;
  border-radius: 3px;
}

.ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  height: 160px;
  width: 160px;
  border-radius: 100%;
  border: 2px solid #f5efe8;
  top: 45%;
}

.rielta-zone {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  border-radius: 100%;
  width: 130px;
  height: 130px;
  background-color: #f5efe8;
}

.cwl-zone {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  border-radius: 100%;
  width: 130px;
  height: 130px;
  background-color: #f5efe8;
}

.wired-zone {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  border-radius: 100%;
  width: 130px;
  height: 130px;
  background-color: white;
  top: 45%;
}

.flash {
  position: absolute;
  left: 50%;
  margin-right: -50%;
  transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  background: #dc4e25 url("../../icons/flash.svg") no-repeat;
  background-size: 12px 18px;
  background-position: 12px 6px, center;
  border-radius: 4px;
  width: 34px;
  height: 34px;
}

.rielta-zone + .flash {
  top: -11px;
}

.cwl-zone + .flash {
  top: -11px;
}

.wired-zone + .flash {
  top: 14px;
}

.warning {
  background-color: #dc4e25;
}
.warning .zone-type, .warning .rielta-wired-zone, .warning .temperature, .warning .zone-number, .warning .zone-type-mini, .warning .rielta-wired-zone-mini, .warning .zone-number-mini {
  color: white;
}
.warning .rielta-wired-zone-fault-mini > div {
  color: white;
}
.warning .low-temperature {
  color: lightskyblue;
}
.warning .high-temperature {
  color: white;
}

.repeater, .offline {
  position: relative;
  float: right;
  right: 10px;
  top: 10px;
  background-color: #42a547;
  width: 2.4em;
  text-align: center;
  border-radius: 5px;
  color: white;
  font-family: "Open Sans";
  font-size: 15px;
  font-weight: bold;
}

.offline {
  background-color: #dc4e25;
}

.under-text {
  position: absolute;
  left: 50%;
  margin-right: -50%;
  transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  bottom: 0;
  list-style-type: none;
  -webkit-padding-start: 0;
  -moz-padding-start: 0;
}

.under-text.multiline {
  text-align: center;
}

.under-text.multiline li {
  float: none;
}

.under-alarm, .under-alarm-second-line {
  font-family: "Open Sans";
  font-size: 15px;
  line-height: 20px;
  color: #dc4e25;
  position: absolute;
  left: 50%;
  margin-right: -50%;
  transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  bottom: 22px;
}

.under-alarm-second-line {
  bottom: 6px;
}

.under-text li {
  font-family: "Open Sans";
  font-size: 15px;
  line-height: 20px;
  color: #dc4e25;
  float: left;
  padding-left: 3px;
  padding-right: 3px;
}

.under-alarm + .under-text, .under-alarm-second-line + .under-text {
  margin-bottom: 5px;
}

/* если under-alarm занимает две строки, для under-text не остаётся места */
.under-alarm-second-line + .under-text {
  display: none;
}

ul.rielta-wired-zone-fault {
  position: relative;
  top: 80%;
}

.rielta-wired-zone-fault.under-text li {
  display: inline;
}
.rielta-wired-zone-fault.under-text li:after {
  content: ",";
}
.rielta-wired-zone-fault.under-text li:last-child:after {
  content: "";
}

.under-text-cwl {
  position: absolute;
  left: 50%;
  margin-right: -50%;
  transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  bottom: -3px;
  list-style-type: none;
  -webkit-padding-start: 0;
  -moz-padding-start: 0;
  text-align: center;
}

.under-text-cwl li {
  font-family: "Open Sans";
  font-size: 15px;
  line-height: 20px;
  color: #dc4e25;
  display: inline-block;
  padding-left: 3px;
  padding-right: 3px;
  line-height: 18px;
}

.under-text-cwl li.undefined {
  color: #727272;
}

.bad {
  background-color: #dc4e25;
}

.average {
  background-color: #eabe2a;
}

.good {
  background-color: #42a547;
}

.sector-1 {
  background-image: linear-gradient(102deg, transparent 50%, white 50%), linear-gradient(90deg, white 50%, transparent 50%);
}

.sector-2 {
  background-image: linear-gradient(114deg, transparent 50%, white 50%), linear-gradient(90deg, white 50%, transparent 50%);
}

.sector-3 {
  background-image: linear-gradient(126deg, transparent 50%, white 50%), linear-gradient(90deg, white 50%, transparent 50%);
}

.sector-4 {
  background-image: linear-gradient(138deg, transparent 50%, white 50%), linear-gradient(90deg, white 50%, transparent 50%);
}

.sector-5 {
  background-image: linear-gradient(150deg, transparent 50%, white 50%), linear-gradient(90deg, white 50%, transparent 50%);
}

.sector-6 {
  background-image: linear-gradient(162deg, transparent 50%, white 50%), linear-gradient(90deg, white 50%, transparent 50%);
}

.sector-7 {
  background-image: linear-gradient(174deg, transparent 50%, white 50%), linear-gradient(90deg, white 50%, transparent 50%);
}

.sector-8 {
  background-image: linear-gradient(186deg, transparent 50%, white 50%), linear-gradient(90deg, white 50%, transparent 50%);
}

.sector-9 {
  background-image: linear-gradient(198deg, transparent 50%, white 50%), linear-gradient(90deg, white 50%, transparent 50%);
}

.sector-10 {
  background-image: linear-gradient(210deg, transparent 50%, white 50%), linear-gradient(90deg, white 50%, transparent 50%);
}

.sector-11 {
  background-image: linear-gradient(222deg, transparent 50%, white 50%), linear-gradient(90deg, white 50%, transparent 50%);
}

.sector-12 {
  background-image: linear-gradient(234deg, transparent 50%, white 50%), linear-gradient(90deg, white 50%, transparent 50%);
}

.sector-13 {
  background-image: linear-gradient(246deg, transparent 50%, white 50%), linear-gradient(90deg, white 50%, transparent 50%);
}

.sector-14 {
  background-image: linear-gradient(258deg, transparent 50%, white 50%), linear-gradient(90deg, white 50%, transparent 50%);
}

.sector-15 {
  background-image: linear-gradient(90deg, white 50%, transparent 50%);
}

.sector-16 {
  background-image: linear-gradient(-258deg, transparent 50%, #eabe2a 50%), linear-gradient(90deg, white 50%, transparent 50%);
}

.sector-17 {
  background-image: linear-gradient(-246deg, transparent 50%, #eabe2a 50%), linear-gradient(90deg, white 50%, transparent 50%);
}

.sector-18 {
  background-image: linear-gradient(-234deg, transparent 50%, #eabe2a 50%), linear-gradient(90deg, white 50%, transparent 50%);
}

.sector-19 {
  background-image: linear-gradient(-222deg, transparent 50%, #eabe2a 50%), linear-gradient(90deg, white 50%, transparent 50%);
}

.sector-20 {
  background-image: linear-gradient(-210deg, transparent 50%, #eabe2a 50%), linear-gradient(90deg, white 50%, transparent 50%);
}

.sector-21 {
  background-image: linear-gradient(-198deg, transparent 50%, #42a547 50%), linear-gradient(90deg, white 50%, transparent 50%);
}

.sector-22 {
  background-image: linear-gradient(-186deg, transparent 50%, #42a547 50%), linear-gradient(90deg, white 50%, transparent 50%);
}

.sector-23 {
  background-image: linear-gradient(-174deg, transparent 50%, #42a547 50%), linear-gradient(90deg, white 50%, transparent 50%);
}

.sector-24 {
  background-image: linear-gradient(-162deg, transparent 50%, #42a547 50%), linear-gradient(90deg, white 50%, transparent 50%);
}

.sector-25 {
  background-image: linear-gradient(-150deg, transparent 50%, #42a547 50%), linear-gradient(90deg, white 50%, transparent 50%);
}

.sector-26 {
  background-image: linear-gradient(-138deg, transparent 50%, #42a547 50%), linear-gradient(90deg, white 50%, transparent 50%);
}

.sector-27 {
  background-image: linear-gradient(-126deg, transparent 50%, #42a547 50%), linear-gradient(90deg, white 50%, transparent 50%);
}

.sector-28 {
  background-image: linear-gradient(-114deg, transparent 50%, #42a547 50%), linear-gradient(90deg, white 50%, transparent 50%);
}

.sector-29 {
  background-image: linear-gradient(-102deg, transparent 50%, #42a547 50%), linear-gradient(90deg, white 50%, transparent 50%);
}

.sector-30 {
  background-image: none;
}

.zone-number {
  font-family: "Open Sans";
  font-size: 60px;
  width: inherit;
  text-align: center;
  position: absolute;
  top: 44%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-wrap: auto;
}

.zone-number .dual {
  font-size: 40px;
}

.zone-number .multi {
  font-size: 28px;
}

.zone-type, .rielta-wired-zone, .temperature {
  text-align: center;
  font-family: "Open Sans";
  font-size: 15px;
  color: #727272;
  position: absolute;
  top: 79%;
  left: 50%;
  transform: translate(-50%, -50%);
  white-space: nowrap;
}

.temperature {
  color: black;
}

.rielta-wired-zone {
  line-height: 1;
  top: 0;
}
.rielta-wired-zone .serial-number {
  font-size: 13px;
  line-height: 1.6;
}

.no-link {
  background-color: #dc4e25;
  background-image: none;
}

.signal-quality-undefined {
  background-color: #bbbbbb;
  background-image: none;
}

.details {
  padding: 20px 15px;
}
.details .header {
  font-weight: bold;
}
.details .fault {
  color: #dc4e25;
}
.details .undefined {
  color: #727272;
}
.details .normal {
  color: #42a547;
}
.details .low-temperature {
  color: blue;
}
.details .high-temperature {
  color: #dc4e25;
}

/* в случае большого количества текста в метке всё остаётся слева */
.checkbox label.control-label {
  text-align: left;
}

.dashboard-status-line {
  display: block;
  padding-bottom: 10px;
}

.dashboard-status-line-item {
  display: inline-block;
  padding-right: 10px;
}

.dashboard-status-line-item-name {
  display: inline-block;
  padding: 0.25em 0.5em;
  font-size: 0.75em;
  font-weight: 700;
  line-height: 1;
  color: #fff;
  text-align: center;
  white-space: nowrap;
  vertical-align: baseline;
  border-radius: 0.25rem;
  text-transform: uppercase;
}

.state-unknown {
  background-color: #6c757d;
}

.state-success {
  background-color: #42a547;
}

.state-warning {
  background-color: #eabe2a;
}

.state-danger {
  background-color: #dc4e25;
}

.dashboard-status-line-item-state {
  display: inline-block;
  vertical-align: baseline;
}

/* текст, выводимый вместо содержимого таба панели состояния */
.tab-replacement-text {
  margin-top: 30px;
  text-align: center;
  font-weight: bold;
}

.zone-identification-mini {
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  flex-wrap: nowrap;
  flex-direction: row;
  gap: 3px;
}

.zone-type-mini, .rielta-wired-zone-mini {
  text-align: center;
  font-family: "Open Sans";
  font-size: 15px;
  color: #727272;
}

.rielta-wired-zone-fault-mini {
  column-gap: 3px;
  padding-bottom: 3px;
  max-width: 123px;
  position: relative;
  display: flex;
  flex-direction: row-reverse;
  justify-content: space-between;
  flex-wrap: wrap;
  padding-right: 35px;
}

.rielta-wired-zone-mini {
  padding-bottom: 3px;
  line-height: 1;
  top: 0;
  font-size: 10px;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: flex-start;
}
.rielta-wired-zone-mini .serial-number {
  line-height: 1.6;
}

.zone-number-mini {
  float: left;
  font-family: "Open Sans";
  font-size: 25px;
  padding-left: 7px;
  text-align: center;
}

.fault-item-mini {
  font-size: 10px;
}

.under-text-mini {
  bottom: 0;
  color: #dc4e25;
  list-style-type: none;
  -webkit-padding-start: 0;
  -moz-padding-start: 0;
}

.flash-mini {
  background: #dc4e25 url("../../icons/flash.svg") no-repeat;
  background-size: 12px 18px;
  background-position: 12px 8px, center;
  z-index: 999;
  width: 34px;
  border-radius: 3px;
  height: 34px;
}

.square-mini {
  display: flex;
  flex-direction: row-reverse;
  justify-content: space-between;
  align-items: flex-end;
  height: 36px;
  margin: 4px;
}

.wired-zone-mini {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  border-radius: 100%;
  width: 130px;
  height: 130px;
  width: 220px;
  height: 36px;
  border-radius: 3px;
  gap: 5px;
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-end;
  justify-content: space-between;
}