﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

:root {
    --primary: #864D95;
    --secondary: #6DC3E8;
    --tertiary: #2B2E65;
}

/*Media Queries*/

/*Tablet Vertical*/

@media screen and (min-width: 820px) and (max-width: 1180px) {
    /* styles for tablet vertical view */
    .btn-group {
        position: static !important;
        bottom: auto !important;
    }

    .people-icon {
        transform: scale(0.9);
    }

    .values-card {
        padding: 40px 40px 40px 40px !important;
    }

    #charlson {
        width: 800px;
    }
}

@media screen and (max-width: 990px) {
    .border-div {
        visibility: hidden !important;
        display: none !important;
    }

    #cit-summary {
        order: 0;
        text-align: center;
        margin-bottom: 40px !important;
    }

    #cit-grid {
        order: 1;
    }

    #cit-result {
        order: 2;
        margin-top: 40px !important;
    }

    #cra-summary {
        order: 0;
        text-align: center;
        margin-bottom: 40px !important;
    }

    #cra-grid {
        order: 1;
    }

    #cra-result {
        order: 2;
        margin-top: 40px !important;
    }
}

@media screen and (width: 820px) {
    .question {
        width: 75% !important;
    }
}

#healthCard {
    margin: 100px 0;
}

#cihiCard {
    margin: 100px 0;
}

#craCard {
    margin: 100px 0;
}

#surveyCard {
    margin: 100px 0;
    justify-content: center;
}

option {
    white-space: nowrap;
}


#grid-container {
    margin-top: 40px !important;
}


#BestCaseDesc {
    right: 1rem;
    margin-top: 1.5rem !important;
}

.CP-Bottom-Nav {
    margin-top: 5.5rem;
}

#WorstCaseDesc {
    right: 1rem;
    margin-top: 1.5rem !important;
}


@media all and (max-width: 990px) {
    .img-container {
        display: flex;
        justify-content: center !important;
        margin-bottom: 2rem;
    }

    .right-arrow {
        visibility: hidden;
        display: none;
    }

    .card-deck {
        display: flex;
        flex-flow: column;
        grid-gap: 2rem !important;
    }
}

/*Mobile*/
@media all and (max-width: 768px) {
    .right-arrow {
        visibility: hidden;
        display: none;
    }

    .card-deck {
        display: flex;
        justify-content: space-between !important;
        grid-gap: 2rem !important;
    }

    .img-container {
        display: flex;
        justify-content: center !important;
        margin-bottom: 2rem;
    }
}

.user-desc {
    right: 0;
}

/*Container*/

@font-face{
    font-family: 'PrimaryFont';
    src: url('../fonts/Poppins-Medium.ttf');
    font-weight: normal;
    font-style: normal;
}

/*@font-face{
    font-family: 'SecondaryFont';
    src: url('../fonts/Poppins-Regular.ttf');
    font-weight: normal;
    font-style: normal;
}

h1{
    font-family: 'PrimaryFont';
}

h2, h3, h4, h5, h6{
    font-family: 'SecondaryFont';
}*/

label, p, h1, h2, h3, h4, h5, h6, li, a{
    color: var(--tertiary);
}

p {
    margin-bottom: 0.5rem;
}

#home-img {
    margin-top: 5em !important;
    width: 426px;
    border-radius: 20px;
}


.card-wrap {
}

.icon-marg {
    margin-top: 10rem;
}

#main {
    margin: auto;
}

#home-page {
    min-height: 100vh;
}

    #home-page footer {
        position: relative;
    }

/*Buttons*/

.create-patient-btn {
    height: 42px !important;
    width: auto;
    border: solid #864D95;
    transition: all 0.3s ease 0s;
    color: #864D95;
}

    .create-patient-btn:hover {
        box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.1);
        transform: scale(1.05);
        text-decoration: underline;
        background-color: #864D95;
        border: none;
        color: #ffffff;
    }

.start-btn {
    height: 42px !important;
    width: 144px !important;
    background-color: #864D95;
    color: #FBFCFE;
    transition: all 0.3s ease 0s;
}

    .start-btn:hover {
        color: #FBFCFE;
        box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.1);
        transform: scale(1.05);
        filter: brightness(105%);
        text-decoration: underline;
    }

    .start-btn:active {
        border: solid white;
    }

.create-patient-btn:active {
    border: solid white;
}

.mrn-lookup-form {
    margin-top: 80px;
    margin-bottom: 80px;
}

#next-btn {
    margin-top: 1rem !important;
    margin-left: 1rem;
    vertical-align: bottom;
}

#back-btn {
    margin-top: 1rem !important;
    vertical-align: bottom;
}

#calc-btn {
    width: auto !important;
    margin-top: 1rem;
    margin-left: 1rem;
    vertical-align: bottom;
}

.btn-start {
    background-color: #E08955;
    color: #FBFCFE;
}

.btn-primary {
    color: #864D95;
    background-color: white;
    height: 42px !important;
    width: 144px !important;
    border: solid #864D95 !important;
    border-width: 1px !important;
    transition: 0.3s ease-in-out;
}

    .btn-primary:hover {
        background-color: #864D95;
        text-decoration: underline;
        text-decoration-color: white;
        border: none !important;
        color: white!important;
    }

.btn-submit {
    color: white;
    background-color: #864D95;
    height: 42px !important;
    width: 144px !important;
    border-width: 1px !important;
    border: solid #864D95 !important;
    transition: 0.3s ease-in-out;
}

    .btn-submit:hover {
        background-color: white;
        text-decoration: underline;
        text-decoration-color: #864D95;
        color: #864D95;
    }

.btn-path {
    color: #B4B4B4;
    background-color: #828589;
    height: 42px;
    min-width: 190px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    z-index: 10;
    cursor: pointer;
    font-size: 14px;
}


    .btn-path:hover, .btn-path-disabled:hover, .care-plan:hover {
        transition: all 0.1s;
        transform: scale(1.1);
    }


    .btn-path:active, .btn-path-disabled:active, .care-plan:active {
        transition: all 0.1s;
        transform: scale(0.9);
    }

    .btn-path svg, .btn-path-disabled svg {
        margin-right: 6px;
        max-height: 28px;
    }

.btn-path-disabled {
    background-color: #00A45D;
    /*background-color: #5C954D;*/
    /*background-color: #4D9562;*/
    color: white !important;
    height: 42px;
    min-width: 190px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    cursor: pointer;
    font-size: 14px;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    color: #fff;
    background-color: #864D95;
    border-color: #864D95;
}

.nav-link {
    margin: 0;
    color: #864D95;
}

.nav-link {
    white-space: nowrap;
    transition: all 0.2s linear;
}

.nav-link:hover {
    color: var(--tertiary);
}

.text-primary{
    color: #864D95 !important;
}

.text-primary:hover{
    color: #864D95 !important;
    opacity: 0.8;
}
    /*Patient Page*/
    #patient-container {
    }


body > .container {
    min-height: 75vh;
    margin-bottom: 100px;
    margin-top: 25px;
}
/*
main {
 min-height: 75vh;
}

section, form{
    min-height: 60vh;
}

form{
    justify-content: space-between
}
*/

/* Nav styles */

nav {
    height: 15%;
}



.navbar .container {
    display: flex;
    align-content: center;
}

.navbar img {
    width: 20px;
}

.global-nav li a {
    font-family: 'Noto Sans', sans-serif;
    color: var(--tertiary)!important;
    border-bottom: 1px solid rgb(255 255 255 / 0.00);
    transition: ease-in 0.3s;
}

    .global-nav li a:hover {
        border-bottom: 1px solid #E5E5E5;
        color: #3E3E3E;
    }

.navbar-nav {
    justify-content: flex-end;
}

@media only screen and (max-width: 990px) {
    .login li:nth-child(1) {
        display: none;
    }

    .login li:nth-child(2) {
        display: block;
    }
}

@media only screen and (min-width: 990px) {
    .login li:nth-child(2) {
        display: none;
    }

    .login li:nth-child(1) {
        display: block;
    }
}

.navbar .container > div:nth-child(1) {
    width: 80%;
}

.navbar .container > div:nth-child(3) {
    width: 80%;
}

a.navbar-brand {
    white-space: normal;
    text-align: center;
    word-break: break-all;
    font-family: proxima-nova, sans-serif !important;
}

/*intake nav styles*/

.intake-nav-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #D1CFD6;
    margin: 20px 6px 20px 6px;
}

.dot-active {
    background: #6DC3E8;
}

.intake-nav, .intake-nav-nodot {
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

    .intake-nav > div {
        display: flex;
        max-width: 90px;
        border-bottom: 2px solid #6DC3E8;
        justify-content: space-evenly;
        margin: auto;
    }

    .intake-nav-nodot > div {
        width: 90px;
        border-bottom: 2px solid #6DC3E8;
        margin: auto;
    }

/* Provide sufficient contrast against white background */
.btn-group {
    position: static !important;
    bottom: auto !important;
}

a {
    color: var(--primary);
}

a:hover{
    color: var(--tertiary)!important;
    text-decoration: none;
}


/* Intake Styles */
h2 {
    margin: 0;
}

strong {
    padding: 0 5px 0 5px;
    font-weight: bold;
}

body {
    font-family: proxima-nova, sans-serif;
    font-weight: 100;
    font-style: normal;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}


#home-heading {
    font-family: proxima-nova, sans-serif;
    font-weight: 800;
    font-style: normal;
    font-size: 63px;
    filter: drop-shadow(0 .5px .5px #000000);
}

/*#home-heading {
    font-family: PrimaryFont, sans-serif;
    font-style: normal;
    font-size: 63px;
    filter: drop-shadow(0 .5px .5px #000000);
}*/

#home-page {
    background-image: url(../img/SplashBG.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.auth-layout {
    background: linear-gradient(rgba(255,255,255,0.1), rgba(255,255,255,0.1)), url(../img/SplashBG.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

#home-text {
    font-family: proxima-nova, sans-serif;
    font-weight: 100;
    font-style: normal;
    font-size: 43px;
}


/*charlson styles*/
#charlson {
    margin: auto;
}

    #charlson .form-group, #charlson .form-group-none {
        display: flex;
        max-width: 400px;
        height: 72px;
        align-items: center;
        justify-content: center;
        margin: auto 25px auto 25px;
    }

    #charlson .form-group-none {
        margin: auto;
    }

        #charlson .form-group label, #charlson .form-group-none label {
            display: flex;
            height: 72px;
            align-items: center;
            text-align: left;
            border-bottom: 2px solid #E5E5E5;
            width: 230px;
            margin: auto;
        }


    #charlson div div input {
        width: 40px;
        height: 40px;
        margin-left: 10px;
        border-radius: 8px;
        pointer-events: auto;
    }

        #charlson div div input[type="checkbox"] {
            accent-color: #6DC3E8;
            accent-color:#864D95 ;
        }

    #charlson form > div > div {
        display: flex;
        justify-content: center;
    }

    #charlson form > div {
        max-width: 900px
    }

.info-btn {
    cursor: pointer;
    transition: ease 0.3s;
    z-index: 1;
}

    .info-btn:hover {
        transform: scale(1.1);
    }

    .info-btn:active {
        transform: scale(0.9);
    }

.item-desc {
    text-align: left;
    border: 1px solid black;
    border-radius: 15px;
    background: white;
    padding: 10px;
    position: absolute;
    word-wrap: break-word;
    opacity: 0;
    transition: ease 0.3s;
    pointer-events: none;
    width: 295px;
    z-index: 11;
}




#charlson form > div > div > div:nth-child(1) .item-desc {
    left: 115px;
}

#charlson form > div > div > div:nth-child(2) .item-desc {
    right: 115px;
}

/*hospitalization*/


/*result styles*/
.resultTextCircle {
    color: white;
    font-size: 40px;
    box-shadow: 0px 3px 6px rgb(0 0 0 / 0.17);
    border-radius: 50%;
    padding: 35px 10px 10px 10px;
    font-weight: bold;
    width: 112px;
    height: 112px;
    background: #864D95;
    text-align: center;
}

.resultTextWC, .resultTextBC {
    color: white;
    font-size: 44px;
    box-shadow: 0px 3px 6px rgb(0 0 0 / 0.17);
    border-radius: 50%;
    padding: 35px 10px 10px 10px;
    font-weight: bold;
    width: 130px;
    height: 130px;
    background: #864D95;
    text-align: center;
}

/*Resultsummary styles*/

.result-card {
    border-radius: 16px;
    box-shadow: 0px 16px 32px #00000010;
    flex-direction: column;
    align-content: center;
    align-items: center;
    padding: 20px;
    margin: 100px 0;
    display: none;
}

    .result-card > div {
        align-content: center;
        align-self: flex-start;
        margin: auto 0;
    }

    .result-card h5 {
        max-width: 500px;
        text-align: center;
        margin: 30px 0;
    }

    .result-card h3 {
        margin-left: 8px;
    }

    .result-card > a > svg {
        margin-bottom: 15px;
    }

    .result-card > div:nth-child(3) {
        max-width: 25%;
    }

.info-column {
    max-width: 25%;
    margin: 0 !important;
}

.caseSelectorEnabled {
    color: #6DC3E8 !important;
    text-decoration: underline !important;
    cursor: pointer;
}

.caseSelectorDisabled {
    color: #3E3E3E !important;
    text-decoration: none !important;
    cursor: pointer;
}

.border-div {
    width: 1px;
    min-height: 350px;
    background: #70707020;
}

.btn-repeat {
    background-color: #C6C6C6;
    color: white;
    margin: 0 auto;
}

.btn-repeat {
    color: #864D95;
    background-color: white;
    border: solid #864D95 !important;
    border-width: 1px !important;
    transition: 0.3s ease-in-out;
}

.btn-repeat:hover {
    background-color: #864D95;
    text-decoration: underline;
    text-decoration-color: white;
    border: none !important;
    color: white!important;
}

.toggle-BW {
    margin: 20px;
    transition: all 0.3s linear;
}

.toggle-BW > div >  a:hover{
    text-decoration: underline!important;
    color: var(--secondary)!important;

}


.btn-repeat svg {
    margin-right: 10px;
}




/* Custom Classes */
.custom-card {
    border-radius: 16px;
    background: #FBFCFE;
    border: 2px solid #E5E5E5;
    text-align: center;
    padding: 40px 75px 25px 75px;
    margin-bottom: 40px;
    box-shadow: 5px 5px 25px #00000010;
}

.values-card {
    border-radius: 16px;
    background: #FBFCFE;
    border: 2px solid #E5E5E5;
    text-align: center;
    padding: 40px 75px 25px 75px;
    margin-bottom: 40px;
    box-shadow: 5px 5px 25px #00000010;
}

.sideby-custom-card {
    border-radius: 16px;
    background: #FBFCFE;
    border: 2px solid #E5E5E5;
    text-align: center;
    margin-bottom: 40px;
    box-shadow: 5px 5px 25px #00000010;
}

.sideby-text {
    margin-top: 3.3rem;
    margin-right: 2rem;
    height: fit-content;
    margin-left: 4rem;
}

.result-text {
    font-size: smaller !important;
}

.opacity-zero {
    opacity: 0;
}

.dimmer {
    width: 100vw;
    height: 100%;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    margin-left: auto;
    margin-right: auto;
    background-color: black;
    opacity: 0;
    pointer-events: none;
    z-index: 10;
    transition: ease 0.3s;
}

.custom-card select {
    width: 100%;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    height: calc(1.5em + 0.75rem + 2px);
    padding: 0.375rem 0.75rem;
    color: #495057;
}

.care-plan-wrapper {
    display: none;
}

/*survey styles*/

.down {
    transform: rotate(180deg)
}

.goals-info {
    min-width: 655px;
    margin: 60px auto auto auto
}

    .goals-info th, .goals-info td {
        border: 1px solid #707070;
        text-align: center;
    }

    .goals-info table {
        display: none;
    }

    .goals-info div {
        border: 1px solid #707070;
        background-color: #C3C3C3;
        cursor: pointer;
    }

    .goals-info td, .goals-info th {
        min-width: 131px;
    }

    .goals-info th {
        height: 64px;
        font-size: 10pt;
        color: #864D95;
        text-decoration: underline;
    }

    .goals-info td {
        height: 90px;
        font-size: 10pt;
        font-weight: 600;
        padding: 1.25rem;
    }

.td-empty {
    background-color: #C3C3C3;
}

.dot {
    height: 25px;
    width: 25px;
    border: none !important;
    border-radius: 50%;
    display: inline-block;
    background-color: var(--secondary);
}

.bolded {
    text-shadow: 0px 0px 1px black;
}

.info-link {
    color: #864D95 !important;
    text-decoration: underline dotted !important;
    cursor: pointer;
}

#CPRDesc, #ICUDesc {
    margin-left: 8.5rem;
}

div:has(.info-link) {
    display: flex;
    flex-direction: column;
    margin-top: 20px;
}

.question {
    width: 70%;
}

.slidecontainer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

    .slidecontainer > p {
        width: 12.5%;
    }

    .slidecontainer > div {
        display: flex;
        flex-basis: 79.5%;
        justify-content: space-between;
        margin: auto;
        position: relative;
    }

        .slidecontainer > div > p {
            width: 15%;
            text-align: center;
            position: relative;
            margin-top: 25px;
        }

            .slidecontainer > div > p:before {
                content: '';
                width: 1px;
                height: 25px;
                background: #707070;
                position: absolute;
                bottom: 100%;
                left: 50%;
                margin-bottom: 15px;
            }

.slider {
    -webkit-appearance: none;
    width: 70%;
    height: 2px;
    border-radius: 5px;
    /* background: #E5E5E5;*/
    background: #6DC3E8;
    outline: none;
    opacity: 0.7;
    -webkit-transition: .2s;
    transition: opacity .2s;
}

    .slider:hover {
        background: #6DC3E8;
    }

    .slider::-webkit-slider-thumb {
        -webkit-appearance: none;
        appearance: none;
        width: 25px;
        height: 25px;
        border-radius: 50%;
        background: #C6C6C6;
        cursor: pointer;
    }

    .slider::-moz-range-thumb {
        width: 25px;
        height: 25px;
        border-radius: 50%;
        background: #C6C6C6;
        cursor: pointer;
    }

#resultContainer div {
    display: flex;
    justify-content: space-evenly;
    margin: 2rem 0;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.border-top {
    border-top: 1px solid #e5e5e5;
}

.border-bottom {
    border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
    font-size: 1rem;
    line-height: inherit;
}

/* Audits Styles */
.pagination {
    justify-content: center;
}

    .pagination li {
        margin: 0 2px
    }
/* Sticky footer styles
-------------------------------------------------- */
html {
    position: relative;
    min-height: 100%;
}

.footer {
    bottom: 0;
    margin-top: 1rem;
    width: 100%;
    white-space: nowrap;
    line-height: 60px; /* Vertically center the text there */
    background: rgb(255 255 255 / 0.8);
}


.update-btn {
    margin-top: 40px;
    margin-bottom: 20px;
}

.cra-result-intake {
    margin-top: 40px;
}

.footer > div {
    display: flex;
}

    .footer > div > div {
        margin-left: 2rem;
    }

/* Quality of Life Page */

.horizontalRadioContainer {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.emotion-container {
    display: flex;
    justify-content: center;
    gap: 3rem;
}

    .emotion-container > label > [type=radio] {
        position: absolute;
        opacity: 0;
        width: 0;
        height: 0;
    }

        /* IMAGE STYLES */
        .emotion-container > label > [type=radio] + svg {
            cursor: pointer;
        }

        /* CHECKED STYLES */
        .emotion-container > label > [type=radio]:checked + svg {
            color: #0148a2;
        }

.emotion {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.emotion1 > svg {
    color: #e43836;
}

.emotion2 > svg {
    color: #fd674d;
}

.emotion3 > svg {
    color: #ffc236;
}

.emotion4 > svg {
    color: #9ccd2f;
}

.emotion5 > svg {
    color: #36ae26;
}

/* Frailty Page */

.frailty-container {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

    .frailty-container > div > label {
        text-align: center;
    }

        .frailty-container > div > label > [type=radio] {
            position: absolute;
            opacity: 0;
            width: 0;
            height: 0;
        }

            /* IMAGE STYLES */
            .frailty-container > div > label > [type=radio] + svg {
                cursor: pointer;
            }

            /* CHECKED STYLES */
            .frailty-container > div > label > [type=radio]:checked + svg {
                color: #0148a2;
            }

.frailty {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.frailty9 > svg {
    color: #ae0d04;
}

.frailty8 > svg {
    color: #cd0b02;
}

.frailty7 > svg {
    color: #de3700;
}

.frailty6 > svg {
    color: #fc3d01;
}

.frailty5 > svg {
    color: #ff622f;
}

.frailty4 > svg {
    color: #ff9935;
}

.frailty3 > svg {
    color: #ffcb01;
}

.frailty2 > svg {
    color: #1ac70b;
}

.frailty1 > svg {
    color: #179706;
}

#frailtyDescription {
    text-align: center;
}

.slidecontainer2 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

    .slidecontainer2 > p {
        width: 10%;
        font-size: 1.2rem;
    }

    .slidecontainer2 > div {
        display: flex;
        flex-basis: 87%;
        justify-content: space-between;
        margin: auto;
        position: relative;
    }

        .slidecontainer2 > div > span {
            width: 11%;
            text-align: center;
            position: relative;
            margin-top: 25px;
        }

            .slidecontainer2 > div > span:before {
                content: '';
                width: 1px;
                height: 25px;
                background: #707070;
                position: absolute;
                bottom: 100%;
                left: 50%;
                margin-bottom: 15px;
            }

.slider2 {
    -webkit-appearance: none;
    width: 80%;
    height: 2px;
    border-radius: 5px;
    /* background: #E5E5E5;*/
    background: #E08955;
    outline: none;
    opacity: 0.7;
    -webkit-transition: .2s;
    transition: opacity .2s;
}

    .slider2:hover {
        background: #E08955;
    }

    .slider2::-webkit-slider-thumb {
        -webkit-appearance: none;
        appearance: none;
        width: 25px;
        height: 25px;
        border-radius: 50%;
        background: #C6C6C6;
        cursor: pointer;
    }

    .slider2::-moz-range-thumb {
        width: 25px;
        height: 25px;
        border-radius: 50%;
        background: #C6C6C6;
        cursor: pointer;
    }

.frailtyOption > button {
    height: auto;
    width: auto;
    border: none;
    border-radius: 100%;
    background: none;
    outline: none;
}

    .frailtyOption > button:active {
        height: auto;
        width: auto;
        border: none;
        border-radius: 100%;
        background: none;
        outline: none;
    }


.changeContainer {
    -webkit-transition: linear .2s;
    transition: linear .2s;
    -moz-transition linear .2s;
}

.betterWorseChange {
    -webkit-appearance: none;
    width: 300px;
    height: 3rem;
    border-radius: 50px;
    /* background: #E5E5E5;*/
    background: #6DC3E8;
    outline: none;
    -webkit-transition: .2s;
    transition: .2s;
    -moz-transition: .2s;
}

    .betterWorseChange::-webkit-slider-thumb {
        -webkit-appearance: none;
        background: #f4f4f4;
        width: 2.7rem;
        height: 2.7rem;
        border-radius: 50%;
        cursor: pointer;
    }

    .betterWorseChange::-moz-range-thumb {
        width: 2.7rem;
        height: 2.7rem;
        border-radius: 50%;
        cursor: pointer;
    }

.custom-card2 {
    border-radius: 16px;
    background: #FBFCFE;
    border: 2px solid #E5E5E5;
    text-align: center;
    padding: 40px 75px 25px 75px;
    margin-bottom: 40px;
    box-shadow: 5px 5px 25px #00000010;
}

.frailty-container > div > button {
    height: auto;
    width: auto;
    border: none;
    border-radius: 100%;
    background: none;
    outline: none;
    text-align: center;
    margin-left: 10px;
}

    .frailty-container > div > button:active {
        height: auto;
        width: auto;
        border: none;
        border-radius: 100%;
        background: none;
        outline: none;
    }

@media only screen and (max-width: 1367px) {

    .homeCards {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .arrowHome {
        margin: 2rem;
        transform: rotate(90deg);
    }
}

@media only screen and (max-width: 1195px) {
    .frailty-container > div > button > img {
        height: 60px;
        width: 60px;
    }

    .frailty > svg {
        height: 60px;
        width: 60px;
    }

    .frailty > .item-desc {
        width: 230px;
    }
}

@media only screen and (max-width: 1180px) {
    .frailty-container {
        padding: 5px 10px;
    }

        .frailty-container > div > button > img {
            height: 50px;
            width: 50px;
        }

    .frailty > svg {
        height: 50px;
        width: 50px;
    }

    .frailty > .item-desc {
        width: 230px;
    }

        .frailty > .item-desc > h5 {
            font-size: 14px;
        }

        .frailty > .item-desc > p {
            font-size: 12px;
        }
}

@media only screen and (max-width: 1081px) {

    .frailty-container > div > button > img {
        height: 40px;
        width: 40px;
    }

    .frailty > svg {
        height: 40px;
        width: 40px;
    }

    .frailty > label {
        font-size: 12px;
    }

    .frailty > .item-desc {
        width: 180px;
    }
}

.findPatientBtn {
    width: auto !important;
    line-height: 15px;
}

/* Result Summary Health Scale*/

#healthCard {
    display: flex;
    align-items: center;
    justify-content: center;
}

.resultBackButton {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

#healthStatusLogo {
    width: 35px;
    height: 35px;
    margin-right: 10px;
}

.percentText {
    font-size: 1.2rem;
}

/*How it works Home Page*/

.appInfoButton {
    width: auto !important;
    height: auto !important;
    border: solid #864D95;
    border-radius: 0.2rem;
    transition: all 0.3s ease 0s;
    color: #864D95;
    text-align: center;
    padding: 0.5rem 1rem;
    font-size: 1.2rem;
    cursor: pointer;
    margin: 1rem;
}

    .appInfoButton:hover {
        box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.1);
        transform: scale(1.1);
        text-decoration: underline !important;
        background: #864D95;
        color: #ffffff !important;
    }

.appInfoModal {
    transition: ease-in 0.5s;
    position: absolute;
    z-index: 999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-image: url(../img/SplashBG.png);
    background-position: left;
    background-repeat: no-repeat;
    background-size: cover;
}

.closeBtn {
    cursor: pointer;
    font-size: 3rem;
    border: none;
    color: #864D95;
    transition: all 0.3s ease 0s;
}

    .closeBtn:hover {
        text-decoration: none;
        background: none;
        border: none;
        color: #864D95;
        transform: scale(1.5);
    }

.proceed-btn {
    width: auto !important;
}

.proceed-btn:hover {
    color: var(--primary)!important;
}

.howTextContainer {
    width: 1000px !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
}

.result-header {
    width: 100% !important;
}

.howResultContainer {
    width: 800px !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
}

.frailty > .item-desc {
    text-align: left;
    border: 1px solid black;
    border-radius: 15px;
    background: white;
    padding: 10px;
    position: absolute;
    word-wrap: break-word;
    opacity: 0;
    transition: ease 0.3s;
    pointer-events: none;
    width: 295px;
    z-index: 11;
    top: 130px;
    height: fit-content;
}

.infoButtonCases {
    border: none;
    border-radius: 100%;
    background: none;
    outline: none;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

    .infoButtonCases > img {
        height: 50px;
        width: 50px;
        border: none;
        border-radius: 100%;
        background: none;
        outline: none;
        text-align: center;
    }

    .infoButtonCases:active {
        outline: none;
    }

td > .item-desc {
    text-align: left;
    border: 1px solid black;
    border-radius: 15px;
    background: white;
    padding: 10px;
    position: absolute;
    word-wrap: break-word;
    opacity: 0;
    transition: ease 0.3s;
    pointer-events: none;
    width: 295px;
    z-index: 11;
}

.conditionLabel {
    width: 280px !important;
    text-align: right;
    padding-right: 10px;
}

.hospLabel {
    width: 250px !important;
    text-align: right;
    padding-right: 10px;
}

#admcatDesc, #losDesc, #transferDesc {
    left: 49%;
}

.resultBC {
    margin-left: 30rem;
}


.resultWC {
    margin-right: 30rem;
}

.craLabel {
    width: 300px !important;
    text-align: right;
    padding-right: 10px;
}

.resultBCCRA {
    margin-left: 32rem;
}


.resultWCCRA {
    margin-right: 32rem;
}

.vg1Desc {
    top: 80px;
}

.vg2Desc {
    top: 80px;
    left: 10rem;
}

.vg3Desc {
    top: 80px;
    left: 20rem;
}

.vg4Desc {
    top: 80px;
    left: 30rem;
}

.vg5Desc {
    top: 80px;
    left: 35rem;
}

.vg1Desc2 {
    top: 80px;
}

.fullRightVG {
    left: 35rem;
}

.vg2Desc2, .vg3Desc2, .vg3Desc2, .vg4Desc2, .vg5Desc2, .vg6Desc2, .vg7Desc2 {
    top: 80px;
}

.patientLabel {
    text-align: right;
    width: 60px !important;
}

#patient-container > form > div {
    padding-left: 3rem;
    padding-right: 3rem;
}

#pageDesc {
    left: 50%;
    transform: translateX(-50%);
}

.alertModal {
    position: absolute;
    word-wrap: break-word;
    opacity: 1;
    transition: ease 0.3s;
    z-index: 99;
    padding: 1.25rem;
    border-radius: 4px;
    border-left-width: 6px;
    border-left-style: solid;
    border-left-color: #864D95;
    position: absolute;
    overflow: hidden;
    left: 50%;
    transform: translateX(-50%);
    top: 20%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background: #F1F1F1;
    color: #864D95;
}

.activeDimmer {
    width: 100vw;
    height: 100%;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    margin-left: auto;
    margin-right: auto;
    background-color: black;
    opacity: 0.3;
    pointer-events: none;
    z-index: 10;
    transition: ease 0.3s;
}

.warningClose {
    cursor: pointer;
    font-size: 3rem;
    border: none;
    transition: all 0.3s ease 0s;
}

    .warningClose:hover {
        transform: scale(1.2);
    }

.understandBtn {
    background-color: #864D95 !important;
    color: white !important;
    border: none !important;
}

.compareDesc {
    width: 350px !important;
}

.accordion {
    max-width: 800px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    border-radius: 5px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.8);
}

.accordion-vgc {
    overflow: hidden;
    background: rgba(255, 255, 255, 0.8);
    border: solid 2px #864D95;
    margin: 1rem;
    border-radius: 5px;
}

.accordion__label,
.accordion__content {
    padding: 14px 20px;
}

.accordion__label {
    display: block;
    font-weight: 500;
    cursor: pointer;
    position: relative;
    transition: background 0.1s;
}

.accordion__label:hover {
    background: rgba(0, 0, 0, 0.1);
}

.accordion__content {
    display: none;
}

.accordion__input {
    display: none;
}

    .accordion__input:checked ~ .accordion__content {
        display: block;
    }

    .accordion__input:checked ~ .accordion__label > object {
        transform: translateY(-50%) rotate(180deg);
    }

.chevron-down {
    height: 20px;
    width: 20px;
}

.faqTitle {
    margin-top: 3rem;
    margin-bottom: 3rem;
}

.faq {
    height: 100vh;
}

.auditPages {
    margin-bottom: 1rem;
}

.vgResultWarning {
    border: none;
    word-wrap: break-word;
    border-radius: 4px;
    border-left-width: 6px;
    border-left-style: solid;
    border-left-color: #864D95;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    text-align: left;
    margin: 1rem 6rem !important;
    background: #F4F4F4;
    color: #864D95;
}

.vgResultWarning li{
    color: var(--tertiary);

}

.compareImg {
    max-width: 250px;
    max-height: 250px;
    margin: 1rem;
    border: solid 3px #f4f4f4;
    outline: solid 5px #864D95;
    border-radius: 10px;
}

.mission {
    min-height: 100dvh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: rgba(0,72,164,0.1)
}

    .mission > div {
        padding: 2rem;
        display: flex;
        justify-content: center;
        align-items: center;
    }

.missionTitle {
    opacity: 0.8;
}

    .missionTitle > h1 {
        color: #0e0e0e;
    }

.missionText {
    opacity: 0.8;
}

    .missionText > p {
        color: black;
    }

.person {
    display: flex;
    flex-direction: column;
    padding: 1rem;
    margin: 1rem;
    background: rgba(255,255,255,0.8);
}

.person1, .person2 {
    width: 880px;
    margin: 0 auto;
}

#genderGraph, #ethnicityGraph, #religionGraph {
    justify-content: center;
    align-items: center;
    margin-bottom: 2rem;
    height: 500px;
}

.login-btn{
    background: rgba(255,255,255,0.1);
}

.vgc_grid_container {
    display: grid;
    grid-template-columns: auto repeat(11, 1fr);
    gap: 0px;
}

.vgc_grid_item {
    border: 1px solid #ccc;
    padding: 4px;
    text-align: center;
    background: rgba(255,255,255,0.6);
}

.vgc_grid_item input[type="radio"]{
    accent-color: #864D95;
}

.vgc_algo_test {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.og_vgc_weight_bg {
    background: rgba(134,77,149,0.2);
}

.legend_item {
    height: 20px;
    width: 20px;
    border-radius: 50%;
    background: rgba(134,77,149,0.2);
}


.vgc_algo_test > div > fieldset {
    max-width: 300px;
}

.vgc_algo_test > div {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

/*.vgc-test-btns{
    display: flex;
    justify-content: center;
    flex-direction: column;
    gap: 10px;
}*/

.testWarning {
    min-width: 300px;
    min-height: 150px;
}

.weight_bounds_container{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
}

.confirmModal {
    z-index: 999;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    padding: 1.25rem;
    border-radius: 4px;
    border-left-width: 6px;
    border-left-style: solid;
    border-left-color: #864D95;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background: #F1F1F1;
    color: #864D95;
    top: 30%;
}

.yesButton{
    background: #864D95;
    color: #f4f4f4;
}

.yesButton:hover {
    background: #f4f4f4;
    color: #864D95;
    border: 1px solid #864D95!important;
}

.navbrand-text {
    font-weight: 800;
    font-family: proxima-nova, sans-serif;
    font-size: 1.5rem!important;
}

.admin-dropdown{
    opacity: 1 !important;
}

.admin-cards {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.admin-card {
    width: 400px;
    height: 300px;
    background: rgba(255,255,255,0.8);
    border-radius: 1rem;
    display: flex;
    border: 3px solid #864D95;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 50px 100px;
    gap: 1rem;
}

.admin-card-body {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 1rem;
}

    .admin-card-body > p {
        /*white-space: nowrap;*/
        text-align: center;
    }

.admin-card-title {
    font-weight: bold;
    white-space: nowrap;
    color: var(--secondary);
}

.admin-welcome {
    margin-top: 10vh;
    margin-bottom: 10vh;
}

.users-table {
    background: rgba(255,255,255,0.8);
    border: 3px solid rgba(134,77,149,0.6);
    border-collapse: separate !important;
    border-radius: 1rem;
}

.user-container{
    display: flex;
    flex-direction: column;
    background: rgba(255,255,255,0.8);
    border-radius: 1rem;
    gap: 1rem;
    padding: 3rem;
}

.user-profile-container > form {
    background: rgba(255,255,255,0.8);
    border: 3px solid #864D95;
    border-radius: 1rem;
    padding: 4rem;
}

.user-profile-container > form > div{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.user-container-v2{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1rem;
}

.user-card {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255,255,255,0.8);
    border: 3px solid #864D95;
    border-radius: 1rem;
    justify-content: center;
    align-items: center;
    height: 300px;
}

.user-card > div {
    display: flex;
}

.user-card > div:first-child {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    font-weight: bold;
}

.user-card > div:nth-child(2) {
    justify-content: center;
    align-items: center;
    gap: 0.2rem;
    background: rgba(109,195,232,0.5);
    padding: 0.5rem 1rem;
    border-radius: 3rem;
    color: white;
    font-weight: bold;
}

.user-card > div:last-child {
    gap: 1rem;
}

.user-card > div > p {
    line-height: 20px;
    margin-left: 5px;
    font-size: 1.2rem;
}

.user-pagination{
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 3rem;
}

.roles-check{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1rem;
}

.admin-nav-back{
    display: flex!important;
    justify-content: center;
    align-items: center;
    margin: 1rem;
}

.admin-nav-back > div{
    display: flex;
    gap: 1rem;
    align-items: center;
}

.admin-nav-back > div > a:hover {
    color: #f4f4f4!important;
}

.mt-5rem{
    margin-top: 5rem;
}

.demographics-table {
    background: rgba(255,255,255,1);
    border: 3px solid rgba(134,77,149,0.6);
    border-collapse: separate !important;
    border-radius: 1rem;
}

.audits-table {
    background: rgba(255,255,255,1);
    border: 3px solid rgba(134,77,149,0.6);
    border-collapse: separate !important;
    border-radius: 1rem;
    margin-top: 3rem;
}

.audit-btns{
    margin: 2rem auto;
}

.remove-user-btn{
    color: #f4f4f4!important;
    cursor: pointer!important;
}

.delete-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.2rem;
    color: #0e0e0e;
    font-weight: bold;
    transition: linear 0.3s;
}

.delete-btn:hover {
    transform: scale(1.05);
    color: #0e0e0e;
}

.edit-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.2rem;
    color: #0e0e0e;
    font-weight: bold;
    transition: linear 0.3s;
}

.edit-btn:hover {
    transform: scale(1.05);
    color: #0e0e0e;
}

.action-td{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
}

#algoTestCPR, #algoTestIMV, #algoTestNIMV{
    background: rgba(255,255,255,1);
    padding: 1rem 3rem;
    border-radius: 1rem;
}

.algo-test-warning{
    display:flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.algo-weights-container-avg{
    display: grid;
    grid-template-columns: auto repeat(3, 1fr);
}

.algo-weights-container {
    display: grid;
    grid-template-columns: auto repeat(6, 1fr);
}

.algos-body{
    padding: 2rem;
}

.algos-history-container{
    overflow-x: scroll;
}

.negativeNum{
    color: red;
}

.positiveNum{
    color: green;
}

.neutralNum{
    color: grey;
}

.arrow {
    border: solid black;
    border-width: 0 3px 3px 0;
    display: inline-block;
    padding: 3px;
}

.up {
    transform: rotate(-135deg);
    -webkit-transform: rotate(-135deg);
    border-color: green;
}

.down {
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    border-color: red;
}

.up-neutral {
    transform: rotate(-135deg);
    -webkit-transform: rotate(-135deg);
    border-color: grey;
}

.vgcAlgoHistory-table {
    display: block !important;
    background: rgba(255,255,255,1);
    border: 3px solid rgba(134,77,149,0.6);
    border-collapse: separate !important;
    border-radius: 1rem;
    overflow-x: auto;
    margin: 1rem;
}

.type-dropdown {
    background: rgba(255,255,255,0.9) !important;
    padding: 1rem;
    width: 100%;
    border: 2px solid rgba(134,77,149,1);
    border-radius: 1rem;
}

.tab {
    overflow: hidden;
    border: 1px solid #ccc;
    background-color: #f1f1f1;
}

.tab a {
    background-color: inherit;
    float: left;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 14px 16px;
    transition: 0.3s;
}

.tab a:hover {
    background-color: rgba(134,77,149,1);
}

.tab a.active {
    background-color: rgba(134,77,149,1);
    color: #f4f4f4;
}

.account-body{
    background: rgba(255,255,255,0.8);
    padding: 4rem 6rem;
}

#qrCode {
    border: 3px solid rgba(134,77,149,1);
    border-radius: 1rem;
    width: fit-content !important;
    padding: 1rem;
}

.otp-container{
    display: flex!important;
}

.otp-container input {
    width: 50px;
    font-size: 32px;
    padding: 10px;
    margin: 1rem 5px;
    text-align: center;
    border-radius: 5px;
    border: 2px solid rgba(134,77,149,1);
    background: rgba(255,255,255,0.8);
    font-weight: bold;
    color: rgba(134,77,149,1);
    outline: none;
    transition: all 0.1s;
}

.otp-container input:focus {
    border: 3px solid rgba(134,77,149,0.6);
    box-shadow: 0 0 2px 2px rgba(134,77,149,1);
}

.password-rules ul li{
    text-decoration: none;
    list-style-type: none;
}

.progress {
    height: 3px !important;
}

.progress-bar-danger {
    background-color: #e90f10;
}

.progress-bar-warning {
    background-color: #ffad00;
}

.progress-bar-success {
    background-color: #02b502;
}

.hover-pointer:hover{
    cursor: pointer;
}

.qr-code-modal {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 1rem;
    background: rgba(255,255,255,1);
    border: 3px solid rgba(134,77,149,1);
    width: 500px;
    padding: 2rem;
    border-radius: 1rem;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 20;
}

.download-qr {
    border: 3px solid rgba(134,77,149,1);
    border-radius: 1rem;
    padding: 1rem;
}

.page-link {
    color: #6DC3E8;
}

.page-item.active .page-link {
    background-color: #6DC3E8 !important;
    border-color: #6DC3E8 !important;
}

.form-check-input {
    accent-color: #864D95;
}

.tablinks{
    color: #864D95;
}

.tablinks:hover {
    color: #f4f4f4;
}

#dnrWarning {
    left: 50%;
    transform: translateX(-50%);
}

.gap-1{
    gap: 12px;
}

.footer-text {
    max-width: 50rem !important;
    white-space: normal;
    overflow-wrap: break-word;
    hyphens: auto;
    line-height: normal;
}

.larger-font{
    font-size: 1.1rem;
}