@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

html, body {
    font-family: 'Nunito', Helvetica, Arial, sans-serif;
}

a, .btn-link {
    color: #371139;
    text-decoration: underline;
}
a:hover, .btn-link:hover {
    color: #371139;
    text-decoration: underline;
}

h1 {
    font-style: normal;
    font-weight: normal;
    font-size: 26px;
    line-height: 35px;
    letter-spacing: 0.01em;
    color: #000000;
    padding: 0 0 1rem 0;
}
h3 {
    font-style: normal;
    font-weight: 600;
    font-size: 18px;
    line-height: 25px;
    letter-spacing: 0.01em;
    color: #000000;
}
.update-count {
    display: inline-block;
    background: rgba(244, 189, 97, 0.8);
    border-radius: 15px;
    padding: 0 12px;
}
.updated-count {
    display: inline-block;
    background: rgba(98, 197, 84, 0.8);
    border-radius: 15px;
    padding: 0 12px;
}

.updated-cases{
    margin-bottom: 3rem;
}

.collapse-toggle{
    color: rgb(200, 200, 200);
    margin-left: 12px;
    margin-top: .66rem;
    font-size: 13px;
    cursor: pointer;
}

body .header{
    margin: 25px 2rem;
    background-color: #fff;
    z-index: 100;
    display: flex;
}

body .header .logo{
    margin-right:auto;
}

body .header img{
    width: 104px;
}

body .header .nav a {
    display: inline-block;
    margin-left: 1.5rem;
}

table.caseTable{
    border-collapse: separate;
    border-spacing: 0 1.5rem;
}

table.caseTable th {
    font-style: normal;
    font-weight: bold;
    font-size: 14px;
    line-height: 19px;
    letter-spacing: 0.01em;
    text-transform: uppercase;
    color: #000000;
    opacity: 0.6;
    border: 0px!important;
    white-space: nowrap;
    padding: 1rem 0 0 1rem!important;
}

    th label {
        text-transform: uppercase;
        font-weight: bold;
    }

tbody tr {
    background: #FFFFFF;
    border-radius: 4px;
    flex: none;
    order: 0;
    flex-grow: 0;
    margin: 12px 0px;
}

    tbody tr.edit td {
        min-height: 300px;
        vertical-align: top;
    }

    tbody tr.edit td:last-child{
        vertical-align:bottom;
    }

tbody td{
    /*border-top: 0px!important;*/
    padding: 1.5rem 0 1rem 1rem;
    border-top: 1px solid rgba(0, 0, 0, 15%);
    border-bottom: 1px solid rgba(0, 0, 0, 15%);
}
    tbody td:first-child {
        border-left: 1px solid rgba(0, 0, 0, 15%);
        border-top-left-radius: 4px;
        border-bottom-left-radius: 4px;
    }
    tbody td:last-child {
        border-right: 1px solid rgba(0, 0, 0, 15%);
        border-top-right-radius: 4px;
        border-bottom-right-radius: 4px;
    }


    tbody td .card-label{
        display:none;
    }

    tbody td .plaintiff-name {
        font-style: normal;
        font-weight: bold;
        font-size: 20px;
        line-height: 22px;
        letter-spacing: 0.01em;
        color: #000000;
    }

    tbody td .dol {
        font-style: normal;
        font-weight: normal;
        font-size: 14px;
        line-height: 19px;
        letter-spacing: 0.01em;
        color: #000000;
        opacity: 0.6;
        margin-top: 5px;
    }

    tbody td .status-name-button {
        font-style: normal;
        font-weight: normal;
        font-size: 16px;
        line-height: 22px;
        letter-spacing: 0.01em;
        color: #371139;
        padding: 4px 8px;
        background: rgba(55, 17, 57, 0.1);
        border-radius: 4px;
        width: fit-content;
        margin: 2px 2px 2px 0;
        display: inline-block;
        cursor: pointer;
    }

    tbody td .status-name-button.current{
        border: 2px solid #371139;
        border-radius: 4px;
    }

    tbody td .status-name-button label {
        text-transform: capitalize;
        color: #371139;
        opacity: 0.8;
        font-weight: normal;
        font-size: 16px;
        padding: 2px 4px;
        cursor: pointer;
    }

    tbody td .status-name-button.current label {
        font-weight: bold;
    }

    tbody td:last-child
    {
        text-align: right;
        padding-right: 1rem;
    }

    tbody td .btn-update {
        font-style: normal;
        font-weight: bold;
        font-size: 16px;
        line-height: 22px;
        text-align: center;
        letter-spacing: 0.01em;
        text-transform: capitalize;
        color: #371139;
        order: 0;
        margin: 0px;
        padding: 12px;
        border: 1px solid #371139;
        box-sizing: border-box;
        border-radius: 4px;
        background-color: inherit;
    }
    tbody td .btn-commit {
        color: #fff;
        background-color: #371139;
        margin-left: 2px;
    }
span.red {
    color: #E92429;
}

input.red {
    border: 2px solid #F05E60;
}
.center{
    text-align:center;
}
.vertical-wrapper {
    display:flex;
    min-height: 500px;
    margin:auto;
}
.box {
    vertical-align: middle;
    width: 482px;
    padding: 20px 50px;
    background: #FFFFFF;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.15);
    margin: auto;
    display: table;
}

.box hr{
    margin: 20px auto;
}

.login{
    display: table-cell;
    vertical-align: middle;
}

/* form stuff */
#csrKey{
    position: absolute;
    top: 0;
    right: 20px;
    width: 200px;
    height: 10px;
    font-size: 11px;
}

label {
    font-style: normal;
    font-size: 16px;
    line-height: 19px;
    display: flex;
    align-items: center;
    letter-spacing: 0.01em;
    color: #000000;
    margin: 0;
}

input {
    width: 384px;
    height: 54px;
    border: 1px solid rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    border-radius: 3px;
    flex: none;
    order: 2;
    align-self: stretch;
    flex-grow: 0;
    margin: 8px 0px;
    padding: 15px;
}

input[type="radio"]
{
    width:10px;
    height:10px;
    display:contents;
}

button.btn-prove {
    width: 100%;
    height: 54px;
    background: #371139;
    border-radius: 3px;
    flex: none;
    order: 3;
    flex-grow: 0;
    margin: 16px auto;
    color: #fff;
    text-align: center;
    padding: 0;
    font-weight: bold;
}
/* end form stuff */


app {
    position: relative;
    display: flex;
    flex-direction: column;
}

.top-row {
    height: 3.5rem;
    display: flex;
    align-items: center;
}

.main {
    flex: 1;
}

    .main .top-row {
        justify-content: flex-start;
    }

        .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 {

}

.navbar-toggler {
    background-color: rgba(255, 255, 255, 0.1);
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #cc08d9;
}

.invalid {
    outline: 1px solid red;
}

.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;
}

.hidden{
    visibility:hidden; 
    display:contents;
}

.overlay{
    z-index: 110;
    background-color: rgba(0, 0, 0, .35);
    position:absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    overflow: no-content;
    display:flex;
}

.overlay .modal{
    background-color: #fff;
    display:flex;
    height: 620px;
    vertical-align: middle;
    width: 482px;
    min-height: 400px;
    padding: 20px 50px;
    background: #FFFFFF;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.15);
    margin: auto;
    display: table;
}

.confetti-wrapper{
    position:absolute;
    left: 50vw;
    top: 50vh;
    width: 1px;
    height: 1px;
    z-index: 200;
}

/* css spinner */
.spinner-overlay {
    position: absolute;
    background-color: rgba(0, 0, 0, 0.2);
    top: 47vh;
    left: 47vw;
    padding: 5px;
    margin: auto;
    border-radius: 20px;
}
.lds-roller {
    display: flex;
    position: relative;
    width: 80px;
    height: 80px;
}

    .lds-roller div {
        animation: lds-roller 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
        transform-origin: 40px 40px;
    }

        .lds-roller div:after {
            content: " ";
            display: block;
            position: absolute;
            width: 7px;
            height: 7px;
            border-radius: 50%;
            background: #fff;
            margin: -4px 0 0 -4px;
        }

        .lds-roller div:nth-child(1) {
            animation-delay: -0.036s;
        }

            .lds-roller div:nth-child(1):after {
                top: 63px;
                left: 63px;
            }

        .lds-roller div:nth-child(2) {
            animation-delay: -0.072s;
        }

            .lds-roller div:nth-child(2):after {
                top: 68px;
                left: 56px;
            }

        .lds-roller div:nth-child(3) {
            animation-delay: -0.108s;
        }

            .lds-roller div:nth-child(3):after {
                top: 71px;
                left: 48px;
            }

        .lds-roller div:nth-child(4) {
            animation-delay: -0.144s;
        }

            .lds-roller div:nth-child(4):after {
                top: 72px;
                left: 40px;
            }

        .lds-roller div:nth-child(5) {
            animation-delay: -0.18s;
        }

            .lds-roller div:nth-child(5):after {
                top: 71px;
                left: 32px;
            }

        .lds-roller div:nth-child(6) {
            animation-delay: -0.216s;
        }

            .lds-roller div:nth-child(6):after {
                top: 68px;
                left: 24px;
            }

        .lds-roller div:nth-child(7) {
            animation-delay: -0.252s;
        }

            .lds-roller div:nth-child(7):after {
                top: 63px;
                left: 17px;
            }

        .lds-roller div:nth-child(8) {
            animation-delay: -0.288s;
        }

            .lds-roller div:nth-child(8):after {
                top: 56px;
                left: 12px;
            }

@keyframes lds-roller {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* end spinner */

@media (max-width: 767.98px) {
    .main .top-row:not(.auth) {
    }

    .main .top-row.auth {
        justify-content: space-between;
    }

    .main .top-row .nav a, .main .top-row .btn-link {
        margin-left: 0.5rem;
        font-size: .72rem;

    }
    .main .header{
        margin: 1.5rem;
    }
    .box{
        padding: 20px;
        width:auto;
        max-width: 90%;
    }
    .box img{
        max-width: 100%;
    }
    input{
        width: 100%;
    }
    .spinner-overlay{
        left: 40vw;
    }
    h1{
        padding: 0 0 1rem 0;
        font-size: 1.75rem;
    }
    .caseTable{
        width:100%;
    }
    .caseTable thead{
        display:none;
    }
    .caseTable td{
        display:inline-block;
        width:85vw;
        padding: .75rem;
        border-top: 0px;
        border-bottom: 0px;
    }
    .caseTable td div{
        padding-left: 1rem;
        margin: 0;
    }
    .caseTable .plaintiff-name
    {
        margin-top: 1rem;
    }
    .caseTable .dol{
        margin-top:.25rem;
    }
    .caseTable .status-name,
    .caseTable .comment, 
    .caseTable .last-updated{
    }
    .caseTable .status-name-button {
        padding: .75rem;
        margin-left: .75rem;
    }
    .caseTable .cta{
        display: grid;
        vertical-align: bottom;
        padding-top: 1rem;
        padding-bottom: 1rem;
    }
    .caseTable .btn-update{
        margin-left: 1rem;
    }
    .caseTable .card-label {
        display: inline;
    }


    .caseTable .edit .card-label
    {
        display:block;
        text-transform: uppercase;
        color: rgba(0, 0, 0, .4);
        margin-top: .75rem;
    }

    .caseTable .edit td{
        min-height: auto;
        width:100%;
    }

    .caseTable .edit input{
        width: 95%;
    }

    .caseTable .edit .status-name-button{
        margin: .5rem .25rem 0 0;
    }
    .caseTable .edit .cta{
        display:block;
        margin-top: 1rem;
    }
    .caseTable .edit .cta button {
        width:45%;
        margin:0;
    }
    .caseTable .edit .cta .btn-commit {
        margin-left: .75rem;
    }

    tbody td {
        /*border-top: 0px!important;*/
        padding: 1.5rem 0 1rem 1rem;
        border-left: 1px solid rgba(0, 0, 0, 15%);
        border-right: 1px solid rgba(0, 0, 0, 15%);
    }

        tbody td:first-child {
            border-top: 1px solid rgba(0, 0, 0, 15%);
            border-top-left-radius: 4px;
            border-top-right-radius: 4px;
        }

        tbody td:last-child {
            border-bottom: 1px solid rgba(0, 0, 0, 15%);
            border-bottom-left-radius: 4px;
            border-bottom-right-radius: 4px;
        }

}

@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;
    }
}



.my-reconnect-modal > div {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1000;
    overflow: hidden;
    background-color: #fff;
    opacity: 0.8;
    text-align: center;
    font-weight: bold;
}

.components-reconnect-hide > div {
    display: none;
}

.components-reconnect-show > div {
    display: none;
}

.components-reconnect-show > .show {
    display: block;
}

.components-reconnect-failed > div {
    display: none;
}

.components-reconnect-failed > .failed {
    display: block;
}

.components-reconnect-rejected > div {
    display: none;
}

.components-reconnect-rejected > .rejected {
    display: block;
}
.case-label {
    padding-right: 5px;
    display: contents;
}

.lastUpdated {
    display: flex;
    height: 40vh;
    justify-content: end;
}


.TplLable {
    color: white; 
}

.Tpl {
    color:white;
}
.box-black {
    background-color: black; 
}
.left-side {
    background-color: black;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    position: relative;
    flex: 1; 
    /*overflow: hidden;*/
}
.right-side {
    background-color: black;
    display: flex;
    justify-content: center;
    align-items: center;
    /*height: 100vh;*/
    position: relative;
    margin-right: 1rem;
    flex: 1;
   /* overflow: hidden; */
}
