/*
Theme Name: pozew frankowy
Theme URL: 
Description: 
Version: 1.0
Author: eFabryka.net

*/

@import "css/fonts.css";

html>body #content {
	height: auto;
}

body{
	padding: 0px;
	margin: 0px;
	font: 62.5% 'Google Sans', sans-serif; /* Resets 1em to 10px */
	overflow-y: scroll;	
	animation: fadein 1000ms ease;	
	color: var(--f-color);
	background: #fff;
}

:root {
	--f-color: #000;
	--s-color: #B8967E;
	--t-color: #4D71A0;
	
	--font1: 'Google Sans';
	--font2: 'Marcellus';
}

/************************************************
*	HEAD										*
************************************************/

#head{
	position: fixed;
	z-index: 999;
	left: 0;
	right: 0;
	margin: 0 auto;
	background: rgba(0,0,0,.75);
	backdrop-filter: blur(5px);
}

.head-top {font-size: 0.875rem; color: var(--s-color); padding: 10px 0; display: flex; justify-content: flex-end;}
.head-top a:last-of-type {margin-right: 10px;}
.head-top a {margin-right: 10px; margin-left: 20px;}
.head-top span, .head-top a {padding: 5px 0 5px 25px;}
.head-top .mapa {background: url(images/mapa.svg) left center / auto 19px no-repeat;}
.head-top .email {background: url(images/email.svg) left center / auto 19px no-repeat;}
.head-top .telefon {background: url(images/telefon.svg) left center / auto 19px no-repeat;}

.head-top a {transition: 200ms;}
.head-top a:hover {opacity: .8; transition: 200ms;}

.head {border-top: 1px solid #fff;border-bottom: 1px solid #fff;}
.head .inside {display: flex; justify-content: space-between; align-items: center;}

#head h5 {display: none;}

#head .logo {
	width: 186px;
	height: auto;
	margin: 10px 0 10px 10px;
	transition: 200ms;
}

#head.scroll .logo {width: 146px; transition: 200ms;}

#head .menu {
		display: block;
		text-align: right;
		float: right;
		clear: right;
		}
		
#head .menu ul {
		margin: 0;
		padding: 0;
		}

#head .menu li {
		list-style: none; 
		display: inline-block;
		padding-left: 20px;
		margin-left: 20px;
		border-left: 1px solid #fff;
		}
		
#head .menu li:last-of-type {
	margin-right: 10px;
}
		
#head .menu li a{
		font-size: 0.875rem; 
		font-weight: 700;
		transition: 200ms ease;
		color: #fff;
		}
		
#head .menu li a:hover, #head .menu li.current-menu-item a	 {
		color: var(--s-color);
		transition: 200ms;
		}
		
#head .menu li.menu-item-has-children {
	position: relative;
}	
	
#head .menu li.menu-item-has-children:after {
	content: url(images/li-after.svg);
	margin-left: 5px;
	transition: 200ms;
	display: inline-block;
	
}	

#head .menu li.menu-item-has-children:hover:after {
	transform: rotate(90deg);
	transition: 200ms;
}

	
#head ul.sub-menu {
		display: flex;
		width:250px;
		flex-direction: column;
		padding: 30px 0 0 0;
		position: absolute;
		left: -70px;
		transform-origin: top;
		transition: 500ms ease;
		z-index: 666;
		transform: scale(1,0);
		opacity: 0;
}

#head ul.sub-menu li {
	padding: 10px 10px;
	text-align: center;
	margin: 4px 0;
}

#head ul.sub-menu li a {
	padding: 10px 10px;
	text-align: center;
}

#head ul.sub-menu li a:hover {
}

#head li.menu-item-has-children:hover > ul.sub-menu {
	transform: scale(1,1);
	opacity: 1;
	transition: 500ms;
}

.top-space {
	padding-top: 106px;
}

/************************************************
*	TEXT										*
************************************************/

.text-content {
	font-size: 1rem;
	line-height: 1.4;
}

.text-content ul {margin: 0; padding: 0;}

.text-content img {max-width: 100%;}

a img,:link img,:visited img { border:none }    
a, a:link {text-decoration: none; color: var(--page-color);}
a:hover {text-decoration: none;}
strong, b {font-weight: bold;}
em, i {font-style: italic;}
ul {margin: 0;}

::selection {color: #fff;background: #333;}

.text-content h1 {
        font-size: 2.5rem;
		line-height: 1.2;
		font-family: var(--font2);
		font-weight: 500;
}

.text-content h2 {
        font-size: 1.875rem;
		line-height: 1.2;
		font-weight: 500;
		font-family: var(--font2);
}

.text-content h2:before {
	content: url(images/h2.svg);
	margin: 0 10px 0 0;
	display: inline-block;
}

.text-content h3 {
        font-size: 1.875rem;
		line-height: 1.2;
		font-weight: 500;
		font-family: var(--font2);
}

.text-content h4 {
		color: #25273F;
        font-size: 1.25rem;
		line-height: 1.2;
		font-weight: 500;
		font-family: var(--font2);
}

.kroki {font-family: var(--font2);}

.kroki h3 {font-size: 1.25rem; margin-bottom: 40px;}

.kroki h3 strong {padding: 15px 20px; border-radius: 20px 0 20px 0; background: #1E2952; color: #fff;}

.cozyskujesz {font-family: var(--font2); color: #1E2952;}
.cozyskujesz ul {display: flex; align-items: center; flex-wrap: wrap; justify-content: center;}
.cozyskujesz ul li {margin: 0 0 0 30px;}

/************************************************
*	LAYOUT										*
************************************************/
.singlepost {padding: 20px;}
.singlepost .fl-button {display: inline-block !important; float: right !important; margin: 20px 10px 20px 0 !important;}
.singlepost img {border-radius: 20px;}

.lista-wpisow {display: flex; flex-wrap: wrap; flex-direction: row;}
.lista-wpisow .wpis {width: calc(25% - 70px); margin: 0 35px 40px 35px;}
.lista-wpisow .wpis img {width: 100%; height: auto; border-radius: 10px;}
.lista-wpisow .wpis h2 {font-size: 1.25rem; line-height: 1.2;}
.lista-wpisow .wpis h2:before {display: none;}
span.date {font-size: .9rem; color: var(--s-color);}
.lista-wpisow .wpis .fl-button {display: inline-block !important; margin-top: 20px !important;}


.formularz {background: #1E2952;}
.formularz * {color: #fff;}

.kroki .fl-col-group {display: flex !important; flex-wrap: wrap !important;}
.kroki .fl-col {width: 25% !important;}

.formularz input, .formularz textarea {padding: 15px 20px !important; border-radius: 10px !important; border: none !important; color: var(--f-color) !important;}

.formularz button {background: var(--s-color) !important;}

.forminator-success {background: var(--s-color) !important; box-shadow: none !important; border-radius: 10px !important; color: #fff !important;}

.formularz .fl-button:hover {box-shadow: none !important;}

.tlo1 {background: #F7F5F0;}

.kontakt-podstrona .telefon {
	background: url(images/telefon.svg) left top 5px / auto 32px no-repeat;
	padding: 0 0 0 50px;
	margin-bottom: 20px;
}

.kontakt-podstrona  .email {
	background: url(images/email.svg) left top 5px / auto 32px no-repeat;
	padding: 0 0 0 50px;
	margin-bottom: 20px;
}

.kontakt-podstrona .mapa {
	background: url(images/mapa.svg) left top 5px / auto 32px no-repeat;
	padding: 0 0 0 50px;
	margin-bottom: 20px;
}

.kontakt-podstrona a {transition: 200ms;}
.kontakt-podstrona a:hover {opacity: .6; transition: 200ms;}

.kontakt-podstrona p {
	margin: 0;
}

.kontakt-podstrona h4 {
	margin: 0 0 10px 0;
}



.kafel * {color: #fff;}
.kafel {
	background: #B8967E; 
	border-radius: 40px 0 80px 0 !important; 
	margin: 0 40px 20px 40px !important; 
	width: calc(25% - 80px) !important;
	padding-bottom: 40px !important;
	transition: 200ms;
	}
	
.kafel:hover {
	box-shadow: 0 0 20px rgba(184,150,126,.8) !important;
}	

.kafel .fl-col-content {position: relative !important;}
	
.kafel .fl-button {
	background: #D3B9A6 !important;
	position: absolute !important;
	bottom: 5px !important;
	margin: 0 auto !important;
	display: inline-block !important;
	 width: max-content !important;
	right: 0 !important;
	left: 0 !important;
}

.kafel .fl-button:hover {
	background: #956E52 !important;
}

.kafel p {padding: 0 0 20px 0;}

.inside {
        width: 1600px;
		margin: 0 auto;
}

.ikony-glowna img {
	width: auto;
	height: 87px;
	margin-bottom: 20px;
}

.ikony-glowna .fl-module img {transition: 200ms;}
.ikony-glowna .fl-module:hover img {transform: scale(-1,1); transition: 200ms;}




.ikony-glowna2 img {
	width: auto;
	height: 77px;
	margin-bottom: 20px;
}

.ikony-glowna2 .fl-module img {transition: 200ms;}
.ikony-glowna2 .fl-module:hover img {transform: scale(-1,1); transition: 200ms;}

.ikony-glowna2 .fl-col {
	display: flex !important;
	width: 20% !important; 
}
.ikony-glowna2 .fl-col:last-of-type {

}
	
.ikony-glowna2 .fl-col:after {
	content: url(images/strzalka.svg) !important;
	display: inline-block !important;
	margin-top: 40px;
}

.ikony-glowna2 .fl-col:last-of-type:after {
	content: ''!important;
}


.bluebg {background: #1E2952;}
.bluebg * {color: #fff !important;}


.ikony-oferta img {
	width: auto;
	height: 77px;
	margin-bottom: 20px;
}

.ikony-oferta .fl-module img {transition: 200ms;}
.ikony-oferta .fl-module:hover img {transform: scale(-1,1); transition: 200ms;}

.ikony-oferta .fl-col {
	display: flex !important;
	width: 20% !important; 
}
.ikony-oferta .fl-col:last-of-type {

}
	
.ikony-oferta .fl-col:after {
	content: url(images/strzalka-white.svg) !important;
	display: inline-block !important;
	margin-top: 40px;
	width: 100px;
}

.ikony-oferta .fl-col:last-of-type:after {
	content: ''!important;
}

.head-slide * {color: #fff;}
.head-slide-blue * {color: #1E2952;}

.alignleft {float: left;margin-right: 20px;}
.alignright {float: right;margin-left: 20px;}
.aligncenter {display: block;text-align: center;margin: 0 auto !important;}
.item p a{text-decoration: none;}
.clear {clear: both;}


/************************************************
*	FOOTER									*
************************************************/
#foot {
	background: var(--f-color);
	padding: 40px 0;
	color: #fff;
	font-size: 1rem;
	line-height: 1.6rem;
}

#foot .logo {width: 250px; height: auto;}

#foot h4 {
		color: #fff;
        font-size: 1.25rem;
		line-height: 1.2;
		font-weight: 500;
		font-family: var(--font2);
		margin: 0 0 10px 0;
}

#foot ul {display: flex; flex-direction: row;}
#foot li {padding: 0 20px; margin: 0 0 0 0; border-left: 1px solid #fff;}
#foot li a {font-weight: 700;}
#foot li:last-of-type {border-right: 1px solid #fff;}

#foot .telefon {
	background: url(images/telefon.svg) left top 5px / auto 32px no-repeat;
	padding: 0 0 0 50px;
	margin-bottom: 20px;
}

#foot .email {
	background: url(images/email.svg) left top 5px / auto 32px no-repeat;
	padding: 0 0 0 50px;
	margin-bottom: 20px;
}

#foot .mapa {
	background: url(images/mapa.svg) left top 5px / auto 32px no-repeat;
	padding: 0 0 0 50px;
	margin-bottom: 20px;
}

#foot .efabryka {padding-top: 20px; border-top: 1px solid #fff; text-align: center;}
#foot .efabryka a {background: url(images/efabryka.svg) bottom center / auto 18px no-repeat; padding-bottom: 18px; font-size: 0.625rem; font-weight: 700; }


#foot a  {
	color: #fff;
	transition: 200ms;
	display: block;
}
#foot a:hover {
	opacity: .6;
	transition: 200ms;
}
#foot .footer {display: flex; justify-content: space-between; flex-direction: column; align-items: center;}

#foot .footer > div {display: flex; margin-bottom: 50px;}
#foot .footer > div div {margin: 0 50px;}

#foot .footer > div:first-of-type {margin-left: 10px;}
#foot .footer > div:last-of-type {margin-right: 10px;}
#foot ul {margin: 0; padding: 0; list-style: none;}

#foot h5 {display: none;}
/************************************************
*	PLUGINS										*
************************************************/				

.mob-menu-header-holder {border-bottom: 1px solid #fff !important;}

.mobmenu-content {font-family: var(--font2) !important;}
.mobmenu-content a:focus {font-weight: 700 !important;}

.fl-button {
	background: var(--s-color) !important;
	font-size: 0.875rem !important;
	font-weight: 700 !important;
	color: #fff !important;
	padding: 15px 30px  !important;
	border: none !important;
	border-radius: 20px 0 20px 0 !important;
	transition: 200ms !important;
}

.fl-button span {
	color: #fff !important;
	transition: 200ms !important;
}

.fl-button:hover {
	background: var(--t-color) !important;
	transition: 200ms !important;
}

.cky-btn-revisit-wrapper.cky-revisit-bottom-left {
	display: none !important;
}


/************************************************
*	ANIMATION									*
************************************************/	
@keyframes fadein {
	0%{opacity: 0;}
	100%{opacity: 1;}
}


/************************************************
*	RESPONSIVE									*
************************************************/	
@media(max-width:1600px) {
	.inside {width: 100%;}
}

@media(max-width:1350px) {
	#head .menu li { padding-left: 5px; margin-left: 5px;}
}

@media(max-width:1200px) {
	.kafel {width: calc(50% - 80px) !important;	}
}

@media(max-width:1100px) {
	.ikony-glowna2 .fl-col:after {display: none !important;}
	.ikony-oferta .fl-col:after {display: none !important;}
	.lista-wpisow .wpis {width: calc(33% - 70px);}
}

@media(max-width:950px) {
	.ikony-glowna2 .fl-col-group {display: flex !important; flex-wrap: wrap !important;}
	.ikony-oferta .fl-col-group {display: flex !important; flex-wrap: wrap !important;}
	.ikony-glowna2 .fl-col {width: 50% !important; display: block !important;}
	.ikony-oferta .fl-col {width: 50% !important; display: block !important;}
	#foot .footer > div div {margin: 0 15px;}
	.kroki .fl-col {width: 50% !important;}
}

@media(max-width:768px) {
	.text-content h1 {font-size: 1.8rem; line-height: 1.2;}
	.text-content h2 {font-size: 1.4rem; line-height: 1.2;}
	.text-content h3 {font-size: 1.4rem; line-height: 1.2;}
	.kafel {width: calc(100% - 40px) !important; margin: 0 20px 40px 20px !important; max-width: 100% !important;}
	.ikony-glowna .fl-col {width: 50% !important;}
	.fl-col-group {display: flex !important; flex-wrap: wrap !important;}
	#foot .footer > div {flex-direction: column;}
	#foot .footer > div div {margin: 0 10px 20px 10px;}
	#foot ul {display: none;}
	#foot li {text-align: center; border: none !important;}
	.text-content .fl-col {width: 100% !important;}
	.lista-wpisow .wpis {width: calc(50% - 70px);}
	}
	
@media(max-width:500px) {
	.lista-wpisow .wpis {width: calc(100% - 40px); }
	}
	


