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

$query-spacing-unit: 5px;

.card {
    display: block;
    margin: 0 0px 0 0px;
    padding: 0;
    margin: ($query-spacing-unit);
    border-radius: 4px;
}


.spinner {
    margin-left: 15px;
    &::ng-deep circle {
        stroke: blue;
    }
}

.header {
    max-height: 42px;
    min-height: 42px;
    font-size: 0.80rem;
    font-weight: 500;
    border-bottom: 1px solid gray;
}

.contentarea {
    display: flex;
    flex-flow: column;
}

.options {
    display: flex;
    flex-flow: row;
}

.codemirror-container {
    width: 100%;
    min-height: 98%;
    padding: 0;
    margin: 0 auto;
    margin-top: 15px;
    line-height: 1.8;
    border: 1px dashed gainsboro;
}

#clear-history-btn {
    color: black;
}

.input-button {
    font-size: 12px !important;
}

.next-prev-btn {
  color: black;
  float: right;
}

.next-prev-btn[disabled] {
  color: rgba(0, 0, 0, 0.26);
}


.message {
    margin-top: 30px;
}

.metrics {
    color: green;
    font-size: 14px !important;
    font-size: 1.0rem;
    font-weight: 500;
    margin: 0;
    padding: 0;
}

.space {
    flex: 1 1 20%
}

.queryErrorMessage {
    color: rgba(209, 54, 54, 0.87);
    font-size: 14px !important;
    word-break: break-all;
    font-size: 1.0rem;
    font-weight: 500;
    margin: 0;
    padding: 0;
}

.queryWarningMessage {
  color: #ffae42;
  font-size: 14px !important;
  word-break: break-all;
  font-size: 1.0rem;
  font-weight: 500;
  margin: 0;
  padding: 0;
}

.obj-returned-cnt {
  font-size: 14px !important;
  word-break: break-all;
  font-size: 1.0rem;
  font-weight: 500;
  margin: 0;
}

.obj-returned-div {
  padding-top: 10px;
  padding-bottom: 10px;
}

.run {
    color: #00ab66;
}

.explain {
  color: blue;
}

.stop {
  color: #cf142b;
}

.dataverses {
    display: flex;
    flex-flow: row;
    width: 100%;
    margin-top: 15px;
    margin-right: 15px;
    font-size: 0.80rem !important;
    font-weight: 500 !important;
}

.mat-action-row {
    padding-right: 24px;
}

.d1 {
    margin-right: 15px;
}

.flex-spacer {
    flex: 1 1 20%;
}

.history {
    display: flex;
    flex-flow: row;
    align-items: center;
    width: 88px;
    margin-top: 15px;
    margin-left: 15px;
    font-size: 0.80rem !important;
    font-weight: 500 !important;
}

.sql-history {
    width: 500px !important;
}

.plan-output-format {
  width: 90px !important;
}

.content {
    border-style: dotted;
    border-width: 1px;
    border-color: black;
}

.warning-msgs {
    overflow: scroll;
    white-space: initial;
}

.error-line {
  background-color: red;
  color: red;
}
