﻿:root {
    --srm-white: rgb(255, 255, 255);
    --srm-primary: rgb(52, 73, 85);
    --srm-primary-light: rgb(230, 235, 240);
    --srm-primary-dark: rgba(45,63,73, 1);
    --srm-secondary: rgb(249, 170, 51);
    --srm-green: rgba(40, 167, 69, 0.3);
    --srm-dark-green: rgba(25, 105, 44, 0.3);
    --srm-orange: rgba(249, 170, 51, 0.3);
    --srm-blue: rgba(0, 123, 255, 0.3);
    --srm-dark-blue: rgba(0, 49, 102, 0.3);
    --srm-purple: rgba(111, 66, 193, 0.3); 
    --srm-red: rgba(220, 53, 69, 0.3);
    --srm-yellow: rgba(255, 193, 7, 0.3);
    --srm-yellow-full: rgba(255, 193, 7, 1);
    --srm-dark-yellow-full: rgba(187, 139, 0, 1);
    --srm-red-full: rgba(220, 53, 69, 1);
    --srm-dark-red-full: rgba(163, 39, 35, 1);
    --srm-dark-red: rgba(163, 39, 35, 0.15);    
    --srm-green-full: rgba(40, 167, 69, 1);
    --srm-dark-green-full: rgba(42, 97, 42, 1);
    --srm-blue-full: rgba(0, 123, 255, 1);
    --srm-dark-blue-full: rgba(2, 84, 145, 1);
    --srm-dark-orange-full: rgba(191, 126, 0, 1);    
}

.srm-back-primary-light {
    background-color: var(--srm-primary-light) !important;
}
.srm-back-primary-dark {
    background-color: var(--srm-primary-dark) !important;
}
.srm-back-green {
    background-color: var(--srm-green) !important;
}
.srm-back-dark-green {
    background-color: var(--srm-dark-green-full) !important;
}
.srm-back-orange {
    background-color: var(--srm-orange) !important;
}
.srm-back-dark-orange {
    background-color: var(--srm-dark-orange-full) !important;
}
.srm-back-blue {
    background-color: var(--srm-blue) !important;
}
.srm-back-dark-blue {
    background-color: var(--srm-dark-blue-full) !important;
}
.srm-back-purple {
    background-color: var(--srm-purple) !important;
}
.srm-back-red {
    background-color: var(--srm-red) !important;
}
.srm-back-dark-red {
    background-color: var(--srm-dark-red-full) !important;
}
.srm-back-yellow {
    background-color: var(--srm-yellow) !important;
}
.srm-back-dark-yellow {
    background-color: var(--srm-dark-yellow-full) !important;
}
.srm-text-green {
    color: var(--srm-dark-green-full);
}
.srm-text-orange {
    color: var(--srm-orange);
}
.srm-text-blue {
    color: var(--srm-dark-blue-full);
}
.srm-text-purple {
    color: var(--srm-purple);
}
.srm-text-red {
    color: var(--srm-red);
}
.srm-text-yellow {
    color: var(--srm-yellow);
}

.loading-reload-text {
    text-align: center;
    opacity: 0;
    animation: loading-reload-fade-in 1s ease-in-out 4s forwards;
}

@keyframes loading-reload-fade-in {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.loading-reload-text a {
    font-weight: 300;
    font-size: 90%;
}

html, body {
    /* font-family: -apple-system, BlinkMacSystemFont, 'Roboto', 'SF Pro Text', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif; */
    font-size: 14px;
    font-weight: 500;
    font-style: normal;
    text-rendering: optimizeLegibility !important;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background-color: #ffffff;
    height: 100%;
    width: 100%;
}

.container-fluid {
    padding-left: 0rem !important;
    padding-right: 0rem !important;
}

.content {
    direction: ltr;
    flex: 1;
    margin: 15px;
}

.chart-content {
    display: flex;
    max-width: 99%;
    max-height: 99%;
    position: relative;
}

.statistic-chart-content {
    display: flex;
    max-width: 99vw;
    max-height: 99vh;
    position: relative;
}

.battery-chart-content {
    display: flex;
    max-width: 99%;
    max-height: 99%;
    position: absolute;
}

.login-content {
    background-color: #f3f1ea;
    direction: ltr;
    flex: 1;
    height: 100vh;
    width: 100vw;
    padding: 1rem 1rem 1rem;
}

.login-card h1 {
    padding: 4px 0;
    color: var(--srm-primary-dark);
    font-size: 24px;
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;
}

.login-card {
    position: relative;
    background: #FFFFFF;
    max-width: 600px;
    border-radius: 4px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
    margin: 30vh auto 10px;
    overflow: hidden;
}

.v-scroll {
    height: 90vh !important; /* %-height of the viewport */
    position: fixed !important;
    overflow-y: scroll !important;
}

.stolen-watermark {
    background-image: url("images/stolen.svg");
    background-color: var(--srm-dark-red) !important;
    background-size: contain !important;
}

.stolen-watermark-fill {
    background-image: url("images/stolen.svg");
    background-color: var(--srm-dark-red) !important;
    background-repeat: repeat;
}

/* Paginator */
.paginator-total-string {
    font-weight: 700;
    display: flex;
    flex-flow: row-reverse;
    color: black;
    align-items: center;
    padding-left: 8px;
    padding-right: 8px;
    min-height: 32px;
    border-color: lightgrey;
    border-style: solid;
    border-width: 1px;
    border-radius: 0;
}

/* Buttons */
.btn {
    font-weight: 500 !important;
}

.btn.outline {
    font-weight: 500 !important;
}

/* Input fields etc. */
.form-control {
    font-weight: 500 !important;
}

.input-group-text {
    font-weight: 500 !important;
}

/* Form select */
.form-select {
    font-weight: 500 !important;
    border-width: 1px !important;
    border-color: darkgray !important;
}

select option {
    font-weight: 500; !important;
}

/* Tab navigation */
.tab-content {
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    padding: 1px;
}

.nav-link {
    font-weight: 500; !important;
    border: #ddd; !important;
}

.nav-link.active {
    border-width: 1px !important;
    border-color: #ddd !important;
    color: var(--srm-primary) !important;
}

.nav-tabs {
    border-width: 1px !important;
    border-color: #ddd !important;
    margin-bottom: 0 !important;
}

@keyframes hideMe{
    0%{
        height: 0;
    }
    100%{
        height: 100%;
    }
}

.collapsable {
    background-color: white;
    overflow: hidden;
    
}

.collapsable-title {
    display: flex;
    height: 25px;
    width: available;
    align-items: center;
}

.collapsable-hide {
    max-height: 0;
    transition: max-height 0.15s ease-out;
    overflow: hidden;
    background: #d5d5d5;
}

.collapsable-show {
    max-height: 500px;
    transition: max-height 0.25s ease-in;
}

/* Header navigation bar */
.pr-navbar-top {
    background-color: var(--srm-primary-dark);
    opacity: 1.0;
    height: 45px;
    -moz-box-shadow:    0 0 5px #4e555b;
    -webkit-box-shadow: 0 0 5px #4e555b;
    box-shadow:         0 0 5px #4e555b;
}

.pr-navbar-toggler {
    border-width: 0;
    margin-right: 1rem;
    display: block !important;
    color: white !important;
}

.pr-navbar-brand {
    font-size: 1.3rem;
    font-weight: bold !important;
    color: white !important;
    text-align: left;
    min-width: 160px;
}

.pr-navbar-text {
    flex-shrink: 0;
    font-size:1.25rem;
    color: white !important;
    width: auto;
}

.pr-navbar-text-centered {
    flex-basis: 100%;
    flex-grow: 1;
    flex-direction: column-reverse !important;
    text-align: end;
    margin-left: 2rem;
    margin-right: 2rem;
    font-weight: bold;
    font-size:2rem;
    color: var(--srm-yellow-full)!important;
}

.pr-navbar-version-danger {
    flex-basis: 100%;
    flex-grow: 1;
    flex-direction: column-reverse !important;
    text-align: end;
    margin-left: 2rem;
    margin-right: 2rem;
    font-weight: bold;
    color: var(--srm-yellow-full)!important;
}

.pr-navbar-version {
    flex-basis: 100%;
    flex-grow: 1;
    flex-direction: column-reverse !important;
    text-align: end;
    margin-left: 2rem;
    margin-right: 2rem;
    color: white !important;
}

.pr-navbar-spinner {
    color: white !important;
}

/* Data tables */
.table-container {
    margin-left: 0;
    margin-top: 1rem;
    margin-right: 0 !important;
}

.table {
    width: 100%;
}

.table-sm {
}

.table th {
    text-align: left !important;
}

.table-hover > tbody > tr:hover > td,
.table-hover > tbody > tr:hover > th {
    background-color: rgb(249, 240, 226) !important;
    color: black !important;
    font-weight: 500 !important;
    cursor: pointer;
}

.table-selected {
    background-color: rgb(249, 240, 226) !important;
    color: black !important;
    font-weight: 500 !important;
}



a,
a:hover,
a:focus {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s;
}

.active a{
    color: red !important;
}

.carousel-inner > .item > img {
    margin: 0 auto;
}

#blazor-error-ui {
    <!--background: darkred;-->
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
    
    .bg-danger;
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}

.check-icon {
    font-size: 20px;
}

.label-h-left-bordered {
    display: flex;
    align-items: center;
    text-align: left;
    color: black;
    padding-left: 8px;
    min-height: 35px;
    border-color: lightgrey;
    border-style: solid;
    border-width: 1px;
    border-radius: 0;
}

.label-h-left-bordered-underline {
    display: flex;
    align-items: center;
    text-align: left;
    color: black;
    padding-left: 8px;
    min-height: 35px;
    border-color: lightgrey;
    border-style: solid;
    border-width: 1px;
    border-radius: 0;
    text-decoration: underline;
}

.label-v-center {
    display: flex;
    align-items: center;
    justify-content: left;
    background-color:  #f8f6f4;
    color: black;
    min-height: 35px;
    padding-left: 10px;

}

.label-v-center-h-center {
    display: flex;
    justify-content: center;
    align-items: center;
    color: black;
    min-height: 35px;
}


.label-v-center-h-center-bordered {
    display: flex;
    justify-content: center;
    align-items: center;
    color: black;
    padding-left: 8px;
    min-height: 35px;
    border-color: lightgrey;
    border-style: solid;
    border-width: 1px;
    border-radius: 3px;
}

.label-h-left-bordered-green {
    display: flex;
    align-items: center;
    text-align: left;
    color: black;
    padding-left: 8px;
    min-height: 35px;
    border-color: lightgrey;
    border-style: solid;
    border-width: 1px;
    border-radius: 0;
    background-color: var(--srm-green);
}

.label-h-left-bordered-orange {
    display: flex;
    align-items: center;
    text-align: left;
    color: black;
    padding-left: 8px;
    min-height: 35px;
    border-color: lightgrey;
    border-style: solid;
    border-width: 1px;
    border-radius: 0;
    background-color: var(--srm-orange);
}

.label-h-left-bordered-blue {
    display: flex;
    align-items: center;
    text-align: left;
    color: black;
    padding-left: 8px;
    min-height: 35px;
    border-color: lightgrey;
    border-style: solid;
    border-width: 1px;
    border-radius: 0;  
    background-color: var(--srm-blue);
}

.label-h-left-bordered-purple {
    display: flex;
    align-items: center;
    text-align: left;
    color: black;
    padding-left: 8px;
    min-height: 35px;
    border-color: lightgrey;
    border-style: solid;
    border-width: 1px;
    border-radius: 0;
    background-color: var(--srm-purple);
}

.label-h-left-bordered-red {
    display: flex;
    align-items: center;
    text-align: left;
    color: black;
    padding-left: 8px;
    min-height: 35px;
    border-color: lightgrey;
    border-style: solid;
    border-width: 1px;
    border-radius: 0;
    background-color: var(--srm-red);
}

.label-h-left-bordered-yellow {
    display: flex;
    align-items: center;
    text-align: left;
    color: black;
    padding-left: 8px;
    min-height: 35px;
    border-color: lightgrey;
    border-style: solid;
    border-width: 1px;
    border-radius: 0;
    background-color: var(--srm-yellow);
}


.toast-info {
    background-color: #1565c0;
}

.rma-image-detail {
    padding: 5px;
    display: flex;
    margin: 5px;
    height: auto;
    width: 60vw;
    transition: transform .2s; /* Animation */
}

.rma-image-capture {
    padding: 5px;
    display: flex;
    margin: 5px;
    height: auto;
    width: 35vw;
    transition: transform .2s; /* Animation */
}

.label-image {
    padding: 5px;
    display: block;
    margin: 5px;
    max-width: 500px;
    max-height: 500px;
    transition: transform .2s; /* Animation */
}

.label-image-sm {
    padding: 5px;
    display: block;
    margin: 5px;
    max-width: 100%;
    height: auto;
    transition: transform .2s; /* Animation */
}

.label-image-lg {
    padding: 5px;
    display: block;
    margin: 5px;
    max-width: 800px;
    max-height: 600px;
    height: auto;
    transition: transform .2s; /* Animation */
}

.rma-image {
    padding: 5px;
    display: block;
    margin: 5px;   
    max-width: 100%;
    height: auto;
    transition: transform .2s; /* Animation */
}

.rma-image:hover {
    transform: scale(1.1); /* (150% zoom)*/
    cursor: pointer;
}

.zoom {
    padding: 50px;
    background-color: green;
    transition: transform .2s; /* Animation */
    width: 200px;
    height: 200px;
    margin: 5px auto;
}

.zoom:hover {
    transform: scale(2); /* (200% zoom)*/
}

.width-xsmall {
    width: 70px;
}
.width-small {
    width: 90px;
}
.width-medium {
    width: 110px;
}
.width-large {
    width: 130px;
}
.width-xlarge {
    width: 150px;
}
.width-xxlarge {
    width: 170px;
}

.text-truncate {
    white-space: nowrap;
    overflow: hidden; 
    text-overflow: ellipsis;
    max-width:1px;
}

.pr-label-hv-centered-red {
    text-align: center;
    display: block;
    overflow: auto;
    position: relative;
    vertical-align: central;
    background-color: var(--srm-red);
    color: black;
    margin-bottom: 0;
}

.pr-label-hv-centered-blue {
    text-align: center;
    display: block;
    overflow: auto;
    position: relative;
    vertical-align: central;
    background-color: var(--srm-blue);
    color: black;
    margin-bottom: 0;
}

.pr-label-hv-centered-yellow {
    text-align: center;
    display: block;
    overflow: auto;
    position: relative;
    vertical-align: central;
    background-color: var(--srm-yellow);
    color: black;
    margin-bottom: 0;
}

.pr-label-hv-centered-orange {
    text-align: center;
    display: block;
    overflow: auto;
    position: relative;
    vertical-align: central;
    background-color: var(--srm-orange);
    color: black;
    margin-bottom: 0;
}

.pr-label-hv-centered-purple {
    text-align: center;
    display: block;
    overflow: auto;
    position: relative;
    vertical-align: central;
    background-color: var(--srm-purple);
    color: black;
    margin-bottom: 0;
}

.pr-label-hv-centered-green {
    text-align: center;
    display: block;
    overflow: auto;
    position: relative;
    vertical-align: central;
    background-color: var(--srm-green);
    color: black;
    margin-bottom: 0;
}

.pr-label-hv-centered {
    text-align: center;
    display: block;
    overflow: auto;
    position: relative;
    vertical-align: central;
    background-color: transparent;
    color: black;
    margin-bottom: 0;
}

.pr-label-order-item {
    display: block;
    word-break: break-word;
    vertical-align: central;
    background-color: transparent;
    color: black;
    margin-bottom: 0;
}

.pr-label-order-subitem {
    display: block;
    word-break: break-word;
    vertical-align: central;
    background-color: transparent;
    color: black;
    margin-bottom: 0;
}

@media screen and (max-width: 1600px) and (min-width: 1400px) {
    .priority-6{
        display:none;
    }
}

@media screen and (max-width: 1300px) and (min-width: 1124px) {
    .priority-6{
        display:none;
    }
    .priority-5{
        display:none;
    }
}

@media screen and (max-width: 1124px) and (min-width: 835px) {
    .priority-6{
        display:none;
    }
    .priority-5{
        display:none;
    }
    .priority-4{
        display:none;
    }
}

@media screen and (max-width: 835px) and (min-width: 300px) {
    .priority-6{
        display:none;
    }
    .priority-5{
        display:none;
    }
    .priority-4{
        display:none;
    }
    .priority-3{
        display:none;
    }
}

@media screen and (max-width: 300px) {
    .priority-6{
        display:none;
    }    
    .priority-5{
        display:none;
    }
    .priority-4{
        display:none;
    }
    .priority-3{
        display:none;
    }
    .priority-2{
        display:none;
    }
}