﻿/* 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: white;
}

.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;
}

.app-main {
    height: calc(100vh - 92px);
    width: 100vw;
    border: 2px solid #002654;
}
/* Sticky footer styles
-------------------------------------------------- */
html {
    font-size: 14px;
    font-family: 'Segoe UI';
}

@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: 30px; /* Vertically center the text there */
}

.show-sidebar-btn {
    background-color: white;
    writing-mode: vertical-rl;
    text-orientation: sideways;
    transform: rotate(180deg);
    font-family: 'Segoe UI';
    font-size: x-large;
    font-weight: bold;
    vertical-align: middle;
    text-align: -webkit-center;
    height: 100%;
    width: 100%;
    overflow: hidden;
}

.show-sidebar-btn:hover {
    cursor: pointer;
    background-color: lightgray;
}

.workcenter-header {
    writing-mode: vertical-rl;
    text-orientation: sideways;
    transform: rotate(180deg);
    font-family: 'Segoe UI';
    font-size: x-large;
    font-weight: bold;
    vertical-align: middle;
    text-align: -webkit-center;
    width: 100%;
    position: sticky;
    left: auto;
    top: 3%;
    bottom: 3%;
    z-index: 2;
}

.workcenter-cell {
    background-color: silver;
    vertical-align: top;
    text-align: left;
    width: 3%;
    /* border: 4px solid silver; */
    /* border-right: 10px solid silver; */
    text-align: center;
    vertical-align: middle;
    align-content: center;
    position: sticky;
    left: 0px;
    z-index: 2;
}

.workcenter-row {
    border-bottom: 3px solid black;
    border-collapse: separate;
    padding-bottom: 2px;
}

.workstation-header {
    writing-mode: vertical-lr;
    text-orientation: sideways;
    font-weight: bold;
    width: 100%;
    font-family: 'Segoe UI';
    transform: rotate(180deg);
    white-space: nowrap;
    position: sticky;
    left: auto;
    top: 2%;
    z-index: 3;
}

.workstation-cell {
    background-color: lightgray;
    /* border-right: 1px solid silver; */
    font-size: large;
    font-weight: bold;
    height: 100%;
    width: 25px;
    max-width: 25px;
    overflow: hidden; 
    text-align: -webkit-center;
    vertical-align: middle;
    align-content: center;
    position: sticky;
    left: 38px;
    z-index: 3;
}

.container-day {
    min-width: 215px;
    position: relative;
    padding-left: 10px;
    min-height: 100px;
    max-height: 380px;
    overflow-y: auto;
    overflow-x: hidden;
    text-align: -webkit-center;
    border-right: 1px solid lightgrey;
}

.controls-panel {
    width: 20%; /*250px*/
    border-right: 1px solid silver;
    vertical-align: top;
}

.hidden-controls-panel {
    width: 3%; /*50px;*/
    border-right: 1px solid silver;
    vertical-align: middle;
    height: 10px;
    overflow: hidden;
}

.table-main {
    height: calc(100vh - 92px);
    width: 100%;
    /*    border: 1px solid black;
*/ padding-left: 5px;
    padding-right: 5px;
    table-layout: fixed;
    background-color: lightgray;
}

.workstation-table {
    border-collapse: initial;
}

.workstation-op {
    width: 175px;
    height: 55px;
    background-color: aqua;
    text-align: center;
    font-weight: bold;
    border-radius: 5px;
    vertical-align: bottom;
    box-shadow: 5px 5px 10px lightslategrey;
    margin: 5px 0px 10px -10px;
}

.start-day {
    /*    width: 180px;
    border-right: 10px solid black;
*/
    border-bottom-left-radius: 5px;
    border-top-left-radius: 5px;
    border-top-right-radius: 0px;
    border-bottom-right-radius: 0px;
    margin-right: -10px;
    width: 190px;
}

.middle-day {
    /*    width: 180px;
    border-right: 10px solid black;
    border-left: 10px solid black;
*/

    border-bottom-left-radius: 0px;
    border-top-left-radius: 0px;
    border-top-right-radius: 0px;
    border-bottom-right-radius: 0px;
    margin-right: -10px;
    margin-left: -10px;
    width: 200px;
}

.end-day {
    /*    width: 180px;
    border-left: 10px solid black;
*/

    border-bottom-left-radius: 0px;
    border-top-left-radius: 0px;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    margin-left: -10px;
    width: 188px;
}

.junction-day {
    width: 200px;
    margin-left: -10px;
    margin-right: -10px;
    background-color: transparent;
    font-weight: bold;
}

.end-day-half {
    height: 55px;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    box-shadow: 5px 5px 10px lightslategrey;
    text-align: center;
    vertical-align: central;
    font-size: larger;
}

.start-day-half {
    height: 55px;
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
    box-shadow: 5px 5px 10px lightslategrey;
    text-align: center;
    vertical-align: central;
    font-size: larger;
}

.blank-operation {
    width: 180px;
    height: 55px;
    background-color: transparent;
    margin-bottom: 10px;
}

th {
    text-align: center;
}

.date-header {
    width: 200px;
    border-bottom: 1px solid silver;
    border-top: 1px solid silver;
    background-color: lightgrey;
    position: sticky;
    top: 0;
    z-index: 1;
}

.calendar-view {
    width: 100%;
    height: 100%;
    /*    overflow: auto;
*/
}

.accordion-section {
    max-height: 55vh;
    overflow: auto;
    margin: 0 auto;
}

.accordion-header {
    background-color: #1275D6;
    color: white;
    font-size: large;
}

    .accordion-header:hover {
        background-color: #1275D6;
        color: white;
        font-family: 'Segoe UI';
        font-size: large;
        font-weight: bold;
    }

[data-tooltip]:before {
    /* needed - do not touch */
    content: attr(data-tooltip);
    position: absolute;
    opacity: 0;
    /* customizable */
    transition: all 0.15s ease;
    padding: 10px;
    color: #333;
    border-radius: 10px;
    box-shadow: 2px 2px 1px silver;
}

[data-tooltip]:hover:before {
    /* needed - do not touch */
    opacity: 1;
    /* customizable */
    background: yellow;
    margin-top: -50px;
    margin-left: 20px;
}

[data-tooltip]:not([data-tooltip-persistent]):before {
    pointer-events: none;
}

.checkbox-container {
    /*border:1px solid red;*/
}

.checklist-container {
    width: 500px;
    height: 200px;
    border: 1px solid red;
    overflow: auto;
    text-align: left;
    border: 2px solid #002654;
    padding: 5px;
}

.filter-grid-container {
    display: grid;
    grid-template-columns: auto auto;
    width: 600px
}

.filter-grid-item-left {
    text-align: left;
    padding-left: 5px;
}

.filter-grid-item-right {
    text-align: right;
    padding-right: 5px;
}

.navbar-site {
    background-color: #002654;
    color: white;
}

ul.navbar-nav li a, ul.nav li a:visited {
    color: white !important;
    margin-top: -15px;
    margin-left: 20px;
}

    ul.navbar-nav li a:hover, ul.nav li a:active {
        color: white !important;
        font-weight: bold;
        margin-top: -15px;
        margin-left: 20px;
    }

ul.navbar-nav li.active a {
    color: White !important;
    margin-top: -15px;
    margin-left: 20px;
}

.app-title {
    font-family: 'Segoe UI';
    font-size: x-large;
    margin-left: 50px;
}

a:link {
    color: white;
    background-color: transparent;
    text-decoration: none;
}

a:visited {
    color: white;
    background-color: transparent;
    text-decoration: none;
}

a:hover {
    color: white;
    background-color: transparent;
    text-decoration: underline;
}

a:active {
    color: white;
    font-weight: bold;
    background-color: transparent;
    text-decoration: underline;
}

.loader-main {
    width: 100%;
    text-align: center;
    color: black;
    border-radius: 10px;
    padding: 3px;
}

.center {
    margin: auto;
}

.loader-filter-container {
    width: 600px;
    text-align: left;
    margin-top: 20px;
    margin-bottom: 20px;
}

.btn-rounded {
    border-radius: 5px;
}

.accordion-search {
    font-size: small;
    position: -webkit-sticky; /* Safari */
    position: sticky;
    top: 0px;
    background-color: white;
    font-weight: bold;
    margin-top: 0px;
}

.card-body-mod {
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    /*
    padding-left: 10px;
    padding-right: 10px;
    */
    justify-content: center;
    display: grid;
    z-index: 0;
}

.card-header {
    padding: 0.75rem 0rem;
}

.plswait_overlay {
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,.5);
    color: white;
    line-height: 700px;
    position: absolute;
    top: 0;
    text-align: center;
    font-size: 20px;
    font-weight: bold;
    z-index: 1000000;
    /*display: none;*/
}

.error-overlay {
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,.5);
    color: white;
    line-height: 700px;
    position: absolute;
    top: 0;
    text-align: center;
    font-size: 20px;
    font-weight: bold;
    z-index: 1000000;
}
/*body {
    animation: fadeInAnimation ease 3s animation-iteration-count: 1;
    animation-fill-mode: forwards;
}

@keyframes fadeInAnimation {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}
*/
body {
    /*opacity: 0;
    transition: opacity 2s;*/
    font-family: 'Segoe UI';
}

.operation-move {
    margin: auto;
    background-color: white;
    border: 2px solid #002654;
    text-align: center;
}

.operation-move-header {
    width: 100%;
    background-color: #1275D6;
    color: white;
    padding: 3px;
}

.operation-move-body {
    padding: 10px;
    font-weight: bold;
}

.merge-header {
    width: 100%;
    font-size: larger;
    font-weight: bold;
    margin: 20px;
}

.merge-main {
    width: calc(100vw - 20px);
    height: calc(100vh - 90px);
    text-align: center;
}

.merge-grid {
    width: calc(100vw - 200px);
    border: 2px solid #002654;
    padding: 10px;
    margin: auto;
    overflow: auto;
    height: calc(100vh - 250px);
}

.login-container {
    width: 600px;
    text-align: left;
    border: 2px solid #002654;
    padding: 20px;
    margin-top: 20px;
    color: black;
    border-radius: 10px;
}

.meter-container {
    width: 100%;
    font-size: smaller;
    font-weight: bold;
    margin-left: -10px;
    border-radius: 5px;
    text-align: center;
    margin-bottom: 5px;
    border: 1px solid black;
}

.meter-bar {
    color: red;
}

.schedule-day-table {
    border: 3px solid #002654;
    background-color: white;
}

.section-title {
    font-size: large;
    font-weight: bold;
}

.workstation-filters {
    margin-left: 10%;
    display: grid;
}

.HiddenCheckBox {
    display: none !important;
}

.backlog-op {
    text-align: center;
    font-weight: bold;
    font-size: small;
    width: 150px;
    padding: 2px;
    margin: 2px 0px 8px -10px;
    border-radius: 10px;
    box-shadow: 2px 2px 6px lightslategrey;
}

.MinHeight {
    min-height: 100px;
}

.popover-body {
    position: center;
}

.mb-0 {
    text-align: center;
}

.ChkAndLabel {
    display: inline-flex;
    justify-content:flex-start;
    vertical-align: middle;
}

.optionChkBox {
    margin: 2px 2px 0px 0px;
}

.OptionCheckLabel {
    overflow-wrap: break-word;
    margin-bottom: auto;
}

.hide-filters-header {
    background-color: dimgray;
    color: white;
    font-size: medium;
}

.hide-filters-header:hover {
    background-color: darkgrey;
}

.card {
    z-index: 1;
}

.collapse {
    padding-top: 2px;
}

.TableOverlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 999;
}

.TableOverlayContent {
    max-width: 90%;
    max-height: 90%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 25%;
    min-height: 35%;
}

.DatePicker {
    width: 100%;
    text-align: center;
}