﻿@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

a, .btn-link {
    color: #0366d6;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

app {
    position: relative;
    display: flex;
    flex-direction: column;
}

.top-row {
    height: 3.5rem;
    display: flex;
    align-items: center;
}

.main {
    flex: 1;
}

    .main .top-row {
        background-color: #f7f7f7;
        border-bottom: 1px solid #d6d5d5;
        justify-content: flex-end;
    }

        .main .top-row > a, .main .top-row .btn-link {
            white-space: nowrap;
            margin-left: 1.5rem;
        }

        .main .top-row a:first-child {
            overflow: hidden;
            text-overflow: ellipsis;
        }

.sidebar {
    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

    .sidebar .top-row {
        background-color: rgba(0,0,0,0.4);
    }

    .sidebar .navbar-brand {
        font-size: 1.1rem;
    }

    .sidebar .oi {
        width: 2rem;
        font-size: 1.1rem;
        vertical-align: text-top;
        top: -2px;
    }

    .sidebar .nav-item {
        font-size: 0.9rem;
        padding-bottom: 0.5rem;
    }

        .sidebar .nav-item:first-of-type {
            padding-top: 1rem;
        }

        .sidebar .nav-item:last-of-type {
            padding-bottom: 1rem;
        }

        .sidebar .nav-item a {
            color: #d7d7d7;
            border-radius: 4px;
            height: 3rem;
            display: flex;
            align-items: center;
            line-height: 3rem;
        }

            .sidebar .nav-item a.active {
                background-color: rgba(255,255,255,0.25);
                color: white;
            }

            .sidebar .nav-item a:hover {
                background-color: rgba(255,255,255,0.1);
                color: white;
            }

.content {
    padding-top: 1.1rem;
}

.navbar-toggler {
    background-color: rgba(255, 255, 255, 0.1);
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
    font-size: 1.1rem;
/*    font-weight: bolder;*/
}

#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.75rem;
        top: 0.5rem;
    }

@media (max-width: 767.98px) {
    .main .top-row:not(.auth) {
        display: none;
    }

    .main .top-row.auth {
        justify-content: space-between;
    }

    .main .top-row a, .main .top-row .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 768px) {
    app {
        flex-direction: row;
    }

    .sidebar {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .main .top-row {
        position: sticky;
        top: 0;
    }

    .main > div {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }

    .navbar-toggler {
        display: none;
    }

    .sidebar .collapse {
        /* Never collapse the sidebar for wide screens */
        display: block;
    }

    .divider-3 {
        width: 100%;
        min-height: 1px;
        margin-top: 3px;
        margin-bottom: 3px;
        display: inline-block;
        position: relative;
    }

    .divider-5 {
        width: 100%;
        min-height: 1px;
        margin-top: 5px;
        margin-bottom: 5px;
        display: inline-block;
        position: relative;
    }

    .divider-10 {
        width: 100%;
        min-height: 1px;
        margin-top: 10px;
        margin-bottom: 10px;
        display: inline-block;
        position: relative;
    }

    .divider-20 {
        width: 100%;
        min-height: 1px;
        margin-top: 20px;
        margin-bottom: 20px;
        display: inline-block;
        position: relative;
    }

    .STW_Modal {
        max-width: 1000px;
    }

    .dots-7 {
        width: 50px;
        height: 12px;
        background: radial-gradient(circle closest-side,currentColor 90%,#0000) 0% 50%, radial-gradient(circle closest-side,currentColor 90%,#0000) 50% 50%, radial-gradient(circle closest-side,currentColor 90%,#0000) 100% 50%;
        background-size: calc(100%/3) 100%;
        background-repeat: no-repeat;
        animation: d7 1s infinite linear;
    }

    @keyframes d7 {
        33% {
            background-size: calc(100%/3) 0%,calc(100%/3) 100%,calc(100%/3) 100%
        }

        50% {
            background-size: calc(100%/3) 100%,calc(100%/3) 0%,calc(100%/3) 100%
        }

        66% {
            background-size: calc(100%/3) 100%,calc(100%/3) 100%,calc(100%/3) 0%
        }
    }

    .signup-elligible-test {
        background-color: #A3CFBB !important;
    }

    .signup-remove-test {
        background-color: #E4AFB6 !important;
    }

    .blue-100 {
        background-color: #CFE2FF !important;
    }

    .blue-200 {
        background-color: #ABC4FB !important;
    }

    .green-100 {
        background-color: #D6E7DD !important;
    }

    .green-200 {
        background-color: #A3CFBB !important;
    }

    .image-border-success {
        border: 5px solid #28A745;
    }

    .image-border-warning {
        border: 7px solid #FFC107;
    }

    .image-border-danger {
        border: 5px solid #DC3545;
    }
}

.toast {
    display: none;
    padding: 1.5rem;
    color: #fff;
    z-index: 1;
    position: -webkit-sticky;
    position: absolute;
    width: 50rem;
    top: 2rem;
    border-radius: 1rem;
    left: 50%;
}

.toast-icon {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 1rem;
    font-size: 2.5rem;
}

.toast-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding-left: 1rem;
}

    .toast-body p {
        margin-bottom: 0;
    }

.toast-visible {
    display: flex;
    flex-direction: row;
    animation: fadein 1s;
}

@keyframes fadein {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.embed-pdf {
    width: 100%;
    height: 900px;
}

.sort-link {
    cursor: pointer;
    text-decoration: underline;
}

.order-group-header {
    background-color: #DEE2E6 !important;
}

.border-top-0 {
    border-top: 0;
}

.border-radius-top-0 {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

.padding-10 {
    padding: 10px;
}

.order-group-style-version {
    background-color: #CED4DA !important;
    text-align: center;
    line-height: 2;
    font-size: 1.5rem !important;
}

.gray-100 {
    background-color: #F8F9FA !important;
}

.gray-200 {
    background-color: #E9ECEF !important;
}

.gray-300 {
    background-color: #DEE236 !important;
}

.gray-400 {
    background-color: #CED4DA !important;
}

.nav-menu-badge {
    color: #fff !important;
    background-color: #f44336 !important;
    border-radius: 50%;
    display: inline-block;
    padding-left: 8px;
    padding-right: 8px;
    text-align: center;
}

.message-text-button {
    -webkit-appearance: none !important;
    border: none !important;
    background-color: transparent !important;
}

.message-text-not-read {
    font-weight: bold !important;
}

.message-source-insight {
    /*background-color: #CFE2FF !important*/
    color: #7E57C2 !important;
}

.fa-icon-red {
    color: red;
}

.row-container {
    display: flex;
    width: 100%;
    height: 100%;
    flex-direction: column;
    overflow: hidden;
}

.pdf-row {
    flex-grow: 1;
    border: none;
    margin: 0;
    padding: 0;
}

.custom-drop-zone {
    padding: 0 !important;
    border-style: dashed !important;
    border-width: 2px !important;
    height: 230px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.custom-drop-zone.custom-drag-over {
    background-color: #868A8D;
}

.form-control-xs {
    display: block;
    width: 100%;
    height: calc(1.1em + 0.75rem + 2px);
    padding: 0.25rem 0.75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.0;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.button-width-100 {
    width: 95%;
}

.e-grid .e-headercell, .e-grid .e-detailheadercell {
    background-color: #f4f4f4;
    border-color: #dee2e6
}

.e-toast-container .e-toast .e-toast-message .e-toast-title {
    color: black;
    font-size: 18px;
    font-weight: bold;
}

.iframe-container {
    display: flex;
    width: 100%;
    height: 100%;
    flex-direction: column;
}

.iframe-fill {
    flex-grow: 1; 
    border: none; 
    margin: 0;
    padding: 0;
}

.order-group-card {
    background-color: #F5F5F5 !important;
}

.test {
    background-color: #E3F2FD !important;
}

.price-list {
    text-align: right;
}

.col-tight {
    padding-right: 5px !important;
    padding-left: 5px !important;
}

.col-left-p5 {
    padding-left: 5px !important;
}

.col-right-p5 {
    padding-right: 5px !important;
}

.data-label {
    padding-left: 15px !important;
    padding-right: 5px !important;
}

.data-value {
    padding-left: 5px !important;
}

.col-md18-1, .col-md18-2, .col-md18-3, .col-md18-4, .col-md18-5, .col-md18-6, .col-md18-7, .col-md18-8, .col-md18-9,
.col-md18-10, .col-md18-11, .col-md18-12, .col-md18-13, .col-md18-14, .col-md18-15, .col-md18-16, .col-md18-17, .col-md18-18 {
    position:relative;
    width: 100%;
    padding-right: 10px;
    padding-left: 10px;
}

.col-md18-1 {
    -ms-flex: 0 0 5.555556%;
    flex: 0 0 5.555556%;
    max-width: 5.555556%;
}

.col-md18-2 {
    -ms-flex: 0 0 11.111111%;
    flex: 0 0 11.111111%;
    max-width: 11.111111%;
}

.col-md18-3 {
    -ms-flex: 0 0 16.666667%;
    flex: 0 0 16.666667%;
    max-width: 16.666667%;
}

.col-md18-4 {
    -ms-flex: 0 0 22.222222%;
    flex: 0 0 22.222222%;
    max-width: 22.222222%;
}

.col-md18-5 {
    -ms-flex: 0 0 27.777778%;
    flex: 0 0 27.777778%;
    max-width: 27.777778%;
}

.col-md18-6 {
    -ms-flex: 0 0 33.333333%;
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
}

.col-md18-7 {
    -ms-flex: 0 0 38.888889%;
    flex: 0 0 38.888889%;
    max-width: 38.888889%;
}

.col-md18-8 {
    -ms-flex: 0 0 44.444444%;
    flex: 0 0 44.444444%;
    max-width: 44.444444%;
}

.col-md18-9 {
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
    max-width: 50%;
}

.col-md18-10 {
    -ms-flex: 0 0 55.555556%;
    flex: 0 0 55.555556%;
    max-width: 55.555556%;
}

.col-md18-11 {
    -ms-flex: 0 0 61.111111%;
    flex: 0 0 61.111111%;
    max-width: 61.111111%;
}

.col-md18-12 {
    -ms-flex: 0 0 66.666667%;
    flex: 0 0 66.666667%;
    max-width: 66.666667%;
}

.col-md18-13 {
    -ms-flex: 0 0 72.222222%;
    flex: 0 0 72.222222%;
    max-width: 72.222222%;
}

.col-md18-14 {
    -ms-flex: 0 0 77.777778%;
    flex: 0 0 77.777778%;
    max-width: 77.777778%;
}

.col-md18-15 {
    -ms-flex: 0 0 83.333333%;
    flex: 0 0 83.333333%;
    max-width: 83.333333%;
}

.col-md18-16 {
    -ms-flex: 0 0 88.888889%;
    flex: 0 0 88.888889%;
    max-width: 88.888889%;
}

.col-md18-17 {
    -ms-flex: 0 0 94.444444%;
    flex: 0 0 94.444444%;
    max-width: 94.444444%;
}

.col-md18-18 {
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
}

.scroll-table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
    text-align: center;
}

.scroll-tbody{
    display: table;
    width: 100%;
}

.table-center-text {
    text-align: center !important;
}

.plr5 {
    padding-left: 5px !important;
    padding-right: 5px !important;
}

.plr15 {
    padding-left: 15px !important;
    padding-right: 15px !important;
}

.nav-menu-item {
    color: black !important;
}

.navbar-logo {
    height: 50px;
    width: auto;
}

.btn-no-border {
    padding: 0rem .5rem !important;
    border: none !important;
}

.webom-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
}

.td-icon-image {
    display: flex;
    height: 100%;
    justify-content: center;
    align-items: center;
}

.debug-row {
    background-color: "lightgreen";
}

.validation-background {
    background-color: #f8d7da;
}

body {
    min-height: 100vh;
    margin: 0;
    position: relative;
}

body {
    position: relative;
}

body::after {
    content: '';
    display: block;
    height: 25px;
}

footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 25px;
}