/*
 * Licensed to the Apache Software Foundation (ASF) under one or more
 * contributor license agreements.  See the NOTICE file distributed with
 * this work for additional information regarding copyright ownership.
 * The ASF licenses this file to You 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.
 */

pre.code-block {
  position: relative;
  overflow: hidden;
  word-break: break-word;
  margin-top: 0;
  overflow: auto;
  max-height: 150px;
}

pre {
  background-color: #f8f8ff;
  border: 1px solid silver;
  padding: 10px;
  white-space: pre-wrap;
  word-wrap: break-word;
}

pre.code-block .json-key {
  color: brown;
}

pre.code-block .json-string {
  color: olive;
}

pre.code-block.shrink.fixed-height {
  height: 100%;
}

pre.code-block.shrink {
  height: 100%;
  white-space: pre-wrap;
  word-wrap: break-word;
}

pre.code-block .json-string {
  color: olive;
}

.text-loader {
  font-size: 1.5rem;
}

.detail-page-paper {
  margin-top: 1;
  margin-bottom: 1;
  margin-left: auto;
  margin-right: auto;
  padding: 2;
}

.detail-page-tabs {
  border-bottom: 1px solid #eee;
}

.detail-page-tabs * {
  transition: none !important;
}

.classification-table-container {
  max-height: 180px;
  border: 1px solid rgba(224, 224, 224, 1);
}

.classification-table-divider {
  color: rgba(224, 224, 224, 1);
  display: table-cell;
  height: 100%;
  width: 1px;
}

.classification-table-autocomplete {
  width: 300px;
}

.profile-tab-container > .MuiPaper-root {
  margin-top: 40px;
}

.entity-attribute-label {
  opacity: 0.7;
}

.entity-detail-tabs {
  border-color: "divider";
}

.detailpage-desc-toggle {
  line-height: 1;
}

.detail-page-desc {
  word-break: break-all;
}

.detailpage-desc {
  width: 196px;
}

.glossary-detail-items {
  margin-top: 20px;
}

.bm-details-attribute {
  align-self: flex-end;
}

.term-properties {
  text-align: left;
  font-weight: 600 !important;
  padding-bottom: 0.75rem;
}

.long-descriptions * {
  margin: 0;
  word-break: break-all;
}

.fullscreen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: white;
  z-index: 9999;
}

.typesystem-svg > svg {
  width: 100%;
}

.detail-page-divider:nth-child(even) {
  display: none;
}

.long-descriptions,
.long-descriptions * {
  display: contents;
}

.show-more-less-link {
  display: inline-block !important;
  cursor: pointer !important;
  margin-left: 6px !important;
}
