body {
    font-family: "Montserrat-Light", sans-serif;
}

.nav_logo_mobile_header {
    background-image: url('/assets/favicon/favicon192.png');
}

p {
    text-align: justify;
    text-justify: inter-word;
    font-size: 17px;
}

a.more_white {
    border-color: #fff;
    color: white !important;
    ;
}

.more_bc {
    margin-top: 25px;
}

h1 {
    font-size: 36px;
    text-align: center;
    color: #000;
    text-transform: none;
    margin-top: 26px;

}

h2 {
    font-size: 27px;
    color: #FFB23E;
    text-transform: none;
    margin-top: 37px;

}

.standard.mainpage_ogloszenia {
    justify-content: center;
}

.sz_spec_el h3 {
    font-size: 17px;
    font-weight: 600;
}

.sz_spec_el p {
    text-align: center;
}

li {
    font-size: 17px;
}

.nav>li>a {
    font-size: 13px;
}

.sakramenty a.more {
    display: none;
}

.grupy a.more {
    display: none;
}

.grupy a.more {
    display: none;
}

.koscioly a.more {
    display: none;
}

.charytatywna a.more {
    display: none;
}

.duszp_akt a.more {
    display: none;
}

.duszp_dawni a.more {
    display: none;
}

section.article {
    max-width: 900px;
}

.header_right_part {
    display: flex;
    flex-direction: row;
    align-items: baseline;
}

.header_right_part div:first-of-type {
    margin-right: 10px;
}

#szkola_where img {
    opacity: 1;
}

#szkola_where h1 {
    font-weight: bold;
}

#szkola_where p {
    font-weight: 700;
}

#szkola_where a {
    border-color: #000;
    color: #000;
}

.main_mobileapp_dwnl {
    background-color: rgba(231, 231, 231, 0.45);
    color: black;
    margin: 2px 0px;
    padding-left: 10px;
    border-radius: 9px;
    line-height: 30px;
    display: flex;
    align-items: center;
}

.main_mobileapp_dwnl:hover {
    background-color: white;
    text-decoration: none;
}

.event_container p {
    text-align: center;
    text-justify: inter-word;
}

.opis p {
    text-align: center;
}

#container_header_grid {
    margin: 0px;
    background-color: white;
    display: grid;
    grid-template-columns: 140px auto 130px auto 140px;
    grid-template-rows: 100px;
    color: black;
    width: 1200px;
    margin: auto;
    align-items: center;
}

#container_header_grid .social_links {
    grid-column-start: 1;
    grid-column-end: 1;
}

#container_header_grid .left_head_bielefeld {
    grid-column-start: 2;
    grid-column-end: 2;
    text-align: right;
    margin-bottom: 0px;
}

#container_header_grid .logo {
    grid-column-start: 3;
    grid-column-end: 3;
    height: 90px;
    text-align: center;
    margin: auto;
}

#container_header_grid .right_head_bielefeld {
    grid-column-start: 4;
    grid-column-end: 4;
    text-align: left;
    margin-bottom: 0px;
}

#container_header .mid_container {
    align-items: center;
}

#container_header .mid {
    width: 750px;
    text-align: center;
    display: flex;
    justify-content: space-between;
    padding: 15px;
    color: black;
    align-items: center;
}

#container_header .mid p {
    font-size: 24px;
    margin-bottom: 0px;
}

.call_and_email {
    display: flex;
    align-items: center;
    color: gray;
}

.call_and_email img {
    margin: 10px;
}

.footer_main {
    background-color: #e7e7e7;
}

.footer_main a {
    color: gray;
}

#top_contact,
#top_appdownload {
    display: flex;
    flex-direction: column;
    text-align: left;
    justify-content: center;
}

#top_contact>span,
#top_appdownload>span {
    font-variant: small-caps;
    font-size: larger;
    font-weight: bold;
}

#top_contact .contact,
#top_appdownload .contact {
    display: flex;
    flex-direction: column;
}

#szkola_specifika_container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-content: space-around;
    flex-wrap: wrap;
}

.sz_spec_el {
    text-align: center;
    margin: 14px;
    width: 215px;
}

#szkola_grono_container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-content: space-around;
    flex-wrap: wrap;
}

h2.customHtmlTitle {
    text-align: center;
}

.szkolaCustom p {
    text-align: center;
}

.szkolaCustom h3 {
    text-align: center;
    font-size: large;
}

.sz_spec_el img {
    margin: auto;
    width: 90px;
    height: 90px;
    margin-bottom: 10px;
}

.szkolaMotto p {
    text-align: center;
}

.app_downl {
    width: 100px;
}

.sz_grono_el {
    text-align: center;
    margin: 14px;
    width: 215px;
}

.sz_grono_el p {
    text-align: left;
}

.sz_grono_el img {
    margin: auto;
    width: 180px;
    height: 180px;
    margin-bottom: 10px;
}


.sz_toc_el {
    text-align: center;
    margin: 14px;
    width: 215px;
}

.sz_toc_el h3 {
    color: black;
}

.sz_toc_el img {
    margin: auto;
    width: 180px;
    height: 180px;
    margin-bottom: 10px;
}




#logo_szkoly {
    text-align: center;
}

#icon_toggle_menu {
    color: black;
}

.logo_cont {
    text-align: center;
}

#apps_dwnld {}

.standard.main_koscioly {
    max-width: unset;
    max-width: unset;
    margin-top: 44px;
}

.main_koscioly .foto {
    width: 220px;
    height: 220px;
}

.nav_logo {}


@media (max-width: 768px) {
    #top_contact {
        display: none;
    }

    #container_header .mid {
        margin-left: 0px;
        padding-left: 0px;
    }

    #container_header .logo {
        height: 70px;
        margin: 9px;
    }

    #container_header_grid .left_head_bielefeld {
        display: none;
    }

    #container_header_grid .right_head_bielefeld {

        display: none;
    }

    #container_header_grid {
        grid-template-columns: 86px auto 59px;
    }

}
/* Stopka: równa siatka linków z logotypami */
.footer_main section.standard {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 24px 20px;
    align-items: start;
}

.footer_main .col {
    width: auto;
    max-width: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer_main .col > span {
    min-height: 2.6em;
    line-height: 1.3em;
    margin-bottom: 8px;
}

.footer_main .col > a {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 90px;
    width: 100%;
}

.footer_main .col > a img {
    max-height: 90px;
    max-width: 150px;
    width: auto;
    height: auto;
    object-fit: contain;
    mix-blend-mode: multiply; /* białe tło logo (np. Misjonarki) zlewa się z szarym tłem */
}

.footer_main .col .contact {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
