/**
 * @file
 * Subtheme specific CSS.
 */
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@200..700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Work+Sans:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,200..1000;1,200..1000&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@200..700&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

/* font-family: "Nunito", sans-serif; */
/* font-family: "Oswald", sans-serif; */
 /* font-family: "Roboto", sans-serif; */
/* font-optical-sizing: auto; */

[data-aos][data-aos][data-aos-duration="400"], body[data-aos-duration="400"] [data-aos] {
    transition-duration: 1s;
}

* {
    box-sizing: border-box;
}

:root {
    --primary: var(--bs-primary);
    --secondary: var(--bs-secondary);
    --font-title: "Oswald", sans-serif;
    --font-title2:  font-family: "Nunito", sans-serif; 
}

body {    
    background: #fff;
    color: #333;
    font-size: 18px;
    font-family: "Roboto", sans-serif;
    font-weight: 300;        
}

body.no-scroll {
    overflow: hidden ;
    position: fixed;
    width: 100%;
    height: 100%;
    touch-action: none;
}

p {
    font-size: 1.2rem;
    color: #333;
}

b, strong {
    font-weight: 700;
}

#page-wrapper {
    max-width: 100%;
    width: 100%;   
    /* display: none; */
}


.full-width {
    position: relative;
    left: 50%; 
    width: calc(100vw - 15px);
    transform: translateX(-50%); 
    
}

.sticky-top {
    z-index: 100;
}

.featured-top {
    overflow-x: hidden;
}

.container, .container-xl, .container-xxl {
    margin-inline: auto;
}

.hidden {
    display: none;
}

a, a:link {
    text-decoration: none;
}

@media screen and (max-width: 2200px) {
    .container-xxl {
        max-width: 1660px;
    }
}

@media screen and (max-width: 1680px) {
    .container-xxl {
        max-width: 1420px;
    }
}

@media screen and (max-width: 1200px) {
    .container-xl, .container-xxl {
        max-width: 90%;
    }
}

@media screen and (max-width: 650px) {
    .container-xl, .container-xxl {
        max-width: 100%;
    }
}



.title {
    font-family: "Nunito", sans-serif;  
}


h1.title {
    font-family: "Oswald", sans-serif;
    font-optical-sizing: auto;
    font-size: 3rem;
    color: var(--primary) !important;
}

h1.title span {
    color: var(--secondary) !important;
}
h1.title span.field--name-title {
    color: var(--primary) !important;
}


.views-element-container > h2 {
    font-family: "Oswald", sans-serif;
    font-optical-sizing: auto;
    font-size: 4rem;
    color: #333;
    margin-bottom: 50px;
}


img {
    max-width: 100%;
    height: auto;
}


#page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
#main-wrapper {
    flex: 1;
}


/* --------------------------------------------------------------------------- */

/* POPUP  */
#block-dafr-b5-sub-splash {
    display: none;
    height: 100%;
}



.spb-popup-main-wrapper.spb_center {
    width: 100vw !important;
    height: 100vh !important;
    position: fixed;
    left: 0 !important;
    top: 0 !important;
    margin: 0 !important;
}

.block-dafr-b5-sub-splash-modal {
    opacity: 1;
    transition: all 1s ease;
}

.block-dafr-b5-sub-splash-modal.fade-out {
    opacity: 0;
}

#splash {    
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 20px;
}

#splash header, #splash main, #splash footer {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;    
    flex-wrap: wrap;
}

#splash main,
#splash footer {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

#splash main {
    flex: 1;
}

#splash .ue {
    width: 130px;
}

#splash .content img {
    width: 800px;
    transition: all 1s ease;
}

#splash .container-button {
    width: 200px;
    height: 200px;
    margin: 0 auto 0;
    display: flex;
    align-items: center;
    justify-content: center;
    -webkit-perspective: 1000;
    -webkit-backface-visibility: hidden;
    background: #fff;
}

#splash .pulse-button {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
    border: none;
    box-shadow: 0 0 0 0 #005387c7;
    border-radius: 50%;
    color: #fff;
    background-color: #005387;
    background-image: url(YOUR-URL-IMAGE.png);
    background-size: cover;
    background-repeat: no-repeat;
    cursor: pointer;
    -webkit-animation: pulseb 2.25s infinite cubic-bezier(0.66, 0, 0, 1);
    -moz-animation: pulseb 2.25s infinite cubic-bezier(0.66, 0, 0, 1);
    -ms-animation: pulseb 2.25s infinite cubic-bezier(0.66, 0, 0, 1);
    animation: pulseb 2.25s infinite cubic-bezier(0.66, 0, 0, 1);
}

#splash .pulse-button:hover {
    -webkit-animation: none;
    -moz-animation: none;
    -ms-animation: none;
    animation: none;
}

#splash>.row>div:nth-child(1) {
    display: flex;
    align-items: center;
    justify-content: start;
}

@media screen and (max-width: 650px) {
    #splash {
        padding: 30px 0;
    }
    #splash header {
        justify-content: center;
    }
    #splash .accessibility--controls {
        margin-top: 30px;
    }
        #splash .container-button {
            padding-bottom: 30px;
        }

}

@-webkit-keyframes pulseb {
    0% {
        box-shadow: 0 0 0 0 rgba(189, 214, 49, 0.7);
    }
    100% {
        box-shadow: 0 0 0 45px rgba(189, 214, 49, 0);
    }
}

@-moz-keyframes pulseb {
    0% {
        box-shadow: 0 0 0 0 rgba(189, 214, 49, 0.7);
    }
    100% {
        box-shadow: 0 0 0 45px rgba(189, 214, 49, 0);
    }
}

@-ms-keyframes pulseb {
    0% {
        box-shadow: 0 0 0 0 rgba(189, 214, 49, 0.7);
    }
    100% {
        box-shadow: 0 0 0 45px rgba(189, 214, 49, 0);
    }
}

@keyframes pulseb {
    0% {
        box-shadow: 0 0 0 0 rgba(189, 214, 49, 0.7);
    }
    100% {
        box-shadow: 0 0 0 45px rgba(189, 214, 49, 0);
    }
}

/* ---------- LOGO  --------------------- */
/* HEADER  */
header#header {
    background-color: #fff;
}
#navbar-main.bg-light {
    box-shadow: 2px 2px 19px #a9a9a947;
    border-bottom: 1px solid #ccc;
}

#block-dafr-b5-sub-flagaue {
    width: 100px;
    height: auto;
}


#block-dafr-b5-sub-header2 img {
    width: 100%;
    height: auto;
}

@media screen and (max-width: 1680px) {
    .logo img {
        max-width: 350px;
        height: auto;
    }
}
@media screen and (max-width: 1200px) {
    .logo {
        max-width: 100%;
    }
}

@media screen and (max-width: 650px) {
    .logo {
        display: flex;
        justify-content: center;
    }
    .logo img {
        width: 80%;
    }
    .navbar-brand {
        padding: 0;
        width: auto;
        display: flex;
        justify-content: center;
        margin-bottom: 20px;
    }
}

/* ---------- LOGO  --------------------- */
.region-header-branding {
    display: flex;
    align-items: center;
    justify-content: start;
    padding-right: 20px;
}
.navbar-brand {
    padding: 0;
    margin: 0;
}

.logo {
    height: 60px;
    width: auto;
    padding: inherit;
}
.logo img {
    height: 100%;
    width: auto;
}

a.navbar-brand {
    height: 100%;
    display: block;
    padding: 0;
}

#navbar-main {
    z-index: 100;
    padding: 20px;
}



/* -------------------------------------------------------- */
/* ACCESSIBILITY  */

.accessibility--controls {
    display: flex;
    align-items: center;    
}

.accessibility--controls .text-sizing {
    display: flex;
    justify-content: center;
    align-items: baseline;
}
button.accessibility--control {
    padding: 0;
    padding-inline: 10px;
}

@media screen and (max-width: 1450px) {
    .accessibility--controls {
        flex-direction: column;
    }
}
@media screen and (max-width: 1399px) {
    .accessibility--controls {
        flex-direction:row;
    }
}

@media screen and (max-width: 650px) {
    .accessibility--controls {
        padding-left: 20px;
    }
}

/* -------------------------------------------------------- */
/* MENU  */

.navbar-nav .nav-link {
    font-weight: 600;
    text-transform: uppercase;
}

.navbar-nav .nav-link.active,
.navbar-nav .show>.nav-link {
    font-weight: 900;
}

button.navbar-toggler.collapsed {
    margin-right: 50px;
}

@media screen and (min-width:1320px) {
    .navbar-expand-xl .offcanvas {
        padding-right: 50px;
    }
}
@media screen and (max-width: 650px) {
    button.navbar-toggler.collapsed {
        margin-right:10px;        
    }
    #block-dafr-b5-sub-main-menu a.nav-link {
        font-size: 1.4rem;
    }    
}


/* ------------------------------------------------------- */
/* Tytuł block  */

#block-dafr-b5-sub-page-title {
    background-image: url('/sites/default/files/theme/header8.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: left;
    height: 265px;
    overflow-x: hidden;
}
#block-dafr-b5-sub-page-title .row {
    height: 100%;
}
#block-dafr-b5-sub-page-title .title-content {    
    display: flex;
    align-items: center;
    justify-content: start;
    height: 100%;
    padding-left: 100px;
}

@media screen and (max-width: 998px) {
    #block-dafr-b5-sub-page-title {
        background-position: calc(50% + 200px) center;
        height: 200px;
    }
    #block-dafr-b5-sub-page-title .title-content {
        padding-left: 50px;
    }
}

/* -----------------------------------------------  */
/* Slowo wstępne  */
/* -----------------------------------------------  */
.wstep {
    background-image: url('/sites/default/files/theme/path1.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: top center;
    padding: 50px 0;
    position: relative;
    margin-top: 100px;
}

.wstep .pasek-lewy {
    position: absolute;
    top: 0;
    left: 0;
    background-color: var(--secondary);
    width: 30px;
    height: 500px;

}
.wstep .col-xl {
    padding-left: 40px;
}
.wstep .bs_grid p {
    max-width: 700px;
}

.wstep .fotos {
    position: relative;
}

.wstep img {
    object-fit: cover;
}

.wstep img.f1 {
    position: absolute;
    left: 0;
    top: -100px;
    z-index: 1;
    width: 400px;
    height: 400px;
}

.wstep img.f2 {
    position: absolute;
    right: -74px;
    top: 160px;
    width: 550px;
    z-index: 2;    
}

img.f3 {
    position: absolute;
    bottom: -100px;
    left: 50px;
    display: none;
}


.wstep ul {
    list-style-type: none;
    /* Usunięcie domyślnych punktorów */
    padding-left: 0px;
    /* Dodatkowe odsunięcie tekstu od punktora */
}

.wstep ul li {
    position: relative;
    padding-left: 45px;    
    margin-bottom: 10px;
    font-weight: 500;
    font-size: 1rem;
}

.wstep ul li:before {
    content: '';
    position: absolute;
    left: 0;
    top: 2px;
    width: 25px;
    height: 25px;
    background-image: url('/sites/default/files/theme/bullet.svg');
    /* background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 100 100"><path fill="%2386b85e" d="M57.7,47.4c0,0,0-0.1,0-0.1C64.2,28.7,78.3,17.7,99,15.5c0,0,0,0,0,0c0,0-8.2-2.2-19.6-4.6C33,1.2,7.5,21,10.2,64.5 c-0.2,0.5-0.5,0.9-0.7,1.4c-0.9,1.8-1.7,3.6-2.5,5.4c-0.8,1.8-1.5,3.7-2.3,5.6c-0.4,0.9-0.7,1.9-1,2.9c-0.3,1-0.6,2-1,2.9 c-0.6,2-1.2,4-1.7,6c1.2,1,2.3,1.9,3.5,2.9c0.5-2,1-4.1,1.5-6.1c0.3-1,0.5-2,0.8-3c0.3-1,0.6-2,0.9-2.9c0.6-1.9,1.3-3.9,2-5.7 c0.7-1.9,1.5-3.7,2.3-5.6c2.4-5.5,5.2-10.7,8.3-15.6c1.1-1.6,2.3-3.1,3.5-4.6c4.9-6,10.3-11.3,16.4-16.1c1.5-1.2,3.1-2.3,4.6-3.4 c1.6-1.1,3.2-2.2,4.8-3.2c3.3-2,6.7-3.9,10.3-5.6c-3.4,1.9-6.6,4-9.7,6.3c-1.5,1.1-3,2.3-4.5,3.5c-1.5,1.2-2.9,2.5-4.3,3.8 c-5.6,5.2-10.6,11-15,17.4c-4.4,6.4-8.2,13.3-11.2,20.8c-0.1,0.4-0.3,0.7-0.4,1.1C36.4,74.2,51.4,65,57.7,47.4z"></path></svg>'); */
    background-size: contain;
    /* Dopasowanie rozmiaru SVG */
    background-repeat: no-repeat;
}


@media screen and (max-width: 1680px) {
    .wstep img.f2 {        
        right: -34px;
        top: 227px;
        width: 500px;
    }
}

@media screen and (max-width: 1366px) {
    .wstep img.f2 {
        right: 0;
        top: 227px;
        width: 500px;
    }
}

@media screen and (max-width: 1200px) {
    .wstep {
        margin-top: 50px;
    }
    .wstep .fotos {
        position: relative;
        height: 665px;
    }
    .wstep img.f1 {        
        left: auto;
        right: 50px;
        top: -150px;        
        width: 400px;
        height: 400px;
    }
    
    .wstep img.f2 {
        position: absolute;
        right: auto;
        left: 0;
        top: 227px;                
    }
}

@media screen and (max-width: 998px) {
    .wstep img.f1 {
        left: auto;
        right: 20px;
        top: -50px;
        width: 300px;
        height: 300px;
    }
}

@media screen and (max-width: 650px) {
    .wstep {
        margin-top: 20px;
    }
    .wstep .fotos {
        position: relative;
        height: 570px;
    }
    .wstep img.f1 {  
        position: relative;      
        left: auto;
        right: 50px;
        top: 0px;        
        width: 400px;
        height: 400px;
    }
    
    .wstep img.f2 {
        position: relative;
        right: auto;
        left: 0;
        top: -20px;                
    }
}

/* -----------------------------------------------  */
/* Oferujemy FrontPage  */
/* -----------------------------------------------  */
.oferta {
    background: var(--bs-primary);
    
    background-size: cover;
    background-repeat: repeat;    
    color: #fff;    
}

.oferta .bs_grid {
    max-width: 1200px;
    margin-inline: auto;
}

.oferta .col-lg-3 {
    background-color: #043a5b;
    padding: 60px 0;
    text-align: end;
}
.oferta .content h2 {
    font-size: 2.2rem;
} 

.oferta .col-lg-9 {
    padding: 60px 0;
}
.oferta .box-oferta {
    opacity: 1;
    width: 230px;
    height: 280px;
    text-align: center;
    background: #ffffff1f;
    padding: 40px;
    border-radius: 30px;
    box-shadow: 5px 6px 8px #00000059;
    border: 1px solid transparent;
    transition: all 0.6s ease ;    
}

/* .oferta .box-oferta:hover {
    transition: all 0.6s ease, box-shadow 0.6s ease, border 0.6s ease;
    box-shadow: 0px 0px 0px #00000059;
    border: 1px solid #ffffff85;

} */

.oferta .box-oferta img {
    width: 70px;
    height: auto;
}

.oferta .box-oferta h2 {
    font-size: 1.2rem;
    color: var(--secondary);
    margin-top: 40px;
}

@media screen and (max-width: 1680px) {
    h1.title {
        font-size: 2.5rem;
    }
    .oferta .bs_grid {
        max-width: 1000px !important;
    }
}

@media screen and (max-width: 1200px) {
    h1.title {
        font-size: 2.2rem;
    }
    .oferta .bs_grid {
        max-width: 100% !important;
    }
    .oferta .box-oferta {
        padding: 20px;
        width: auto;
    }
}


@media screen and (max-width: 650px) {
    .oferta .box-oferta {
        width: 70%;
        margin-inline: auto;
        margin-bottom: 40px;        
    }
}

/* ---------- FOOTER --------------------- */

.site-footer {
    padding-bottom: 8px;
}

.site-footer__bottom {
    border: 0;
}
 
.site-footer .block {    
    border: 0;    
    padding: 10px;
    color:#ccc;
}


#block-dafr-b5-sub-kontakt {
    padding-bottom: 0;
    margin-bottom: 0;
}


.site-footer .block p {
    color: #ddd;
    font-size: 1.1rem;
    letter-spacing: 0.04em;
}

.site-footer .block p strong {
    color: #eee;
}

.site-footer table {
    width: auto;
}
.site-footer tr {
    background: transparent;
}
.site-footer tr td, .site-footer tr th {
    border-color: transparent;
    text-align: center;
}

.site-footer .socials svg {
    width: 25px !important;
    height: 25px !important;    
}
.site-footer .socials svg path {    
    color: #ccc;
    transition: all 0.3s ease;
}

.site-footer .socials svg:hover path {
    color: #ccc;
    color: #0d81c9;
} 

.site-footer h2 {
    font-size: 1.5rem;
    color: #eee;
}

.site-footer__col .region:first-child {
    padding-left: 0;
    padding-right: 40px;
}

.site-footer__center {
    text-align: center;
}

.site-footer .site-footer__col section:nth-child(1) {
    width: 30%;    
}
.site-footer .site-footer__col section:not(:first-child) {
    width: 22%;
    margin-top: 10px;
}

/* Terms --------------------- */
#block-dafr-b5-sub-footerterms,
#block-dafr-b5-sub-footerterms p {
    padding: 0;
    margin: 0;
}
#block-dafr-b5-sub-footerterms a {
    font-size: 0.9rem;
    color: #ddd;
    transition: all 0.3s ease;
}

#block-dafr-b5-sub-footerterms a:hover {
    color: #00aaff;
}
#block-dafr-b5-sub-footerterms span {
    color: #00aaff;
}

/* Copyright ----------- */
.copyright {
    border-top: 1px solid #bbbbbb85;
}

.copyright, .abel {
    color : #959595;
    font-size: 0.9rem;
    padding-top: 8px;
    display: flex;
    align-items: center;    

}
.copyright > div:first-child {
    justify-content: start;
}
.copyright .abel {
    justify-content: end;
}
.copyright .abel img {
    height:33px;    
}

@media screen and (max-width: 650px) {
    .copyright, .abel { justify-content: center};
}

/* --------------------------------------------------------------------------- */
/* Article  */

.node--view-mode-teaser {
    position: relative;
    display: block;
    background-color: #ffffff;
    box-shadow: 0px 0px 30px 0px rgba(0, 0, 0, 0.15);
    padding: 30px;
}

.node--view-mode-teaser header {
    margin-bottom: 30px;
}


.node--view-mode-teaser header .desktop {
    border-bottom: 1px solid #555;
    display: flex;
    justify-content: space-between;
}
    

.node--view-mode-teaser header .desktop  .aricle-title {
    max-width: 75%;
}

article.node--type-article.node .smart {
    display: none;
}

article.node--type-article.node .smart .node__title {
    font-size: 1.4rem;
    padding-bottom: 5px;
    color: #005387;
}

article.node--type-article.node .smart .node-date {
    font-weight: 600;
    font-size: 0.9rem;
}

.node--view-mode-teaser .desktop .node-date {
    min-width: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: end;
    padding-bottom: 11px;
    border-right: 1px solid #666;
}
.node--view-mode-teaser .day {
    text-align: center;
    font-size: 1rem;
    font-weight: 700;
    color: #005387;
    line-height: 2.6rem;
    margin: 0;
    padding: 0;
}
.node--view-mode-teaser .date {
    text-align: center;
    font-size: 1.6rem;
    font-weight: 700;
    color: #005387;
    line-height: 2rem;
    margin: 0;
    padding: 0;
}

.node--view-mode-teaser h2 {
    margin-top: 0;
    padding-top: 0.5em;
    font-size: 2rem;
    text-align: end;
}

.node--view-mode-teaser .readmore:before  {
    position: relative;
    display: block;
    margin-right: 10px;
    width: 6px;
    height: 6px;
    background: #ffffff;
    transform: rotate(45deg);
}

.node--view-mode-teaser .field--name-field-zalaczniki {
    font-size: 0.9rem;
}

@media screen and (max-width: 768px) {
    article.node--type-article.node .smart {
        display: block;
    }
    article.node--type-article.node .desktop {
        display: none !important;
    }
}
@media screen and (max-width: 1200px) {
 
}


/* --------------------------------------------------------------------------- */
/* USŁUGI */
.node--type-uslugi .field--name-field-wstep {
    font-weight: 400;
    padding: 40px;
}
.node--type-uslugi .field--name-field-wstep p {
    font-size: 1.6rem;
}

.node--type-uslugi .services-page .block {
    padding: 20px;
    background-color: var(--bs-primary);
    
    margin-bottom: 20px;
}

.node--type-uslugi .services-page .block p {
    color: #fff;
}
.node--type-uslugi .services-page .block h2 {
    font-size: 2rem;
    color: var(--secondary);
    margin-bottom: 20px;
}

.node--type-uslugi .row1 {
    background-image: url('/sites/default/files/theme/shape4.png');
    background-size: 175px;
    background-position: bottom right;
    background-repeat: no-repeat;
    margin-top: 50px ;
    margin-bottom: 40px;
}


@media screen and (max-width: 650px) {
    .node--type-uslugi .row1{
        padding: 0;
    }
    .node--type-uslugi .field--name-field-wstep {
        padding: 10px;
    }
    .node--type-uslugi .field--name-field-wstep p {
        font-size: 1.3rem;
    }
    .node--type-uslugi .row1 {
        background-image: none;
    }
}



/* services2  */

.services2 {
    position: relative;    
    color: #fff;
    background: rgb(0,95,144);
    background: linear-gradient(90deg, rgba(0,95,144,1) 0%, rgba(51,86,94,1) 100%, rgba(255,255,255,0.39539565826330536) 100%);
    
}

.services2 .w-100 {
    padding: 110px 0px 70px;
    /* background-image: url('https://dev.api-fundacja.pl/sites/default/files/theme/shape6.webp'); */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.services2 #services-left .logo {
    height: 60px;
    color: #fff !important
}

.services2 #services-left h4 {
    font-size: 1rem;
    padding-left: 30px;
    margin: 0;
    letter-spacing: 0.3em;
}

.services2 #services-left h2 {
    margin: 30px 0;
    font-family: var(--font-title);
}

.services2 #services-left p {
    color: #ffffff87
}

.services2 #services-left .content-left {
    display: flex;
    align-items: center;
}

.services2 #services-left .content-left img {
    width: 130px;
    margin-right: 10px;
}

.services2 #services-left .content-left p {
    color: #fff;
    font-size: 1rem;
}

@media screen and (max-width:998px) {
    div#services-left {
        padding-bottom: 40px;
    }
}   

.about-feature-box {
    position: relative;
    width: 550px;
    margin: auto;
}
.about-feature-box:before {
    content: '';
    position: absolute;
    left: 48%;
    top: 48%;
    margin: -50px 0px 0px -50px;
    width: 100px;
    height: 100px;
    background: rgba(0,0,0,0.10);
    border-radius: 50%;
    z-index: 1;
}
.about-feature-box .outer {
    margin: 0px 0px;
}
.about-feature-box .about-feature {
    float: left;
    padding: 0;
    margin: 0 0 0px;
    width: 50%;
}

.about-feature-box .inner-box {
    width: 250px;
    height: 200px;
}
.about-feature-box .about-feature {
    position: relative;
    margin-bottom: 30px;
}

.about-feature-box .about-feature .inner-box {
    background: #eee;
}

/* .about-feature-box .about-feature:nth-child(1) .inner-box {
    background: #f5a93f;    
}
.about-feature-box .about-feature:nth-child(2) .inner-box {
    background: #4cc7d6;
}
.about-feature-box .about-feature:nth-child(3) .inner-box {
    background: #3e688f;
}
.about-feature-box .about-feature:nth-child(4) .inner-box {
    background: #dc4549;
} */

.about-feature-box .about-feature:nth-child(1) .inner-box:hover {
    -webkit-transform: translate(-10px,-10px);
    -ms-transform: translate(-10px,-10px);
    transform: translate(-10px,-10px);
}
.about-feature-box .about-feature:nth-child(2) .inner-box:hover {
    -webkit-transform: translate(10px,-10px);
    -ms-transform: translate(10px,-10px);
    transform: translate(10px,-10px);
}
.about-feature-box .about-feature:nth-child(3) .inner-box:hover {
    -webkit-transform: translate(-10px,10px);
    -ms-transform: translate(-10px,10px);
    transform: translate(-10px, 10px);
}
.about-feature-box .about-feature:nth-child(4) .inner-box:hover {
    -webkit-transform: translate(10px,10px);
    -ms-transform: translate(10px,10px);
    transform: translate(10px, 10px);
}

.about-feature-box .about-feature .inner-box {
    position: relative;
    display: block;
    -webkit-box-shadow: 0px 0px 20px 0px rgba(0,0,0,0.20);
    -ms-box-shadow: 0px 0px 20px 0px rgba(0,0,0,0.20);
    box-shadow: 0px 0px 20px 0px rgba(0,0,0,0.20);
    -webkit-transition: all 300ms linear;
    -ms-transition: all 300ms linear;
    transition: all 300ms linear;
}
.about-feature-box .about-feature .content-box {
    position: relative;
    display: table;
    width: 100%;
    height: 200px;
    vertical-align: middle;
    padding: 20px 20px;
    text-align: center;
    border-radius: 0px;
    overflow: hidden;
    -webkit-transition: all 300ms linear;
    -ms-transition: all 300ms linear;
    transition: all 300ms linear;
}

.about-feature-box .about-feature .inner-box .inner {
    position: relative;
    display: table-cell;
    width: 100%;
    vertical-align: middle;
}

.about-feature-box .about-feature h3 {
    position: relative;
    display: inline-block;
    max-width: 140px;
    font-size: 24px;
    font-weight: 700;
    text-transform: capitalize;
    line-height: 1.3em;
    color: #333;
}

@media screen and (max-width:650px) {
    
    .about-feature-box {
        width: 100%;
    }
    .about-feature-box .about-feature {
        width: 100%;
    }
    .inner-box {
        margin-inline: auto;
    }
    .about-feature-box:before {
        display: none;
    }
    .services2 #services-left .content-left img {
        display: none;
    }
    .services2 #services-left .content-left {
        margin-bottom: 20px;
    }    

}



/* Projekty */
#projekty {
    background-image: url('/sites/default/files/theme/header8.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: left;
    height: 265px;
    .layout__region { 
        display: flex;
        align-items: center;
        padding-left: 150px;
        max-width: 800px;
        height: 100%;
    }

    .projekty-title {
        
        h2 {
            font-family: var(--font-title);
            text-transform: uppercase;
            color: var(--primary);
            font-size: 2.6rem;
        }
    }    
}

#projekty-grid {
    margin-top:60px;
    margin-bottom: 60px ;

    .projekty-grid-item {
        padding: 20px;
        transition: all 0.2s ease;
        a.btn-projekty {
            background: var(--bs-primary);
            display: flex;
            align-items: center;
            justify-content: center;
            height: 300px;
            width: 100%;            
            font-size: 3rem;
            color: var(--bs-secondary);
            font-weight: 700;
            transition: all 0.4s ease;
        }
    }
    a.btn-projekty:hover {
        background: #003452;
        box-shadow: 2px 2px 8px #000;
        color: #eee
        
    }

}

@media screen and (max-width: 650px) {
    #projekty-grid a.btn-projekty {
    font-size: 2rem;          
    }
}


/* Pomocna dłoń */

#projekt-header {
    padding: 30px;
    background: #eeeeee8e;
    box-shadow: 2px 2px 4px #00000034;
}

#projekt-praca {
    margin-top: 50px;
    margin-bottom: 50px;
}

#projekt-praca .projekt-praca-left.layout__region.layout__region--first {
    background: var(--bs-primary);
}

#projekt-praca .projekt-praca-right {
    padding: 40px;
    background: #eee;
}





/* ------------------------------------------------------------------ */
/* LAYOUT builder  */

.ui-dialog.ui-widget-content.ui-layout-builder-modal {
    position: fixed;
    height: 1000px;
    width: 1200px;
    top: 0;
    left: 0;
    z-index: 502;
}

.ck-source-editing-area textarea{
    height: 20em !important; 
}

