/*
Theme Name: JAWID
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% 'Raleway', sans-serif; /* Resets 1em to 10px */
	overflow-y: scroll;	
	animation: fadein 1000ms ease;	
	color: var(--f-color);
	background: #fff;
}

:root {
	--f-color: #32251F;
	--s-color: #73793A;
	--t-color: #1A231F;
}

/************************************************
*	HEAD										*
************************************************/

#head{
	position: fixed;
	margin: 0 auto;
	left: 0;
	right: 0;
	z-index: 999;
	background: #fff;
	box-shadow: 0 2px 10px rgba(0,0,0,.3);
	}

#head h5 {display: none;}


#head .head-top {
	background: var(--s-color);
	padding: 10px 0 14px 0;
}

#head .head-top .telefon {
	background: url(images/telefon-white.svg) no-repeat;
	background-position: left center;
	background-size: auto 24px;
	padding: 12px 0 0 25px;
}

#head .head-top .email {
	background: url(images/email-white.svg) no-repeat;
	background-position: left center;
	background-size: auto 15px;
	padding: 12px 0 0 35px;
	margin-left: 25px;
}

#head .head-top .mapa {
	background: url(images/mapa-white.svg) no-repeat;
	background-position: left center;
	background-size: auto 27px;
	padding: 7px 0 0 35px;
	margin-left: 25px;
}

#head .head-top div div {
	display: flex;
}

#head .head-top div div:first-of-type {
	float: left;
}

#head .head-top div div:last-of-type {
	float: right;
}

#head .head-top .facebook {
	background: url(images/facebook-white.svg) no-repeat;
	background-size: cover;
	width: 25px;
	height: 25px;
	display: inline-block;
	margin: 10px 10px 0 0;
}
#head .head-top .linkedin {
	background: url(images/linkedin-white.svg) no-repeat;
	background-size: cover;
	width: 25px;
	height: 25px;
	display: inline-block;
	margin: 10px 10px 0 0;
}
#head .head-top .instagram {
	background: url(images/instagram-white.svg) no-repeat;
	background-size: cover;
	width: 25px;
	height: 25px;
	display: inline-block;
	margin: 10px 10px 0 0;
}

#head .head-top, #head .head-top a{
	font-size: 0.875rem;
	color: #fff;
}

#head .head-top a {
	transition: 200ms;
}

#head .head-top a:hover {
	opacity: .6;
	transition: 200ms;
}

#head .menu {
		display: flex;
		text-align: right;
		float: right;
		clear: right;
		}
		
#head ul.menu {
		margin: 0;
		padding: 0;
		}

#head .menu li {
		list-style: none; 
		display: inline-block;
		margin-right: 30px;
		cursor: pointer;
		}
		
#head .menu li:last-of-type {
		margin-right: 0;
		}
		
#head .menu li a {
		font-size: 1rem;
		font-weight: 700;
		transition: 200ms ease;
		color: var(--f-color);
		transition: 200ms;
		}
		
#head .menu li a:after {
		content: '';
		display: block;
		width: 5px;
		height: 5px;
		opacity: 0;
		border-radius: 5px;
		background: var(--s-color);
		margin: 0 auto;
		transition: 200ms;
		}
		
#head .menu li a:hover:after {
		opacity: 1;
		transition: 200ms;
		}
		
#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 li ul.sub-menu {
		display: flex;
		width:250px;
		flex-direction: column;
		padding: 30px 0 0 0;
		position: absolute;
		left: -90px;
		transform-origin: top;
		transition: 300ms ease;
		z-index: 666;
		transform: scale(1,0);
		opacity: 0;
}	

#head li ul.sub-menu li ul.sub-menu {
		top: -10px;
		left: -300px;
		width: 300px;
}

#head ul.sub-menu li {
	text-align: center;
	margin: 0;
	background: #fff;
	padding: 5px 0;
}

#head ul.sub-menu li:first-of-type {
	padding-top: 10px;
}

#head ul.sub-menu li:last-of-type {
	padding-bottom: 10px;
}

#head ul.sub-menu li a {
	font-size: 0.938rem;
	padding: 10px 0;
	margin: 0 20px;
	text-align: center;
	display: block;
	border-bottom: 1px solid #D7DEB0;
}

#head ul.sub-menu li:last-of-type a {
	border-bottom: none;
}

#head ul.sub-menu li ul.sub-menu li a {
	font-size: 0.813rem;
	margin: 0;
	padding: 5px 10px 0px 10px;
}

#head ul.sub-menu li ul.sub-menu li  {
	font-size: 0.813rem;
	padding: 0;
	margin: 0;
}

#head ul.sub-menu li a:hover:after {
	opacity: 0;
}

#head li.menu-item-has-children:hover > ul.sub-menu {
	transform: scale(1,1);
	opacity: 1;
	transition: 300ms;
}

#head .header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 30px 20px;
	position: relative;
	transition: 300ms;
}

#head.scroll .header {
	padding: 20px 20px;
	transition: 300ms;
}

#head .header div:last-of-type, #head .header div:first-of-type {
	display: flex;
	gap: 20px;
	align-items: center;
}



.top-space {
	padding-top: 167px;
}

/************************************************
*	TEXT										*
************************************************/

.text-content {
	font-size: 1rem;
	line-height: 1.5rem;
}

.text-content li {
	list-style-image: url(images/li.svg);
}

.ziel {color: var(--t-color);}

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.0rem;
		line-height: 2.2rem;
		color: #525152;
		margin: 0 0 10px 0;
}

.single h1 {
	text-align: center;
	margin: 40px 0 0 0;
}

.single .fl-button {
	display: inline-block !important;
	float: right;
	margin: 0 10px 40px 0 !important
}

.text-content h2 {
        font-size: 1.375rem;
}

.text-content h4 {
	color: #3D4A21;
	font-weight: 700;
	font-size: 1rem;
	margin: 0 0 20px 0;
}

/************************************************
*	LAYOUT										*
************************************************/
.kontakt-podstrona p, .kontakt-podstrona h4 {
	padding-left: 40px;
}

.kontakt-podstrona .telefon p {
	background: url(images/telefon-s.svg) no-repeat;
	background-position: left  5px center;
	background-size: auto 25px;
}

.kontakt-podstrona .email p {
	background: url(images/email-s.svg) no-repeat;
	background-position: left center;
	background-size: auto 15px;
}

.kontakt-podstrona .mapa p {
	background: url(images/mapa-s.svg) no-repeat;
	background-position: left center;
	background-size: auto 27px;
}

.kontakt-podstrona a {
	transition: 200ms;
	color: #3D4A21;
	font-weight: 700;
}

.kontakt-podstrona a:hover {
	opacity: .6;
	transition: 200ms;
}

.lista-wpisow {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}

.lista-wpisow .wpis {
	width: 26%;
	margin-bottom: 40px;
}

.lista-wpisow .wpis h2 {
	font-size: 1rem;
	font-weight: 700;
	display: block;
	background: #F2F2EB;
	text-align: center;
	margin: 0;
	padding: 10px;
	transition: 200ms;
}

.lista-wpisow .wpis .date {
	font-size: .8rem;
	font-weight: 500;
	display: block;
	background: #F2F2EB;
	text-align: center;
	margin: 0;
	padding: 5px 0;
	transition: 200ms;
}

.lista-wpisow .wpis:hover h2 {
	background: #9FA677;
	color: #fff;
	transition: 200ms;
}

.lista-wpisow .wpis img {
	width: 100%;
	height: auto;
}

.okruszki {
	background: #f3f4ee;
	font-size: .8rem;
	padding: 10px 10px;
	margin: 23px 0 0 0;
	text-transform: uppercase;
}

.okruszki a {
	font-weight: 700;
	transition: 200ms;
}

.okruszki a:hover {
	color: var(--s-color);
	transition: 200ms;
}

.ikony-glowna .fl-col img {
	transition: 300ms;
}

.ikony-glowna .fl-col:hover img {
	transform: scale(-1,1);
	transition: 300ms;
}

.newsletter {
	background: url(images/newsletter-bg.jpg); 
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
}

.newsletter.nobg {
	background: none;
	color: #fff !important;
}

.newsletter .inside {
	display: flex;
}

.newsletter .kolumna {
	width: 50%;
	padding: 60px 60px;
	box-sizing: border-box;
	color: #fff;
}

.newsletter .kolumna p {
	margin: 5px 0;
}

.newsletter input, .newsletter textarea {
	border: none !important;
	border-radius: 10px !important;
}

.forminator-consent__label {
	font-size: .8rem !important;
}

.forminator-description {
	display: none !important;
}

.forminator-error-message {
	background: var(--s-color) !important;
	padding: 5px 10px !important;
	border-radius: 10px !important;
	font-size: .8rem !important;
	font-weight: 700 !important;
}

.forminator-custom-form .fl-button {
	float: right;
	margin: 40px 10px 0 0 !important;
}

.forminator-row {
	margin-bottom: 10px !important;
}

.newsletter h2 {
	margin: 0;
}

.oferta svg path {
	fill: var(--f-color);
}

.oferta svg {
	margin: 10px 0 40px 0;
}

.oferta {
	display: flex;
	justify-content: space-between;
	transition: 200ms;
}

.oferta .kafel:hover svg path {
	fill: #fff;
}

.oferta .kafel:hover .kafelek {
	color: #fff;
	background: none;
	transition: 200ms;
}

.oferta .kafel {
	min-height: 500px;
	width: 30%;
	padding: 30px 0;
	display: flex;
	align-items: center;
	border-radius: 10px;
	position: relative;
}

.oferta .kafelek {
	background: #fff;
	font-size: 1.563rem;
	line-height: 1.8rem;
	font-weight: 700;
	border-radius: 10px;
	padding: 30px;
	width: 80%;
	height: 333px;
	margin: 0 auto;
	text-align: center;
	transition: 200ms;
}

.oferta .kafel1 {
	background: url(images/kafel-01.jpg) no-repeat;
	background-position: center;
	background-size: cover;
}

.oferta .kafel2 {
	background: url(images/kafel-02.jpg) no-repeat;
	background-position: center;
	background-size: cover;
}

.oferta .kafel3 {
	background: url(images/kafel-03.jpg) no-repeat;
	background-position: center;
	background-size: cover;
}

.oferta .fl-button {
		position: absolute;
		bottom: -20px;
		left: 0;
		right: 0;
		width: 190px;
		margin: 0 auto !important;
}

.oferta .fl-button:active {
	position: absolute !important;
	top: inherit !important;
}

.oferta-bg {
	background: #eef2f3;
}

.naglowek {
	font-size: 2.5rem;
	line-height: 2.8rem;
	font-weight: 700;
	color: #fff;
}

.naglowek strong {
	font-weight: 900 !important;
}

.naglowek .przycisk a {
	font-size: 1.25rem;
	line-height: 1.4rem;
	background: var(--s-color);
	padding: 15px 25px;
	border-radius: 40px;
	margin: 0;
	display: inline-block;
	transition: 200ms;
}

.naglowek .przycisk a:hover {
	background: var(--t-color);
	transition: 200ms;
}

.inside {
        width: 1560px;
		margin: 0 auto;
}

.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: url(images/foot-bg.jpg);
	background-size: cover;
	background-position: center;
	padding: 40px 0 0 0;
	color: #fff;
	font-size: 1rem;
	line-height: 1.6rem;
}

#foot a  {
	color: #fff;
	transition: 200ms;
}

#foot a:hover {
	opacity: .6;
	transition: 200ms;
}

#foot .footer {
	display: flex; 
	align-items: center;
	flex-direction: column;
	}

#foot .logo {
	margin-bottom: 40px;
}

#foot p {
	margin: 5px 0;
}

#foot a {
		padding: 5px 0;
}

#foot .telefon {
	background: url(images/telefon-s.svg) no-repeat;
	background-position: left  5px center;
	background-size: auto 25px;
	padding-left: 40px;
}

#foot .email {
	background: url(images/email-s.svg) no-repeat;
	background-position: left center;
	background-size: auto 15px;
	padding-left: 40px;
}

#foot .mapa {
	background: url(images/mapa-s.svg) no-repeat;
	background-position: left center;
	background-size: auto 27px;
	padding-left: 40px;
}

#foot .footer div:nth-of-type(2) {
	padding-left: 30px;
}

#foot .footer div:last-of-type {
	margin-top: 30px;
	display: flex;
	align-items: center;
}

.facebook {
	background: url(images/facebook-foot.svg) no-repeat;
	background-size: cover;
	width: 25px;
	height: 25px;
	display: inline-block;
	padding: 0 !important;
	margin: 0 10px 0 10px;
}

.linkedin {
	background: url(images/linkedin-foot.svg) no-repeat;
	background-size: cover;
	width: 25px;
	height: 25px;
	display: inline-block;
	padding: 0 !important;
}

#foot h5 {display: none;}

#foot .foot-bottom {
	background: var(--t-color);
	padding: 10px 0;
	text-align: center;
	margin-top: 40px;
}

.efabryka {
	background: url(images/efabryka.svg) no-repeat;
	background-position: right center;
	background-size: 90px auto;
	padding: 0 100px 0 0 !important;
	font-size: .8rem;
	font-weight: 700;
}
/************************************************
*	PLUGINS										*
************************************************/				
.mobmenu-content a:focus {
	font-weight: 700 !important;
}

.fl-button {
	color: #fff !important;
	border: none !important;
	background: var(--s-color) !important;
	padding: 10px 20px !important;
	border-radius: 40px !important;
	margin: 0 !important;
	display: inline-block !important;
	font-size: 1rem !important;
	line-height: 1.6rem !important;
	font-weight: 700 !important;
	transition: 200ms;
}

.fl-button:hover {
	background: var(--t-color) !important;
	transition: 200ms;
}

.fl-button span {
	color: #fff !important;
	transition: 200ms;
}

.cky-btn-revisit-wrapper.cky-revisit-bottom-left {
	display: none !important;
}


/************************************************
*	ANIMATION									*
************************************************/	
@keyframes fadein {
	0%{opacity: 0;}
	100%{opacity: 1;}
}


/************************************************
*	RESPONSIVE									*
************************************************/	
@media(max-width:1560px) {
	.inside {width: 100%;}
}

@media(max-width:1150px) {
	.oferta .kafelek {
		font-size: 1.2rem;
		line-height: 1.4rem;
	}
}

@media(max-width:900px) {
	.oferta {
		flex-wrap: wrap;
		justify-content: center;
	}
	
	.oferta .kafel {
		margin-bottom: 40px;
		width: 47%;
		margin: 0 1.5% 40px 1.5%;
	}

	.newsletter .kolumna {
		width: 50%;
		padding: 20px 20px;
		box-sizing: border-box;
		color: #fff;
	}
	
	.lista-wpisow .wpis {width: 47%;}	

}

@media(max-width:768px) {
	.naglowek {
		font-size: 1.8rem;
		line-height: 2.1rem;
	}
	
	.naglowek .przycisk a {
		font-size: 1rem !important;
	}
	
	.text-content h1 {
		font-size: 1.5rem;
		line-height: 1.7rem;
	}
	
	.newsletter .kolumna {
		width: 100%;
	}
	
	.newsletter .kolumna:first-of-type {
		display: none;
	}
	
	.newsletter {
		background-position: right center;
	}
}

@media(max-width:600px) {
	.oferta .kafel {width: 97%;
	}
}
