@font-face {
  font-family: Hero;
  src: url(Hero-Regular.otf);
}

body {
    background-image: url("./FilmLight_Logo.jpg");
    background-color: #000000;
    background-repeat:no-repeat;
    color:#ffffff;
    font-family:Hero,Verdana,Arial,Helvetica,sans-serif;
    overflow: hidden;
    position:absolute;
    top:0;
    left:0;
    bottom:0;
    right:0;
    margin:0px;
}

* {
    font-weight:400;
    -webkit-font-smoothing: antialiased;
}

/* iPad Pro */
/*
@media only screen 
  and (min-width: 1024px) 
  and (max-height: 1366px) 
  and (-webkit-min-device-pixel-ratio: 1.5) 
{
    * {
        font-size:24pt;
    }

    button, input[type=button], input[type=submit], input[type=reset], input[type=file] {
        font-size:1.0em;
    }
}*/

/* iPad, iPad Air */
@media only screen 
and (min-device-width: 768px) 
and (max-device-width:1024px) {    
    * {
        font-size:14pt;
    }

    button, input[type=button], input[type=submit], input[type=reset], input[type=file] {
        font-size:1.0em;
    }
}

/* iPhone 6,7,8 */
@media only screen 
and (min-device-width : 375px) 
and (max-device-width : 667px) {

    * {
        font-size:36pt;
    }

    button, input[type=button], input[type=submit], input[type=reset], input[type=file] {
        font-size:1.0em;
    }
}

/* iPhone 5,5S,SE */
@media only screen 
and (min-device-width : 320px) 
and (max-device-width : 568px) {
    * {
        font-size:36pt;
    }

    button, input[type=button], input[type=submit], input[type=reset], input[type=file] {
        font-size:1.0em;
    }
}


h1, h2, h3, h4 {
    margin-top: 0.5em;
    margin-bottom: 0.5em;
}

.card-container {
    justify-content:space-evenly;
}

.card {
    flex-grow:1.0;
    margin:0.5em;
    padding:0.5em;
    border-radius:0.8em;
    background-color:#3b3b3b;
    min-width:10em;
    text-align:center;
    display:flex;
    flex-direction:column;
    align-items:center;
}

.card td {
    white-space: normal;
}

.tableFixedHeader { }
.tableFixedHeader th { position: sticky; top: 0; background-color:#555;}
.tableFixedHeader th:first-child { border-top-left-radius:0.4em; }
.tableFixedHeader th:last-child { border-top-right-radius:0.4em; }
.tableFixedHeader tr:nth-child(even) { background: #333 }
.tableFixedHeader tr:nth-child(odd) { background: #444 }
.tableFixedHeader tr.selected-row { background:#3e64a2 }

a {
    color: #ffffff;
}

a:visited {
    color: ##68beff;
}

table {
    width:100%;
    border-collapse: collapse;
    color:#ffffff;
}

th::after {
    background: #aaaaaa none repeat scroll 0 0;
    content: "";
    display: block;
    height: 2px; /* matches #cart-table th border-bottom value */
    left: 0px;
    position: absolute;
}


th {
    padding:4px;
    text-align:left;
    white-space: nowrap;
    text-overflow: ellipsis;

}

td {
    padding:4px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

td:first-child.form {
    text-align:right;
}


button, input[type=button], input[type=submit], input[type=reset], input[type=file], select {
    display:inline;
    cursor: pointer;
    color:#ffffff;
    background-color: #666666;
    background-image: linear-gradient(#aaaaaa, #666666); 
    border-radius:1em;
    border-style:solid;
    border-width:1px;
    border-color:#666;
    padding:0.2em 0.8em;
    white-space: nowrap;
    font-size: 0.9em;
}

button:hover, input[type=button]:hover, input[type=submit]:hover, input[type=reset]:hover, input[type=file]:hover, select:hover {
    background-image: linear-gradient(#cccccc, #666666); 
}

button:active, input[type=button]:active, input[type=submit]:active, input[type=reset]:active, input[type=file]:active, select:active {
    background-image: linear-gradient(#999999, #555555); 
}

button:focus, input[type=button]:focus, input[type=submit]:focus, input[type=reset]:focus, input[type=file]:focus, select:focus {
    outline: none;
    border-color:rgba(0, 192, 255, 1.0);
}

button:disabled, input[type=button]:disabled, input[type=submit]:disabled, input[type=reset]:disabled, input[type=file]:disabled, select:disabled {
    background-image: linear-gradient(#888888, #444444);
    color:#aaaaaa;
}

button.default {
    background-image: linear-gradient(#08aeff, #0578b7);
}

button.default:hover {
    background-image: linear-gradient(#71d1ff, #0578b7);
}

button.default:active {
    background-image: linear-gradient(#00a0ec, #0578b7);
}

button.default:disabled {
    background-image: linear-gradient(#138ac3, #014b73);
}

button.narrow {
    padding:0.2em 0.4em;
    border-radius:0.5em;
    margin:-0.2em 0.0em;
}

button.stealth {
    padding:0.1em 0.1em;
    background:none;
    background-image:none;
    border-style:none;
    border-radius:0.5em;
    min-width:2.0em;
    margin:0.0em 0.0em;
}

button.stealth:hover {
    background:#888888;
}

button.stealth:active {
    background:#777777;
}

input[type=text], input[type=password] {
    display:inline;
    background-color:#cccccc;
    color:#000000;
    box-shadow: 0 0 0 1px #888888;
    margin: 0.1em 0.0em;
    padding: 0.2em 0.6em;
    border-radius:1em;
    border-width: 0.1em;
}

input[type=text]:focus, input[type=password]:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(0, 192, 255, 1.0);
}

.scroll::-webkit-scrollbar {
    background:rgba(0, 0, 0, 0.0);
}

.scroll::-webkit-scrollbar-track {
    background:#4a4a4a;
    border-radius:0.4em;
    border-style:solid;
    border-width:1px;
    border-color:#505050;
}

.scroll::-webkit-scrollbar-thumb {
    background:#666666;
    border-radius:0.4em;
}

.scroll::-webkit-resizer {
    background:rgba(0, 0, 0, 0);
}

.scroll::-webkit-scrollbar-corner {
    background:rgba(0, 0, 0, 0);
}

#content{
    background-color:#2b2b2b;
    margin-top:100px;
    padding:0.5em;
    border-radius:1em;
    border-width:2px;
    border-color:#C0C0C0;
    position:absolute;
    top:0;
    bottom:0;
    left:0;
    right:0;

    display:flex;
    flex-flow:column;
}

#nav {
    background-color:#dddddd;
    background-image: linear-gradient(#b7b7b7, #7d7d7d);
    margin: -0.5em -0.5em 0.5em -0.5em;
    border-radius:1em 1em 0.0em 0.0em;
    padding: 0.2em 0.2em 0.0em 0.2em;
}

.navbar {
    background-color:#dddddd;
    background-image: linear-gradient(#b7b7b7, #7d7d7d);
    border-radius:1em 1em 0.0em 0.0em;
    padding: 0.2em 0.2em 0.0em 0.2em;
}

.outset {
    margin: -0.5em -0.5em 0.5em -0.5em;
}

#errbox {
    text-align:center;
}

.login {
    display: flex;
    text-align:center;
    justify-content:center;
    flex-direction:row;
}

.login .loginform {
    display:flex;
    justify-content:center;
    flex-direction:column;
}


.tab-button {
    display:inline-block;
    cursor: pointer;
    color:#ffffff;
    font-size:1.0em;
    background-image: linear-gradient(#666666, #aaaaaa);    
    box-shadow: 0 0 0 1px #888888;
    /*border-radius:1em;*/
    padding:0.2em 0.5em;
    /*margin:0.0em 0.2em 0.2em 0.0em; */
    margin:0.0em 0.0em 0.2em 0.0em;
    user-select: none;
    white-space: nowrap;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
}

.tab-button:first-child {
    border-top-left-radius: 0.9em;
    /*border-bottom-left-radius: 1em;*/
}

.tab-button:last-child {
    /*border-top-right-radius: 0.9em;*/
    /*border-bottom-right-radius: 0.9em;*/
}

.tab-button a {
    text-decoration: none;
    color: #ffffff;
}

.tab-button a.router-link-active {
    text-decoration: none;
    color: #0062ff;
}

.tab-button.router-link-active {
    background-image: linear-gradient(#0578b7, #08aeff);
    box-shadow: 0 0 0 1px #08aeff;
}

.tab {
    display: none;
}

.indent {
    margin-left: 1em;
    margin-right: 1em;
}

.centered-h {
    margin: 0 auto;
}

.centered-v {
    margin: auto 0;
}

.columnview {
    display:flex;
    flex-flow:row;
    overflow-x:hidden;
    user-select:none;
    width:fit-content;
    height:100%;
}

.columnview-column {
    margin-left: 5px;
    margin-right: 5px;
    overflow-y:auto;
    overflow-x:hidden;
    min-width:200px;
}

.columnview-list-header {
    font-weight:bold;
    font-size:1.0em;
}

.columnview-list-body {
    overflow-y: scroll;
    max-height: 400px;
}


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

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

.autoscroll {
    overflow:auto;
    height: 0px;
}

.autoscroll-x {
    overflow-x: auto;
    height: 0px;
}

.autoscroll-y {
    overflow-x: auto;
}

.flex {
    display:flex;
    flex-flow: row wrap;
    align-items: stretch;
    padding:0.2em;
    gap:0.0em 0.3em;
}

.flexstrip {
    display:flex;
    flex-flow: row wrap;
    align-items: center;
    padding:0.2em;
    gap:0.0em 0.5em;
}

.vflexcontainer {
    display:flex;
    flex-direction:column;
    min-height:0;
    min-width:0;
}

.hflexcontainer {
    display:flex;
    flex-direction:row;
    align-items: stretch;
    padding:0.2em;
    gap:0.0em 0.3em;
    min-height:0;
    min-width:0;
}

.flexbox {
    flex-grow:1.0;
    min-height:0;
    min-width:0:
}

.flexhalf {
    flex: 1 0 50%;
}

.flexqtr {
    flex: 1 0 25%;
}
.flexthird {
    flex: 1 0 33%;
}
.noflex {
    flex-grow:0.0;
}

/* Panel */
.panel {
    display: grid;
    justify-self: center;
    align-content: start;
    grid-template-columns: min-content auto;
}

.panel > header {
    grid-column: 1 / span 2;
    justify-self: center;
    margin: 1em;
    font-size: 1.2em;
}

.panel > message {
    grid-column: 1 / span 2;
}

.panel > footer {
    grid-column: 1 / span 2;
    justify-self: center;
    margin: 1em;
}

.panel > panel-label {
    grid-column-start: 1;
    justify-self: end;
    align-self: center;
    margin: 0.25em 1em;
    text-wrap: nowrap;
}
.panel > panel-item {
    grid-column-start: 2;
    margin: 0.25em 0;
    align-self: center;
}

@media (orientation:portrait) and 
    (min-device-width:200px) and
    (max-device-width:600px) 
{
    .panel > panel-label {
        justify-self:start;
        margin: 0 1em;
    }
    .panel > panel-item {
        grid-column-start: 1;
        margin: 0.25em 0;
    }
}


/* Dialog box */
.dialog-veil {
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    z-index: 9998;
    display: flex;
    background-color:rgba(0, 0, 0, 0.5);
}

.dialog {
    min-width:250px;
    max-width:50%;
    z-index: 9999;

    background-color:#2b2b2b;
    margin-top:20%;
    margin-bottom:auto;
    margin-left:auto;
    margin-right:auto;
    padding:1em 2em;

    border-radius:1em;
    border-width:2px;
    border-style:solid;
    border-color:#333333;
    box-shadow:0px 0px 9px 0px #505050;
}

.dialog-title {
    font-size:1.2em;
    margin-bottom:0.3em;
    text-align:center;
}

.dialog-buttons {
    display:flex;
    flex-direction:row;
    justify-content:space-evenly;
}

.dialog-buttons button {
    min-width:6em;
    margin: 0.0em 0.5em;
}

.oktext {
    color:#00ff00;
}

.errtext {
    color:#0000ff;
}

.okmsg {
    display:block;
    color:#00ff00;
    margin-top:0.5em;
    margin-bottom:0.5mm;
}

.errmsg {
    display:block;
    color:#ff0000;
    margin-top:0.5em;
    margin-bottom:0.5mm;
}


/* Dropdown menu */
.dropdown {
    position:relative;
    display:inline-block;
}

.dropdown-veil {
    display:none;
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    z-index: 9998;
    background-color:rgba(0, 0, 0, 0.1);
}

.dropdown-content {
    position:fixed;
    top:0;
    left:0;
    display:none;
    background:#666666;
    flex-direction:column;
    border-radius:0.8em;
    border-width:1px;
    border-color:#888888;
    min-width:160px;
    z-index:9999;
}

.dropdown-check {
    display:inline-block;
    width:1.5em;
}

.dropdown-item {
    background:#666666; 
    border-radius:0.8em;
    text-align:left;
    padding-left:1em;
}

.dropdown-item:hover {
    background-image:linear-gradient(#888888,#777777); 
}

.dropdown-item:disabled {
    background:#666666; 
}

/* Progress bar */
progress[value] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;

    border-radius:0.4em;
    width: 10em;
    height: 0.8em;
    background-color:#444444;
    box-shadow: 0 2px 2px rgba(0, 0, 0, 0.25) inset;
    box-shadow: 0px 0px 1px 1px #0000007a;
    border:none;
}

progress[value]::-webkit-progress-bar  {
    background-color:#444444;
    border-radius:0.4em;
    box-shadow: 0 2px 2px rgba(0, 0, 0, 0.25) inset;
}

progress[value]::-webkit-progress-value {
    background-image:linear-gradient(#05ade0,#002e66);
    border-radius:0.4em;
}

progress[value]::-moz-progress-bar  {
    background-image:linear-gradient(#05ade0,#002e66);
    border-radius:0.4em;
}

progress[value].failed::-webkit-progress-value {
    background-image:linear-gradient(#ec0000,#600000);
    border-radius:0.4em;
}

progress[value].failed::-moz-progress-bar {
    background-image:linear-gradient(#ec0000,#600000);
    border-radius:0.4em;
}

progress[value].done::-webkit-progress-value {
    background-image:linear-gradient(#00ec00,#006000);
    border-radius:0.4em;
}

progress[value].done::-moz-progress-bar {
    background-image:linear-gradient(#00ec00,#006000);
    border-radius:0.4em;
}

progress[value].warning::-webkit-progress-value {
    background-image:linear-gradient(#ffa000,#9a6000);
    border-radius:0.4em;
}

progress[value].warning::-moz-progress-bar {
    background-image:linear-gradient(#ffa000,#9a6000);
    border-radius:0.4em;
}

/* Diagnostics */
.diagresult {
    background-image:linear-gradient(#aaaaaa, #555555);
    border-radius:0.8em;
    border-style:solid;
    border-width:1px;
    border-color:#aaaaaa;
    padding:0.1em 0.6em;
    max-width:8em;
    text-align:center;
}

.diagpass {
    background-image:linear-gradient(#00cc00, #006600);
    border-color:#00aa00;
}

.diagfail {
    background-image:linear-gradient(#cc0000, #660000);
    border-color:#660000;
}

.diagwarn {
    background-image:linear-gradient(#ffa000, #9a6000);
    border-color:#9a6000;
}

.splitter {
    width: 100%;
    margin: 2px;
    height: 2px;
    background: #666;
    border: 1rem #ccc;
}

/* splitpanes */
.splitpanes--vertical > .splitpanes__splitter {
  min-width: 6px;
  background: linear-gradient(90deg, #ccc, #111);
}

.splitpanes--horizontal > .splitpanes__splitter {
  min-height: 6px;
  background: linear-gradient(0deg, #ccc, #111);
  margin: 0.2em 0.0em;
}
