@font-face {
	font-family: 'HelveticaNeueCyrLight';
	src: url('../fonts/HelveticaNeueCyrLight.eot');
	src: url('../fonts/HelveticaNeueCyrLight.eot') format('embedded-opentype'),
		 url('../fonts/HelveticaNeueCyrLight.woff2') format('woff2'),
		 url('../fonts/HelveticaNeueCyrLight.woff') format('woff'),
		 url('../fonts/HelveticaNeueCyrLight.ttf') format('truetype'),
		 url('../fonts/HelveticaNeueCyrLight.svg#HelveticaNeueCyrLight') format('svg');
}

[data-tooltip-hook="#popup:regform"],
[data-tooltip-hook="#popup:login"],
[data-tooltip-hook="#popup:resetpass"] {
	display: none !important;
}

.t-menu-base__button a.js-auth-email .t-btnflex__text {
	max-width: 220px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	display: inline-block;
	vertical-align: middle;
}

#popupLayoutID {
	position: fixed;
	z-index: 11100;
	top: 0;
	left: 0;
	width: 100%;
	min-width: 0;
	height: 100%;
	background: rgba(0,17,17,0.7);
	text-align: center;
	font-family: 'HelveticaNeueCyrLight', Arial, Helvetica, sans-serif;
	line-height: 30px;
	font-size: 18px;
	color: #333;
	display: flex;
	align-items: flex-start;
	justify-content: center;
	overflow: auto;
	padding: 24px 16px;
	box-sizing: border-box;
}

#popupLayoutID:before {
	content: none;
	display: none;
}

#popupLayoutID .popup-layout__inner {
	display: block;
	vertical-align: top;
	height: auto;
	width: 100%;
	max-width: 400px;
	margin: auto;
	overflow: visible;
}

#popupLayoutID .popup-layout__inner:before {
	content: none;
	display: none;
}

#popupLayoutID .clearfix:before,
#popupLayoutID .clearfix:after {
	content: '';
	display: table;
}

#popupLayoutID .clearfix:after {
	clear: both;
}

#popupLayoutID .popup {
	display: block;
	vertical-align: top;
	position: relative;
	width: 100%;
	max-width: 400px;
	margin: 0 auto;
	background: #f0f0f0;
	overflow: hidden;
	box-sizing: border-box;
}

#popupLayoutID .popup *,
#popupLayoutID .popup *::before,
#popupLayoutID .popup *::after {
	box-sizing: border-box !important;
}

#popupLayoutID .popup__close {
	position: absolute;
	z-index: 11;
	top: 10px;
	right: 5px;
	width: 30px;
	height: 30px;
	line-height: 30px;
	font-size: 20px;
	text-align: center;
	color: #999;
	font-family: Tahoma;
	text-decoration: none;
}

#popupLayoutID .popup__close:hover {
	text-decoration: none;
	color: #333;
}

#popupLayoutID .popup__title {
	padding: 30px;
	text-align: center;
	background: #fff;
	border-bottom: 1px solid #ddd;
}

#popupLayoutID .popup__content {
	padding: 40px;
	text-align: left;
	box-sizing: border-box;
}

#popupLayoutID .popup__content form,
#popupLayoutID .user-form,
#popupLayoutID .login-form {
	display: block;
	width: 100%;
	max-width: 100%;
}

#popupLayoutID .popup__inner-link {
	color: #333;
	border-bottom: 1px dashed #333;
	text-decoration: none;
}

#popupLayoutID .popup__inner-link:hover {
	border: 0;
	text-decoration: none;
}

#popupLayoutID a {
	color: #33cc66;
	text-decoration: none;
}

#popupLayoutID a:hover {
	text-decoration: underline;
}

#popupLayoutID .button {
	position: relative;
	z-index: 2;
	display: block;
	margin: 0;
	padding: 0 20px;
	height: 50px;
	line-height: 50px;
	font-size: 18px;
	text-align: center;
	color: #ffffff;
	background: #33cc66;
	border: 0;
	border-radius: 0;
	text-decoration: none;
	font-family: 'HelveticaNeueCyrLight', Arial, Helvetica, sans-serif;
	cursor: pointer;
	-webkit-appearance: none;
	transition: all 0.2s;
	width: 100%;
	max-width: 100%;
	min-width: 0;
	box-sizing: border-box;
}

#popupLayoutID .button:hover {
	color: #ffffff;
	background: #19b04b;
	text-decoration: none;
}

#popupLayoutID .button_block {
	display: block;
}

#popupLayoutID .button_disabled,
#popupLayoutID .button_disabled:hover {
	color: #000;
	background: #dadada;
	text-decoration: none;
	cursor: default;
	opacity: 0.4;
	box-sizing: border-box;
}

#popupLayoutID .button_red {
	color: #fff;
	background: #ff3333;
}

#popupLayoutID .button_red:hover {
	color: #fff;
	background: #ee3333;
}

#popupLayoutID .button_green {
	color: #fff;
	background: #33cc66;
}

#popupLayoutID .user-form__row {
	display: block;
	width: 100%;
	max-width: 100%;
	margin: 0 0 20px;
}

/* Tilda задаёт input { width: 320px; box-sizing: content-box }.
   Кнопка должна занимать ту же колонку, что и поля: 100% родителя, padding внутри ширины. */
#popupLayoutID .popup input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]),
#popupLayoutID .popup .button {
	display: block !important;
	width: 100% !important;
	max-width: 100% !important;
	min-width: 0 !important;
	box-sizing: border-box !important;
}

/* SMS: «Код» слева, «Выслать» справа — не растягивать кнопку на всю ширину */
#popupLayoutID .user-form__row_type_sms-code {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	margin-bottom: 20px;
}

#popupLayoutID .user-form__row_type_sms-code .user-form__row {
	float: none;
	width: 150px;
	flex: 0 0 150px;
	margin: 0;
}

#popupLayoutID .user-form__row_type_sms-code .button {
	float: none;
	display: inline-block !important;
	width: auto !important;
	max-width: none !important;
	flex: 0 0 auto;
	padding: 0 20px;
}

/* intlTelInput: флаг слева, текст не должен под него заезжать */
#popupLayoutID .intl-tel-input {
	display: block;
	width: 100%;
}

#popupLayoutID .intl-tel-input input.user-form__input-text,
#popupLayoutID .intl-tel-input input {
	padding-left: 52px !important;
	width: 100% !important;
}

#popupLayoutID .user-form__input-text {
	display: block;
	margin: 0;
	padding: 0 20px;
	width: 100%;
	height: 50px;
	line-height: 50px;
	font-size: 18px;
	font-family: 'HelveticaNeueCyrLight', Arial, Helvetica, sans-serif;
	color: #333;
	background: #fff;
	border: 1px solid #ddd;
	box-sizing: border-box;
	border-radius: 0;
}

#popupLayoutID .user-form__input-text:focus {
	border-color: #bbb;
}

#popupLayoutID .user-form__input-text.error {
	border-color: #ff2c2d;
}

#popupLayoutID .user-form__error {
	margin: -13px 0 33px;
	color: #ff3333;
}

#popupLayoutID .login-form {
	margin: 0 0 -20px;
}

#popupLayoutID .login-form__remember-link {
	margin: -7px 0 33px;
	text-align: center;
	line-height: 18px;
	font-size: 12px;
	color: #999;
}

#popupLayoutID .login-form__remember-link .popup__inner-link {
	color: #999;
	border-color: #999;
}

#popupLayoutID .login-form__oferta {
	margin: -7px 0 15px;
	line-height: 18px;
	font-size: 12px;
	color: #999;
}

#popupLayoutID .login-form__oferta_type_error {
	color: #f33;
}

#popupLayoutID .login-form__oferta_type_sms {
	display: none;
}

#popupLayoutID .login-form__sms {
	float: left;
	width: 100%;
	padding-top: 7px;
}

#popupLayoutID .login-tab-link.active {
	border-bottom: 0;
	text-decoration: none;
	cursor: text;
}


#popupLayoutID .margin-bottom_10px {
	margin-bottom: 10px;
}

#popupLayoutID .margin-bottom_20px {
	margin-bottom: 20px;
}

#popupLayoutID .g-recaptcha {
	margin-bottom: 20px;
}
