﻿/*@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');*/

/* Area: Modify default mud behaviours */
.mud-main-content {
    padding: calc(var(--mud-appbar-height) + 20px) 20px 20px 20px;
}

.mud-expand-panel .mud-expand-panel-header {
    background-color: var(--mud-palette-drawer-background);
}

.mud-tooltip {
    text-align: left;
}

.mud-table-root .mud-table-head {
    background-color: var(--mud-palette-drawer-background);
}

.mud-card-header {
    background-color: var(--mud-palette-drawer-background);
}

.mud-dialog-content {
    max-height: 90vh;
    overflow: scroll;
}

a {
    color: rgb(22, 53, 190);
}

/* Area: Our custom classes */
.jsonViewer .linksSection {
    padding: 5px;
    margin-bottom: 1.5em;
}

    .jsonViewer .linksSection h1 {
        font-size: small;
        color: gray;
        display: inline;
    }

.inline_grayed_info {
    font-size: small;
    margin-left: 0.5em;
    color: gray;
}

.querypaper {
    padding: 10px;
    margin-bottom: 20px;
}

    .querypaper .title {
        line-height: 0px;
        font-weight: bold;
    }

.w-85 {
    width: 85% !important;
}

.w-100 {
    width: 100% !important;
}

.leapDateTimePicker {
    display: flex;
}

.warning {
    background-color: #FFF3E0;
}

    .warning:hover {
        background-color: #FFCC80;
    }

.error {
    background-color: #FBE9E7;
}

.fatalerror {
    font-size: larger;
    background-color: #FFC9C7;
}

.success {
    background-color: #E8F5E9;
}

    .success:hover {
        background-color: #A5D6A7;
    }

.warningNoHover {
    background-color: #FFF3E0;
}

.successNoHover {
    background-color: #E8F5E9;
}

.textlist dt {
    float: left;
    margin-right: 2%;
    font-weight: bold;
    padding-top: 5px;
    font-size: 17px;
}

.textlist dd {
    padding-top: 5px;
    font-size: 17px;
}

.textlist dl {
    padding-bottom: 30px;
}

.clickable {
    cursor: pointer;
}

.modifiedrow {
    background-color: lightyellow;
}

blockquote {
    margin-left: 1em;
    margin-bottom: 0.5em;
    padding: 3px;
}

.pagingArea {
    display: flex;
    justify-items: end;
    gap: 5px;
    margin-top: 10px;
}

.markdown ul {
    list-style: circle;
    margin-left: 1.5em;
}

.mud-table-container {
    overflow-y: initial;
}

.deactivated {
    text-decoration: line-through;
    color: palevioletred;
}

.striped-list > * {
    border: 1px solid;
    border-color: var(--mud-palette-secondary-lighten);
    padding: 5px;
}

    .striped-list > *:nth-of-type(odd) {
        background-color: var(--mud-palette-table-striped);
    }

    .striped-list > *:not(:first-child) {
        margin-top: 5px;
    }

.linkOnHover:hover {
    text-decoration: underline;
}

.inlineIconContainer {
    position: relative;
    top: 0.4em;
}

.nodisplay {
    display: none !important;
}

.hiddenBaseToolTip {
    position: relative;
}

.v-center {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.gridStickyOuter {
    position: relative;
    height: 100%;
}

.gridStickyInner {
    position: sticky;
    top: 50%;
}

.borderHover:hover {
    outline: 1px solid #0000FF30;
}

.canDrop {
    outline: 2px solid yellow;
    outline-style: inset;
    background-color: #A0FF0030;
}

.mud-navmenu .mud-badge-wrapper.mud-badge-center.left {
    margin-left: 20px;
}

.clinic-select-item {
    border-radius: 6px !important;
    padding: 8px 12px !important;
}

    .clinic-select-item:hover {
        background: var(--mud-palette-tertiary) !important;
    }

    .clinic-select-item .clinic-select-item-name .mud-typography {
        text-align: start;
        width: 400px !important;
        font-size: 1.3rem !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

    .clinic-select-item svg {
        font-size: 1.7rem;
    }

.clinic-selected-item {
    border-radius: 6px !important;
    padding: 2px 12px !important;
}

    .clinic-selected-item .mud-typography {
        text-align: start;
        width: 100% !important;
        font-size: 1.5rem !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

    .clinic-selected-item svg {
        font-size: 2rem;
    }

.filter-category {
    margin-left: 8px !important;
    margin-right: 8px !important;
    margin-top: -14px !important;
    font-size: 12px !important;
    font-weight: 600;
}

.select-border {
    display: inline-block !important;
    position: relative;
    border: 1px solid var(--mud-palette-tertiary);
    border-radius: 6px;
    padding: 4px 6px;
}

.selected-clinic-border {
    display: inline-block !important;
    position: relative;
    border: 1px solid var(--mud-palette-primary) !important;
    border-radius: 6px;
    padding: 4px 6px;
    background: var(--mud-palette-tertiary);
}

.claimsystem-chip {
    border-radius: 6px !important;
    background: var(--mud-palette-tertiary) !important;
}

.claimsystem-chip-selected {
    background: var(--mud-palette-primary) !important;
    color: #FFF !important;
}

    .claimsystem-chip-selected .mud-typography {
        color: #FFF !important;
    }

.sys-permissions-menu {
    border-radius: 4px;
}

    .sys-permissions-menu button {
        padding: 6px 12px !important;
    }

.sys-permissions-dialog {
    height: 70vh;
    overflow: hidden !important;
    position: relative !important;
    transition: min-width 0.3s ease;
}

.sys-permissions-table mud-table-cell {
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    width: 100%;
}

.sys-permissions-table .mud-table-head .mud-table-cell {
    background-color: var(--mud-palette-tertiary) !important;
}

.sys-permissions-table td.mud-table-cell p {
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    width: 245px;
}

.dropzone-can-drop {
    border-color: var(--mud-palette-primary) !important;
}

.mud-table-dense * .mud-table-row .mud-table-cell {
    padding: 1px 24px 1px 16px;
}

.inactiveElement {
    text-decoration: line-through;
}

.hover-rotate {
    transition: all 2s;
}

    .hover-rotate:hover {
        transform: rotate(720deg);
    }

/* Good feedback button (Bamboo color) */
.thumbs-up-btn {
    color: #6CBA86 !important; /* White for contrast */
}

/* Bad feedback button (Candy color) */
.thumbs-down-btn {
    color: #DC5A6E !important;
}

.markdown a {
    text-decoration: underline;
    font-weight: bold;
}

    .markdown a:link {
        color: #007bff;
    }

    .markdown a:visited {
        color: #551A8B;
    }

    .markdown a:hover {
        color: #0056b3;
    }

    .markdown a:active {
        color: #003c7a;
    }

.markdown hr {
    border: none;
    border-top: 1px solid rgba(0,0,0,0.12);
    margin: 16px 0;
}
