/*!
Theme Name: SQALA DESIGN
Theme URI: https://www.kadencewp.com/kadence-theme/
Template: kadence
Author: EGD DESIGN
Author URI: https://www.egddesign.pl/
Description: Sqala Interior Design
Version: 1.0.0
License: GNU General Public License v3.0 (or later)
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Text Domain: kadence-child
*/

/* Theme customization starts here
-------------------------------------------------------------- */
body.page #primary {
  /* margin-top: 0.5em !important; */
}

.single-content h1, .single-content h2, .single-content h3, .single-content h4, .single-content h5, .single-content h6 {
  /* margin-top: 1em !important; */
}

/* HEADER */
.kadence-sticky-header {
  margin-top: -1em;
}
body.header-is-fixed .kadence-sticky-header {
  margin-top: 0;
}

@media screen and (max-width: 782px) {
	.site-main-header-wrap {
		margin-top: -1em;
	}
}
.site-main-header-wrap:not(.item-is-fixed) .site-header-row-container-inner {
  background: none !important;
}


/* HOME PAGE */
body.home #inner-wrap {
  background: #000;
}
body.home .content-area {
  margin-top: 0;
}
body.page-projekty #inner-wrap {
  background: #000;
}
body.page-projekty h1.entry-title,
body.page-projekty .entry-content-wrap,
body.page-projekty .entry-content-wrap a {
  color: #FFF;
}
body.page-projekty .wp-block-kadence-posts.grid-cols {
  column-gap: 0.5rem;
  row-gap: 0.5rem;
}

/* CONTENT */
/* 
   moved to style-content.css
*/


/* FOOTER */
footer #menu-prawne.menu {
  flex-direction: row;
  display: flex;
  align-items: center;
  justify-content: center;
}
.widget #menu-prawne li {
  line-height: 1;
  padding-right: 10px !important;
  padding-left: 10px !important;
}

.widget #menu-prawne li:first-child {
  border-right: 1px solid;
}

footer .site-footer-middle-section-3 {
  align-items: center;
  flex-direction: column;
  justify-self: center;
  gap: inherit;
}
footer .site-footer-middle-section-3 .footer-widget-area {
	margin-left: 0 !important;
}
footer .site-footer-middle-section-3 .footer-widget-area section {
	margin-bottom: 0 !important;
}
footer .site-footer-middle-section-2 #menu-dolne {
  text-transform: uppercase;
}

footer .site-footer-middle-section-1 .footer-widget-area,
footer .site-footer-middle-section-2 .footer-widget-area,
footer .site-footer-middle-section-3 .footer-widget-area {
	font-size: 0.8em;
	line-height: 1.8;
}

footer .site-footer-middle-section-2 .footer-widget-area .widget_text + .widget_text p,
footer .site-footer-middle-section-3 .footer-widget-area .widget_text + .widget_text p,
footer .site-footer-middle-section-3 .footer-widget-area .widget_text + .widget_nav_menu ul {
	/* font-size: 16px; */
}

body.home .content-area {
  margin-bottom: 2rem;
}
body.home .site-middle-footer-wrap {
  margin-bottom: 2rem;
}

@media screen and (max-width: 768px) {
	#footer-menu li a {
	  padding-left: 0 !important;
	}
}


/* Cookies */
#cmplz-document {
	max-width: unset !important;
	margin-top: 4rem;
}
#cmplz-document,
#cmplz-document p,
.editor-styles-wrapper .cmplz-unlinked-mode p,
#cmplz-document li,
.editor-styles-wrapper .cmplz-unlinked-mode li,
#cmplz-document td,
.editor-styles-wrapper .cmplz-unlinked-mode td {
  max-width: unset !important;
  font-size: unset !important;
}

/* Paralax Effect */
@media screen and (min-width: 1008px) {
  body.single-portfolio .paralaxa .kt-inside-inner-col {
    height: 100vh;
  }
  body.single-portfolio .paralaxa figure {position: fixed}
  body.single-portfolio .paralaxa figure img {
    position: fixed;
    top: 165px !important;
    z-index: 1;
	opacity: 0.8;
  }
  body.single-portfolio .paralaxa .project-info {
    top: auto;
    bottom: 25%;
  }
  body.single-portfolio footer {z-index: 100;}
  body.single-portfolio.header-is-fixed .paralaxa figure img {
    top: 140px !important;
  }
  body.single-portfolio .kt-row-column-wrap {
    background: #000;
  }
}