:root {
    --mdc-theme-primary: #3480eb;
    --mdc-theme-secondary: #018786;
    --mdc-theme-text-primary: #ffffff;
    --mdc-theme-text-secondary: #333;
    --theme-bg: white;
    --small-font-size: 11px;
    --disabled-color: #afb6bd;
    --row-selected-color: #4888c2;
    --light-bg: #e9f0e9;
    --bar-grad-1: #16ab8f;
    --bar-grad-2: #e400ff;
    --tab-bg: #4ac2c5;
    --navbar-bg: #5c848a;
}

hr {
    width: 100%;
    border-color: var(--mdc-theme-text-secondary);
    margin: 0px;
}

    hr:not(.black) {
        border-color: var(--mdc-theme-secondary);
    }

.mdc-tab.tab-wrap {
    flex: none;
}

.tile {
    width: 7em;
    height: 7em;
    background-image: linear-gradient(var(--tab-bg), var(--mdc-theme-secondary));
    color: var(--mdc-theme-text-primary);
}

    .tile:hover {
        text-decoration: none;
        color: lightgreen;
    }

.subMenu .mdc-tab-indicator {
    display: none;
}

.subMenu .mdc-tab--active {
    background-color: var(--tab-bg);
}

.hoverDark:hover {
    background-color: #bec1c433;
}

.bar-grad-bg {
    background-image: linear-gradient(to right, var(--bar-grad-1), var(--bar-grad-2));
    color: var(--mdc-theme-text-primary);
    /*font-family: 'Segoe UI', Fallback, sans-serif;*/
}

.mcard {
    background-color: var(--theme-bg);
    border-radius: 0.5em;
    min-height: 0px;
    min-width: 0px;
    padding: 0.5em;
    box-shadow: 0px 0px 50px #616161;
}

.inner-mcard {
    min-height: 0px;
    min-width: 0px;
    overflow-y: auto;
    overflow-x: auto;
}

.mtitle-box {
    border-radius: 0.3em;
}

.mtitle {
    color: var(--mdc-theme-text-primary);
    margin: 0.3em 1em 0.3em 1em;
}

.primary {
    color: var(--mdc-theme-primary);
}

.primary-bg {
    background-color: var(--mdc-theme-primary);
    color: var(--mdc-theme-text-primary);
}

label, p {
    margin-bottom: 0px !important;
}

.mdc-icon-button:not(.mat-toast-close-button) {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: initial;
    padding: initial;
}

.table td, .table th {
    padding: 0.2em;
}

.flex-scroll-y:not(.no-scroll-y) {
    min-height: 0px;
    overflow-y: auto !important;
}

.flex-scroll-x:not(.no-scroll-x) {
    min-width: 0px;
    overflow-x: auto !important;
}

.flex-equal-x {
    flex-basis: 100%;
    width: 0px;
}

.flex-equal-y {
    flex-basis: 100%;
    height: 0px;
}

.flex-equal-forced-x {
    flex-grow: 1;
    width: 0px;
}

.flex-equal-forced-y {
    flex-grow: 1;
    height: 0px;
}

.grid-table .grid-header {
    font-size: calc(var(--small-font-size) + 1px);
    text-align: center;
}

.grid-table .grid-cell {
    white-space: nowrap;
    padding: 5px 1em;
    font-size: var(--small-font-size);
}

.row-selectable:hover {
    background-color: aquamarine !important;
}

.row-selectable:active {
    background-color: #66CCAA !important;
}

.row-selected {
    background-color: var(--row-selected-color) !important;
    color: var(--mdc-theme-text-primary);
}

.nowrap {
    white-space: nowrap;
}

label, p {
    margin: 0px;
}

.justify-self-start {
    justify-self: start;
}

.justify-self-end {
    justify-self: end;
}

table td, .small-font {
    font-size: var(--small-font-size);
}

.border {
    border-color: var(--mdc-theme-primary) !important;
}

.mdc-icon-button::before, .mdc-icon-button::after {
    height: initial;
}

.fullScreen {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10;
    width: 100vw;
    height: 100vh;
    background-color: var(--mdc-theme-secondary);
}

.ml-4p5 {
    margin-left: 2em;
}

.mdc-tab-bar {
    margin-bottom: 0.3em;
}

.mdc-tab {
    flex: none;
}

.small-tabs .mdc-tab {
    padding: 0.7em 0.5em 0.7em 0.5em;
    height: initial;
    font-size: var(--small-font-size);
}

.htmleditor {
    min-width: 50em !important;
}

.no-scroll-y {
    overflow-y: hidden !important;
}

.no-scroll-x {
    overflow-x: hidden !important;
}

.wrap {
    white-space: normal !important;
}

.text-pre-wrap {
    white-space: pre-wrap;
}

.border-box, .mat-accordion.border-box > div {
    box-sizing: border-box !important;
}

.top-0 {
    top: 0
}

.search-text {
    padding-right: 2.3em;
}

.iwpopcss {
    color: var(--bar-grad-1);
}

.search-pop {
    right: -0.5em;
}

    .search-pop > .material-icons {
        font-size: 18px;
    }





.mdc-button:disabled {
    color: var(--mdc-theme-text-primary);
    background-color: var(--disabled-color) !important;
}

.mdc-list-item--selected {
    background-color: var(--row-selected-color) !important;
    color: var(--mdc-theme-text-primary);
}

.mdc-tab-scroller__scroll-content {
    width: 100%;
    flex-wrap: wrap;
}

.mat-toast-body {
    max-height: 200px;
    overflow: auto;
}

    .mat-toast-body::-webkit-scrollbar {
        background-color: #fffaff63;
    }

.mdc-tab .mdc-tab__text-label {
    color: #4ac2c5;
    text-transform: initial;
}

.mdc-tab--active .mdc-tab__text-label {
    color: var(--mdc-theme-text-primary);
}

.mdc-tab-indicator--active {
    background-color: var(--tab-bg);
    border-radius: 0.4em;
}

.mdc-tab-indicator__content--underline {
    display: none;
}

.tab-content-scroll {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow-y: hidden;
}

    .tab-content-scroll .mat-tab-group-content {
        min-height: 0px;
        overflow-y: auto !important;
    }

.subMenu > .mdc-tab-bar {
    margin-bottom: initial;
}




html, body {
    font-family: 'Segoe UI', Fallback, sans-serif;
    /*font-family: HelveticaNeue, "Helvetica Neue", Helvetica, Arial, sans-serif !important;*/
}

app {
    position: relative;
    display: flex;
    /*flex-direction: column;*/
}

/** scroll bar */
::-webkit-scrollbar {
    background-color: #ffffff;
}

body:not(.rz-default-scrollbars) ::-webkit-scrollbar-thumb {
    background: var(--mdc-theme-secondary);
    border: 4px solid rgba(0, 0, 0, 0);
    background-clip: padding-box;
}

::-webkit-scrollbar-thumb {
    background: var(--mdc-theme-secondary);
    border: 4px solid rgba(0, 0, 0, 0);
    background-clip: padding-box;
    border-radius: 8px;
}

::-webkit-scrollbar-corner {
    background-color: var(--theme-bg);
}

/* material theme */


.mdc-icon-button .fa {
    font-size: 30px;
}

/* Loading page */
.splashscreen-background {
    left: calc(-50vw + 50%);
    position: fixed;
    right: calc(-50vw + 50%);
    top: 0;
    bottom: 0;
    z-index: -1;
    background-color: white;
}

.splashscreen-image {
    width: 80%;
}

.loading-container {
    position: relative;
    text-align: center;
    background-color: #fff;
    margin: 10% auto 0 auto;
    padding: 20px;
}

/* Login page */
.login-body {
    position: relative;
}

.logo {
    text-align: center;
}

    .logo h4 {
        margin: 20px auto;
    }

.mdc-card {
    border-radius: 1em !important;
    box-shadow: 0 8px 17px 0 rgba(0,0,0,.2), 0 6px 20px 0 rgba(0,0,0,.19) !important;
}

.mdc-card {
    padding: 40px 30px;
    width: 500px;
}

.container-fluid .login-container {
    display: block;
    max-width: 500px;
}

.additional-info {
    color: #636c72;
    background-color: rgba(0,0,0,.04);
    padding: 10px 6px;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    text-align: center;
    font-size: .875rem;
}

.login-container {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    align-content: center;
}

.login-body {
    flex-direction: column;
    margin: 0 auto;
}

    .login-body .mat-accordion .mat-expansion-panel__header {
        flex-basis: 80%;
    }

    .login-body .mat-expansion-panel {
        background-color: #f4f4f4 !important;
    }


/* app bar */
.mdc-top-app-bar__row {
    background-color: var(--navbar-bg);
    /*background-color: #fff;*/
    color: #404040;
}

.mdc-top-app-bar__section .mdc-icon-button i {
    color: var(--mdc-theme-primary);
}

.mdc-top-app-bar__section .dark-i.mdc-icon-button i {
    color: var(--mdc-theme-text-primary);
}

.logo-img {
    height: 42px;
}

.mdc-top-app-bar {
    box-shadow: 0 2px 5px 0 rgba(0,0,0,.16), 0 2px 10px 0 rgba(0,0,0,.12);
    color: white;
    z-index: 7 !important;
    position: sticky !important;
    top: 0;
}

.mdc-top-app-bar__title,
.mdc-top-app-bar__title a {
    color: white;
}


.sub-menu {
    visibility: hidden; /* hides sub-menu */
    opacity: 0;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    transform: translateY(-2em);
    z-index: -1;
    transition: all 0.3s ease-in-out 0s, visibility 0s linear 0.3s, z-index 0s linear 0.01s;
}

.sub-menu {
    background: #DDD;
}

a.dark-a {
    color: #11f7ec;
    text-decoration: none;
}

    a.dark-a:hover {
        color: #a6f9f5;
    }

.dark-f {
    color: var(--mdc-theme-text-primary);
}

/* page */
.container-fluid {
    min-height: 350px;
    padding: 10px 30px 20px 30px;
}

.page-footer {
    display: flex;
    flex: 0 0 auto;
    /*background: #fff;*/
    /*color: #4d4d4d;*/
    background: var(--navbar-bg);
    color: var(--mdc-theme-text-primary);
    padding: 9px 12px 9px 18px;
    box-shadow: 0 0 5px 0 rgba(0,0,0,0.21);
    margin-top: 30px;
    font-size: 12px;
}

.flex-1 {
    flex: 1;
}

.mini .after.mdc-sub-menu-icon,
.mini .miniHover {
    transform: translateX(200%);
    animation: slide-out 1s forwards;
    transition: .4s ease-in-out;
    visibility: hidden;
    opacity: 0;
    position: fixed;
}

.mdc-expansion-panel--selected .mat-expansion-panel__summary {
    border-left: solid 3px rgba(255, 255, 255, .3);
}

    .mdc-expansion-panel--selected .mat-expansion-panel__summary::before {
        opacity: 0.2 !important;
    }

.mat-accordion .mdc-nav-menu .mat-expansion-panel.mat-expansion-panel--expanded {
    margin: 0;
}

.drawer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #5D2E8F;
    height: 64px;
    color: #fff;
}

    .drawer-logo a {
        color: #fff;
    }

.drawer-header {
}

.drawer-profile {
    padding: 16px;
    border-bottom: solid 1px #777;
    background-image: url("../images/profile-bg.jpg");
    background-size: cover;
    color: #fff;
    font-size: 12px;
}

    .drawer-profile a,
    .drawer-profile .material-icons {
        color: #fff;
    }

.app-sidebar .material-icons {
    margin-right: 8px;
    padding-left: 7px;
}

.app-sidebar .mat-expansion-panel__content .material-icons {
    padding-left: 2px;
    margin-left: -3px;
}

.app-sidebar .mdc-nav-li .material-icons {
    margin-right: 8px;
    padding-left: 0;
}

.mdc-drawer {
    /*margin-top: 64px;*/
    box-shadow: 2px 0 5px 0 rgba(0,0,0,0.16);
}

.mdc-top-app-bar--fixed-adjust {
    padding-top: 0 !important;
    overflow: hidden;
}

.drawer-footer {
    position: absolute;
    text-align: left;
    bottom: 0;
    left: 0;
    right: 0;
    border-top: solid 1px #AAA;
    font-size: 12px;
    padding: 0 12px 0 12px;
    background-color: lightgray
}

/* misc */
.contrib-card {
    padding: 20px;
    overflow: hidden;
    text-overflow: ellipsis;
}

    .contrib-card img {
        height: 50px;
        width: 50px;
    }

.screenshot {
    text-align: center;
    display: block;
}

    .screenshot img {
        max-width: 100%;
    }

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

/*#blazor-error-ui::before {
    margin: auto;
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}

#blazor-error-ui {
    z-index: 9999;
    display: none;
    background: #fff;
    margin: 0 auto;
    padding: 10px 20px;
    text-align: center;
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 8px 17px 0 rgba(0,0,0,.2), 0 6px 20px 0 rgba(0,0,0,.19) !important;
}
*/
/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 596.98px) {
    .drawer-logo {
        height: 56px;
    }

    .logo-img {
        height: 38px;
    }
}

/* Small devices (landscape phones, less than 768px)*/
@media (max-width: 767.98px) {

    .mdc-drawer, .app-sidebar {
        width: 54px !important;
        transform: translateX(0%);
        transition: width .4s ease-in-out;
    }

    .drawer-profile {
        padding: 0 4px;
    }

    .mdc-drawer.mdc-drawer--open:not(.mdc-drawer--closing) + .mdc-drawer-app-content {
        margin-left: 54px !important;
        transition: margin-left .2s ease-in-out;
    }

    .drawer-footer {
        padding: 0;
    }

    .closed .mdc-drawer {
        transform: translateX(-100%);
        animation: slide-out 1s forwards;
        transition: .4s ease-in-out;
    }

    .login-container .mdc-card {
        padding: 20px;
        width: 300px;
    }

    .login-container .mat-accordion {
        width: 300px;
    }

    .loading-container {
        padding: 10px;
    }
}

/* Medium devices (tablets, less than 992px) */
@media (max-width: 991.98px) {
}

/* Large devices (desktops, less than 1200px) */
@media (max-width: 1199.98px) {
}



/* MatBlazor temp */
.mat-toast-body {
    padding: 8px 5px;
}

.mat-toast-icon {
    padding-left: 5px;
}

.mat-toast-close-button .material-icons {
    color: white;
}

.mat-paginator {
    background: none;
}



.mat-fab-animate {
    animation: mat_fab_spin 1s linear normal;
}

@keyframes mat_fab_spin {

    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

.visited-form-div > a {
    font-size: 0.7em;
}

.visited-form-div > button {
    background: none;
    border: none;
}

    .visited-form-div > button > .material-icons {
        font-size: 1em;
        color: #c5c5c5;
    }

    .visited-form-div > button:hover > .material-icons {
        color: white;
    }

.error-page-icon {
    font-size: 100px;
    color: var(--bar-grad-2);
}

.error-page-error-text {
    background-color: var(--light-bg);
}

.not-found {
    color: white;
}

#blazor-error-ui, #components-reconnect-modal {
    background: #018786;
    color: #333;
    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%;
    height: 100%;
    z-index: 10500;
    text-align: center;
}


#components-reconnect-modal {
    display: none;
    position: fixed;
    inset: 0px;
    z-index: 10050;
    overflow: hidden;
    font-weight: bold;
    transition: visibility 0s linear 500ms;
    visibility: visible;
}



    #components-reconnect-modal.components-reconnect-show,
    #components-reconnect-modal.components-reconnect-failed {
        display: block;
    }



    #blazor-error-ui .fa, #components-reconnect-modal .fa {
        font-size: 22px;
    }


#blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}

.error-box {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.text-lightyellow{
    color: lightyellow;
}
.maturity {
    margin: auto;
    padding: 20px;
    margin-top: 20px;
}