/**
Theme Name: Astra Child
Author: Brainstorm Force
Author URI: http://wpastra.com/about/
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: astra-child
Template: astra
*/


/* ====================================================
    HEADER
    ===================================================*/

#masthead {
    position: sticky;
    top: 0;
    z-index: 999;
}
.main-header-menu {
    transition: opacity 0.2s ease;
}

#masthead .ast-container, 
.ast-builder-social-element.footer-social-item, .site-primary-footer-wrap[data-section="section-primary-footer-builder"] { /*ODSTEPY*/
    padding-right: 25px;
    padding-left: 25px;
}

.site-header-primary-section-left-center, .site-header-primary-section-right-center { /*ZBEDNE KOLUMNY*/
    display:none;
}

.main-header-bar .ast-builder-social-element { /*IKON PHONE*/
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 6px !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    flex-wrap: nowrap !important;
}

.main-header-bar .social-item-label {
    display: inline !important;
    white-space: nowrap !important;
}

.main-header-bar .ahfb-svg-iconset {
    display: inline-flex !important;
    flex-shrink: 0 !important;
}

.ast-desktop:not(:has(.ast-header-sticked)) .ast-primary-header-bar .main-header-menu > .menu-item {
	line-height: 40px;
}

.footer-social-inner-wrap {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    text-align: left !important;
}

.footer-social-inner-wrap .footer-social-item {
    width: 100% !important;
    justify-content: flex-start !important;
    text-align: left !important;
}


/* ====================================================
    HEADER (1440)
    ===================================================*/

@media(max-width: 1440px) {
    .header-social-inner-wrap .header-social-item span.social-item-label {
        display:none!important; /*UKRYC LABEL*/
    }
}

/* ====================================================
    HEADER (1350-1024)
    ===================================================*/

@media (min-width: 1024px) and (max-width: 1350px) {
    .main-header-menu .menu-link {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }

    .social-item-label {
        font-size: 14px !important;
    }

    .ast-builder-menu-1 .menu-item {
        margin-right: 5px !important;
    }

    .ast-custom-button {
        display: flex !important;
        align-items: center;
        justify-content: center;
        font-size: 0!important;
        height: 100%; 
    }

    .ast-custom-button::after { /*SKROCIC TEKST W PRZYCISKU*/
        content: "KONSULTACJA";
        font-size: 12px;
        line-height: normal;
        display: inline-block;
     
    }

}

/* ====================================================
    HEADER (1215)
    ===================================================*/

@media (max-width: 1215px) {
    .main-header-menu .menu-link {
        font-size: 14px;
        padding-left: 5px !important;
        padding-right: 5px !important;
    }
    
    .custom-logo-link img{ /*LOGO*/
        width: 200px!important;
    }
    
}

/* ====================================================
    HEADER (1024) TABLET
    ===================================================*/
@media (max-width:1024px) {
    .ast-mobile-header-wrap .ast-primary-header-bar{
        padding-right: 25px!important;
        padding-left: 25px!important;
    }
}

/* ====================================================
    HEADER (768) MOBILE
    ===================================================*/
@media (max-width:768px) {
    .ast-mobile-header-wrap .ast-primary-header-bar{
        padding-right: 15px!important;
        padding-left: 15px!important;
    }

    .site-header {
        position: static;
    }
}


/* ====================================================
    FOOTER 
    ===================================================*/


.widget_block ul { /*POLITYKA PRYWATNOSCI I INNE*/
    flex-wrap: wrap!important;
    gap: 10px!important;
}

.widget_media_image {
    margin-bottom: 0;
}

.site-footer-primary-section-1 .wp-block-image img {
    max-width: min(350px, 100%) !important;
}

.wp-block-image img {
    margin-bottom: 15px;
}

section p {
    margin-bottom:15px!important;
}

#block-39 > p:empty {
    display: none !important; /*UKRYC ZBEDNY ELEMENT*/
}

.site-footer-primary-section-4 {
    border-right: 2px solid #F5F1EC;  
}

.is-style-logos-only .wp-social-link a{ /*SOCIAL IKONS TLO*/
    border-radius: 100%;
    border: 1px solid  #fff;
    padding: 5px;
    display: flex;
}

.is-style-logos-only .wp-social-link svg,
.is-style-logos-only .wp-social-link .wp-social-link-svg {  /*SOCIAL IKONS KOLOR*/
    fill: #ffffff!important;
}

.ast-footer-social-1-wrap .ast-builder-social-element {  /*IKONS KONTAKTY*/
    display: inline-flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
}

.site-footer .ast-builder-footer-grid-columns {
    padding: 0!important;
}

.is-style-logos-only {
	margin: 0!important;
	text-align: left;
}

.site-footer-primary-section-4  {
	border:none;
}

.site-footer-primary-section-5 { 
    overflow: hidden!important;
}
/* ====================================================
    FOOTER (1350)
    ===================================================*/

@media (min-width: 1024px) and (max-width: 1350px) {
    .ast-builder-grid-row-5-equal .ast-builder-grid-row { /*KOLUMNY*/
        grid-template-columns: minmax(140px, 1.3fr) minmax(110px, 1fr) minmax(110px, 1fr) minmax(130px, 1.2fr) minmax(140px, 1.3fr);
        column-gap: 15px; 
    }

    .footer-widget-area .widget-title, 
    .footer-widget-area h5,
    .astra-footer-menu .menu-item a,
    .widget_text p{
        font-size: 14px!important;
        line-height: 1.4;
    }

    .footer-widget-area li a,
    .footer-widget-area .menu-item a,
     .title-footer-form {
        font-size: 14px!important;
    
    }


}


/* ====================================================
    FOOTER (1024) TABLET
    ===================================================*/

@media (min-width: 544px) and (max-width: 1024px) {

    .wp-block-social-links {
        justify-content: left!important;
    }
    .ast-builder-footer-grid-columns.site-primary-footer-inner-wrap.ast-builder-grid-row {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        column-gap: 30px !important;
    }

    .site-footer-primary-section-1 {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        margin-left: 10px;
        /* max-width: 300px;  */
    }

    .site-footer-primary-section-1 .wp-block-image img {
        max-width: min(250px, 100%) !important;
        width: 100% !important;
        height: auto !important;
    }

    .site-footer-primary-section-1 .footer-widget-area {
        margin-bottom: 25px!important;
    }

    .site-footer-primary-section-2 {
        grid-column: 1 !important;
        grid-row: 2 !important;
        width: 100% !important;
        max-width: 100% !important;
        margin-bottom: 30px !important;
    }

    .site-footer-primary-section-3 {
        grid-column: 2 !important;
        grid-row: 2 !important;
        width: 100% !important;
        max-width: 100% !important;
        margin-bottom: 30px !important;
    }

    .site-footer-primary-section-4 {
        grid-column: 1 !important;
        grid-row: 3 !important;
        width: 100% !important;
        max-width: 100% !important;
        margin-bottom: 30px !important;
        overflow: hidden !important;
    }

    .site-footer-primary-section-4 * {
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .site-footer-primary-section-4 .mf-input,
    .site-footer-primary-section-4 input,
    .site-footer-primary-section-4 .metform-form-container {
        width: 100% !important;
    }
    .site-footer-primary-section-5 {
        grid-column: 2 !important;
        grid-row: 3 !important;
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 10px;
    }

    .widget_block ul {
        flex-wrap: wrap!important;
        gap: 10px!important;
    } 
}

/* ====================================================
    FOOTER (544) MOBILE
    ===================================================*/

@media (max-width: 544px) {
    .wp-block-image img {
        /* max-width: 350px; */
       max-width: min(350px, 100%);
        margin-bottom: 15px;
    }

    .wp-block-image.alignleft {
        float:none;
    }

    .is-style-logos-only.alignleft {
        float: none !important;
    }

    .wp-block-social-links {
        justify-content: center !important;
    }

    .footer-accordion-title {
        cursor: pointer;
        display: flex;
        justify-content: space-between;
        align-items: center;
        border-top: 1px solid #e5e5e5;
        padding: 14px 0 !important;
        margin: 0 !important;
    }

    .footer-accordion-title::after {
        content: "+";
        font-size: 18px;
        margin-left: 10px;
        color:#fff;
    }

    .footer-widget-area, .astra-footer-mobile-vertical-menu {
        margin: 0 !important;
    }

    .footer-accordion-title.is-open::after {
        content: "–";
    }

    .site-footer-primary-section-1 {
        margin-bottom: 15px !important;
    }

    .site-footer-primary-section-2 > div:nth-child(2),
    .site-footer-primary-section-3 #block-50,
    .site-footer-primary-section-4 > div:nth-child(2) {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .site-footer-primary-section-2 > div:nth-child(2).is-open,
    .site-footer-primary-section-3 #block-50.is-open,
    .site-footer-primary-section-4 > div:nth-child(2).is-open {
        max-height: 600px;
    }

    .ast-footer-html-1.footer-accordion-title,
    .ast-footer-html-2.footer-accordion-title {
        display: flex !important;
    }

    .ast-footer-html-1.footer-accordion-title .ast-header-html,
    .ast-footer-html-2.footer-accordion-title .ast-header-html,
    .ast-footer-html-1.footer-accordion-title .ast-builder-html-element,
    .ast-footer-html-2.footer-accordion-title .ast-builder-html-element,
    .ast-footer-html-1.footer-accordion-title p,
    .ast-footer-html-2.footer-accordion-title p {
        width: auto !important;
        display: inline !important;
        text-align: left !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .site-footer-primary-section-5 {
        text-align: left;
        overflow: hidden!important;
    }

    .title-footer-form {
        text-align: center!important;
    }

    .site-footer-primary-section-5 .footer-widget-area.widget-area{
        margin-bottom: 15px!important;
    }
}


/* ====================================================
   ASTRA
    ===================================================*/

::selection {
    background: rgba(0, 0, 0, 0.15) !important;
    color: inherit !important;
}
body {
    user-select: text !important;
    -webkit-user-select: text !important;
}

.ast-builder-button-wrapper a,
.ast-custom-button,
.elementor-button {
    white-space: nowrap !important;
}


/* Completely remove focus and active outlines for logo and menu in Astra */
.ast-site-identity a:focus,
.main-header-menu a:focus,
.ast-site-identity a:active,
.main-header-menu a:active,
.menu-toggle:focus,
.menu-toggle:active,
.ast-mobile-menu-trigger-minimal:focus,
.ast-mobile-menu-trigger-minimal:active,
.ast-button-wrap .menu-toggle:focus,
.ast-button-wrap .menu-toggle:active,
.ast-menu-toggle:active,
.ast-menu-toggle:focus{
    outline: none !important;
    box-shadow: none !important;
    border: none !important;
    background: transparent !important;
}

#menu-toggle-close,
#menu-toggle-close:focus,
#menu-toggle-close:focus-visible,
#menu-toggle-close:active {
    outline: none !important;
    box-shadow: none !important;
    border: none !important;
}