.container_for_grid{
    width:100%;
     height:79vh;
     overflow:hidden;
     border-bottom-left-radius: 8px;
     z-index: 20;
     background: #eaeaea;

}
/*развернутый контейнер*/
.container_for_grid.open{
    position: fixed;
    top:0;
    left:0;
    width:100vw;
    height:100vh;
    border-radius: 8px;

}
.nvr-device_box{
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 150px;
    background: #f6f6f6;
    border-bottom-left-radius: 8px;
    border-top: 1px solid #d6d6d6;
    transition: all 0.2s ease-out;

}
.nvr-device_box.closed{
    height: 0px;
    transition: all 0.2s ease-out;
    margin-left: 5px;
}
.nvr-device_box.closed .control{
    opacity: 0.1;
    transition: all 0.8s ease-out;
}
.nvr-device_box.closed .control:hover{
    opacity: 1;
    transition: all 0.8s ease-out;
}
.nvr-device_box .control{
    width: 165px;
    background: #f6f6f6;
    height: 40px;
    position: absolute;
    top: -42px;
    left: 50%;
    margin-left: -79px;
    border-top: 1px solid #a5a5a7;
    border-left: 1px solid #a5a5a7;
    border-right: 1px solid #a5a5a7;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    padding: 7px 6px;
}
.nvr-device_box .control .select_view{
    position: absolute;
    top: 0px;
    left: 150%;
    width: 220px;
    padding-left: 6px;
    padding-top: 5px;
    display: none;

}
.nvr-device_box .control .search_div{
    position: absolute;
    top: -25px;
    left: 0;
    width: 100%;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    display:none;

}
.player .fill{
    position:absolute;
/*      width:100%;
    height:100%;  */
    top:0%;
    left:0%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    cursor: grabbing;
    color:white;
    font-weight: bold;
    /* background-color: red; */
}
.nvr-device_box .control input{
    width:100%;
}

.load_grid.full{
    height:100%;
    transition: all 0.2s ease-out;
}
.load_grid{
    height:calc(100% - 150px);
    width:100%;
    transition: all 0.2s ease-out;
    border-left: 1px solid #a5a5a7;
    border-right: 1px solid #a5a5a7;
    border-top: 1px solid #a5a5a7;
}
.v100{
  height: 100%;
   padding: 0;
}
.v50{
  height: 50%;
   padding: 0;
}
.v66{
  height: 66%;
   padding: 0;
}
.v40{
  height: 40%;
   padding: 0;
}
.v33{
  height: 33%;
   padding: 0;
}
.v34{
  height: 34%;
   padding: 0;
}
.v25{
  height: 25%;
   padding: 0;
}
.ridborder{
  border-left: 1px solid #a5a5a7;
  border-bottom: 1px solid #a5a5a7;
  padding: 0;
}
.player{
  width: 100%;
  height: 100%;
}
.player.hover{
  box-shadow: 0px 0px 5px 1px #000;
}
.player  .close_btn{
    position:absolute;
    top:4%;
    right:2%;
    color: #FFF;
    font-size: 25px;
    cursor: pointer;
}
.player  .archive{
    position:absolute;
    top:6%;
    left:4%;
    color: #FFF;
    font-size: 25px;
    cursor: pointer;
}
.devices-box{
    width:100%;
    height:100%;
    padding: 5px 0px 0px 5px;
    /*overflow-x: hidden;*/
    overflow-y: hidden;
    white-space:nowrap;
    text-align: center;
}
.device{
    position: relative;
    width:250px;
    height: 180px;
    /*background: red;*/
    display: inline-block;
    cursor: grabbing;
    /* margin-right: 5px; */
}
.device .description{
    position: absolute;
    top:50%;
    left:50%;
    font-size: 10px;
    margin-top: -15px;
}
.device img{
    position: absolute;
    top:1px;
    left:1px;
    width: 99%;
    height:99%;
}
.device .device-name{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    text-shadow: 1px 0 0 #000, -1px 0 0 #000, 0 1px 0 #000, 0 -1px 0 #000;
    color: #FFF;
    white-space: initial;
    line-height: 1;
    font-size: 15px;
    font-weight: 700;
}
.player .device-loader{
    width: 100%;
    height: 100%;
}
.player .device-loader img{
    width: 100px;
    height: 100px;
    position:absolute;
    top:50%;
    left:50%;
    margin-left: -50px;
    margin-top: -50px;
}
