/*

Theme Name: Hello Elementor Child

Theme URI: https://github.com/elementor/hello-theme/

Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team

Author: Elementor Team

Author URI: https://elementor.com/

Template: hello-elementor

Version: 1.0.1

Text Domain: hello-elementor-child

License: GNU General Public License v3 or later.

License URI: https://www.gnu.org/licenses/gpl-3.0.html

*/

:root{
    --kolor1:#24bca8;
    --kolor2:rgb(230, 57, 100);
}


.wp-block-gallery,
figure.columns-default,
.wp-block-gallery-1{
    display: grid !important;
    grid-template-columns: 1fr 1fr 1fr !important;
    gap: 20px !important;
}

body .wp-block-gallery figure{
    width: 100% !important; 
}




.m407{
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 5rem;
    display: grid;
    grid-template-columns: 0.75fr 1fr;
    gap: 3em;
}

.m407-prawo{
    grid-template-columns: 0.75fr 1fr;
}



.m407-lewo{
    grid-template-columns: 1fr 0.75fr;
}

.m407-obraz img{
    width: 100%;
    height: auto;
}

.m407-text p:nth-child(1){
    margin-top: 0;
    margin-bottom: 0;
    color: var(--kolor1);
    font-weight: 700;
}

body .m405 > div:nth-child(1) h2,
body .m407-text h2{
    margin-top: .1em;
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 0;
    color: #000;
}


.m407-text p:nth-child(3){
    color: #7e8384;
    margin-top: 1em;
    margin-bottom: 1em;
    border-left: solid 5px var(--kolor1);
    padding-left: 1.3em;
    line-height: 1.5;
}

body .m407-text > a{
    color: #fff;
    background-color: var(--kolor1);
    text-decoration: none;
    display: inline-block;
    padding: 1em 2em;
    text-decoration: none;
    font-weight: 600;
}

body .m407-text > a:hover{
    background-color: var(--kolor2);
    transition:all 1s ease 0s;
    text-decoration: none;
    color:#fff;
}




body .m400{
    text-align: center;
    background-image: url(../../../wp-content/uploads/zdjecia/m400tlo.webp);
    background-repeat: no-repeat;
    background-size: 100% auto;
    margin-top: 2em;
    margin-bottom: 5em;
}

body .m400 > h2{
    font-size: 2.3rem;
    line-height: 1.3;
    margin-bottom: 0.1em;
    margin-top: 0;
}

body .m400 > h2 span{
    color:var(--kolor2);
}

body .m400 > p{
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 0;
    margin-bottom: 5rem;
}

body .m400 > div{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 7%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

body .m400 > div img{
    max-width: 90px;
    height: auto;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1em;
}

body .m400 > div strong{
    display: block;
    font-size: 1.4rem;
    font-weight: 500;
}


body .m400 > div span{
    font-size: 0.9rem;
    line-height: 1.6;
    display: block;
}

body .m400 > div small{
    font-size: 0.8rem;
}






.m405{
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-top: 5rem;
}

.m405 > div:nth-child(1) h2{
    margin-top: 0;
}

.m405 > div:nth-child(2){
    font-size: 0.95rem;
}







body .m393-przycisk{
    text-decoration: none;
    color: #fff;
    display: inline-block;
    padding: 1.2em 2.5em;
    font-weight: 600;
    text-decoration: none !important;
    background-color: var(--kolor2);
}

body .m393-przycisk:hover,
body .m393-przycisk:focus{
    background-color: var(--kolor2);
    color:#fff;
    transition: all .5s ease 0s;
}



.m396{
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    margin-top:5rem;
    display: flex;
    justify-content: space-between;
    position: relative;
    align-items: flex-end;
    margin-bottom: 5rem;
}

.m396 .m396-tekst{
    width: 60%;
    flex-shrink: 0;
    background: #fff;
    margin-left: 5%;
    padding: 3em;
    border-top-right-radius: 25px;
    border-top-left-radius: 25px;
}

.m396::after{
    content: "";
    width:100%;
    height:80%;
    display: block;
    position: absolute;
    bottom:0;
    background-color: var(--kolor1);
    z-index: -1;
    border-radius: 25px;
    box-shadow: 0px 10px 20px rgba(14,102,239,0.15);
}


.m396 h3{
    margin-top:0;
    display: block;
    font-size: 2em;
    margin-bottom: 0;
    line-height: 1.4;
    margin-bottom: 0;
}


.m396 .m396-tekst p{
    margin-top: 0.51em;
    margin-bottom: 1em;
}


.m396-obraz{
    margin-right: 2%;
    display: flex;
}

.m396-obraz img{
    max-height: 400px;
}

.m396 .m393-przycisk{
    animation-name: m396przyciskanimacja;
    animation-duration: 3s;
    animation-iteration-count: infinite;
    animation-fill-mode: forwards;
    animation-timing-function: ease-in;
    background-color: var(--kolor2);

}


@keyframes m396przyciskanimacja{
    0%{
        background:#e63964
    }
    50%{
        background:  var(--kolor1);
    }

    100%{
        background:#e63964;
    }
}




/*start 1200 */
@media (max-width:1200px){

    .m407-prawo,
    .m407 {
        padding-left: 5%;
        padding-right: 5%;
        grid-template-columns: 1fr;
    }

    .m407-obraz img {
        max-width: 400px;
    }

    .m407-obraz{
        order: 1;
    }

    .m407-text{
        order: 2;
    }

    .m400 {
        padding-right: 5%;
        padding-left: 5%;
    }
    
    .m400 > div {

        grid-template-columns: 1fr 1fr;
    }
	

    
    .m384 {
        padding-left: 5%;
        padding-right: 5%;
    }


    .m405{
        padding-left: 5%;
        padding-right: 5%;     
    }

    .m405 .m404lewolinki a:nth-child(1){
        display: none;
    }

    .m396{
        margin-right: 5%;
        margin-left: 5%;
    }

    .m396 .m396-tekst p {
        font-size: 0.9rem;
        line-height: 1.4;
    }

    .m396 .m396-tekst h3 {
        line-height: 1.2;
        font-size: 1.5rem;
    }

    body .m400 {
        padding-right: 5%;
        padding-left: 5%;
    }
    
    body .m400 > div {

        grid-template-columns: 1fr 1fr;
    }
	

}


/*start 500 */
@media (max-width:500px){

    figure.columns-default,
    .wp-block-gallery,
    .wp-block-gallery-1{
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
    }
    .m400 > div {
        grid-template-columns: 1fr;
        gap: 0;
        max-width: 320px;
    }


    
    .m405 {
        grid-template-columns: 1fr;
        gap: 0;
      }

      .m405 div:nth-child(1)::after {
        content: "";
        width: 150px;
        height: 1px;
        display: block;
        border-bottom: dashed 3px var(--kolor4);
        margin-bottom: 1.5em;
        margin-top: 2em;
      }



      .m396{
        flex-wrap: wrap;
      }

      .m396 .m396-tekst {
        width: 90%;
        order: 2;
        padding: 2em;
        text-align: center;
      }


      .m396  .m393-przycisk {
        text-decoration: none;
        color: #fff;
        background-color: var(--kolor1);
        display: inline-block;
        padding: .5em 1.5em;
        font-weight: 600;
        font-size: 0.8rem;
        margin-left: auto;
        margin-right: auto;
        display: inline-block;
        align-self: center;
        width: 100%;
        text-align: center;
      }


      body .m400 > div {
        grid-template-columns: 1fr;
        gap: 30px;
        max-width: 320px;
    }
}




.elementor-widget-container .bdpp-post-title a{
font-size: 1rem;
  line-height: 1.6rem;
  display: block;
}




.elementor-widget-testimonial-carousel .swiper-slide {
    flex-shrink: 0;
  }

.elementor-element-3b5ec8e{
    overflow: hidden;
}



.bdpp-post-title a{
font-size: 1rem;
  line-height: 1.6;
  display: block;
}