/*
Theme Name: electronic pool session
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% 'Rink', sans-serif; /* Resets 1em to 10px */
	overflow-y: scroll;	
	animation: fadein 1000ms ease;	
	color: var(--f-color);
	background: #0C1B25;
}

:root {
	--f-color: #fff;
	--s-color: #F2622D;
	--t-color: #FFF1DB;
	--font1: 'Momo Trust Sans';
	--font2: 'Rink';
}

/************************************************
*	HEAD										*
************************************************/

#head{
	position: fixed;
	z-index: 9999;
	left: 0;
	right: 0;
	margin: 0 auto;
	padding: 10px 0;
	background: #FFF1DB;
	}
	
#head .logo {
	margin-left: 10px;
}
	
#head .inside {
	display: flex;
    justify-content: space-between;
    align-items: center;
}	

#head h5 {display: none;}


#head .menu {
		display: block;
		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: 10px;
		}
		
#head .menu li a{
		font-family: var(--font1), sans-serif;
		font-size: 1rem;
		font-weight: 700;
		transition: 200ms ease;
		color: #303334;
		}
		
#head .menu li.current-menu-item a {}


#head .menu li a:hover	 {
		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;
}



/************************************************
*	TEXT										*
************************************************/

.text-content {
	font-size: 1rem;
	line-height: 1.6rem;
}


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, .text-content h2 {
        font-size: 4.375rem;
		line-height: 4.5rem;
		margin: 0 0 20px 0;
}

.text-content h3 {font-size: 5.2rem; line-height: 5.2rem; margin: 60px 0 0 0;}
.text-content h4 {font-size: 3.1rem; line-height: 3.1rem; display: inline-block; padding: 10px 30px; background: #303334; border: 1px solid #fff; border-radius: 30px; margin: 20px 0 0 0;}
.text-content h5 {font-size: 3.1rem; line-height: 3.1rem; font-weight: 400; margin: 20px 0 0 0;}
.text-content h6 {
	font-size: 1.8rem; 
	line-height: 1.8rem;
	font-weight: 400; 
	margin: 20px 0 0 0;
	background: url(images/mapa.svg) left center / auto 60px no-repeat; 
	padding-left: 60px; 
	display: inline-block; 
	text-align: left !important;
	}


/************************************************
*	LAYOUT										*
************************************************/

.bb-er-row { 
	background: none !important;
	color: var(--f-color) !important;
	text-align: left !important;
	font-size: 1.125rem !important;
	font-weight: 500 !important;
	padding: 5px 0 5px 45px !important;
	background: url(images/exp-before.svg) no-repeat !important;
	background-position: left top 18px !important;
	background-size: 7px auto !important;
	margin: 0 !important;
	transition: 200ms;
}

.bb-er-row:hover { 
	background-position: left 10px top 18px !important;
	transition: 200ms;
}

.bb-er-row .fl-module-content { 
	margin: 0 !important;
	padding: 0 !important;
}

.bb-er-row.bber-expanded { 
	background: url(images/exp-after.svg) no-repeat !important;
	background-position: left top 18px !important;
	background-size: 7px auto !important;
}

.exp .fl-row-content-wrap p {
	display: inline-block;
}

.exp .fl-row-content-wrap {
	margin: 0 !important;
	padding: 0 0 0 40px !important;
}

.exp .fl-row-content-wrap p:last-of-type {
	margin-bottom: 10px !important;
	padding-bottom: 20px !important;
	border-bottom: 1px dotted rgba(255,255,255,.5);
}

.tnp-field-email label {
	 display: none !important;
 } 
 
 .tnp input {
	 background: none !important;
	 border-radius: 30px !important;
	 border: 1px solid #fff !important;
	 color: var(--s-color) !important;
 }
 
 .countdown {
            display: flex;
            justify-content: center;
            gap: 8%;
        }

.countdown-item {
            text-align: center;
			width: 115px;
        }

.countdown-item .number {
		font-family: var(--font2);
			font-size: 4.375rem;
			line-height: 4.375rem;
            font-weight: 700;
			margin: 45px 0 0 0;
        }

.countdown-item .label {
            font-size: 1.875rem;
			line-height: 1.875rem;
			font-weight: 900;
			color: #fff;
        }

.head1, .head2 {
	background: #303334;
	color: var(--t-color);
	padding: 40px 20px;
	height: 180px;
}

.head1 p, .head2 p {
	margin: 0;
}

.head1 p strong {
	font-weight: 500;
	font-family: var(--font1);
	font-size: 3.1rem;
	line-height: 3.1rem;
}

.head1 p {
	font-family: var(--font1);
	font-size: 2rem;
	line-height: 2rem;
}

.head2 p {
	font-size: 1.25rem;
	margin: 40px 0 0 0;
}

.img1 img {
    position: relative;
    right: -360px;
    z-index: 666;
}

.img2 img {
    position: relative;
    top: 190px;
    z-index: 666;
    left: 600px;
	transition: 200ms;
}

.img2 img:hover {
	transform: scale(1.1);
	transition: 200ms;
}

.img2 div {
    position: relative;
    height:0;
}

.img3 img {
    width: 100%;
    height: auto;
}

.social-top {
	position: absolute;
	right: 20px;
	bottom: 70px;
}

.social-top img {transition: 200ms;}

.social-top img:hover {
	transform: scale(1.2) rotate(10deg); 
	box-shadow: 0 0 10px rgba(0,0,0,.3);
	transition: 200ms;}

.inside {
        width: 1440px;
		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;}

.top-space {
	padding-top: 100px;
}

/************************************************
*	FOOTER									*
************************************************/
#footer {
	padding: 60px 0;
	color: #fff;
	font-size: 1rem;
	line-height: 1.6rem;
}
#footer a  {
	color: #fff;
	transition: 200ms;
}
#footer a:hover {
	opacity: .6;
	transition: 200ms;
}
#footer .footer {display: flex; justify-content: space-between; flex-direction: column; align-items: center;}
#footer .footer > div {text-align: center; margin: 0; padding: 0;}
#footer .footer > div:last-of-type li {display: inline-block; margin: 0 20px;}
#footer .footer > div:last-of-type ul {margin: 0; padding: 0;}
#footer .footer > div:last-of-type {border-top: 1px solid #fff; padding-top: 10px;}
#footer .footer > div:nth-of-type(2) img {margin-right: 20px;}
#footer .footer > div:nth-of-type(2) img:last-of-type {margin-right: 0;}
#footer ul {margin: 0; padding: 0; list-style: none;}

#footer h5 {display: none;}
#footer .logo {
	width: 370px;
	max-width: 90%;
	height: auto;
}

#footer .bottom-foot {
	margin-top: 80px;
	padding-top: 20px;
	border-top: 1px solid #fff;
	text-align: center;
}

#footer .efabryka {
	background: url(images/efabryka.svg) right center / 120px auto no-repeat;
	padding: 5px 135px 5px 0;
	color: #fff;
	font-size: .625rem;
}

/************************************************
*	PLUGINS										*
************************************************/				
.fl-button, input.tnp-submit {
	background: var(--s-color) !important;
	color: #fff !important;
	padding: 10px 30px !important;
	border-radius: 30px !important;
	font-weight: 700 !important;
	border: 1px solid var(--s-color) !important;
	transition: 200ms;
}

input.tnp-submit {
	margin-top: 60px !important;
	cursor: pointer;
}

.fl-button:hover, input.tnp-submit:hover {
	background: none !important;
	border: 1px solid #fff !important;
	transition: 200ms;
	backdrop-filter: blur(5px) !important;
}

.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:1440px) {
	.inside {width: 100%;}
}
@media(max-width:1300px) {
	.img1 img {position: relative; right: auto;}
	.img2 {display: none}
	.social-top {right: 20px; bottom: auto;}
	.film {margin-top: -100px !important;}
}

@media(max-width:1000px) {
	.img3 {display: none}
	.img1 {display: none}
	.film {position: relative; margin: 0 !important;}
}

@media(max-width:768px) {
	.social-top {display: none !important;}
	.head1 p strong {font-size: 2.2rem;line-height: 2.8rem; text-align: center;}
	.head1 p {font-size: 1.2rem; line-height: 1.6rem; text-align: center;}
	.head2 p {font-size: 1.1rem; margin: 0; text-align: center !important;}
	.head1, .head2 {height: auto !important;}
	.head1 {padding: 20px 10px 10px 10px;}
	.head2 {padding: 10px 10px 20px 10px;}
	.text-content h1, .text-content h2 {font-size: 2.375rem; line-height: 2.5rem;}
	.text-content h3 {font-size: 2.2rem; line-height: 2.2rem; margin: 30px 0 0 0;}
	.text-content h4 {font-size: 2.1rem; line-height: 2.1rem; }
	.text-content h5 {font-size: 1.6rem; line-height: 1.6rem; }
	.text-content h6 {font-size: 1.3rem;}
	.countdown-item .number {font-size: 2.375rem; line-height: 2.375rem;}
	.countdown-item .label {font-size: 1rem; line-height: 1rem; }	
}
