/*
 * 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.
 */

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

.image-container {
  margin: 0 5px;
  width: 35px;
  height: 35px;
  border-radius: 5px;
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.thumb-image,
.thumb-image-preview {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.thumb-image-preview {
  background-size: cover;
}

.thumb-image {
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.image-container.disabled {
  opacity: 0.75;
}

.image-container:not(.disabled):hover .thumb-image {
  opacity: 1;
}

.input-container {
  position: relative;
  margin-left: 5px;
}

.input {
  width: 250px;
}

.input.with-icon {
  padding-right: 20px;
}

.input-info {
  position: absolute;
  right: 5px;
  top: 0;
  bottom: 0;
  display: flex;
  align-items: center;
}

.button {
  margin: 0 5px;
  line-height: 1;
}

.button.small {
  padding: 0 10px;
}
