.channels-protocol__item,
.channels-protocol-about {
  margin: 0;
}

.channels-protocol__item:after,
.channels-protocol-about:after {
  display: table;
  clear: both;
  content: '';
}

.channels-protocol__item > *,
.channels-protocol-about > * {
  float: left;
}

.channels {
  padding-bottom: 26px;
}

.channels * {
  box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
}

.channels-heading {
  margin-bottom: 30px;
  padding-top: 10px;
  padding-left: 3.9577836%;
  color: #000;
  font-family: "Open Sans", Helvetica, sans-serif;
  font-size: 48px;
  font-weight: 400;
  line-height: 65px;
  min-height: 90px;
  background-color: #fff;
  box-shadow: 0 1px 5px rgba(0,0,0,0.1);
}

.channels-list {
  padding: 15px 3.9577836%;
}

.channels__channel {
  margin-bottom: 30px;
}

.channels-protocol__item {
  margin: 0 auto;
  margin-bottom: 10px;
  min-height: 44px;
  background-color: #f5efe8;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  border: 3px solid #f5efe8;
  border-radius: 3px;
}

.channels-protocol__item--active {
  background-color: #fff;
  border: 3px solid rgba(127,191,132,0.6);
}

.channels-protocol-about .channels-protocol-status-list {
  margin-bottom: 20px;
}

.channels-protocol-image {
  width: 17.1919771%;
  padding-top: 11px;
  margin-bottom: 14px;
}

.channels-protocol-image-wrap {
  width: 91px;
  position: relative;
}

.channels-protocol-number {
  position: absolute;
  top: -11px;
  right: -13px;
  padding-top: 3px;
  color: #fff;
  font-family: "Open Sans", Helvetica, sans-serif;
  font-size: 15px;
  font-weight: 700;
  line-height: 20px;
  text-align: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: #cecece;
}

.channels__channel--active .channels-protocol-number {
  background-color: #7ed321;
}

.channels__channel--error .channels-protocol-number {
  background-color: #d0021b;
}

.channels-protocol-title {
  padding-left: 1.7191977%;
  width: 16.9075145%;
  margin-top: 5px;
  color: #666;
  font-family: "Open Sans", Helvetica, sans-serif;
  font-size: 20px;
  font-weight: 400;
  line-height: 27px;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.channels-protocol__item--active .channels-protocol-title {
  color: #000;
}

.channels-protocol-status-list {
  width: 52.6011561%;
  margin-bottom: 12px;
}

.channels-protocol-status-list__item {
  margin-top: 10px;
  position: relative;
  padding-left: 24px;
  color: #666;
  font-family: "Open Sans", Helvetica, sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 16px;
}

.channels-protocol-status-list__item-title:not(:last-of-type) {
  margin-bottom: 4px;
}

.channels-protocol-status-list__item-subtitle {
  line-height: 21px;
}

.channels-protocol-status-list__item:before {
  content: "";
  position: absolute;
  top: 1px;
  left: 0;
  width: 16px;
  height: 16px;
  margin-right: 8px;
  background-color: #cecece;
  border-radius: 50%;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.channels-protocol-status-list__item--active .channels-protocol-status-list__item-title {
  color: #000;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.channels-protocol-status-list__item--active:before {
  background-color: #7ed321;
}

.channels-protocol-status-list__item--error:before {
  background-color: #d0021b;
}

.channels-protocol-status-list__item--no-indicator:before {
    display: none;
}

.channels-protocol-status-list__item--error {
  color: #d0021b;
}

.channels-protocol-messages {
  width: 21.2034384%;
  position: relative;
  margin-top: 8px;
  color: #666;
  padding-left: 24px;
  font-family: "Open Sans", Helvetica, sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 20px;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.channels-protocol-messages:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  background-image: url("../../images/sprite.png");
  background-position: -16px 0px;
  width: 16px;
  height: 20px;
}

.channels-protocol__item--active .channels-protocol-messages {
  color: #000;
}

.channels-protocol__item--active .channels-protocol-messages:before {
  background-image: url("../../images/sprite.png");
  background-position: 0px 0px;
  width: 16px;
  height: 20px;
}

.channels-protocol-button {
  margin-right: 1.7191977%;
  padding-top: 2px;
  margin-top: 6px;
  float: right;
  color: #fff;
  font-family: "Open Sans", Helvetica, sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 20px;
  width: 7.3065903%;
  min-width: 51px;
  height: 27px;
  background-color: #7fbf84;
  border-radius: 3px;
  text-align: center;
  -webkit-transition: all 0.1s ease;
  transition: all 0.1s ease;
}

.channels-protocol-button:hover {
  background-color: #93cf98;
  cursor: pointer;
}

.channels-protocol-button:active {
  background-color: #6fb274;
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.5);
}

.channels-protocol__item--active .channels-protocol-button {
  display: none;
}

/* WiFi network name and signal icon */
.channels-wifi-network {
  margin-top: 10px;
  padding-left: 24px;
  font-family: "Open Sans", Helvetica, sans-serif;
  font-size: 15px;
  color: #666;
  line-height: 21px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.channels-wifi-signal-icon {
  width: 18px;
  height: 18px;
  vertical-align: middle;
}

/* WiFi extended info (spoiler) */
.channels-wifi-extended {
  margin-top: 10px;
  padding-left: 24px;
  font-family: "Open Sans", Helvetica, sans-serif;
  font-size: 14px;
  color: #666;
}

.channels-wifi-spoiler-toggle {
  cursor: pointer;
  user-select: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #4a90d9;
}

.channels-wifi-spoiler-toggle:hover {
  color: #2d6cb5;
}

.channels-wifi-spoiler-arrow {
  font-size: 10px;
  transition: transform 0.2s ease;
  display: inline-block;
}

.channels-wifi-spoiler-arrow--expanded {
  transform: rotate(90deg);
}

.channels-wifi-spoiler-content {
  margin-top: 8px;
  padding-left: 16px;
  display: table;
}

.channels-wifi-info-row {
  display: table-row;
  line-height: 1.6;
}

.channels-wifi-info-label {
  display: table-cell;
  text-align: right;
  padding-right: 8px;
  color: #888;
  white-space: nowrap;
}

.channels-wifi-info-value {
  display: table-cell;
  text-align: left;
  color: #333;
}

@media screen and (max-width: 767px) {
  .channels-heading {
    line-height: 1.2;
    font-size: 36px;
    min-height: 65px;
  }

  .channels-list {
    padding: 0 10px;
  }

  .channels-protocol__item {
    padding: 0 12px 13px;
  }

  .channels-protocol__item > * {
    float: none;
  }

  .channels-protocol__item .channels-protocol-status-list__item:first-of-type {
    margin-top: 5px;
  }

  .channels-protocol-about > * {
    float: none;
    width: 100%;
  }

  .channels-protocol-about .channels-protocol-status-list {
    margin-bottom: 10px;
    padding-left: 15px;
  }

  .channels-protocol-image {
    margin-bottom: 11px;
  }

  .channels-protocol-title {
    width: 100%;
    padding-left: 0;
  }

  .channels-protocol-status-list {
    width: 100%;
    margin-bottom: 7px;
  }

  .channels-protocol-status-list__item {
    margin-top: 5px;
  }

  .channels-protocol-status-list__item-title {
    line-height: 20px;
  }

  .channels-protocol-status-list__item-title:not(:last-of-type) {
    margin-bottom: 2px;
  }

  .channels-protocol-status-list__item:before {
    top: 2px;
  }

  .channels-protocol-messages {
    width: 100%;
  }

  .channels-protocol-button {
    margin-top: 9px;
  }
}
