﻿/*Reconnect Modal*/
#components-reconnect-modal {
    opacity: 0.90 !important;
}

    #components-reconnect-modal h5 {
        margin-top: 80px !important;
    }

@media only screen and (max-width: 768px) {
    .reconnect-dialog {
        width: 80% !important;
    }

        .reconnect-dialog p {
            text-align: center !important;
        }
}
/****/

/*Lock button in header*/
.lockedcolor {
    color: red;
}

.header .settings .nav-link.nav-lockbutton {
    display: none;
}

@media screen and (max-width: 992px) {
    .header .settings .nav-link.nav-lockbutton {
        display: flex !important;
    }
}
/****/

/*ScottMultiPatternComponent*/
.multi-pattern-component {
    display: inline-block;
    width: auto
}

.legend {
    display: flex;
    flex-direction: column;
    width: 200px;
    /*max-width: 333px;*/
}

.legend-item {
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    cursor: pointer;
}

.legend-text {
    flex-grow: 1;
    font-size: var(--cds-alias-typography-font-size-4);
    font-weight: var(--cds-alias-typography-font-weight-medium);
}

.legend-color {
    display: inline-block;
    width: 100px;
}

.legend-color.glue {
    height: 10px;
    background-color: yellow;
}

.legend-color.glue.inactive {
    background-color: rgba(255, 213, 0, 0.31);
}

.legend-color.sheet {
    height: 10px;
    background-color: #ff7d00;
}

.legend-color.sheet.inactive {
    background-color: rgba(255, 97, 0, 0.31);
}

.legend-color.strap {
    height: 5px;
    background-color: #676767;
}

.legend-color.strap.inactive {
    background-color: rgba(157, 146, 146, 0.31);
}

.pattern {
    padding: 0;
    margin: 0;
    width: 333px;
}

.pattern-row {
    line-height: 13px;
    position: relative;
    cursor: pointer;
}

.pattern-row.disabled {
    cursor: auto;
}

.pattern-rownumber {
    display: inline-block;
    height: 1px;
    width: 20px;
    font-weight: bold;
}

.pattern-box {
    display: inline-block;
    height: 15px;
    width: 100px;
    background-color: #e8e8e8;
}

.pattern-box-columnstack {
    display: inline-block;
    height: 15px;
    width: 100px;
    background-color: #ed5151;
}

.pattern-inbetween {
    display: inline-block;
    height: 10px;
    width: 308px;
    border-style: none;
    border-color: inherit;
    padding: 0;
    margin: 0;
    color: White;
    text-align: center;
}

.pattern-inbetween.glue {
    position: relative;
    background-color: yellow;
    z-index: 2;
}

.pattern-inbetween.sheet {
    position: relative;
    background-color: #ff7d00;
    z-index: 2;
}

.pattern-strap {
    position: absolute;
    left: 20px;
    top: 5px;
    width: 315px;
    background-color: #676767;
    height: 5px;
    z-index: 2;
}

.pattern-pallet {
    display: inline-block;
    width: 308px;
    background-color: #8d6902;
    height: 10px;
}

.pattern-pallet-floor-container {
    text-align: justify;
    -ms-text-justify: distribute-all-lines;
    text-justify: distribute-all-lines;
}

.pattern-pallet-floor {
    display: inline-block;
    width: 30px;
    background-color: #8d6902;
    height: 10px;
    margin-left: 24px;
}

.stretch {
    width: 100%;
    display: inline-block;
    font-size: 0;
    line-height: 0
}

.strikethrough {
    text-decoration: line-through;
    color: gray;
}
/****/

/*Routing Component*/
.diagram-container {
    width: 100%;
    height: calc(100% - 160px);
}

svg:not(:root).diagram-svg-layer {
    overflow: visible;
}

.routing-node {
    padding: 1px;
}

.routing-node-content {
    font-size: 12px;
    line-height: 13px;
    padding-top: 15px;
    /*word-break: break-all;*/
}

.routing-node-title {
    /*padding-bottom: 10px;*/
    /*line-height: 9px;*/
}

.routing-node-information {
    white-space: pre-wrap;
    /*margin-top: -10px;*/
    /*line-height: 9px;*/
}

.routing-node.selected, .routing-node.selected .diagram-port {
    padding: 0;
    border: 1px solid #02384e;
}

.routing-node:hover .diagram-port {
    visibility: visible;
}

.diagram-port:hover .diagram-port {
    visibility: visible;
}

.routing-node .diagram-port {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: #f5f5f5;
    border: 1px solid #d4d4d4;
    cursor: pointer;
    visibility: hidden;
}

.routing-node .diagram-port:hover {
    visibility: visible;
    background-color: #696969;
}

.routing-node .diagram-port:hover {
    background-color: #696969;
}

.routing-node .diagram-port.top {
    position: absolute;
    top: -10px;
    left: calc(50% - 10px);
}

.routing-node .diagram-port.bottom {
    position: absolute;
    bottom: -10px;
    left: calc(50% - 10px);
}

.routing-node .diagram-port.left {
    position: absolute;
    left: -10px;
    top: calc(50% - 10px);
}

.routing-node .diagram-port.right {
    position: absolute;
    right: -10px;
    top: calc(50% - 10px);
}

.routing-group {
    width: 100%;
    height: 100%;
    outline: 1px solid #9d9d9d;
    background-color: inherit;
    text-align: center;
}

.routing-group-title {
    position: relative;
    bottom: -100%;
    font-weight: bold;
    font-size: 20px;
    line-height: 30px;
}

.routing-group-title-vertical {
    position: relative;
    top: 50%;
    left: 106%;
    transform: translate(-50%, -50%) rotate(270deg);
    font-weight: bold;
    font-size: 20px;
}

.routing-legend {
    position: absolute;
    bottom: 10px;
    right: 10px;
}

.routing-legend dt {
    display: inline-block;
    width: 20px;
    height: 20px;
    vertical-align: middle;
}

.routing-legend dd {
    display: inline-block;
    margin: auto 10px auto 1px;
    padding-bottom: 0;
    vertical-align: middle;
}
/****/

/*Notifications in topbar*/
.notification-title {
    margin-left: 0;
    font-weight: bold;
    width: 100%;
}

.notification-message {
    white-space: normal;
    width: 100%;
}

.notification-label {
    /*padding-left: 0.8rem;*/
}

.notification-datetime {
    font-size: 0.55rem;
    color: #0dcaf0;
    text-align: right;
}

.notification-popover {
    max-height: 80vh;
    min-width: 15vw;
    overflow: auto;
    padding: 0;
}

.notification-popover-content {
    max-height: 70vh;
    overflow: auto;
}

.notification-popover-content .dropdown-item {
    padding-top: var(--cds-global-space-3);
    padding-bottom: var(--cds-global-space-5);
}

.notification-popover .dropdown-item.notification-popover-header {
    flex-direction: row;
    font-weight: bold;
    margin-bottom: var(--cds-global-space-5);
}

.notification-popover .dropdown-item.notification-popover-footer {
    flex-direction: row;
    justify-content: end;
    margin-top: var(--cds-global-space-5);
}

.notification-popover .dropdown-item {
    flex-direction: column;
}

.notification-meta {
    display: flex;
    width: 100%;
}

.notification-meta .notification-label {
    flex: 1 1 auto;
}

.notification-meta .notification-datetime {
}
/****/

/*Alarms count in header*/
.is-danger-blink {
    animation: is-danger-blink 2s infinite;
}

@-webkit-keyframes is-danger-blink {
    0% {
        fill: currentColor;
        color: currentColor;
    }

    30% {
        fill: #e02200;
        color: #e02200;
    }

    70% {
        fill: #e02200;
        color: #e02200;
    }

    100% {
        fill: currentColor;
        color: currentColor;
    }
}
/****/

/*ASRS*/
.infeed, .outfeed {
    background-color: #00364d;
}

.occupied .location-cell {
    color: white;
}

.location-cell {
    line-height: 18px;
    font-weight: bold;
    font-size: 18px;
    color: black;
}
/****/

/*Header nav*/
@media screen and (max-width: 992px) {
    header .branding img {
        display: none;
    }

    header .dropdown .nav-text {
        display: none !important;
    }
}
@media screen and (max-width: 576px) {

}

/****/

/*Buttons in dropdown from Header*/
.settings .btn-group {
    width: 100%;
    margin-right: 0;
}

.settings .btn-group .btn {
    border: var(--clr-btn-border-width) solid !important;
    border-color: var(--clr-btn-default-border-color) !important;
    width: auto;
    padding: 0  1rem 0 1rem;
    flex-grow: 1;
    justify-content: center;
}

.settings .btn-group .btn.btn-primary {
    background-color: var(--clr-btn-primary-bg-color) !important;
    color: white;
}

.settings .btn-group .btn cds-icon {
    margin-right: 0 !important;
}

.settings .nav-item {
    cursor: pointer;
}
/****/

/*Header Title*/
.main-container.open-hamburger-menu > .header .settings,
.main-container.open-hamburger-menu > .header .branding {
    display: none;
}

header .branding, .header .branding {
    padding: 0;
    flex: 0 1 auto;
}

@media screen and (max-width: 576px) {
    .main-container .header .branding {
        display: none;
    }
}
/****/

/*ScottFilter*/
.scottfilter {
    margin-top: var(--clr-base-vertical-offset-l);
}

.scottfilter .clr-date-container, .scottfilter .clr-form-control {
    margin-top: 0;
}

.scottfilter .scottdatetimepicker .btn-group {
    display: unset;
}

.btn-group .dropdown .popover-trigger .btn {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    border-left: 0;
}

.scottfilter.scottgridfilter {
    margin-top: 0;
    margin-bottom: var(--clr-base-vertical-offset-l);
    border-left: var(--cds-global-space-1) solid var(--clr-accordion-border-color);
    padding-left: var(--clr-base-vertical-offset-l
    );
}

/****/
/*Icons*/
@media screen and (max-width: 992px) {
    .content-area .btn.btn-icon > span {
        display: none;
    }
}

/****/

/*CRUD Forms*/
.scott-crud-form{
    max-width: 650px;
    margin-left: 1rem;
    margin-bottom: .5rem;
}

/****/
