﻿
/* general */
html {
    font-family: sans-serif;
    font-size: 14px;
    line-height: 1.15;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    -ms-overflow-style: scrollbar;
    -webkit-tap-highlight-color: transparent;
    scroll-behavior: smooth;
}

body.externalMedisFhirApp {
    background-color: #f7f7f7;
    color: #454545;
    -webkit-font-smoothing: antialiased;
    padding: 0;
    margin: 0;
    height: 100%;
    width: 100%;
}


/* navbar */
.navbar-brand {
    border-radius: 20%;
    background-color: #f7f7f7;
}

    .navbar-brand:hover {
        background-color: #d9c3c3;
    }

.brand-logo {
    height: 60px;
    margin-left: 0.5em;
    margin-right: 0.5em;
}

span.nav-link-icon {
    display: block;
}

span.nav-link-name {
    display: block;
}

li.nav-item {
    text-align: center;
    font-size: 18px;
}

.nav-link {
    color: #f7f7f7 !important;
}

    .nav-link:hover {
        color: #d9c3c3 !important;
    }

nav.navbar {
    background-color: #f14841 !important;
    /*background-image: linear-gradient(to bottom, #fdf3af, #ed1a23);*/
}

.k-navbar-titlebar {
    border-top-left-radius: 0.25rem;
    border-top-right-radius: 0.25rem;
    border-color: #dee2e6;
    padding: 1rem 1rem;
    border-width: 0 0 1px;
    border-style: solid;
    white-space: nowrap;
    display: -ms-flexbox;
    display: none;
    -ms-flex-direction: row;
    flex-direction: row;
    -ms-flex-negative: 0;
    flex-shrink: 0;
    -ms-flex-align: center;
    align-items: center;
    max-width: 150px;
    margin: auto;
    margin-bottom: 1.25rem;
}

.container {
    max-width: 100vw !important;
    padding: 1.5rem !important;
    /*height: calc(100vh - 85px);*/
}
/*
div#navbar {
    height: 85px;
}*/

@media (max-width: 768px) {
    .k-navbar-titlebar {
        display: flex;
    }
}
/* loading */
.k-loading-overlay {
    z-index: 999999;
}

.k-loading-container {
    position: absolute;
    top: 50%;
    left: 50%;
    display: inline-block;
    transform: translate(-50%, -50%);
    transform: -webkit-translate(-50%, -50%);
    transform: -moz-translate(-50%, -50%);
    transform: -ms-translate(-50%, -50%);
    text-align: center;
    z-index: 999999;
}

.k-loading-img {
    display: block;
    height: 70px;
}

.k-loading-txt {
    display: block;
}

/* page style */
.container {
    padding-top: 0.75rem;
    padding-left: 0.75rem;
}

/* buttons */
.btn-outline-primary {
    color: #ed1a23 !important;
    border-color: #ed1a23 !important;
}

    .btn-outline-primary:hover {
        color: #fff !important;
        background-color: #ed1a23 !important;
        border-color: #ed1a23 !important;
    }

a.url {
    color: #ed1a23 !important;
    text-decoration: none !important;
}

    a.url:hover {
        color: #d01019 !important;
    }

a.url-icon {
    text-decoration: none;
    margin-left: 0.75rem;
    color: #ed1a23 !important;
}

    a.url-icon:hover {
        color: #d01019 !important;
    }


.k-input-inner {
    background-color: transparent;
}

    .k-input-inner:focus, .k-input-inner.k-focus {
        border-color: #f68d91;
        color: #495057;
        box-shadow: 0 0 0 0.25rem rgba(237, 26, 35, 0.25);
    }

    .k-pdf-export .k-input-inner:focus, .k-input-inner.k-focus {
        border-color: unset;
        color: unset;
        box-shadow: unset;
    }


/* login */
.login-form {
    max-width: 400px;
    margin: auto;
    margin-top: 60px;
    text-align: center;
}

.app-version {
    padding: 0;
    position: absolute;
    bottom: 0;
    left: 50%;
    color: #9a9ea1;
    transform: translateX(-50%);
}

legend.k-form-legend {
    text-align: center;
}

.k-form-legend-img {
    width: 170px;
    margin-bottom: 1em;
}

.login-form-submit {
    font-size: 16px;
    font-weight: bold;
    padding-left: 3em !important;
    padding-right: 3em !important;
}

.k-floating-label-container.k-text-disabled span.k-clear-value {
    display: none;
}

/* tabs */
.k-tab {
    display: inline-block;
    padding-right: 0.5em;
    cursor: pointer;
}

.k-current-tab {
    text-decoration: underline;
    color: #ed1a23;
}

a {
    cursor: pointer;
}

/* kendo */
.k-chip.k-chip-md.k-rounded-md.k-chip-solid.k-chip-solid-base {
    border-color: #ced4da;
    color: #495057;
    background-color: #ffffff;
}

label.k-label, span.k-label {
    color: #9d9fa1;
}

.k-custom-dialog .k-widget.k-window.k-dialog {
    min-width: 650px;
}

.k-custom-dialog-max .k-widget.k-window.k-dialog {
    max-width: 650px;
}

.k-custom-dialog-text {
    max-width: 400px;
}

.k-custom-dialog-content {
    max-height: 70vh;
    overflow-y: auto;
    overflow-x: hidden;
}

.k-window-content.k-dialog-content {
    max-height: 90vh;
    overflow-y: auto;
}

.k-form-error.k-text-start {
    max-width: 450px;
}

.k-custom-border-form-dialog {
    min-width: 600px;
    max-width: 700px;
    margin: auto;
    border: 1px solid #dee2e6 !important;
    padding: 0.25rem !important;
}

.k-animation-container {
    z-index: 10010 !important;
}

@media screen and (max-width:650px) {
    .k-custom-dialog .k-widget.k-window.k-dialog {
        min-width: unset;
        width: 100%;
    }

    .k-custom-dialog-max .k-widget.k-window.k-dialog {
        max-width: unset;
        width: 100%;
    }
}


/* graph-list */
.combobox-container-buttons {
    display: inline-block;
    padding-left: 0.75rem;
}

    .combobox-container-buttons span.k-floating-label-container {
        margin-right: 0.5rem;
        cursor: pointer;
        color: #d6e5e9;
    }

        .combobox-container-buttons span.k-floating-label-container:hover {
            color: #b5d0d7;
        }

.graph-list-root {
    width: 100%;
    background: #f7f7f7;
    margin: 1rem 0 1rem 0;
}

.graph-list-parent-root {
    margin-left: 0px !important;
    padding: 6px !important;
}

.graph-list-parent {
    margin-left: 10px;
    padding-left: 15px;
}

.graph-list-child {
    list-style: none;
    font-size: 16px;
    font-weight: normal;
}

.graph-list-child-element-container {
    width: fit-content;
    cursor: pointer;
    display: inline-block;
}

.graph-list-child-element {
    padding-left: 10px;
    padding-right: 10px;
    font-size: 16px;
    border: 1px solid #f7f7f7;
    border-radius: 5px;
}

    .graph-list-child-element:hover {
        border: 1px solid #d6e5e9;
    }

.graph-list-child-icon {
    text-decoration: none;
    margin-left: 0.75rem;
    display: none;
    color: #d6e5e9;
}

    .graph-list-child-icon:hover {
        color: #b5d0d7;
    }

.graph-list-child-element-container:hover .graph-list-child-icon {
    display: inline-block;
}

.graph-list-child-icon-lock {
    display: inline-block;
    color: #ed1a23;
    position: relative;
}

.graph-topup-required {
    position: absolute;
    background: #f3f3f3;
    border: 1px solid #b5d0d7;
    font-size: 12px;
    color: #50686e;
    z-index: 1;
    padding: 8px;
    min-width: 125px;
    bottom: 20px;
    left: 0px;
    display: none;
    -webkit-box-shadow: 0px 0px 5px 0px rgba(71, 82, 84, 0.5);
    -moz-box-shadow: 0px 0px 5px 0px rgba(71, 82, 84, 0.5);
    box-shadow: 0px 0px 5px 0px rgba(71, 82, 84, 0.5);
}

.graph-list-child-icon-lock:hover .graph-topup-required {
    display: inline-block;
}

.graph-list-child-dropdown {
    display: inline-block;
}

.graph-list-child-input {
    display: inline-block;
}

.graph-list-child-edge {
    position: relative;
    display: inline-block;
    width: 16px;
    height: 16px;
}

    .graph-list-child-edge:after {
        content: '';
        position: absolute;
        left: 6px;
        top: 0;
        height: 70%;
        border-left: 1px solid #d6e5e9;
        border-bottom: 1px solid #d6e5e9;
        width: calc(100% - 7px);
    }

.graph-list-child-mediselement {
    display: inline-block;
    padding-left: 0.75rem;
}

span.graph-list-child-medisproperty {
    display: inline-block;
    color: #ed1a23;
    text-decoration: underline;
}

span.graph-list-child-valueproperty {
    display: inline-block;
    border: 1px solid #d6e5e9;
    padding-left: 10px;
    padding-right: 10px;
    font-size: 16px;
    border-radius: 5px;
    max-width: 400px;
    word-break: break-word;
}

span.graph-list-child-fhirtypeidentifier {
    display: inline-block;
    color: #01a8c1;
    text-decoration: underline;
}

.k-list-query-params-container {
    margin-top: 1rem;
    background-color: #f3f3f3;
    padding: 1rem;
}

span.k-list-query-params-label {
    color: #9d9fa1;
}

span.k-visualization-fhir-json {
    display: block;
    width: 100%;
    padding: auto;
    padding: 10px;
}

.config-schedules-checkbox {
    display: inline-block;
    width: 60%;
    vertical-align: middle;
}

.config-schedules-timepicker {
    display: inline-block;
    width: 40%;
    vertical-align: middle;
}

.bottom-line {
    border-bottom: 1px solid #dee2e6 !important;
}

/*fhir-visualizers*/
a.list-group-item:hover {
    color: #ed1a23;
    background-color: #f7f7f7;
}

.badge {
    float: right;
    margin: 0 0 0 5px;
    min-width: 10px;
    background-color: #454545;
}

.health-record__header {
    display: -ms-flexbox;
    display: flex;
    color: #ed1a23;
    font-size: 1em;
    font-weight: bold;
    text-transform: uppercase;
    margin: 0.5rem 0;
}

​
.health-record__header .header-divider {
    width: 100%;
    border-bottom: 1px solid #7e90a3;
    margin-bottom: 10px;
}

​
.report-line {
    background: #EAEAEA;
}

.display-linebreak {
    white-space: pre-line;
}

dl {
    margin-top: 0;
    margin-bottom: 20px
}

dd, dt {
    line-height: 1.42857
}

dt {
    font-weight: 700
}

dd {
    margin-left: 0
}

.dl-horizontal dd:after, .dl-horizontal dd:before {
    content: " ";
    display: table
}

.dl-horizontal dd:after {
    clear: both
}

@media (min-width:768px) {
    .dl-horizontal dt {
        float: left;
        clear: left;
        text-align: right;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap
    }

    .dl-horizontal dd {
        margin-left: 180px
    }
}

.k-reset-floating-label .k-floating-label-container {
    display: inline-block !important;
    width: initial !important;
}

.htmlname-background {
    background-color: #d6e5e9;
    box-shadow: 0 0 10px 4px #d6e5e9;
}

.pulse {
    box-shadow: 0 0 0 rgba(237,26,35);
    animation: pulse 1s infinite;
}

div[error-name], div[error-group-name] {
    display: none;
    color: red;
    font-size: 12px;
    margin-left: 0px;
    margin-top: 8px;
}

.show-error-name {
    display: block !important;
}

span.k-datepicker:has(input.pulse), span.k-timepicker:has(input.pulse), span.k-datetimepicker:has(input.pulse),
span.k-dropdownlist:has(input.pulse), span.k-multiselect:has(input.pulse) {
    box-shadow: 0 0 0 0.25rem rgb(237 26 35);
    animation: pulse 1s infinite;
}

@-webkit-keyframes pulse {
    0% {
        -webkit-box-shadow: 0 0 0 0 rgba(237,26,35);
    }

    70% {
        -webkit-box-shadow: 0 0 0 2px rgba(237,26,35);
    }

    100% {
        -webkit-box-shadow: 0 0 0 0 rgba(237,26,35);
    }
}

@keyframes pulse {
    0% {
        -moz-box-shadow: 0 0 0 0 rgba(237,26,35);
        box-shadow: 0 0 0 0 rgba(237,26,35);
    }

    70% {
        -moz-box-shadow: 0 0 0 2px rgba(237,26,35);
        box-shadow: 0 0 0 2px rgba(237,26,35);
        appearance: none;
        transform: scale(0.99);
    }

    100% {
        -moz-box-shadow: 0 0 0 0 rgba(237,26,35);
        box-shadow: 0 0 0 0 rgba(237,26,35);
    }
}

img[signature]:not(.signed) {
    background-color: #d6e5e9;
}

.signature-wrapper {
    height: 300px;
}

    .signature-wrapper .k-signature {
        width: 100%;
        height: 100%;
    }

    .signature-wrapper img {
        user-select: none
    }

.parent-node {
    display: inline-block;
    position: relative;
    box-sizing: border-box;
    width: fit-content;
}

.k-pdf-export .parent-node span.k-icon {
    display: none !important;
}

.k-pdf-export .k-dropdownlist .k-input-button,
.k-pdf-export .k-dropdownlist span.k-clear-value,
.k-pdf-export .k-multiselect input.k-input-inner,
.k-pdf-export .k-multiselect span.k-clear-value,
.k-pdf-export .k-multiselect span.k-chip-remove-action {
    display: none !important;
}

.k-pdf-export .k-dropdownlist {
    background: transparent !important;
}

.k-pdf-export .k-multiselect {
    background: transparent !important;
    border: 0px !important;
}

    .k-pdf-export .k-multiselect span.k-chip {
        width: 100%;
    }

    .k-pdf-export .k-multiselect span.k-chip-label, .k-pdf-export .k-dropdownlist .k-input-value-text {
        max-width: 90%;
    }

.k-multiselect span.k-chip {
    border-color: #ced4da;
    margin: 2px !important;
}

.k-multiselect span.k-chip-label {
    padding-right: 4px !important;
}

.k-dropdownlist, .k-picker {
    border-color: #ced4da !important;
    background-color: transparent !important;
}

    .k-dropdownlist input {
        display: none !important;
    }

    .k-dropdownlist .k-input-value-text, .k-multiselect .k-chip-label {
        overflow: visible;
        text-overflow: unset;
        white-space: normal;
    }

.parent-node span.k-icon {
    position: absolute;
    right: 6px;
    bottom: 6px;
    cursor: pointer;
    color: #01a8c1;
    font-size: 20px;
    z-index: 100;
}

    .parent-node span.k-icon.input-icon-mic {
        right: 0;
    }

    .parent-node span.k-icon:hover {
        color: #01879b;
    }

    .parent-node span.k-icon.listening {
        color: #ed1a23;
    }

.parent-node textarea {
    display: block;
}

.k-signature-actions.k-signature-actions-bottom {
    width: 2.5rem;
}

.k-list-item-text {
    white-space: nowrap;
    overflow: hidden;
    overflow-x: auto;
}

.error-content {
    font-size: 18px;
    text-align: center;
    color: #ed1a23;
    max-width: 500px;
    margin: auto;
}

.k-card-footer {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    padding: 16px 32px
}

.k-dialog,
.signature-wrapper {
    transform: none !important;
}

.k-input.k-signature {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 600px;
    height: 350px;
    flex-shrink: 0;
}

.k-signature-canvas {
    width: 100%;
    height: calc(100% - 50px);
}

.k-signature-actions-bottom {
    order: 2;
    margin-top: 8px;
    display: flex;
    justify-content: flex-end;
}

/* TOP MED FIX */

.k-card {
    height: 100vh;
}

.k-card-body iframe {
    height: 100% !important;
    width: 100% !important
}

@media screen and (max-width: 767px) {
    .k-input.k-signature {
        width: 480px;
        height: 350px;
    }

    .main-container {
        height: 100svh !important;
    }

    .main-body-row-0 {
        height: calc(100vh - 70px) !important;
    }

    .main-body-row-1 {
        height: calc(100vh - 150px) !important;
    }

    .main-body-row-2 {
        height: calc(100vh - 250px) !important;
    }
}

@media screen and (max-width: 640px) {
    .k-dialog-wrapper .k-dialog {
        width: fit-content;
    }

    .k-card-footer {
        gap: 8px;
        padding: 16px;
    }
}

@media screen and (max-width: 540px) {
    .k-input.k-signature {
        width: 300px;
        height: 300px;
    }
}

/* fix popup signature form RM */
.k-input.k-signature {
    border: 0px;
}

    .k-input.k-signature:focus-within {
        box-shadow: none;
    }

.k-signature-actions.k-signature-actions-bottom {
    position: absolute;
    top: 0px;
    right: 0px;
}
