﻿#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;
    }

.always-show {
    display: block !important;
}

.widget-heading .un-cr {
    max-width: 240px;
    font-size: 0.9rem;
    overflow: hidden;
    display: block;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.table-hover-cr .table-hover td {
    cursor: pointer !important;
}

.table.selectable {
    cursor: pointer;
}

.ck-content {
    height: 400px;
}

.new-products-news-cr table tr td {
    padding-top: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #ddd;
}

.new-products-news-cr table tr:first-child td {
    padding-top: 0 !important;
}

.new-products-news-cr table tr:last-child td {
    border-bottom: none !important;
}

.new-products-news-cr table tr td a {
    text-decoration: underline;
}

.new-products-news-cr table tr td blockquote {
    margin: 0 0 1rem;
    border-left: 3px solid #ddd;
    padding-left: 10px;
}

.scrollable-modal-body {
    max-height: 70vh;
    overflow: auto;
}

@media screen and (max-width: 768px) {
    .login-cr.h-100, .login-cr .h-100 {
        height: 100% !important;
        padding-top: 0.75rem;
        padding-bottom: 0.75rem;
    }
}

.app-sidebar .app-sidebar__inner {
    padding-left: 0;
    padding-top: 10px;
}

.app-header__logo {
    border-bottom: none;
}

.vertical-nav-menu li a.mm-active {
    color: #29A3D9;
    font-weight: 600;
}

.vertical-nav-menu ul > li > a::before {
    content: none;
}

.app-sidebar-wrapper ul.metismenu .nav__sub-menu {
    font-size: 0.825rem;
}

.vertical-nav-menu ul > li > a {
    font-size: .9rem;
    font-weight: 600;
}

.dot-with-value {
    width: auto;
    max-width: 55px;
    min-width: 22px;
    height: 22px;
    color: white;
    font-size: 12px;
    line-height: 20px;
    text-indent: unset;
    white-space: nowrap;
    text-overflow: ellipsis;
    padding: 0 0.2rem;
    position: absolute;
    right: 0;
    top: 6px;
    text-shadow: 0 0 3px rgba(0,0,0,0.75);
    overflow: hidden;
}

.app-sidebar__inner {
    height: 100%;
    overflow: auto;
}

.app-main__inner {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.app-inner-layout {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
}

.app-inner-layout, .app-inner-layout__wrapper, app-inner-layout__content, .tab-content, .container-fluid {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column !important;
}

.hr-cr {
    padding: 0 0.5rem 0 1.95rem;
    position: relative;
    color: #fff;
    transition: all .2s;
    margin: 1.4rem 0 .1rem 0;
}

    .hr-cr span {
        opacity: 0.4;
    }

    .hr-cr hr {
        margin-top: 0.15rem;
        margin-bottom: 0.5rem;
        border-color: #fff;
        opacity: 0.3;
    }

.dashboard-wrapper {
    height: 100%;
    position: relative;
}

.dashboard-badge {
    display: flex;
    position: absolute;
}

.modal-close-button {
    font-size: 1.5em;
    padding: 0;
}

.dashboard-wrapper .bottom-cr {
    position: absolute;
    bottom: 40px;
    left: 52px;
}

    .dashboard-wrapper .bottom-cr .l-cr {
        margin-right: 20px;
    }

    .dashboard-wrapper .bottom-cr .r-cr {
        max-width: 335px;
    }

@media (max-width: 991.98px) {
    .dashboard-wrapper {
        display: flex;
        flex-direction: column;
    }

    .dashboard-badge {
        position: relative;
    }

    .dashboard-card {
        background: url("assets/images/Bioridge_Mobile_BG.jpg");
        flex: 1 1 auto;
        margin-bottom: 20px;
        background-position: right;
        background-size: cover;
        min-height: 300px;
    }

    .hide-on-mobile {
        display: none;
    }

    .dashboard-card h1 {
        top: 20px;
        left: 15px;
        position: relative;
        width: 290px;
        font-weight: 600;
        font-size: 32px;
    }

    .dashboard-wrapper .bottom-cr {
        left: 15px;
    }
}


@media (max-width: 520px) {
    .dashboard-card {
        background-position: right -30px;
    }

        .dashboard-card h1 {
            top: 20px;
            left: 15px;
            position: relative;
            width: 220px;
            font-weight: 600;
            font-size: 24px;
            line-height: 1.1;
        }

    .dashboard-wrapper .bottom-cr {
        position: relative;
        left: auto;
        bottom: auto;
    }

        .dashboard-wrapper .bottom-cr .r-cr h5 {
            font-size: 0.9rem;
        }

        .dashboard-wrapper .bottom-cr .r-cr p {
            font-size: 0.8rem;
            line-height: normal;
        }
}


@media (min-width: 991.98px) {
    .dashboard-card {
        background: url("assets/images/BioRidge_BG.jpg");
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center;
        min-height: 470px;
        height: 100%;
    }

        .dashboard-card h1 {
            font-size: 44px;
            top: 80px;
            left: 50px;
            position: relative;
            width: 575px;
            font-weight: 700;
            line-height: 50px;
            letter-spacing: 1px;
        }

    .app-sidebar-wrapper.on-dashboard {
        top: 64px;
        height: calc(100% - 110px);
    }

    .app-sidebar-wrapper {
        top: 21px;
        height: calc(100% - 42px);
    }

    .hide-on-desktop {
        display: none;
    }

    .dashboard-badge {
        bottom: 50px;
        left: 20px;
    }
}
