/*
Theme Name: Rooster block
Author: The name of the individual or organization who developed the theme.
Description: A short description of the theme.
Version: 0.1.
Requires at least: The oldest main WordPress version supported, written in 6.00 format. 
Tested up to: The last main WordPress version the theme has been tested up to, i.e. 6.0. Write only the number.
Requires PHP: The oldest PHP version supported, in X.X format, only the number.
License: The license of the theme.
License URI: The URL of the theme license.
Text Domain: The string used for textdomain for translation. The theme slug.
*/
body {
    --wp--preset--font-family--inter: Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif; 
    font-family: var(--wp--preset--font-family--inter) !important;
    counter-reset: rowNumber; /* Zresetuj licznik wierszy */
}
.d-none {
    display: none !important;
}
.alignwide > .alignfull { width: 100%;}

.wp-block-navigation ul li { 
    margin-right: 30px;
    text-decoration: underline;
}
.mb-0, .mb-0 .wp-block-columns {
    margin-bottom: 0px;
}
body .is-layout-constrained > .alignwide {
    max-width: var(--wp--style--global--wide-size) !important;
}
body .wp-site-blocks main { margin-top: 0px !important;}
#hero-section > img {
    object-position: 100% 100%;
    max-width: 500px;
    max-height: 500px;
    z-index: 1;
    bottom: 0;
    right: 0;
    left: auto;
    top: auto;
}
.arrow-before {
    padding-left: 100px;
    position: relative;
}
.arrow-before::before {
    position: absolute;
    content: "";
    display: block;
    width: 86px;
    height: 8px;
    background-image: url(/wp-content/uploads/2023/12/Arrow-2.png);
    background-size: cover;
    left: 0px;
    top: 50%;
    transform: translateY(-50%);
}
.flex-column { 
    gap: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.flex-column blockquote {  
    position: relative;
    margin: 10px 0 15px;
    padding: 1em 40px 1em 100px;
    margin-right: 50px;-webkit-box-shadow: 0px 6px 25px 0px rgba(31, 30, 56, 0.05);
    -moz-box-shadow: 0px 6px 25px 0px rgba(31, 30, 56, 0.05);
    box-shadow: 0px 6px 25px 0px rgba(31, 30, 56, 0.05);
}
.okIconBefore { 
    padding-left: 60px;
    position: relative;
    font-size: 18px;    
    font-weight: 600;
}
.okIconBefore::before {
    position: absolute;
    content: "";
    display: block;
    
    width: 40px;
    height: 40px;
    background-image: url(/wp-content/uploads/2023/12/Group-164.png);
    background-size: cover;
    left: 0px;
}

.numberIconBefore { 
    padding-left: 60px;
    position: relative;
    font-size: 16px;
    font-weight: 400;
    line-height: 40px; 
    width: calc(100% - 60px);
    cursor: pointer;
}
.numberIconBefore::before {
    
    position: absolute;
    content: counter(rowNumber);
    counter-increment: rowNumber;
    display: block;
    width: 40px;
    height: 40px;
    left: 0px;
    top: 0px;
    background-color: #e3c48030;
    color: #E3C480;
    text-align: center;
    line-height: 40px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 400;
}
.numberIconBefore::after {
    
    content: "+";
    color: #1e514c;
    display: block;
    width: 40px;
    height: 40px;
    font-size: 32px;
    font-weight: 300;
    right: 0px;
    top: 0px;
    line-height: 40px;
    position: absolute;
}

.numberIconBefore.active::after { 
    content: "-";
    color: #1e514c;
    display: block;
    width: 40px;
    height: 40px;
    font-size: 32px;
    font-weight: 300;
    right: 0px;
    top: 0px;
    line-height: 40px;
    position: absolute;
}
.flex-column blockquote::before {
    position: absolute;
    content: "";
    display: block;
    
    width: 48px;
    height: 48px;
    background-image: url(/wp-content/uploads/2023/12/Cytat.png);
    background-size: cover;
    left: 35px;
    top: 35px;
}
.alignCenterNarrower .wp-block-cover__background {
    background-image: url(/wp-content/uploads/2023/12/Frame-782.png), url(/wp-content/uploads/2023/12/Frame-781-1.png);
    background-position: top left, bottom right;
    background-repeat: no-repeat, no-repeat;
}
.alignCenterNarrower .border-rad-8 {
    position: relative;
    margin-right: 60px;
}
.alignCenterNarrower .border-rad-8::after {
    position: absolute;
    content: "";
    display: block;
    width: 86px;
    height: 8px;
    background-image: url(/wp-content/uploads/2023/12/Arrow-2.png);
    background-size: cover;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
}
.alignCenterNarrower .is-layout-constrained {
    max-width: 1120px;
}
.alignCenterNarrower .hero-section { 
    margin-left: 10px;
}
.alignCenterNarrower .flex-column blockquote {
    margin-right: 1px;
}
.alignCenterNarrower .arrow-before {
    padding-left: 40px;
}
.alignCenterNarrower .arrow-before::before {
   
    width: 30px; 
    background-position-x: right; 
}
.hero-section   {
    object-position: 100% 100%;
    max-width: 600px;
    max-height: 600px;
    z-index: 1;
    right: 0;
    left: auto;
    margin-top: 50px;
    margin-right: 0px;
    margin-bottom: 10px;
    margin-left: 60px;
    border: 4px solid #E3C480;
    border-left: 0px;
    border-top: 0px;
}
.hero-section > img {
    aspect-ratio: 1;
    object-fit: cover;
    /* margin: 50px; */
    display: block;
    border-radius: 30px 0 0 0;
}

.sectionTextWidth {
    width: 1030px;
    margin: auto;
}
.sectionTextWidth .mandalaBefore {
    position: relative;
    padding: 11px 42px;
    margin: 17px 0 5px;
}

#cennikSection {  
    background-image: url(/wp-content/uploads/2023/12/tlo_refleksolog.png);
    background-repeat: no-repeat; 
    background-size: cover;
}
#servicesSection {  
    background-image: url(/wp-content/uploads/2023/12/Frame-785.png);
    background-repeat: no-repeat;
    background-position: -50px calc(100% + 54px); 
}

#faqSection {  
    background-image: url(/wp-content/uploads/2023/12/Frame-784.png);
    background-repeat: no-repeat;
    background-position: calc(100vw - 476px) -60px;
}
.sectionTextWidth .mandalaBefore::before {
    position: absolute;
    content: "";
    display: block;
    width: 33px;
    height: 33px;
    background-image: url(/wp-content/uploads/2023/12/ikona_mandala.png);
    background-size: cover;
    left: 0;
    top: 5px;
}
.nf-before-form-content, .field-wrap:not(.listcheckbox-wrap):not(.checkbox-wrap) .nf-field-label {
    display: none;
}
.border-rad-8 {
    border-radius: 8px;
}
.gapColumn {
    gap: 11px;
    display: flex;
    flex-direction: column;
}
.gapColumn .wp-block-group {
    
    padding: 12px;
}
.gapColumn iframe{
    border: 0;
    border-radius: 8px;
    margin-top: 30px;
    min-height: 390px;
}
#kontakt .nf-form-cont {
    background-color: #fff;
    border-radius: 8px;
    padding: 28px 36px;
    color: #000;
}
#kontakt .nf-form-content textarea.ninja-forms-field {
    height: 110px;
}
#kontakt .nf-form-content #nf-label-field-7{
    font-size: 18px;
    font-weight: 500;
    padding-bottom: 17px;
    display: block;
}
.checkbox-wrap .nf-field-element label:after, .checkbox-wrap .nf-field-label label:after, .listcheckbox-wrap .nf-field-element label:after, .listcheckbox-wrap .nf-field-label label:after {
    background: #ffffff !important;
    border-color: #E3C480 !important;
    transition: all .5s;
}
#nf-label-field-9 { 
    font-size: 16px;
    font-weight: 500;
    text-align: center;
    margin: auto;
}
.nf-form-content .list-select-wrap .nf-field-element>div, .nf-form-content input:not([type=button]), .nf-form-content textarea {
    background: #fff !important;
    border: 1px solid #E0E0E0 !important;
    border-radius: 8px !important;
    box-shadow: none;
    color: #787878 !important;
    transition: all .5s;
}
.nf-form-content button, .nf-form-content input[type=button], .nf-form-content input[type=submit] {
    background: #1e514c !important;
    border: 0;
    color: #f7f7f7 !important;
    transition: all .5s;
    margin: auto;
    display: block;
    padding: 11px 22px;
    border-radius: 8px;
}


@media screen and (max-width: 979px) {
        
    .sectionTextWidth {width: calc(100vw - 20px);
        margin: auto;
    }
    .wp-block-site-logo a { 
        margin: auto;
        display: block !important;
        max-width: 160px;
    }
    .wp-container-core-buttons-layout-1.wp-container-core-buttons-layout-1 {
        justify-content: center !important;
    }
    .flex-column blockquote {
        position: relative;
        margin: 10px 0 15px;
        padding: 1em 15px 1em 70px;
        margin-right: 0px;
    }
    .flex-column blockquote::before {
        
    left: 13px;
    }
    .hero-section {
        
    margin-left: 0px;
    }
    .cennik-block .cennik-item .content {
        
        justify-content: space-between;
        padding: 10px 10px;
        font-size: 15px;
    }
    .numberIconBefore {
        padding-left: 40px;
        position: relative;
        font-size: 16px;
        font-weight: 400;
        line-height: 40px;
        width: calc(100% - 40px);
        cursor: pointer;
    }
    .numberIconBefore::after {
        display: none;
    }
    .faq-block .faq-item .content { 
        padding: 10px 10px;
    }
    .alignCenterNarrower .border-rad-8 {
        position: relative;
        margin-right: 0px;
    }
    .alignCenterNarrower .border-rad-8::after {
         
        width: 30px;
        
        background-position-x: right;
    }
}

@media screen and (min-width: 782px) { 
    .mb-show {
        display:none !important;
    }
}
@media screen and (max-width: 781px) {
    .mb-hide {
        display:none !important;
    }
    .mb-show {
        display:block !important;
    }
    .arrow-before::before {
        display: none;
    }
    .arrow-before {
        padding: 0px;
        margin: auto !important;
    }
    .flex-column blockquote::before {
        left: 50%;
        transform: translateX(-50%);
    }
    .flex-column blockquote {
        position: relative;
        margin: 10px 0 15px;
        padding: 5em 15px 1em 25px;
        margin-right: 0px;
    }
    .wp-container-core-group-layout-2.wp-container-core-group-layout-2 {
        flex-direction: column;
        align-items: flex-start;
        padding: 15px;
    }
    .okIconBefore {
        padding-left: 0px;
        position: relative;
        font-size: 18px;
        font-weight: 600;
        padding-top: 60px;
    }
    .okIconBefore::before {
        position: absolute;
        content: "";
        display: block;
        width: 40px;
        height: 40px;
        background-image: url(/wp-content/uploads/2023/12/Group-164.png);
        background-size: cover;
        left: 50%;
        transform: translateX(-50%);
        top: 0;
    }
    .numberIconBefore::before {
        content: none;
    }
    .numberIconBefore {
        padding-left: 0px;
        position: relative;
        font-size: 14px;
        font-weight: 400;
        line-height: 23px;
        width: calc(100% - 0px);
        cursor: pointer;
        text-align: left;
    }
    .faq-block .faq-item .content {
        flex: 0 1 100%;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        padding: 10px 20px !important;
        width: calc(100% - 25px);
    }
    .faq-block .faq-item { 
        align-items: flex-start !important; 
    }
    .faq-block .anwser.active {
        display: block;
        text-align: left;
        font-size: 14px;
        border-top: 1px solid #ddd;
        padding-top: 20px;
    }
    .numberIconBefore.active { 
        color: #1e514c;
    }
    .numberIconBefore::after {
        content: "+";
        color: #1e514c;
        display: block;
        width: 20px!important; 
        height: 38px!important; 
        font-size: 26px!important;  
        top: -9px!important; 
        line-height: 40px;
        position: absolute; 
    }
    
    .numberIconBefore.active::after {
        content: "-";
        color: #1e514c;
    }
}
    @media screen and (max-width: 479px) {
.wp-block-spacer {
    height: 30px !important;
}
footer .wp-block-column p {
    text-align: center !important;
}
.cennik-block .cennik-item .content > p:first-of-type {
    text-align: left !important;
}

.cennik-block .cennik-item .content > p:last-of-type {
    text-align: right !important;
    min-width: 55px;
}
}