/* Copyright 2018 Beckman Coulter, Inc.
 *
 * Permission is hereby granted, free of charge, to any person
 * obtaining a copy of this software and associated documentation
 * files (the "Software"), to deal in the Software without
 * restriction, including without limitation the rights to use, copy,
 * modify, merge, publish, distribute, sublicense, and/or sell copies
 * of the Software, and to permit persons to whom the Software is
 * furnished to do so, subject to the following conditions:
 *
 * The above copyright notice and this permission notice shall be
 * included in all copies or substantial portions of the Software.
 *
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
 * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
 * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
 * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
 * SOFTWARE. */

body { }

.schema { font-family: sans-serif; font-size: 9pt; overflow: auto; }
.schema table td:first-child { width: 15em;  }
.schema td:nth-child(2) { font-family: monospace;  }
.schema h4 { margin-top: 1em; margin-bottom: .25em; font-weight: bold; }

[disabled] { color:graytext; }

form { display: inline; }

input.offset { width: 4em; margin: 0px; box-sizing: border-box; height: 2em; }

.row-context { color: gray; font-family: sans-serif; font-size: 9pt; margin-left: 1em; }

.enter-query {
    grid-row: 1;
}

.schema-container {
    grid-row: 2;
}

textarea.sql {
  height: 10em;
  width: 100%;
  box-sizing: border-box;
}

.dataCont {
    width: 100%;
    box-sizing: border-box;
    overflow: auto;
    background: #EEE;
    position: relative;
}

tr.fixed-table-header {
    display: contents;
}

tr.fixed-table-header th div {
    position: absolute;
    top: 0px;
    margin-top: 4pt;
}

tr.width-calculation {
    overflow: hidden;
    color: transparent;
    background: #EEE;
}

.width-calculation th {
    border-top: solid 2px transparent;
}

.dataTable {
    word-wrap: break-word;
    font-family: Helvetica, sans-serif;
    font-size: 9pt;
    box-sizing: border-box;
}

.dataTable th {
    text-align: left;
}

.dataTable td {
    height: 1em;
}

div.wide {
    max-width: 250px;
    max-height: 75vh;
    overflow-y: auto;
    white-space: break-spaces;
}

div.stacks {
    white-space: pre;
    font-family: monospace;
    max-width: 350px;
    max-height: 75vh;
    overflow-y: auto;
}
