@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

.nopadding {
    padding: 0 !important;
    margin: 0 !important;
}

html {
    overflow-y: hidden;
}

.rz-tabview-panel {
    padding: 0.25rem !important;
}

html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    background-color: #f2f3f8 !important;
    max-height: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

a, .btn-link {
    color: #0366d6;
}

.btn-primary {
    color: #fff !important;
    background-color: #8FBCE6 !important;
    border-color: #8FBCE6 !important;
}

.pageTitle {
    color: #314b8c !important;
    font-size: 30px;
}

.ui-state-active a[role='tab'] {
    color: #314b8c !important;
}

.ui-tabview-nav .ui-tabview-selected a {
    color: #8FBCE6 !important;
}


app {
    position: relative;
    display: flex;
    flex-direction: column;
    flex-direction: row;
}

.required:after {
    content: "*";
    color: #c0272a;
    font-size: 17px;
    position: relative;
    right: -2px;
}

.top-row {
    height: 3.5rem;
    display: flex;
    align-items: center;
}

.rz-fieldset-content {
    padding: 0.25rem;
}

.main {
    flex: 1;
    margin-top: 5%;
    margin-bottom: 57px;
    margin-left: 12%;
    z-index: 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;
}

.ui-state-disabled, .ui-state-disabled > input, .rz-state-disabled {
    cursor: not-allowed;
    pointer-events: none !important;
    background: #EAEAEA !important;
    box-shadow: none !important;
}

.footer  {
    align-items: center;
    background-color: black;
}

.sidebar {
    background: #092C5C !important;
    width: 100%;
    position: fixed;
    top: 0;
    /*    background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);*/
}

    .sidebar .top-row {
        background-color: #092C5C;
        /*        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 .fas {
        width: 2rem;
        font-size: 1.1rem;
        vertical-align: text-top;
        top: -2px;
    }

    .sidebar .nav-item {
        font-size: 0.9rem;
    }

        .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;
            cursor: pointer;
        }

            .sidebar .nav-item a.active {
                background-color: rgba(255,255,255,0.25);
                color: #F5D130;
            }

            .sidebar .nav-item a:hover {
                background-color: rgba(255,255,255,0.1);
                color: #F5D130;
            }

.btn.disabled, .btn:disabled {
    opacity: .30 !important;
}

.navmenu-sub .fas{
    width: 1rem !important;
}

.navbar-toggler {
    background-color: rgba(255, 255, 255, 0.1);
}

/*.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}*/

.invalid {
    border: 1px solid #ff00004f;
    box-shadow: inset 0 0.5px 0.5px rgba(0,0,0,.075),0 0 5px #eb5e61 !important;
}

.validation-message {
    color: red;
}

#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) {

    .resident-tab {
        height: 70vh;
        padding-left: 2%;
    }

    app {
        flex-direction: row;
    }

    .sidebar {
        width: 200px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .main .top-row {
        position: sticky;
        top: 0;
    }
    
    .navbar-toggler {
        display: none;
    }

    .sidebar .collapse {
        /* Never collapse the sidebar for wide screens */
        display: block;
    }
}

.rz-sidebar {
    background-color: #3a474d;
    border-right: 1px solid #eaeef0;
    position: fixed;
    overflow: auto;
    left: 0;
    top: 0;
    bottom: 0;
    z-index: 1;
    width: 250px;
}

.ui-paginator-page.ui-state-active {
    color: black !important;
}

.ui-paginator-last, .ui-paginator-next {
    background-color: #86B3D1;
    color: #ffffff;
}

/*override radzen defaults*/
.ui-chkbox-box.ui-state-active {
    background-color: #8FBCE6 !important;
    border-color: #8FBCE6 !important;
}

/**/
.textbox {
    font-size: 12px !important;
}
/*labels*/

label {
    display: inline-block;
    max-width: 100%;
    margin-bottom: 5px;
    font-weight: 700;
    font-size: 12px;
}

.label-input {
    padding-left: 0;
    font-weight: 700;
    padding-top: 8px;
    padding-left: 5px !important;
}

.ui-fieldset {
    border: 1px solid #dadfe2;
    background-color: white;
}

/*header*/
.header.fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: -1 !important;
    margin-left: 200px !important;
    height: 3.5rem !important;
    background-color: #314b8c !important;
    border-bottom: none !important;
    background-image: linear-gradient(to right, #092C5C, #a2a7b3)
}

.align-items-center {
    align-items: center !important;
}

.justify-content-start {
    justify-content: flex-start !important;
}
.justify-content-end {
    justify-content: flex-end !important;
}

.ui-dropdown {
    display: inline-block;
    position: relative;
    overflow: hidden;
}

.ui-dropdown-label {
    font-weight: normal !important;
}

.panel-menu {
    list-style: none;
    padding: 0;
    margin-bottom: 0;
    overflow: auto;
    color: #ffffff;
    position: fixed;
}

.admin-navmenu-active {
    background-color: #0505073b;
}

.navmenu-dropdown-item {
    font-size: 13px;
}

    .navmenu-dropdown-item > span {
        margin-left: 10px;
    }

.blazored-toast-container {
    z-index: 3 !important;
}
/* Resident*/


.resident-field-row, .facility-field-row {
    padding-bottom: 2%;
    margin-left: -10px;
}

.resident-pad-left-right, .facility-pad-left-right {
    padding-right: 2px !important;
    padding-left: 2px !important;
}

.resident-pad-right, .facility-pad-right {
    padding-right: 2px !important;
}

.resident-fieldset-row {
    margin-right: 0px !important;
    margin-left: 0px !important;
}

/* End Resident*/

/* Index */

.index-fieldset {
    background-color: white;
}

.index-row {
    margin-right: 0px !important;
    margin-left: 0px !important;
}

.index-button-row {
    margin-bottom: 1%;
}

.add-resident {
    float: right;
}

.edit-resident {
    float: right;
    margin-right: 1%;
}
/* End Index */

/*Resident Documents*/
.document-badge {
    font-size: 100% !important;
}

/*End Resident Documents*/

.sticky-top-banner {
    position: sticky;
    border: 1px solid #DEE2E6 !important;
    margin-right: 1%;
    margin-left: 1%;
    background-color: #f8f9fa;
    padding: 3px;
}

.sticky-top-rev {
    position: sticky;
    margin-right: 0%;
    margin-left: 0%;
    padding-bottom: 12px;
    background-color: #f2f3f8 !important;
    border: 0;
}

.rev-dropdown {
    height: 2.1875rem;
    line-height: 1.75rem;
    color: #212529;
    font-size: 0.875rem;
    border: 1px solid #dadfe2;
    border-radius: 4px;
    box-shadow: inset 0 4px 3px 0 rgba(0, 0, 0, 0.03);
    font-size: .875rem;
    padding-left: 10px;
}

    .rev-dropdown.invalid {
        border: 1px solid #ff00004f;
        box-shadow: inset 0 0.5px 0.5px rgba(0, 0, 0, 0.08), 0 0 5px #eb5e61 !important;
    }

    .rev-dropdown:disabled {
        color: rgba(58, 58, 58, 0.4);
        background: #EAEAEA !important;
    }

.rev-datepicker {
    width: 100%; 
    font-size: .875rem; 
    padding-right: 6px;
}

.rev-datepicker-centered {
    width: 65%;
    text-align: center;
    font-size: .875rem;
    padding-right: 6px;
    margin-right: auto;
    margin-left: auto;
}

.rev-grid-title {
    font-size: 0.75rem; 
    font-weight: bold; 
    padding-left: 15px; 
    padding-right: 15px;
}

.rev-grid-row {
    padding-left: 15px;
    padding-right: 15px;
}

/*Employee Management Styling*/

.access-level-list {
    list-style-type: none;
    padding-inline-start: 5px !important;
}

/*End Employee Management Styling*/

/* Employee */

/*.employee-field-row {
    padding-bottom: 2%;
    margin-left: -10px;
}

.employee-pad-left-right {
    padding-right: 2px !important;
    padding-left: 2px !important;
}

.employee-pad-right {
    padding-right: 2px !important;
}

.employee-fieldset-row {
    margin-right: 0px !important;
    margin-left: 0px !important;*/
}
/*End Employee*/

@media screen and (min-width: 1280px) {
    .content {
        padding-left: 3.5rem !important;
    }
}

.reset_btn {
    background-color: #F5D130 !important;
}

.return-link {
    color: white;
}

.width-full {
    width: 100%;
}

.label-style {
    padding-bottom: 0px;
    margin: 0 0 0 0;
    font-size: 0.75rem;
    font-weight: bold;
}

.label-row-style {
    margin-left: 0px;
    margin-bottom: 0px;
}

.checkbox-pad-6 {
    padding-left: 6px;
}

.employee-input-date {
    width: 100%;
    font-size: .875rem;
    padding-right: 6px;
}

.email-label {
    font-size: 14px;
}

.email-row {
    margin-left: 2%
}

.rz-chkbox-label {
    font-size: 14px !important;
}

.email-btn-row {
    padding: 1% 1% 1% 0%;
}

.email-save-btn {
    float: left;
}

.send-now-btn {
    float: left;
    margin-right: 1%;
}

/* Document Upload Interface */

.dropzone {
    border: 3px dashed steelblue;
    padding: .5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #eee;
    box-shadow: inset 0 0 8px rgba(0,0,0,0.2);
    color: #444;
    font-size: 1.5rem;
    cursor: pointer;
    position: relative;
}

    .dropzone:hover {
        background-color: #f3f3f3;
        color: #333;
    }

    .dropzone input[type=file] {
        position: absolute;
        width: 100%;
        height: 100%;
        opacity: 0;
        cursor: pointer;
    }

.dropzone-drag {
    background-color: palegreen;
}

/* End Document Upload Interface */

.password-requirements {
    background-color: palegoldenrod;
    color: black;
    border-radius: 6px;
    margin-left: 2%;
}

.password-requirements-style {
    padding: 1%;
}

.fa-check {
    color: green;
    padding-right: 1%;
}

.fa-times {
    color: red;
    padding-right: 1%;
}

.reset-password-requirements-row {
    padding: 1%;
    margin-right: 1%;
}

.modal {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: block;
    background-color: rgba(10,10,10,.8);
}

.modal-body {
    padding: 0% 2% 2% 2%
}

.alert-section {
    height: 50px;
    margin-bottom: 1%;
}

.tableFixHead {
    overflow: auto;
    height: 70vh;
    width: 100%;
}

    .tableFixHead thead th {
        position: sticky;
        top: -1px;
        z-index: 1;
        background-color: rgba(108, 145, 162, 255) !important;
        color: rgba(255, 255, 255, 255) !important;
        font-size: .875rem;
        font-weight: 500;
        font-family: Arial, Helvetica, sans-serif;
    }

.revReportHeader {
    text-align: center;
    position: sticky;
    border-top: 0px !important;
    font-size: .875rem;
    font-weight: 500;
}

.innerRow {
    background-color: transparent;
    border: 0;
}

.revDataCell {
    border: 1px solid #ffffff;
}

.mud-table-cell-custom-group {
    font-weight: 700 !important;
    background-color: rgba(184, 202, 210, 255);
}

.mud-table-cell-custom-group-footer {
    padding-bottom: 50px;
    text-align: right;
}

.mudcard-hover-pointer:hover {
    cursor: pointer;
}
