/*
 * Copyright 2017-2021 EPAM Systems, Inc. (https://www.epam.com/)
 *
 * 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.
 */

.expand-btn {
  cursor: pointer;
  user-select: none;
  text-align: center;
  font-size: small;
  border: none;
  border-radius: 0;
  width: 100%;
  height: auto;
  padding: 2px 5px;
  margin: 0;
  line-height: 22px;
}

.expand-btn:hover {
  text-decoration: underline;
}

.document-filter-btn {
  margin-left: 5px;
  padding: 0 8px;
}

.document-filter {
  min-width: 100px;
  cursor: pointer;
  height: 22px;
  display: flex;
  align-items: center;
  padding-right: 25px;
  position: relative;
}

.document-filter .count {
  margin-left: 5px;
}

.document-filter .icon {
  font-size: large;
  margin-right: 5px;
}

.hint code {
  color: #c7254e;
  background-color: #f9f2f4;
}

.view-toggler {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
}

.view-toggler > div[class~="ant-btn-group"] {
  display: flex;
  flex-wrap: nowrap;
}

.infinite-scroll {
  overflow: auto;
}

.scroll-container {
  position: relative;
}

.more {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

.more.error {
  justify-content: flex-start;
  color: red;
}
