﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

/*a.navbar-brand {
  white-space: normal;
  text-align: center;
  word-break: break-all;
}*/

/* Provide sufficient contrast against white background */
/*a {
  color: #0366d6;
}

.btn-primary {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}*/

/* Sticky footer styles
-------------------------------------------------- */
/*html {
  font-size: 14px;
}
@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.border-top {
  border-top: 1px solid #e5e5e5;
}
.border-bottom {
  border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
  box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
  font-size: 1rem;
  line-height: inherit;
}*/

/* Sticky footer styles
-------------------------------------------------- */
/*html {
  position: relative;
  min-height: 100%;
}

body {*/
  /* Margin bottom by footer height */
  /*margin-bottom: 60px;
}
.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  white-space: nowrap;
  line-height: 60px;*/ /* Vertically center the text there */
/*}*/

/* -------------------------------------------------- */

div.filter {
    background-color: #F2F2F2;
    padding: 5px 10px 10px 10px;
    margin-bottom: 10px;
}

div.filter > div {
    width: 100%;
    padding-right: 20px;
    display: block;
}

div.filter > div:last-child {
    padding-right: 0;
    /*vertical-align: bottom;*/
    /*background-color: lightblue;*/
}

div.filter select, div.filter input {
    width: 100%;
    outline: none;
    border-width: 2px;
    border-style: solid;
    /*border-width: 2px;*/
    /*border-style: solid;*/
    /*border-radius: 3px;*/
}

div.filter label {
    margin-bottom: 0;
}

div.filter select.margin {
    margin-bottom: 10px;
}

/*div.filter input[type=submit], div.filter input[type=button] {
    background-color: #F2F2F2 !important;
}*/

div.filter input[type=submit]:hover, div.filter input[type=button]:hover {
    background-color: lightgrey;
}

div.filter input[type=button] {
    margin-bottom: 10px;
    border-color: lightgrey;
}

.border-blue {
    border-color: #5FC3DB;
    /*border-style: solid;*/
}

.border-grey {
    border-color: lightgrey;
}

#items {
    margin-top: 5px;
}

#check, #load {
    display: none;
    position: absolute;
}

table.content {
    width: 100%;
    border: 1px solid black;
    border-collapse: collapse;
}

table.content td {
    text-align: center;
}

table.content input[type=text] {
    width: 100%;
    border: 0;
    outline: none;
    text-align: center;
}

table.content tr.head {
    background-color: #5FC3DB;
    line-height: 2rem;
}

table.content tr.main {
    background-color: lightgrey;
    color: #666666;
}

table.content tr.new {
    border-top: 1px solid black;
    line-height: 2rem;
}

table.content tr.new > td:last-child {
    font-weight: normal;
}

table.content tr.inner {
    color: #999999;
}

table.content tr.inner > td:nth-child(4), table.content tr.inner > td:nth-child(5) {
    background-color: #5FC3DB;
    color: white;
}

table.content tr.data > td {
    border-width: 1px 1px 0 1px;
    border-style: solid;
    border-color: lightgrey;
    cursor: pointer;
}

table.content tr.data > td:first-child {
    border-left-color: black;
}

table.content tr.data > td:last-child {
    border-right-color: black;
    color: red;
    font-weight: bold;
    cursor: default;
}

table.content tr.data > td.free {
    background-color: #00B050;
}

table.content tr.data > td.busy {
    background-color: #FFC000;
}

table.content tr.data input[type=text].unsaved {
    font-style: italic;
    color: #AAAAAA;
    /*color: lightgrey;*/
}

table.content tr.weekend > td {
    border-top-color: grey;
}

table.content tr.weekend > td:first-child {
    border-top-color: lightgrey;
}

table.content tr.current > td {
    border-left-width: 0;
    border-right-width: 0;
    background-color: #5FC3DB;
}

table.content tr.current > td:first-child {
    background-color: none;
    border-left-width: 1px;
}

table.content tr.current > td:last-child {
    border-right-width: 1px;
}

table.content tr.current input[type=text] {
    background-color: #5FC3DB;
}

table.content tr.current input[type=text].unsaved {
    color: white;
}

table.content tr.panel {
    display: none;
    height: 100px;
    border-top: 1px solid lightgrey;
}

table.content tr.panel > td {
    padding: 5px 10px 10px 10px;
    box-sizing: content-box;
    vertical-align: top;
}

table.content tr.panel table {
    font-size: 0.6rem;
    line-height: 0.6rem;
    border-collapse: collapse;
    border-bottom: 1px solid grey;
}

table.content tr.scale > td {
    height: 3px;
    border-color: grey;
    border-style: solid;
    border-width: 0 0 0 1px;
}

/*table.content tr.scale span {
    position: absolute;
}*/

table.content div.curve, table.content div.line, table.content div.today {
    position: relative;
    height: 0;
}

table.content div.curve > div {
    position: absolute;
    opacity: 0.25;
    display: flex;
    flex-direction: row;
}

table.content div.line > div {
    position: absolute;
    opacity: 0.5;
    display: flex;
    flex-direction: row;
}

table.content div.today > div {
    position: absolute;
    border-left: 1px solid red;
}

table.content div.curve div.teu {
    background-color: blue;
}

table.content div.curve div.tons {
    background-color: green;
}

table.content div.line div.teu {
    border-bottom: 1px solid blue;
}

table.content div.line div.tons {
    border-bottom: 1px solid green;
}

.cancel {
    color: lightgrey;
}

.over {
    background-color: antiquewhite;
}

.cross {
    color: red;
    font-weight: bold;
}

/*span.caption {
    font-size: 10px;
    color: white;
    background-color: dodgerblue;
    vertical-align: top;
    border: 1px solid dodgerblue;
    border-radius: 5px;
    padding: 2px 5px 3px;
    font-weight: bold;
}*/
