body {
  font: 14px "Roboto", Helvetica, Arial, sans-serif;
  margin: 0;
}

input:focus,
input:active,
textarea:focus,
textarea:active {
  outline: none;
}

a {
  color: #00B7FF;
}

.controlBox {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  border: 1px solid gray;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  ;
  padding: 16px;
}

.controlBoxHeadItem {
  text-align: center;
  background: #ccc;
  text-transform: uppercase;
  font-weight: 600;
}

.controlBoxHeadItem:first-child {
  border-top-left-radius: 8px;

}

.controlBoxHeadItem:last-child {
  border-top-right-radius: 8px;

}

.valueBox {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  border: 1px solid gray;

  padding: 16px;
  border-top: none;
}


.footerBox {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  border: 1px solid gray;

  padding: 16px;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
  border-top: none;

}
.fullScreenBox{
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: #00000088;
  display: flex;
  align-items: center;
  justify-content: center;
} 
    .fullScreenWr{
      background-color: #fff;
      border-radius: 16px;
      padding: 32px;
      width: min(100%, 800px);
    }
    .devicesBox{
      max-height: 80vh;
      overflow-y: auto;
    }
    .controlBoxValueItem{
      padding: 0 4px;
    }
    .mediaItem{
      display: grid;
      grid-template-columns: 300px 1fr;
    }
    .mediaItemTitle{
      padding-left: 16px;
      box-sizing: border-box;
    }
    .mediaItemImage img, .mediaItemImage video{
      width: 100%;
      height: auto;
    }
    .deviceFioItem{
      font-size: 10px;
      line-height: 12px;
      padding: 2px 4px;
      border-radius: 4px;
      cursor: pointer;
    }
    .deviceFioItem:hover{
      background: #eee;

    }
    .deviceFioItem.active{
      color: #fff;
      background: var(--bs-success);
    }
    .deviceFioBox{
      max-height: 200px;
      overflow-x: scroll;
    }
    .styleItem{
      padding: 16px;
      border-radius: 16px;
      border:1px solid #ccc;
    }
    .styleRow{
      display: grid;
      grid-template-columns: 150px 1fr;
      grid-gap: 16px;
    }
    .styleBgValue{
      width: 300px;
      height: 80px;
      cursor: pointer;
      background-color: #ccc;
      border-radius: 8px;
      background-size: contain;
      background-repeat: no-repeat;
      background-position: center;
    }
    .controlBoxValueItem .btn{
      width: 100%;
    }
    .nav-link{
      cursor: pointer;
    }
    .deviceStatus{
      position: relative;
      padding-left: 24px;
      font-size: 14px;
    }
    .deviceStatus::before{
      content: "";
      position: absolute;
      left: 0;
      width: 16px;
      height: 16px;
      border-radius: 50%;
      background-color: #6c757d;
    }
    .deviceStatus.active::before{
      
      background-color: #ffc107;
    }
    .voteRes{
      font-size: 12px;;
      font-weight: 600;
    }
    .person {
        background: #eee;
        padding: 17px;
    }
    .deviceFioItemText{
        font-size:12px;
    }

    .hidden{
        display: none !important;
    }
    .devicesWindow.active .showActive{
        display: none !important;;
    }
.devicesWindow.active .showAll{
    display: block !important;;
}
.devicesWindow.active .devicesItem:not([nowActive]){
    display: none;
}
 .deviceId[nowActive]{
    background-color: green;
    color: #fff;
}
    