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

.title {
  font-size: 20px;
  font-weight: bold;
  margin-right: 10px;
  display: flex;
  align-items: center;
}

.table {
  width: 100%;
}

.version-table-row {
  cursor: pointer;
}

.white-listed-version-row:hover td,
.white-listed-version-row td {
}

.table > div > div {
  filter: none !important;
}

.tools-card {
  width: 100%;
  height: 100%;
}

.tools-header {
  width: 100%;
  margin-bottom: 5px;
  border-bottom: 1px solid transparent;
  display: flex;
  align-items: center;
}

.tool-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.tool-actions > * {
  margin-left: 5px;
}

.tool-actions .run-button {
  display: inline-flex;
  margin-left: 5px;
}

.tool-actions .run-button,
.tool-actions .run-button button {
  line-height: 1;
}

.tool-actions button.run-button {
  display: block;
}

.tools-header-buttons button {
  margin-left: 5px;
}

.hidden-item {
  display: none;
}

.code-editor {
  height: 100px;
  background-color: transparent;
  border: 1px solid transparent;
}

.endpoint-code-editor {
  height: 40px;
  width: 100%;
  background-color: transparent;
}

.endpoint-code-editor-container {
  margin-top: 5px;
  border: 1px solid transparent;
}

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

.description-column, .labels-column {

}

.tool-group-actions {
  text-align: right;
}

.tool-group-actions button {
  margin-left: 5px;
}

.tool-menu {
  border-bottom: none;
  line-height: 34px;
}

.container {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.tools-container {
  flex: 1;
  overflow-y: auto;
  display: block;
}

.private-tool-not-found-container,
.groups-not-found-container {
  flex: 1;
  border-radius: 10px;
  border: 1px dashed transparent;
  background-color: transparent;
  display: flex;
  flex-direction: column;
}

.group-row,
.tool-row {
  min-height: 30px;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 3px;
  margin: 3px 0;
  cursor: pointer;
}

.group-row-title,
.tool-row-title {
  padding: 10px;
  display: flex;
  flex-direction: column;
  width: 70%;
}

.tool-title {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.group-row:hover .group-title,
.tool-row:hover .tool-title {
  text-decoration: underline;
}

.group-row-actions,
.tool-row-actions {
  height: 100%;
  vertical-align: middle;
}

.group-row-details i,
.tool-row-details i {
  font-size: x-large;
  font-weight: bold;
}

.tool-row-labels {
  display: flex;
  flex-direction: row-reverse;
}

.tool-label {
  border-radius: 3px;
  margin-right: 5px;
  padding: 2px 5px;
}

.tool-settings-row {
  margin-bottom: 5px;
}

.tool-settings-title {
  text-align: right;
  padding-right: 5px;
}

.tool-settings-value {

}

.tool-version-actions > button,
.tool-version-actions > span,
.tool-version-actions > div {
  margin-left: 5px !important;
  margin-right: 0 !important;
}

.description-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  position: relative;
}

.description-table-header {
}

.description-table-header span.description-title {
  font-size: larger;
  font-weight: bold;
}

.description,
.no-description {
  min-height: 24px;
}

.description {
  padding-top: 3px;
}

.no-description {
  font-style: italic;
}

.description-table-body {
}

.description-actions button {
  margin-right: 5px;
}

.code {
  flex: 1;
  overflow-y: auto;
  margin: 5px 0;
}

.markdown {
  flex: 1;
  overflow-y: auto;
  margin: 5px 0;
}

.md-edit {
  flex: 1;
}

.md-edit textarea {
  font-size: 10pt;
}

.navigation-dropdown-container {
  width: 300px;
  border: 1px solid transparent;
  max-height: 80vh;
}

.select-root-access {
  margin-left: 5px;
}

.troubleshooting-panel {
  border: none !important;
}

.troubleshooting-panel > div > div {
  padding-top: 0 !important;
}

.troubleshooting-panel > div {
  padding: 2px !important;
  border: none !important;
}

.troubleshooting-panel > div > i {
  display: none !important;
}

.troubleshooting-panel-header {
}

.view-unscanned-version {
  text-align: center;
}

.hint {
  cursor: pointer;
}

.hint:hover {
}

.name-column {
}

.os-column {
  min-width: 100px;
  white-space: nowrap;
}

.scanning-status-column {
}

.actions-column {
  width: 30%;
}

.version-name-table {
  width: 100%;
}

.version-name {
  width: 100px;
  white-space: nowrap;
  padding-right: 5px;
  text-align: left;
}

.version-scanning-info {
  font-size: smaller;
}

.version-scanning-info-empty-cell {

}

.version-scanning-info-graph {
  width: 100px;
}

.version-scanning-info-graph > div {
  height: 7px;
}

.scanning-error {
}


.current-folder-actions {
  text-align: right;
}

.current-folder-actions > div,
.current-folder-actions > button,
.current-folder-actions nobr > button {
  margin: 1px 1px 1px 5px;
}

.tool-image-container {
  width: 89px;
  height: 89px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
  position: relative;
  overflow: hidden;
}

.upload-tool-image {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
  -webkit-transition: background-color 250ms;
  -moz-transition: background-color 250ms;
  -ms-transition: background-color 250ms;
  -o-transition: background-color 250ms;
  transition: background-color 250ms, opacity 250ms;
  cursor: pointer;
  opacity: 0;
}

.tool-image-container:hover .upload-tool-image {
  opacity: 1;
}

.no-image-container {
  width: 100%;
  height: 100%;
  transition: opacity 250ms;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
}

.tool-image-container:hover .no-image-container {
  opacity: 0;
}

.no-image {
  font-size: xx-large;
}

.tool-image,
.tool-image-read-only {
  width: 100%;
  -webkit-transition: filter 250ms;
  -moz-transition: filter 250ms;
  -ms-transition: filter 250ms;
  -o-transition: filter 250ms;
  transition: filter 250ms;
}

.tool-image-container:hover .tool-image {
  filter: blur(2px);
}

.version-alias-item {
  flex: auto;
  margin: 2px;
  padding: 2px;
  border: 1px solid transparent;
  border-radius: 3px;
}

.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;
}

.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;
}

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

.select-option-divider {
  cursor: default !important;
  padding: 0;
}

.select-option-divider::before {
  content: '';
  display: block;
  width: 100%;
  height: 1px;
  margin: 5px 0;
}

.version-filter-input {
  width: 100%;
  height: 30px;
  margin: 10px 0;
}

.run-table {
  overflow-y: auto;
}
