@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100;0,300;0,400;0,500;0,600;0,700;0,900;1,300;1,500&family=Azeret+Mono&display=swap");

:root {
    --bs-primary: #e15b05;
    --bs-primary-rgb: 225, 91, 5;
    --primary-color: #e15b05;
    --primary-color-dark: #d24600;
    --primary-color-light: #fb853c;
    --bs-secondary: #2c6b8e;
    --secondary-color: #2c6b8e;
    --secondary-color-dark: #22536d;
    --secondary-color-light: #4c9cc8;
    --nav-height: 65px;
    font-family: "Montserrat", sans-serif;
    --bs-body-font-family: "Montserrat", sans-serif;
    font-weight: 400;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

::selection {
    background: rgba(var(--bs-primary-rgb), 0.25);
    color: #000;
}

img {
    user-select: none;
}

.vh-min-100 {
    min-height: 100vh;
}

/* Place css customization here */
.page-wrapper {
    margin-top: var(--nav-height) !important;
    position: relative;
}

header.navbar .container {
    max-width: 100%;
}

.alert-message {
    position: absolute;
    top: 5rem;
    right: 1rem;
}
.alert.alert-warning {
    color: rgb(198, 36, 0);
    background-color: #fff8ea;
    border-color: #ffe8b5;
}
/* image border */
.rounded {
    border-radius: 0.75rem !important;
}

.btn-default:hover,
.btn-default:focus,
.btn-default:active,
.btn-default.active,
.btn-default.show {
    box-shadow:
        0 0.25rem 0.25rem 0.125rem rgba(44 107 142 1 / 10%),
        0 0.375rem 0.375rem -0.125rem rgba(44 107 142 1 / 40%);
}

/* footer button hover */
.btn-light-primary:hover,
.btn-light-primary:focus,
.btn-light-primary:active,
.btn-light-primary.active,
.btn-light-primary.shadow-sm:hover,
.btn-light-primary.shadow-sm:focus,
.btn-light-primary.shadow-sm:active,
.btn-light-primary.shadow-sm.active {
    background-color: var(--primary-color);
    box-shadow:
        0 0.25rem 0.25rem 0.125rem rgb(225 91 5 / 10%),
        0 0.375rem 0.75rem -0.125rem rgb(225 91 5 / 40%) !important;
}

.bg-footer {
    background-color: #ecedee;
}

.footer a {
    color: var(--primary-color);
}

/* button color and shadow styling */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-primary.active,
.btn-primary.show {
    background-color: var(--primary-color-dark);
    border-color: var(--primary-color-light);
    color: #fff;
    box-shadow:
        0 0.25rem 0.25rem 0.125rem rgba(145 57 3 0.5 / 10%),
        0 0.375rem 0.375rem -0.125rem rgba(145 57 3 0.5 / 40%);
}

.btn-primary:disabled,
.btn-primary.disabled {
    background-color: var(--primary-color-light);
    border-color: var(--primary-color-light);
    color: #666276;
}

.btn-outline-primary {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-outline-primary:active,
.btn-outline-primary.active,
.btn-outline-primary.show {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
    box-shadow:
        0 0.25rem 0.25rem 0.125rem rgba(145 57 3 0.5 / 10%),
        0 0.375rem 0.375rem -0.125rem rgba(145 57 3 0.5 / 40%);
}

.btn-primary-alt {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-primary-alt:hover,
.btn-primary-alt:focus,
.btn-primary-alt:active,
.btn-primary-alt.active,
.btn-primary-alt.show {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
    box-shadow:
        0 0.25rem 0.25rem 0.125rem rgb(145 57 3 / 0.1),
        0 0.375rem 0.375rem -0.125rem rgb(145 57 3 / 0.4);
}

a {
    color: rgba(var(--bs-primary-rgb), 0.75);
    text-underline-offset: 0.15em;
    text-decoration-color: rgba(var(--bs-primary-rgb), 0.25);
    transition: all 150ms;
    text-decoration: underline;
    text-decoration-thickness: 0.05em;
    font-weight: 400;
}

a:hover:not(.btn),
a:focus:not(.btn),
a:active:not(.btn) {
    color: rgba(var(--bs-primary-rgb), 0.95);
    text-decoration-color: rgba(var(--bs-primary-rgb), 0.25);
    text-underline-offset: 0.2em;
    text-decoration: underline;
}

a.secondary-color {
    color: var(--secondary-color);
}

a.secondary-color:hover,
a.secondary-color:focus,
a.secondary-color:active {
    color: var(--secondary-color-dark);
}

button.accordion-button {
    color: var(--bs-gray-800) !important;
}
button.accordion-button::after {
    filter: grayscale(100%);
}

/* Important! is overriding theme */
.icon-box:hover .icon-box-media.text-primary,
.icon-box.active .icon-box-media.text-primary,
.icon-box.show .icon-box-media.text-primary {
    background-color: var(--primary-color) !important;
}

/* nav-bar font styling */
.navbar a,
.navbar-nav .nav-item .nav-link {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.navbar .btn {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 14px;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link:focus,
.nav-link:hover {
    color: var(--primary-color);
}

/* nav-bar dropdown */
.dropdown-menu li:hover > .dropdown-item {
    color: var(--primary-color);
}

.navbar-light .nav-item:hover .nav-link:not(.disabled) {
    color: var(--primary-color);
}

/* site wide primary color changed to stem color */
/* Important! is overriding theme */
.text-primary {
    color: var(--primary-color) !important;
}

/* Provider menu */
.card-nav-link:hover,
.card-nav-link:active,
.card-nav-link:focus {
    color: var(--primary-color);
}

.card-nav-link::before {
    background-color: var(--primary-color);
}

/* bread crum */
.breadcrumb-item.active {
    color: var(--primary-color);
}

/* range slider  */
.range-slider-ui .noUi-handle {
    background-color: var(--primary-color);
}

.range-slider-ui .noUi-connect {
    background-color: var(--primary-color);
}

/* scroll buttons for opportunities on home page */
.tns-carousel-wrapper [data-controls]:hover {
    color: var(--primary-color);
}

/* form updates */

.form-check-input:checked {
    border-color: var(--primary-color);
}

.form-check:not(.form-switch) .form-check-input:checked[type="checkbox"] {
    background-image: url("../img/checkmark.ea81a930fd91.svg");
}
.form-check.form-switch .form-check-input:checked[type="checkbox"] {
    background-color: var(--primary-color);
}

.form-check-input:focus,
.form-check-input:hover {
    border-color: var(--primary-color-light);
}

.form-check-input:checked[type="radio"] {
    background-image: url("../img/circle.c164cd580168.svg");
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow:
        inset 0 1px 2px transparent,
        0 0 0 0.125rem rgb(225, 91, 5/ 25%);
}

[list]::-webkit-calendar-picker-indicator,
input[list]::-webkit-list-button {
    display: none !important;
    opacity: 0 !important;
}

.opportunity-card {
    transition:
        transform 400ms ease,
        box-shadow 300ms ease;
}
.opportunity-card:hover {
    transform: scale(1.01);
}

.card-img-centered {
    position: relative;
    margin-top: 32px;
    width: 100%;
    padding: 0 1rem;
    padding-bottom: 0;
    margin-bottom: 0;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-img,
.card-image-link canvas {
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 100%;
    object-fit: contain;
    border-radius: 8px;
    display: flex;
}

.card-image-link {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 1rem;
    aspect-ratio: 1 / 1;
    flex: 1;
}

/* input group fix */
.input-group-append .input-group-text {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.input-group-prepend .input-group-text {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

/* parsley errors */
.parsley-errors-list,
li.parsley-required {
    list-style-type: none;
    color: red;
    margin-left: -1em;
    list-style-position: inside;
}

.parsley-error {
    background-color: rgba(255, 0, 0, 0.1);
}

.parsley-single-error .filled ~ .filled {
    display: none;
}

/* override them orange for base hover to be logo green */
.nav-link:hover,
.nav-link:focus {
    color: var(--primary-color);
}

/* Secondary color used for hovering over hyperlinks */
h1 .nav-link:hover,
h2 .nav-link:hover,
h3 .nav-link:hover,
h4 .nav-link:hover,
h5 .nav-link:hover,
h6 .nav-link:hover,
.h1 .nav-link:hover,
.h2 .nav-link:hover,
.h3 .nav-link:hover,
.h4 .nav-link:hover,
.h5 .nav-link:hover,
.h6 .nav-link:hover {
    color: var(--primary-color);
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link:focus,
.nav-link:hover {
    color: var(--primary-color-dark);
}

.navbar .nav-link,
.navbar .dropdown-nav-link {
    text-decoration: underline;
    text-decoration-color: rgba(var(--bs-primary-rgb), 0);
    text-underline-offset: 0.1em;
    text-decoration-thickness: 0px;
    transition: all 250ms;
    text-shadow: 0px 2px 3px rgba(var(--bs-secondary-rgb), 0);
}

.navbar .nav-link:hover,
.navbar .nav-link.active,
.dropdown-nav-link:hover,
.dropdown-nav-link.active {
    color: var(--primary-color);
    text-decoration-color: rgba(var(--bs-primary-rgb), 0.6);
    text-underline-offset: 0.2em;
    text-decoration-thickness: 2px;
    text-shadow: 0px 2px 3px rgba(var(--bs-secondary-rgb), 0.4);
}

.nav-tabs .nav-link.active,
.nav-tabs .nav-item.show .nav-link {
    color: var(--primary-color);
}

.text-error {
    color: var(--bs-gray-800);
    text-shadow:
        rgba(95, 97, 119, 0.3) 5px 1px,
        rgba(77, 81, 128, 0.2) 10px 3px;
    font-size: 5.25rem;
    line-height: 5.625rem;
}

span.select2-selection.select2-selection--single {
    height: 44px;
    line-height: 44px;
    border: 1px solid #d5d2dc;
    border-radius: 0.5rem;
    box-shadow: inset 0 1px 2px transparent;
}

.select2-container--default
    .select2-selection--single
    .select2-selection__rendered {
    line-height: 1.5rem;
    padding: 0.575rem 1.125rem;
}

.select2-container--default
    .select2-selection--single
    .select2-selection__arrow {
    height: 45px;
    padding: 0.575rem 1.125rem;
}

.location-sub-option {
    margin-left: 20px !important;
    margin-right: 5px !important;
}

.opportunities-map {
    display: flex;
    flex-flow: column;
    height: 100%;
}

#opportunities-map-close {
    top: 0.9rem;
    right: 5rem;
}

.providers-map {
    display: flex;
    flex-flow: column;
    height: 100%;
}

#providers-map-close {
    top: 0.9rem;
    right: 5rem;
}

.opportunities-calendar {
    display: flex;
    flex-flow: column;
    height: 100%;
    padding-top: 5vh;
}

.opportunity-results-container {
    /* Determined by nav height + results header */
    max-height: calc(100vh - var(--nav-height) * 2);
    position: absolute;
    overflow: auto;
    overflow-x: hidden;
    padding: 0 0.5rem;
}
.opportunity-results-header {
    max-height: var(--nav-height);
    height: var(--nav-height);
    display: flex;
    align-items: center;
    align-items: center;
    box-sizing: border-box;
    padding: 0;
    width: 100%;
    padding: 0 0.5rem;
}

.opportunity-results-header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.opportunity-results-container::-webkit-scrollbar {
    width: 0.2rem;
    height: 0.2rem;
}

.opportunity-results-container::-webkit-scrollbar-thumb {
    background: var(--bs-gray-500);
    border-radius: 0.1rem;
}

/* Opportunity badge list */
#opportunityBadges {
    display: flex;
    flex-flow: row wrap;
    max-width: 100%;
    gap: 0.5rem;
}

/* Opportunity badge list item */
#opportunityBadges li {
    max-width: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    cursor: default;
}

/* Opportunity badge overflow */
#opportunityBadges span.badge {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sticky-filter-button-container {
    position: sticky;
    bottom: 0;
    top: auto;
    margin-top: auto;
    z-index: 100;
}

.sticky-filter-button {
    border-radius: 0 !important;
}

/* determined by the navbar height */
#filter-sidebar {
    z-index: 1;
    flex: 1;
    max-height: calc(100vh - var(--nav-height));
    /* padding-top: calc(var(--nav-height) + 1rem); */
}

.badge.bg-faded-success {
    color: #006f4c;
}
.badge.bg-faded-info {
    color: #0045d9;
}

#filter-sidebar .simplebar-content,
#filter-sidebar .offcanvas,
#filter-sidebar .offcanvas-body,
#filter-sidebar form {
    min-height: calc(100vh - var(--nav-height));
    padding-top: var(--nav-height);
}

#filter-sidebar-toggle-bottom-right {
    position: fixed;
    bottom: 0.5rem;
    right: 0.5rem;
    z-index: 100;
}

#filter-sidebar-toggle-bottom-right button {
    border-radius: 0.375rem;
    padding: 0.3rem 0.3rem;
    width: 8rem;
}

#opportunity-filter-body {
    padding: 0 1rem;
}

/* Prevent bouncing scroll on inner elements scroll */
.opportunities-view {
    position: relative;
    height: 100%;
}
.opportunities-view * {
    overscroll-behavior: none;
}

.opportunities-filters {
    position: relative;
    display: flex;
    flex-flow: column;
    height: 100%;
}

.filter-actions {
    box-sizing: border-box;
    position: fixed;

    width: 100%;
    top: 0;
    left: 0;
    z-index: 100;
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0.5rem;
    background: var(--bs-gray-100);
}

.header-filters-row {
    display: flex;
    flex-flow: row wrap;
    gap: 0.5rem;
    z-index: 5;
    top: 0;
}

.loading-status {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-load-status {
    display: none;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0.5rem 0;
}

.opportunities-count-header {
    display: flex;
    flex-flow: column;
    align-items: flex-start;
}

.result-count-badge {
    background: var(--bs-gray-300);
    color: var(--bs-gray-700);
    font-weight: 600;
    padding: 0.2rem 0.5rem;
    font-size: 0.65rem;
    cursor: default;
}

.map-popup {
    height: calc(100vh - var(--nav-height));
}

.opportunity-fav-btn {
    filter: drop-shadow(0 0 0.25rem rgba(0, 0, 0, 0))
        drop-shadow(0 0 1px rgba(0, 0, 0, 0));
    transform-origin: center center;
    position: relative;
    transition: all 200ms;
    z-index: 1;
}

.opportunity-fav-btn:hover {
    filter: drop-shadow(0 0 0.25rem rgba(var(--bs-primary-rgb), 0.1))
        drop-shadow(0 0 2px rgba(0, 0, 0, 0.25));
    scale: 1.1;
}

.opportunity-fav-btn:active {
    filter: drop-shadow(0 0 0.125rem rgba(var(--bs-primary-rgb), 0.25))
        drop-shadow(0 0 1px rgba(0, 0, 0, 0.25));

    scale: 0.95;
}

.icon {
    width: 1em;
    height: 1em;
    line-height: 1em;
    margin: auto auto;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    position: relative;
    display: inline-block;
    text-decoration: none;
}
.icon.new-tab-icon {
    width: 0.7em;
    height: 0.7em;
    background-image: url("../img/new-tab.10efa2de88e7.svg");
    margin-left: 0.25rem;
}

.image-container {
    display: flex;
    margin: 0;
    width: 100%;
    max-width: 100%;
}

.img-250 {
    width: 250px;
    object-fit: contain;
}

.image-container img {
    border-radius: 0.75rem;
    width: 100%;
    height: auto;
    object-fit: contain;
}

.about-page-bg-image,
.about-page-bg-image-reverse {
    position: relative;
    z-index: 1;
    overflow: hidden;
}
.about-page-bg-image:after,
.about-page-bg-image-reverse:after {
    position: absolute;
    content: "";
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: 100%;
    pointer-events: none;
    z-index: -1;
    background-image: url("../img/database-stack.996d47a52dd7.png");
    background-size: contain;
    background-position: top center;
    background-repeat: repeat-y;
    background-blend-mode: overlay;
    rotate: 25deg;
    opacity: 0.08;
}
.about-page-bg-image-reverse::after {
    rotate: -25deg;
}

.alpha-blur {
    backdrop-filter: blur(10px);
    background: rgba(248, 248, 248, 0.25);
}

.flex-row-between {
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-between;
    align-items: center;
}

.fs-larger {
    font-size: 1.2rem;
}

.reset-filters-btn:hover {
    color: var(--bs-danger);
}

.add-opportunity-btn {
    padding: 0.25rem 0.5rem;
    margin-left: auto;
}
.add-opportunity-btn.mobile {
    font-size: 0.6rem;
}

/** START: Override vue-multiselect component */
.multiselect.multiselect__input,
.multiselect * {
    color: var(--bs-gray-900) !important;
    font-size: 1rem !important;
}
.multiselect--active input.multiselect__input,
.multiselect .multiselect__placeholder {
    padding: 0.1rem !important;
    padding-left: 0.75rem !important;
    margin-bottom: 10px !important;
    color: var(--bs-gray-600) !important;
    font-size: 1rem !important;
}
.multiselect--active input.multiselect__input {
    margin-bottom: 12px !important;
}

/* X button */
.multiselect .multiselect__tag-icon::after {
    font-size: 1.4rem;
    color: rgba(var(--bs-dark-rgb), 0.5);
}
/* X button */
.multiselect .multiselect__tag-icon:hover::after {
    color: rgba(var(--bs-dark-rgb), 0.9);
}
.multiselect .multiselect__tag {
    padding-top: 2px !important;
    padding-left: 8px !important;
    background: rgba(var(--bs-primary-rgb), 0.4);
}
.multiselect .multiselect__tag span {
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem !important;
}

.multiselect--active {
    border: 1.5px solid;
    border-color: var(--primary-color) !important;
    box-shadow:
        inset 0 1px 2px transparent,
        0 0 0 0.125rem rgba(var(--bs-primary-rgb), 0.25) !important;
    font-size: 1rem;
}
.multiselect
    .multiselect__option.multiselect__option--highlight:not(
        .multiselect__option--selected
    ) {
    background-color: rgba(var(--bs-primary-rgb), 0.5) !important;
    color: var(--bs-light) !important;
    font-weight: 600;
}
.multiselect
    .multiselect__option.multiselect__option--highlight:not(
        .multiselect__option--selected
    )::after {
    background-color: rgba(var(--bs-primary-rgb), 0.5) !important;
    color: var(--bs-light) !important;
}
.multiselect .multiselect__tags {
    border: none;
    border-radius: 0.75rem;
}

li.parsley-required {
    font-size: 0.95rem;
    font-weight: 600;
}

/** END: Override vue-multiselect component */

/** Bold form labels for add-edit opportunity */
#opportunityForm .form-label {
    font-weight: 600;
}
.badges-container {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-around;
    gap: 0.5rem 0.75rem;
}

.badges-column {
    display: flex;
    flex-flow: column;
    gap: 0.25rem;
    width: 100%;
}

.badges-column:has(.parsley-error),
.badges-container:has(.parsley-error) {
    box-shadow: 0 0 1px 1px inset rgba(var(--bs-danger-rgb), 0.75);
    border-radius: 0.5rem;
    padding: 0.5rem;
    margin-top: 0.5rem;
    background: rgba(var(--bs-danger-rgb), 0.04);
}

.form-badge-checkbox,
.form-badge-radio {
    position: relative;
    box-shadow: 0 0 0px 1px inset rgba(var(--bs-secondary-rgb), 0.2);
    background: rgba(var(--bs-primary-rgb), 0);
    color: var(--bs-gray-600);
    border-radius: 1rem;
    padding: 0.1rem 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    flex: 1 0 100px;

    width: fit-content;
    white-space: nowrap;

    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 200ms;
}

.form-badge-checkbox:hover,
.form-badge-radio:hover {
    background: rgba(var(--bs-secondary-rgb), 0.04);
    color: var(--bs-gray-700);
}

.badges-column .form-badge-checkbox,
.badges-column .form-badge-radio {
    width: 100%;
    flex: 1;
}

.form-badge-radio::before,
.form-badge-checkbox::before {
    opacity: 0;
    padding-right: 0.5rem;
    transition: all 150ms;
}
.form-badge-radio::after,
.form-badge-checkbox::after {
    content: "\2002";
    padding-left: 0.75rem;
}

.form-badge-checkbox::before {
    /* Check Character */
    content: "\2713"; /* Classic bullet "✓" */
}

.form-badge-radio::before {
    /* Radio Character */
    content: "\25C9"; /* Classic bullet "◉" */
}

.form-badge-checkbox:has(:checked),
.form-badge-radio:has(:checked) {
    background: rgba(var(--bs-primary-rgb), 0.1);
    box-shadow: 0 0 1px 1px rgba(var(--bs-primary-rgb), 0.75) inset;
    color: var(--bs-gray-900);
}

/* Focused */
.form-badge-checkbox:focus-within,
.form-badge-radio:focus-within {
    background: rgba(var(--bs-secondary-rgb), 0.05);
    box-shadow: 0 0 0px 1px rgba(var(--bs-secondary-rgb), 0.5) inset;
    color: var(--bs-gray-900);
}

/* Focused */
.form-badge-checkbox:hover,
.form-badge-radio:hover {
    background: rgba(var(--bs-secondary-rgb), 0.1);
    box-shadow: 0 0 0px 1px rgba(var(--bs-secondary-rgb), 0.6) inset;
    color: var(--bs-gray-900);
}

/* Selected + focused */
.form-badge-checkbox:has(:checked):focus-within,
.form-badge-radio:has(:checked):focus-within {
    background: rgba(var(--bs-primary-rgb), 0.2);
    box-shadow: 0 0 1px 2px rgba(var(--bs-primary-rgb), 0.5) inset;
    color: var(--bs-gray-900);
}

/* Selected + Hover */
.form-badge-checkbox:has(:checked):hover,
.form-badge-radio:has(:checked):hover {
    background: rgba(var(--bs-primary-rgb), 0.1);
    box-shadow: 0 0 2px 1px rgba(var(--bs-primary-rgb), 0.6) inset;
    color: var(--bs-gray-900);
}

.form-badge-checkbox:has(:checked)::before,
.form-badge-radio:has(:checked)::before {
    opacity: 1;
}

.form-badge-checkbox:has(:disabled),
.form-badge-radio:has(:disabled) {
    background: var(--bs-gray-100);
    box-shadow: 0 0 1px 0px var(--bs-gray-300) inset;
    color: var(--bs-gray-400);
}

.badge-checkbox,
.badge-radio {
    inset: 0;
    opacity: 0;
    width: 100%;
    height: 100%;
    position: absolute;
    display: flex;
}

.badge-checkbox + .badge,
.badge-radio + .badge {
    color: rgba(var(--bs-primary-rgb), 0.75);
    width: 0px;
    overflow: hidden;
}

.date-range-input-group {
    display: flex;
    flex-flow: row nowrap;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    flex: 1;
    position: relative;
}

.date-range-input-group .date-input::before {
    font-family: "finder-icons" !important;
    content: "\e943";
    position: absolute;
    top: 0.5rem;
    right: 0.75rem;
}
.date-range-input-group .time-input::before {
    font-family: "finder-icons" !important;
    content: "\e956";
    position: absolute;
    top: 0.5rem;
    right: 0.75rem;
}

.date-range-input-group .clear-button {
    font-size: 0.7rem;
    position: absolute;
    right: -0.5em;
    top: -0.5em;
    padding: 0;
    margin: 0;
    line-height: 1em;
    border-radius: 50%;
    width: 1.5em;
    height: 1.5em;
    background: rgba(var(--bs-danger-rgb), 0.4);
    color: var(--bs-light);
}
.date-range-input-group .clear-button:hover {
    background: rgba(var(--bs-danger-rgb), 0.8);
}
.date-range-input-group .clear-button:active {
    background: rgba(var(--bs-danger-rgb), 0.4);
}
.date-range-input-group .date-range-inputs {
    display: flex;
    flex-flow: row nowrap;
    align-items: center;
    width: 100%;
}

.date-range-input-group .date-time-input {
    position: relative;
    flex: 1;
    width: 100%;
}

.date-range-input-group .date-label {
    position: absolute;
    line-height: 1em;
    top: 0.25rem;
    left: 0.5rem;
    font-size: 0.8rem;
    font-weight: 600;
    user-select: none;
    pointer-events: none;
}
.date-range-inputs input,
.date-range-inputs select {
    padding: 0.25rem 0.5rem;
    padding-top: 1rem;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    border: none;
    box-shadow: 0 0 1px 1px inset rgba(var(--bs-secondary-rgb), 0.15);
    font-size: 0.9rem;
}
.date-range-inputs input:focus,
.date-range-inputs select:focus,
.date-range-inputs input.active {
    box-shadow: 0 0 0px 3px inset rgba(var(--bs-primary-rgb), 0.25);
}

.date-range-inputs .date-time-input:first-child input,
.date-range-inputs .date-time-input:first-child select {
    border-top-left-radius: 0.5rem;
    border-bottom-left-radius: 0.5rem;
    border-width: 1px;
}

.date-range-inputs .date-time-input:last-child input,
.date-range-inputs .date-time-input:last-child select {
    border-top-right-radius: 0.5rem;
    border-bottom-right-radius: 0.5rem;
}

.date-range-inputs .date-time-input:only-child input,
.date-range-inputs .date-time-input:only-child select {
    border-top-left-radius: 0.5rem;
    border-top-right-radius: 0.5rem;
    border-bottom-left-radius: 0.5rem;
    border-bottom-right-radius: 0.5rem;
}

/*
992px is the bootstrap breakpoint for large screens. also where the filter sidebar toggles
https://getbootstrap.com/docs/5.0/layout/breakpoints
*/
@media screen and (max-width: 991px) {
    :root {
        --nav-height: 51px;
    }
    .fs-larger {
        font-size: 1rem;
    }
    #filter-sidebar {
        /* height: 0px; */
        position: relative;
        z-index: 10;
        max-height: 100vh;
    }
    #filter-sidebar .offcanvas-body {
        /* determined by the navbar height */
        /* margin-top: calc(var(--nav-height) + var(--fixed-filters-header-height)); */
        padding: 0;
    }

    #opportunity-filter-body {
        padding: 0 1rem;
    }
    .sticky-filter-button-container {
        bottom: 1rem;
        border-bottom: 2px solid var(--bs-body-bg);
    }
    #opportunity-results-container {
        /* determined by the navbar height + opportunities header */
        max-height: calc(100vh - var(--nav-height));
        overflow: auto;
        overflow-x: hidden;
    }
    .map-popup {
        height: 100vh;
    }
    .date-range-input-group .date-range-inputs {
        flex-flow: column;
        height: 100%;
        width: 100%;
        gap: 0;
    }
    .date-range-inputs input,
    .date-range-inputs select {
        border-top-right-radius: 0;
        border-bottom-right-radius: 0;
        border-top-left-radius: 0;
        border-bottom-left-radius: 0;
    }
    .date-range-inputs .date-time-input:first-child input,
    .date-range-inputs .date-time-input:first-child select {
        border-top-left-radius: 0.5rem;
        border-top-right-radius: 0.5rem;
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
    }
    .date-range-inputs .date-time-input:last-child input,
    .date-range-inputs .date-time-input:last-child select {
        border-bottom-left-radius: 0.5rem;
        border-bottom-right-radius: 0.5rem;
        border-top-left-radius: 0;
        border-top-right-radius: 0;
    }
    .date-range-inputs .date-time-input:only-child input,
    .date-range-inputs .date-time-input:only-child select {
        border-top-left-radius: 0.5rem;
        border-top-right-radius: 0.5rem;
        border-bottom-left-radius: 0.5rem;
        border-bottom-right-radius: 0.5rem;
    }
}

#activeFilterBadges:empty {
    padding: 0 0 0 0 !important;
}

/* Override the the Google Translate bar's positioning from the top of the page to the bottom */
#gt-nvframe {
    bottom: 0 !important;
    top: unset !important;
}

/* Apply a watermark to archived opportunities on the Provider page */
.archived-watermark {
    position: absolute;
    top: 0;
    left: 5%;
    width: 155px;
    height: 75px;
    transform: rotate(180deg);
    background-color: rgba(var(--bs-primary-rgb), 0.5);
    color: white;
    font-size: 25px;
    font-weight: bold;
    border-top-left-radius: 150px;
    border-top-right-radius: 150px;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
    pointer-events: none;
}

.archived-watermark span {
    transform: translateY(10px) rotate(-180deg);
}

.provider-card {
    border: 2px solid transparent;
    border-radius: 8px;
    transition: border-color 0.3s ease-in-out;
}

.provider-card:hover {
    border-color: var(--bs-primary);
    cursor: pointer;
}

.provider-card-link {
    text-decoration: none !important;
    color: inherit !important;
}

.provider-link {
    color: black;
    text-decoration: none;
}

.custom-sticky-top {
    position: sticky;
    top: var(--nav-height);
}

.line-clamp-2 {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    max-height: 2.4em;
    line-height: 1.2;
    font-size: clamp(0.8rem, 2vw, 1.1rem);
}

@media (max-width: 576px) {
    .line-clamp-2 {
        font-size: clamp(0.8rem, 2vw, 1.8rem);
    }
}

.line-clamp-3 {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    max-height: 3.6em;
    line-height: 1.2;
    font-size: clamp(1rem, 2vw, 1.25rem);
}

.date-box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    max-width: 50px;
    box-sizing: border-box;
}

.day,
.month {
    white-space: nowrap;
    text-align: center;
    line-height: 1;
    margin: 0;
    padding: 0;
    font-family: 'Azeret Mono', monospace;
    font-weight: bold;
}

@media (max-width: 575.98px) {
    .date-box {
        max-width: 40px;
    }
}

.truncate {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: clamp(0.8rem, 2vw, 1.2rem);
    line-height: 1.2;
}

@media (max-width: 576px) {
    .truncate {
        white-space: nowrap;
        max-width: 190px;
        font-size: 0.8rem;
        line-height: 1.2;
    }
}

.date-picker-input {
    background-color: #f5f4f8;
    border: 1px solid #fff0;
    border-color: #e4dfeb;
    color: #3C444C;
    padding: .425rem 1rem;
    font-size: .875rem;
    border-radius: .375rem;
    display: inline-block;
    font-weight: 700;
    line-height: 1.5;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
    vertical-align: middle;
    cursor: pointer;
    transition: color 0.2s ease-in-out, background-color 0.2s ease-in-out, border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.date-picker-input::placeholder {
    color: #3C444C;
    padding: 0%;
}

.date-picker-input::placeholder.date-picker-specific-width {
    color: #3C444C;
    font-size: .875em;
    padding: 0%;
}

.date-picker-input:hover {
    border-color: #e4dfeb;
    color: #1f1b2d;
    box-shadow: 0 .25rem .25rem .125rem rgb(187 183 197 / .1), 0 .375rem .75rem -.125rem rgb(187 183 197 / .4);
}

.date-picker-input:focus {
    outline: none;
    border-color: #e4dfeb;
}

.date-picker-input {
    caret-color: transparent;
    /* Hides the blinking cursor */
}

input.date-picker-input.form-control {
    color: #3C444C;
}

input.date-picker-input.form-control.date-filter-item-active {
    color: #FFFFFF;
}

input.date-picker-input.form-control.date-picker-specific-width {
    color: #3C444C;
    width: fit-content;
    font-size: 12px;
    padding-top: 1px;
    padding-bottom: 0px;
}

input.date-picker-input.form-control.date-picker-specific-width.date-filter-item-active {
    color: #FFFFFF;
}

.calendar-card {
    border: 2px solid transparent;
    border-radius: 8px;
    transition: border-color 0.3s ease-in-out;
    display: flex;
    width: 100%;
    height: 175px;
}

.calendar-card:hover {
    border-color: var(--bs-primary);
    cursor: pointer;
}

.calendar-item {
    display: flex;
    flex-grow: 1;
    margin-right: 3px;
    min-width: 190px;
}

.calendar-item>div {
    display: flex;
    align-items: center;
    width: 100%;
}

.calendar-image {
    max-width: 215px;
    max-height: 100px;
}

@media (max-width: 576px) {
    .calendar-image {
        display: none;
    }
}

.filter-badge {
    font-size: 0.8rem;
}

@media (max-width: 576px) {
    .filter-badge {
        font-size: 0.65rem;
    }
}

/* Plays an animation to hit that the date filters on the Opportunity Calendar page scrolls horizontally */
@keyframes scrollHint {
    0% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(-40px);
    }

    100% {
        transform: translateX(0);
    }
}

.date-filter-content {
    display: flex;
}

@media (max-width: 767px) {
    .date-filter-content {
        animation: scrollHint 2.2s ease-in-out;
        animation-delay: 0.5s;
        animation-fill-mode: forwards;
    }
}

@media (max-width: 767px) {
    .date-filter-scroll-container {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        white-space: nowrap;
        gap: 3px;
        -webkit-overflow-scrolling: touch;
    }

    .date-filter-item {
        flex: 0 0 auto;
    }

    .date-filter-item:last-child {
        padding-right: 20px;
    }
}

.date-filter-scroll-container {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.date-filter-scroll-container::-webkit-scrollbar {
    display: none;
}

.date-filter-item.date-filter-item-active {
    background-color: var(--bs-primary);
    border-color: var(--bs-primary);
    color: white;
}

.date-filter-item.date-filter-item-active::placeholder {
    color: white;
}

.scrollable-calendar-container {
    max-height: 70vh;
    overflow-y: auto;
    padding-right: 15px;
    overscroll-behavior: none
}

.calendar-container {
    padding-right: 5px;
}

.scrollable-calendar-container::-webkit-scrollbar {
    width: 8px;
}

.scrollable-calendar-container::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.scrollable-calendar-container::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

.scrollable-calendar-container::-webkit-scrollbar-thumb:hover {
    background: #555;
}


.nav-item.dropdown .dropdown-menu {
    display: none;
}

.nav-item.dropdown.show .dropdown-menu {
    display: block;
}

@media (min-width: 768px) {
    .nav-item.dropdown:hover>.dropdown-menu {
        display: block;
    }
}

.no-radius,
.no-radius:hover,
.no-radius:is(.collapsed, :not(.collapsed)) {
    border-bottom-right-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
    border-bottom: 1px solid #efecf3 !important;
}

.colorize-badge {
    background-color: var(--primary-color) !important;
  }

.colorize-btn {
background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/%3e%3c/svg%3e") center/0.75em auto no-repeat !important;
opacity: 100%;
}

.colorize {
color: white !important;
}
