:root {
	--layout-header-height: 84px;
	--layout-mobile-header-height: 80px;
}

.pageContainer {display: flex; flex-direction: column; min-height: 100vh;}

/* Header */
header {
	position: sticky; top: 0; z-index: 3; height: var(--layout-mobile-header-height);
	margin-bottom: 1rem; box-shadow: 0 -4px 20px 0 rgba(0,0,0,0.2); background-color: #fff;
}
header .line {display: flex; align-items: center;}

header .logo {flex-grow: 1; margin: 0; text-align: center;}
header .logo img {width: auto; height: 60px; margin: 10px 0;}
header .logo:hover img {filter: brightness(1.2);}

header .member i {display: block; width: 80px; text-align: center; font-size: 2rem;}
header .member.logged {position: relative;}
header .member.logged .menu {
	position: fixed; top: var(--layout-mobile-header-height); left: 0; z-index: 40;
	display: flex; flex-direction: column; width: 100%; border-top: 2px solid #ddd;
	background: #f5f5f5; transform: translateX(-100%); transition: transform .25s;
}
header .member.logged .menu.active {transform: translateX(0);}
header .member.logged .menu a {
	padding: 1.5rem; border-bottom: 2px solid #ddd;
	text-align: center; font-size: 1.8rem; font-weight: bold;
}

header .icon-menu {
	display: flex; justify-content: center; align-items: center;
	position: relative; width: 80px; height: 80px; overflow: hidden; cursor: pointer;
}
header .icon-menu svg {position: absolute; width: 80px; height: 80px; transition: transform 400ms;}
header .icon-menu svg .line {
	fill: none; stroke: #525252; stroke-width: 5.5; stroke-linecap: round;
	transition: stroke-dasharray 400ms, stroke-dashoffset 400ms;
}
header .icon-menu svg .line.top {stroke-dasharray: 40 160; transform: translateY(3px);}
header .icon-menu svg .line.middle {stroke-dasharray: 40 142; transform-origin: 50%; transition: transform 400ms;}
header .icon-menu svg .line.bottom {stroke-dasharray: 40 85; transform-origin: 50%; transform: translateY(-2px);}

header .icon-menu.active svg {transform: rotate(45deg);}
header .icon-menu.active svg .line.top {stroke-dashoffset: -64px; transform: translateY(0);}
header .icon-menu.active svg .line.middle {transform: rotate(90deg);}
header .icon-menu.active svg .line.bottom {stroke-dashoffset: -64px; transform: translateY(0);}

header + aside {
	display: flex; flex-direction: column; overflow: auto;
	position: fixed; top: var(--layout-mobile-header-height); right: 0; z-index: 40;
	width: 100%; height: calc(100% - var(--layout-mobile-header-height)); padding: 1rem;
	box-sizing: border-box; background: #f5f5f5; transform: translateX(100%);
	border-top: 2px solid #ddd;
}
header + aside.transition {transition: transform .25s;}
header + aside.active {transform: translateX(0);}

header + aside .menuMain {display: flex; flex-direction: column; width: 100%;}
header + aside .menuMain a {
	padding: 1rem 0; border-radius: 12px; color: var(--blue-main);
	text-align: center; font-size: 1.8rem; font-weight: bold;
}
header + aside .menuMain a[disabled] {background-color: var(--blue-lightest); pointer-events: none;}
header + aside .menuMain a.switch {width: 50%; margin: 1rem auto;}
header + aside .menuMain a.switch.events {background-color: #f9ecff; color: #aa1fea;}
header + aside .menuMain a.switch.care {background-color: #e6f0ff; color: #2b75e0;}
header + aside .menuMain .dropdown {
	display: flex; flex-direction: column; margin: 1rem 0;
	padding: 1rem 0; border-radius: 12px; background-color: #ddd;
}

header + aside .menuSub {display: flex; gap: 1rem; width: 100%; margin: 1rem 0; padding: 1rem;}
header + aside .menuSub a {
	width: 32%; text-align: center; padding: 1rem 0;
	border-radius: 12px; background-color: var(--green-main);
	font-weight: bold; font-size: 20px; color: #fff;
}
header + aside .menuSub a[disabled] {background-color: var(--green-dark); color: #fff;}

header + aside .socialIcons {
	display: flex; gap: 10px; margin: auto;
	border-radius: 25px 0 0 25px; overflow: hidden;
}
header + aside .socialIcons i {
	display: block; width: 50px; height: 50px;
	border-radius: 50%; background-color: #fff;
	text-align: center; line-height: 54px; font-size: 1.6rem; color: var(--blue-main);
}
header + aside .socialIcons > *:hover i {background-color: var(--blue-main); color: #fff;}
header + aside .socialIcons .phone {display: flex;}
header + aside .socialIcons .phone div {
	display: flex; align-items: center;
	margin-left: -187px; padding: 0 1rem 0 58px;
	border-radius: 25px; background-color: white;
	font-size: 1.2rem; transition: margin 0.5s;
}
header + aside .socialIcons .phone:hover div {margin-left: -50px;}

header + aside + .column {padding-left: 1rem; padding-right: 1rem;}

@media screen and (min-width: 40em) {
	header {
		position: sticky; top: 0; z-index: 3; margin-bottom: 2rem;
		height: var(--layout-header-height); padding: 0 2rem;
		background-color: #253B78; box-shadow: none;
	}
	header .line {gap: 2rem;}

	header .logo {
		flex-grow: unset; margin: 0; padding-top: 6px;
		height: var(--layout-header-height); text-align: left;
	}
	header .logo img {width: auto; height: 69px; margin: 0;}

	header .member {margin: 0 auto;}
	header .member i {width: 30px; color: #fff; cursor: pointer;}
	header .member i:hover {font-weight: bold;}
	header .member.logged {height: var(--layout-header-height);}
	header .member.logged .name {line-height: var(--layout-header-height); font-size: 18px; color: white; cursor: pointer;}
	header .member.logged .dropdown {
		display: flex; flex-direction: column;
		position: absolute; right: -45px; top: 60px;
		width: 140px; padding: 12px 0; opacity: 0;
		border-radius: 12px; background: white; box-shadow: 0 3px 13px #00000050;
		transform: perspective(400px) rotate3d(1, 0, 0, -90deg);
		transform-origin: 50% 0; transition: 350ms;
	}
	header .member.logged:hover .dropdown {opacity: 1; transform: perspective(400px) rotate3d(0, 0, 0, 0);}
	header .member.logged .dropdown a {padding: 0 1rem; line-height: 2rem; text-align: center; font-size: 20px;}
	header .member.logged .dropdown a:hover {background-color: var(--blue-main); color: white;}

	header .menuMain {display: flex; gap: 1.5rem; margin: 0 0 0 auto;}
	header .menuMain > div > a {
		display: flex; align-items: center; width: max-content; height: var(--layout-header-height);
		line-height: 1.2; text-align: center; font-size: 14px; font-weight: bold; color: white; position: relative;
	}
	header .menuMain > div:not(.solutions) > a:not(.active):hover:after {
		position: absolute; bottom: 0; left: 0; right: 0;
		content: ''; height: 3px; background-color: #fff;
	}
	header .menuMain a.active {color: #B995FF;}
	header .menuMain a.active:after {
		position: absolute; bottom: 0; left: 0; right: 0;
		content: ''; height: 3px; background-color: #B995FF;
	}

	header .menuMain .solutions {position: relative;}
	header .menuMain .dropdown {
		display: flex; flex-direction: column;
		position: absolute; right: -45px; top: 65px;
		width: max-content; padding: 12px 0; opacity: 0;
		border-radius: 12px; background: white; box-shadow: 0 3px 13px #00000050;
		transform: perspective(400px) rotate3d(1, 0, 0, -90deg);
		transform-origin: 50% 0; transition: 350ms;
	}
	header .menuMain .solutions:hover .dropdown {opacity: 1; transform: perspective(400px) rotate3d(0, 0, 0, 0);}
	header .menuMain .dropdown a {padding: 0 1rem; line-height: 2rem; text-align: center; font-size: 20px;}
	header .menuMain .dropdown a:hover {background-color: var(--blue-main); color: white;}
}

@media screen and (min-width: 1400px) {
	header .menuMain {gap: 1.7rem;}
	header .menuMain > div > a {font-size: 15px;}
}

@media screen and (min-width: 1600px) {
	header .menuMain {gap: 2rem;}
	header .menuMain > div > a {font-size: 16px;}
}

@media screen and (min-width: 1800px) {
	header .menuMain {gap: 2.3rem;}
	header .menuMain > div > a {font-size: 18px;}
}

/* Footer */
footer {
	display: flex; flex-direction: column; margin-top: auto;
	border-top: 1px solid #bbb; background-color: #15386A; color: #fff;
}

footer .form {padding: 2rem 2rem 0;}
footer .form .line {flex-direction: column; gap: 0;}
footer .form .line > * {width: 100% !important;}

footer .first {width: 100%; display: flex; flex-direction: column-reverse;}

footer .first .logo img {width: 50%;}
footer .first .contacts {padding: 1rem 0 2rem; text-align: center;}

footer .first .socials {
	display: flex; gap: 1rem; justify-content: center;
	margin: 1rem 0; padding: 2rem 0;
	border-width: 2px 0; border-style: solid; border-color: #042759;
}
footer .first .socials i {
	display: block; width: 50px; height: 50px;
	border: 1px solid #ccc; border-radius: 50%;
	text-align: center; line-height: 50px; font-size: 1.5rem; color: #ccc;
}

footer .first .therapies {display: flex; flex-direction: column;}
footer .first .therapies a {line-height: 3rem; font-size: 1rem; color: #fff; text-align: center;}
footer .first .therapies a:not([disabled]):hover {text-decoration: underline; color: #979797;}
footer .first .therapies a[disabled] {font-weight: bold; color: #979797;}

footer .first .bottomMenu {
	display: flex; flex-direction: column; margin-bottom: 1rem;
	padding: 1rem 0; border-bottom: 2px solid #042759;
}
footer .first .bottomMenu a {line-height: 4rem; font-size: 1.2rem; color: #fff; text-align: center;}
footer .first .bottomMenu a[disabled] {font-weight: bold; color: #979797;}

footer .second {padding: 1.5rem 0; background-color: #042759;}
footer .second .columns:first-child {text-align: left;}
footer .second .columns div {height: 20px;}

@media screen and (min-width: 40em) {
	footer {
		background-image: url('../../image/footer.png?v=2');
		background-size: cover;
	}

	footer .form {padding: 6rem 0 0;}
	footer .form .line {flex-direction: row; gap: 1rem;}
	footer .form .line > * {width: 25% !important;}

	footer .first {display: block; padding: 6rem 0;}

	footer .first .logo img {width: 80%;}
	footer .first .contacts {margin-top: 3rem;}

	footer .first .socials {margin: 3rem 0 0 0; padding: 0; border: 0;}
	footer .first .socials i:hover {border-color: #979797; color: #979797;}

	footer .first .bottomMenu {margin-bottom: 0; padding: 0 .5rem; border-bottom: 0;}
	footer .first .bottomMenu a {line-height: 2rem; font-size: 1rem; text-align: right;}
	footer .first .bottomMenu a:not([disabled]):hover {text-decoration: underline; color: #979797;}

	footer .second {background-color: #04275966;}
}

/* Therapy Card */
.therapyCard {
	position: relative; transition: all .3s;
	margin-bottom: 1rem; padding: 3rem 0 2rem;
	border-radius: 30px; border: 2px solid var(--green-main);
	background-color: #fff; box-shadow: 0 3px 6px #00000029;
}
.therapyCard:hover {
	background: #f7f7ff;
	box-shadow: 0 5px 10px #00000040;
	border-color: color-mix(in srgb, var(--green-main) 85%, black);
}
.therapyCard a {
	position: absolute; top: -2px; right: -2px; border-radius: 30px;
	width: calc(100% + 4px); height: calc(100% + 4px);
}
.therapyCard .icon {
	width: 80px; height: 80px; margin: 0 auto 1rem;
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
}
.therapyCard._1 .icon {background-image: url('../../image/component/therapy-card-icon-1.png?r=1'); width: 106px;}
.therapyCard._2 .icon {background-image: url('../../image/component/therapy-card-icon-2.png?r=1');}
.therapyCard._3 .icon {background-image: url('../../image/component/therapy-card-icon-3.png?r=1');}
.therapyCard._4 .icon {background-image: url('../../image/component/therapy-card-icon-4.png?r=1');}
.therapyCard._5 .icon {background-image: url('../../image/component/therapy-card-icon-5.png?r=1');}
.therapyCard._6 .icon {background-image: url('../../image/component/therapy-card-icon-6.png?r=1');}
.therapyCard._7 .icon {background-image: url('../../image/component/therapy-card-icon-7.png?r=1');}
.therapyCard._8 .icon {background-image: url('../../image/component/therapy-card-icon-8.png?r=1');}
.therapyCard._9 .icon {background-image: url('../../image/component/therapy-card-icon-9.png?r=1');}
.therapyCard._10 .icon {background-image: url('../../image/component/therapy-card-icon-10.png?r=1');}

.therapyCard .title {text-align: center;}
.therapyCard .title span {
	line-height: 50px; padding: 0 1rem;
	font-size: 22px; font-weight: bold;/* color: #fff;*/
}
.therapyCard .title .ch {width: 22%; text-align: center; background-color: #d00; display: none;}
.therapyCard .title span:not(.ch) {width: 35%;}
.therapyCard .title span.en {text-align: left; font-size: 20px; border-right: 2px solid var(--green-light);}

/* Therapist Card */
.therapistCard {
	position: relative; transition: all .3s;
	display: flex; flex-direction: column-reverse; justify-content: flex-end;
	height: 300px; margin-bottom: 1rem; padding: 2rem;
	border-radius: 30px; border: 2px solid var(--green-main);
	background-color: #fff; box-shadow: 0 3px 6px #00000029;
}
.therapistCard:hover {
	background: #f7f7ff;
	box-shadow: 0 5px 10px #00000040;
	border-color: color-mix(in srgb, var(--green-main) 85%, black);
}
.therapistCard a {
	position: absolute; top: -2px; right: -2px; border-radius: 30px;
	width: calc(100% + 4px); height: calc(100% + 4px);
}
.therapistCard .photo {
	display: flex; align-items: center; justify-content: center;
}
.therapistCard .photo img {
	width: 100px; aspect-ratio: 1 / 1; object-fit: cover;
	border-radius: 50%;
}
.therapistCard .info {text-align: center;}
.therapistCard .info .name {
	margin-bottom: 0; line-height: 4rem;
	font-size: 22px; font-weight: bold;
}
.therapistCard .info .therapy {line-height: 1.5rem; font-size: 1rem;}
.therapistCard .info .therapy i {display: none;}

/* Course Card */
.course-card {
	position: relative; border-radius: 5px; overflow: hidden;
	background-color: white; box-shadow: 0 2px 4px 0 rgba(0, 0, 0, .2);
}
.course-card:hover {outline: 2px solid var(--green-main);}
.course-card .link {position: absolute; top: 0; left: 0; width: 100%; height: 100%;}
.course-card .image {width: 100%; height: 150px; object-fit: cover;}
.course-card .sticker {
	position: absolute; top: 0; left: 0; padding: .5rem 1rem; border-radius: 0 0 5px 0;
	background-color: #ffffff99; color: var(--green-dark); font-weight: bold; font-size: 1rem;
}
.course-card .title {
	display: flex; align-items: center; width: 90%; height: 54px; overflow: hidden;
	margin: .5rem auto 0; font-size: 1.2rem; font-weight: bold; color: var(--green-dark);
}
.course-card .description {width: 90%; height: 54px; overflow: hidden; margin: .5rem auto 1rem; line-height: 1.3;}
.course-card hr {width: 90%; margin: 0.5rem auto;}
.course-card .details,
.course-card .prices {display: flex; flex-direction: row; align-items: center; width: 90%;}
.course-card .details {height: 2rem; margin: 0 auto;}
.course-card .details div {width: 25%; text-align: center;}
.course-card .details div:first-child {width: 50%;}
.course-card .details div p {margin: 0; line-height: 1; font-weight: bold; font-size: 1rem;}
.course-card .details div.lecturer p:first-child {font-weight: normal; font-size: 14px; color: var(--green-main);}
.course-card .prices {align-items: start; margin: .5rem auto 1rem;}
.course-card .prices div {width: 50%; display: flex; flex-direction: column; align-items: center;}
.course-card .prices div span:not(.price) {font-size: 14px; color: var(--green-main);}
.course-card .prices div span.price {font-size: 1.2rem;}
.course-card .prices div.soon {flex-direction: row; justify-content: center; gap: .5rem; width: 100%; height: 33px;}
.course-card .prices div.soon i {display: block; width: 20px; font-size: 20px;}
.course-card .prices div.soon span {font-size: 1rem;}

/* Workshop Card */
.workshop-card {
	position: relative; border-radius: 5px; overflow: hidden;
	background-color: white; box-shadow: 0 2px 4px 0 rgba(0, 0, 0, .2);
}
.workshop-card:hover {outline: 2px solid var(--green-main);}
.workshop-card .link {position: absolute; top: 0; left: 0; width: 100%; height: 100%;}
.workshop-card .image {width: 100%; height: 150px; object-fit: cover;}
.workshop-card .sticker {
	position: absolute; top: 0; left: 0; padding: .5rem 1rem; border-radius: 0 0 5px 0;
	background-color: #ffffff99; color: var(--green-dark); font-weight: bold; font-size: 1rem;
}
.workshop-card .title {
	display: flex; align-items: center; width: 90%; height: 54px; overflow: hidden;
	margin: .5rem auto 0; font-size: 1.2rem; font-weight: bold; color: var(--green-dark);
}
.workshop-card .description {width: 90%; height: 54px; overflow: hidden; margin: .5rem auto 1rem; line-height: 1.3;}
.workshop-card hr {width: 90%; margin: 0.5rem auto;}
.workshop-card .details,
.workshop-card .prices {display: flex; flex-direction: row; align-items: center; width: 90%;}
.workshop-card .details {height: 2rem; margin: 0 auto;}
.workshop-card .details div {width: 25%; text-align: center;}
.workshop-card .details div:first-child {width: 50%;}
.workshop-card .details div p {margin: 0; line-height: 1; font-weight: bold; font-size: 1rem;}
.workshop-card .details div.lecturer p:first-child {font-weight: normal; font-size: 14px; color: var(--green-main);}
.workshop-card .prices {align-items: start; margin: .5rem auto 1rem;}
.workshop-card .prices div {width: 50%; display: flex; flex-direction: column; align-items: center;}
.workshop-card .prices div span:not(.price) {font-size: 14px; color: var(--green-main);}
.workshop-card .prices div span.price {font-size: 1.2rem;}
.workshop-card .prices div.soon {flex-direction: row; justify-content: center; gap: .5rem; width: 100%; height: 33px;}
.workshop-card .prices div.soon i {display: block; width: 20px; font-size: 20px;}
.workshop-card .prices div.soon span {font-size: 1rem;}
