body {
	overflow-y: auto;
}

a, a:hover {
	color: inherit;
}


.c-header {
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	background-color: #fff;
	min-height: 60px;
	color: #000;
}

.c-header__phone {
	padding-left: 0;
	padding-right: 0;
	border-radius: 0;
	background: none;
}

.c-header__inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.logo {
	font-size: 20px;
	line-height: 140%;
	font-weight: 700;
	color: inherit;
	transition: 0.3s ease;
}

.logo:hover {
	color: inherit;
	opacity: 0.8;
}

.phone {
	transition: 0.3s ease;
	font-weight: 300;
	font-size: 20px;
	line-height: 140%;
	height: 60px;
	color: #222222;
	background-color: #fff;
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 0 10px;
	border-radius: 10px;
	white-space: nowrap;
}

.phone:hover {
	color: var(--theme-color-primary);
}






.mejs__controls {
	display: none;
}
#content .page-embed iframe {
	box-shadow: none;
}
.media-player.playing .top-line {
	padding: 0 10px;
}

#ucp-page .frames .frame {
	transition: all 0.5s cubic-bezier(0.96, 0.04, 0.18, 0.98);
}


.c-footer {
	padding: 36px 0;
	text-align: center;
	color: #fff;
}

.c-footer::before {
	content: "";
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	height: 60%;
	background-color: var(--theme-color-primary);
}

.c-footer .container {
	z-index: 2;
	position: relative;
}



#ucp-page .frames .frame .media-player {
	background-color: var(--bg-color);
}

.media-player .response .form form,
#ucp-page .frames .frame .media-player .response .poll{
	margin-top: auto;
	margin-bottom: auto;
	flex-shrink: 0;
}

.contacts__label {
	color: rgba(255, 255, 255, 0.7);
	font-size: 12px;
	line-height: 140%;
}

#content {
	z-index: 1;
	background-color: transparent;
}


.contacts__content {
	margin-top: 8px;
}

.contacts__item + .contacts__item {
	margin-top: 20px;
}

.messengers {
	display: flex;
	justify-content: center;
	align-items: center;
}

.messenger {
	background-color: #fff;
	border-radius: 10px;
	width: 50px;
	height: 50px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 5px;
	color: var(--theme-color-primary);
	transition: 0.3s ease-out;
}

.messenger:hover {
	opacity: 0.8;
	color: #1A1A1A;
}

.contacts {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.contacts__phone {
	width: 240px;
}

.contacts__address {
	font-size: 16px;
	line-height: 140%;
}

.c-footer__links a {
	text-decoration: underline;
	transition: 0.3s ease-out;
	font-size: 14px;
	line-height: 140%;
}

.c-footer__links a:hover {
	opacity: 0.8;
}

.c-footer__links {
	margin-top: 20px;
}

/* override for all themes */
.theme-dark, .theme-light {
	--topline-bg-color: #1A1A1A;
	--topline-text-color: #fff;
	--topline-btn-bg-color: rgba(0, 0, 0, 0.08);
	--topline-btn-text-color: #fff;
}

/** Only desktop **/
@media all and (min-width: 800px) {
	/* override for all themes */
	.theme-dark, .theme-light {
		--bg-color: #fff;
		--text-color: #000;
		--content-bg-color: #fff;
		--content-text-color: #1A1A1A;
	}

	.c-header {
		min-height: 100px;
	}

	.logo {
		font-size: 40px;
	}

	.phone {
		font-size: 28px;
	}

	#ucp-page .frames .frame .media-player .response.choice {
		top: 0;
	}

	#ucp-page .frames .frame .media-player,
	#ucp-page .frames .frame .media-player .response.choice {
		background-color: #ebebeb;
	}

	.media-player .response .form {
		min-height: auto;
	}

	#content .page-embed iframe {
		border-radius:0;
	}

	#content .page-embed {
		max-width: 920px;
		height: 665px;
		background: url("../img/ipad_wallpapper.png") 50% 50% no-repeat;
	}

	.contacts__phone {
		width: 280px;
	}
}



@media screen and (min-width: 920px) {
	#content .page-embed .iframe-wrapper {
		padding: 33px;
	}
}
