﻿/* 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. */

/* change from blue to darkyellow links and buttons */
a, .ui-widget-content a {
    color: #999900; /* dark yellow */
}

    a:hover {
        color: #4d4d00; /* darkest yellow */
        cursor: pointer;
    }

    a.navbar-brand {
        white-space: normal;
        text-align: center;
        word-break: break-all;
    }

    a.disabled {
        pointer-events: none;
        cursor: default;
    }

.page-item.active .page-link {
    background-color: #999900;
    border-color: #999900;
}

.page-link {
    color: #999900;
}

    .page-link:hover {
        color: #4d4d00;
    }

.paginate_button.active {
    background-color: #999900;
}

#tabs .ui-tabs-nav .ui-state-active {
    border-color: #999900;
    background: #999900;
}

.navbar-brand span {
    font-size: 1.6rem;
    line-height: 1.2;
    font-weight: 200;
    display: inline-block;
    vertical-align: middle;
    padding: 0 0 0 10px;
}

.navbar-brand b {
    display: block;
    font-size: 50%;
    line-height: 1;
}

.navbar-brand i {
    font-size: 35px;
    vertical-align: middle;
    margin-left: 15px;
}

.nav-item > a > img {
    margin-left: 15px;
}

ul.navbar-nav a.navbar-brand.active {
    color: #999900;
    font-weight: 900;
}

ul.navbar-nav a.navbar-brand:hover {
    color: #fbfb00; /* bright yellow */
}

/* Submenu */
li.nav-item .dropdown-item {
    color: white;
    font-size: 1.4rem;
    line-height: 1.2;
    font-weight: 200;
}

    li.nav-item .dropdown-item:hover, .dropdown-item:focus {
        color: #fbfb00;
        background-color: #343A40;
    }

    li.nav-item .dropdown-item.active, .dropdown-item:active {
        color: #999900;
        background-color: #343A40;
    }

/*li.nav-item .dropdown-item.disabled, .dropdown-item:disabled {
  color: #6c757d;   mittelgrau
  }*/

.login-icon {
    color: white;
}

    .login-icon:hover {
        color: #fbfb00;
    }

.bg-darkyellow {
    color: #FFFFFF;
    background-color: #999900;
}

.btn-darkyellow {
    background-color: #999900;
}

.btn-link-darkyellow {
    color: #999900;
}

.btn-lcmhome {
    background-image: url('../img/lcmhome.png');
    background-repeat: no-repeat;
    background-size: contain;
}

.card-tile {
    color: #FFFFFF;
    background-color: #999900;
    background-repeat: no-repeat;
    background-position: center top;
    background-origin: content-box;
    height: 190px;
}

    .card-tile:hover {
        background-color: #AFAF00;
    }

    .card-tile a:link, .card-tile a:visited {
        color: #fff;
    }

    .card-tile a:hover {
        text-decoration: none;
    }

.card-img-top {
    height: 100%;
}


.tile-home {
    background-image: url('../img/lcmhome.png');
    padding-top: 30px;
}

.tile-status {
    background-image: url('../img/status.png');
    padding-top: 30px;
}

.tile-planning {
    background-image: url('../img/planning.png');
    padding-top: 10px;
}

.tile-alarms {
    background-image: url('../img/alarms.png');
    padding-top: 10px;
}

.tile-workflows {
    background-image: url('../img/workflows.png');
    padding-top: 10px;
}

.tile-settings {
    background-image: url('../img/settings.png');
    padding-top: 15px;
}

/* 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;
    /* Set the fixed height of the footer here */
    height: 60px;
    line-height: 60px; /* Vertically center the text there */
}

td > input, td > select, .date > input {
    padding: .375rem .75rem;
    border-style: solid;
    border-radius: 4px;
    border-color: #e9e9e9;
    border-width: thin;
    width: 100%;
    height: calc(1.5em + .75rem + 2px);
}

    td > input[type=checkbox] {
        width: auto;
    }

/* leave cell height on selection columns */
td.dt-checkboxes-cell > input {
    height: auto;
}

.OuterPicture {
    height: 180px;
    width: 180px;
    overflow: hidden;
    border: 1px dashed #dee2e6;
    margin: 2px;
    padding: 3px;
}

.InnerPicture {
    height: 100%;
    width: 100%;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: contain;
    transition: all 0.5s ease;
}

    .InnerPicture:hover {
        -webkit-transform: scale(1.2);
        -moz-transform: scale(1.2);
        -ms-transform: scale(1.2);
        -o-transform: scale(1.2);
        transform: scale(1.2);
        border: none;
    }

.TablePicture {
    background-repeat: no-repeat;
    background-position: center center;
    background-size: contain;
}

/* for Cards */
.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.card-header-dark {
    background-color: #343a40;
    color: white; /* #999900 */
    font-size: 1.6rem;
    font-weight: 200;
    cursor: pointer;
}

    .card-header-dark:hover {
        background-color: #1d2124;
        color: #fbfb00;
    }

.bootstrap-select .filter-option {
    white-space: normal;
}

/* Busy Indicator */
/* Absolute Center Spinner */
.loading {
    position: fixed;
    display: none;
    z-index: 1031;
    height: 2em;
    width: 2em;
    overflow: show;
    margin: auto;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}

    /* Transparent Overlay */
    .loading:before {
        content: '';
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0,0,0,0.3);
    }

    /* :not(:required) hides these rules from IE9 and below */
    .loading:not(:required) {
        font: 0/0 a;
        color: transparent;
        text-shadow: none;
        background-color: transparent;
        border: 0;
    }

        .loading:not(:required):after {
            content: '';
            display: block;
            font-size: 10px;
            width: 1em;
            height: 1em;
            margin-top: -0.5em;
            -webkit-animation: spinner 1500ms infinite linear;
            -moz-animation: spinner 1500ms infinite linear;
            -ms-animation: spinner 1500ms infinite linear;
            -o-animation: spinner 1500ms infinite linear;
            animation: spinner 1500ms infinite linear;
            border-radius: 0.5em;
            -webkit-box-shadow: rgba(0, 0, 0, 0.75) 1.5em 0 0 0, rgba(0, 0, 0, 0.75) 1.1em 1.1em 0 0, rgba(0, 0, 0, 0.75) 0 1.5em 0 0, rgba(0, 0, 0, 0.75) -1.1em 1.1em 0 0, rgba(0, 0, 0, 0.5) -1.5em 0 0 0, rgba(0, 0, 0, 0.5) -1.1em -1.1em 0 0, rgba(0, 0, 0, 0.75) 0 -1.5em 0 0, rgba(0, 0, 0, 0.75) 1.1em -1.1em 0 0;
            box-shadow: rgba(0, 0, 0, 0.75) 1.5em 0 0 0, rgba(0, 0, 0, 0.75) 1.1em 1.1em 0 0, rgba(0, 0, 0, 0.75) 0 1.5em 0 0, rgba(0, 0, 0, 0.75) -1.1em 1.1em 0 0, rgba(0, 0, 0, 0.75) -1.5em 0 0 0, rgba(0, 0, 0, 0.75) -1.1em -1.1em 0 0, rgba(0, 0, 0, 0.75) 0 -1.5em 0 0, rgba(0, 0, 0, 0.75) 1.1em -1.1em 0 0;
        }

/* Animation */
@-webkit-keyframes spinner {
    0% {
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@-moz-keyframes spinner {
    0% {
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@-o-keyframes spinner {
    0% {
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@keyframes spinner {
    0% {
        -webkit-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}
/* Busy Indicator - end */

/* move tick in selectpicker from right to left */
.bootstrap-select.show-tick .dropdown-menu .selected span.check-mark {
    right: unset;
    left: 5px;
}

.no-wrap {
    white-space: nowrap;
}

.table td.TablePicture {
    padding: 0;
    text-align: center;
    vertical-align: middle;
}

.lcr-assembly-eop {
    border-style: dashed !important;
    border-color: red !important;
    border-width: 1px !important;
}

#ResetFilterByAssembly {
    color: black;
    display: none;
    margin-left: 2em;
}

    #ResetFilterByAssembly button {
        color: white;
        background-color: #999900;
        border: none;
        border-radius: 0.25rem;
        margin-left: 0.5em;
    }

    #ResetFilterByAssembly span {
        text-decoration: dotted underline;
        text-underline-offset: 0.2em;
    }

@media (min-width: 768px) {
    .modal-xl {
        width: 90%;
        max-width: 1200px;
    }
}