@import url("settings.css");


h1 {font-size: 28px; line-height: 1.2em; font-family: var(--header-font); font-weight: 300; color: var(--color1); }
h2 {font-size: 28px; line-height: 1.2em; font-family: var(--header-font); color: #000;}
h3 {margin-top: 20px; color: var(--color2); margin-bottom:10px; line-height: 1.5em; font-size: 20px}
h4 {margin-top: 20px; color: #000; margin-bottom:10px; line-height: 1.5em; font-size: 1.3em}
h5 {margin-top: 20px; font-weight: bold; color: var(--color1); padding-bottom: 5px; margin-bottom:10px; line-height: 1.5em; font-size: 1.3em; border-bottom: 1px solid var(--color1)}
h6 {margin-top: 20px; font-weight: bold; color: #000; line-height: 1em; font-size: 0.8em}
.tile h3 {font-family: var(--header-font); }
a {color: var(--color2)}
header .navbar-brand img {border:0; height:100px; display:block; float:none; margin: 0 auto}
header .navbar-brand {text-align:center; color: #fff}
#menu_sidebar  ul.navbar-nav li a:hover, #menu_sidebar ul.navbar-nav li a:hover, header ul.navbar-nav li a:hover,ul.navbar-nav li.show > a,ul.navbar-nav li.active a{background:var(--color2);filter: brightness(110%);color:#fff}
header .topbar .address a:hover {color: var(--color1)}  
.page-content {background: #fff; padding: 0px 10px}
.logotypes-bg {margin-top:0; border-top: 1px solid #eee; background: #fff}
.slider {position: absolute; top:0; z-index:-1}
body {background: #f7f7f7} 
header {background: none; display:flex; flex-direction: column; justify-content: space-between; position: relative;}
#menu_sidebar ul.navbar-nav li a, header ul.navbar-nav li a:first-child {border-left: 1px solid rgba(255,255,255,0.3)}
#menu_sidebar ul.navbar-nav li a, header ul.navbar-nav li a {border-right: 1px solid rgba(255,255,255,0.3)}
/*header nav {height: var(--slider-height)}*/
#menu_sidebar ul.navbar-nav li a br, header ul.navbar-nav li a br {display:none}
#menu_sidebar ul.navbar-nav li a, header ul.navbar-nav li a {background: none; color: #fff; font-family: var(--header-font); font-weight:300; font-size: 16px; line-height:40px;}
.news .teaser p {font-weight:300; }
.news .teaser em {margin-top:0}
#menu_sidebar ul.navbar-nav li a i, header ul.navbar-nav li a i {line-height: 50px; color: #fff; }
header #top_navbar>.container-lg {justify-content:center; flex-direction: column}
#menu_top {background: rgb(255,255,255,0.3); color: #fff; width:100%; justify-content: center;} 
@media (min-width: 992px) {

    #top_navbar {
        flex-wrap: wrap;
    }

    #menu_top {
        width: 100%;
        flex-basis: 100%;
    }

    #menu_top .navbar-nav {
        width: 100%;
        justify-content: center;
    }

}

header .navbar-brand {color: #fff;font-size: 60px;; line-height:70px}
header .navbar-brand:hover {color: #000;}
#menu_sidebar .navbar-brand>br, header .navbar-brand>br {display:inline}
.slider-image>img, .slider-image video {opacity: 1; filter: brightness(0.7)}  
 
 header .topbar button {color: #777} 
ul.navbar-nav .dropdown-menu {background: #fff}
#menu_sidebar ul.navbar-nav li.show a, header ul.navbar-nav li.show a {}
/*#menu_sidebar ul.navbar-nav li.show a:hover, header ul.navbar-nav li.show a:hover {background: #eee; color: #000}*/
#menu_sidebar ul.navbar-nav li a:hover, header ul.navbar-nav li a:hover, header ul.navbar-nav li.show>a  {background: rgba(255,255,255,0.7); color: #000}
header ul.navbar-nav li .dropdown-menu a,ul.navbar-nav .dropdown-menu {background: #fff; color: #000; line-height:2em}
header ul.navbar-nav li.show ul a:hover{background: #ddd !important;}
header .navbar-brand span {display: block}

.sidebar .tile {border: 1px solid rgba(0,0,0,0.1); background: #fcfcfc; margin: 5px}
.sidebar .tile:first-child {margin-top: 20px}
.sidebar .tile .tile-icon,.sidebar .tile h3 {color: #555}
.content .page-title {margin-top:20px; padding:10px 0; background: #fcfcfc; border:1px solid rgba(0,0,0,0.1); -webkit-box-shadow: unset; box-shadow: unset; text-align:center}
.content .page-title h1 {margin:0; display:block; padding-bottom:5px; color: #000;text-align: center;font-size: 36px;line-height: 40px;}
.content .list2 h3 {color: var(--color2)}
footer {background: var(--color2)}
footer a, footer {color: #fff}
footer .copyright {background: #8f1e20}
.content .nav-pills li a:hover, .content .nav-pills>li>a.active, .content .nav-pills>li>a.active:hover, .content .nav-pills>li>a.active:focus {background: var(--color2)}
footer a:hover,footer .footer-box h4 {text-shadow: unset; color: #fff;  }
footer .footer-box h4  {text-align:center; padding:5px; display:block; background: rgba(255,255,255,0.2);border: 1px solid rgba(255,255,255,0.3);}
 
.nav-pills .nav-link.active, .nav-pills .show>.nav-link {background: var(--color2); text-align:center; color: #fff}
#myTabContent {border-bottom: 1px solid #eee; margin-bottom: 20px}
.nav-pills .nav-link {font-size: 12px; text-align:center; background: #f7f7f7; color: #000; border: 1px solid #eee; width:100%; line-height:1.2em; height: 50px}

.slider .overlay {background: rgba(0,0,0,0.1); position:absolute; top:0; left:0; width:100%; height:100%}
header .navbar-brand {padding-bottom:50px}
header .navbar-brand small {display: none}
.imagebar img {height:auto}
.content .parishgroups a {border: 0; width:200px; font-size: 16px; font-weight: bold}
.content .parishgroups  h3 { font-size: 16px; line-height:1.2em; margin-top:5px}
.content .parishgroups a img {border-radius:50%; max-height:unset; height:unset; border: 2px solid #eeee}
.parishgroups-show img.logo {border-radius:50%}
.content {padding-bottom:80px}
@media (max-width: 1400px){
    .sidebar {min-width:365px; width:365px}
    .slider {height: var(--slider-height)}
}
@media (max-width: 1200px) {
    .sidebar {min-width:265px; width:265px}
}

@media (max-width: 992px) {
     header .navbar-brand{padding: 10px 0}
     header .navbar-brand img {float:left; height:50px; padding-right:10px}
    header {position:fixed; margin-bottom:0; background: #fff; height: unset; flex-direction: column-reverse}   
    #menu_sidebar ul.navbar-nav, header ul.navbar-nav {height:calc(100vh - 135px);}
    header .navbar-brand {color:#000; line-height: 28px;}
    header #top_navbar>.container-lg {align-items: start}
    header img {display:none}
    header nav {height: unset}
    #menu_sidebar .navbar-brand, header .navbar-brand,#menu_sidebar .navbar-brand:hover, header .navbar-brand:hover {font-size: 18px; text-align:left}
    header #top_navbar>.container-lg {justify-content: start}
    #menu_top {position: relative !important}
    header #top_navbar {padding-bottom:0}
     #menu_sidebar .navbar-brand>br, header .navbar-brand>br {display:none}
   .page-title {margin-top:0}
    .slider {display:none}
    .page>.container-xxl {margin-top:110px}
    header .topbar{background: var(--color2); color: #fff}
    header .topbar .address a, header .topbar span, header .topbar button {color: #fff}
   header .topbar button {background: #fff; color: var(--color2)}
    header .topbar .search input {border: 1px solid #fff}
    #menu_sidebar ul.navbar-nav li a, header ul.navbar-nav li a {border-top:1px solid rgba(255,255,255,0.4)}
    header .topbar {border-top: 1px solid rgba(255,255,255,0.3); border-bottom:0}
    .slider .carousel-one h1 {font-size: 40px;line-height: 50px;}
  
   #menu_sidebar a, #menu_top a {color:#000}
   
   header .navbar-brand span {font-size: 15px}
}

@media (max-width: 767px) {
    .sidebar {width:100%}
    .page-content {padding: 0}
    .left-sidebar .sidebar{ margin-right:0}
    .right-sidebar  .sidebar{margin-left:0}
    .content {padding: 10px}
    #menu_sidebar .navbar-brand, header nav.navbar .navbar-brand {max-height: 67px}
    .content .page-title {padding:0}
}
@media (max-width: 576px) {
  .content .page-title h1 {font-size: 25px}
        /*header .navbar-brand img {display:none}*/
    header .navbar-brand small {dispaly:block}
    #menu_sidebar a, #menu_top a {line-height:2em}
    .content .filtr-search {max-width:40%}
    #menu_sidebar .navbar-brand, header .navbar-brand {padding-top: 8px}
    #menu_sidebar .navbar-brand, header .navbar-brand,#menu_sidebar .navbar-brand:hover, header .navbar-brand:hover {font-size: 16px; line-height:20px}
    #menu_sidebar .dropdown-menu, header .dropdown-menu {background:unset }
    #menu_sidebar .navbar-brand>br, header .navbar-brand>br {display:inline}
    #menu_sidebar .navbar-brand small, header .navbar-brand small {font-size:11px}
    #menu_sidebar,#menu_top {margin-top:10px}
    a.wcag-button{top:63px}
    #menu_top,#menu_sidebar ul.navbar-nav li a, header ul.navbar-nav li a {background: #fff}
header .navbar-brand {width:100%}
   header .navbar-brand span {font-size: 9.6px}
}

@media (max-width: 390px) {
    header .navbar-brand img {padding-right:4px}
    #menu_sidebar .navbar-brand, header .navbar-brand,#menu_sidebar .navbar-brand:hover, header .navbar-brand:hover {font-size: 14px; line-height:18px}
 header .navbar-brand span {font-size: 8px}
    
}
   .services-list {
        margin-top: 30px;
    }

    .service-item {
        padding: 38px 0;
        border-bottom: 1px solid #e9e9e9;
    }

    .service-item:last-child {
        border-bottom: 0;
    }

    .service-title {
        text-align: center;
        padding-right: 25px;
    }

    .service-icon {
        width: 78px;
        height: 78px;
        object-fit: contain;
        display: block;
        margin: 0 auto 18px;
        opacity: .65;
    }

    .service-title h3 {
        font-size: 1.15rem;
        line-height: 1.3;
        margin: 0;
        font-weight: 500;
    }

    .service-content > p:first-child {
        margin-top: 0;
    }

    .service-gallery {
        margin-top: 18px;
    }

    .service-gallery a {
        display: block;
        position: relative;
        overflow: hidden;
        border-radius: 4px;
        background: #f5f5f5;
    }

    .service-gallery img {
        display: block;
        width: 100%;
        height: 210px;
        object-fit: cover;
        transition: transform .25s ease, opacity .25s ease;
    }

    .service-gallery a:hover img {
        transform: scale(1.035);
        opacity: .9;
    }

    @media (max-width: 991.98px) {
        .service-item {
            padding: 30px 0;
        }

        .service-title {
            text-align: left;
            display: flex;
            align-items: center;
            gap: 15px;
            padding-right: 0;
            margin-bottom: 20px;
        }

        .service-icon {
            width: 55px;
            height: 55px;
            margin: 0;
            flex: 0 0 55px;
        }

        .service-title h3 {
            margin: 0;
        }
    }

    @media (max-width: 575.98px) {
        .service-gallery img {
            height: 220px;
        }
    }
    .zol-services {
    max-width: 1050px;
    margin: 0 auto;
}

.zol-services-intro {
    max-width: 760px;
    margin: 15px auto 0;
    line-height: 1.75;
}

.zol-service {
    position: relative;
    text-align: center;
}

/* delikatny separator pomiędzy sekcjami */
.zol-service + .zol-service {
    border-top: 1px solid #e8e8e8;
}

.zol-service-icon {
    display: block;
    width: 82px;
    height: 82px;
    object-fit: contain;
    margin: 0 auto 18px;
    opacity: .72;
}

.zol-service h3 {
    margin: 0 0 14px;
    font-size: 1.45rem;
    font-weight: 600;
}

.zol-service > p {
    max-width: 720px;
    margin: 0 auto 10px;
    line-height: 1.75;
}

.zol-service-gallery {
    max-width: 900px;
    margin: 28px auto 0;
}

.zol-service-gallery a {
    display: block;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    background: #f2f2f2;
    box-shadow: 0 3px 14px rgba(0, 0, 0, .08);
}

.zol-service-gallery img {
    display: block;
    width: 100%;
    height: 230px;
    object-fit: cover;
    transition:
        transform .3s ease,
        opacity .3s ease;
}

.zol-service-gallery a:hover img {
    transform: scale(1.045);
    opacity: .92;
}

/* subtelna ikonka powiększenia */
.zol-service-gallery a::after {
    content: "+";
    position: absolute;
    top: 12px;
    right: 12px;

    width: 34px;
    height: 34px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;
    background: rgba(255, 255, 255, .9);
    color: #555;

    font-size: 23px;
    font-weight: 300;

    opacity: 0;
    transform: scale(.85);

    transition:
        opacity .25s ease,
        transform .25s ease;
}

.zol-service-gallery a:hover::after {
    opacity: 1;
    transform: scale(1);
}


/* krótsze sekcje bez galerii */
.zol-service-compact {
    padding-top: 45px;
    padding-bottom: 45px;
}


/* TELEFON */
@media (max-width: 767.98px) {

    .zol-service {
        padding: 40px 0;
    }

    .zol-service-icon {
        width: 70px;
        height: 70px;
        margin-bottom: 14px;
    }

    .zol-service h3 {
        font-size: 1.3rem;
    }

    .zol-service-gallery {
        margin-top: 22px;
    }

    .zol-service-gallery img {
        height: 240px;
    }
}

/* ==========================================================
   ZOL - naglowek desktop zgodny z makieta klienta
   Menu jest poza .container-lg. Desktop > 992 px.
   Mobilnego collapse/menu nie zmieniamy.
   ========================================================== */
@media (min-width: 993px) {

    /* Nav sklada sie z dwoch poziomow: hero + menu */
    header #top_navbar {
        width: 100%;
        padding: 0;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        flex-wrap: nowrap;
        overflow: visible;
    }

    /* Obszar logo/tytulu zajmuje cala wysokosc zdjecia */
    header #top_navbar > .container-lg {
        width: 100%;
        max-width: 100%;
        min-height: calc(var(--slider-height) - 40px);
        padding-left: clamp(24px, 4vw, 70px);
        padding-right: clamp(24px, 4vw, 70px);
        margin: 0;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
    }

    /* Logo + nazwa po lewej stronie */
    header .navbar-brand,
    header .navbar-brand:hover {
        display: grid;
        align-items: center;
        width: auto;
        max-width: 820px;
        margin: 0;
        padding: 0;
        white-space: normal;
        text-align: left;
        color: #111;
        font-family: var(--header-font);
        font-size: clamp(27px, 2.15vw, 35px);
        font-weight: 400;
        line-height: 1.12;
        text-shadow: none;
    }

    header .navbar-brand img {
        grid-column: 1;
        grid-row: 1 / 3;
        display: block;
        float: none;
        width: clamp(90px, 8vw, 125px);
        height: clamp(90px, 8vw, 125px);
        margin: 0 10px 0 0;
        padding: 0;
        border: 0;
        object-fit: contain;
    }

    header .navbar-brand span {
        grid-column: 2;
        grid-row: 2;
        display: block;
        margin-top: 8px;
        color: #111; 
        font-size: clamp(16px, 1.35vw, 22px);
        font-weight: 400;
        line-height: 1.25;
        text-align: left;
    }

    /* Zdjecie jasniejsze + biale przejscie z lewej strony */
    .slider-image > img,
    .slider-image video {
        filter: none;
    }

    .slider::after {
        content: "";
        position: absolute;
        top: 30px;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 1;
        pointer-events: none;
        background: linear-gradient(
            90deg,
            rgba(255,255,255,.98) 0%,
            rgba(255,255,255,.96) 24%,
            rgba(255,255,255,.78) 38%,
            rgba(255,255,255,.30) 49%,
            rgba(255,255,255,0) 60%
        );
    }

    /* Pelna niebieska belka pod zdjeciem */
    #menu_top {
        width: 100%;
        flex-basis: auto;
        min-height: 76px;
        margin: 0;
        padding: 0;
        background: var(--color1);
        color: #fff;
        justify-content: center;
        position: relative;
        z-index: 20;
        overflow: visible;
    }

    #menu_top .navbar-nav {
        width: 100%;
        min-height: 76px;
        margin: 0;
        padding: 0;
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: center;
        align-items: stretch;
        overflow: visible;
    }

    #menu_top .navbar-nav > li {
        position: relative;
        /*display: flex;*/
        align-items: stretch;
        margin: 0;
        padding: 0;
    }

    #menu_top .navbar-nav > li > a {
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        min-height: 76px;
        padding: 10px clamp(13px, 1.35vw, 24px);
        border-top: 0;
        border-right: 1px solid rgba(255,255,255,.22);
        background: transparent;
        color: #fff;
        font-family: var(--header-font);
        font-size: clamp(12px, .9vw, 15px);
        font-weight: 400;
        line-height: 1.15;
        text-align: center;
        white-space: nowrap;
    }

    #menu_top .navbar-nav > li:first-child > a {
        border-left: 1px solid rgba(255,255,255,.22);
    }

    #menu_top .navbar-nav > li > a i {
        display: block;
        margin: 0 0 6px;
        line-height: 1;
        color: #fff;
        font-size: 16px;
    }

    /* Element z podmenu potrzebuje miejsca na maly caret obok napisu */
    #menu_top .navbar-nav > li > a.dropdown-toggle {
        padding-right: clamp(25px, 2vw, 34px);
    }

    /* Bootstrapowy caret - maly, rowny i na wysokosci napisu */
    #menu_top .navbar-nav > li > a.dropdown-toggle::after {
        position: absolute;
        right: clamp(9px, .75vw, 13px);
       
        display: block;
        width: 0;
        height: 0;
        margin: 0;
        vertical-align: 0;
        content: "";
        border-top: 4px solid rgba(255,255,255,.9);
        border-right: 4px solid transparent;
        border-bottom: 0;
        border-left: 4px solid transparent;
    }

    #menu_top .navbar-nav > li > a:hover,
    #menu_top .navbar-nav > li.show > a,
    #menu_top .navbar-nav > li.active > a {
        background: rgba(0,0,0,.12);
        color: #fff;
        filter: none;
    }

    #menu_top .navbar-nav > li > a:hover i,
    #menu_top .navbar-nav > li.show > a i,
    #menu_top .navbar-nav > li.active > a i {
        color: #fff;
    }

    /* Dropdown: zaczyna sie dokladnie pod komorka menu.
       Nadpisujemy pozycje ustawiana inline przez Bootstrap/Popper. */
    #menu_top .navbar-nav > li.dropdown > .dropdown-menu {
        position: absolute !important;
        inset: 100% auto auto 0 !important;
        top: 100% !important;
        left: 0 !important;
        right: auto !important;
        transform: none !important;
        margin: 0 !important;
        padding: 0;
        min-width: 230px;
        width: max-content !important;
        max-width: 320px;
        border: 0;
        border-radius: 0;
        background: #fff;
        box-shadow: 0 7px 16px rgba(0,0,0,.16);
        z-index: 1050;
    }

    /* Gdyby ostatnia pozycja miala dropdown - nie wypuszczamy go poza ekran */
    #menu_top .navbar-nav > li:last-child.dropdown > .dropdown-menu {
        inset: 100% 0 auto auto !important;
        left: auto !important;
        right: 0 !important;
    }

    #menu_top .dropdown-menu li {
        margin: 0;
        padding: 0;
        display: block;
        width: 100%;
    }

    #menu_top .dropdown-menu a {
        display: block;
        min-height: 0;
        width: 100%;
        padding: 10px 16px;
        border: 0;
        border-bottom: 1px solid #ececec;
        background: #fff;
        color: #333;
        font-family: var(--font-family);
        font-size: 13px;
        font-weight: 400;
        line-height: 1.3;
        text-align: left;
        white-space: normal;
    }

    #menu_top .dropdown-menu li:last-child > a {
        border-bottom: 0;
    }

    #menu_top .dropdown-menu a i {
        display: inline-block;
        margin: 0 7px 0 0;
        color: #999;
        font-size: 12px;
        line-height: 1;
    }

    #menu_top .dropdown-menu a:hover,
    #menu_top .dropdown-menu a:focus,
    #menu_top .dropdown-menu .active > a {
        color: #111;
        background: #f2f2f2;
    }
}
