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

.layout {
  width: 100%;
  background-color: transparent;
  position: relative;
  padding: 5px;
}

.layout-header {
  padding: 0 10px 0 4px;
  width: 100%;
  z-index: 5;
}

.layout-content {
  padding: 5px;
}

.item-header i {
  margin-right: 5px;
}

.item-header {
  font-size: medium;
  vertical-align: middle;
}

.item-header-configuration-control {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  margin: 1px 5px 1px 0;
}

.section {
  border-radius: 0;
  margin-bottom: 5px;
}

.section.hidden {
  display: none;
}

.form-item-row {
  margin: 2px 0 !important;
  flex: 1;
}

.pipeline-name-form-item-row {
  margin: 0;
}

.form-item-action {
  text-align: center;
  padding-left: 10px;
}

.form-item-action button {
  height: 32px;
  vertical-align: middle;
}

.price {
  margin: 0 5px;
}

.hidden-item {
  display: none !important;
}

.code-editor {
  height: 100px;
}

.code-editor-label {
  margin-right: 15px;
  font-weight: bolder;
}

.parameters-menu {
  cursor: pointer;
}

.parameter-name-container {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
  cursor: text;
}

.parameter-name-container.disabled {
  cursor: default;
}

.parameter-name-container.collapsed:not(.disabled):hover {
  cursor: text;
}

.parameter-name-container .parameter-name-edit-icon {
  margin-left: 5px;
  font-size: larger;
  display: none;
}

.parameter-name-container.collapsed:not(.disabled):hover .parameter-name-edit-icon {
  display: inline-block;
}

.parameter-name {
  border: 1px dashed #777;
  font-size: 0.9rem;
}

.parameter-value {
  font-size: 0.9rem;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  position: relative;
}

.parameter-icon {
  position: absolute;
  left: -27px;
  font-size: larger;
  top: 10px;
}

.system-parameter-name {
  text-align: right;
  border: none;
  font-weight: bold;
}

.system-parameter-name:disabled {
  background-color: transparent;
}

.remove-parameter {
  vertical-align: middle;
  height: 36px;
}

.remove-parameter i {
  margin-top: 2px;
  vertical-align: middle;
  font-size: larger;
  cursor: pointer;
  align-self: flex-start;
}

.path-type,
.input-addon-button {
  padding: 5px;
  cursor: pointer;
}

.path-sub-type {
  margin-left: 5px;
  font-size: smaller;
  text-transform: uppercase;
}

.hint-container {
  width: 30px;
  text-align: center;
  padding-top: 7px;
}

.hint {
  cursor: pointer;
}

.actions {
  text-align: right;
  line-height: 32px;
  padding: 1px 0;
}

.actions button {
  vertical-align: middle;
}

.panel-header {
  white-space: nowrap;
  flex-wrap: nowrap;
}

.panel-description-container {
  padding-right: 10px;
  white-space: nowrap;
  flex-wrap: nowrap;
  overflow: hidden;
}

.panel-description {
  margin-left: 5px;
  white-space: nowrap;
}

.panel-description::after {
  content: ", ";
}

.panel-description:last-child::after {
  content: "";
}

.root-entity-type-container {

}

.settings-container {
  flex: 1;
  justify-content: space-around;
  display: flex;
  flex-direction: row;
}

.settings-container.left {
  justify-content: flex-start;
}

.settings-container.right {
  justify-content: flex-end;
}

.settings-content {
  width: 600px;
  display: flex;
  flex-direction: column;
}

.form-item-container {
  padding: 2px;
  border-radius: 5px;
  flex-wrap: nowrap;
}

.form-item {
  margin: 0 !important;
  flex: 1;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
}

.form-item-label-column {
  float: left;
  width: 150px;
}

.form-items-container > div .form-item-label-column {
  width: initial;
}

.form-items-container > div:first-child .form-item-label-column {
  width: 150px;
}

.form-item-wrapper-column {
  flex: 1;
}

.form-items-container .form-item-wrapper-column {
  max-width: 150px;
}

.form-items-container > div:only-child .form-item-wrapper-column {
  max-width: initial;
}

.summary-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.summary {
  min-height: 40px;
  padding: 5px;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  margin-left: 150px;
}

.summary-item {
  flex: 1;
  padding: 5px;
  font-size: larger;
  white-space: nowrap;
  margin: 2px;
  text-align: center;
}

.reservation-parameters {
  margin-left: 150px;
  margin-right: 32px;
}

.fire-cloud-sign-in-container {
  display: flex;
  flex-direction: column;
  margin: 20px 5px 5px;
  border: 1px dashed transparent;
  border-radius: 5px;
  padding: 20px;
}

.raw-edit-checkbox {
  margin-top: 10px;
  display: flex;
  justify-content: center;
}

ul.list {
  list-style: disc inside;
}

.parameters-navigation {
  display: flex;
  flex-direction: column;
  padding-top: 20px;
}

.parameters-navigation:global(.sticky) {
  position: fixed;
  top: 20px;
}

.parameter-section-header * {
  transition: all 1s linear;
}

.parameter-section-header.highlighted * {
  transition: all 0s linear;
}

.section-link {
  font-size: larger;
}
