
html, body, #h, #f {
    margin: 0;
    padding: 0;
    border: 0;
    width: 100%;
    height: 100%;
}

html, body {
    margin: 0;
    padding: 0;
    border: 0;
    width: 100%;
    height: 100%;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    overflow: hidden;
}

body {
    /* Disable scrollbars and ensure that the body fills the window */
    min-height: 100%;
    overflow-y:hidden!important;
}

h1:focus {
    outline: none;
}

#h {
    position: fixed;
    top: 0;
    height: 74px !important;
    z-index: 1003;
}


app {
    width: 100%;
    overflow: hidden;
    box-sizing: content-box;
}

#b {
    background-color: #DAE0E6;
}

.cc {
    height: calc(100% - 74px);
}
.signature-pad-style {
    border: 1px solid #dee2e6!important;
}
#f {
    position: fixed;
    bottom: 0;
    z-index: 1002;
    height: 19px !important;
}
.mv-grid-bottomOffset {
    height: calc(100% - 174px);
}
.mv-pad-bot-above-f-imp {
    padding-bottom: 35px !important;
}

.mv-pad-top-below-h-imp {
    margin-top: 74px !important;
}

.mv-image-thumbnail-fill img {
    object-fit: contain;
    width:100%;
    height: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;
}
.disabled {
    pointer-events: none;
    opacity: 0.4;
}
.e-custom-textarea-height {
    height: 80%;
    min-height: 250px!important;
}
.bm-close
{
    margin-left:auto;
}
.bm-header
{
    display:flex;
    width:100%;
    height:42px;
}
.bm-container {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    overflow: hidden;
    outline: 0;
    background-color: rgba(0,0,0,0.5);
}
.ctrl-mv-label{
    font-size:16px;
    font-family:Arial, Helvetica, sans-serif;
}
.ctrl-mv-text {
    font-size: 16px;
    font-family: Arial, Helvetica, sans-serif;
}
.ctrl-mv-details {
    font-size: 12px;
    font-family: Arial, Helvetica, sans-serif;
}
.ctrl-nvpn-mv-label {
    font-size: 14px;
    font-family: Arial, Helvetica, sans-serif;
}
.hdr3-mv-label {
    margin-bottom: .5rem;
    font-weight: 500;
    line-height: 1.2;
    font-size: 1.17rem;
    margin-top: 0;
    display: block;
    margin-block-start: 0.83em;
    margin-block-end: 0.83em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    unicode-bidi: isolate;
}
.hdr2-mv-label {
    margin-bottom: .5rem;
    font-weight: 500;
    line-height: 1.2;
    font-size: 1.5rem;
    margin-top: 0;
    display: block;
    margin-block-start: 0.83em;
    margin-block-end: 0.83em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    unicode-bidi: isolate;
}
.hdr1-mv-label {
    margin-bottom: .5rem;
    font-weight: 500;
    line-height: 1.2;
    font-size: 2rem;
    margin-top: 0;
    display: block;
    margin-block-start: 0.83em;
    margin-block-end: 0.83em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    unicode-bidi: isolate;
}
.btn-mv-primary {
    color: #fff;
    background-color: #d64757;
    border-color: black;
}
.btn-mv-outline-primary {
    color: #000;
    border-color: #d64757;
}
.required-indicator{
    font-size:48px;
    margin-top:-14px;
    margin-bottom:0px;
}
.simple-selector-container-main {
    width: 100%;
    height: 100%;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr auto auto;
    grid-template-rows: auto auto 1fr auto;
}

.simple-selector-item-a {
    grid-column-start: 1 !important;
    grid-column-end: 2 !important;
    grid-row-start: 2 !important;
    grid-row-end: 3 !important;
}

.simple-selector-item-b {
    grid-column-start: 1 !important;
    grid-column-end: 3 !important;
    grid-row-start: 1 !important;
    grid-row-end: 2 !important;
}

.simple-selector-container-item-b {
    display: grid;
    grid-template-columns: min-content min-content 1fr min-content;
    grid-template-rows: 1fr;
}

.simple-selector-item-b-subitem-a {
    grid-column-start: 1 !important;
    grid-column-end: 2 !important;
    grid-row-start: 1 !important;
    grid-row-end: 2 !important;
}

.simple-selector-item-b-subitem-b {
    grid-column-start: 2 !important;
    grid-column-end: 3 !important;
    grid-row-start: 1 !important;
    grid-row-end: 2 !important;
}

.simple-selector-item-b-subitem-c {
    grid-column-start: 2 !important;
    grid-column-end: 3 !important;
    grid-row-start: 1 !important;
    grid-row-end: 2 !important;
    overflow-y: auto;
}

.simple-selector-item-b-subitem-d {
    grid-column-start: 3 !important;
    grid-column-end: 4 !important;
    grid-row-start: 1 !important;
    grid-row-end: 2 !important;
}

.simple-selector-item-c {
    grid-column-start: 1 !important;
    grid-column-end: 3 !important;
    grid-row-start: 3 !important;
    grid-row-end: 4 !important;
 
}

.simple-selector-item-d {
    grid-column-start: 2 !important;
    grid-column-end: 4 !important;
    grid-row-start: 1 !important;
    grid-row-end: 2 !important;
}

.simple-selector-item-e {
    grid-column-start: 3 !important;
    grid-column-end: 4 !important;
    grid-row-start: 2 !important;
    grid-row-end: 4 !important;
}

.simple-selector-item-f {
    grid-column-start: 1 !important;
    grid-column-end: 4 !important;
    grid-row-start: 4 !important;
    grid-row-end: 5 !important;
}

.blazored-custom-modal-noscroll-simple-selector {
    display: flex;
    align-items: stretch;
    flex-direction: column;
    background-color: #fafafa;
    border-radius: 12px;
    border: 1px solid #fff;
    padding: 0.5rem;
    z-index: 1101 !important;
    overflow: hidden;
    box-shadow: 0 2px 2px rgba(0,0,0,.75);
    width:80%;
    height:100%;
    margin:auto;
}

.bm-content
{
    height:calc(100%-42px);
    width:100%;
    overflow:hidden;
}
.navbar-custom-mv-hub {
    background-color: black;
}

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

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlw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MTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.mv-Filter_Yscrollable {
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    overflow-y: auto;
    margin-left: 8px;
    margin-right: 8px;
}

.control-container {
    background-color: white;
}
.blazored-modal-focus-trap
{
    height:100%;
    display:flex;
    margin-top:74px!important;
    overflow:hidden;
}
.scoped-nav-menu {
    height: 45px;
}
.mobile-scoped-nav-menu
{
    position:fixed;
    bottom:0;
    width:100%;
    height:auto;
    background-color:white;
}

.vh100 {
    height: 100vh;
}

@supports (-webkit-touch-callout: none) {
    /* CSS specific to iOS devices */
    .vh100 {
        height: -webkit-fill-available;
    }

    .sidebar {
        height: -webkit-fill-available;
    }
}
    /*Medium size*/
    @media (min-width: 991.98px) {
        .navbar-toggler {
            display: none;
        }

        .hide-md {
            display: none !important;
        }

        .show-flex-md {
            display: flex !important;
        }

        .show-inline-md {
            display: inline !important;
        }

        .nav-button-mobile-layout {
            display: none !important;
        }

        .nav-button-tablet-layout {
            display: none !important;
        }
    }

    @media (max-width: 991.98px) {
        .navbar-toggler {
            display: flex !important;
        }

        .hide-md {
            display: flex !important;
        }

        .show-flex-md {
            display: none !important;
        }

        .show-inline-md {
            display: none !important;
        }

        .nav-button-mobile-layout {
            display: none;
        }

        .nav-button-tablet-layout {
            display: block;
        }

        .blazored-custom-modal-noscroll-simple-selector {
            width: 100% !important;
            height: 100% !important;
            border-radius: 0px;
            border: 0px solid #fff;
        }

        .signature-pad-style {
            width: 850px;
        }
    }
    /*Large size*/
    @media (min-width:1199px) {
        .control-container {
            width: 1200px;
            margin-left: auto;
            margin-right: auto;
        }

        .signature-pad-style {
            width: 1000px;
        }
    }

    @media (max-width: 1199px) {
        .control-container {
            width: 100%;
            margin-left: 0px;
            margin-right: 0px;
        }
    }
    /*small size*/
    @media (max-width: 767.98px) {
        /*  .main .top-row {
        display: none;
    }*/
        .signature-pad-style {
            width: 600px;
        }

        .nav-button-mobile-layout {
            display: block !important;
        }

        .nav-button-tablet-layout {
            display: none !important;
        }

        .scoped-nav-menu {
            display: none;
        }
       
        .mobile-scoped-nav-menu {
            display: block;
        }

        .scoped-main-body {
            height: calc(100% - 190px);
            overflow-y: auto;
        }

        .hide-sm {
            display: none !important;
        }

        .show-flex-sm {
            display: flex !important;
        }

        .show-inline-sm {
            display: inline !important;
        }

        .show-grid-sm {
            display: grid !important;
        }

        .blazored-form-modal-messagebox-noscroll {
            width: 400px;
            margin: auto;
            background-color: #fafafa;
            border-radius: 12px;
            border: 1px solid #fff;
            padding: 0.5rem;
            z-index: 102;
            overflow: hidden;
            box-shadow: 0 2px 2px rgba(0,0,0,.75);
        }
    }

    @media (min-width: 768px) {

        .scoped-main-body {
            height: calc(100% - 105px);
            overflow-y: auto;
        }

        .scoped-nav-menu {
            display: block;
        }

        .mobile-scoped-nav-menu {
            display: none;
        }

        .blazored-form-modal-messagebox-noscroll {
            width: 400px;
            margin: auto;
            background-color: #fafafa;
            border-radius: 12px;
            border: 1px solid #fff;
            padding: 0.5rem;
            z-index: 1010;
            overflow: hidden;
            box-shadow: 0 2px 2px rgba(0,0,0,.75);
        }

        .show-above-768 {
            display: none !important;
        }

        .hide-sm {
            display: flex !important;
        }

        .show-flex-sm {
            display: none !important;
        }

        .show-grid-sm {
            display: none !important;
        }

        .show-inline-sm {
            display: none !important;
        }

        .navbar-custom-mv-hub .navbar-brand,
        .navbar-custom-mv-hub .navbar-text {
            color: white;
        }


        .sidebar {
            width: 250px;
            height: 100vh;
            position: sticky;
            top: 0;
        }

        .stack-vertical {
            display: flex;
            flex-direction: column;
            background-color: #34ace0;
            color: white;
            align-items: center;
        }

        .stack-horizontal {
            display: flex;
            flex-direction: row;
            gap: 20px;
            background-color: white;
            color: white;
            justify-content: center;
        }

        .blazored-custom-modal-noscroll {
            display: flex;
            align-items: stretch;
            flex-direction: column;
            width: 96vw;
            height: 96vh;
            background-color: #fafafa;
            border-radius: 12px;
            border: 1px solid #fff;
            padding: 0.5rem;
            z-index: 1101;
            overflow: hidden;
            box-shadow: 0 2px 2px rgba(0,0,0,.75);
        }

        .s {
            display: flex;
            align-items: stretch;
            flex-direction: column;
            width: 85vw;
            height: 85vh;
            background-color: #fafafa;
            border-radius: 12px;
            border: 1px solid #fff;
            padding: 0.5rem;
            z-index: 1001;
            overflow: hidden;
            box-shadow: 0 2px 2px rgba(0,0,0,.75);
        }

        .mv-nav-footer-content {
            display: -webkit-box;
            display: flex;
            margin: 0;
            padding: 7px 20px;
            flex-wrap: wrap;
            -webkit-box-pack: justify;
            justify-content: space-between;
            -webkit-box-sizing: border-box;
            box-sizing: border-box;
        }

        .console-nav-footer {
            margin-top: 0 !important;
        }

        .console-nav-footer-inner {
            border-top: 1px solid #545b64;
            color: #fff;
            font-family: Arial,sans-serif;
            font-size: 12px;
            background-color: #232f3e
        }

        .mv-footer-version {
            margin-right: 25px;
            display: -webkit-inline-box;
            display: inline-flex;
            -webkit-box-align: center;
            align-items: center;
        }

        .btn-control {
            color: #98999a;
            border-color: #98999a
        }

            .btn-control:hover {
                color: #212529;
                background-color: #98999a;
                border-color: #98999a
            }

            .btn-control.focus, .btn-control:focus {
                box-shadow: 0 0 0 .2rem rgba(248,249,250,.5)
            }

            .btn-control.disabled, .btn-control:disabled {
                color: #98999a;
                background-color: transparent
            }

            .btn-control:not(:disabled):not(.disabled).active, .btn-control:not(:disabled):not(.disabled):active, .show > .btn-control.dropdown-toggle {
                color: #212529;
                background-color: #98999a;
                border-color: #98999a
            }

                .btn-control:not(:disabled):not(.disabled).active:focus, .btn-control:not(:disabled):not(.disabled):active:focus, .show > .btn-control.dropdown-toggle:focus {
                    box-shadow: 0 0 0 .2rem rgba(248,249,250,.5)
                }
    }

.fog_div {
    display: none;
    position: fixed;
    top: 0px;
    left: 0px;
    height: 100%;
    width: 100%;
    z-index: 100;
    background-color: rgba(30, 30, 30, 0.5);
}

#busybox.show {
    display: block;
}