﻿
body {
    font-family: 'Rajdhani';
}

option {
    font-family: 'Rajdhani';
    font-weight: bold;
}

:root {
    --header-height: 3rem;
    --nav-width: 68px;
    --first-color: #564193;
    --first-color-light: #AFA5D9;
    --white-color: #eae9f2;
    --body-font: 'Nunito', sans-serif;
    --normal-font-size: 1rem;
    --z-fixed: 100;
    --dss-light-blue: #37bff0;
    --dss-dark-purple: #2a2678;
    --dss-dark-blue: #101525;
    --plain-gray: #e1e1e1;
    --dss-purple: #564193;
    --logo-url: url('/images/DSS wit 1.svg');
    --logo-url-small: url('/images/DSS wit 3.svg');
}

.light-theme {
    --background-default: rgb(0 0 0 / 10%) !important;
    --bs-card-bg: white !important;
    --text-color: #03091f !important;
    --text-color-inv: #ffffff !important;
    --border-color: rgba(0,0,0,.54) !important;
    --mud-palette-text-primary: #03091f !important;
    --mud-palette-text-secondary: #03091f !important;
    --logo-url: url('/images/DSS wit 1.svg');
    --logo-url-small: url('/images/DSS wit 3.svg');
}

.dark-theme {
    --background-default: #03091f !important;
    --bs-card-bg: #1E232E !important;
    --text-color: #ffffff !important;
    --text-color-inv: #03091f !important;
    --border-color: #ffffff !important;
    --logo-url: url('/images/DSS logo.svg');
    --logo-url-small: url('/images/DSS wit 3.svg');
}

.login-logo {
    background-image: url('../images/DSS lichtblauw-wit 1.svg');
    background-repeat: no-repeat;
    height: 100%
}

.login {
    background-color: #101622;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    padding: 50px;
}

.invalid + span {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.my-card {
    margin-top: 1rem !important;
    color: white;
    padding: 1rem !important;
    background-color: #1E232E;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 10%), 0 2px 4px -1px rgb(0 0 0 / 6%);
    border-radius: 0.50rem;
    max-width: 450px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}


@keyframes blink {
    50% {
        color: transparent
    }
}

@keyframes blink {
    0% {
        opacity: .2;
    }

    20% {
        opacity: 1;
    }

    100% {
        opacity: .2;
    }
}

.saving span {
    animation-name: blink;
    animation-duration: 1.4s;
    animation-iteration-count: infinite;
    animation-fill-mode: both;
}

    .saving span:nth-child(2) {
        animation-delay: .2s;
    }

    .saving span:nth-child(3) {
        animation-delay: .4s;
    }

.roboto-font {
    font-family: 'Roboto';
}

.rajdhani-font {
    font-family: 'Rajdhani';
}

.form-control, .form-select {
    font-family: Helvetica;
}

a, .btn-link {
    color: #0366d6;
}

@media (max-width: 1000px) {
    .main > div {
        padding-left: 1.5rem !important;
        padding-right: 1.5rem !important;
    }
}

.invalid {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.validation-message {
    position: inherit !important;
    background-color: #cc330d;
    border-radius: 0 !important;
    padding: 6px;
    top: 2px;
    color: #fff !important;
}


.input-validation-error {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.field-validation-error {
    position: inherit !important;
    background-color: #cc330d;
    border-bottom-left-radius: .25rem;
    border-bottom-right-radius: .25rem;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    padding: 6px;
    top: 2px;
    color: #fff;
    display: block;
    width: 100%
}

#blazor-error-ui {
    background: lightyellow;
    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;
}

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

.btn-group .btn-check:active + .btn-secondary, .btn-check:checked + .btn-secondary, .btn-secondary.active, .btn-secondary:active, .show > .btn-secondary.dropdown-toggle {
    color: #fff;
    background-color: #37bff0;
    border-color: #37bff0;
}

.btn-secondary:hover {
    color: #fff;
}

.btn-primary {
    color: #fff;
    background-color: #37bff0;
    border-color: #37bff0;
}

    .btn-primary:hover {
        color: #fff;
        background-color: #10a1d5;
        border-color: #10a1d5;
    }

    .btn-primary:focus, .btn-primary.focus {
        background-color: #37bff0 !important;
        color: white !important;
        border-color: #37bff0 !important;
        /* box-shadow: 0 0 0 0.2rem rgba(111, 127, 140, 0.5);*/
        box-shadow: none !important;
    }

    .btn-primary.disabled, .btn-primary:disabled {
        color: #fff;
        background-color: #37bff0;
        border-color: #37bff0;
    }

    .btn-primary:not(:disabled):not(.disabled):active,
    .btn-primary:not(:disabled):not(.disabled).active,
    .show > .btn-primary.dropdown-toggle {
        color: #fff;
        background-color: #586570;
        border-color: #535f68;
    }

    .btn-primary:not(:disabled):not(.disabled):active,
    .btn-primary:not(:disabled):not(.disabled).active,
    .show > .btn-primary.dropdown-toggle {
        color: #37bff0;
        background-color: white;
        border-color: white;
    }

        .btn-primary:not(:disabled):not(.disabled):active:focus,
        .btn-primary:not(:disabled):not(.disabled).active:focus,
        .show > .btn-primary.dropdown-toggle:focus {
            box-shadow: 0 0 0 0.2rem rgba(111, 127, 140, 0.5);
        }

.form-check-input:checked {
    background-color: #37bff0;
    border-color: #37bff0;
}

.form-check-input {
    width: 1.25rem;
    height: 1.25rem;
}

.alert {
    padding: 0.5rem 0.7rem;
}

.alert-warning {
    color: white;
    background-color: #ffa500;
    border-color: #ffa500;
    font-weight: bolder;
}

    .alert-warning li span {
        color: white !important;
    }

.alert-danger {
    color: white;
    background-color: #cc330d;
    border-color: #cc330d;
    font-weight: bolder
}

.alert-success {
    color: white;
    background-color: #3cb371;
    border-color: #3cb371;
    font-weight: bolder
}

.alert-primary {
    color: white;
    background-color: #10a1d5;
    border-color: #10a1d5;
    font-weight: bolder;
}

.alert-popup {
    position: absolute;
    z-index: 1400;
    top: 25px;
    right: 50px;
    margin: 0px auto;
    text-align: center;
    display: none;
}

.btn-outline-light {
    color: white;
    border-color: white;
}

.blazored-toast-container {
    z-index: 9999 !important;
}

label {
    font-weight: bold;
    margin-bottom: 0px;
    font-family: 'Rajdhani'
}

.table.align-items-center td,
.table.align-items-center th {
    vertical-align: middle;
}

.table {
    color: var(--dss-dark-blue);
    border-collapse: collapse;
    min-width: max-content;
    vertical-align: middle;
}

    .table tr {
        background-color: transparent !important;
        color: var(--dss-dark-blue);
        border-bottom: 1px solid rgba(0, 0, 0, 0.125);
        ;
    }

    .table > th > label {
        font-size: 18px;
        color: var(--dss-dark-blue) !important;
    }

    .table th {
        text-decoration: none;
    }

        .table th a {
            text-decoration: none;
        }

            .table th a label {
                color: var(--dss-dark-blue);
            }

.loader__dot {
    animation: 1s blink infinite
}

    .loader__dot:nth-child(2) {
        animation-delay: 250ms
    }

    .loader__dot:nth-child(3) {
        animation-delay: 500ms
    }

.footer {
    flex-shrink: 0;
    margin-left: -15px;
}

.bg-success {
    background-color: #3cb371 !important;
}


.text-blue {
    color: #10a1d5;
}

.public-layout-container {
    width: 100%;
    height: 100vh;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
    background: #03091f;
    color: white !important;
}

.main-layout-container {
    position: relative;
    margin: calc(var(--header-height) + 1rem) 0 0 0;
    padding: 0 1rem;
    transition: .5s;
    color: var(--dss-dark-blue) !important;
}

.loader-container {
    width: 100%;
    height: 100vh;
    background: #03091f;
}

.green {
    color: #3cb371 !important;
}

.red {
    color: #cc330d !important;
}

.orange {
    color: darkorange !important;
}

.gray {
    color: darkgray;
}

.blue {
    color: #10A1D5 !important;
}

.green-bg {
    background-color: #3cb371 !important;
}

.red-bg {
    background-color: #cc330d !important;
}

.orange-bg {
    background-color: darkorange !important;
}

.gray-bg {
    background-color: darkgray;
}

.blue-bg {
    background-color: #10A1D5 !important;
}

.alert-white {
    border: 2px solid white;
    border-radius: .25rem;
    padding: 15px;
    color: white;
}

.input-group .btn {
    z-index: 0;
}

.btn-primary {
    color: #fff;
    background-color: #37bff0;
    border-color: #37bff0;
}

    .btn-primary:hover {
        color: #fff;
        background-color: #10a1d5;
        border-color: #10a1d5;
    }

    .btn-primary:focus, .btn-primary.focus,
    .btn-primary:active, .btn-primary.active {
        box-shadow: none !important;
        color: #fff;
        background-color: #37bff0;
        border-color: #37bff0;
    }

    .btn-primary:focus, .btn-primary.focus {
        box-shadow: none !important;
        color: #fff;
        background-color: #37bff0;
        border-color: #37bff0;
    }

    .btn-primary.disabled, .btn-primary:disabled {
        color: #fff;
        background-color: #37bff0;
        border-color: #37bff0;
    }

    .btn-primary:not(:disabled):not(.disabled):active, .btn-primary:not(:disabled):not(.disabled).active,
    .show > .btn-primary.dropdown-toggle {
        color: #fff;
        background-color: #586570;
        border-color: #535f68;
    }

        .btn-primary:not(:disabled):not(.disabled):active:focus, .btn-primary:not(:disabled):not(.disabled).active:focus,
        .show > .btn-primary.dropdown-toggle:focus {
            box-shadow: 0 0 0 0.2rem rgba(111, 127, 140, 0.5);
        }

    .btn-check:active + .btn-primary, .btn-check:checked + .btn-primary, .btn-primary.active, .btn-primary:active, .show > .btn-primary.dropdown-toggle {
        color: #37bff0;
        background-color: #fff;
        border-color: #fff;
    }

#googleMap {
    width: 100%;
    height: 400px;
    border-radius: .25rem
}

.text-gray {
    color: #6C757D;
}

.text-lightgray {
    color: #e1e1e1;
}

.bi-lg {
    font-size: 30px;
    line-height: 20px;
}

.bi-md {
    line-height: 20px;
    font-size: 20px;
}

*, ::before, ::after {
    box-sizing: border-box
}

a {
    text-decoration: none;
    color: var(--dss-dark-blue);
}

.header {
    width: 100%;
    height: var(--header-height);
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1rem;
    background-color: var(--plain-gray);
    z-index: var(--z-fixed);
    transition: .5s
}

.header_toggle {
    color: var(--dss-dark-purple);
    font-size: 1.5rem;
    cursor: pointer
}

.header_img {
    width: 35px;
    height: 35px;
    display: flex;
    justify-content: center;
    border-radius: 50%;
    overflow: hidden
}

    .header_img img {
        width: 40px
    }

.l-navbar {
    position: fixed;
    top: 0;
    left: -30%;
    width: var(--nav-width);
    height: 100%;
    background-color: var(--dss-dark-purple);
    padding: .5rem 1rem 0 0;
    transition: .5s;
    z-index: var(--z-fixed)
}

.nav {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden
}

.nav_link {
    display: grid;
    grid-template-columns: max-content max-content;
    align-items: center;
    column-gap: 1rem;
    padding: .5rem 0 .5rem 1.5rem
}

.nav-logo img {
    content: var(--logo-url-small);
}

.nav-logo {
    height: 35px;
    width:100px;
}

.nav_link {
    position: relative;
    color: var(--first-color-light);
    transition: .3s
}

    .nav_link:hover {
        color: var(--white-color)
    }

.nav_icon {
    font-size: 1.25rem
}

.navbar-show {
    left: 0
}

.menu-header {
    padding-left: 0.86rem;
}

.navbar-small .menu-header .nav-logo {
    justify-content: unset !important;
}

.body-pd {
    padding-left: calc(var(--nav-width) + 1rem);
    /*    padding-bottom: 30px;*/
}

.nav_list > .active {
    color: var(--white-color)
}

    .nav_list > .active::before {
        content: '';
        position: absolute;
        left: 0;
        width: 2px;
        height: 32px;
        background-color: var(--white-color)
    }

.height-100 {
    height: 100vh
}

@media screen and (min-width: 768px) {
    .main-layout-container {
        margin: calc(var(--header-height) + 2rem) 0 0 0;
        padding-left: calc(var(--nav-width) + 2rem)
    }

    .header {
        height: calc(var(--header-height) + 1rem);
        padding: 0 2rem 0 calc(var(--nav-width) + 2rem);
    }

    .nav-logo img {
        content: var(--logo-url);
    }

    .header_img {
        width: 40px;
        height: 40px
    }

        .header_img img {
            width: 45px
        }

    .l-navbar {
        left: 0;
        padding: 1rem 1rem 0 0
    }

    .navbar-show {
        width: calc(var(--nav-width) + 155px)
    }

    .body-pd {
        padding-left: calc(var(--nav-width) + 175px);
    }

   .me-md-10 {
        margin-right: 31%!important;
    }
}

.menu-close {
    opacity: 0;
}

@media screen and (max-width:480px) {
    .main-layout-container {
        padding-left: 15px !important;
    }

    .body-pd {
        padding-left: 0;
    }

    .navbar-show {
        width: 100vw;
    }

    .l-navbar {
        padding: 0.5rem 0 0 0;
        transition: 0.5s;
    }

    .header {
        transition: 0s;
    }

    .nav-logo {
        display: flex !important;
    }

        .nav-logo img {
            content: var(--logo-url);
        }

    .navbar-show .menu-close {
        opacity: 1 !important;
        transition-delay: 0.5s;
        transition-property: opacity;
        padding-right: 15px
    }

    .menu-header {
        margin-bottom: 15px;
    }
}

.loader {
    width: 250px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.loading-text {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 100px;
}

.btn-circle {
    padding: 8%;
    border-radius: 50%;
    border: 3px solid white;
}

.btn-circle-sm {
    height: 40px;
    width: 40px;
    border-radius: 50%;
    background: var(--first-color-light);
}

.icon {
    width: 50px;
    height: 50px;
    border-radius: 0.375rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    /*    color: var(--dss-dark-blue);
    border: var(--dss-dark-blue) 2px solid;*/
    color: white;
    background: var(--dss-dark-blue);
    padding-top: 5px;
}

.c-details span {
    font-weight: 300;
    font-size: 13px
}

.card {
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 10%), 0 2px 4px -1px rgb(0 0 0 / 6%);
}

.card-footer {
    background: white;
}

.page-item.active .page-link {
    background-color: #37bff0;
    border-color: #37bff0;
}

.custom-tab {
    width: 100%;
    border-bottom: solid 2px var(--white-color);
    transition: .5s;
}

.tab-active {
    border-bottom: solid 2px var(--dss-dark-purple);
}


.overlay {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    width: 100%;
    opacity: 0;
    transition: .5s ease;
    background: rgba(0,0,0,0.6);
}

    .overlay .btn {
        right: 10px;
        top: 10px;
        position: absolute;
        z-index: 1000;
    }

    .overlay div {
        height: 100%;
    }

    .overlay span {
        color: white !important;
    }

.dropify-wrapper {
    display: block;
    position: relative;
    cursor: pointer;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
    height: 120px;
    padding: 5px 10px;
    font-size: 14px;
    line-height: 22px;
    color: #ced4da;
    background-color: var(--card-color);
    background-image: none;
    text-align: center;
    border: 1px solid #ced4da;
    -webkit-transition: border-color .15s linear;
    transition: border-color .15s linear;
    border-radius: 0.25rem;
}

    .dropify-wrapper:hover .overlay {
        opacity: 1;
    }

    .dropify-wrapper .dropify-message {
        position: relative;
        top: 50%;
        -webkit-transform: translateY(-50%);
        transform: translateY(-50%);
    }

        .dropify-wrapper .dropify-message span.file-icon {
            font-size: 50px;
            color: #ced4da;
        }

        .dropify-wrapper .dropify-message p.dropify-error {
            color: #F34141;
            font-weight: 700;
            display: none;
        }

        .dropify-wrapper .dropify-message p {
            margin: 5px 0 0;
        }

    .dropify-wrapper input {
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        height: 100%;
        width: 100%;
        opacity: 0;
        cursor: pointer;
        z-index: 5;
    }

    .dropify-wrapper .image {
        height: 100%;
        opacity: 1;
        display: block;
        transition: .5s ease;
        backface-visibility: hidden;
    }

.thumb {
    max-width: 100px !important;
}

.dashboard-map {
    width: auto;
    height: 100%;
    border-top-left-radius: 0.25rem;
    border-bottom-left-radius: 0.25rem;
}

.status-map {
    width: auto;
    height: 100%;
    border-top-left-radius: 0.25rem;
    border-bottom-left-radius: 0.25rem;
}

.zoom {
    right: 55px;
    top: 48px;
    z-index: 1000;
    position: absolute;
}

.measuringpoint-section {
    -ms-flex: 0 0 250px;
    flex: 0 0 250px;
    height: 400px;
}

@media (max-width: 500px) {
    .measuringpoint-section {
        max-width: 250px;
    }
}

.chartcontainer {
    background-color: var(--card-color);
    height: 575px;
    position: relative;
}

.chart {
    height: 500px;
    width: 100%
}

.chart-spinner {
    width: 100%;
}

    .chart-spinner .spinner-border {
        left: 0;
        right: 0;
        margin-left: auto;
        margin-right: auto;
        display: flex;
        position: absolute;
    }

#batchartcontainer {
    background-color: var(--card-color);
    height: 325px;
}

.bat-chart {
    height: 300px;
    width: 100%
}

.vertical-center {
    margin: 0;
    position: absolute;
}

.lg-bg{
    background: #efefef;
}