html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

html, body, #app {
    height: 100%;
    overflow: auto;
}

/*
.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}
*/

.icon-primary-color {
    color: rgb(0, 55, 111);
}

.icon-secondary-color {
    color: rgb(204, 236, 251);
}

.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;
}

/* Sidebar */

.sidebar {
    min-width: 200px;
    max-width: 200px;
    width: 200px;
    box-shadow: 0px 2px 8px 0px rgba(0, 0, 0, 0.16);
    transition: transform 0.1s ease-out;
    height: 100%; 
    max-height: 100%;
    overflow: auto;
}

    .sidebar.collapse {
        display: none;
    }

    .sidebar.expand {
        display: block;
    }

@media (max-width: 1199.98px) {
    .sidebar {
        display: none;
    }

        .sidebar.expand {
            position: fixed;
            top: 3.5rem;
            left: 0;
            height: auto;
            min-width: 100%;
            background-color: #fff;
            z-index: 1050;
        }
}

/* PsGrid */

.psgrid-popup {
    min-width: 80%;
}

/* Tile */

.pstile-header {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

.pstile {
    padding: 5px;
    width: 100px;
    text-align: center;
    display: flex;
    flex-direction: column;
}

.pstile-img {
    width: 70px;
    height: 70px;
}

.pstile-text {
    font-size: 0.75rem;
}

a.pstile-link:link {
    text-decoration: none;
}

a.pstile-link:visited {
    text-decoration: none;
}

a.pstile-link:hover {
    text-decoration: underline;
}

a.pstile-link:active {
    text-decoration: underline;
}

.blink {
    animation: blinkingText 0.9s;
    animation-iteration-count: 10;
}

@keyframes blinkingText {
    0% {
        color: #00376f;
    }

    50% {
        color: white;
    }

    100% {
        color: #00376f;
    }
}

.warning-blink {
    animation: warningBlinkAnimation 1s linear infinite;
}

@keyframes warningBlinkAnimation {
    25% {
        opacity: 100%;
    }

    50% {
        opacity: 0%;
    }

    75% {
        opacity: 100%;
    }
}

.mh-70 {
    max-height: 70%;
}

.div-disable {
    pointer-events: none;
    opacity: 90%;
}

.break {
    flex-grow: 1;
    max-width: 50%;
}

.same-line {
    display: flex;
    flex-wrap: wrap;
}

.text-box-border {
    border: 0px;
}

/* Font Size */

.fs-07 {
    font-size: 0.7rem;
}

.fs-075 {
    font-size: 0.75rem;
}

.fs-08 {
    font-size: 0.8rem;
}

.fs-085 {
    font-size: 0.85rem;
}

.fs-09 {
    font-size: 0.9rem;
}

.fs-095 {
    font-size: 0.95rem;
}

/* Opacity */

.opa-60 {
    opacity: 60%;
}

.opa-70 {
    opacity: 70%;
}

.opa-80 {
    opacity: 80%;
}

/* Background Color */

.bg-alternate {
    background-color: rgba(0, 0, 0, 0.04) !important;
}

.bg-alternate-group {
    background-color: rgba(0, 0, 0, 0.15) !important;
}

.ps__status_new {
    background-color: rgba(255, 182, 193, 0.3) !important;
}

.ps__status_partial {
    background-color: rgba(255, 255, 184, 0.3) !important;
}

.ps__status_alternate-partial-1 {
    background-color: rgba(255, 200, 125, 0.3) !important;
}

.ps__status_alternate-partial-2 {
    background-color: rgba(255, 215, 70, 0.3) !important;
}

.ps__status_alternate-partial-3 {
    background-color: rgba(210, 200, 140, 0.3) !important;
}

.ps__status_full {
    background-color: rgba(152, 251, 152, 0.3) !important;
}

.ps__status_alternate-full-1 {
    background-color: rgba(64, 224, 208, 0.3) !important;
}

.ps__status_alternate-full-2 {
    background-color: rgba(0, 158, 158, 0.3) !important;
}

.ps__status_alternate-full-3 {
    background-color: rgba(178, 198, 0, 0.3) !important;
}

.ps__status_cancelled {
    background-color: rgba(255, 160, 122, 0.3) !important;
}

.ps__status_closed {
    background-color: rgba(220, 220, 220, 0.3) !important;
}

.ps__status_available {
    background-color: rgba(152, 251, 152, 0.3) !important;
}

.ps__status_busy {
    background-color: rgba(255, 255, 184, 0.3) !important;
}

.ps__status_not-available {
    background-color: rgba(255, 160, 122, 0.3) !important;
}

/* Text Color */

.text-darkblue {
    color: darkblue !important;
}

.text-darkred {
    color: darkred !important;
}

.text-darksalmon {
    color: darksalmon !important;
}

.text-darkgoldenrod {
    color: darkgoldenrod !important;
}

.text-darkolivegreen {
    color: darkolivegreen !important;
}

.text-darkgreen {
    color: darkgreen !important;
}

.text-darkcyan {
    color: darkcyan !important;
}

.text-darkslategray {
    color: darkslategray !important;
}

.text-dimgray {
    color: dimgray !important;
}

.text-darkslateblue {
    color: darkslateblue !important;
}

.text-darkorange {
    color: darkorange !important;
}

.text-darkmagenta {
    color: darkmagenta !important;
}

/* Fade Animation */

@keyframes fadeInRightAnimation {
    0% {
        opacity: 0;
        transform: translateX(10px)
    }

    100% {
        opacity: 1;
        transform: translateX(0px)
    }
}

.fadeInRight {
    animation: fadeInRightAnimation 1s;
}

@keyframes fadeOutLeftAnimation {
    0% {
        opacity: 1;
        transform: translateX(0px)
    }

    100% {
        opacity: 0;
        transform: translateX(-10px)
    }
}

.fadeOutLeft {
    animation: fadeOutLeftAnimation 1s;
}

/* PsFormItem */

.psformitem-caption {
    font-size: 0.72rem;
}

.mandatory {
    font-size: 0.72rem;
    color: red !important;
}

    .mandatory:after {
        content: "*";
        color: red;
        padding-left: 3px;
        font-weight: 900;
    }

/* PsFormGroup */

.psformgroup-header {
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.3));
}

.psformlabel {
    padding-top: 3px;
}

.psprintedit-text {
    text-decoration-line: underline;
    text-decoration-style: dotted;
}

.emr-encounter-header {
    background-image: linear-gradient(to right, rgba(210, 240, 255, 1), rgba(50, 180, 255, 1));
}



@media print {

    html, body, #app {
        overflow: visible !important;
    }

    .psformitem-caption {
        font-weight: bold !important;
    }

    .dxbl-checkbox-radio.dxbl-checkbox-checked label.dxbl-text {
        font-weight: bold !important;
    }

    .dxbl-checkbox-radio.dxbl-checkbox-checked input {
        border-width: 5px !important;
        border-style: solid !important;
        border-color: black !important;
        border-radius: 50%;
        -moz-border-radius: 50%;
        -webkit-border-radius: 50%;
    }

    .dxbl-checkbox.dxbl-checkbox-checked label.dxbl-text {
        font-weight: bold !important;
    }

    .dxbl-checkbox.dxbl-checkbox-checked input {
        border-width: 5px !important;
        border-style: solid !important;
        border-color: black !important;
    }
}
