@import url('https://fonts.googleapis.com/css2?family=Hind:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

:root {

    --color-lines: #a6a6a6;
    --reservable: #ffffff;
    --unreservable: #CF9D9B;
    --reserved: #408AD2;
    --reservedMine: #6F9BAE;
    --reservedParticipating: #875cae;
    --reservedPending: #f2dfbf;
    --reservedDeclined: #f8d7da;
    --pasttime: #bdbdbd;
    --hiliteReservation: #79bf40;
    --bs-body-color: #464d53;
}

[data-bs-theme="default"] {
    --primary: #669999;
    --primary-hover: #527a7a;
    --primary-disabled: #85adad;
    --text-color-btn: #ffffff;
}

[data-bs-theme="dimgray"] {
    --primary: #696969;
    --primary-hover: #595959;
    --primary-disabled: #808080;
    --text-color-btn: #ffffff;
}

[data-bs-theme="dark_red"] {
    --primary: #8b0000;
    --primary-hover: #660000;
    --primary-disabled: #b30000;
    --text-color-btn: #ffffff;
}

[data-bs-theme="dark_green"] {
    --primary: #006400;
    --primary-hover: #003300;
    --primary-disabled: #009900;
    --text-color-btn: #ffffff;
}

[data-bs-theme="french_blue"] {
    --primary: #0072B5;
    --primary-hover: #005180;
    --primary-disabled: #0091e6;
    --text-color-btn: #ffffff;
}

[data-bs-theme="orange"] {
    --primary: #be6e34;
    --primary-hover: #a05c2c;
    --primary-disabled: #e4b99b;
    --text-color-btn: #ffffff;
}

html,
body {
    min-height: 100%;
}

body {
    font-family: "Hind", "system-ui", "sans-serif";
    font-weight: 400;
    font-style: normal;
    font-size: 14px;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    padding-bottom: 80px;
}

#main {
    flex: 1 0 auto;
}

#global-footer {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1030;
    margin-top: 0;
}

img.logo {
    max-height: 50px;
}

.nav-link:hover {
    color: var(--primary-hover) !important;
}

.dropdown-menu {
    --bs-dropdown-link-active-bg: var(--primary);
    font-size: 12px;
}

.page-link {
    color: var(--primary);
    border: var(--bs-pagination-border-width) solid var(--primary);
}

.active>.page-link,
.page-link.active {
    z-index: 3;
    color: var(--bs-pagination-active-color);
    background-color: var(--primary);
    border-color: var(--primary);
}

.page-link:hover {
    background-color: var(--primary-hover);
    border-color: var(--primary);
    color: #ffffff;
}

.page-link:focus {
    color: var(--primary) !important;
}

.disabled>.page-link {
    border-color: var(--primary);
}

.btn-primary {
    --bs-btn-bg: var(--primary);
    --bs-btn-border-color: var(--primary-hover);
    --bs-btn-hover-bg: var(--primary-hover);
    --bs-btn-hover-border-color: var(--primary);
    --bs-btn-active-bg: var(--primary);
    --bs-btn-active-border-color: var(--primary);
    --bs-btn-focus-border-color: var(--primary);
}

.btn-outline-primary {
    --bs-btn-border-color: var(--primary);
    --bs-btn-color: var(--primary);
    --bs-btn-hover-bg: var(--primary-hover);
    --bs-btn-active-bg: var(--primary);
    --bs-btn-hover-border-color: var(--primary);
    --bs-btn-active-border-color: var(--primary);
}

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

.link-primary {
    color: var(--primary) !important;
    text-decoration: none;
}

.link-primary:hover,
.link-primary:focus {
    color: var(--primary-hover) !important;
}

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

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

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

.form-check-input.is-valid:checked,
.was-validated .form-check-input:valid:checked {
    background-color: var(--primary);
}

.has-error .checkbox,
.has-error .checkbox-inline,
.has-error .control-label,
.has-error .help-block,
.has-error .radio,
.has-error .radio-inline,
.has-error.checkbox label,
.has-error.checkbox-inline label,
.has-error.radio label,
.has-error.radio-inline label {
    color: var(--bs-danger);
}

.wait-box {
    display: none;
    text-align: center;
    top: 15%;
    position: relative;
    padding: 20px;
    border: 1px solid #585754;
}

.inlineUpdate,
.changeScheduleAdmin {
    cursor: pointer;
}

.accordion-button.collapsed {
    background: #ffffff;
    color: var(--primary) !important;
}

.accordion-button:not(.collapsed) {
    background: var(--bs-secondary-bg);
    color: var(--primary) !important;
}

.accordion-button:hover {
    background: var(--bs-secondary-bg);
    color: var(--primary) !important;
}

.accordion-header {
    background: var(--bs-secondary-bg);
    color: var(--primary) !important;
}

.accordion-header:has(.accordion-icon-container.collapsed) {
    background: #ffffff;
    color: var(--primary) !important;
}

.accordion-header:hover {
    background: var(--bs-secondary-bg) !important;
    color: var(--primary) !important;
}

.accordion-footer button {
    min-width: 150px;
}

.noImage {
    min-height: 100px;

}

.timespan {
    --bs-bg-opacity: .2;
}

.upcomingReservationsDashboard .reservation.hover {
    cursor: pointer;
    background-color: #eaf2f2;
    color: #222;
}

.upcomingReservationsDashboard .reservation.clicked {
    cursor: pointer;
    background-color: #F0F0F0;
}

.upcomingReservationsDashboard .reservation.pending {
    background-color: var(--reservedPending);
}

.upcomingReservationsDashboard .reservation.pending.hover,
.upcomingReservationsDashboard .reservation.pending.clicked {
    background-color: #eac995;
}

.upcomingReservationsDashboard .reservation.declined {
    background-color: var(--reservedDeclined);
}

.upcomingReservationsDashboard .reservation.declined.hover,
.upcomingReservationsDashboard .reservation.declined.clicked {
    background-color: #f1aeb5;
}

.page-search-availability #repeatDiv label {
    min-width: 80px;
}

.select2-container--default .select2-selection--multiple {
    border: 1px solid var(--bs-border-color);
}

.select2-container--default.select2-container--focus .select2-selection--multiple {
    border: solid var(--bs-border-color) 1px;
}

.relationships-modal .modal-dialog {
    max-width: 560px;
}

.relationships-modal-content {
    border-radius: 10px;
    overflow: hidden;
}

.relationships-modal-header {
    align-items: center;
    border-bottom: 0;
    padding: 12px 16px 8px;
}

.relationships-modal .modal-title {
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: .03em;
    text-transform: uppercase;
}

.relationships-modal-body {
    padding: 0 16px 8px;
}

.relationship-field {
    margin-bottom: 12px;
}

.relationship-field-last {
    margin-bottom: 0;
}

.relationship-label {
    color: #1f2d3d;
    display: block;
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 4px;
}

.relationship-mode-row {
    margin-top: 6px;
}

.relationship-mode-select {
    max-width: 82px;
}

.relationships-modal .select2-container {
    width: 100% !important;
}

.relationships-modal .select2-container .select2-selection--multiple {
    min-height: 40px;
}

.relationships-modal .select2-container--bootstrap .select2-selection--multiple {
    align-items: center;
    display: flex;
    min-height: 40px;
    padding: 4px 12px;
    position: relative;
}

.relationships-modal .select2-container--bootstrap .select2-selection--multiple .select2-selection__rendered {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: flex-start;
    margin: 0;
    min-height: 0;
    padding: 0;
    width: 100%;
}

.relationships-modal .select2-container--bootstrap .select2-selection--multiple .select2-search--inline {
    align-items: center;
    display: flex;
    float: none;
    flex: 1 1 auto;
    justify-content: flex-start;
    margin: 0;
}

.relationships-modal .select2-container--bootstrap .select2-selection--multiple .select2-search__field {
    caret-color: transparent;
    float: none;
    left: 0;
    margin: 0 !important;
    text-align: left !important;
    width: 100% !important;
}

.relationships-modal .select2-container--bootstrap .select2-selection--multiple .select2-search--inline:first-child,
.relationships-modal .select2-container--bootstrap .select2-selection--multiple .select2-search--inline:only-child {
    width: 100%;
}

.relationships-modal .select2-container--bootstrap .select2-selection--multiple .select2-search--inline:first-child .select2-search__field,
.relationships-modal .select2-container--bootstrap .select2-selection--multiple .select2-search--inline:only-child .select2-search__field {
    padding-left: 0;
    width: 100% !important;
}

.relationships-modal .select2-container--bootstrap .select2-selection--multiple .select2-selection__choice {
    align-items: center;
    background: #f7f7f7;
    border: 1px solid #cfcfcf;
    border-radius: 3px;
    color: #444;
    display: inline-flex;
    float: none;
    line-height: 1.2;
    margin: 0;
    max-width: 100%;
    padding: 3px 8px;
}

.relationships-modal .select2-container--bootstrap .select2-selection--multiple .select2-selection__choice__remove {
    background: transparent;
    border: 0;
    box-shadow: none;
    color: #666;
    display: inline-block;
    font-size: 12px;
    line-height: 1;
    margin-right: 6px;
    padding: 0;
}

.relationships-modal .select2-container--bootstrap .select2-selection--multiple .select2-selection__placeholder {
    align-items: center;
    color: #8a8a8a;
    display: inline-flex;
    margin: 0;
}

.relationships-modal .relationship-select-placeholder {
    color: #8a8a8a;
    display: inline-flex;
    line-height: 32px;
    margin: 0;
    pointer-events: none;
    text-align: left;
}

.relationships-modal .select2-container--bootstrap .select2-selection--multiple .select2-search--inline .select2-search__field,
.relationships-modal .select2-container--bootstrap .select2-selection--multiple .select2-selection__placeholder {
    text-align: left;
}

.relationships-modal-footer {
    border-top: 0;
    padding: 12px 16px 16px;
}

.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
    background-color: var(--primary);
}

.ui-widget {
    font-family: inherit !important;
}

.ui-autocomplete {
    z-index: 5000;
    max-height: 300px;
    overflow-y: auto;
    overflow-x: hidden;
}

.enforce-days-inner {
    min-width: 420px;
    white-space: nowrap;
}

.updateCustomAttribute,
.reservation-list-dates div {
    min-width: 240px;
}

#reservationTable tr.editable td {
    cursor: pointer;
}

.form-control.dateinput {
    width: 120px;
}

.form-select.dateinput {
    width: 90px;
}

#add-blackout-panel label,
#editRecurrenceModal label,
#blackoutReasonLabel {
    min-width: 90px;
}

.carousel-indicators [data-bs-target] {
    background-color: var(--primary);
}

span.searchclear,
span.searchclear-label {
    position: absolute;
    right: 8px;
    top: 55%;
    transform: translateY(-50%);
    color: #666;
    font-size: 1.2em;
    background: transparent;
    padding-left: 3px;
    cursor: pointer;
}

#deleteCustomLayoutDialog,
#confirmCreateSlotDialog {
    display: none;
    background-color: #F9F9F9;
    border-color: #BCBCBC;
    position: absolute;
    z-index: 2;
    padding: 12px;
}

#button-up {
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    position: fixed;
    bottom: 30px;
    right: 30px;
    cursor: pointer;
    transition: all 300ms ease;
    transform: scale(0);
    z-index: 1050;
    opacity: 0.9;
}

#button-up:hover {
    transform: scale(1.2) !important;
    border-color: rgba(0, 0, 0, 0.1);
}

#resourceGroupsContainer {
    display: none;
    width: 200px;
    height: 300px;
    z-index: 200;
    position: absolute;
    overflow: scroll;
}

.dropzone {
    position: relative;
    height: 85px;
    width: 100%;
}

.dropzone div {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.dropzone [type="file"] {
    cursor: pointer;
    position: absolute;
    opacity: 0;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    height: 100%;
    width: 100%;
}

.dropzone img {
    max-width: 95%;
    max-height: 80px;
}

#dayDialog,
#deleteCustomLayoutDialog,
#confirmCreateSlotDialog {
    background-color: #F9F9F9;
    border-color: #BCBCBC;
    position: absolute;
    z-index: 2;
    padding: 12px;
}

#dayDialog a,
#deleteCustomLayoutDialog a,
#confirmCreateSlotDialog a {
    padding: 0 5px;
}

#changeLayoutDialog textarea {
    width: 300px;
    height: 375px;
}

.slotWizard input {
    width: 80px;
}

#addedGroups a {
    text-decoration: none;
    color: var(--bs-danger);
}

#addedGroups a::before {
    content: "\F628";
    font-family: "bootstrap-icons";
}

#removedGroups a {
    text-decoration: none;
    color: var(--bs-success);
}

#removedGroups a::before {
    content: "\F4FC";
    font-family: "bootstrap-icons";
}

.announcement a,
.announcement a:visited {
    color: var(--primary);
}

.resource-draggable {
    cursor: move;
    border: solid 1px transparent;
    padding: 3px;
}

.resource-draggable:hover {
    border: dotted 1px #666;
}

.drop-resource {
    background-color: #fffcd3;
}

.jqtree-tree a,
.jqtree-tree li a {
    text-decoration: none;
    cursor: pointer;
    color: #000;
}

.jqtree-tree,
.jqtree-tree li {
    list-style: none;
}

.qtip {
    max-width: none;
}

ul.jqtree-tree .group-resource .jqtree-title {
    color: #111111;
}

#manage-resource-groups-container {
    max-width: 700px;
}

table.reservations td {
    border: solid var(--color-lines) 1px !important;
}

.availability-highlighter {
    position: absolute;
    background-color: rebeccapurple;
    opacity: 0.25;
}

.opening {
    cursor: pointer;
}

#userDetailsDiv,
#resourceDetailsDiv {
    max-width: 50%;
    display: none;
    position: absolute;
    z-index: 99999;
    background: white;
    padding: 15px;
    box-shadow: 0 10px 16px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19) !important;
}

#reservation-box label,
#purchase label {
    min-width: 50px;
}

input[type=text].user-search {
    width: 250px;
}

input.mid-number {
    width: 70px !important;
}

#participantList,
#inviteeList {
    height: 100px;
    overflow-y: auto;
}

.blackouts-edit-resources {
    max-height: 250px;
    overflow-y: scroll;
}

.text-small {
    font-size: 0.5rem;
}

#page-resource-display-resource table.reservations td {
    font-size: 1.1em;
}

#page-resource-display-resource .date-picker {
    position: absolute;
    top: 72px;
    z-index: 500;
}

.social-login a {
    min-width: 250px;
}

#panelCustomReport label {
    min-width: 130px;
}

.respopup-tooltip {
    pointer-events: none;
}

.respopup-tooltip .tooltip-inner {
    font-size: 14px;
    min-width: 450px;
    text-align: left;
}

.upcomingReservationsDashboard .reservation,
.upcomingReservationsDashboard .reservation .reservation-cell,
.upcomingReservationsDashboard .reservation .reservation-date {
    cursor: help;
}

.upcomingReservationsDashboard .reservation {
    position: relative;
}

.fc-past {
    background-color: var(--pasttime) !important;
    color: #333;
}

.fc-future.hover {
    background-color: var(--hiliteReservation) !important;
    color: #ffffff;
    cursor: pointer;
}

.resourceName {
    background-color: var(--primary);
    color: var(--text-color-btn);
}

#selectedResourceDisplay .resourceName {
    display: inline-flex;
    align-items: center;
}

#autoAddedResources .resourceName {
    background-color: #dff1ec;
    color: #2c6b5a;
}

#requiredResourceMessages {
    clear: both;
}

.resourceName a {
    color: inherit;
    text-decoration: none;
}

.reserveButton .btn {
    color: var(--text-color-btn);
}

.repeat-date-list {
    min-height: 40px;
}

.no-show {
    display: none !important;
}

.trumbowyg-editor p,
.notesValue p,
.descriptionValue p {
    margin: 0;
}

.trumbowyg-modal-submit {
    background-color: var(--primary) !important;
    color: var(--text-color-btn) !important;
}

.descriptionValue a,
.descriptionContent a,
.notesValue a,
.noteContent a,
.announcement a,
.announcementText a,
.announcementContent a,
.trumbowyg-editor a {
    color: var(--primary);
}

.editable-container.editable-popup {
    max-width: 50% !important;
}

.editable-input {
    max-width: 90%;
}

#entityChoices,
#editEntityChoices {
    display: none;
    min-width: 150px;
    border: solid 1px #e2e2e2;
    padding: 10px;
    max-height: 400px;
    overflow-x: auto;
    overflow-y: visible;
    position: absolute;
    z-index: 10000;
    background-color: #f5f5f5;
    -moz-box-shadow: 0px 0px 3px 0px #ccc;
    -webkit-box-shadow: 0px 0px 3px 0px #ccc;
    box-shadow: 0px 0px 3px 0px #ccc;
}

#entityChoices li,
#editEntityChoices li {
    list-style: none;
    font-size: 10pt;
}

.flatpickr-calendar {
    margin: 0 auto;
}

.flatpickr-months .flatpickr-month {
    background: var(--primary) !important;
    color: var(--text-color-btn) !important;
}

.flatpickr-monthDropdown-months {
    background-color: var(--primary);
    color: #ffffff;
}

.flatpickr-monthDropdown-months option {
    background-color: #ffffff;
    color: #000000;
}

.flatpickr-weekdays {
    background: var(--primary) !important;
}

span.flatpickr-weekday {
    background: var(--primary) !important;
    color: var(--text-color-btn) !important;
}

.flatpickr-day.selected,
.flatpickr-day.startRange,
.flatpickr-day.endRange,
.flatpickr-day.selected.inRange,
.flatpickr-day.startRange.inRange,
.flatpickr-day.endRange.inRange,
.flatpickr-day.selected:focus,
.flatpickr-day.startRange:focus,
.flatpickr-day.endRange:focus,
.flatpickr-day.selected:hover,
.flatpickr-day.startRange:hover,
.flatpickr-day.endRange:hover,
.flatpickr-day.selected.prevMonthDay,
.flatpickr-day.startRange.prevMonthDay,
.flatpickr-day.endRange.prevMonthDay,
.flatpickr-day.selected.nextMonthDay,
.flatpickr-day.startRange.nextMonthDay,
.flatpickr-day.endRange.nextMonthDay {
    background: var(--primary) !important;
    color: var(--text-color-btn) !important;
    border-color: var(--primary) !important;
}

.flatpickr-wrapper:has(.customAttribute) {
    width: 100%;
}

.flatpickr-day.today {
    border-color: var(--primary) !important;
}

.flatpickr-months .flatpickr-prev-month,
.flatpickr-months .flatpickr-next-month {
    fill: var(--text-color-btn) !important;
}

.new-design.bg-light {
    /* background-color: #3f3e49 !important; */
}

.new-design .navbar-nav .link-primary {
    /* color: #fefefe !important; */
}

.new-design .resourceName {
    background-color: #8CC63F;
    color: var(--text-color-btn);
}

.new-design .reserveButton .btn {
    background-color: #8CC63F;
}

.new-design .badge.bg-primary {
    background-color: #8CC63F !important;
}

.new-design .link-primary span,
.new-design .link-primary i,
.new-design a.update {
    color: #0d6efd !important;
}

.new-design .accordion-header .link-primary span {
    color: white !important;
}

/* Show dropdown on hover */
.nav-item.dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0;
    /* removes jump */
}

.img-responsive {
    width: 30px;
    height: 30px;
}



#renameDialog {

    height: auto !important;
}

.resource-filter-panel {
    border: 1px solid #d2d2d2;
    border-radius: 14px;
    background: #ffffff;
    overflow: hidden;
}

.resource-filter-panel .accordion-header {
    background: #ffffff;
}

.resource-filter-panel .resource-filter-toggle {
    background: #ffffff;
    color: #2f2f2f !important;
    font-size: 1.05rem;
    padding: 14px 18px;
    box-shadow: none;
}

.resource-filter-panel .resource-filter-toggle:not(.collapsed) {
    background: #ffffff;
    color: #2f2f2f !important;
}

.resource-filter-panel .resource-filter-toggle.collapsed {
    background: #f1f1f1;
    color: #2f2f2f !important;
    border-radius: 14px;
    min-height: 48px;
    padding: 12px 20px;
}

.resource-filter-panel:has(.resource-filter-toggle.collapsed) {
    background: #f1f1f1;
    border-color: #e1e1e1;
    border-radius: 14px;
}

.resource-filter-panel:has(.resource-filter-toggle.collapsed) .accordion-header {
    background: #f1f1f1;
}

.resource-filter-panel:has(.resource-filter-toggle.collapsed) .accordion-button::after {
    opacity: 0.75;
}

#list-resources-panel {
    background: transparent !important;
    border: 0;
    border-radius: 14px !important;
    overflow: visible;
}

/* Ensure Manage Resources remains scrollable in browser fullscreen mode */
#page-manage-resources:fullscreen,
#page-manage-resources:-webkit-full-screen,
#page-manage-resources:-moz-full-screen,
#page-manage-resources:-ms-fullscreen {
    overflow-y: auto;
    overflow-x: hidden;
    height: 100vh;
}

#list-resources-panel .card-body,
#list-resources-panel .table,
#list-resources-panel .table> :not(caption)>*>* {
    background: transparent !important;
}

#resourcesTable_wrapper,
#resourcesTable {
    border: 0;
}

#resourcesTable tbody tr td {
    padding: 6px 0;
}

#list-resources-panel .no-padding.card-body {
    border-radius: 14px !important;
    overflow: visible;
}

#filter-resources-panel {
    border-radius: 14px !important;
    overflow: hidden;
    background: #ffffff !important;
}

#list-resources-panel .resourceItem {
    background: #ffffff;
    border: 1px solid #d9d9d9;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 8px !important;
}

#list-resources-panel>.card-body {
    background: #ffffff !important;
    border-radius: 14px;
}

#list-resources-panel .resourceItem .accordion-header {
    background: #ffffff;
}

#list-resources-panel .resourceItem .accordion-button {
    background: #ffffff;
    color: #2f2f2f;
    box-shadow: none;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1rem;
    font-weight: 600;
    min-height: 44px;
    padding: 8px 12px;
}

#list-resources-panel .resourceItem .accordion-button:not(.collapsed) {
    background: #ffffff;
}

#list-resources-panel .resourceItem .accordion-button::after {
    margin-left: auto;
    transform: scale(0.8);
}

.resource-header-meta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.resource-color-dot {
    width: 20px;
    height: 20px;
    border-radius: 6px;
    display: inline-block;
}

.resource-header-title {
    line-height: 1.2;
    flex: 1 1 auto;
    min-width: 0;
}

#list-resources-panel .resource-header-actions {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-left: 12px;
    margin-right: 8px;
    flex: 0 0 auto;
    justify-content: flex-end;
}

#list-resources-panel .resource-header-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    text-decoration: none;
    opacity: 0.95;
}

#list-resources-panel .resource-header-actions .link-danger {
    color: #d9534f !important;
}

#list-resources-panel .resourceDetails {
    background: #ffffff;
    border-top: 1px solid #d6d6d6;
    padding: 14px 16px 16px;
}

#list-resources-panel .resourceDetails .resource-layout-grid>.col {
    padding-top: 0;
}

#list-resources-panel .resourceDetails .col-sm-2 .resourceImage {
    display: none;
}

#list-resources-panel .resourceDetails .col-sm-2 {
    display: none;
}

#list-resources-panel .resourceDetails .col-sm-10 {
    width: 100%;
    flex: 0 0 100%;
    max-width: 100%;
}

#list-resources-panel .resourceDetails label.inline.fw-bold {
    min-width: 150px;
}

#list-resources-panel .resourceDetails .link-primary {
    color: #0f8f8f !important;
}

#list-resources-panel .resource-section-column {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

#list-resources-panel .resource-section {
    border-top: 1px solid #cfcfcf;
    padding-top: 10px;
}

#list-resources-panel .resource-section-heading {
    color: #2f2f2f;
    font-size: 1.55rem;
    font-weight: 500;
    margin-bottom: 0;
}

#list-resources-panel .resource-section>.fs-6.fw-bold {
    display: none;
}

#list-resources-panel .resource-section-heading-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #cfcfcf;
    margin-bottom: 12px;
    padding-bottom: 6px;
}

#list-resources-panel .resource-image-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

#list-resources-panel .resource-image-tile {
    width: 170px;
    height: 170px;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
}

#list-resources-panel .resource-image-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#list-resources-panel .resource-image-add-tile {
    flex-direction: column;
    gap: 4px;
    border: 2px dashed #c8c8c8;
    color: #8a8a8a;
}

#list-resources-panel .resource-image-add-tile:hover,
#list-resources-panel .resource-image-add-tile:focus {
    border-color: var(--primary);
    color: var(--primary);
}

#list-resources-panel .resource-image-add-tile .bi {
    font-size: 1.4rem;
    line-height: 1;
}

#list-resources-panel .resource-image-add-label {
    font-size: 0.8rem;
}

/* Primary section edit controls: same row, right-aligned under the big heading */
#list-resources-panel .resource-section-edit-bar {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    width: 100%;
    min-height: 1.75rem;
    margin-bottom: 6px;
}

#list-resources-panel .resource-section-edit-bar .bi {
    font-size: 1.2rem;
    line-height: 1;
}

#list-resources-panel .resource-info-table {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

#list-resources-panel .resource-info-row {
    display: grid;
    grid-template-columns: 170px minmax(0, 1fr);
    column-gap: 14px;
    align-items: start;
}

#list-resources-panel .resource-info-label {
    color: #2f2f2f;
    font-weight: 700;
    font-size: 1.02rem;
    line-height: 1.35;
}

#list-resources-panel .resource-info-value {
    color: #2f2f2f;
    font-size: 1.02rem;
    line-height: 1.35;
}

#list-resources-panel .resource-info-value .link-primary {
    margin-left: 4px;
}

#list-resources-panel .resource-section-display .resourceNameField {
    font-size: 1.02rem;
    font-weight: 500 !important;
}

#list-resources-panel .resource-section-display .display-inline-edit {
    display: none !important;
}

#list-resources-panel .resource-section-display .descriptionValue,
#list-resources-panel .resource-section-display .notesValue {
    display: block;
    width: 100%;
}

#list-resources-panel .resource-section-display > div:not(.resource-section-heading),
#list-resources-panel .resource-section-resource-info > div:not(.resource-section-heading),
#list-resources-panel .resource-section-resource-administrator > div:not(.resource-section-heading),
#list-resources-panel .resource-section-permissions > div:not(.resource-section-heading),
#list-resources-panel .resource-section-duration > div:not(.resource-section-heading),
#list-resources-panel .resource-section-capacity > div:not(.resource-section-heading),
#list-resources-panel .resource-section-groups > div:not(.resource-section-heading),
#list-resources-panel .resource-section-relationships > div:not(.resource-section-heading),
#list-resources-panel .resource-section-custom-attributes > div:not(.resource-section-heading),
#list-resources-panel .resource-section-cost > div:not(.resource-section-heading) {
    display: block;
    margin-bottom: 6px;
}

#list-resources-panel .accessPlaceHolder>div,
#list-resources-panel .durationPlaceHolder>div,
#list-resources-panel .capacityPlaceHolder>div,
#list-resources-panel .resourceGroupsPlaceHolder>div,
#list-resources-panel .relationshipsPlaceHolder>div,
#list-resources-panel .pricing-summary>div {
    display: block;
    white-space: normal;
    word-break: normal;
    overflow-wrap: break-word;
    margin-bottom: 6px;
    line-height: 1.45;
}

#list-resources-panel .resource-section-permissions,
#list-resources-panel .resource-section-duration,
#list-resources-panel .resource-section-capacity,
#list-resources-panel .resource-section-groups,
#list-resources-panel .resource-section-relationships,
#list-resources-panel .resource-section-custom-attributes,
#list-resources-panel .resource-section-cost {
    min-height: 120px;
}

#list-resources-panel .resource-section-custom-attributes .customAttributesPlaceHolder .updateCustomAttribute {
    margin-bottom: 8px;
}

#list-resources-panel .resource-section-custom-attributes .customAttributesPlaceHolder .updateCustomAttribute > label {
    display: block;
    margin-bottom: 2px;
}

.resource-filter-panel .accordion-body {
    background: #ffffff;
    padding: 0 18px 14px;
}

.resource-filter-panel .form-group label {
    color: #373737;
    font-size: 0.93rem;
    margin-bottom: 0.4rem;
}

.resource-filter-panel .form-control,
.resource-filter-panel .form-select {
    background: #ffffff;
    border: 1px solid #c9c9c9;
    border-radius: 6px;
    font-size: 0.95rem;
    min-height: 38px;
}

.resource-filter-panel .form-check-input {
    border-color: #c7c7c7;
}

.resource-filter-panel .border-top {
    border-color: #d0d0d0 !important;
}

.resource-filter-panel #clearFilter,
.resource-filter-panel #filter {
    border-radius: 4px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    height: 30px !important;
    line-height: 20px !important;
    padding: 4px 12px !important;
    box-shadow: none !important;
}

.resource-filter-panel #clearFilter {
    width: 108px !important;
    background: #ffffff !important;
    border: 1px solid #d8dde2 !important;
    color: #86a0b0 !important;
}

.resource-filter-panel #clearFilter:hover,
.resource-filter-panel #clearFilter:focus {
    background: #f8fafc !important;
    border-color: #cfd6dc !important;
    color: #7f97a6 !important;
}

.resource-filter-panel #filter {
    width: 74px !important;
    background: #71a82f !important;
    border: 1px solid #71a82f !important;
    color: #ffffff !important;
}

.resource-filter-panel #filter:hover,
.resource-filter-panel #filter:focus {
    background: #679a2b !important;
    border-color: #679a2b !important;
    color: #ffffff !important;
}

.resource-filter-panel .border-top.mt-3.pt-3.d-flex.justify-content-end.gap-2 {
    gap: 10px !important;
    padding-top: 10px !important;
}

.resource-image img{
   max-height: 100px;
}
