#main, .page-content, .offer {
	overflow: visible;
}
.top-block {
	display: grid;
	grid-template-columns: repeat(2,1fr);
	height: 560px;
	border-radius: 40px;
	background: #FFF;
	border: 2px solid #EEE;
}
.top-block>* {
	position: relative;
	padding: 60px;
	border-radius: 40px;
	overflow: hidden;
}
.top-block h1 {
	color: #000;
	margin-top: 8px;
}
.top-block h1>span {
	color: #4DADD3;
}
.top-block>:first-child {
	display: flex;
	flex-direction: column;
}
.top-block>:last-child {
	padding-left: 0;
}
.top-block>:last-child>* {
	height: 100%;
	position: relative;
	background: url('../img/training-center/top-img.webp') center no-repeat;
	background-size: cover;
	border: 16px solid #FFF;
	border-radius: 40px;
}
.top-block>:last-child:before {
	position: absolute;
	content: '';
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background: #4DADD3;
	clip-path: url('#crv-1');
}
h5 {
	font-size: 15px;
	font-weight: 600;
	text-align: center;
}
.courses {
	display: flex;
	justify-content: space-between;
	margin-top: auto;
}
.courses>* {
	cursor: pointer;
	text-align: center;
}
.courses .emoji {
	display: inline-block;
	height: 80px;
	padding: 16px;
	border-radius: 20px;
	background-color: gray;
}
.courses>:nth-child(1) .emoji {
	background-color: #D34946;
}
.courses>:nth-child(2) .emoji {
	background-color: #33A167;
}
.courses>:nth-child(3) .emoji {
	background-color: #1877F2;
}
.courses h4 {
	margin-top: 16px;
}
.courses p {
	margin: 0 0 24px;
}
.ellis {
	display: grid;
	grid-template-columns: 80px auto 50%;
	align-items: center;
	gap: 40px;
	margin: 40px;
	padding: 40px;
	color: #FFF;
	background: #1877F2;
	border-radius: 40px;
}
.ellis>* {
	margin: 0;
}
.ellis .ea-logo {
	height: 80px;
	padding: 10px;
	border-radius: 50%;
	background-color: #FFF;
	background-size: 48px;
}
.ellis p {
	font-size: 18px;
}
.descr {
	display: grid;
	grid-template-columns: repeat(4,1fr);
	gap: 20px;
	margin: 40px;
}
.descr>* {
	padding: 40px;
	background: #FFF;
	border-radius: 40px;
}
.descr .emoji {
	width: 88px;
	height: 76px;
	background-size: 50px;
	background-position: center;
	background-color: #eee;
	border-radius: 50%;
}
.descr>:nth-child(1) .emoji {
	background-color: #64BDFC;
}
.descr>:nth-child(2) .emoji {
	background-color: #F7832D;
}
.descr>:nth-child(3) .emoji {
	background-color: #694EA9;
}
.descr>:nth-child(4) .emoji {
	background-color: #33A167;
}
.descr p {
	margin: 12px 0 0;
}
.offer {
	display: grid;
	grid-template-columns: 240px auto;
	gap: 80px;
	position: relative;
}
.offer>:first-child {
	background: #FFF;
}
.offer>:last-child {
	display: grid;
	gap: 40px;
	position: relative;
}
.sticky {
	position: sticky;
	top: 160px;
	display: grid;
	gap: 16px;
}
.sticky>* {
	border-radius: 16px;
	background: var(--smok);
	overflow: hidden;
	cursor: pointer;
	white-space: nowrap;
}
.sticky p {
	font-weight: 700;
	line-height: 1.2;
	margin: 0;
}
.stick-choice.active p {
	color: #FFF;
}
.stick-choice>:first-child {
	aspect-ratio: 2;
	background-size: cover;
}
[choice-id="lifeguard"]>.img {
	background-image: url('../img/training-center/lifeguard.webp');
}
[choice-id="first_aid"]>.img {
	background-image: url('../img/training-center/first_aid.webp');
}
[choice-id="swimming"]>.img {
	background-image: url('../img/training-center/swimming.webp');
}
.stick-choice>:last-child {
	display: grid;
	grid-template-columns: auto 96px;
	gap: 8px;
	padding: 16px;
}
.stick-choice>:last-child>:last-child {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 32px;
	color: #000;
	background: #fff;
	border-radius: 16px;
}
.the_course {
	position: relative;
	padding: 60px;
	border-radius: 40px;
	background: var(--smok);
	overflow: hidden;
}
.the_course:before {
	position: absolute;
	content: '';
	top: 0;
	left: 0;
	width: 100%;
	aspect-ratio: 2;
	clip-path: url('#crv-3');
}
.lifeguard.active,
#lifeguard:before, #lifeguard h1 {
	background: #D34946;
}
.first_aid.active,
#first_aid:before, #first_aid h1 {
	background: #33A167;
}
.swimming.active,
#swimming:before, #swimming h1 {
	background: #1877F2;
}
.course_img {
	width: 100%;
	aspect-ratio: 2;
	position: relative;
	border: 16px solid #FFF;
	border-radius: 32px;
	background-size: cover;
	background-position: center;
}
#lifeguard>.course_img {
	background-image: url('../img/training-center/lifeguard.webp');
}
#first_aid>.course_img {
	background-image: url('../img/training-center/first_aid.webp');
}
#swimming>.course_img {
	background-image: url('../img/training-center/swimming.webp');
}
.the_course h1 {
	display: inline-block;
	margin-top: 32px;
	padding: 12px 20px;
	border-radius: 20px;
}
.the_course h4 {
	font-weight: 600;
}
.the_course h4 {
	font-weight: 600;
	margin: 20px 0 40px;
}
.includes, .product {
	display: grid;
	grid-template-columns: repeat(2,1fr);
	gap: 8px 12px;
	margin-top: 40px;
}
.includes>*, .product>* {
	background: #FFF;
	border-radius: 20px;
	overflow: hidden;
}
.includes>* {
	height: 64px;
	position: relative;
	display: flex;
	align-items: center;
	padding: 20px 40px;
}
.includes>:before {
	position: absolute;
	content: '';
	left: 20px;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #000;
}
.includes p {
	margin: 0;
	font-weight: 700;
}
.includes .emoji {
	position: absolute;
	right: 0;
	bottom: 0;
	height: 44px;
}
.product>* {
	display: flex;
	flex-direction: column;
	padding: 32px;
	align-items: flex-start;
}
.product h3 {
	margin-bottom: 32px;
}
.facilities {
	display: flex;
	flex-wrap: wrap;
	gap: 16px 60px;
	margin: auto 0 60px;
}
.facilities p {
	display: flex;
	align-items: center;
	font-size: 12px;
	font-weight: 700;
	margin: 0;
}
.facilities .emoji {
	display: inline-block;
	height: 20px;
	margin-right: 6px;
}
.reserve {
	display: flex;
	align-items: center;
	gap: 16px;
	width: 100%;
}
.reserve>* {
	flex: 1 0 50%;
}
a.book_course {
	padding: 0 16px;
}
.reserve h4 {
	font-weight: 800;
	margin: 0;
}
.reserve h4 {
	color: #D34946;
}
.reserve p {
	margin: 0;
}
.photo {
	display: grid;
	gap: 32px;
	grid-template-rows: 5fr 4fr 4fr;
	grid-template-areas: 'a a a' 'b b c' 'd e e';
	aspect-ratio: .96;
}
.photo>* {
	background: #eee;
	border-radius: 32px;
	background-size: cover;
	background-position: center;
}
.photo>:nth-child(1) {
	grid-area: a;
	background-image: url('../img/training-center/ph1.webp');
}
.photo>:nth-child(2) {
	grid-area: b;
	background-image: url('../img/training-center/ph2.webp');
	transform: rotate(-.5deg);
}
.photo>:nth-child(3) {
	grid-area: c;
	background-image: url('../img/training-center/ph3.webp');
	transform: rotate(1deg);
}
.photo>:nth-child(4) {
	grid-area: d;
	background-image: url('../img/training-center/ph4.webp');
	transform: rotate(1deg);
}
.photo>:nth-child(5) {
	grid-area: e;
	background-image: url('../img/training-center/ph5.webp');
	transform: rotate(-.5deg);
}
.booking {
	overflow: visible;
}
form {
	display: grid;
	grid-template-rows: repeat(4,48px) 56px auto;
	gap: 12px;
	margin-top: 32px;
}
form {
	display: grid;
	grid-template-columns: repeat(2,300px);
	grid-template-rows: repeat(4,48px) 56px auto;
	grid-template-areas: 'a b' 'c d' 'e e' 'f f' 'g g' 'h h';
	gap: 12px;
	margin: 32px auto 0;
	width: fit-content;
}
form>* {
	position: relative;
	background: var(--smok);
	border-radius: 8px;
	display: flex;
	align-items: center;
}
form>:nth-child(1) {
	grid-area: a;
}
form>:nth-child(2) {
	grid-area: b;
}
form>:nth-child(3) {
	grid-area: c;
}
form>:nth-child(4) {
	grid-area: d;
}
form>:nth-child(5) {
	grid-area: e;
}
form>:nth-child(6) {
	grid-area: f;
}
form>:nth-child(7) {
	grid-area: g;
	justify-content: space-between;
	padding: 0 8px 0 48px;
}
form>:nth-child(8) {
	grid-area: h;
	display: block;
	background: none;
}
form>:before {
	display: block;
	position: absolute;
	left: 0;
	width: 24px;
	height: 24px;
	padding: 12px;
	z-index: 1;
}
form>:nth-child(1):before {
	content: url('../img/icons/user.svg');
}
form>:nth-child(2):before {
	content: url('../img/icons/home.svg');
}
form>:nth-child(3):before {
	content: url('../img/icons/email.svg');
}
form>:nth-child(4):before {
	content: url('../img/icons/phone.svg');
}
form>:nth-child(5):before {
	content: url('../img/icons/list.svg');
}
form>:nth-child(6):before {
	content: url('../img/icons/date.svg');
}
form>:nth-child(7):before {
	content: url('../img/icons/people.svg');
}
input {
	width: 100%;
	height: 100%;
	background: transparent;
	padding-left: 48px;
	border: none;
	border-radius: 8px;
}
input:focus {
	background:#F6F9FF!important;
	outline:0;
}
input::-webkit-input-placeholder {
	font-size:15px;
	color:#8C8C8C;
	text-overflow:ellipsis;
}
.invalid input:required:invalid {
	background:#FEE !important;
	outline: 1px solid #E00;
}
.invalid input:required:valid {
	background: #EFE !important;
	outline: 1px solid #0E0;
}
.intl-tel-input {
	height:100%;
}
.intl-tel-input .selected-flag {
	margin-right:12px;
}
.form-control {
	cursor: pointer;
}
.count {
	display: grid;
	grid-template-columns: repeat(3,40px);
	grid-template-rows: 40px;
	background: #FFF;
	border-radius: 8px;
}
.count>* {
	display:flex;
	align-items:center;
	justify-content:center;
}
#num_guests {
	width:auto;
	padding:0;
	font-size:15px;
	text-align:center;
	-webkit-appearance:textfield;
}
input.number::-webkit-outer-spin-button,input.number::-webkit-inner-spin-button {
	-webkit-appearance:none;
	margin:0;
}
a.change {
	background-size: 12px;
	background-position: center;
	background-repeat: no-repeat;
	text-decoration: none;
	color: #4DADD3;
}
a.uk-button {
	position:relative;
	width:100%;
	height:100%;
	display:flex;
	align-items:center;
	justify-content:space-between;
	border:none;
	box-shadow:none!important;
	z-index:1;
}
a.select {
	padding-left: 48px;
	background: transparent !important;
	text-align: left;
	line-height: 1;
}
a.uk-button i {
  font-size: 24px;
  color: #4DADD3;
}
.uk-dropdown {
	width:100%;
	margin-top:1px;
	border-radius:8px;
}
.uk-nav>li>a {
	padding-left:16px;
}
[name="course"] {
	position:absolute;
	top:0;
	right:0;
	left:0;
	bottom:0;
	color:transparent;
	border-radius:8px;
}
a.request {
	display: flex;
}

.small {
	font-size: 12px;
}
.pale {
	color: var(--pale);;
}

@media (max-width: 480px) {
.top-block {
	height: auto;
	border-radius: 24px;
	grid-template-columns: auto;
}
.top-block>* {
	padding: 40px;
	border-radius: 24px;
}
.top-block>:last-child {
	padding: 0 24px 32px;
}
.top-block>:last-child:before {
	clip-path: url('#crv-2');
}
.top-block>:last-child>* {
	height: auto;
	aspect-ratio: 1;
	border-width: 12px;
	border-radius: 24px;
}
.top-block h1 {
	margin: 0;
}
.ellis {
	grid-template-columns: auto;
	grid-template-rows: 80px auto auto;
	gap: 17px;
	margin: 24px 16px;
	padding: 40px 32px;
	border-radius: 20px;
}
.ellis-logo {
	width: 80px;
}
.descr {
	grid-template-columns: auto;
	gap: 16px;
	margin: 24px 16px;
}
.descr>* {
	padding: 32px;
	border-radius: 20px;
}
.offer {
	grid-template-columns: auto;
	gap: 40px;
	padding: 0;
	background: none;
}
.offer>:first-child {
	position: absolute;
	width: 100%;
	height: 100%;
	background: transparent;
}
.offer>:last-child {
	top: 90px;
	padding-bottom: 90px;
}
.sticky {
	top: 130px;
	grid-template-columns: repeat(3,1fr);
	gap: 8px;
	padding: 12px 8px;
	background: #FFF;
	border-radius: 16px;
	z-index: 1;
}
.stick-choice>:first-child {
	display: none;
}
.stick-choice>:last-child {
	display: flex;
	justify-content: center;
	padding: 10px;
}
.sticky span {
	display: none;
}
.the_course {
	padding: 32px 20px;
	border-radius: 20px;
	background: #FFF;
}
.the_course:before {
	aspect-ratio: 1.2;
}
.course_img {
	aspect-ratio: 1.4;
	border: 12px solid #FFF;
	border-radius: 20px;
}
.includes {
	grid-template-columns: auto;
}
.includes>*, .product>* {
	background: var(--smok);
}
.product {
	grid-template-columns: repeat(2, 70vw);
	margin-right: -16px;
	padding-right: 16px;
	overflow-x: auto;
}
.product {
	&::-webkit-scrollbar {
		display: none;
	}
}
.facilities {
	margin-bottom: 40px;
}
.reserve {
	flex-direction: column-reverse;
	gap: 16px;
	align-items: flex-start;
	width: 100%;
}
a.book_course {
	width: 100%;
	flex: auto;
}
.photo {
	gap: 16px;
	grid-template-rows: repeat(3,1fr);
	grid-template-areas: 'a a ' 'b c' 'd d';
	aspect-ratio: .65;
}
.photo>* {
	border-radius: 24px;
	transform: none !important;
}
.photo>:nth-child(1) {
	background-image: url('../img/training-center/ph1m.webp');
}
.photo>:nth-child(2) {
	grid-area: b;
	background-image: url('../img/training-center/ph2m.webp');
}
.photo>:nth-child(3) {
	background-image: url('../img/training-center/ph3m.webp');
}
.photo>:nth-child(4) {
	background-image: url('../img/training-center/ph4m.webp');
}
.photo>:nth-child(5) {
	display: none;
}
.booking {
	display: block;
}
.booking h2, .booking p {
	text-align: center;
}
form {
	width: 100%;
	grid-template-columns: 1fr;
	grid-template-rows: repeat(6,48px) 56px auto;
	grid-template-areas: 'a' 'b' 'c' 'd' 'e' 'f' 'g' 'h';
	margin: 24px 0 0;
}

}