/*
 * Custom CSS
 */

:root {
    --bs-body-bg: var(--bs-gray-100);
}

#map {
    height: 80vh;
}

tr {
    vertical-align: middle;
    text-align: center;
}

.leaflet-popup-content {
    margin: 10px 10px 10px 10px;
    border-radius: inherit;
    width: auto !important
}

.leaflet-popup-content-wrapper {
    background: #ffffff;
    width: 25vw;
}

.container {
    max-width: 95vw !important;
}

.table-small {
    font-size: smaller;
}

.table-small th {
    font-size: x-small;
}

.table-small td {
    font-size: x-small;
}

.invisible {
    display: none;
}

/* .dataTable{
    font-size: xx-small!important;
} */

colgroup {
    font-size: smaller;
}

.niewiecejnizokno {
    max-width: 95vw !important;
}

#loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.7);
    z-index: 9999;
}

#loading-overlay-show {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.7);
    z-index: 9999;
}

#loading-message {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 20px;
    font-weight: bold;
    text-align: center;
}

.combined-icon {
    position: relative;
    display: inline-block;
}

.combined-icon .bi {
    position: absolute;
    top: 0;
    left: 0;
}

.combined-icon .bi-snow {
    color: white;
    /* Opcjonalnie zmień kolor ikony śnieżynki */
}

/* Dodaje ramkę do każdego wiersza tabeli */
thead tr {
    border: 0.1rem solid black;
    /* Grubość ramki to 3px, kolor czarny */
    text-align: center;
    /* Centrowanie tekstu w nagłówkach tabeli */

}

th {
    border: 2px solid black;
    /* Ustawienie grubości ramki na 2px i koloru na czarny */
    padding: 8px;
    /* Dodanie trochę paddingu, aby tekst nie przylegał do krawędzi */
}

.dt-head-center {
    text-align: center;
}

.dt-body-center {
    text-align: center;
}

table.dataTable thead>tr>th.dt-ordering-asc span.dt-column-order:before {
    color: red;
}

table.dataTable thead>tr>th.dt-ordering-desc span.dt-column-order:after {
    color: blue;
}

.display-6 {
    margin-bottom: 2rem !important;
}

.hidden-option {
    display: none;
}

.nav-link {
    color: white;
    font-weight: bold;
}

.nav-link:hover,
.nav-link.focus,
.nav-link.active,
.nav-link.show,
.nav-link:focus,
.nav-link:hover {
    color: yellow !important;
    font-weight: bolder;
}


.navbar-toggler,
.navbar-toggler-icon {
    background-color: #e9ecef !important;

}

.black,
.black:hover,
.black.focus,
.black.active {
    color: black !important;
    font-weight: 100;
}

.red,
.red:hover,
.red.focus,
.red.active {
    color: red !important;
    font-weight: bold !important;
}

.blue,
.blue:hover,
.blue.focus,
.blue.active {
    color: #1C98FC !important;
    font-weight: bold !important;
}

.disabled {
    background-color: #e9ecef;
    opacity: 1;
    pointer-events: none;
}

.swiper-container {
    /* width: 100vw; */
    height: 100%;
}

.swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #000;
    display: flex;
    justify-content: center;
    align-items: center;
}

#loader {
    display: none;
    text-align: center;
}

.photo-info {
    /* position: absolute; */
    bottom: 10px;
    left: 10px;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 5px;
    border-radius: 3px;
}

.photo-title,
.photo-date-time {
    margin: 0;
}


.mySwiper .swiper-slide {
    width: 25%;
    height: 100%;
    opacity: 0.4;
}

.mySwiper .swiper-slide-thumb-active {
    opacity: 1;
}

.dt-paging-button {
    box-sizing: border-box;
    display: inline-block;
    min-width: 1.5em;
    padding: .5em 1em;
    margin-left: 2px;
    text-align: center;
    text-decoration: none !important;
    cursor: pointer;
    color: inherit !important;
    border: 1px solid transparent;
    border-radius: 2px;
    background: transparent;
}

.dt-paging-button.current:hover {
    color: inherit !important;
    border: 1px solid rgba(0, 0, 0, 0.3);
    background-color: rgba(0, 0, 0, 0.05);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, rgba(230, 230, 230, 0.05)), color-stop(100%, rgba(0, 0, 0, 0.05)));
    background: -webkit-linear-gradient(top, rgba(230, 230, 230, 0.05) 0%, rgba(0, 0, 0, 0.05) 100%);
    background: -moz-linear-gradient(top, rgba(230, 230, 230, 0.05) 0%, rgba(0, 0, 0, 0.05) 100%);
    background: -ms-linear-gradient(top, rgba(230, 230, 230, 0.05) 0%, rgba(0, 0, 0, 0.05) 100%);
    background: -o-linear-gradient(top, rgba(230, 230, 230, 0.05) 0%, rgba(0, 0, 0, 0.05) 100%);
    background: linear-gradient(to bottom, rgba(230, 230, 230, 0.05) 0%, rgba(0, 0, 0, 0.05) 100%)
}

.dt-paging-button.disabled:active {
    cursor: default;
    color: rgba(0, 0, 0, 0.5) !important;
    border: 1px solid transparent;
    background: transparent;
    box-shadow: none
}

.dt-paging-button:hover {
    color: white !important;
    border: 1px solid #111;
    background-color: #111;
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #585858), color-stop(100%, #111));
    background: -webkit-linear-gradient(top, #585858 0%, #111 100%);
    background: -moz-linear-gradient(top, #585858 0%, #111 100%);
    background: -ms-linear-gradient(top, #585858 0%, #111 100%);
    background: -o-linear-gradient(top, #585858 0%, #111 100%);
    background: linear-gradient(to bottom, #585858 0%, #111 100%)
}

.dt-paging-button:active {
    outline: none;
    background-color: #0c0c0c;
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #2b2b2b), color-stop(100%, #0c0c0c));
    background: -webkit-linear-gradient(top, #2b2b2b 0%, #0c0c0c 100%);
    background: -moz-linear-gradient(top, #2b2b2b 0%, #0c0c0c 100%);
    background: -ms-linear-gradient(top, #2b2b2b 0%, #0c0c0c 100%);
    background: -o-linear-gradient(top, #2b2b2b 0%, #0c0c0c 100%);
    background: linear-gradient(to bottom, #2b2b2b 0%, #0c0c0c 100%);
    box-shadow: inset 0 0 3px #111
}

.leaflet-top {
    z-index: 500 !important;
    /* Zmień z-indeks elementów LeafletJS */
}

.dropdown-menu {
    z-index: 1000;
    /* Zmień z-indeks menu drop-down */
}

.swiper-slide {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.date-caption {
    margin-top: 5px;
    font-size: 12px;
    color: white;
}

.w-100-rza {
    width: 100%;
    margin-right: auto !important;
    margin-left: auto !important;
    display: flex !important;
}

/* Style dla efektu hover na elementach dropdown menu */
.dropdown-menu li a.dropdown-item:hover {
    background-color: #dbdbdbaa;
    /* Kolor tła po najechaniu myszką */
    color: #000;
    /* Kolor tekstu po najechaniu myszką */
}


.table-striped-odd {
    --bs-table-color-type: var(--bs-table-striped-color);
    --bs-table-bg-type: var(--bs-table-striped-bg);
}

.dropdown-submenu {
    position: relative;
}

.dropdown-submenu .dropdown-menu {
    top: -8px;
    left: 100%;
    margin-top: -1px;
    display: none;
}

.strong {
    font-weight: bolder;
}

.container400 {
    min-width: 400px !important;
    width: 400px !important;
}

.row.crossed {
    position: relative;
    overflow: hidden;
}

.row.crossed span,
.row.crossed i {
    color: red;
    font-weight: bold;
    animation: blink 1s step-start infinite;
}

@keyframes blink {
    50% {
        opacity: 0;
    }
}
