#loading {
    align-items: center;
    background-color: rgba(255, 255, 255, 0.8);
    bottom: 0;
    display: none;
    font-size: 1.2rem;
    justify-content: center;
    left: 0;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 99999;
}

.spinner-border {
    display: inline-block;
    height: 5rem;
    width: 5rem;
}

.wydarzenia-lista-buttons {
    align-items: center;
    display: flex;
    height: 100%;
    justify-content: flex-end;
    width: 100%;
}

.footer ul {
    font-size: 0.9375rem;
    list-style: none;
    padding-left: 0;
}

.footer ul li {
    margin-left: 0;
}


/* Kalendarz terminow */
.kalendarz-terminow {
    display: -webkit-flex;
    display: -ms-flex;
    display: flex;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.kalendarz-terminow-header {
    height: 3.125rem;
    line-height: 3.125rem;
    text-align: center;
    width: calc(100% / 7);
}

.kalendarz-terminow-header {
    font-weight: bold;
    text-transform: capitalize;
}

.kalendarz-terminow-body {
    -webkit-box-flex: 0;
    display: -ms-flexbox;
    display: flex;
    display: -webkit-flex;
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.kalendarz-terminow-body button {
    align-items: center;
    background-color: transparent;
    border-width: 0;
    -webkit-box-align: center;
    -webkit-box-pack: center;
    color: var(--bs-secondary);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    -ms-flex-pack: center;
    height: 3.125rem;
    justify-content: center;
    position: relative;
    width: calc(100% / 7);
}

:is(.wcag-contrast-blackwhite, .wcag-contrast-blackyellow) .kalendarz-terminow-body button {
    color: var(--contrast-color);
}

.kalendarz-terminow-body button::before {
    bottom: -0.0625rem;
    content: "";
    left: -0.0625rem;
    position: absolute;
    right: 0;
    top: 0;
}

.kalendarz-terminow-body button:focus {
    outline-width: 0;
}

.kalendarz-terminow-body button:focus::before {
    border-color: var(--bs-secondary);
    border-width: 0.2rem;
    z-index: 1;
}

.kalendarz-terminow-body button.dzien-z-terminami {
    color: var(--bs-secondary);
    font-weight: bold;
}

:is(.wcag-contrast-blackwhite, .wcag-contrast-blackyellow) .kalendarz-terminow-body button.dzien-z-terminami {
    color: var(--contrast-color);
}

.kalendarz-terminow-body button.dzien-z-terminami.date-past {
    background-color: transparent;
    color: initial;
    font-weight: normal;
}

.kalendarz-terminow-body button.dzien-z-terminami:hover {
    cursor: pointer;
}

.kalendarz-terminow-body button.date-past,
.kalendarz-terminow-body button.dzien-bez-terminow {
    pointer-events: none;
}

.kalendarz-terminow-body button.date-past span,
.kalendarz-terminow-body button.dzien-bez-terminow span {
    opacity: 0.5;
}

.kalendarz-terminow-body button.selected {
    color: white;
    position: relative;
}

:is(.wcag-contrast-blackwhite, .wcag-contrast-blackyellow) .kalendarz-terminow-body button.selected {
    color: black;
}

.kalendarz-terminow-body button.selected span {
    font-weight: normal;
    z-index: 1;
}

.kalendarz-terminow-body button.selected::after {
    background-color: #5d4edb;
    border-radius: 50%;
    content: "";
    height: 2.5rem;
    left: 50%;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 2.5rem;
    z-index: 0;
}

:is(.wcag-contrast-blackwhite, .wcag-contrast-blackyellow) .kalendarz-terminow-body button.selected::after {
    background-color: var(--contrast-color);
}

.kalendarz-terminow-body[data-day-of-week-number="1"] button:first-child {
    margin-left: 0;
}

.kalendarz-terminow-body[data-day-of-week-number="2"] button:first-child {
    margin-left: calc(100% / 7);
}

.kalendarz-terminow-body[data-day-of-week-number="3"] button:first-child {
    margin-left: calc(100% / 7 * 2);
}

.kalendarz-terminow-body[data-day-of-week-number="4"] button:first-child {
    margin-left: calc(100% / 7 * 3);
}

.kalendarz-terminow-body[data-day-of-week-number="5"] button:first-child {
    margin-left: calc(100% / 7 * 4);
}

.kalendarz-terminow-body[data-day-of-week-number="6"] button:first-child {
    margin-left: calc(100% / 7 * 5);
}

.kalendarz-terminow-body[data-day-of-week-number="7"] button:first-child {
    margin-left: calc(100% / 7 * 6);
}


.price-list-position-row td:first-child {
    border-top: 0.0625rem solid #dee2e6;
}



@media (min-width: 768px) {
    .price-list-position-row td {
        border-top: 0.0625rem solid #dee2e6;
    }

    .price-list-position-row td {
        border-bottom: 0;
    }


    .price-list-position-row {
        border-bottom: 0.0625rem solid #dee2e6 !important;
    }
}

/* Our responsive table */
@media (max-width: 767px) {
    .our-responsive-table thead {
        display: none;
    }

    .our-responsive-table tbody tr {
        display: flex;
        flex-direction: column;
    }

    .our-responsive-table tbody tr:nth-child(n + 2) {
        margin-top: 1rem;
    }

    .our-responsive-table tbody tr td {
        align-items: center;
        border-left: 1px solid #130d42;
        border-right: 1px solid #130d42;
        display: flex;
        width: 100%;
    }

    .our-responsive-table tbody tr td:first-child {
        border-top: 1px solid #130d42;
    }

    .our-responsive-table tbody tr td:last-child {
        border-bottom: 1px solid #130d42;
    }

    .our-responsive-table tbody tr td::before {
        align-items: center;
        align-self: stretch;
        background-color: var(--bs-gray-100);
        content: attr(data-header-title);
        flex: 0 0 30%;
        font-weight: 600;
        letter-spacing: -1px;
        margin: -0.5rem 1rem -0.5rem -0.5rem;
        min-width: 100px;
        padding: 0.5rem;
        text-align: left;
        white-space: normal;
        display: flex;
    }

    .our-responsive-table tbody tr.bilety-koszyk-uczestnicy-row:nth-child(n + 2) {
        margin-top: 0;
    }

    .our-responsive-table tbody tr.bilety-koszyk-uczestnicy-row:nth-child(n + 2) td {
        border-top-width: 0;
    }

    .our-responsive-table.table>:not(:first-child) {
        border-top: 0;
    }
}
/* End Our responsive table */


.month-switch {
    align-items: center;
    color: var(--bs-secondary);
    display: flex;
    font-size: 1.375rem;
    height: 2.5rem;
    justify-content: center;
    width: 2.5rem;
}


.calendar-frame {
    background-color: var(--bs-light);
    padding: 1rem;
}

:is(.wcag-contrast-blackwhite, .wcag-contrast-blackyellow) .calendar-frame {
    background-color: black;
    border: 0.0625rem solid var(--contrast-color);
}

@media (min-width: 768px) {
    .calendar-frame {
        padding: 2rem;
    }
}

.kalendarz-terminow-body {
    color: var(--bs-secondary);
}

.kalendarz-terminow-dzien {
    border: 0.0625rem solid var(--bs-secondary);
}

.page-link {
    color: var(--bs-secondary);
}

.page-item.active .page-link {
    background-color: var(--bs-secondary);
    border-color: var(--bs-secondary);
    color: #ffffff;
    z-index: 3;
}

.dostepnosc-przyciski {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.dostepnosc-btn {
    background-color: gray;
    color: var(--bs-secondary);
    display: block;
    font-size: 1.875rem;
    height: 100%;
    margin-bottom: 1.875rem;
    padding-bottom: 3.125rem;
    padding-top: 3.125rem;
    text-align: center;
    text-decoration: none;
    width: 100%;
}

@media (min-width: 992px) {
    .dostepnosc-btn {
        width: 25%;
    }

    .dostepnosc-btn + .dostepnosc-btn {
        margin-left: 1.25rem;
    }
}

.dostepnosc-btn:hover {
    text-decoration: none;
}

.dostepnosc-header {
    display: flex;
    font-size: 2.1875rem;
    justify-content: center;
    margin-bottom: 2.5rem;
    margin-top: 2.5rem;
}

#terminy-filtry {
    margin-bottom: 1.875rem;
}

.month-selector {
    align-items: center;
    display: flex;
    justify-content: space-between;
}

.input-ilosc {
    margin-left: -0.0625rem;
    text-align: center;
    width: 3.125rem;
}

/*
chowamy strzałki przy input[type=number]
Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input[type=number] {
    -moz-appearance: textfield;
}

#koszyk-podglad {
    border-top: 0.0625rem solid white;
    display: block;
    text-align: center;
    text-decoration: none;
}

.tooltip-inner {
    background-color: white;
    border: 0.0625rem solid lightgray;
    color: var(--bs-secondary);
    max-width: 21.875rem;
    width: 21.875rem;
}

.legenda-item .legenda-label {
    display: inline-flex;
    padding-left: 0.625rem;
}

.legenda-item {
    align-items: center;
    display: flex;
}

.pozycje-cennika-dialog-content tr:first-child td {
    border-top: 0.0625rem solid #dee2e6;
}

td.usun {
    text-align: center;
    width: 3.125rem;
}

td.usun a, td.usun a:hover {
    color: darkred;
}

.space {
    margin-bottom: 2.5rem;
}

.kody-w-koszyku-table tr td {
    padding: 0.9375rem;
}

.kody-w-koszyku-table {
    border: 0.0625rem solid #dee2e6;
    margin-bottom: 1.875rem;
    width: 18.75rem;
}

.koszyk-kwoty {
    width: 100%;
}

.koszyk-kwoty tr td {
    text-align: right;
    vertical-align: middle;
}

.koszyk-kwoty tr:last-child th,
.koszyk-kwoty tr:last-child td {
    font-size: 1.5625rem;
}

.termin-niedostepny-info {
    font-weight: bold;
    text-align: center;
}

.err-icon-wrapper {
    display: flex;
    font-size: 3.125rem;
    justify-content: center;

}


.koszyk-skladowa-naglowek {
    margin-top: 1.875rem;
    text-align: center;
}

.filtr-lista {
    display: none;
    padding-bottom: 1rem;
    padding-left: 1rem;
    padding-right: 1rem;
}

.gw-opis {
    font-size: smaller;
}

.filtr-header {
    display: flex;
    justify-content: space-between;
    padding: 1rem;
}

.filtr-block {
    border: 0.0625rem solid rgba(0, 0, 0, .125);
    margin-bottom: 1.25rem;
}

:is(.wcag-contrast-blackwhite, .wcag-contrast-blackyellow) .filtr-block {
    border: 0.0625rem solid var(--contrast-color);
}

.clear-both {
    clear: both;
}

.homepage-gw {
    margin-bottom: 1rem;
    width: 100%;
}

.homepage-gw .card-title {
    background-color: #f2f2f2;
    border-bottom: 0.0625rem solid lightgrey;
    margin-bottom: 0;
    padding: 1.25rem;
    text-align: center;
}

.home-terms {
    margin-top: 5rem;

}

.home-terms .card {
    color: var(--bs-secondary)
}

.homepage-term {
    align-items: center;
    display: flex;
    padding-bottom: 0.625rem;
    padding-top: 0.625rem;
}

.homepage-term + .homepage-term {
    border-top: 0.0625rem solid lightgrey;
}

.homepage-term .homepage-term-hour {
    font-weight: 600;
    width: 4.375rem;
}

.homepage-term .homepage-event-name {
    width: calc(100% - 4.375rem);
}

.termin-usun-wartosc-filtra {
    color: lightgrey;
    display: inline-block;
    font-size: smaller;
    padding-left: 0.4375rem;
    padding-right: 0.4375rem;
}

.wydarzenie-szczegoly-terminy {
    margin-top: 1.875rem;
}

.wydarzenia-szczegoly-filmy {
    margin-top: 1.875rem;
}

.event-video-card {
    height: 100%;
}

.event-video-card iframe {
    height: auto !important;
    width: 100% !important;
}

.was-validated .form-check-input:valid ~ .form-check-label, .form-check-input.is-valid ~ .form-check-label {
    color: initial;
}

#footer-location {
    font-size: 0.8rem;
    padding-bottom: 0.9375rem;
}

.my-visit-ticket-info {
    margin-top: 20px;
    margin-bottom: 20px;
    padding-top: 15px;
    padding-bottom: 15px;
}

.ticket-info {
    display: table-row;
    flex-wrap: wrap
}

.ticket-info-val {
    display: table-cell;
    font-weight: bolder
}

.ticket-info-label {
    display: table-cell;
    padding-right: 10px;
}

.alert-planetarium {
    border: 1px solid var(--bs-body-color);
    color: var(--bs-body-color);;
}

.ticket-info-cart {
    width: 100%;
    border: 1px solid var(--bs-body-color);
}

.ticket-info-cart.inactive {
    opacity: 0.8;
}

#sponsor-logos2,
#sponsor-logos {
    margin-top: 15px;
    display: flex;
    flex-wrap: wrap;
    background-color: white;
    justify-content: center;
}

@media (min-width: 1200px) {
    #sponsor-logos2,
    #sponsor-logos {
        margin-top: 6rem;
    }
}

.font-weight-bold {
    font-weight: bold;
}

.inne-miejsca-link {
    text-decoration: none;
}

.inne-miejsca-link:hover {
    text-decoration: underline;
}

.sponsor-logo-img {
    margin: 1rem 0.5rem;
}

@media (max-width: 575px) {
    .sponsor-logo-img {
        max-width: 280px;
    }
}

@media (min-width: 576px) {
    .sponsor-logo-img {
        max-width: 208px;
    }
}

/*#sponsor-logos2 img {*/
/*    display: block;*/
/*}*/

/*.sponsors-logo2-wrapper {*/
/*    width: 100%;*/
/*    padding: 15px;*/
/*    display: flex;*/
/*    justify-content: center;*/
/*    align-items: center;*/
/*}*/

/*@media (max-width: 767px) {*/
/*    .sponsors-logo2-wrapper {*/
/*        max-width: 310px;*/
/*    }*/
/*}*/

/*@media (min-width: 768px) {*/
/*    .sponsors-logo2-wrapper {*/
/*        width: 50%;*/
/*    }*/
/*}*/
/*@media (min-width: 992px) {*/
/*    #sponsor-logos2{*/
/*        padding-left: 30px;*/
/*        padding-right: 30px;*/
/*    }*/
/*    .sponsors-logo2-wrapper {*/
/*        width: 25%;*/
/*    }*/
/*}*/
.operator-platnosci-button-wrapper a.btn {
    padding-left: 50px;
    padding-right: 50px;
}

.operator-platnosci-button-wrapper:first-of-type {
    margin-top: 25px;
}

.operator-platnosci-button-wrapper + .operator-platnosci-button-wrapper {
    margin-top: 10px;
}