/* 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. */

a.navbar-brand {
    white-space: normal;
    text-align: center;
    word-break: break-all;
}

/* Provide sufficient contrast against white background */
a {
    color: #0366d6;
}

.container {
    width: 100%;
    max-width: 1900px;
}

.requisitionsummarycontainer {
    /*position: fixed;*/
    top: 114px;
}
/* START Tooltip for Requisition details */
.tooltip-wrapper {
    position: relative;
    display: inline-block;
    border-bottom: 1px dotted black;
    cursor: help;
}

span[tooltip] {
    visibility: hidden;
    position: absolute;
    width: 120px;
    bottom: 100%;
    left: 50%;
    margin-left: -60px;
    background-color: #363636;
    color: #fff;
    text-align: center;
    padding: 5px 0;
    border-radius: 6px;
    z-index: 1;
    font-size: 12px;
}

    span[tooltip]::after {
        content: "";
        position: absolute;
        top: 100%;
        left: 50%;
        margin-left: -5px;
        border-width: 5px;
        border-style: solid;
        border-color: #555 transparent transparent transparent;
    }

.tooltip-wrapper:hover span[tooltip] {
    visibility: visible;
}
/* END Tooltip for Requisition details */

/* START Regitration State Indication */
.parent-registration-container {
    margin-left: 7px;
    display: flex;
    flex-wrap: wrap;
    justify-content: left;
    align-items: center;
}

.circle {
    border-radius: 50%;
    width: 32px;
    height: 32px;
    padding: 5px;
    background: #e6ecef;
    color: #414141;
    text-align: center;
}

.circle-active {
    border-radius: 50%;
    width: 32px;
    height: 32px;
    padding: 5px;
    background: #479cc8;
    color: #fff;
    text-align: center;
}

.registration-state {
    padding: 14px;
    color: #9da3a6
}

.registration-state-active {
    padding: 14px;
    color: #479cc8;
}

.registration-state-patient {
    padding: 14px;
    color: #479cc8;
    text-align: right;
}
/* END Registration State Indication */

/*#ff6d41*/
.btn-primary {
    color: #fff;
    /*background-color: #1b6ec2;*/
    background-color: #ff6d41; /*trond - endring etter oppdatering av blazor*/
    border-color: #1861ac;
}

/*trond - endring etter oppdatering av blazor*/
.btn-secondary {
    color: #fff;
    background-color: #479cc8;
    border-color: #1861ac;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.nav-link.text-white.active {
    background-color: var(--rz-card-background-color);
    border-radius: 5px;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    /* Margin bottom by footer height */
    margin-bottom: 60px;
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    line-height: 10px; /* Vertically center the text there */
}

.nav-item__push-right {
    margin-right: 0;
}

.dark-navbar {
    background-color: #5d717b;
    border-bottom: 1px solid #435863;
}

[data-href] {
    cursor: pointer;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    color: black;
    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;
    }

.attention {
    border-style: solid;
    border-color: #fd6e41;
}

.attention-working {
    border-style: solid;
    border-color: dodgerblue;
}

.attention-success {
    border-style: solid;
    border-color: limegreen;
}

@media print {

    .container-fluid > * {
        color: #000;
    }
}

/*Fjerner horisontal scrollbar */
.row {
    margin-left: 0px !important;
    margin-right: 0px !important;
}

.save-local-package {
    display: grid;
    grid-gap: 10px;
    grid-template-columns: auto 1fr auto;
    align-items: center;
}

.selected-analyses-container {
    display: grid;
    margin-top: 37px;
}

/*Gjør at valgt tab-item skiller seg mer ut fra bagrunnen*/
.rz-tabview-selected {
    background-color: #5d717b !important;
}

.analysis-servprovider-selection {
    display: grid;
    grid-column-gap: 1em;
    grid-template-columns: 300px 1fr;
    align-items: center;
    margin-bottom: 2em;
}

    .analysis-servprovider-selection > .items {
        min-height: 50px
    }

.organization-unitadmin-container {
    display: grid;
    grid-gap: 10px;
    grid-template-rows: auto 1fr;
    margin: 10px;
}

    .organization-unitadmin-container .centered-buttons {
        text-align: center;
    }

.header a {
    color: white;
}

.create-requisition-container {
    margin-bottom: 1em;
}

.analysis-summary-list {
    margin: 1em;
    display: grid;
    grid-template-columns: auto 1fr;
    grid-column-gap: 1em;
}

.standard-inner-card {
    margin: 1em !important;
}

    .standard-inner-card .compact {
        margin: 1em !important;
        padding: 2px !important;
    }

.two-column-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-column-gap: 1em;
}

.two-column-auto-1fr {
    display: grid;
    gap: .5em;
    grid-template-columns: auto 1fr;
    grid-column-gap: 1em;
    align-items: center;
    justify-content: center;
}

.full-width {
    width: 100%;
}

.two-column-1fr-auto {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-column-gap: 1em;
    align-items: center;
    justify-content: center;
}

.patient-search-grid {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    grid-column-gap: 1em;
    grid-row-gap: .5em;
    align-items: center;
    justify-content: center;
}

.analysis-config-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-column-gap: 1em;
}

.base-catalog-config-grid {
    display: grid;
    grid-template-columns: auto 1fr auto 1fr;
    gap: 1em;
    align-items: center;
}

.analysis-config-grid {
    display: grid;
    grid-template-columns: auto 1fr auto 1fr auto 1fr;
    gap: 1em;
    align-items: center;
}

.answer-questions-grid {
    display: grid;
    grid-template-columns: auto auto 1fr auto 1fr auto 1fr;
    gap: 1em;
    align-items: center;
}

.grid-col-span-2 {
    grid-column: span 2;
}

.grid-col-span-3 {
    grid-column: span 3;
}

.grid-col-span-4 {
    grid-column: span 4;
}

.grid-col-span-5 {
    grid-column: span 5;
}

.grid-col-span-6 {
    grid-column: span 6;
}

.grid-col-span-7 {
    grid-column: span 7;
}

.flex-float-right {
    display: flex;
    /*grid-template-columns: auto auto;*/
    /* width: 300px;*/
    float: right;
    gap: 1em;
}

.flex-space-between {
    display: flex;
    justify-content: space-between;
}

.blurred-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(10px);
    transition: backdrop-filter .5s ease-in-out;
    z-index: 90;
}

.inactivity-warning {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 100;
}

.centered {
    text-align: center;
}

.mouse-pointer {
    cursor: pointer;
}

.mouse-arrow {
    cursor: default;
}

.table-container {
    border-top: 1px solid var(--rz-grid-stripe-background-color);
    border-bottom: 1px solid var(--rz-grid-stripe-background-color);
    margin-bottom: 1rem;
    overflow-y: auto;
    max-height: 360px;
}

    .table-container > * {
        display: grid;
        /*grid-template-columns: 1fr 140px 270px 69px; --når man introduserer utskrift av enkeltlabels igjen*/
        grid-template-columns: 1fr 140px 270px;
        color: white;
    }

.table-header {
    grid-column: 1 / span 3;
    background-color: var(--rz-base-900);
    font-size: var(--rz-grid-header-font-size);
    line-height: var(--rz-grid-header-line-height);
    text-transform: var(--rz-grid-header-text-transform);
}

.table-row {
    grid-column: 1 / span 3;
}

    .table-row:nth-child(even) {
        background-color: var(--rz-grid-background-color);
    }

    .table-row:nth-child(odd) {
        background-color: var(--rz-grid-stripe-background-color);
    }

.table-cell {
    border-left: 1px solid var(--rz-grid-stripe-background-color);
    border-right: 1px solid var(--rz-grid-stripe-background-color);
    line-height: var(--rz-grid-cell-line-height);
    padding: 10px;
    text-overflow: ellipsis;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.analysis-filter {
    position: absolute;
    left: 335px;
    width: calc(100% - 355px);
}

/* FileUpload */

.file-drop-zone {
    display: flex;
    width: 100%;
    border: 3px dotted #fb275d;
    align-items: center;
    margin-bottom: 2px;
}

.hover {
    border-style: solid;
    background-color: #00ca71;
}

.image-container {
    display: flex;
    justify-content: center;
}

    .image-container img {
        width: 50%;
    }

::deep input[type=file] {
    width: 100%;
    padding: 20px;
}

.error-message-container {
    color: red;
    text-align: center;
}