body.overlay-visible #fullScreenOverlay {
    display: block;
}

#fullScreenOverlay {
    display: none;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: 0;
    padding: 0;
    background-color: rgba(0, 0, 0, .75);
    z-index: 1040;
}

#pch-navbar .dropdown-menu[data-bs-popper] {
    left: initial;
    right: 0;
}

#pch-navbar #accessListMenu .accessItem .logout {
    float: right;
}

#pch-navbar .bt-filter-active {
    display: none;
}

body.filter-active #pch-navbar .bt-filter-active {
    display: initial;
}
body.filter-active #pch-navbar .bt-filter-inactive {
    display: none;
}

#pch-filterbarContainer {
    display: none;
}

#pch-filterbar .dashboardcode-bsmultiselect .dropdown-menu {
    max-height: 55vh;
    overflow-y: auto;
}

#pch-page {
    margin-top: 6rem;
    padding: 1em 3em;
}

#pch-page > .spinner {
    text-align: center;
}

#pch-page > .spinner.hidden {
    display: none;
}

#pch-mediaList {
    list-style: none;
    margin: 0 auto 0 auto;
    padding: 0;
    text-align: center;
    justify-content: center;
}

#pch-mediaList > .pch-image.loading {
    height: 250px;
}

#pch-mediaList > .pch-image {
    display: inline-flex;
    max-height: 450px;
    min-width: 450px;
    justify-content: center;
    padding: 1em;
}

#pch-mediaList > .pch-image img {
    transition: scale 300ms;
    object-fit: contain;
    max-height: 100%;
    max-width: 100%;
}

#pch-mediaList > .pch-image:hover img {
    scale: 98%;
    transition: scale 700ms;
}

#pch-mediaList.selection > .pch-image input,
#pch-mediaList.selection > .pch-image button {
    visibility: visible;
}

#pch-mediaList > .pch-image:hover input {
    visibility: visible;
}

#pch-mediaList > .pch-image input,
#pch-mediaList > .pch-image button {
    display: inline-block;
    visibility: hidden;
    position: absolute;
    top: 2rem;
    left: 2.5rem;
    height: 2rem;
    width: 2rem;
    border-radius: 1rem;
}

#pch-mediaList > .pch-image button {
    left: 5rem;
}

#pch-mediaList > h3, #pch-mediaList > h4 {
    text-align: left;
}

.pch-image {
    position: relative;
    text-align: center;
}

.pch-image .spinner {
    display: none;
}

.pch-image.loading .spinner {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.pch-image.loading img {
    visibility: hidden;
}

.hidden {
    display: none !important;
}

#pch-fullPageMedia {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: 1.5em;
    overflow: hidden;
    height: auto;
    width: auto;
    z-index: 1050;
}

#pch-fullPageMedia > div {
    margin: 0;
    width: 100%;
    max-width: initial;
    overflow: hidden;
}

#pch-fullPageMedia .modal-content {
    height: 100%;
}

#pch-fullPageMedia .modal-title {
    flex: 1;
}

#pch-fullPageMedia .modal-body {
    overflow: hidden;
    max-width: initial;
}

#pch-fullPageMedia .modal-body > .row {
    height: 100%;
    width: 100%;
    display: inline-flex;
    overflow: auto;
}

#pch-fullPageMedia .modal-body > .row > .col:first-child {
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

#pch-fullPageMedia .modal-body > .row > .col {
    height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
}

#pch-fullPageMedia #pch-fullPagePreviewContainer {
    max-height: 100%;
    display: inline-flex;
    flex: 1;
    justify-content: center;
}

#pch-fullPageMedia .leaflet-container {
    margin-top: 1em;
    margin-bottom: 1em;
    background: none;
}

#pch-fullPageMedia .leaflet-container > div {
    min-height: 300px;
}

#pch-fullPagePreview {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

#pch-fullPageDetail {
    overflow: hidden;
    word-break: break-word;
}

#pch-fullPageDetail > ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

#pch-fullPageDetail > ul .metaKey {
    text-decoration: underline;
}

#pch-fullPageDetail > ul .metaVal {
    display: inline-block;
}

#pch-fullPageMedia .taglist {
    margin: 0 -3px;
}

#pch-fullPageMedia .taglist li {
    margin: 0 3px;
}

#pch-fullPageMedia .taglist .removeBt {
    padding-left: calc(var(--bs-badge-padding-x) / 2);
    margin-left: calc(var(--bs-badge-padding-x) / 2);
}

.login-wrapper {
    position: fixed;
    justify-content: center;
    align-items: center;
    text-align: center;
    z-index: 1050;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    max-height: fit-content;
    max-width: fit-content;
    margin: auto;
    display: none;
}

body.login-visible .login-wrapper {
    display: flex;
}

.login-wrapper .modal {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;


    position: static;
    display: inline;
    margin: 0;
    width: auto;
    height: auto;
}

.login-wrapper hr {
    width: 75%;
    margin-left: auto;
    margin-right: auto;
}

.slider-value {
    display: inline;
    width: auto;
}

.slider-col {
    display: flex;
}

.slider-col > .slider {
    flex: 1;
}

