/* BEGIN
************************************
    Custom CSS
************************************
*/

.page-container {
    padding-left: 5px !important;
    padding-right: 5px !important;
}

.coordinates-display {
    font-size: 0.75rem;
}

/* Waiting to load overlay */
#overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.8);
    /* Semi-transparent white background */
    z-index: 9999;
    /* Ensure the overlay is on top of other elements */
    display: none;
    /* Hide the overlay by default */
}

[data-role-visibility] {
    display: none;
}

.role-hidden {
    display: none !important;
}

.brand {
    display: block;
    margin: auto;
    max-width: 8em;
}

.ipsgcolor {
    color: #f79d1b;
}

.revision {
    font-size: small;
}

#sessionProgress {
    width: 100%;
    background-color: grey;
}

#sessionProgressBar {
    width: 1%;
    height: 30px;
    background-color: #0d6efd;
}

.formFloatLabel {
    margin-top: -0.85rem !important
}

#map {
    height: 600px;
    width: 100%;
}

.fs-8 {
    font-size: small;
}

.fs-9 {
    font-size: x-small;
}

.pointer-on {
    cursor: pointer;
}

.pointer-off {
    cursor: default;
}

.h-500 {
    height: 600px;
}

@keyframes modal-bump {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}
.modal-bump {
  animation: modal-bump 0.3s ease;
}

/* END
************************************
    Custom CSS
************************************
*/

/* BEGIN
************************************
Overwrite bootstrap or bootstrap-table css
************************************
*/

.bootstrap-table .fixed-table-container .table tbody tr .card-view .card-view-value {
    text-align: right !important;
}

.bootstrap-table .fixed-table-container .table tbody tr .card-view .card-view-title {
    width: 100% !important;
}

.fixed-table-body {
    height: unset !important;
}

#uploadModal .close {
    display: none;
}

#uploadModal {
    background-color: silver;
}

.modal {
    overflow-y: auto;
}

.card-view {
    padding-top: 1px !important;
    padding-bottom: 1px !important;
}

/* END
************************************
Overwrite bootstrap-table css
************************************
*/

@media (max-width: 700px) {
    .map-container {
        position: relative;
        padding-bottom: 100%;
        padding-top: 30px;
    }
}

.map-container {
    overflow: hidden;
}

.form-control,
.form-select,
.input-group-text {
    min-height: calc(1.5em + .5rem + 2px);
    padding: .25rem .5rem;
    font-size: .875rem;
    border-radius: .25rem;
}

button[name="clearSearch"] {
    border: var(--bs-border-width) var(--bs-border-style) var(--bs-border-color) !important;
}

.button-map-totals {
    --bs-btn-padding-y: 0.1rem;
    --bs-btn-padding-x: 0.25rem;
    --bs-btn-font-size: .5rem;
    --bs-btn-border-radius: .25rem;
}
