/*
 * Flow Pilates - wyglad 1:1 z motywem yogax (flowpilates-test).
 * Wartosci przeniesione z yogax/css/theme.css, js_composer, ttbase-framework i Custom CSS.
 */

/* ---------- Czcionki ikon ---------- */
@font-face {
	font-family: ttbase;
	src: url(../fonts/ttbase.woff) format("woff"), url(../fonts/ttbase.ttf) format("truetype");
	font-weight: 400;
	font-style: normal;
}
/* Ikony iconsmind (telefon, budynek) jako SVG wyciete z czcionki - to samo pole 1em co znak. */
.fp-icon { display: block; width: 1em; height: 1em; }

/* ---------- Baza (Bootstrap 3 + yogax) ---------- */
*, *:before, *:after { box-sizing: border-box; }
html, body {
	width: 100%;
	font-size: 100%;
	font-weight: 300;
	letter-spacing: 0;
	line-height: 25px;
}
html { -webkit-tap-highlight-color: transparent; }
body {
	margin: 0;
	font-family: "Source Sans Pro", sans-serif;
	font-size: 16px;
	color: #2e323f;
	background-color: #fff;
}
a { color: #e24886; text-decoration: none; background-color: transparent; }
a:hover, a:focus { color: #2c3449; text-decoration: none; }
img { vertical-align: middle; border: 0; }
figure { margin: 0; }
small { font-size: 87%; }
hr { margin-top: 22px; margin-bottom: 22px; border: 0; border-top: 1px solid #fff; }
ul, ol { margin-top: 0; margin-bottom: 11px; }
p { margin: 0 0 11px; }

h1, h2, h3, h4, h5, h6 { font-family: inherit; font-weight: 700; line-height: 22px; color: #2c3449; }
h1, h2, h3 { margin-top: 22px; margin-bottom: 11px; }
h4, h5, h6 { margin-top: 11px; margin-bottom: 11px; }
h6 { font-size: 14px; }
h1, h2, h3, h4, h5 { font-family: "Quicksand", sans-serif; letter-spacing: 0.075em; position: relative; }
h1 { line-height: 74px; letter-spacing: 0; font-size: 70px; font-size: 4.375rem; text-transform: uppercase; }
h2 { line-height: 58px; letter-spacing: -2px; font-weight: 400; padding-bottom: 25px; margin-bottom: 30px; font-size: 54px; font-size: 3.375rem; }
h2:after { border-bottom: 2px solid; border-color: #e24886; bottom: 0; content: ""; left: 0; position: absolute; width: 70px; }
h2.text-center:after { right: 0; margin-left: auto; margin-right: auto; }
h2.text-right:after { left: auto; right: 0; }
h3 { line-height: 28px; font-size: 22px; font-size: 1.375rem; font-weight: 700; letter-spacing: 0; }
h4 { line-height: 24px; letter-spacing: 0; text-transform: uppercase; font-size: 18px; font-size: 1.125rem; }
h5 { line-height: 24px; font-size: 15px; font-size: 0.9375rem; text-transform: uppercase; letter-spacing: 0; }
p, .textwidget { font-size: 16px; font-size: 1rem; font-weight: 300; line-height: 25px; letter-spacing: 0; }
.intro { font-size: 20px; font-size: 1.25rem; font-weight: 300; line-height: 28px; letter-spacing: 0; }
blockquote {
	background-color: #ebf3f9;
	border-left: 4px solid #d8d8d8;
	padding: 40px 40px 40px 60px;
	margin: 0 0 22px;
	font-family: "Merriweather", serif;
	font-weight: 400;
	font-style: italic;
	font-size: 22px;
	font-size: 1.375rem;
	line-height: 44px;
	letter-spacing: 0;
}
blockquote p { font-family: "Merriweather", serif; font-weight: 400; font-style: italic; font-size: 22px; font-size: 1.375rem; line-height: 44px; letter-spacing: 0; }
blockquote p:last-child { margin-bottom: 0; }

.text-left { text-align: left; }
.text-right { text-align: right; }
.text-center { text-align: center; }
.pull-right { float: right !important; }
.pull-left { float: left !important; }
.img-responsive { display: block; max-width: 100%; height: auto; }
.clearfix:before, .clearfix:after, .container:before, .container:after, .container-fluid:before, .container-fluid:after, .row:before, .row:after { content: " "; display: table; }
.clearfix:after, .container:after, .container-fluid:after, .row:after { clear: both; }

/* Siatka Bootstrap 3 (container/row/col-*) pochodzi z legacy.css - w oryginalnej kolejnosci. */

/* ---------- Bloki WP: zerowanie odstepow ---------- */
.wp-site-blocks > * + * { margin-block-start: 0; }
.wp-site-blocks { padding: 0; }
.fp-page { overflow-x: hidden; }

/* ---------- Naglowek (desktop) ---------- */
.header { position: relative; z-index: 9; }
.v-align { display: flex; align-items: center; flex-direction: row; }
.v-align .container-fluid { flex: 1; }
.header .navigation { padding: 0 20px; min-height: 100px; background-color: #fff; top: 0; }
.logo-wrapper { padding: 0 15px; }
.logo-wrapper img { width: 300px; }
.nav-menu { display: inline-block; }
.header .nav-menu { margin-top: 4px; }
.nav-menu ul { list-style: none; padding: 0; margin-bottom: 0; }
.nav-menu > ul > li { display: inline-block; padding: 3px 15px; position: relative; }
.nav-menu li { position: relative; }
.nav-menu li a {
	color: #434e5f;
	font-family: "Quicksand", sans-serif;
	font-size: 16px;
	font-size: 1rem;
	font-weight: 600;
	padding: 7px 0;
	display: block;
	position: relative;
	text-transform: uppercase;
	overflow: hidden;
	letter-spacing: 0;
}
.nav-menu > ul > li > a:hover { color: #e24886; }
.nav-menu > ul > li > a:after {
	content: '';
	display: block;
	height: 2px;
	width: 100%;
	position: absolute;
	bottom: -2px;
	left: 0;
	background-color: transparent;
	opacity: 0;
	transition: bottom 220ms ease-in-out;
}
.nav-menu > ul > li > a:hover:after,
.nav-menu > ul > li.active > a:after { bottom: 2px; opacity: 1; background-color: #e24886; }

.nav-menu ul ul li a {
	padding: 8px 15px;
	color: #434e5f;
	font-weight: 400;
	font-size: 13px;
	font-size: 0.8125rem;
	text-align: left;
	letter-spacing: 0;
	border-bottom: 1px solid #e3edf6;
	transition: all 0.3s ease-in-out;
}
.nav-menu ul ul li:last-child a { border-bottom: none; }
.nav-menu ul ul li a:hover, .nav-menu ul ul li.active > a, .nav-menu ul ul li.current-menu-item > a { color: #e24886; }
.nav-menu li .second-lvl {
	line-height: 24px;
	position: absolute;
	width: 240px;
	z-index: 60;
	top: 100%;
	right: 0;
	left: auto;
	display: none;
	border-bottom: solid 2px #e24886;
}
.nav-menu li.no-mega-menu .second-lvl { min-width: 240px; background-color: #fff; padding: 25px 0 35px 0; border-bottom: solid 2px #e24886; }
.nav-menu ul li.no-mega-menu .second-lvl > ul > li { background-color: #fff; padding: 0 25px; }
.nav-menu ul li.no-mega-menu .second-lvl > ul > li a { padding: 12px 0 5px 0; border-bottom: 1px solid #e3edf6; }
.nav-menu ul li.no-mega-menu .second-lvl > ul > li a:hover { border-color: #e24886; }
.nav-menu ul li.menu-title > a:before { visibility: hidden; }

/* ---------- Naglowek mobilny ---------- */
#mobile-header {
	display: none;
	position: relative;
	background-color: #fff;
	height: 75px;
	width: 100%;
	z-index: 8000;
	transition: all 0.2s ease;
}
#mobile-header .logo { margin: 0; float: left; }
#mobile-header .logo img { max-height: 50px; width: auto; position: absolute; top: 50%; transform: translateY(-50%); }
#mobile-navigation { background: #fff; padding: 0; position: relative; margin: 0; z-index: 1001; display: none; }
#mobile-navigation-btn {
	margin-left: auto;
	font-size: 21px;
	font-size: 1.3125rem;
	line-height: 75px;
	margin-top: 0;
	outline: none;
	color: #e24886;
	float: right;
}
#mobile-navigation-btn:hover { color: #2c3449; }
#mobile-navigation .container ul { list-style: none; margin: 16px 0 30px 0; padding: 0; }
#mobile-navigation .container ul li ul { margin: 0 0 0 30px; display: none; }
#mobile-navigation .container > ul > li:last-child a { border-bottom: 0; }
#mobile-navigation ul li a {
	border-bottom: 1px solid #e3edf6;
	color: #434e5f;
	display: block;
	position: relative;
	padding: 12px 0 !important;
	font-size: 14px;
	font-size: 0.875rem;
}
#mobile-navigation ul li a:hover,
#mobile-navigation ul li a:hover .fa,
#mobile-navigation li.open > a,
#mobile-navigation ul li.current-menu-item > a,
#mobile-navigation ul li.current-menu-ancestor > a,
#mobile-navigation li.open > a .fa { color: #e24886; }
#mobile-navigation ul li i { display: block; float: right; font-size: 20px; font-size: 1.25rem; padding: 12px 15px; margin-top: -12px; }

@media only screen and (max-width: 992px) {
	.header { display: none; }
	#mobile-header { display: block; }
}
@media only screen and (min-width: 768px) and (max-device-width: 1024px) {
	.header { display: none; }
	#mobile-header { display: block; }
}

/* ---------- Typografia responsywna ---------- */
@media only screen and (max-width: 991px) {
	html, body { font-size: 90%; }
	body h1 { font-size: 36px; font-size: 2.25rem; }
	body h2 { font-size: 30px; font-size: 1.875rem; }
	h2:after { width: 55px; }
	#page-wrapper.pdb75 { padding-bottom: 30px !important; }
}
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) {
	html, body { font-size: 90%; }
	body h1 { font-size: 36px; font-size: 2.25rem; }
	body h2 { font-size: 30px; font-size: 1.875rem; }
	h2:after { width: 55px; }
}

/* ---------- Odstepy stron ---------- */
.pdt0 { padding-top: 0 !important; }
.pdb75 { padding-bottom: 75px !important; }

/* ---------- Slider (FlexSlider + MetaSlider "flow-hero") ---------- */
.flex-container a:active, .flexslider a:active, .flex-container a:focus, .flexslider a:focus { outline: none; }
.slides, .flex-control-nav, .flex-direction-nav { margin: 0; padding: 0; list-style: none; }
.flexslider { margin: 0; padding: 0; position: relative; zoom: 1; }
.flexslider .slides > li { display: none; -webkit-backface-visibility: hidden; }
.flexslider .slides img { width: 100%; display: block; }
.slides:after { content: "\0020"; display: block; clear: both; visibility: hidden; line-height: 0; height: 0; }
html[xmlns] .slides { display: block; }
.no-js .slides > li:first-child { display: block; }
.flex-viewport { max-height: 2000px; transition: all .2s ease; }
.loading .flex-viewport { max-height: 300px; }
.flexslider .slides { zoom: 1; }
.flex-direction-nav a {
	cursor: pointer !important;
	opacity: .6;
	text-decoration: none;
	display: block;
	color: #fff !important;
	width: 48px;
	height: 48px;
	margin: -24px 0 0;
	line-height: 48px;
	text-align: center;
	position: absolute;
	top: 50%;
	z-index: 10;
	overflow: hidden;
	transition: all .3s ease;
}
.flex-direction-nav .flex-disabled { opacity: 0 !important; cursor: default; }
.flex-direction-nav a:before { font-family: ttbase; font-size: 34px; display: inline-block; content: "\e902"; }
.flex-direction-nav a.flex-next:before { content: "\e90a"; }
.flex-direction-nav .flex-prev { left: 10px; }
.flex-direction-nav .flex-next { right: 10px; }
.flexslider:hover .flex-next, .flexslider:hover .flex-prev { opacity: 1; }
.flex-control-nav { width: 100%; position: absolute; bottom: 10px; text-align: center; }
.flex-control-nav li { margin: 0 4px; display: inline-block; zoom: 1; }
.flex-control-paging li a {
	text-indent: -9999px;
	display: inline-block;
	background: transparent;
	border: 2px solid #fff;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	opacity: .5;
	transition: all .2s;
	margin: 0;
	cursor: pointer;
}
.flex-control-paging li a:hover { opacity: 1; }
.flex-control-paging li a.flex-active { background: #fff; opacity: 1; }
@media only screen and (min-width: 768px) and (max-device-width: 1024px) {
	.flex-direction-nav .flex-prev, .flex-direction-nav .flex-next { opacity: 1; }
}

.flow-hero.metaslider { max-width: none !important; width: 100%; }
.flow-hero .flexslider, .flow-hero .flexslider .slides, .flow-hero .flexslider .slides > li { height: 100vh; }
.flow-hero .flexslider .slides img { width: 100%; height: 100vh; object-fit: cover; object-position: center; }
.flow-hero .flexslider .flex-control-nav { bottom: 25px; z-index: 5; }
/* Przycisk "Zarezerwuj zajecia" na srodku slidera - jak warstwa Revolution Slidera na produkcji. */
.flow-hero { position: relative; }
.fp-hero-cta { position: absolute; top: 0; right: 0; bottom: 0; left: 0; display: flex; align-items: center; justify-content: center; z-index: 20; pointer-events: none; }
.fp-hero-btn {
	pointer-events: auto;
	display: inline-block;
	padding: 12px 35px;
	font-family: Quicksand, sans-serif;
	font-size: 15px;
	font-weight: 500;
	line-height: 15px;
	letter-spacing: 1px;
	text-transform: uppercase;
	white-space: nowrap;
	color: #fff;
	background-color: rgba(226, 72, 134, .75);
	border-radius: 30px;
	text-decoration: none;
}
.fp-hero-btn:hover, .fp-hero-btn:focus { color: #fff; background-color: #e21d6c; text-decoration: none; }
/* Na produkcji po tekscie jest spacja i pusta ikona (0 px) - to ona daje przyciskowi szerokosc 257 px. */
.fp-hero-btn-icon { display: inline-block; width: 0; }

/* ---------- Wiersze/kolumny (odpowiednik WPBakery) ---------- */
.fp-row { margin-left: -15px; margin-right: -15px; }
.fp-row:before, .fp-row:after { content: " "; display: table; }
.fp-row:after { clear: both; }
.fp-col { position: relative; min-height: 1px; width: 100%; }
@media (min-width: 768px) {
	.fp-col { float: left; }
	.fp-col-2 { width: 16.66666667%; }
	.fp-col-6 { width: 50%; }
	.fp-col-8 { width: 66.66666667%; }
	.fp-col-4 { width: 33.33333333%; }
	.fp-col-12 { width: 100%; }
}
.fp-col-inner { width: 100%; padding-left: 15px; padding-right: 15px; box-sizing: border-box; }
.fp-col-inner:before, .fp-col-inner:after { content: " "; display: table; }
.fp-col-inner:after { clear: both; }
.fp-el { margin-bottom: 35px; }
.fp-text > :last-child { margin-bottom: 0; }
.fp-has-fill > .fp-col-inner { min-height: 250px; }
.fp-empty-space { height: 32px; }
.fp-row-gap-25 { margin-left: -27.5px; margin-right: -27.5px; }
.fp-row-gap-25 > .fp-col { padding: 12.5px; }

/* "Nasze studio" */
.fp-studio { padding-top: 130px; padding-bottom: 130px; }
.fp-single-image { text-align: center; padding-top: 80px; }
.fp-single-image img { display: inline-block; max-width: 100%; height: auto; }

/* Sekcja ze zdjeciem "Zobacz grafik zajec" */
.fp-cover {
	display: flex;
	align-items: center;
	min-height: 650px;
	background-size: cover;
	background-position: 50% 50%;
	background-repeat: no-repeat;
	position: relative;
	z-index: 1;
}
.fp-cover > .container { flex: 0 0 auto; width: 100%; }
@media (min-width: 768px) { .fp-cover > .container { width: 750px; } }
@media (min-width: 992px) { .fp-cover > .container { width: 970px; } }
@media (min-width: 1200px) { .fp-cover > .container { width: 1170px; } }
.fp-cover-pad > .fp-col-inner { padding: 7%; }
.fp-cover h2 { font-size: 40px; color: #fff; }

/* Naglowki ttbase i ikony */
.ttbase-heading { padding-bottom: 30px; margin-bottom: 35px; }
h2.ttbase-heading { padding-bottom: 25px; }
.ttbase-heading.text-align-center { text-align: center; }
.ttbase-heading-none, h2.ttbase-heading-none { margin-bottom: 0; }
.ttbase-heading-none:after { display: none; }

.fp-box > .fp-col-inner {
	border-top: 5px solid #e3edf6;
	border-bottom: 5px solid #e3edf6;
	padding-top: 12%;
	padding-bottom: 10%;
}
.fp-section-flow > .fp-col-inner { padding-top: 6%; padding-bottom: 6%; }
.ttbase-icon-box { margin-bottom: 30px; position: relative; padding-left: 80px; }
.ttbase-icon-box:before, .ttbase-icon-box:after { content: " "; display: table; }
.ttbase-icon-box:after { clear: both; }
.ttbase-icon-box-icon { position: absolute; left: 0; top: 0; color: #e24886; line-height: 1; }
cite { color: #e24886; }
.ttbase-icon-box-heading { display: block; margin: 0 0 10px; color: #e24886; }
.ttbase-icon-box p { margin: 0 0 10px; }
.fp-col-inner > .ttbase-icon-box:last-child { margin-bottom: 0; }

/* Przycisk "Kalendarz" (vc_btn3 custom, lg, rounded, block, ikona z lewej) */
.fp-btn-container { display: block; margin-bottom: 21.73913043px; max-width: 100%; text-align: center; }
.fp-btn {
	display: block;
	width: 100%;
	margin-bottom: 0;
	text-align: center;
	vertical-align: middle;
	cursor: pointer;
	background-color: #fff;
	color: #e24886;
	border: 1px solid transparent;
	border-radius: 5px;
	word-wrap: break-word;
	user-select: none;
	text-decoration: none;
	position: relative;
	top: 0;
	transition: all .2s ease-in-out;
	line-height: normal;
	box-shadow: none;
	font-size: 16px;
	padding: 18px 25px;
	background-image: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, .1) 50%, rgba(0, 0, 0, .1));
	background-repeat: repeat-x;
	background-size: 200%;
	background-position: 0 -100%;
}
.fp-btn:hover, .fp-btn:focus { background-position: 0 100%; color: #e24886; }
.fp-btn .fa { display: inline-block; vertical-align: top; font-size: 20px; height: 16px; line-height: 16px; min-width: 1em; margin-right: .5em; }

/* Mapa (w oryginale Google Maps sie nie laduje - pusty blok w kolorze tla) */
/* CSS strony Cennik zapisany przez WPBakery w bazie (_wpb_shortcodes_custom_css) - przycisk "Zarezerwuj zajecia". */
.vc_custom_1585639029466 { padding-top: 1em !important; padding-bottom: 1em !important; }

.fp-map { background-color: #ebf3f9; height: 550px; }
/* Mapa: jasnoniebieskie kafelki jak styl mapy yogax ("99"), rozowa pinezka. */
.fp-leaflet { position: relative; z-index: 0; font: inherit; }
.fp-leaflet .leaflet-tile-pane { filter: grayscale(1) sepia(.3) hue-rotate(175deg) saturate(1.6) brightness(1.04) contrast(.88); }
.fp-leaflet .fp-map-pin { background: none; border: 0; }
.fp-leaflet .fp-map-pin svg { display: block; filter: drop-shadow(0 2px 3px rgba(44, 52, 73, .35)); }
.fp-leaflet .leaflet-control-attribution { font-size: 11px; }
.fp-leaflet .leaflet-control-zoom a { color: #2c3449; }

/* ---------- Stopka ---------- */
footer.site-footer {
	background-color: #ebf3f9;
	color: #686868;
	background-image: url(../img/footer_bg.png);
	background-repeat: repeat-y;
	background-size: 100% 100%;
}
.site-info { margin-top: 2px; font-weight: 300; letter-spacing: 0; font-size: 15px; font-size: 0.9375rem; }
.bottom-footer-container { padding: 30px 0; border-top: solid 1px #232838; }

/* ---------- Przycisk "do gory" ---------- */
#go-top {
	display: none;
	position: fixed;
	right: 50px;
	bottom: 50px;
	line-height: 0;
	text-align: center;
	width: 50px;
	height: 50px;
	background-color: #e24886;
	color: #fff;
	z-index: 300;
	border-radius: 34px;
	transition: all 0.1s ease;
}
#go-top:hover { background-color: #2c3449; text-decoration: none; }
#go-top i { font-size: 20px; font-size: 1.25rem; color: #fff; line-height: 46px; }
@media only screen and (max-width: 992px) { #go-top { right: 15px; } }

/* ---------- Animacje ---------- */
.has-animation { opacity: 0; transform: translateY(10%); transition: transform 0.8s ease 0.2s, opacity 0.8s ease 0.2s; }
.has-animation.fade { transform: translateY(0) translateX(0); }
.has-animation.animated { opacity: 1; transform: translateY(0) translateX(0); }
.fp-animate { opacity: 0; }
.fp-animate:not(.fp-start) { animation: none; }
.fp-animate.fp-start { opacity: 1; animation-duration: 1s; animation-fill-mode: both; }
.fp-animate.fp-start.fadeIn { animation-name: fadeIn; }
.fp-animate.fp-start.fadeInUp { animation-name: fadeInUp; }
@keyframes fadeIn { 0% { opacity: 0; } 100% { opacity: 1; } }
@keyframes fadeInUp { 0% { opacity: 0; transform: translate3d(0, 100%, 0); } 100% { opacity: 1; transform: none; } }
