/*
 * Copyright 2017-2019 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.
 */

.container {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: 5px 0;
}

.table {
  font-size: larger;
  border-collapse: collapse;
}

.table td {
  padding: 2px 5px;
  border: 1px solid transparent;
  vertical-align: middle;
  text-align: center;
  min-width: 150px;
}

.table td > * {
  vertical-align: middle;
}

.table td.pending {
  background-color: transparent;
}

.table td.quota {
  min-width: 40px;
}

.table td.borderless {
  border: none;
}

.table td.date {
  text-align: left;
  min-width: unset;
}

.table td.value,
.table td.date {
  font-size: inherit;
}

.table td.bold {
  font-weight: bold;
}

.warning-container {
  display: flex;
  align-items: center;
}

.warning-container.positive {
  margin-bottom: 2px;
}

.warning-container.negative {
}

.warning-icon {
  margin-right: 5px;
}

.quota-overrun-icon {
  font-size: 24px;
  transform: rotate(270deg);
  font-weight: bold;
}

.table td.legend-row {
  text-align: left;
  min-width: unset;
}

.table td.legend-row > * {
  vertical-align: middle;
}

.table td.legend-row .legend {
  display: inline-block;
  width: 30px;
  height: 12px;
  margin-right: 5px;
}
