:root{
    --primary-color: #584dc5;
    /*--primary-color: #2EEDE8;*/
    --primary-color-rgb: 82, 65, 255;
    --text-color: #4b4b4b;
    --container-width: 1440px;
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
.pace.pace-active{
    opacity: 0;
}
.monospace{
    font-family: monospace,Monospaced,Arial !Important;
}

html {
    font-size: 62.5%; /*10px*/
}

body {
    font-size: 1rem;
}

html .content {
    min-height: unset;
}

html .content.app-content {
    padding: 0;
    margin: 0;
}

.toast-container .toast-message,.toast-container .toast-title{
    color: white!important;
}

.hideTotalThis{
    opacity: 0!important;
    pointer-events: none!important;
    /*width: 0px!important;*/
    height: 0px!important;
}

p {
    line-height: 1.7 !important;
}

.header-navbar {
    position: fixed;
    width: 100%;
    background-color: #fff;
    z-index: 1060;
}


.iti{
    width: 100%;
    height: 51px;
}

.iti input{
    height: 51px;
}

.header-navbar .navbar-container,
.header-navbar-spacer {
    min-height: 6rem;
}

.branding-logo {
    height: auto;
    width: 7rem;
    min-width: 6rem;
}

.header-navbar .nav-link {
    font-size: 1.2rem;
    transition: color .25s ease;
    font-weight: 500;
}

.header-navbar .user-nav,
.patient-abbreviation {
    font-size: 1rem;
    width: 3.8rem;
    height: 3.8rem;
    border: 3px solid rgba(140, 140, 140, 0.3);
    cursor: pointer;
    transition: border-color .25s ease;
}

.header-navbar .user-name {
    letter-spacing: .2rem;
}

.patient-abbreviation{
    min-width: 4rem;
    min-height: 4rem;
    border: 2px solid rgba(140, 140, 140, 0.3);
}

.header-navbar .dropdown .dropdown-item b,
.header-navbar .dropdown .dropdown-item span,
.header-navbar .dropdown .dropdown-item p {
    font-size: 1.1rem !important;
}

.header-navbar .dropdown .dropdown-item svg {
    width: 16px;
    height: 16px;
    font-size: 1.6rem !important;
}

.header-navbar .menu-icon {
    width: 3.8rem;
    height: 3.8rem;
    padding: .6rem 0 .6rem .6rem;
}

.header-navbar .dropdown-user:hover .user-nav {
    border-color: rgba(var(--primary-color-rgb), .7);
    color: var(--primary-color);
}

.header-navbar .dropdown-menu:not(.profile-dropdown) {
    min-width: 20rem;
    right: unset !important;
    left: 0;
}

.header-navbar .navbar-container ul.navbar-nav li > a.nav-link:hover {
    color: var(--primary-color);
}

.header-navbar .dropdown-menu {
    font-size: 1rem;
    max-width: 200px;
    margin-left: auto;
}

.header-navbar .dropdown-menu svg {
    min-width: 1em;
    min-height: 1em;
}

.header-navbar .dropdown-menu a {
    padding: .9em 1.8em;
}


.dark-layout .dropdown-menu .dropdown-item:focus svg,
.dark-layout .dropdown-menu .dropdown-item:hover svg {
    stroke: var(--primary-color) !important;
}

.header-navbar .digital-signature span {
    line-height: 1.3;
}

.dark-layout .header-navbar .navbar-container .nav .nav-item .nav-link:hover {
    color: var(--primary-color);
}

.content-header {
    padding: 5rem 1rem 6.6rem 1rem !important;
}

.content-header-bg {
    width: 100%;
    height: 100%;
    background-color: rgba(65, 99, 128, 0.9);
    margin-bottom: -3rem;
}

.content-header h2 {
    animation: fadeRight .75s ease both;
}

.content-header p {
    animation: fadeBottom .55s .35s ease both;
}

.dark-layout .content-header::before {
    background-color: #2D3442;
}

.content-header p {
    line-height: 1.6;
}

.app-content .card {
    border: 1px solid rgba(161, 161, 161, 0.3);
}

.dark-layout .app-content .card {
    border: 1px solid rgba(161, 161, 161, 0.1);
}

.header-navbar.navbar-shadow {
    box-shadow: rgba(50, 50, 93, 0.25) 0 6px 12px -2px, rgba(0, 0, 0, 0.3) 0 3px 7px -3px !important;
}

.dark-layout .header-navbar.navbar-shadow {
    box-shadow: 0 4px 24px 0 rgba(20, 25, 29, 0.03) !important;
}

.dark-layout .header-navbar-shadow {
    display: none;
}

.light-layout .text-white,
.light-layout .tabColorW,
.light-layout .custom-option-item,
.light-layout .form-select {
    color: #5e5873 !important;
}

.light-layout .navbar-dark,
.light-layout .export-card {
    background-color: #fff !important;
}

.light-layout .navbar-dark .search-input.open .input {
    color: #5e5873 !important;
}

.loader {
    display: inline-block;
    font-size: 48px;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;
    color: var(--text-color);
    position: relative;
}

.loader::before {
    content: '';
    position: absolute;
    right: 0;
    bottom: 8px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 5px solid var(--text-color);
    border-bottom-color: red;
    box-sizing: border-box;
    animation: rotation 0.6s linear infinite;
}

.tooltip > .tooltip-inner {
    font-size: calc(1.05rem + .1vw) !important;
}

.text-white-75 {
    color: rgba(255,255,255,.75);
}

.page-overlay {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1061;
    width: 100vw;
    height: 100vh;
    opacity: .5;
    background-color: #22292f;
    display: none;
}

.page-overlay.show {
    display: block;
}

.accordion-button:not(.bg-transparent) {
    background-color: rgba(176, 176, 176, 0.1) !important;
    transition: background-color .2s ease;
}

.accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-chevron-up'%3e%3cpolyline points='18 15 12 9 6 15'%3e%3c/polyline%3e%3c/svg%3e");
    transform: scale(1.8);
}

.accordion-button.collapsed::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='feather feather-chevron-up'%3e%3cpolyline points='18 15 12 9 6 15'%3e%3c/polyline%3e%3c/svg%3e");
    transform: scale(1.8) rotate(-180deg);
}

.accordion-button:not(.collapsed, .bg-transparent),
.accordion-button:not(.bg-transparent):hover {
    background-color: rgba(var(--primary-color-rgb), .12) !important;
}

.dark-layout .accordion-button::after {
    filter: invert(1);
}

.accordion-border {
    border-radius: .35rem;
    box-shadow: rgba(0, 0, 0, 0.05) 0px 0px 0px 1px;
}

.accordion + .accordion {
    margin-top: 1.5rem;
}

.tooltip {
    z-index: 1056;
}

.nav-tabs-2 .nav-link::after {
    content: none !important;
}

.nav-tabs-2 .nav-link {
    padding: 1.7rem;
    background-color: transparent;
    border-radius: .4rem;
}

.nav-tabs-2 .nav-link.active {
    background-color: rgba(var(--primary-color-rgb), .1);
}

.nav-tabs-2 .nav-link .right-arrow {
    min-width: 1.7rem;
    min-height: 1.7rem;
}

.user-infos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    row-gap: 2.5rem;
    column-gap: 1.5rem;
}

.anotation {
    background-color: rgba(178, 192, 255, 0.13);
    border-radius: .5rem;
}

.anotation .accordion-button {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
    transition: all .15s ease;
}

.light-layout .anotation .accordion-button:hover,
.light-layout .anotation .accordion-button:not(.collapsed) {
    background-color: rgba(178, 192, 255, 0.35) !important;
}

.dark-layout .anotation .accordion-button:hover,
.dark-layout .anotation .accordion-button:not(.collapsed) {
    background-color: rgba(41, 52, 79, 0.26)!important;
}

.anotation .accordion-button,
.anotation .accordion-collapse {
    padding-left: 2rem !important;
    padding-right: 2rem !important;
}

.dark-layout pre {
    background-color: transparent !important
}

.ql-editor {
    min-height: 15rem;
}

.dark-layout .ql-snow .ql-picker {
    color: #ddd;
}

.dark-layout .ql-snow .ql-stroke {
    stroke: #ddd;
}

.badge.compostion-badge {
    transition: all .15s ease;
}

.badge.compostion-badge:hover {
    background-color: var(--bs-danger) !important;
}

a.text-primary {
    transition: color .15s ease;
}

a.text-primary:hover {
    color: #3b3290 !important;
}

.dark-layout a.text-primary:hover {
    color: #9086f8 !important;
}

.avatar.bg-light-info {
    color: #08b3c8 !important;
}

.avatar.bg-light-primary {
    color: #796cff !important;
}

.accordion .accordion-item .accordion-button {
    padding-left: 1.7rem;
    padding-right: 1.7rem;
}

.template-fields-box {
    width: 100%;
    border: 1px solid #ccc;
    padding: 1rem;
}

.template-fields-box .badge:hover {
    transition: color .15s ease, background-color .15s ease;
    color: #fff !important;
    background-color: var(--primary-color) !important;
}

.question-icon {
    fill: #4d4d4d;
}

.dark-layout .question-icon {
    fill: #a9a9a9;
}

.tooltip-inner {
    background-color: #fff;
    color: var(--text-color) !important;
    padding: .8rem 1.6rem;
    font-size: 1.2rem;
    box-shadow: rgba(17, 12, 46, 0.15) 0 48px 100px 0;
    border-radius: .4rem;
    border: 1px solid #ddd;
}

.tooltip.bottom .tooltip-arrow {
    border-bottom-color: #fff  !important;
}

.dark-layout .tooltip-inner {
    background-color: rgb(41, 46, 60);
    border: 1px solid rgba(75, 75, 75, 0.3);
    color: #fff !important;
}

.dark-layout .tooltip.bottom .tooltip-arrow {
    border-bottom-color: rgb(41, 46, 60) !important;
}

.select2-selection.select2-selection--single {
    display: flex !important;
    align-items: center;
    font-size: 1.286rem !important;
    min-height: 5rem;
    border: 1px solid #d8d6de !important;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.select2-search.select2-search--dropdown {
    padding: 1.5rem 1.5rem 0 1.5rem;
}

.select2-selection__arrow {
    display: none;
}

.select2-search__field {
    font-size: 1.286rem !important;
    min-height: 4rem;
}

.select2-results__option.select2-results__message,
.select2-results__option.loading-results{
    font-size: 1.05rem;
    padding: 1.5rem;
}

.custom-range {
    --range-percentage: 20%;
    width: 100%;
    position: relative;
    height: 2rem;
    border-radius: 2.5rem;
    background-color: #e5e5e5;
    border: 1px solid #dedede;
}

.custom-range::after {
    content: '';
    position: absolute;
    z-index: 2;
    top: 0;
    left: 0;
    height: inherit;;
    border-radius: inherit;
    max-width: var(--range-percentage);
    background-color: rgba(var(--primary-color-rgb), 1);
    animation: growRange 1s .5s ease forwards;
}

@keyframes growRange {
    0% {
        width: 0;
    }
    100% {
        width: 100%;
    }
}

.echarts-tooltip {
    background-color: red !important;
}

.custom-range .current-range {
    position: absolute;
}

@media (max-width: 1200px) {
    .tab-content.profile-tab-content > .tab-pane {
        display: block !important
    }
}

@keyframes rotation {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes fadeRight {
    0% {
        transform: translateX(-16px);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100 %{
        transform: translateX(0);
    }
}

@keyframes fadeBottom {
    0% {
        transform: translateY(-16px);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100 %{
        transform: translateY(0);
    }
}

@media (max-width:  1366px) {
    html {
        font-size: 10px;
    }
}

@media (max-width:  767px) {
    .navbar-container {
        padding-left: 1.6rem !important;
        padding-right: 1.6rem !important;
    }

    html body .app-content {
        padding: 0 !important;
    }
}

@media (max-width: 400px) {
    html {
        font-size: 57.5%;
    }
}


@media (max-width: 360px) {
    html {
        font-size: 50%;
    }
}

.text-white-75 {
    color: rgba(255,255,255,.75);
}

.vidaas-box .synced-color {
    color: #4CAF50;
}

.vidaas-box .not-synced-color {
    color: #e53935;
}

.vidaas-box img {
    width: 8rem; filter: invert(1)
}

.vidaas-box .vidaas-badge {
    width: .7rem;
    height: .7rem;
    margin-right: .45rem;
}

.vidaas-badge.badge-synced {
    background-color: #4CAF50;
    animation: pulseSynced 3s linear infinite alternate both;
}

.vidaas-badge.badge-not-synced {
    background-color: #e53935;
    animation: pulseNotSynced 2s linear infinite alternate both;
}

.disabled {
    opacity: .7;
    filter: grayscale(1);
    pointer-events: none;
    cursor: default !important;
}