﻿/* 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: #003258;
}

.pre{
    white-space: pre-line;
}

.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: fixed;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    height: 75px; /* Vertically center the text there */
    padding: 15px 0;
    line-height: 25px;
    background-color: #fff;
}

footer .svg-inline--fa {
    font-size: 1.5em;
}


footer a:not(.active) {
    opacity: 0.5;
}

.navbar-custom {
    background-color: #003258;
}
/* change the brand and text color */
.navbar-custom .navbar-brand,
.navbar-custom .navbar-text {
    color: rgba(255,255,255,.8);
}
/* change the link color */
.navbar-custom .navbar-nav .nav-link {
    color: rgba(255,255,255,.5);
}
/* change the color of active or hovered links */
.navbar-custom .nav-item.active .nav-link,
.navbar-custom .nav-item:hover .nav-link {
    color: #ffffff;
}

.navbar-brand{
    font-weight: bold;
}

.table th:first-child,
.table td:first-child {
    padding-left: 15px;
}

.table th:last-child,
.table td:last-child {
    padding-right: 15px;
}

.table th,
.table td {

}

.badge-fw {
    width: 200px;
    text-align: center;
    text-transform: lowercase;
    line-height: 1.6;
}

.order-received {
    color: #cccc27;
}
.order-producing {
    color: dodgerblue;
}
.order-coating {
    color: blueviolet;
}
.order-ready {
    color: cadetblue;
}
.order-shipped {
    color: #229620;
}
.order-completed {
    color: #ccc;
}
.order-cancelled {
    color: red;
}

.bg-order-received {
    background-color: #cccc27;
    color: #fff;
}
.bg-order-producing {
    background-color: dodgerblue;
    color: #fff;
}
.bg-order-coating {
    background-color: blueviolet;
    color: #fff;
}
.bg-order-ready {
    background-color: cadetblue;
    color: #fff;
}
.bg-order-shipped {
    background-color: #229620;
    color: #fff;
}
.bg-order-completed {
    background-color: #ccc;
    color: #fff;
}
.bg-order-cancelled {
    background-color: red;
    color: #fff;
}


.Planned {
    color: #cccc27;
}
.Ready {
    color: cadetblue;
}
.OnRoute {
    color: #229620;
}
.Completed {
    color: #ccc;
}

.status-toggle .dropdown-item {
    padding: .45rem 1rem; 
}
.status-toggle .dropdown-item:hover {
    background-color: rgba(0,0,0,.05);
}
.status-toggle .dropdown-item:not(:last-of-type) {
    border-bottom: 1px solid #dedede;
}

.new-order{
    font-size: 1.8em;
}

.custom-stack-size{
    font-size: 0.9em;
}

.required{
    color: red;
    font-weight: bold;
}

.btn-theme {
    background-color: #003258;
    color: #fff;
}

.advanced-customer{
    background-color: #f1f1f1;
    padding: 10px 15px 0px 15px;
}

.advanced-attachments {
    background-color: #f1f1f1;
    padding: 10px 15px 10px 15px;
}

tr.order:hover{
    cursor: pointer;
}

.filter-active{
    color: darkorange;
}

#orderdetails .table-responsive,
#order-table {
    max-height: calc(100vh - 195px);
    min-height: 400px;
}

#map {
    height: calc(100vh - 195px);
    width: 100%;
}

@media (max-width: 767px) {

    #order-table {
        max-height: calc(100vh - 178px);
    }

    #map {
        height: calc(100vh - 178px);
        width: 100%;
    }
}

.map-popup{
    padding: 15px 10px;
}

.map-popup .order-description {
    padding: 5px;
    background-color: #efefef;
    margin: 5px 0;
    max-width: 200px;
    white-space: normal;
}

.copy-item.copied {
    opacity: 0.8;
    color: #003258;
}