/*
 * Copyright 2017-2023 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.inactive {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}

.container.active {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.container .actions {
  margin-top: 10px;
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  height: 26px;
}

.actions .action {
  line-height: 1;
  min-width: 28px;
}

.actions .action:not(:last-child) {
  margin-right: 5px;
}

.container.inactive .canvas {
  display: none;
}

.text-annotation-modal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.info-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  margin: 2px 0;
}

.info-row .action-info {
  min-width: 28px;
  line-height: 1;
  pointer-events: none;
}
