html, body {
    font-family: 'rawline', 'Raleway', 'Source Sans Pro', sans-serif;
    font-weight: 500;
    font-style: normal;
    height: 100%;
    background-color: #edf0f2;
}

input[type='range']::-webkit-slider-thumb {
    background: var(--bb-color-a);
}

body:has(.modal.show) {
    overflow: hidden;
}

.alert-boxy-a {
    background-image: url('/img/boxy-a.png') !important;
    background-position: bottom right !important;
    background-repeat: no-repeat !important;
    background-size: 64px !important;
}

.alert-boxy-b {
    background-image: url('/img/boxy-b.png') !important;
    background-position: bottom left !important;
    background-repeat: no-repeat !important;
    background-size: 64px !important;
}

.list-group-item-sm {
    padding-top: 3px;
    padding-bottom: 3px;
}

:root {
    --bb-color-a: #ed1c24;
    --bb-color-b: #ed1c24;
}

select > option[disabled] {
    color: lightgray;
}

.form-check-input:checked.form-check-danger {
    background-color: #dc3545;
    border-color: #dc3545;
}

.mainpage {
    font-family: 'Roboto';
    margin: 0;
    padding: 60px;
    text-align: center;
    color: white;
    background: #ed1c24;
    font-size: 2rem;
}

.bbox-dropdown-parent {
    width: 100%;
    position: relative;
}

    .bbox-dropdown-parent::after {
        content: '';
        width: 0;
        height: 0;
        border-style: solid;
        border-right: 7px solid transparent;
        border-left: 7px solid transparent;
        border-top: 10px solid #898989;
        border-bottom: 0;
        pointer-events: none;
        position: absolute;
        top: calc(50% - 5px);
        right: 15px;
    }

    .bbox-dropdown-parent > .bbox-dropdown {
        background: rgba(255, 255, 255, 0.5);
        width: inherit !important;
        position: absolute;
        max-height: 350px;
        overflow: auto;
        backdrop-filter: blur(10px);
    }

.profile-crop {
    height: 100%;
    max-width: 100%;
}

.crop-image-area {
    position: relative;
    cursor: pointer;
    text-align: center;
    border: 2px dashed transparent;
    display: inline-block;
    height: 100%;
}

.crop-image-area img {
    width: 100%;
}

.crop-image-area:hover {
    border: 2px dashed darkgray;
}

.crop-image-area:hover::after {
    position: absolute;
    color: white;
    padding-top: 50%;
    font-size: 16px;
    background: radial-gradient(180deg, rgba(0, 0, 0, .5), transparent);
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    text-shadow: 1px 1px 2px black;
    content: 'New Photo';
}

.listing-img {
    max-width: 200px;
    max-height: 200px;
    border: 2px solid white;
    outline: 1px solid lightgray;
    border-radius: 10px;
    cursor: pointer;
}

.bg-unread {
    background: #55A7FF;
}

.text-unread {
    color: #28588B;
}

.btn-unread {
    background: white;
    color: var(--bb-color-a);
    outline: 1px solid var(--bb-color-b);
    animation: text-pulsate 2s ease-out;
    animation-iteration-count: infinite;
}

.text-bg-lightgreen {
    color: #333 !important;
    background-color: RGBA(100,255,100,var(--bs-bg-opacity,1)) !important;
}
.wizard-area > div.active:before {
    border-color: var(--bb-color-a) !important;
}

.hover-dashed:hover {
    outline: 2px dashed;
    border-radius: 30px;
}

.container-office {
    padding-right: 30px;
    padding-left: 30px;
    margin-right: auto;
    margin-left: auto;
}

.map .atlas-map .maplibregl-canvas-container.maplibregl-interactive, .atlas-map .maplibregl-ctrl-nav-compass {
    cursor: default !important;
}

.office-nav {
    width: 250px;
}

    .office-nav a {
        font-size: 0.9rem !important;
    }

.nav-collapsed .office-nav {
    width: 64px;
}

.nav-collapsed .icon-20 {
    height: 20px;
}

.nav-collapsed h3 .nav-name {
    display: none;
}

    .nav-collapsed .office-nav a.nav-link:not(:hover) .nav-name {
        display: none;
    }

    .nav-collapsed .office-nav aside.collapsed a.nav-link:hover .nav-name {
        margin-left: 15px;
        vertical-align: middle;
        display: initial;
    }

aside.collapsed li.nav-item a {
    font-size: 1.25rem !important;
    height: 40px;
}

aside.collapsed li.nav-item:hover .nav-link {
    position: relative;
    z-index: 2;
    width: 280px;
    height: 40px;
    transition: none;
}

.nav-collapse-btn {
    opacity: 0;
    transition: 0.25s all;
}

.nav-hover-parent:hover .nav-collapse-btn {
    opacity: 1;
}

.nav-collapsed .office-nav .ms-auto {
    margin-inline-start: unset !important;
}

.nav-collapsed .office-nav .nav-link {
    text-align: center;
}

.office-body {
    width: calc(100% - 250px);
    min-height:calc(100vh - 250px)
}

.nav-collapsed .office-body {
    width: calc(100% - 45px);
}

body:has(div.flyout) .office-body {
    width: calc(100% - 650px);
}

body:has(div.flyout) .office-fields.offset-xl-1 {
    margin-left: 0;
}

body:has(div.flyout) .office-fields.col-xl-10 {
    width: 100%;
}

a {
    color: var(--bs-link-color);
}

label {
    text-transform: uppercase;
    margin: 10px 0 5px 0;
}

.form-switch label {
    text-transform: initial !important;
    font-size: 12.25px;
    font-weight: normal;
}

    .alert {
        background: white;
        border: 1px solid #cdcdcd;
        border-start-start-radius: 0;
        border-start-end-radius: 0;
    }

        .alert.sticky-top {
            z-index: 998 !important;
        }

    .alert-info {
        border-top: 2px solid #3CA4F0;
    }

    .alert-success {
        border-top: 2px solid #89F055;
    }

    .alert-danger {
        border-top: 2px solid #F03330;
    }

    .alert-warning {
        border-top: 2px solid #F0C22D;
    }

    .alert-info i.fa {
        color: #3CA4F0;
    }

    .alert-success i.fa {
        color: #89F055;
    }

    .alert-danger i.fa {
        color: #F03330;
    }

    .alert-warning i.fa {
        color: #F0C22D;
    }

    .navbar {
        background: white;
        box-shadow: 1px 1px 10px rgba(0, 0, 0, 0.4);
    }

    .nocopy {
        pointer-events: none;
        user-select: none;
    }

    .mt-6 {
        margin-top: 6rem !important;
    }

    .parent-hide-hover {
        display: none;
    }

    .parent-hide:hover .parent-hide-hover {
        display: inline-block;
    }

    .btn, .form-select, .form-control:not(textarea), .input-group-text {
        border-radius: 10rem;
        box-shadow: 0 1px 2px #dde1e3;
    }

    .btn-ui {
        border-radius: 3px;
        padding: 2px 6px;
    }

    .btn-light.btn-ui {
        border: 1px solid #cdcdcd;
        background: white;
    }

    .text-bg-primary {
        background-color: var(--bb-color-a) !important;
    }

    .btn-outline-primary {
        border-color: var(--bb-color-a);
        color: var(--bb-color-a);
    }

        .btn-outline-primary:hover {
            color: #fff;
            background-color: var(--bb-color-b);
            border-color: var(--bb-color-b);
        }

        .btn-outline-primary[disabled] {
            color: gray;
            border-color: darkgray;
        }

    .btn-primary {
        color: white;
        background-color: var(--bb-color-a);
        border-color: var(--bb-color-a);
    }

        .btn-primary:hover, .btn-primary:first-child:active, .btn-primary:focus, .btn:focus-visible {
            background-color: var(--bb-color-b);
            border-color: var(--bb-color-b);
        }

        .btn-primary[disabled] {
            background-color: gray;
            border-color: darkgray;
        }

    .fg-faded {
        display: block;
        mask-image: linear-gradient(to bottom, white, transparent);
    }

    .card-default .card-header {
        border-radius: 1rem;
    }

    .card-buyer .card-header {
        border-radius: 0 !important;
    }

    .card {
        border-radius: 1rem;
        margin-bottom: 2rem;
        box-shadow: 0 2px 3px rgb(55 63 67 / 16%);
        position: relative;
        word-wrap: break-word;
        background-color: #f6f8f9;
        background-clip: border-box;
        border: 0 solid rgba(55, 63, 67, 0.125);
    }

        .card.border-Success {
            border: 1px solid rgba(55, 180, 80, 1);
        }

            .card.border-Success .card-header {
                border-bottom: 1px solid rgba(55, 180, 80, 0.5);
            }

    .card-default .card-header {
        padding: 1rem 1.25rem;
    }

    .card-header {
        border-start-start-radius: 1rem !important;
        border-start-end-radius: 1rem !important;
        padding: 0.75rem 1.25rem;
        margin-bottom: 0;
        border-bottom: 0 solid rgba(55, 63, 67, 0.125);
    }

    .card-footer {
        padding: 0.75rem 1.25rem;
        margin-bottom: 0;
        background-color: #fff;
        border-top: 0 solid rgba(55, 63, 67, 0.125);
    }

    .list-group-item:hover {
        background: #dde1e3;
    }

    .list-group-item.disabled {
        background: lightgray;
        color: gray;
    }

    .clicky {
        cursor: pointer;
    }

    .content {
        padding-top: 1.1rem;
    }

    .valid.modified:not([type=checkbox]) {
        outline: 1px solid #26b050;
    }

    .invalid {
        outline: 1px solid red;
    }

    .validation-message {
        color: red;
    }

    #blazor-error-ui {
        background: lightyellow;
        bottom: 0;
        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;
        }

    .blazor-error-boundary {
        background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
        padding: 1rem 1rem 1rem 3.7rem;
        color: white;
    }

        .blazor-error-boundary::after {
            content: "An error has occurred."
        }

    a:not([href]):not([tabindex]) {
        color: inherit;
        text-decoration: none;
    }

    .notification-pill {
        cursor: pointer;
        display: -webkit-box;
        display: -ms-flexbox;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
        border-radius: 99px;
        width: 4.4375rem;
        height: 2.125rem;
        background-color: #f4f5f6;
        color: #49545a;
        font-weight: 600;
        font-size: 0.9375rem;
    }

    .nav-heading {
        background-color: transparent;
        text-transform: uppercase;
        font-size: 14px;
        color: #9aa5ac;
        letter-spacing: 1px;
        padding-top: 0;
        padding-right: 0;
        padding-bottom: 0;
        padding-left: 0;
        margin-bottom: 10px;
    }

    .nav.nav-tabs .nav-link {
        cursor: pointer;
    }

    .nav:not(.nav-tabs) .nav-link {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        margin: 5px 0;
        border-radius: 99px;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        font-size: .8rem;
        font-weight: 600;
        color: #49545a;
    }

    .icon-20 {
        width: 15px;
        height: 15px;
        margin-right: .8rem;
    }

    .nav-link svg {
        fill: currentColor;
        margin-right: 15px;
        color: #9aa5ac;
        -ms-flex-negative: 0;
        flex-shrink: 0;
    }

    .nav .nav-link:hover {
        background: #f6f8f9;
    }

    .nav:not(.nav-tabs) .nav-link:hover {
        background: #f6f8f9;
        box-shadow: 0 2px 3px rgba(55, 63, 67, 0.16);
    }

    .nav:not(.nav-tabs) .nav-link:hover {
        font-weight: 600;
        color: var(--bb-color-b);
    }

    .nav:not(.nav-tabs) .nav-link.active {
        font-weight: 600;
        color: var(--bb-color-a);
    }
    /* azure maps customization */
    .pin {
        width: 30px;
        height: 30px;
        border-radius: 50% 50% 50% 0;
        background: #00cae9;
        position: absolute;
        transform: rotate(-45deg);
        left: 50%;
        top: 50%;
        margin: -20px 0 0 -20px;
    }

        .pin:after {
            content: "";
            width: 14px;
            height: 14px;
            margin: 8px 0 0 8px;
            background: #e6e6e6;
            position: absolute;
            border-radius: 50%;
        }

    .bounce {
        animation-name: bounce;
        animation-fill-mode: both;
        animation-duration: 1s;
    }

    .pulse {
        background: #d6d4d4;
        border-radius: 50%;
        height: 14px;
        width: 14px;
        position: absolute;
        left: 50%;
        top: 50%;
        margin: 11px 0px 0px -12px;
        transform: rotateX(55deg);
        z-index: -2;
    }

        .pulse:after {
            content: "";
            border-radius: 50%;
            height: 40px;
            width: 40px;
            position: absolute;
            margin: -13px 0 0 -13px;
            animation: pulsate 1s ease-out;
            animation-iteration-count: infinite;
            opacity: 0;
            box-shadow: 0 0 1px 2px #00cae9;
            animation-delay: 1.1s;
        }

    @keyframes pulsate {
        0% {
            transform: scale(0.1, 0.1);
            opacity: 0;
        }

        50% {
            opacity: 1;
        }

        100% {
            transform: scale(1.2, 1.2);
            opacity: 0;
        }
    }

    @keyframes text-pulsate {
        0% {
            color: white;
        }

        50% {
            color: var(--bb-color-a);
        }

        100% {
            color: white;
        }
    }

    @keyframes bounce {
        0% {
            opacity: 0;
            transform: translateY(-2000px) rotate(-45deg);
        }

        60% {
            opacity: 1;
            transform: translateY(30px) rotate(-45deg);
        }

        80% {
            transform: translateY(-10px) rotate(-45deg);
        }

        100% {
            transform: translateY(0) rotate(-45deg);
        }
    }
    /* dashboard icons */
    a.dash-icon, div.dash-icon {
        text-decoration: none;
        color: inherit;
    }

    .bb-dashboard:not(.small) a.dash-icon.no-edit {
        width: 20%;
    }

    div.custom-dash-icon {
        border-radius: 45px;
        aspect-ratio: 1;
        position: relative;
        min-width: 80px;
        left: 3px;
        margin-bottom: 10px;
        width: calc(100% - 6px);
    }

        div.custom-dash-icon > i {
            color: white;
            font-size: 6cqw;
        }

    div.small div.custom-dash-icon > i {
        font-size: 2vw;
    }

    a.dash-icon > .custom-dash-icon:hover {
        animation: grow 1s linear infinite;
        cursor: pointer;
    }

    div.dash-icon > div.custom-dash-icon:hover {
        animation: wiggle 1s linear infinite;
        cursor: pointer;
    }

    @keyframes grow {
        0% {
            transform: scale(1);
        }

        50% {
            transform: scale(1.1);
        }

        100% {
            transform: scale(1);
        }
    }

    @keyframes wiggle {
        0% {
            transform: rotate(0deg);
        }

        25% {
            transform: rotate(2.5deg);
        }

        50% {
            transform: rotate(0deg);
        }

        75% {
            transform: rotate(-2.5deg);
        }

        100% {
            transform: rotate(0deg);
        }
    }

    div.new-dash-icon {
        width: 20%;
        text-decoration: none;
        color: inherit;
    }

    div.add-dash-icon {
        border-radius: 45px;
        aspect-ratio: 1;
        position: relative;
        left: 6px;
        width: calc(100% - 6px);
    }

        div.add-dash-icon:hover {
            border: 1px solid orange;
        }

        div.add-dash-icon > i {
            font-size: calc(5vw + 5vh);
            color: white;
        }
    /* for the feed components */
    .feed-post {
        position: relative;
        font-size: 1.1em;
        border-radius: 1rem;
        box-shadow: 0 2px 3px rgb(55 63 67 / 16%);
        color: #41464b;
        padding: 5px 15px;
        margin: 10px 0;
        background: #fff;
        color: black;
    }

    .feed-user {
        font-size: 0.7em;
        padding: 0.5rem 1rem;
        border-bottom: 1px solid #efefef;
    }

    .feed-footer {
        padding: 0.5rem 1rem;
        border-top: 1px solid #efefef;
    }

    .dots-container {
        align-items: center;
        display: inline-block;
        justify-content: center;
    }

    i.fa.fa-circle.text-danger {
        animation: dot-blink-half 1.5s infinite;
    }

    .bb-user-title {
        margin: 25px 15px;
        font-size: 32px;
        position: absolute;
    }

    .cross-fade {
        position: absolute;
        animation: 1.5s anim-cross-fade ease;
    }

    .slide-fade-in {
        animation: 1.5s slide-down-fade ease;
    }

    @keyframes slide-down-fade {
        0% {
            opacity: 0;
            transform: translateY(-20px);
        }

        100% {
            opacity: 1;
            transform: translateY(0);
        }
    }

    @keyframes anim-cross-fade {
        0% {
            clip-path: circle(0% at 0 25px);
            opacity: 0;
        }

        100% {
            clip-path: circle(100%);
        }
    }


    .dot {
        animation: dot-blink 1.5s infinite;
        background: white;
        border-radius: 50%;
        display: inline-block;
        height: 8px;
        margin: 0 5px;
        opacity: 0;
        width: 8px;
    }

        .dot:nth-child(1) {
            animation-delay: 0s;
        }

        .dot:nth-child(2) {
            animation-delay: 0.5s;
        }

        .dot:nth-child(3) {
            animation-delay: 1s;
        }

    @keyframes dot-blink {
        0%, 100% {
            opacity: 0;
        }

        50% {
            opacity: 1;
        }
    }

    @keyframes dot-blink-half {
        0%, 100% {
            opacity: 0.5;
        }

        50% {
            opacity: 1;
        }
    }

    .collapse-panel {
        max-height: 0;
        padding: 0;
        overflow: hidden;
    }

        .collapse-panel.open {
            animation: collapse-open 0.25s ease;
            overflow: initial;
            max-height: 100%;
            padding: 1rem;
        }

    @keyframes collapse-open {
        0% {
            max-height: 0;
            padding: 1rem;
        }

        100% {
            max-height: 1000px;
        }
    }

    .office-area {
        display: flex;
    }

    .office-nav-menu {
        display: flex;
        flex-wrap: wrap;
        padding-inline-end: 12px;
        padding-right: 1rem;
        margin-bottom: 16px;
        flex-direction: column;
        padding-left: 0;
        list-style: none;
    }

    .mobile-col {
        width: 100%;
    }

    .mobile-col-6 {
        flex: 1 0 0%;
        width: auto;
        min-width: 12%;
    }

    .desktop-mx-3 {
        margin-left: 12px;
        margin-right: 12px;
    }

    @media (max-width: 767.98px) {
        .mobile-col {
            flex: initial;
        }

        .mobile-col-6 {
            width: 50%;
        }

        .mobile-mb-3 {
            margin-bottom: 12px;
        }

        .desktop-mx-3 {
            margin-left: 0;
            margin-right: 0;
        }

        .office-area {
            flex-wrap: wrap;
        }

        .office-nav-menu {
            flex-direction: initial;
            position: fixed;
            bottom: -15px;
            background: white;
            left: 0;
            right: 0;
            z-index: 999;
        }

        .bbox-popup-bar {
            display: none;
        }

        .office-nav aside a.nav-link .nav-name {
            display: none;
        }

        aside li.nav-item:hover .nav-link {
            width: initial;
        }

        aside li.nav-item .nav-link .icon-20 {
            width: 100%;
            height: 30px;
            margin-right: 0;
            margin-top: 10px;
        }

        .office-nav-menu .nav-item {
            flex: 1 0 auto;
            text-align: center;
            width: 20%;
        }

        .nav:not(.nav-tabs) .nav-link {
            justify-content: center;
            justify-items: center;
        }

        .container-office {
            padding-right: 0.5rem;
            padding-left: 0.5rem;
        }

        aside.nav-hover-parent .nav-heading {
            display: none !important;
        }

        .office-nav {
            width: 100%;
        }

            .office-nav a {
                font-size: 1.25rem !important;
                height: 40px;
            }

        .nav-collapsed .office-body {
            width: 100%;
        }

        .office-body {
            width: 100%;
        }

        .bb-dashboard:not(.small) a.dash-icon.no-edit {
            width: 33.33%;
        }
    }