:root {
	--light: #fafafa;
	--foreground: #333333;
	--shadow: 0 2px 4px rgba(63, 81, 181, 0.25);
	--primary: #4CAF50;
	--secondary: #4CAF7E;
	--white: #FFFFFF;
	--black: #333333;
}

*,
*:before,
*:after {
	box-sizing: border-box;
	line-height: inherit;
	margin: 0;
	padding: 0;
}

::selection {
	background: var(--secondary);
	color: var(--background);
}

::-webkit-scrollbar {
	width:12px;
	background-color: #fafafa
}

::-webkit-scrollbar:horizontal {
	height: 12px
}

::-webkit-scrollbar-track {
	border: 1px #fafafa solid;
	border-radius: 0
}

::-webkit-scrollbar-thumb {
	background-color: #ddd;
	border: 1px solid #fafafa;
	border-radius: 0
}

::-webkit-scrollbar-thumb:hover {
	background-color: var(--primary);
}

::-webkit-scrollbar-thumb:active {
	background-color: var(--secondary);
}

html {
	font-size: 56.25%;
}

@media (max-width: 991px) {
	html { font-size: 50%; }
}

body {
	background: var(--white);
	color: var(--foreground);
	font-family: 'Lato', sans-serif;
	font-size: 1.6rem;
	margin: 0;
	line-height: 1.5;
}

a {
	text-decoration: none;
	color: inherit;
}

button,
input,
textarea,
select {
	font: inherit;
	border: none;
	outline: none;
	background: transparent;
}

button { cursor: pointer;}

.container {
	max-width: 120rem;
	padding-left: 1.6rem;
	padding-right: 1.6rem;
	margin-left: auto;
	margin-right: auto;
	position: relative;
}


body { background: #f5f5f5; }
p { font-size: 1.5rem; line-height: 1.5; }
p + p { margin-top: 2rem; }

h2, h3, h4, h5, h6 {
	font-family: Montserrat, sans-serif;
	line-height: 1.25;
	opacity: .7;
	text-transform: uppercase;
	text-align: center;
}

h2:after,
h3:after {
	content: '';
	display: block;
	width: 10rem;
	height: 4px;
	background: #a2be5a;
	border-radius: 100px;
}

h2 { font-size: 3.2rem; margin: 2rem auto 4rem; }
h2:after { margin: 2rem auto; }
h3 { font-size: 2rem; margin: .5rem auto 2rem; }
h3:after { margin: .5rem auto; }
.container { max-width: 120rem; }

.card {
	display: flex;
	flex-direction: column;
	background: #ffffff;
	border-radius: 1rem;
	padding: 2rem 2.4rem;
	box-shadow: 0 2px 4px rgba(120, 120, 128, 0.5);
}

	
/* #p-nav */
#p-nav {
	position: fixed;
	left: 0;
	right: 0;
	top: 0;
	z-index: 16;
	font-family: Montserrat, sans-serif;
	background: #e7eceb;
	opacity: 0;
	transition: background .5s, box-shadow .5s, opacity .5s;
}

#p-nav .container {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

#p-nav .nav-brand {
	display: flex;
	font-weight: 600;
	font-size: 2.4rem;
	padding: 4rem 0;
	transition: padding .5s;
}

#p-nav .nav-main {
	text-transform: uppercase;
	font-weight: 700;
}

#p-nav .nav-main a {
	margin-left: 5rem;
	color: #8d8f8f;
	cursor: pointer;
	transition: color .5s;
	display: inline-block;
}
		
#p-nav .nav-main a:hover,
#p-nav .nav-main a.active {
	color: #4cac74;
}
		
#p-nav .nav-toggle {
	font-size: 3rem;
	background: transparent;
	color: #4cac74;
	display: none;
	position: relative;
	z-index: 2;
}
		
.s-loaded #p-nav {
	opacity: 1;
}

.s-scrolled #p-nav {
	background: #ffffff;
	box-shadow: 0 4px 8px rgba(120, 120, 128, 0.25);
}

.s-scrolled #p-nav .nav-brand {
	padding: 2rem 0;
}

@media (max-width: 767px) {
	#p-nav .nav-brand { padding: 1rem 0; }
	#p-nav .nav-main { 
		position: fixed;
		display: flex;
		flex-direction: column;
		right: 0;
		top: 0;
		bottom: 0;
    width: 24rem;
		padding: 6rem 0 0;
		background: #ffffff;
		opacity: 0;
		pointer-events: none;
		transform: translateX(100%);
		transition: transform .3s, opacity .3s;
	}
	#p-nav .nav-main a {
		margin: .8rem 2.4rem;
		display: block;
	}
	#p-nav .nav-main:before {
		content: '';
    position: fixed;
    left: 0;
    right: 24rem;
    top: 0;
    bottom: 0;
    background: #ffffff;
    opacity: 0;
		transition: opacity .6s ease .3s;
	}
	#p-nav .nav-toggle { display: block; }
	.s-menu #p-nav .nav-main {
		box-shadow: 0 4px 8px rgba(120, 120, 128, 0.25);
		transform: none;
		opacity: 1;
		pointer-events: all;
	}
	.s-menu #p-nav .nav-main:before {
		opacity: .5;
	}
}
		
/* #p-hero */

#p-hero { background: #e7eceb; }

#p-hero .container {
	padding-top: 24rem;
	padding-bottom: 16rem;
	transition: opacity 3s ease .5s, transform 3s ease .5s;
	opacity: 0;
	transform: scaleX(1.075);
}

.s-loaded #p-hero .container {
	opacity: 1;
	transform: none;
}
		
#p-hero .container blockquote {
	padding: 4rem 4rem;
	text-align: center;
}
		
#p-hero .container blockquote h1 {
	font-family: Lora;
	font-size: 3.6rem;
	line-height: 1.5;
	max-width: 96rem;
	margin: auto;
	margin-bottom: 2rem;
}

#p-hero .container blockquote h1 span { position: relative; z-index: 1; }
#p-hero .container blockquote h1:before,
#p-hero .container blockquote h1:after {
	transform: scale(3);
	position: relative;
	display: inline-block;
	color: #a2be5a;
	opacity: .5;
	top: .5em;
}

#p-hero .container blockquote h1:before { content: '“'; margin-left: -.5em; }
#p-hero .container blockquote h1:after { content: '”'; margin-left: -.25em; }

#p-hero .container blockquote footer {
	font-size: 2.4rem;
	text-align: right;
	margin-right: 2.5%;
	opacity: .7;
	margin-top: 2rem;
}

#p-hero .container blockquote footer:before {
	content: '';
	display: inline-block;
	width: 6.4rem;
	height: 4px;
	background: #a2be5a;
	margin: 0 1rem;
	border-radius: 100px;
	vertical-align: middle;
}

@media (max-width: 767px) {
	#p-hero .container {
		padding-top: 12rem;
		padding-bottom: 8rem;
	}
	#p-hero .container blockquote h1 { font-size: 2.8rem; }
}
		
/* #offer */
#offer {
	background: linear-gradient(to right, #16a085, #f4d03f);
}
#offer .container {
	opacity: 0;
	transform: translateY(12rem);
	transition: opacity 1s ease .5s, transform 1.5s ease .5s;
}
.s-loaded #offer .container {
	opacity: 1;
	transform: none;
}

#offer .offer-articles {
	display: flex;
	position: relative;
	top: -8rem;
	margin: 0 -.8rem -14rem;
}

#offer .offer-articles > * { margin: 0 .8rem; flex: 0 0 calc(100% / 3 - 1.6rem); }
#offer .offer-articles .article-contents { display: none; }
#offer .offer-articles .article-header { flex: 1 1 auto; }
#offer .offer-articles .article-title span {
	display: flex; align-items: center; justify-content: center;
	min-height: 5rem;
}

#offer .article-item.article-item-expanded {
	position: relative; 
	top: 8rem; 
	margin-top: -18rem; 
	padding-top: 3.2rem; 
	padding-bottom: 3.2rem;
}
		
.article-item p {
	text-align: justify;
	text-align-last: left;
}
		
.article-item strong {
	font-weight: 600;
	text-transform: uppercase;
	color: #4cac74;
}

.article-item button {
	font-family: Montserrat, sans-serif;
	font-weight: 500;
	font-size: 1.5rem;
	text-align: right;
	background: transparent;
	color: #8d8f8f;
	transition: color .5s;
	position: relative;
	z-index: 4;
}

.article-item button:hover { color: #4cac74; }
.article-item button.btn-round {
	margin: 4rem auto 2rem;
	padding: 1rem 2rem;
	border: 1px solid rgba(0, 0, 0, .25);
	border-radius: 100px;
	transition: color .5s, border-color .5s, box-shadow .5s;
}
		
.article-item button.btn-round:hover {
	color: #4cac74;
	border-color: #4cac88;
	box-shadow: 0 0 8px 2px rgba(187, 207, 137, .25)
}

.article-item.article-item-expanded p,
.article-item.article-item-expanded ol,
.article-item.article-item-expanded ul {
	font-size: 1.8rem;
	margin-left: auto;
	margin-right: auto;
	max-width: 100rem;
}
		
		
.article-item.article-item-expanded ul li,
.article-item.article-item-expanded ol li {
	display: block;
	margin: .25em 0;
	padding-left: 2rem;
	position: relative;
}

.article-item.article-item-expanded ul li:before {
	content: '';
	width: .35em;
	height: .35em;
	background: #bed28c;
	position: absolute;
	left: 0;
	top: .675em;
	border-radius: 100%;
}
		
@media (max-width: 767px) {
	#offer .offer-articles { flex-direction: column; margin: 0 auto -14rem; }
	#offer .offer-articles > * {
		margin: .8rem auto;
		width: 100%;
		max-width: 60rem;
	}
	#offer .article-item.article-item-expanded {
		max-width: 60rem;
		margin-left: auto;
		margin-right: auto;
	}
	.article-item button { text-align: center; margin-top: 1.6rem; }
	.article-item p,
	.article-item.article-item-expanded p,
	.article-item.article-item-expanded ol,
	.article-item.article-item-expanded ul { font-size: 1.6rem; }
	.article-item h2 {
    font-size: 2rem;
    margin: .5rem auto 2rem;
	}
	.article-item h2:after {
    margin: .5rem auto;
	}
	.article-item h2 span {
		display: flex;
		align-items: center;
		justify-content: center;
		min-height: 5rem;
	}
}

.offer-price {
	color: #ffffff;
	font-family: Montserrat, sans-serif;
	text-align: center;
	text-shadow: 0 2px 2px hsla(168, 74%, 20%, 1);
	border-top: 4px dotted rgba(255, 255, 255, .25);
	border-bottom: 4px dotted rgba(255, 255, 255, .25);
	padding: 8rem 0 12rem;
	transition: padding .5s;
}
		
.offer-price > .container {
	display: flex;
	justify-content: space-around;
}
	
.offer-price .btn-show-price {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	width: 48rem;
	max-width: calc(100vw - 3.2rem);
	
	font-weight: bold;
	font-size: 2.8rem;
	text-align: center;
	text-transform: uppercase;
	text-shadow: 0 2px 2px hsla(168, 74%, 20%, 1);
	line-height: 1.25;

	color: #ffffff;
	padding: 2rem 3.2rem;
	border: 2px dashed rgba(255, 255, 255, .7);
	border-radius: 100px;
	transition: transform .5s, opacity .5s, background .5s;
}
		
.offer-price .btn-show-price:hover {
	background: rgba(255, 255, 255, .25);
}

.offer-price .price-box {
	flex: 0 0 32rem;
	line-height: 1.25;
	font-weight: bold;
	font-size: 2rem;
	opacity: 0;
	transform: translateY(-4rem) scale(.5);
	transition: opacity .5s, transform .5s, height .5s;
}

.offer-price .price-box-header {
	font-size: 2.8rem;
	font-weight: bold;
	text-align: center;
	text-transform: uppercase;
}

.offer-price .price-box-price { font-size: 6rem; }
.offer-price .price-box-price:after { content: ' zł'; font-size: .75em; }
		
.offer-price.show-prices { padding-bottom: 20rem; padding-top: 16rem; }
.offer-price.show-prices .price-box { opacity: 1; transform: none; }	
.offer-price.show-prices .btn-show-price { opacity: 0; pointer-events: none; }

@media (max-width: 639px) {
	.offer-price { padding: 0 0 4rem; }
	.offer-price > .container { flex-direction: column; }
	.offer-price .price-box { flex: 0 0 20rem; }
	.offer-price .price-box-price { font-size: 6rem; }
	.offer-price .btn-show-price { border-radius: 1.6rem; }
	.offer-price.show-prices { padding-bottom: 8rem; padding-top: 10rem; }
}

#us { position: relative; z-index: 2; padding: 16rem 0 4rem; }
#us .persons { display: flex; margin: 0 -.8rem -14rem; }
#us .persons .person {
	position: relative;
	overflow: hidden;
	flex: 0 0 calc(100% / 2 - 1.6rem);
	margin: 0 .8rem;
	padding-top: 26rem;
}

#us .persons p { text-align: justify; text-align-last: left; }
#us .persons .person h3 {
	display: flex;
	align-items: flex-end;
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	height: 24rem;
	
	color: #ffffff;
	background: #bbcf89;
	background-position: 50% 25%;
	background-size: cover;
	text-shadow: 0 2px 4px rgba(120, 120, 128, .5);
	padding: 1.6rem;
	margin: 0;
	opacity: 1;
}

#us .persons .person h3 span { position: relative;}
#us .persons .person h3:after { display: none; }
#us .persons .person h3:before { 
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,.15) 90%);
}

@media (max-width: 767px) {
	#us .persons { flex-direction: column; }
	#us .persons p { font-size: 1.6rem; }
	#us .persons .person {
		margin: .8rem auto;
		width: 100%;
		max-width: 60rem;
	}
}

#us .persons.persons-3 .person { flex: 0 0 calc(100% / 3 - 1.6rem); }
@media (max-width: 991px) {
	#us .persons.persons-3 { flex-direction: column; }
	#us .persons.persons-3 .person {
		margin: .8rem auto;
		width: 100%;
		max-width: 60rem;
	}
}

#us .persons-3 .person { flex: 0 0 calc(100% / 3 - 1.6rem); }
@media (max-width: 991px) {
	#us .persons-3 { flex-direction: column; }
	#us .persons-3 p { font-size: 1.6rem; }
	#us .persons-3 .person {
		margin: .8rem auto;
		width: 100%;
		max-width: 60rem;
	}
}

#contact {
	background: #e7eceb;
	padding-top: 18rem;
	padding-bottom: 0;
}

#contact .container { display: flex; }

#contact .contact-line {
	height: 1rem;
	background: linear-gradient(to right, #16a085, #f4d03f);
}

#contact .contact-map {
	flex: 1 1 auto;
	min-height: 20rem;
	border-radius: 1rem;
	box-shadow: 0 0 0 1px rgba(255, 255, 255, .7);
}

.contact-form { 
	display: flex;
	flex-wrap: wrap;
	margin: 0 -.8rem 4rem;
}
.contact-form > * { padding: 1.6rem 2rem; }
.contact-form input, .contact-form textarea, .contact-form select {
	width: 100%;
	height: 4.8rem;
	background: #ffffff;
	border: 1px solid #ffffff;
	border-radius: .5rem;
	box-shadow: 0 2px 2px rgba(140, 140, 140, .25);
	transition: box-shadow .25s ease-in, border .25s ease-in;
	margin: 0 .8rem 2rem;
}

.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus {
	border-color: #7cb665; box-shadow: 0 2px 4px rgba(124, 182, 101, .25);
}

.contact-form input:hover, .contact-form textarea:hover, .contact-form select:hover {
	border-color: rgba(124, 182, 101, .7);
}

.contact-form input { flex: 1 1 28rem; }
.contact-form textarea { min-height: 9rem; resize: vertical; }
.contact-form select { padding: 0.8rem 2rem; }

.contact-form button {
	margin-left: auto !important;
	width: 20rem;
	height: 4.8rem;
	font-family: Montserrat, sans-serif;
	font-weight: 500;
	font-size: 1.5rem;
	text-align: center;
	color: #ffffff;
	background: #7cb665;
	padding: 0;
	border-radius: 100px;
	transition: background .5s, border-color .5s, box-shadow .5s;
}

.contact-form button:hover { background: #a1be59; }

.contact-address-details { margin: 0 .8rem; flex: 0 0 32rem; }
.contact-address-details li {
	display: block;
	position: relative;
	font-size: 1.8rem;
	margin-bottom: 1.2rem;
	padding-left: 3.2rem;
}

.contact-address-details li i {
	position: absolute;
	left: 0;
	top: .5rem;
	width: 2rem;
	font-size: 2rem;
	text-align: center;
	color: #17a085;
}
		
@media (max-width: 767px) {
	#contact .container { flex-direction: column; max-width: 60rem; }
	.contact-form button { margin: auto; }
	
	.contact-address-details {
		display: flex;
		flex-wrap: wrap;
		order: 1;
		flex: 1 1 auto;
		margin-bottom: 4rem;
	}
	
	.contact-address-details li { padding-left: 0; flex: 1 1 16rem; text-align: center; }
	.contact-address-details li i {
		position: static;
		display: block;
		font-size: 3.2rem;
		margin: 0 auto .4rem;
	}
}

#modal-article {
	position: fixed;
	overflow: auto;
	overscroll-behavior: contain;
	padding-top: 4rem;
	padding-bottom: 4rem;
	z-index: 64;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	background: rgba(231, 236, 235, .7);
	pointer-events: none;
	transform: translateX(-100%);
	opacity: 0;
	transition: transform 0s linear 1s, opacity 1s;
}

#modal-article.visible {
	pointer-events: all;
	transform: none;
	opacity: 1;
	transition: transform 0s linear 0s, opacity 1s;
}
	
#modal-article .article-item {
	opacity: 0;
	transform: translateY(8rem);
	transition: transform 1s, opacity 1s;
}

#modal-article.visible .article-item {
	opacity: 1;
	transform: none;
	transition: transform 1s ease .5s, opacity 1s ease .5s;
}

#modal-article .article-item button.article-back {
	text-align: left;
	font-size: 2rem;
	margin-bottom: -2rem;
	font-weight: 600;
}
		
#modal-article .article-item.article-item-expanded p.article-excerpt {
	font-weight: 600;
	margin-bottom: 1em;
}

@media (max-width: 639px) {
	#modal-article,
	#modal-article .container { padding: 0; }
	#modal-article .card { border-radius: 0; }
	#modal-article .article-item button.article-back {
		margin-top: 0;
		margin-bottom: 0;
		font-size: 1.6rem;
		width: 100%;
	}
}

.person-description { padding-bottom: 64px; }

.person-description iframe,
.person-description .person-description-widget {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 8px;
	padding: 0 8px;
}

#twoj-psycholog-widget a {
	max-width: 100% !important;
}

#wpadminbar { display: none; }

.rodoterror { color: #17a085; cursor: pointer; }
.emphasis {  color: #17a085; }
.line-separator {
	margin: 4rem 0;
	border: none;
	border-top: 1px solid #EEEEEE;
}

.offer-price-box {
    display: flex;
}

.offer-price:not(.show-prices) .for-minutes {
    display: none;
}

@media (min-width: 768px) { .price-box-time { display: none; } }
.offer-price-box { display: flex; }
.for-minutes {
    font-size: 24px;
    font-weight: bold;
    margin-top: 16px;
}

@media (max-width: 767px) {
	.offer-price-box { flex-direction: column; } 
	.for-minutes { display: none; }
}

.offer-price .price-box-price {
	font-weight: bold;
}

.for-minutes {
	margin-top: -.5rem;
	display: block !important;
}

.price-box-elements {
	line-height: 1.25;
	font-size: 2.8rem;
	font-weight: bold;
	text-align: center;
	text-transform: uppercase;
	display: flex;
	align-items: center;
}

.price-box-elements > div:empty {
	width: 4rem;
	height: 4px;
	margin: 2rem;
	border-radius: 16px;
	background: rgb(255 255 255 / 75%);
}

@media (max-width: 767px) {
	.price-box-elements {
		flex-direction: column;
		margin-bottom: 20px;
	}

	.price-box-elements > div:empty {
		width: 8rem;
		margin: 1.5rem;
	}	
}

@media (max-width: 639px) {
	.offer-price.show-prices {
		padding-bottom: 14rem;
	}	
}

.price-box-elements,
.offer-price .price-box-price,
.for-minutes {
	opacity: 0;
	transition: 0.3s ease;
}

.show-prices .price-box-elements,
.show-prices .price-box-price,
.show-prices .for-minutes {
	opacity: 1 !important;
}

#p-nav .nav-main > li {
	display: inline;
}
