/* 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. */

.brand .brand-logo {
    color: #ffa800;
    font-size: 20px;
    font-weight: 500;
    font-family: 'Inter';
    font-style: normal;
}

.aside-minimize .aside .brand .brand-logo {
    display: none;
}

a.navbar-brand {
    white-space: normal;
    text-align: center;
    word-break: break-all;
}

/* Provide sufficient contrast against white background */
a {
    color: #0366d6;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

tr:hover {
    background-color: aliceblue;
}

html {
    font-size: 14px;
    position: relative;
    min-height: 100%;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.border-top {
    border-top: 1px solid #e5e5e5;
}

.border-bottom {
    border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

body {
    /* Margin bottom by footer height */
    margin-bottom: 60px;
}

.footer {
    display: none !important;
    position: relative;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    line-height: 60px; /* Vertically center the text there */
}

#blazor-error-ui {
    display: none;
}

@media (min-width: 992px) {
    .header-fixed.subheader-fixed.subheader-enabled .wrapper {
        padding-top: 0px;
    }
}

.fs-12 {
    font-size: 12px;
}

.d-flex.flex-column-fluid .container-fluid .d-flex.adaptive-flex {
    height: auto !important;
}

.sticky-subheader {
    position: sticky !important;
    top: 0;
    z-index: 100;
}

@media (max-width: 991px) {
    .d-flex.flex-column-fluid .container-fluid .d-flex.adaptive-flex {
        height: auto !important;
    }

    .sticky-subheader {
        top: 65px;
    }
}

@media (max-width: 991.98px) {
    .subheader-enabled:not(.subheader-mobile-fixed) .content {
        padding-top: 15px;
    }

    .sticky-subheader {
        top: 55px;
    }
}

.custom-form .validation-message {
    color: red;
    font-size: small;
    list-style: none;
}

.custom-form .validation-errors {
    padding: 0;
}

.checkbox > input:indeterminate ~ span {
    background-color: #3699FF;
}

.checkbox > input:indeterminate ~ span::after {
    content: "";
    border-color: white;
    border-style: solid;
    border-width: 0 2px 0 0 !important;
    -webkit-transform: rotate(90deg);
    transform: rotate(90deg);
    margin-top: -2px;
}

::-webkit-scrollbar {
    background-color: transparent;
    width: 4px;
    height: 4px;
}

::-webkit-scrollbar-thumb {
    background-color: #c4c5d1;
    border-radius: 0.5vw;
}

.aside-on {
    overflow-y: auto;
}

.aside-on::-webkit-scrollbar-thumb {
    background-color: #53526b;
}

@media (min-width: 992px) {
    .aside-fixed .wrapper {
        padding-left: 70px;
    }
}

@media (min-width: 992px) {
    h6 {
        font-size: 1rem;
        white-space: nowrap;
    }
}

.scrollbottom {
    top: 70px;
    display: none !important;
    opacity: 0.9 !important;
    padding: 0 10px;
    color: white;
    width: auto;
}

[data-scrollbottom=on] .scrollbottom {
    opacity: 0.3;
    -webkit-animation: animation-scrolltop 0.4s ease-out 1;
    animation: animation-scrolltop 0.4s ease-out 1;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex !important;
}

[data-scrollbottom=on] .scrollbottom:hover {
    -webkit-transition: color 0.15s ease, background-color 0.15s ease, border-color 0.15s ease, -webkit-box-shadow 0.15s ease;
    transition: color 0.15s ease, background-color 0.15s ease, border-color 0.15s ease, -webkit-box-shadow 0.15s ease;
    transition: color 0.15s ease, background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
    transition: color 0.15s ease, background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease, -webkit-box-shadow 0.15s ease;
    opacity: 1;
}

.scrollbottom svg {
    transform: rotate(180deg);
}

.svg-default-size svg {
    height: auto !important;
    width: auto !important
}

@media (min-width: 992px) {
    .content {
        padding: 0 !important;
    }

        .content > div:not(.subheader) {
            margin: 25px 0;
        }
}

@media (max-width: 991.98px) {
    .content {
        padding: 0 !important;
    }

        .content > div:not(.subheader) {
            margin: 15px 0;
        }

    .subheader.subheader-solid {
        margin: 0;
    }
}

.scroll-light::-webkit-scrollbar {
    width: 3px;
    height: 3px;
}

.old-pages{
    visibility: hidden;
}

.aside-on .old-pages {
    padding: 9px 25px;
    color: #808194;
    margin: 60px 0 10px;
    visibility: visible;
}

.top-header {
    display: flex;
    align-items: center;
    padding: 16px 24px 12px;
    flex-wrap: wrap;
    width: 100%;
    min-height: 64px;
    background: #FFFFFF;
}

.top-header .page-name {
    font: 400 24px 'Inter';
    line-height: 29px;
    color: #3996FF;
}

.sub-header {
    background: #F8F8F8;
    font: 400 16px 'Inter';
    width: 100%;
}

.btn-clear {
    background: none !important;
    border: 0;
    padding: 0;
}

.custom-modal .modal-dialog {
    max-width: 406px;
    margin-top: 20vh;
}

.custom-modal .modal-content {
    border-radius: 4px;
    background: #F8F8F8;
}

.custom-modal .modal-body {
    padding: 16px;
    font-family: 'Inter';
    font-style: normal;
    font-weight: 600;
    font-size: 16px;
    line-height: 19px;
}

.btn-text {
    font-weight: 500;
    font-size: 16px;
}

.btn-text svg {
    vertical-align: baseline;
    margin-left: 5px;
}

.brand {
    height: 48px;
    padding: 12px 8px;
}

.brand-toggle:hover svg [fill] {
    fill: #3996FF;
}

.brand-toggle > .svg-icon {
    margin: 0 !important;
}

.aside-menu .menu-nav {
    padding: 0 !important;
    font-family: 'Inter';
    font-style: normal;
}

.menu-item-submenu[expanded="true"] .menu-submenu {
    display: flex !important;
    padding-bottom: 16px;
}

.aside-minimize:not(.aside-minimize-hover) .aside-menu .menu-nav > .menu-item > .menu-link .menu-dropdown-arrow {
    display: none;
}

.menu-item-submenu .menu-dropdown-arrow svg {
    transition: all 0.3s ease;
    transform: rotate(0) !important;
}

.menu-item-submenu[expanded="true"] .menu-dropdown-arrow svg {
    transition: all 0.3s ease;
    transform: rotate(180deg) !important;
}

.menu-item-submenu[expanded="true"] > .menu-link svg [fill],
.menu-link:hover svg [fill],
.menu-item--active > .menu-link svg [fill] {
    fill: #FFFFFF;
}

.menu-item-submenu[expanded="true"] > .menu-link .menu-text,
.menu-item--active > .menu-link .menu-text {
    color: #FFFFFF !important;
}

.menu-item-submenu[expanded="true"] > .menu-link,
.menu-item--active > .menu-link {
    background-color: #1b1b28;
}

.menu-item-submenu[expanded="true"]>.menu-link{
    background: #1A1A27;
}

.menu-item .menu-text {
    color: #8F9EAE;
    font-size: 14px !important;
}

.menu-link {
    align-items: center !important;
    padding: 12px 16px;
}

.aside-minimize:not(.aside-minimize-hover) .menu-item:not(.menu-item-icon) {
    visibility: hidden;
}

.menu-item:not(.menu-item-icon) .menu-icon {
    display: none !important;
}

.aside-menu .menu-nav > .menu-item > .menu-submenu .menu-subnav > .menu-item > .menu-link {
    padding: 2px 0px 2px 24px;
    min-height: 23px;
    align-items: center;
}

.aside-menu .menu-nav > .menu-item > .menu-submenu .menu-subnav > .menu-item > .menu-link:hover .menu-text,
.aside-menu .menu-nav > .menu-item > .menu-submenu .menu-subnav > .menu-item--active > .menu-link .menu-text {
    color: #3699FF !important;
}

.aside-menu .menu-nav > .menu-item > .menu-submenu .menu-subnav > .menu-item > .menu-link:hover svg [fill],
.aside-menu .menu-nav > .menu-item > .menu-submenu .menu-subnav > .menu-item--active > .menu-link svg [fill] {
    fill: #3699FF;
}

.aside-menu .menu-nav > .menu-item > .menu-submenu .menu-subnav > .menu-item > .menu-link .menu-text {
    padding-left: 5px;
}

.aside-menu .menu-nav .menu-item > .menu-heading .menu-bullet, .aside-menu .menu-nav .menu-item > .menu-link .menu-bullet {
    justify-content: center;
}

#notification-aside {
    top: 0;
    position: fixed;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 16px;
    gap: 16px;
    background: #ffffff;
    z-index: 100;
    box-shadow: 0px 4px 7px rgb(0 0 0 / 15%);
    right: 0;
    height: 100%;
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 19px;
    transition: transform 300ms;
}

#task-hub-aside {
    top: 0;
    position: fixed;
    flex-direction: column;
    align-items: flex-start;
    padding: 16px;
    gap: 16px;
    background: #ffffff;
    z-index: 100;
    box-shadow: 0px 4px 7px rgb(0 0 0 / 15%);
    right: 0;
    height: 100%;
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 19px;
    transition: transform 300ms;
}

#notification-aside .notification-user {
    display: flex;
    gap: 8px;
}

#task-hub-aside .notification-user {
    display: flex;
    gap: 8px;
}
    .notifications-list {
    overflow-y: scroll;
    padding-right: 5px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.notification-item {
    display: flex;
    flex-direction: column;
    padding: 4px 8px;
    gap: 8px;
    width: 455px;
    background: #FFE2E5;
}

.notification-item.notification-item-red {
    background: #FFE2E5;
}

.notification-item.notification-item-gray {
    background: #F0F5FB;
}

.notification-item.notification-item-yellow {
    background: #FFF5E3;
}

.notification-item .notification-item__head {
    display: flex;
    justify-content: space-between;
}

.notification-item .notification-item__purchase-name {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 14px;
}

.notification-item .notification-item__tools {
    display: flex;
    gap: 16px;
}

.overlay-button--top,
.overlay-button--bottom {
    position: fixed;
    right: 24px;
    z-index: 1100;
    height: 36px;
    width: 36px;
    border-radius: 100%;
    background: #E1F0FF;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.overlay-button--top {
    top: 16px;
}

.overlay-button--bottom {
    bottom: 16px;
}

#notifications-expand {
    position: absolute;
}

#notification-aside:not([expanded="true"]) {
    transform: translate(110%, 0px);
}

#task-hub-aside:not([expanded="true"]) {
    transform: translate(110%, 0px);
}

@media (max-width: 991px) {
    #notification-aside {
        width: 100vw;
        padding: 16px 8px 16px 12px;
        height: calc(100vh - 55px);
        top: 55px;
    }

    #task-hub-aside {
        width: 100vw;
        padding: 16px 8px 16px 12px;
        height: calc(100vh - 55px);
        top: 55px;
    }

    .notification-item {
        width: calc(100vw - 20px);
    }

    .notifications-bell.overlay-button--top {
        display: none;
    }
}

.viewed-divider {
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.viewed-divider:before, .viewed-divider:after {
    height: 0;
    border-top: 1px solid;
    content: '';
    width: 100%;
}

.viewed-divider > span {
    margin: 0 16px;
}

.aside .aside-menu .menu-nav > .menu-item > .menu-link {
    padding: 9px 24px;
}

.aside .aside-menu .menu-nav > .menu-item.main-menu-user > .menu-link {
    padding: 9px 17px;
}

.main-menu-user .menu-link {
    display: flex;
    gap: 16px;
}

.main-menu-user .menu-text {
    display: block !important;
}

.aside:not(.aside-on) .main-menu-user .menu-text {
    visibility: hidden;
}

.filter-tip {
    font-weight: 400;
    font-size: 14px;
    line-height: 19px;
    color: #8F9EAE;
    display: block;
}

.filter-tip-hidden {
    visibility: hidden;
    height: 0;
}

.setting-item-name-editable svg {
    margin-bottom: 5px;
}

.dropdown-button {
    cursor: pointer;
}

.dropdown {
    display: none;
    position: absolute;
    flex-direction: column;
    align-items: flex-start;
    padding: 8px;
    gap: 12px;
    min-width: 136px;
    width: max-content;
    max-width: 344px;
    background: #FFFFFF;
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.15);
    border-radius: 4px;
    margin-top: 5px;
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    z-index: 100;
}

.dropdown-wrapper[expanded="true"] .dropdown {
    display: flex;
}

.dropdown-content {
    max-height: 300px;
    overflow: auto;
    padding-right: 10px;
}

.dropdown-select-items {
    display: grid;
    gap: 8px;
}

.dropdown-wrapper[expanded="true"] .dropdown-button .dropdown-arrow svg {
    transform: rotate(180deg);
}

.dropdown-wrapper[expanded="true"] .dropdown-button .dropdown-arrow svg [fill] {
    fill: #3996FF;
}

.dropdown-button .select-button {
    position: relative;
    display: flex;
    gap: 5px;
}

.dropdown-button .select-button-label {
    width: 22px;
    height: 22px;
    position: relative;
}

.dropdown-button .select-button .spinner {
    position: absolute;
    top: 50%;
    margin-top: 0;
}

.dropdown .select-item {
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    overflow: hidden;
}

.linkable {
    cursor: pointer;
    color: cornflowerblue;
}

.quote {
    border-left: #F3F6F9 solid 0.3rem;
    padding-left: 1rem;
    font-style: italic;
    color: #3F4254;
    background: rgba(54, 153, 255, 0.02);
}

.quote-clickable {
    cursor: pointer;
}

.collapse-icon:hover svg [fill] {
    fill: #3996FF;
}


.rz-steps-current .rz-menuitem-link .rz-steps-number {
    background: red !important;
}

.rz-steps-item .rz-menuitem-link .rz-steps-number {
    background: yellowgreen;
}


.rz-state-disabled .rz-menuitem-link .rz-steps-number {
    background: #9e9e9e !important;
}

.label-light-danger svg g [fill] {
    fill: #F64E60;
}

.label-light-danger svg g [stroke] {
    stroke: #F64E60;
}

.label-light-primary svg g [fill] {
    fill: #3699FF;
}

.label-light-primary svg g [stroke] {
    stroke: #3699FF;
}

textarea::-webkit-scrollbar {
    width: 10px;
}

textarea::-webkit-scrollbar-thumb {
    border-radius: 0;
}

.overflow-x {
    overflow-x: auto;
}

#p-preview-card .card-header-tabs-line .nav-link,
#doc_pane_1 .nav-link {
    padding: 0 0 5px 0;
}

.menu-text {
    overflow: hidden;
}

td.doc-builder-action {
    padding: 5px !important;
}

@media(max-width: 500px) {
    #contracts label[for="start-date"] + div,
    #contracts label[for="price"] + div {
        flex-wrap: wrap;
    }
}

/*
@media (max-width: 325px) {
    .aside:not(.aside-on){
        width: 0 !important;
    }
}