﻿/***** Index.html css *****/
.line-selection {
    display: block;
}

.analysis-line-selection {
    display: block;
}

.time-selection {
    display: block;
}

analysis-date-selection {
    display: block;
}

.rate-selection {
    display: block;
}

.reason-selection {
    display: block;
}

.downtime-line-selection {
    display: block;
}

.downtime-machine-selection {
    display: block;
}

.downtime-time-selection {
    display: block;
}

.downtime-main .card {
    border: 1px solid #333;
    border-radius: 0;
}

.downtime-main .card-header {
    background: #bec0c6;
    padding: 0.25rem 0.5rem;
    font-size: 0.75em;
}

.downtime-main .card-header:first-child {
    border-radius: 0;
}

.downtime-main .card-body {
    padding: 0.5rem 0.3rem;
}

/*****  Controls.cshtml ******/

#divControlContainer {
    padding-top: 58px;
    z-index: 5;
}

#controls .card-body .form-inline:not(:last-child) {
    margin-bottom: 0.5rem;
}

#controls .card-body .btn-sm {
    font-size: 0.75rem;
    padding: 0.1rem 0.5rem;
}

#controls .card-body .form-control {
    padding: 0 .3rem;
    height: 1.8rem;
}

#controls .card-body label,
#controls .card-body input,
#controls .card-body .dropdown,
#controls .card-body #spanRefreshLabel {
    margin-right: 0.8rem;
    font-size: 0.75rem;
}

#controls .card-body #spanRefreshLabel {
    color: navy;
}

#btnZoomout {
    display: none;
}

#btnDowntimeMaintenance {
    margin-top: .5rem;
    display: none;
}

#btnProductionMaintenance {
    margin-top: .5rem;
    display: none;
}

#btnChangeProduct {
    margin-top: .5rem;
    display: none;
}

#btnGetChartData {
    min-width: 100px;
}

#analysisReportGraphDiv {
    height: 30vh;
}

#ViewerBackground {
    position: absolute;
    top: 50%;
    left: 50%;
    padding: 15px;
    -ms-transform: translateX(-50%) translateY(-50%);
    -webkit-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
    z-index: 0;
}

#filterDropdown {
    display: inline-block;
}

#analysisReportDialog .modal-dialog {
    max-width: 80vw;
}

#analysisHeader{
    background-color: #23374f;   
    color:white;
}

#analysisHeader button {
    color:white;
}

.customTableContainer {
    overflow-y:auto;
    height:300px;
    overflow-x: hidden;
}

#downtimeMaintenanceDialog .modal-header {
    background: #feb925;
}

#downtimeMaintenanceDialog .form-group {
    margin-bottom: 0.5rem;
}

#downtimeMaintenanceDialog .col-form-label,
#downtimeMaintenanceDialog .form-control-plaintext,
#downtimeMaintenanceDialog .dropdown-item,
#downtimeMaintenanceDialog .btn {
    font-size: 0.75rem;
}

#productionAdjustmentsDialog .modal-header {
    background: #feb925;
}

#productionAdjustmentsDialog .form-group {
    margin-bottom: 0.5rem;
}

#productionAdjustmentsDialog .col-form-label,
#productionAdjustmentsDialog .form-control-plaintext,
#productionAdjustmentsDialog .dropdown-item,
#productionAdjustmentsDialog .btn {
    font-size: 0.75rem;
}

#changeProductDialog .modal-header {
    background: #feb925;
}

#videoDialog .modal-content {
    border-color: #23374f;
}

#videoDialog .modal-header {
    background: #23374f;
    color: #fff;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

#videoDialog .modal-header .close {
    color: #fff;
}

#videoDialog .content-container {
    display: flex;
    flex-direction: row;
    overflow: hidden;
}

#cameraTreeViewContainer {
    flex: 0 0 auto;
    height: 75vh;
    width: 200px;
}

#videoCameraTreeView {
    overflow: hidden;
}

#videoCameraTreeView .jstree-children a {
    font-size: 0.75rem;
}

#videoFrameContainer {
    flex: 1 1 auto;
    height: 75vh;
    width: 100%;
}

#videoPlayerFrame {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

#divCameraButtonContainer {
    position: absolute;
    bottom: 10px;
    height: 25px;
    font-size: 12px;
}

#btnViewCameras {
    display: none;
}

#videoDialog .modal-footer {
    justify-content: flex-start;
}

#videoDialog .modal-footer .btn {
    font-size: 0.75rem;
}

/*****  Charts.cshtml ******/
#divDowntimeCharts {
    width: 100%;
    margin-bottom: 0px !important;
    display: none;
}

#divDownTimeContainer {
    overflow-y: scroll !important;
    overflow-x: hidden;
    max-height: 40vh;
    margin-top: 0px;
    margin-bottom: 0px;
}

.downtimeChart {
    display: block;
    background-color: #E5E8E8;
    border: 1px solid black;
}

.downtimeChartControl {
    display: block;
    background-color: #c0c0c0;
    border: 1px solid black;
    overflow-y: hidden;
    overflow-x: hidden;
    padding:0px;
}

.scrollContainer {
    overflow-y: scroll !important;
    margin: 0px;
    padding: 0px;
}

.scrollContainer::-webkit-scrollbar {
    background-color: #e6f4f4;
    width: 16px;
    height: 16px;
}

/***** DowntimeInfo.cshtml css *****/

#divDowntimeInfo {
    display: none;
    position: relative;
}

#divDowntimeInfo .card {
    min-height: 150px;
}

#metaDataContent th {
    padding-right: 0.5rem;
}

#metaDataContent {
    font-size: 0.75rem;
}

#videoLinks .btn {
    font-size: 0.75rem;
}

#videoButtons .btn {
    margin-bottom: 0.5rem;
}

.info-container {
    position: relative;
    overflow-y: scroll !important;
    overflow-x: hidden;
    margin-top: 0px;
    margin-bottom: 0px;
}

.legend-checkbox-item {
    width: 19px;
    height: 19px;
}

.legend-item {
    display: flex;
    margin-bottom: 5px;
}

.legend-item .form-group{
    margin-bottom: 0px;
}

    .legend-item .form-group .legend-checkbox-item {
        margin-top: 2px;
    }

.legend-tile {
    width: 23px;
    height: 23px;
    border: 1px solid #333;
    margin-left: 5px;
}

.legend-text-container {
    color: #333;
}

.legend-span {
    padding-left: 5px;
    font-size: 0.75rem;
}

/* Database Spinner */
#divDataLoader {
    display: none;
}

/* Chart Render Spinner*/
#divChartLoader {
    display: none;
}

/* Spin Kit*/
.spinner {
    margin: 100px auto;
    width: 50px;
    height: 40px;
    text-align: center;
    font-size: 10px;
}

.spinner > div {
    background-color: #FFFFFF;
    height: 100%;
    width: 6px;
    display: inline-block;
    -webkit-animation: sk-stretchdelay 1.2s infinite ease-in-out;
    animation: sk-stretchdelay 1.2s infinite ease-in-out;
}

.spinner .rect2 {
    -webkit-animation-delay: -1.1s;
    animation-delay: -1.1s;
}

.spinner .rect3 {
    -webkit-animation-delay: -1.0s;
    animation-delay: -1.0s;
}

.spinner .rect4 {
    -webkit-animation-delay: -0.9s;
    animation-delay: -0.9s;
}

.spinner .rect5 {
    -webkit-animation-delay: -0.8s;
    animation-delay: -0.8s;
}

/* Alternate Color Spin Kit*/
.spinner2 {
    margin: 100px auto;
    width: 50px;
    height: 40px;
    text-align: center;
    font-size: 10px;
}

.spinner2 > div {
    background-color: #000080;
    height: 100%;
    width: 6px;
    display: inline-block;
    -webkit-animation: sk-stretchdelay 1.2s infinite ease-in-out;
    animation: sk-stretchdelay 1.2s infinite ease-in-out;
}

.spinner2 .rect2 {
    -webkit-animation-delay: -1.1s;
    animation-delay: -1.1s;
}

.spinner2 .rect3 {
    -webkit-animation-delay: -1.0s;
    animation-delay: -1.0s;
}

.spinner2 .rect4 {
    -webkit-animation-delay: -0.9s;
    animation-delay: -0.9s;
}

.spinner2 .rect5 {
    -webkit-animation-delay: -0.8s;
    animation-delay: -0.8s;
}

@-webkit-keyframes sk-stretchdelay {
    0%, 40%, 100% { -webkit-transform: scaleY(0.4) }  
    20% { -webkit-transform: scaleY(1.0) }
}

@keyframes sk-stretchdelay {
    0%, 40%, 100% { 
        transform: scaleY(0.4);
        -webkit-transform: scaleY(0.4);
    }  20% { 
           transform: scaleY(1.0);
           -webkit-transform: scaleY(1.0);
       }
}