/*
Theme Name: Dr Alkema Theme
Theme URI: https://dralkema.ru
Author: Project Team
Description: WordPress theme adapted from current project layout.
Version: 1.0.0
Text Domain: dralkema
*/

.main_nav ul li.current-menu-item > a,
.main_nav ul li.current_page_item > a
{
	color: #57ccc3 !important;
}

.menu_nav ul li.current-menu-item > a,
.menu_nav ul li.current_page_item > a
{
	color: #1befc5 !important;
}

.footer_nav ul li.current-menu-item > a,
.footer_nav ul li.current_page_item > a
{
	color: #57ccc3 !important;
}

.header_phone a
{
	display: block;
	width: 100%;
	height: 100%;
	line-height: inherit;
	font-size: inherit;
	font-weight: inherit;
	color: inherit;
	text-decoration: none;
	-webkit-text-shadow: none;
	text-shadow: none;
}

.menu_link a,
.cta_phone a,
.contact_list a,
.direct_line_num a,
.contact_info ul li > div:last-of-type a
{
	color: inherit;
	text-decoration: none;
	-webkit-text-shadow: none;
	text-shadow: none;
}

.direct_line_num a
{
	display: block;
	width: 100%;
	height: 100%;
	line-height: inherit;
	font-size: inherit;
	font-weight: inherit;
}

.header_phone a:hover,
.menu_link a:hover,
.cta_phone a:hover,
.contact_list a:hover,
.direct_line_num a:hover,
.contact_info ul li > div:last-of-type a:hover
{
	color: inherit;
	text-decoration: none;
}

.logo a > div:first-child img
{
	display: block;
	width: auto;
	max-width: 100%;
	max-height: 52px;
}

.header.scrolled .logo a > div:first-child img
{
	max-height: 40px;
}

.footer_logo a > div:first-child img
{
	display: block;
	width: auto;
	max-width: 100%;
	max-height: 52px;
}

.dralkema-live-shortcuts
{
	position: fixed;
	right: 20px;
	top: 96px;
	z-index: 9999;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.admin-bar .dralkema-live-shortcuts
{
	top: 128px;
}

.dralkema-live-shortcut
{
	display: inline-flex;
	align-items: center;
	justify-content: flex-start;
	min-height: 40px;
	padding: 0 12px 0 6px;
	border-radius: 20px;
	background: rgba(53, 130, 196, 0.95);
	color: #FFFFFF;
	text-decoration: none;
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22);
	transition: transform 150ms ease, background-color 150ms ease;
}

.dralkema-live-shortcut:hover
{
	color: #FFFFFF;
	text-decoration: none;
	transform: translateY(-1px);
	background: rgba(37, 110, 170, 0.95);
}

.dralkema-live-shortcut-icon
{
	width: 28px;
	height: 28px;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: rgba(255, 255, 255, 0.22);
	margin-right: 8px;
}

.dralkema-live-shortcut-label
{
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.02em;
	line-height: 1;
}

.dralkema-editable-block
{
	outline: 1px dashed transparent;
	outline-offset: -1px;
	transition: outline-color 160ms ease;
}

.dralkema-editable-block:hover
{
	outline-color: rgba(53, 130, 196, 0.55);
}

.dralkema-editable-block-relative
{
	position: relative !important;
}

.dralkema-block-pencil
{
	position: absolute;
	top: 10px;
	right: 10px;
	z-index: 120;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 32px;
	min-width: 32px;
	padding: 0 10px;
	border-radius: 16px;
	background: rgba(53, 130, 196, 0.95);
	color: #FFFFFF;
	text-decoration: none;
	box-shadow: 0 5px 16px rgba(0, 0, 0, 0.2);
	opacity: 0.9;
	transform: translateY(0);
	transition: opacity 160ms ease, transform 160ms ease, background-color 160ms ease;
}

.dralkema-editable-block:hover > .dralkema-block-pencil,
.dralkema-block-pencil:focus
{
	opacity: 1;
	transform: translateY(0);
}

.logged-in .dralkema-block-pencil
{
	opacity: 0.95;
}

.dralkema-block-pencil:hover
{
	color: #FFFFFF;
	text-decoration: none;
	background: rgba(37, 110, 170, 0.95);
}

.dralkema-block-pencil i
{
	font-size: 13px;
	line-height: 1;
}

.dralkema-block-pencil-label
{
	margin-left: 6px;
	font-size: 11px;
	font-weight: 700;
	line-height: 1;
	white-space: nowrap;
}

@media only screen and (max-width: 767px)
{
	.dralkema-live-shortcuts
	{
		right: 12px;
		top: auto;
		bottom: 14px;
	}

	.admin-bar .dralkema-live-shortcuts
	{
		top: auto;
		bottom: 14px;
	}

	.dralkema-live-shortcut-label
	{
		font-size: 12px;
	}

	.dralkema-block-pencil
	{
		opacity: 1;
	}

	.dralkema-block-pencil-label
	{
		display: none;
	}
}
