﻿.titulo-ChatCenter {
    margin-bottom: -26px !important;
}

.logo-eniac {
    left: 32px !important;
    bottom: 4px !important;
    position: fixed !important;
}

.panel-top-keywords {
    padding: 0px !important;
}

.container-top-keywords {
    margin-top: 0px !important;
    border-color: #ffffff !important;
}

    .container-top-keywords > .panel-heading {
        background-color: #ffffff !important;
        padding: 0px !important;
    }

.navbar-light .navbar-nav .active > .nav-link, 
.navbar-light .navbar-nav .nav-link.active, 
.navbar-light .navbar-nav .nav-link.show, 
.navbar-light .navbar-nav .show > .nav-link {
    color: #9dd12a;
}

.navbar-light .navbar-toggler {
    border-color: #e5eef3;
}

.navbar-tools {
    max-width: 35%;
}
    .navbar-tools > * {
        margin: 0 5px 0 5px;
    }

    .navbar-tools img {
        max-height: 24px;
    }

.border {
    border: 1px solid #e5eef3 !important;
}

.border-top-0 { border-top: 0px solid !important }

.border-top-1 { border-top: 1px solid !important }

.border-top-2 { border-top: 2px solid !important }

.border-top-3 { border-top: 3px solid !important }

.border-top-4 { border-top: 4px solid !important }

.border-top-5 { border-top: 5px solid !important }

.border-labs-gradient {
    border-image: linear-gradient(to right, #9dd12a, #beef0c);
    border-image-slice: 1;
}

.metricButton {
    border-color: #e5eef3;
    overflow: hidden;
    text-align: left;
}

.metricButton::after {
    display: none !important;
}

.company-profile .profile-name {
    font-weight: bold;
    font-size: 12px;
}

#page-wrapper {
    padding-bottom: 50px;
}

#listMetricsButtonsMainChart > .btn-group {
    margin-bottom: 0.5rem;
}

#access-permissions-table tr > th {
    text-align: center;
}

#access-permissions-table tr > td {
    text-align: center;
}

#access-permissions-table tr > #menu-parent-node {
    text-align: left;
}

.table .thead-primary th {
    color: #fff;
    background-color: #1ab394;
    border-color: #1ab394;
}

.no-max-width {
    max-width: none !important;
}

div.h-scrollable {
    background-color: inherit;
    overflow: auto;
    white-space: nowrap;
}

    div.h-scrollable a {
        display: inline-block;
        color: inherit;
        text-align: center;
        padding: 14px;
        text-decoration: none;
    }

        div.h-scrollable a:hover {
            background-color: inherit;
        }

.switch {
    font-size: 1rem;
    position: relative;
}

    .switch input {
        position: absolute;
        height: 1px;
        width: 1px;
        background: none;
        border: 0;
        clip: rect(0 0 0 0);
        clip-path: inset(50%);
        overflow: hidden;
        padding: 0;
    }

        .switch input + label {
            position: relative;
            min-width: calc(calc(2.375rem * .8) * 2);
            border-radius: calc(2.375rem * .8);
            height: calc(2.375rem * .8);
            line-height: calc(2.375rem * .8);
            display: inline-block;
            cursor: pointer;
            outline: none;
            user-select: none;
            vertical-align: middle;
            text-indent: calc(calc(calc(2.375rem * .8) * 2) + .5rem);
        }

            .switch input + label::before,
            .switch input + label::after {
                content: '';
                position: absolute;
                top: 0;
                left: 0;
                width: calc(calc(2.375rem * .8) * 2);
                bottom: 0;
                display: block;
            }

            .switch input + label::before {
                right: 0;
                background-color: #ffffff;
                border: 1px solid #e5eef3;
                border-radius: calc(2.375rem * .8);
                transition: 0.2s all;
            }

            .switch input + label::after {
                top: 0;
                left: 0;
                width: calc(calc(2.375rem * .8) - calc(2px * 2));
                height: calc(calc(2.375rem * .8) - calc(2px * 2));
                border-radius: 50%;
                background-color: #9dd12a;
                transition: 0.2s all;
            }

        .switch input:checked + label::before {
            background-color: #dee2e6;
        }

        .switch input:checked + label::after {
            margin-left: calc(2.375rem * .8);
        }

        .switch input:focus + label::before {
            outline: none;
            box-shadow: 0 0 0 0.2rem rgba(0, 136, 221, 0.25);
        }

        .switch input:disabled + label {
            color: #868e96;
            cursor: not-allowed;
        }

            .switch input:disabled + label::before {
                background-color: #e9ecef;
            }

    .switch.switch-sm {
        font-size: 0.875rem;
    }

        .switch.switch-sm input + label {
            min-width: calc(calc(1.9375rem * .8) * 2);
            height: calc(1.9375rem * .5);
            line-height: calc(1.9375rem * .5);
            text-indent: calc(calc(calc(1.9375rem * .6) * 2) + .5rem);
        }

            .switch.switch-sm input + label::before {
                width: calc(calc(1.9375rem * .6) * 2);
            }

            .switch.switch-sm input + label::after {
                width: calc(1.9375rem * .5);
                height: calc(1.9375rem * .5);
            }

        .switch.switch-sm input:checked + label::after {
            margin-left: calc(1.9375rem * .8);
        }

    .switch.switch-lg {
        font-size: 1.25rem;
    }

        .switch.switch-lg input + label {
            min-width: calc(calc(3rem * .8) * 2);
            height: calc(3rem * .8);
            line-height: calc(3rem * .8);
            text-indent: calc(calc(calc(3rem * .8) * 2) + .5rem);
        }

            .switch.switch-lg input + label::before {
                width: calc(calc(3rem * .8) * 2);
            }

            .switch.switch-lg input + label::after {
                width: calc(calc(3rem * .8) - calc(2px * 2));
                height: calc(calc(3rem * .8) - calc(2px * 2));
            }

        .switch.switch-lg input:checked + label::after {
            margin-left: calc(3rem * .8);
        }

    .switch + .switch {
        margin-left: 1rem;
    }

.close-link {
    color: inherit !important;
}

.chart-legend {
    font-family: 'Nunito Sans';
    font-weight: 400;
}

    .chart-legend span {
        font-weight: 800;
    }

.thead-labs {
    color: #fff;
    background-color: #9dd12a;
}

.tippy-box[data-theme~='labs'] {
    background-color: #fff;
    color: rgba(0, 0, 0, 0.8);
    border-radius: 16px;
    filter: drop-shadow(0 1px 4px rgba(0, 0, 0, 0.4));
}

    .tippy-box[data-theme~='labs'][data-placement^='top'] > .tippy-arrow::before {
        border-top-color: #fff;
    }

    .tippy-box[data-theme~='labs'][data-placement^='right'] > .tippy-arrow::before {
        border-right-color: #fff;
    }

    .tippy-box[data-theme~='labs'][data-placement^='bottom'] > .tippy-arrow::before {
        border-bottom-color: #fff;
    }

    .tippy-box[data-theme~='labs'][data-placement^='left'] > .tippy-arrow::before {
        border-left-color: #fff;
    }

.popover {
    min-width: 175px;
}

/* BEGIN: Openmrs input */
:root {
    --omrs-color-ink-lowest-contrast: rgba(47, 60, 85, 0.18);
    --omrs-color-ink-low-contrast: rgba(60, 60, 67, 0.3);
    --omrs-color-ink-medium-contrast: rgba(19, 19, 21, 0.6);
    --omrs-color-interaction: #1e4bd1;
    --omrs-color-interaction-minus-two: rgba(73, 133, 224, 0.12);
    --omrs-color-danger: #b50706;
    --omrs-color-bg-low-contrast: #eff1f2;
    --omrs-color-ink-high-contrast: #121212;
    --omrs-color-bg-high-contrast: #ffffff;
}

div.omrs-input-group {
    margin-bottom: 1.5rem;
    position: relative;
    width: 20.4375rem;
}

.omrs-input-underlined > input,
.omrs-input-filled > input {
    border: none;
    border-bottom: 0.125rem solid var(--omrs-color-ink-medium-contrast);
    width: 100%;
    height: 2rem;
    font-size: 1.0625rem;
    padding-left: 0.875rem;
    line-height: 147.6%;
    padding-top: 0.825rem;
    padding-bottom: 0.5rem;
}

    .omrs-input-underlined > input:focus,
    .omrs-input-filled > input:focus {
        outline: none;
    }

.omrs-input-underlined > .omrs-input-label,
.omrs-input-filled > .omrs-input-label {
    position: absolute;
    top: 0.9375rem;
    left: 0.875rem;
    line-height: 147.6%;
    color: var(--omrs-color-ink-medium-contrast);
    transition: top .2s;
}

.omrs-input-underlined > svg,
.omrs-input-filled > svg {
    position: absolute;
    top: 0.9375rem;
    right: 0.875rem;
    fill: var(--omrs-color-ink-medium-contrast);
}

.omrs-input-underlined > .omrs-input-helper,
.omrs-input-filled > .omrs-input-helper {
    font-size: 0.9375rem;
    color: var(--omrs-color-ink-medium-contrast);
    letter-spacing: 0.0275rem;
    margin: 0.125rem 0.875rem;
}

.omrs-input-underlined > input:hover,
.omrs-input-filled > input:hover {
    background: var(--omrs-color-interaction-minus-two);
    border-color: var(--omrs-color-ink-high-contrast);
}

.omrs-input-underlined > input:focus + .omrs-input-label,
.omrs-input-underlined > input:valid + .omrs-input-label,
.omrs-input-filled > input:focus + .omrs-input-label,
.omrs-input-filled > input:valid + .omrs-input-label {
    top: 0;
    font-size: 0.9375rem;
    margin-bottom: 32px;
    ;
}

.omrs-input-underlined:not(.omrs-input-danger) > input:focus + .omrs-input-label,
.omrs-input-filled:not(.omrs-input-danger) > input:focus + .omrs-input-label {
    color: var(--omrs-color-interaction);
}

.omrs-input-underlined:not(.omrs-input-danger) > input:focus,
.omrs-input-filled:not(.omrs-input-danger) > input:focus {
    border-color: var(--omrs-color-interaction);
}

    .omrs-input-underlined:not(.omrs-input-danger) > input:focus ~ svg,
    .omrs-input-filled:not(.omrs-input-danger) > input:focus ~ svg {
        fill: var(--omrs-color-ink-high-contrast);
    }

/* Disabled */

.omrs-input-underlined > input:disabled {
    background: var(--omrs-color-bg-low-contrast);
    cursor: not-allowed;
}

    .omrs-input-underlined > input:disabled + .omrs-input-label,
    .omrs-input-underlined > input:disabled ~ .omrs-input-helper {
        color: var(--omrs-color-ink-low-contrast);
    }

    .omrs-input-underlined > input:disabled ~ svg {
        fill: var(--omrs-color-ink-low-contrast);
    }


/* Danger */

.omrs-input-underlined.omrs-input-danger > .omrs-input-label, .omrs-input-underlined.omrs-input-danger > .omrs-input-helper,
.omrs-input-filled.omrs-input-danger > .omrs-input-label, .omrs-input-filled.omrs-input-danger > .omrs-input-helper {
    color: var(--omrs-color-danger);
}

.omrs-input-danger > svg {
    fill: var(--omrs-color-danger);
}

.omrs-input-danger > input {
    border-color: var(--omrs-color-danger);
}

.omrs-input-underlined > input {
    background: var(--omrs-color-bg-high-contrast);
}

.omrs-input-filled > input {
    background: var(--omrs-color-bg-low-contrast);
}