/**
 *
 * (c) Copyright Ascensio System SIA 2025
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *
 */

 .tableRow td:first-child{
    flex-grow: 1;
    max-width: 50%;
}

.downloadContentCells{
    margin-left: auto;
}
.tableRow td:last-child:after{
    top: 33px;
    left: 0;
    content: "";
    background: #e5e5e5;
    height: 2%;
    position: absolute;
    width: 100%;
}
.tableHeaderCellFileName{
    width: 30%;
}

@media (max-width: 1280px) and (min-width: 1080px) {
    .tableHeaderCellViewers {
        width: 24%;
    }
}

@media (min-width: 1280px) {
    .tableHeaderCellRemove{
        padding-right:24px ;
        text-align: center;
    }
    .tableHeaderCellDownload{
        width: 13%;
        padding-right: 11px;
    }
    .tableHeaderCellViewers{
        width: 24%;
        text-align: center;
    }
    .tableHeaderCellEditors{
        width: 20%;
    }
}

@media (max-width: 1080px) and (min-width: 986px){
    .tableHeaderCellRemove{
        padding-left: 7px;
    }
    .tableRow td:first-child {
        max-width: 45%;
    }
    .tableHeaderCellViewers {
        width: 23%;
    }
}
@media (max-width: 986px) and (min-width: 890px){
    .tableHeaderCellRemove{
        padding-left: 16px;
    }
    .tableHeaderCellDownload{
        width: 20%;
        padding-right: 0;
    }
    .tableHeaderCellViewers{
        width: 22%;
        padding-right: 0;
    }
    .tableRow td:first-child {
        max-width: 40%;
    }
    .contentCells-wopi {
        padding-right: 114px;
    }
}
@media (max-width: 890px) and (min-width: 769px){
    .tableRow td:first-child{
        max-width: 30%;
    }
    .contentCells-shift{
        padding-right: 26px;
    }
    .contentCells-wopi{
        width: unset;
    }
    .tableHeaderCellRemove {
        width: 5%;
    }
}
@media (max-width: 769px) {
    .tableRow td{
        top: 32px;
        border: none;
    }
    .tableRow td:last-child:after{
        top: 65px;
        width: 100%;
        height: 1%;
    }
    .tableRow td:first-child{
        max-width: 100%;
    }
}
@media (max-width: 593px){
    .tableRow td:first-child{
        width: 100%;
    }
    .tableRow td:last-child:after{
        width: 90%;
        top: 65px;
        height: 1%;
    }
}
@media (max-width: 769px) and (min-width: 320px){
    .contentCells-icon {
        width: 9%;
    }
}
@media (max-width: 508px) {
    .downloadContentCells {
         margin-left: unset;
    }
    .contentCells-wopi {
        width: 100%;
    }
    .contentCells-icon {
    width: 1%;
    }
    .contentCells-shift {
        padding-right: 30px;
        padding-left: 3px;
    }
    .tableRow td:last-child:after{
        top: 95px;
        height: 1%;
        width: 100%;
    }
}
