/*
Theme Name: greenpub
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% 'DM Sans', sans-serif; /* Resets 1em to 10px */
	overflow-y: scroll;	
	animation: fadein 1000ms ease;	
	color: var(--f-color);
	background: #000;
}

:root {
	--f-color: #fff;
	--s-color: #368B27;
	--font1: 'DM Sans', sans-serif;
	--font2: 'Forum', serif;
}

/************************************************
*	HEAD										*
************************************************/

#head{
	position: fixed;
	left: 0;
	right: 0;
	margin: 0 auto;
	z-index: 9999;
	font-size: 1rem;
	color: #fff;
	transition: 300ms;
	}
	
#head.scroll {
	background: rgba(0,0,0,.5);
	backdrop-filter: blur(10px);
	transition: 300ms;
}

#head .logo {
	width: 255px;
	height: auto;
}

	
#head a {
	transition: 200ms;
}	

#head a:hover {
	color: var(--s-color);
	transition: 200ms;
}	

#head .obserwuj {
	font-weight: 700;
}

#head .instagram:hover img, #head .facebook:hover img {
	transform: scale(.9);
	transition: 200ms;
}

#head .instagram img, #head img {
	transition: 200ms;
}

#head .telefon {background: url(images/telefon-white.svg) left center / auto 22px no-repeat; padding-left: 30px !important;}
#head .email {background: url(images/email-white.svg) left center / auto 18px no-repeat; padding-left: 35px !important;}
#head .mapa {background: url(images/mapa-white.svg) left center / auto 18px no-repeat; padding-left: 30px !important;}

#head .logo {
	position: absolute;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 15px 0 15px 10px;
}

#head .logo img {
	max-height: 254px;
	height: auto;
	margin: 10px 0 10px 10px;
}

#head header div:nth-of-type(2) {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin: 10px 0 0 0;
}

#head header div:nth-of-type(2) span, #head header div:nth-of-type(2) a{
	display: flex;
	align-items: center;
	height: 30px;
	border-bottom: 1px solid #fff;
	padding: 5px 20px 5px 0;
}

#head header div:nth-of-type(2) a:last-of-type{
	padding-right: 10px;
}

#head header div:nth-of-type(2) div {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  flex-wrap: wrap;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

#head h5 {display: none;}

#head ul.menu {
	display: flex;
	justify-content: flex-end;
	align-items: center;
	list-style: none;
	margin: 20px 0 20px 0;
}

#head .menu li {
	margin-right: 40px;
}

#head .menu li:last-of-type {
	margin-right: 10px;
}

#head .menu li a{
		font-size: 1em;
		font-weight: 700;
		transition: 200ms ease;
		}
		
#head .menu li a:hover, #head .menu li.current-menu-item a	 {

		}
		
#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;
}

#kontakt a.efabryka {
	font-size: 0.563rem;
	color: #fff;
	display: block;
	float: right;
	margin: 20px 10px 20px 0;
	background: url(images/efabryka.svg) bottom center / auto 17px no-repeat;
	padding: 0 0 15px 0;
}

/************************************************
*	TEXT										*
************************************************/

.text-content {
        font-size: 1.125rem;
		line-height: 1.9rem;
}

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-family: var(--font2);
		font-size: 4.625rem;
		line-height: 4.9rem;
		font-weight: 500;
		margin: 0;
}

.text-content h2 {
        font-size: 1.125rem;
		line-height: 1.5rem;
		color: #E3C590;
		font-weight: 500;
		letter-spacing: .1rem;
}

.text-content h3 {
        font-family: var(--font2);
		font-size: 2.5rem;
		line-height: 3.2rem;
		font-weight: 500;
		margin: 0;
}

.text-content .n2-ss-slider h3 {
        font-family: var(--font2) !important;
		font-size: 2.5rem !important;
		line-height: 3.2rem !important;
		font-weight: 500 !important;
		margin: 0;
}

.text-content .n2-ss-slider h2 {
        font-size: 1.125rem !important;
		line-height: 1.5rem !important;
		color: #E3C590 !important;
		font-weight: 500 !important;
		letter-spacing: .1rem !important;
}



/************************************************
*	LAYOUT										*
************************************************/
.inside {
        width: 1400px;
		margin: 0 auto;
}

.singlepost {
	margin-top: 40px;
}

.fl-bg-video video {
	background-position: center;
	width: inherit !important;
}


.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									*
************************************************/
#kontakt {
	background: url(images/bg-footer.jpg) center bottom / cover no-repeat #000;
	padding: 120px 0;
	color: #fff;
	font-size: 1rem;
	line-height: 1.6rem;
}
#kontakt a  {
	color: #fff;
	transition: 200ms;
}
#kontakt a:hover {
	opacity: .6;
	transition: 200ms;
}

#kontakt p {
	margin: 2px 0;
}

#kontakt .logo {
	width: 385px; 
	height: auto;
}

#kontakt .telefon {background: url(images/telefon-white.svg) left center / auto 22px no-repeat; padding: 5px 0 5px 30px !important;}
#kontakt .email {background: url(images/email-white.svg) left center / auto 18px no-repeat; padding: 5px 0 5px 35px !important;}
#kontakt .mapa {background: url(images/mapa-white.svg) left center / auto 30px no-repeat; padding: 5px 0 5px 30px !important;}
#kontakt .zegar {background: url(images/zegar-white.svg) left top 7px / auto 20px no-repeat; padding: 5px 0 5px 30px !important;}
#kontakt .instagram {margin-right: 10px;}

#kontakt .footer {display: flex; justify-content: space-between;}
#kontakt .footer > div:first-of-type {margin-left: 10px;}
#kontakt .footer > div:last-of-type {margin-right: 10px;}
#kontakt ul {margin: 0; padding: 0; list-style: none;}

#kontakt h5 {display: none;}

/************************************************
*	PLUGINS										*
************************************************/				

#mobmenuright li a {
	text-align: center !important;
}

.wpcp-swiper-dots .swiper-pagination-bullet.swiper-pagination-bullet-active {
	background-color: #E3C590 !important;
}
 
.wpcp-swiper-dots .swiper-pagination-bullet {
	background-color: #333 !important;
}

.fl-button, a.n2-ow {
	background: #368A27 !important;
	color: #fff !important;
	font-weight: 700 !important;
	padding: 10px 20px !important;
	border: 1px solid #368A27 !important;
	border-radius: 8px !important;
	transition: 200ms;
}

.fl-button span {
	color: #fff !important;
	transition: 200ms;
}

.fl-button:hover, a.n2-ow:hover {
	background: none !important;
	color: #368A27 !important;
	transition: 200ms;
}

.fl-button:hover span {
	color: #368A27 !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:1400px) {
	.inside {width: 100%;}
}

@media(max-width:1230px) {
	#kontakt .footer {
		flex-direction: column;
		align-items: center;
		width: 320px;
		}
		
		#kontakt .footer div {margin-bottom: 20px;}		
		#kontakt .footer .logo {max-width: 320px; height: auto;}

}

@media(max-width:768px) {
	.text-content h1 {font-size: 3.5rem;	line-height: 3.8rem;}
	.text-content h3 {font-size: 1.9rem;	line-height: 2.5rem;}
	.text-content .n2-ss-slider h3 {font-size: 1.9rem !important;	line-height: 2.5rem !important;}
	.text-content .n2-ss-slider h2 {font-size: 1rem !important;	line-height: 1.3rem !important;}
}