/* DEFAULT */

* {
    /* font-family: Arial; */
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 14px;
    color: #000;
    padding: 0;
    margin: 0;
}

/* DIVS */

#header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 50px;
}

#top_right {
    position: fixed;
    right: 0;
}

#main {
    position: fixed;
    top: 50px;
    bottom: 90px;
    left: 0;
    right: 0;
    overflow: auto;
}

#popup {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 40px;
    overflow-y: auto;
    background: linear-gradient(to left, rgb(232, 232, 234), rgb(208, 208, 216));
    text-align: center;
    z-index: 200;
}

/* #main {
    height: 700px;
    overflow-y: auto;
} */

#footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    /* height: 80px; */
    text-align: center;
}


.short {
    width: 100px;
}

img {
    padding: 0 10px 0 0;
    height: 50px;
}

#powered {
    padding: 10px 0 10px 0;
}

#title {
    font-size: large;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    color: #428bca;
    padding-left: 40%;

}


#data {
    width: 100%;
    border: solid 1px rgb(202, 237, 248);
}


th {
    font-weight: normal;
    font-style: oblique;
    font-size: 12px;
    white-space: nowrap;
    color: black;
    vertical-align: bottom;
    background-color: rgb(202, 237, 248);
    padding: 3px;
}

thead#select-filters {
    position: sticky;
    top: 0px;
    z-index: 100;
}

thead#input-filters {
    position: sticky;
    top: 20px;
    z-index: 100;
}

thead#headers {
    position: sticky;
    top: 40px;
    z-index: 100;
}

#data th {
    background-color: rgb(202, 237, 248);
    color: #00f;
}

thead {
    background-color: rgb(202, 237, 248);
    /* position: sticky; */
}

::placeholder {
    font-style: italic;
}

#reset {
    display: none;
    background-color: red;
    color: white;
}

#reset, #find {
    background-color: red;
    color: white;
}

#clear {
    display: none;
    /* margin: 5 5 0 auto; */
    background-color: yellow;
}

#reset>button:hover {
    background-color: rgb(98, 255, 7);
    color: black;
}

#record-count {
    position: fixed;
    bottom: 0;
    right: 0;
    height: auto;
    background-color: rgb(202, 237, 248);
    color: blue;
}

.bold {
    font-weight: bold;
}

.td-sortable {
    padding-right: 2px;
    padding-left: 2px;
}

.td-filter {
    text-align: center;
    background-color: #ccc;
    background-image: linear-gradient(rgb(177, 200, 219), rgb(184, 229, 240));
    /* width: 100%; */
}

button {
    box-shadow: 1px 1px gray;
    background-color: #fff;
    padding: 3px;
    white-space: nowrap;
    margin: 3px;
}

button.mat, button.pro {
    width: 500px;
    height: auto;
    text-align: left;
    text-overflow: ellipsis;

    overflow: hidden;
    white-space: nowrap;
    /* display: block; */
    text-overflow: ellipsis;
}

/***** classes *****/

.align-right {
    text-align: right;
}

.align-center {
    text-align: center;
}

.blue-on-grey {
    background-color: lightgrey;
    color: blue;
}

.flex {
    display: flex;
}

.hidden {
    display: none;
}

.white-on-black {
    background-color: black;
    color: white;
}

.error {
    color: #fff;
    background-color: #f00;
    font-weight: bold;
}

.scroll {
    overflow-y: scroll;
    overflow-x: hidden;
}

.c {
    display: table-cell;
    padding-right: 5px;
    background-color: transparent;
    vertical-align: top;
}

.em15 {
    font-size: 1.5em;
}

.em2 {
    font-size: 2em;
}

.button-double {
    min-width: 160px;
    min-height: 40px;
}

.underline {
    text-decoration: underline;
}

.underline:hover {
    color: red;
    cursor: pointer;
}

th {
    white-space: nowrap;
    font-weight: bold;
}

#data td:hover {
    background-color: rgb(243, 247, 186);
}

.warning {
    background-color: yellow;
}

.warning-orange {
    background-color: orange;
}

.no-wrap {
    white-space: nowrap;
}

#matrix td {
    padding: 3px;
}

button.matpro {
    width: auto;
    height: auto;
    margin: 0;
}

.matrix_header {
    background-color: rgb(207, 225, 240);
    font-size: large;
    font-style: normal;
    font-weight: normal;
}

/* grid */

.grid_container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.popup_grid {
    display: grid;
    grid-template-columns: auto auto;
}

.grid_container>div, .popup_grid {
    padding: 1px 0;
    font-size: 1em;
}

tr:nth-child(even) {
    background-color: #eee;
}

/* tr:nth-child(odd) {
    background-color: #ddd;
} */

/* pop-ups */

.pop-up {
    margin: 10px;
}

[data-title]:hover {
    cursor: help;
}

[data-title]:hover:after {
    opacity: .9;
    /* transition: all 0.1s ease 0.5s; */
    visibility: visible;
}

[data-title]:after {

    content: attr(data-title);
    background-color: yellow;
    color: #111;
    font-size: 150%;
    position: absolute;
    /* padding: 1px 5px 2px 5px; */
    bottom: -1.2em;
    /* left: 90%; */
    white-space: nowrap;
    /* box-shadow: 1px 1px 3px #222222; */
    opacity: 0;
    /* border: 1px solid #111111; */
    z-index: 99999;
    visibility: hidden;
}

[data-title] {
    position: relative;
}

.PPA-label {
    padding-right: 10px;
}

form:invalid button {
    opacity: 0.3;
    pointer-events: none;
}

input[name='criteria'] {
    width: 520px;
    display: none;
}

input[name='current'] {
    width: 50px;
    text-align: center;
}

a:hover {
    color: red;
}

button.matpro:hover {
    color: white;
    background-color: blue;
    ;
}

button#close_popup {
    font-size: 1.5em;
}

button#close_popup:hover {
    color: white;
    background-color: blue;
}

#logo, #logo img {
    height: 70px;
    margin: 0;
    /* width: 75px; */
    border: none;
}

#logo img {
    display: none;
}

.red-font {
    color: red;
}

#counter {
    position: fixed;
    right: 20px;
    bottom: 20px;
    /* font-weight: bold; */
    color: #00f;
    border: none;
    padding-left: 10px;
}

table#filters {
    width: 100%;
}

table#filters td {
    text-align: center;
}

select, input {
    width: 100%;
}

select.material, select.process {
    width: 200px;
}

input[placeholder='min'],
input[placeholder='max'] {
    width: 35px;
}

input[type='search'] {
    width: 200px;
    height: auto;
    /* padding: 5; */
}

td.operatorFilter {
    border: 1px dashed gray;
    border-right: 0px;
}

td.tensileFilter {
    border: 1px dashed gray;
    border-left: 0px;
}

.ui-helper-hidden-accessible {
    display: none;
}