- if($arParams['PROGRAM'] !== "" && !is_null($arParams['PROGRAM'])): ?>
-
if(!$arParams['top_banners']): ?>
else: ?>
diff --git a/local/iblock_edit_form_advertising.php b/local/iblock_edit_form_advertising.php
new file mode 100644
index 0000000..30080be
--- /dev/null
+++ b/local/iblock_edit_form_advertising.php
@@ -0,0 +1,1865 @@
+BeginPrologContent();
+ CJSCore::Init(array('date'));
+
+ //TODO: this code only for old html editor. Need remove after final cut old editor
+ if (
+ $bFileman
+ && Main\Config\Option::get('iblock', 'use_htmledit') === 'Y'
+ && Main\Config\Option::get('fileman', 'use_editor_3', 'Y') !== 'Y'
+ )
+ {
+ echo '
';
+ CFileMan::AddHTMLEditorFrame("SOME_TEXT", "", "SOME_TEXT_TYPE", "text",
+ array('height' => 450, 'width' => '100%'),
+ "N", 0, "", "", $arIBlock["LID"]
+ );
+ echo '
';
+ }
+
+ if($arTranslit["TRANSLITERATION"] == "Y")
+ {
+ CJSCore::Init(array('translit'));
+ ?>
+
+
+ }
+ ?>
+
+
+ $tabControl->EndPrologContent();
+
+ $tabControl->BeginEpilogContent();
+
+echo bitrix_sessid_post();
+echo GetFilterHiddens("find_");?>
+
+
+
+
+
+0 && !$bCopy)
+{
+ ?>
+}
+if ($bCopy)
+{
+ ?>
+}
+elseif ($copyID > 0)
+{
+ ?>
+}
+
+if ($bCatalog)
+{
+ CCatalogAdminTools::showFormParams();
+}
+//TODO: $IBLOCK_SECTION_ID - it's crutch
+?>
+
+
+
+$tabControl->EndEpilogContent();
+
+$customTabber->SetErrorState($bVarsFromForm);
+
+$arEditLinkParams = array(
+ "find_section_section" => $find_section_section
+);
+if ($bAutocomplete)
+{
+ $arEditLinkParams['lookup'] = $strLookup;
+}
+if ($adminSidePanelHelper->isPublicFrame())
+{
+ $arEditLinkParams["IFRAME"] = "Y";
+ $arEditLinkParams["IFRAME_TYPE"] = "PUBLIC_FRAME";
+}
+$tabControl->Begin(array(
+ "FORM_ACTION" => $urlBuilder->getElementSaveUrl(null, $arEditLinkParams)
+));
+
+$tabControl->BeginNextFormTab();
+ if($ID > 0 && !$bCopy)
+ {
+ $p = CIblockElement::GetByID($ID);
+ $pr = $p->ExtractFields("prn_");
+ }
+ else
+ {
+ $pr = array();
+ }
+
+if ($ID > 0 && !$bCopy)
+{
+ if (Loader::includeModule('crm'))
+ {
+ $importProduct = \Bitrix\Crm\Order\Import\Internals\ProductTable::getRow([
+ 'select' => ['SETTINGS'],
+ 'filter' => [
+ '=PRODUCT_ID' => CIBlockElement::GetRealElement($ID),
+ ],
+ ]);
+
+ if (!empty($importProduct))
+ {
+ $accountName = !empty($importProduct['SETTINGS']['account_name']) ? $importProduct['SETTINGS']['account_name'] : '';
+ $linkToProduct = !empty($importProduct['SETTINGS']['permalink']) ? $importProduct['SETTINGS']['permalink'] : '';
+
+ $tabControl->BeginCustomField('IMPORTED_FROM', GetMessage('IBLOCK_IMPORT_FROM').':');
+ ?>
+
+ =$tabControl->GetCustomLabelHTML()?>
+
+
+
+ =$accountName?>
+ =($linkToProduct ? "".GetMessage('IBLOCK_LINK_TO_MEDIA')." " : '')?>
+
+
+
+ $tabControl->EndCustomField('IMPORTED_FROM', '');
+ }
+ }
+}
+
+$tabControl->BeginCustomField("ID", "ID:");
+if ($ID > 0 && !$bCopy)
+{
+ ?>
+ GetCustomLabelHTML()?>
+
+
+}
+$tabControl->EndCustomField("ID", '');
+
+$tabControl->BeginCustomField("DATE_CREATE", GetMessage("IBLOCK_FIELD_CREATED").":");
+if ($ID > 0 && !$bCopy)
+{
+ if ($str_DATE_CREATE <> ''):?>
+
+ echo $tabControl->GetCustomLabelHTML() ?>
+ echo $str_DATE_CREATE ?>
+ if (intval($str_CREATED_BY) > 0):
+ if (!$adminSidePanelHelper->isPublicSidePanel()):
+ ?> [ echo $str_CREATED_BY ?> ]
+ endif;
+ $rsUser = CUser::GetByID($str_CREATED_BY);
+ $arUser = $rsUser->Fetch();
+ if ($arUser):
+ echo ' '.CUser::FormatName($nameFormat, $arUser, false, true);
+ endif;
+ endif;
+ ?>
+
+ EndCustomField("DATE_CREATE", '');
+
+$tabControl->BeginCustomField("TIMESTAMP_X", GetMessage("IBLOCK_FIELD_LAST_UPDATED").":");
+if ($ID > 0 && !$bCopy)
+{
+ ?>
+ echo $tabControl->GetCustomLabelHTML() ?>
+ echo $str_TIMESTAMP_X; ?>
+ if (intval($str_MODIFIED_BY) > 0):
+ if (!$adminSidePanelHelper->isPublicSidePanel()):
+ ?> [ echo $str_MODIFIED_BY ?> ]
+ endif;
+ if (intval($str_CREATED_BY) != intval($str_MODIFIED_BY))
+ {
+ $rsUser = CUser::GetByID($str_MODIFIED_BY);
+ $arUser = $rsUser->Fetch();
+ }
+ if ($arUser)
+ {
+ echo ' ' . CUser::FormatName($nameFormat, $arUser, false, true);
+ }
+ endif ?>
+
+}
+$tabControl->EndCustomField("TIMESTAMP_X", '');
+
+$tabControl->AddCheckBoxField("ACTIVE", GetMessage("IBLOCK_FIELD_ACTIVE").":", false, array("Y","N"), $str_ACTIVE=="Y");
+$tabControl->BeginCustomField("ACTIVE_FROM", GetMessage("IBLOCK_FIELD_ACTIVE_PERIOD_FROM"), $arIBlock["FIELDS"]["ACTIVE_FROM"]["IS_REQUIRED"] === "Y");
+?>
+
+ GetCustomLabelHTML()?>:
+
+
+
+$tabControl->EndCustomField("ACTIVE_FROM", '
');
+$tabControl->BeginCustomField("ACTIVE_TO", GetMessage("IBLOCK_FIELD_ACTIVE_PERIOD_TO"), $arIBlock["FIELDS"]["ACTIVE_TO"]["IS_REQUIRED"] === "Y");
+?>
+
+ GetCustomLabelHTML()?>:
+
+
+
+
+$tabControl->EndCustomField("ACTIVE_TO", '
');
+
+if($arTranslit["TRANSLITERATION"] == "Y")
+{
+ $tabControl->BeginCustomField("NAME", GetMessage("IBLOCK_FIELD_NAME").":", true);
+ ?>
+
+ GetCustomLabelHTML()?>
+
+ " class="linked" src="/bitrix/themes/.default/icons/iblock/" onclick="set_linked()" />
+
+
+
+ $tabControl->EndCustomField("NAME",
+ '
'
+ );
+
+ $tabControl->BeginCustomField("CODE", GetMessage("IBLOCK_FIELD_CODE").":", $arIBlock["FIELDS"]["CODE"]["IS_REQUIRED"] === "Y");
+ ?>
+
+ GetCustomLabelHTML()?>
+
+ " class="linked" src="/bitrix/themes/.default/icons/iblock/" onclick="set_linked()" />
+
+
+
+ $tabControl->EndCustomField("CODE",
+ '
'
+ );
+}
+else
+{
+ $tabControl->AddEditField("NAME", GetMessage("IBLOCK_FIELD_NAME").":", true, array("size" => 70, "maxlength" => 255), $str_NAME);
+ $tabControl->AddEditField("CODE", GetMessage("IBLOCK_FIELD_CODE").":", $arIBlock["FIELDS"]["CODE"]["IS_REQUIRED"] === "Y", array("size" => 70, "maxlength" => 255), $str_CODE);
+}
+
+if (
+ $arShowTabs['sections']
+ && $arIBlock["FIELDS"]["IBLOCK_SECTION"]["DEFAULT_VALUE"]["KEEP_IBLOCK_SECTION_ID"] === "Y"
+)
+{
+ $arDropdown = array();
+ if ($str_IBLOCK_ELEMENT_SECTION)
+ {
+ $sectionList = CIBlockSection::GetList(
+ array("left_margin"=>"asc"),
+ array("=ID"=>$str_IBLOCK_ELEMENT_SECTION),
+ false,
+ array("ID", "NAME")
+ );
+ while ($section = $sectionList->Fetch())
+ $arDropdown[$section["ID"]] = htmlspecialcharsEx($section["NAME"]);
+ }
+ $tabControl->BeginCustomField("IBLOCK_ELEMENT_SECTION_ID", GetMessage("IBEL_E_MAIN_IBLOCK_SECTION_ID").":", false);
+ ?>
+
+ GetCustomLabelHTML()?>
+
+
+
+ $val):?>
+ >
+
+
+
+
+
+
+
+ $tabControl->EndCustomField("IBLOCK_ELEMENT_SECTION_ID",
+ '
'
+ );
+}
+
+if(COption::GetOptionString("iblock", "show_xml_id", "N")=="Y")
+{
+ if ($bCopy || $ID == 0)
+ {
+ $tabControl->BeginCustomField("XML_ID", GetMessage("IBLOCK_FIELD_XML_ID") . ":", $arIBlock["FIELDS"]["XML_ID"]["IS_REQUIRED"] === "Y");
+ ?>
+
+ =$tabControl->GetCustomLabelHTML(); ?>
+
+
+
+
+ $tabControl->EndCustomField("XML_ID", '
');
+ }
+ else
+ {
+ $tabControl->AddEditField("XML_ID", GetMessage("IBLOCK_FIELD_XML_ID") . ":", $arIBlock["FIELDS"]["XML_ID"]["IS_REQUIRED"] === "Y", array("size" => 70, "maxlength" => 255, "id" => "XML_ID"), $str_XML_ID);
+ }
+}
+
+$tabControl->AddEditField("SORT", GetMessage("IBLOCK_FIELD_SORT").":", $arIBlock["FIELDS"]["SORT"]["IS_REQUIRED"] === "Y", array("size" => 7, "maxlength" => 10), $str_SORT);
+
+if(!empty($PROP)):
+ if ($arIBlock["SECTION_PROPERTY"] === "Y" || defined("CATALOG_PRODUCT"))
+ {
+ $arPropLinks = array("IBLOCK_ELEMENT_PROP_VALUE");
+ if(is_array($str_IBLOCK_ELEMENT_SECTION) && !empty($str_IBLOCK_ELEMENT_SECTION))
+ {
+ foreach($str_IBLOCK_ELEMENT_SECTION as $section_id)
+ {
+ foreach(CIBlockSectionPropertyLink::GetArray($IBLOCK_ID, $section_id) as $PID => $arLink)
+ $arPropLinks[$PID] = "PROPERTY_".$PID;
+ }
+ }
+ else
+ {
+ foreach(CIBlockSectionPropertyLink::GetArray($IBLOCK_ID, 0) as $PID => $arLink)
+ $arPropLinks[$PID] = "PROPERTY_".$PID;
+ }
+ $tabControl->AddFieldGroup("IBLOCK_ELEMENT_PROPERTY", GetMessage("IBLOCK_ELEMENT_PROP_VALUE"), $arPropLinks, $bPropertyAjax);
+ }
+
+ $tabControl->AddSection("IBLOCK_ELEMENT_PROP_VALUE", GetMessage("IBLOCK_ELEMENT_PROP_VALUE"));
+
+ foreach($PROP as $prop_code=>$prop_fields):
+ $prop_values = $prop_fields["VALUE"];
+ $tabControl->BeginCustomField("PROPERTY_".$prop_fields["ID"], $prop_fields["NAME"], $prop_fields["IS_REQUIRED"]==="Y");
+ ?>
+
" class="adm-detail-file-row">
+ ">
+ endif;?>GetCustomLabelHTML();?>:
+ GetFormName(), $bCopy);?>
+
+
+ $hidden = "";
+ if(!is_array($prop_fields["~VALUE"]))
+ $values = Array();
+ else
+ $values = $prop_fields["~VALUE"];
+ $start = 1;
+ foreach($values as $key=>$val)
+ {
+ if($bCopy)
+ {
+ $key = "n".$start;
+ $start++;
+ }
+
+ if(is_array($val) && array_key_exists("VALUE",$val))
+ {
+ $hidden .= _ShowHiddenValue('PROP['.$prop_fields["ID"].']['.$key.'][VALUE]', $val["VALUE"]);
+ $hidden .= _ShowHiddenValue('PROP['.$prop_fields["ID"].']['.$key.'][DESCRIPTION]', $val["DESCRIPTION"] ?? '');
+ }
+ else
+ {
+ $hidden .= _ShowHiddenValue('PROP['.$prop_fields["ID"].']['.$key.'][VALUE]', $val);
+ $hidden .= _ShowHiddenValue('PROP['.$prop_fields["ID"].']['.$key.'][DESCRIPTION]', "");
+ }
+ }
+ $tabControl->EndCustomField("PROPERTY_".$prop_fields["ID"], $hidden);
+ endforeach;?>
+ 0 && !$bCopy))
+ {
+ $rsLinkedProps = CIBlockProperty::GetList(array(), array(
+ "PROPERTY_TYPE" => "E",
+ "LINK_IBLOCK_ID" => $IBLOCK_ID,
+ "ACTIVE" => "Y",
+ "FILTRABLE" => "Y",
+ ));
+ $arLinkedProp = $rsLinkedProps->GetNext();
+ if ($arLinkedProp && !$adminSidePanelHelper->isPublicSidePanel())
+ {
+ $linkedTitle = '';
+ $tabControl->BeginCustomField("LINKED_PROP", GetMessage("IBLOCK_ELEMENT_EDIT_LINKED"));
+ ?>
+
+ GetCustomLabelHTML();?>
+
+
+ if (defined('BX_PUBLIC_MODE') && BX_PUBLIC_MODE == 1)
+ $linkedTitle = htmlspecialcharsbx(GetMessage('IBLOCK_LINKED_ELEMENT_TITLE'));
+ do
+ {
+ $elements_name = (string)CIBlock::GetArrayByID($arLinkedProp["IBLOCK_ID"], "ELEMENTS_NAME");
+ if ($elements_name == '')
+ $elements_name = GetMessage("IBLOCK_ELEMENT_EDIT_ELEMENTS");
+ ?>
">
+
+ $href = $selfFolderUrl.htmlspecialcharsbx(CIBlock::GetAdminElementListLink($arLinkedProp["IBLOCK_ID"],
+ array('apply_filter'=>'Y', 'PROPERTY_'.$arLinkedProp["ID"]=>$ID, 'find_section_section' => -1)));
+ ?>
+
+
+ =htmlspecialcharsbx(CIBlock::GetArrayByID($arLinkedProp["IBLOCK_ID"], "NAME").": ".$elements_name);?>
+
+
+
+ }
+ while ($arLinkedProp = $rsLinkedProps->GetNext());
+ unset($linkedTitle);
+ $tabControl->EndCustomField("LINKED_PROP", "");
+ }
+ }
+
+$tabControl->BeginNextFormTab();
+$tabControl->BeginCustomField("PREVIEW_PICTURE", GetMessage("IBLOCK_FIELD_PREVIEW_PICTURE"), $arIBlock["FIELDS"]["PREVIEW_PICTURE"]["IS_REQUIRED"] === "Y");
+if($bVarsFromForm && !array_key_exists("PREVIEW_PICTURE", $_REQUEST) && $arElement)
+ $str_PREVIEW_PICTURE = intval($arElement["PREVIEW_PICTURE"]);
+?>
+
+ GetCustomLabelHTML()?>:
+
+ 0):
+ echo CFileInput::Show(
+ "PREVIEW_PICTURE",
+ $str_PREVIEW_PICTURE,
+ array(
+ "IMAGE" => "Y",
+ "PATH" => "Y",
+ "FILE_SIZE" => "Y",
+ "DIMENSIONS" => "Y",
+ "IMAGE_POPUP" => "Y",
+ "MAX_SIZE" => array(
+ "W" => COption::GetOptionString("iblock", "detail_image_size"),
+ "H" => COption::GetOptionString("iblock", "detail_image_size"),
+ )
+ )
+ );
+ else:
+ echo \Bitrix\Main\UI\FileInput::createInstance(array(
+ "name" => "PREVIEW_PICTURE",
+ "description" => true,
+ "upload" => true,
+ "allowUpload" => "I",
+ "medialib" => true,
+ "fileDialog" => true,
+ "cloud" => true,
+ "delete" => true,
+ "maxCount" => 1
+ ))->show(
+ ($bVarsFromForm ? $_REQUEST["PREVIEW_PICTURE"] : ($ID > 0 && !$bCopy ? $str_PREVIEW_PICTURE: 0)),
+ $bVarsFromForm
+ );
+ endif;?>
+
+
+
+$tabControl->EndCustomField("PREVIEW_PICTURE", "");
+$tabControl->BeginCustomField("PREVIEW_TEXT", GetMessage("IBLOCK_FIELD_PREVIEW_TEXT"), $arIBlock["FIELDS"]["PREVIEW_TEXT"]["IS_REQUIRED"] === "Y");
+?>
+
+ GetCustomLabelHTML()?>
+
+
+
+
+
+
+
+
+
+
+
+
+ 450,
+ 'width' => '100%'
+ ),
+ "N",
+ 0,
+ "",
+ "",
+ $arIBlock["LID"],
+ true,
+ false,
+ array(
+ 'toolbarConfig' => CFileMan::GetEditorToolbarConfig("iblock_".(defined('BX_PUBLIC_MODE') && BX_PUBLIC_MODE == 1 ? 'public' : 'admin')),
+ 'saveEditorKey' => $IBLOCK_ID,
+ 'hideTypeSelector' => $arIBlock["FIELDS"]["PREVIEW_TEXT_TYPE_ALLOW_CHANGE"]["DEFAULT_VALUE"] === "N",
+ )
+ );?>
+
+
+
+
+
+
+
+
+
+ > / >
+
+
+
+
+
+
+
+
+ EndCustomField("PREVIEW_TEXT",
+ '
'.
+ '
'
+);
+$tabControl->BeginNextFormTab();
+$tabControl->BeginCustomField("DETAIL_PICTURE", GetMessage("IBLOCK_FIELD_DETAIL_PICTURE"), $arIBlock["FIELDS"]["DETAIL_PICTURE"]["IS_REQUIRED"] === "Y");
+if($bVarsFromForm && !array_key_exists("DETAIL_PICTURE", $_REQUEST) && $arElement)
+ $str_DETAIL_PICTURE = intval($arElement["DETAIL_PICTURE"]);
+?>
+
+ GetCustomLabelHTML()?>:
+
+ 0):
+ echo CFileInput::Show(
+ "DETAIL_PICTURE",
+ $str_DETAIL_PICTURE,
+ array(
+ "IMAGE" => "Y",
+ "PATH" => "Y",
+ "FILE_SIZE" => "Y",
+ "DIMENSIONS" => "Y",
+ "IMAGE_POPUP" => "Y",
+ "MAX_SIZE" => array(
+ "W" => COption::GetOptionString("iblock", "detail_image_size"),
+ "H" => COption::GetOptionString("iblock", "detail_image_size"),
+ )
+ )
+ );
+ else:
+ echo \Bitrix\Main\UI\FileInput::createInstance(array(
+ "name" => "DETAIL_PICTURE",
+ "description" => true,
+ "upload" => true,
+ "allowUpload" => "I",
+ "medialib" => true,
+ "fileDialog" => true,
+ "cloud" => true,
+ "delete" => true,
+ "maxCount" => 1
+ ))->show(
+ $bVarsFromForm ? $_REQUEST["DETAIL_PICTURE"] : ($ID > 0 && !$bCopy? $str_DETAIL_PICTURE: 0),
+ $bVarsFromForm
+ );
+ endif;?>
+
+
+
+$tabControl->EndCustomField("DETAIL_PICTURE", "");
+$tabControl->BeginCustomField("DETAIL_TEXT", GetMessage("IBLOCK_FIELD_DETAIL_TEXT"), $arIBlock["FIELDS"]["DETAIL_TEXT"]["IS_REQUIRED"] === "Y");
+?>
+
+ GetCustomLabelHTML()?>
+
+
+
+
+
+
+
+
+
+
+
+
+ 450,
+ 'width' => '100%'
+ ),
+ "N",
+ 0,
+ "",
+ "",
+ $arIBlock["LID"],
+ true,
+ false,
+ array(
+ 'toolbarConfig' => CFileMan::GetEditorToolbarConfig("iblock_".(defined('BX_PUBLIC_MODE') && BX_PUBLIC_MODE == 1 ? 'public' : 'admin')),
+ 'saveEditorKey' => $IBLOCK_ID,
+ 'hideTypeSelector' => $arIBlock["FIELDS"]["DETAIL_TEXT_TYPE_ALLOW_CHANGE"]["DEFAULT_VALUE"] === "N",
+ )
+ );
+ ?>
+
+
+
+
+
+
+
+
+ > / >
+
+
+
+
+
+
+
+
+
+
+$tabControl->EndCustomField("DETAIL_TEXT",
+ '
'.
+ '
'
+);
+ $tabControl->BeginNextFormTab();
+ ?>
+
+ $tabControl->BeginCustomField("IPROPERTY_TEMPLATES_ELEMENT_META_TITLE", GetMessage("IBEL_E_SEO_META_TITLE"));
+ ?>
+
+ GetCustomLabelHTML()?>
+
+
+
+ $tabControl->EndCustomField("IPROPERTY_TEMPLATES_ELEMENT_META_TITLE",
+ IBlockInheritedPropertyHidden($IBLOCK_ID, "ELEMENT_META_TITLE", $str_IPROPERTY_TEMPLATES, "E", GetMessage("IBEL_E_SEO_OVERWRITE"))
+ );
+ ?>
+
+ $tabControl->BeginCustomField("IPROPERTY_TEMPLATES_ELEMENT_META_KEYWORDS", GetMessage("IBEL_E_SEO_META_KEYWORDS"));
+ ?>
+
+ GetCustomLabelHTML()?>
+
+
+
+ $tabControl->EndCustomField("IPROPERTY_TEMPLATES_ELEMENT_META_KEYWORDS",
+ IBlockInheritedPropertyHidden($IBLOCK_ID, "ELEMENT_META_KEYWORDS", $str_IPROPERTY_TEMPLATES, "E", GetMessage("IBEL_E_SEO_OVERWRITE"))
+ );
+ ?>
+
+ $tabControl->BeginCustomField("IPROPERTY_TEMPLATES_ELEMENT_META_DESCRIPTION", GetMessage("IBEL_E_SEO_META_DESCRIPTION"));
+ ?>
+
+ GetCustomLabelHTML()?>
+
+
+
+ $tabControl->EndCustomField("IPROPERTY_TEMPLATES_ELEMENT_META_DESCRIPTION",
+ IBlockInheritedPropertyHidden($IBLOCK_ID, "ELEMENT_META_DESCRIPTION", $str_IPROPERTY_TEMPLATES, "E", GetMessage("IBEL_E_SEO_OVERWRITE"))
+ );
+ ?>
+
+ $tabControl->BeginCustomField("IPROPERTY_TEMPLATES_ELEMENT_PAGE_TITLE", GetMessage("IBEL_E_SEO_ELEMENT_TITLE"));
+ ?>
+
+ GetCustomLabelHTML()?>
+
+
+
+ $tabControl->EndCustomField("IPROPERTY_TEMPLATES_ELEMENT_PAGE_TITLE",
+ IBlockInheritedPropertyHidden($IBLOCK_ID, "ELEMENT_PAGE_TITLE", $str_IPROPERTY_TEMPLATES, "E", GetMessage("IBEL_E_SEO_OVERWRITE"))
+ );
+ ?>
+
+ $tabControl->AddSection("IPROPERTY_TEMPLATES_ELEMENTS_PREVIEW_PICTURE", GetMessage("IBEL_E_SEO_FOR_ELEMENTS_PREVIEW_PICTURE"));
+ $tabControl->BeginCustomField("IPROPERTY_TEMPLATES_ELEMENT_PREVIEW_PICTURE_FILE_ALT", GetMessage("IBEL_E_SEO_FILE_ALT"));
+ ?>
+
+ GetCustomLabelHTML()?>
+
+
+
+ $tabControl->EndCustomField("IPROPERTY_TEMPLATES_ELEMENT_PREVIEW_PICTURE_FILE_ALT",
+ IBlockInheritedPropertyHidden($IBLOCK_ID, "ELEMENT_PREVIEW_PICTURE_FILE_ALT", $str_IPROPERTY_TEMPLATES, "E", GetMessage("IBEL_E_SEO_OVERWRITE"))
+ );
+ ?>
+
+ $tabControl->BeginCustomField("IPROPERTY_TEMPLATES_ELEMENT_PREVIEW_PICTURE_FILE_TITLE", GetMessage("IBEL_E_SEO_FILE_TITLE"));
+ ?>
+
+ GetCustomLabelHTML()?>
+
+
+
+ $tabControl->EndCustomField("IPROPERTY_TEMPLATES_ELEMENT_PREVIEW_PICTURE_FILE_TITLE",
+ IBlockInheritedPropertyHidden($IBLOCK_ID, "ELEMENT_PREVIEW_PICTURE_FILE_TITLE", $str_IPROPERTY_TEMPLATES, "E", GetMessage("IBEL_E_SEO_OVERWRITE"))
+ );
+ ?>
+
+ $tabControl->BeginCustomField("IPROPERTY_TEMPLATES_ELEMENT_PREVIEW_PICTURE_FILE_NAME", GetMessage("IBEL_E_SEO_FILE_NAME"));
+ ?>
+
+ GetCustomLabelHTML()?>
+
+
+
+ $tabControl->EndCustomField("IPROPERTY_TEMPLATES_ELEMENT_PREVIEW_PICTURE_FILE_NAME",
+ IBlockInheritedPropertyHidden($IBLOCK_ID, "ELEMENT_PREVIEW_PICTURE_FILE_NAME", $str_IPROPERTY_TEMPLATES, "E", GetMessage("IBEL_E_SEO_OVERWRITE"))
+ );
+ ?>
+
+ $tabControl->AddSection("IPROPERTY_TEMPLATES_ELEMENTS_DETAIL_PICTURE", GetMessage("IBEL_E_SEO_FOR_ELEMENTS_DETAIL_PICTURE"));
+ $tabControl->BeginCustomField("IPROPERTY_TEMPLATES_ELEMENT_DETAIL_PICTURE_FILE_ALT", GetMessage("IBEL_E_SEO_FILE_ALT"));
+ ?>
+
+ GetCustomLabelHTML()?>
+
+
+
+ $tabControl->EndCustomField("IPROPERTY_TEMPLATES_ELEMENT_DETAIL_PICTURE_FILE_ALT",
+ IBlockInheritedPropertyHidden($IBLOCK_ID, "ELEMENT_DETAIL_PICTURE_FILE_ALT", $str_IPROPERTY_TEMPLATES, "E", GetMessage("IBEL_E_SEO_OVERWRITE"))
+ );
+ ?>
+
+ $tabControl->BeginCustomField("IPROPERTY_TEMPLATES_ELEMENT_DETAIL_PICTURE_FILE_TITLE", GetMessage("IBEL_E_SEO_FILE_TITLE"));
+ ?>
+
+ GetCustomLabelHTML()?>
+
+
+
+ $tabControl->EndCustomField("IPROPERTY_TEMPLATES_ELEMENT_DETAIL_PICTURE_FILE_TITLE",
+ IBlockInheritedPropertyHidden($IBLOCK_ID, "ELEMENT_DETAIL_PICTURE_FILE_TITLE", $str_IPROPERTY_TEMPLATES, "E", GetMessage("IBEL_E_SEO_OVERWRITE"))
+ );
+ ?>
+
+ $tabControl->BeginCustomField("IPROPERTY_TEMPLATES_ELEMENT_DETAIL_PICTURE_FILE_NAME", GetMessage("IBEL_E_SEO_FILE_NAME"));
+ ?>
+
+ GetCustomLabelHTML()?>
+
+
+
+ $tabControl->EndCustomField("IPROPERTY_TEMPLATES_ELEMENT_DETAIL_PICTURE_FILE_NAME",
+ IBlockInheritedPropertyHidden($IBLOCK_ID, "ELEMENT_DETAIL_PICTURE_FILE_NAME", $str_IPROPERTY_TEMPLATES, "E", GetMessage("IBEL_E_SEO_OVERWRITE"))
+ );
+ ?>
+
+ $tabControl->AddSection("SEO_ADDITIONAL", GetMessage("IBLOCK_EL_TAB_MO"));
+ $tabControl->BeginCustomField("TAGS", GetMessage("IBLOCK_FIELD_TAGS").":", $arIBlock["FIELDS"]["TAGS"]["IS_REQUIRED"] === "Y");
+ ?>
+
+ GetCustomLabelHTML()?>
+
+ Fetch())
+ $arLID[] = $arSite["LID"];
+ echo InputTags("TAGS", htmlspecialcharsback($str_TAGS), $arLID, 'size="55"');
+ else:?>
+
+
+
+
+
+ $tabControl->EndCustomField("TAGS",
+ '
'
+ );
+
+ ?>
+
+BeginNextFormTab();
+
+ $tabControl->BeginCustomField("SECTIONS", GetMessage("IBLOCK_SECTION"), $arIBlock["FIELDS"]["IBLOCK_SECTION"]["IS_REQUIRED"] === "Y");
+ ?>
+
+
+
+ $l = CIBlockSection::GetTreeList(Array("IBLOCK_ID"=>$IBLOCK_ID), array("ID", "NAME", "DEPTH_LEVEL"));?>
+ GetCustomLabelHTML()?>
+
+
+ >
+
+ while($ar_l = $l->GetNext()):
+ ?>">
+ endwhile;
+ ?>
+
+
+
+
+ GetCustomLabelHTML()?>
+
+
+
+
+
+ GetCustomLabelHTML()?>
+
+
+
+
+ ..." onClick="jsUtils.OpenWindow('=$selfFolderUrl?>iblock_section_search.php?lang=&IBLOCK_ID=&n=input_IBLOCK_SECTION&m=y&iblockfix=y&tableId=iblocksection-=$IBLOCK_ID; ?>', 900, 700);">
+
+
+
+
+
+
+ $hidden = "";
+ if(is_array($str_IBLOCK_ELEMENT_SECTION))
+ foreach($str_IBLOCK_ELEMENT_SECTION as $section_id)
+ $hidden .= '
';
+ $tabControl->EndCustomField("SECTIONS", $hidden);
+endif;
+
+if ($arShowTabs['product'])
+{
+ $tabControl->BeginNextFormTab();
+ $tabControl->BeginCustomField(
+ 'PRODUCT',
+ $catalogTabNames[CCatalogAdminTools::TAB_PRODUCT]['NAME'],
+ false
+ );
+
+ $iblockEditProduct = $ID > 0 && !$bCopy
+ ? CIBlockElementRights::UserHasRightTo($IBLOCK_ID, $ID, 'element_edit_price')
+ : CIBlockSectionRights::UserHasRightTo($IBLOCK_ID, $MENU_SECTION_ID, 'element_edit_price')
+ ;
+
+ $allowEdit = false;
+ if ($iblockEditProduct)
+ {
+ $allowEdit = $ID > 0 && !$bCopy
+ ? $allowProductEdit
+ : $allowProductAdd
+ ;
+ }
+
+ $product = [
+ 'ID' => $ID,
+ 'IBLOCK_ID' => $IBLOCK_ID,
+ 'TYPE' => Catalog\ProductTable::TYPE_SKU,
+ ];
+ $productConfig = [
+ 'FROM_FORM' => $bVarsFromForm,
+ 'ALLOW_EDIT' => $allowEdit,
+ ];
+
+ echo CCatalogAdminTools::getSystemProductFieldsHtml($product, $productConfig);
+
+ $tabControl->EndCustomField('PRODUCT', '');
+}
+
+if ($arShowTabs['catalog'])
+{
+ $tabControl->BeginNextFormTab();
+ $tabControl->BeginCustomField(
+ 'CATALOG',
+ $catalogTabNames[CCatalogAdminTools::TAB_CATALOG]['NAME'],
+ true
+ );
+ include($_SERVER["DOCUMENT_ROOT"]."/bitrix/modules/catalog/admin/templates/product_edit.php");
+ $tabControl->EndCustomField("CATALOG", "");
+}
+
+if ($arShowTabs['sku'])
+{
+ $tabControl->BeginNextFormTab();
+ $tabControl->BeginCustomField('OFFERS', GetMessage("IBLOCK_EL_TAB_OFFERS"), false);
+ ?>
+
+ define('B_ADMIN_SUBELEMENTS',1);
+ define('B_ADMIN_SUBELEMENTS_LIST',false);
+
+ $intSubIBlockID = $arMainCatalog['IBLOCK_ID'];
+ $arSubIBlock = CIBlock::GetArrayByID($intSubIBlockID);
+ $arSubIBlock["SITE_ID"] = array();
+ $rsSites = CIBlock::GetSite($intSubIBlockID);
+ while($arSite = $rsSites->Fetch())
+ $arSubIBlock["SITE_ID"][] = $arSite["LID"];
+ $strSubIBlockType = $arSubIBlock['IBLOCK_TYPE_ID'];
+ $arSubIBlockType = CIBlockType::GetByIDLang($strSubIBlockType, LANGUAGE_ID);
+
+ $boolIncludeOffers = CIBlockRights::UserHasRightTo($intSubIBlockID, $intSubIBlockID, "iblock_admin_display");
+ $arSubCatalog = CCatalogSku::GetInfoByOfferIBlock($arMainCatalog['IBLOCK_ID']);
+ $boolSubCatalog = (!empty($arSubCatalog) && is_array($arSubCatalog));
+ if (!$boolCatalogRead && !$boolCatalogPrice)
+ $boolSubCatalog = false;
+
+ $boolSubWorkFlow = Bitrix\Main\Loader::includeModule("workflow") && $arSubIBlock["WORKFLOW"] != "N";
+ $boolSubBizproc = Bitrix\Main\Loader::includeModule("bizproc") && $arSubIBlock["BIZPROC"] != "N";
+
+ $intSubPropValue = (0 == $ID || $bCopy ? '-'.$TMP_ID : $ID);
+ $strSubTMP_ID = $TMP_ID;
+
+ $additionalParams = (defined("SELF_FOLDER_URL") ? "&public=y" : "");
+ $strSubElementAjaxPath = '/bitrix/tools/iblock/iblock_subelement_admin.php?WF=Y&IBLOCK_ID=' . $intSubIBlockID
+ . '&type='.urlencode($strSubIBlockType) . '&lang=' . LANGUAGE_ID
+ . '&find_section_section=0&find_el_property_' . $arSubCatalog['SKU_PROPERTY_ID']
+ . '='.(0 == $ID || $bCopy ? '-' . $TMP_ID : $ID)
+ . '&TMP_ID=' . urlencode($strSubTMP_ID)
+ . '&urlBuilderId=' . urlencode($urlBuilderId)
+ . $additionalParams
+ ;
+ if ($boolIncludeOffers && file_exists($_SERVER["DOCUMENT_ROOT"].'/bitrix/modules/iblock/admin/templates/iblock_subelement_list.php'))
+ {
+ require($_SERVER["DOCUMENT_ROOT"].'/bitrix/modules/iblock/admin/templates/iblock_subelement_list.php');
+ }
+ else
+ {
+ ShowError(GetMessage('IBLOCK_EL_OFFERS_ACCESS_DENIED'));
+ }
+ ?>
+ $tabControl->EndCustomField('OFFERS','');
+}
+
+if ($arShowTabs['product_set'])
+{
+ $tabControl->BeginNextFormTab();
+ $tabControl->BeginCustomField('PRODUCT_SET', GetMessage('IBLOCK_EL_PRODUCT_SET').':', false);
+ ?>
+
+ $intProductID = (0 < $ID ? CIBlockElement::GetRealElement($ID) : 0);
+
+ $arSets = false;
+ CCatalogAdminProductSetEdit::setProductFormParams(array('TYPE' => CCatalogProductSet::TYPE_SET));
+ if (0 < $intProductID)
+ {
+ $arSets = CCatalogProductSet::getAllSetsByProduct($intProductID, CCatalogProductSet::TYPE_SET);
+ if ($bCopy)
+ CCatalogAdminProductSetEdit::clearOwnerSet($arSets);
+ }
+ if (empty($arSets))
+ $arSets = CCatalogAdminProductSetEdit::getEmptySet($intProductID);
+
+ if ($bVarsFromForm)
+ CCatalogAdminProductSetEdit::getFormValues($arSets);
+ CCatalogAdminProductSetEdit::addEmptyValues($arSets);
+
+ CCatalogAdminProductSetEdit::showEditForm($arSets);
+ ?>
+ $tabControl->EndCustomField('PRODUCT_SET', '');
+}
+if ($arShowTabs['product_group'])
+{
+ $tabControl->BeginNextFormTab();
+ $tabControl->BeginCustomField('PRODUCT_GROUP', GetMessage('IBLOCK_EL_PRODUCT_GROUP').':', false);
+ ?>
+
+ $intProductID = (0 < $ID ? CIBlockElement::GetRealElement($ID) : 0);
+
+ $arSets = false;
+ CCatalogAdminProductSetEdit::setProductFormParams(array('TYPE' => CCatalogProductSet::TYPE_GROUP));
+ if (0 < $intProductID)
+ {
+ $arSets = CCatalogProductSet::getAllSetsByProduct($intProductID, CCatalogProductSet::TYPE_GROUP);
+ if ($bCopy)
+ CCatalogAdminProductSetEdit::clearOwnerSet($arSets);
+ }
+ if (empty($arSets))
+ $arSets = CCatalogAdminProductSetEdit::getEmptySet($intProductID);
+ if ($bVarsFromForm)
+ CCatalogAdminProductSetEdit::getFormValues($arSets);
+ CCatalogAdminProductSetEdit::addEmptyValues($arSets);
+
+ CCatalogAdminProductSetEdit::showEditForm($arSets);
+
+ ?>
+ $tabControl->EndCustomField('PRODUCT_GROUP', '');
+}
+if($arShowTabs['workflow']):?>
+
+ $tabControl->BeginNextFormTab();
+ $tabControl->BeginCustomField("WORKFLOW_PARAMS", GetMessage("IBLOCK_EL_TAB_WF_TITLE"));
+ if($pr["DATE_CREATE"] <> ''):
+ ?>
+
+
+
+ if (intval($pr["CREATED_BY"])>0):
+ ?> ["> ] =htmlspecialcharsex($pr["CREATED_USER_NAME"])?>
+ endif;
+ ?>
+
+
+ '' && !$bCopy):?>
+
+
+
+ if (intval($str_MODIFIED_BY)>0):
+ ?> [ ] =$str_USER_NAME?>
+ endif;
+ ?>
+
+
+ ''):?>
+
+
+
+ if (intval($prn_WF_LOCKED_BY)>0):
+ ?> [ ] =$prn_LOCKED_USER_NAME?>
+ endif;
+ ?>
+
+ EndCustomField("WORKFLOW_PARAMS", "");
+ if ($WF=="Y" || $view=="Y"):
+ $tabControl->BeginCustomField("WF_STATUS_ID", GetMessage("IBLOCK_FIELD_STATUS").":");
+ ?>
+
+ GetCustomLabelHTML()?>
+
+ 0 && !$bCopy):?>
+
+
+
+
+
+
+
+ if($ID > 0 && !$bCopy)
+ $hidden = '
';
+ else
+ {
+ $rsStatus = CWorkflowStatus::GetDropDownList("N", "desc");
+ $arDefaultStatus = $rsStatus->Fetch();
+ if($arDefaultStatus)
+ $def_WF_STATUS_ID = intval($arDefaultStatus["REFERENCE_ID"]);
+ else
+ $def_WF_STATUS_ID = "";
+ $hidden = '
';
+ }
+ $tabControl->EndCustomField("WF_STATUS_ID", $hidden);
+ endif;
+ $tabControl->BeginCustomField("WF_COMMENTS", GetMessage("IBLOCK_COMMENTS"));
+ ?>
+
+
+
+ $tabControl->EndCustomField("WF_COMMENTS", '
');
+endif;
+
+if ($arShowTabs['bizproc']):
+
+ $tabControl->BeginNextFormTab();
+
+ $tabControl->BeginCustomField("BIZPROC_WF_STATUS", GetMessage("IBEL_E_PUBLISHED"));
+ ?>
+
+ =GetMessage("IBEL_E_PUBLISHED")?>:
+ =($str_BP_PUBLISHED=="Y"?GetMessage("MAIN_YES"):GetMessage("MAIN_NO"))?>
+
+
+ $tabControl->EndCustomField("BIZPROC_WF_STATUS", '');
+
+ ob_start();
+ $required = false;
+ CBPDocument::AddShowParameterInit(MODULE_ID, "only_users", DOCUMENT_TYPE);
+
+ $bizProcIndex = 0;
+ if (!isset($arDocumentStates))
+ {
+ $arDocumentStates = CBPDocument::GetDocumentStates(
+ array(MODULE_ID, ENTITY, DOCUMENT_TYPE),
+ ($ID > 0) ? array(MODULE_ID, ENTITY, $ID) : null
+ );
+ }
+ foreach ($arDocumentStates as $arDocumentState)
+ {
+ $bizProcIndex++;
+ if ($arDocumentState["ID"] <> '')
+ {
+ $canViewWorkflow = CBPDocument::CanUserOperateDocument(
+ CBPCanUserOperateOperation::ViewWorkflow,
+ $USER->GetID(),
+ array(MODULE_ID, ENTITY, $ID),
+ array("AllUserGroups" => $arCurrentUserGroups, "DocumentStates" => $arDocumentStates, "WorkflowId" => $arDocumentState["ID"] > 0 ? $arDocumentState["ID"] : $arDocumentState["TEMPLATE_ID"])
+ );
+ }
+ else
+ {
+ $canViewWorkflow = CBPDocument::CanUserOperateDocumentType(
+ CBPCanUserOperateOperation::ViewWorkflow,
+ $USER->GetID(),
+ array(MODULE_ID, ENTITY, DOCUMENT_TYPE),
+ array("AllUserGroups" => $arCurrentUserGroups, "DocumentStates" => $arDocumentStates, "WorkflowId" => $arDocumentState["ID"] > 0 ? $arDocumentState["ID"] : $arDocumentState["TEMPLATE_ID"])
+ );
+ }
+ if (!$canViewWorkflow)
+ continue;
+ ?>
+
+
+ = htmlspecialcharsbx($arDocumentState["TEMPLATE_NAME"]) ?>
+ '' && $arDocumentState["WORKFLOW_STATUS"] <> ''):?>
+ ($WF,
+ "find_section_section" => $find_section_section,
+ "stop_bizproc" => $arDocumentState["ID"],
+ ), "&".bitrix_sessid_get()))?>"> )
+
+
+
+
+
+ = htmlspecialcharsbx($arDocumentState["TEMPLATE_NAME"]) ?>
+
+
+
+
+ = htmlspecialcharsbx($arDocumentState["TEMPLATE_DESCRIPTION"]) ?>
+
+
+ ''):?>
+
+
+ = $arDocumentState["STATE_MODIFIED"] ?>
+
+
+ ''):?>
+
+
+ ''):?>&back_url== urlencode($APPLICATION->GetCurPageParam("", array())) ?>">= $arDocumentState["STATE_TITLE"] <> '' ? $arDocumentState["STATE_TITLE"] : $arDocumentState["STATE_NAME"] ?> ''):?>
+
+
+
+ if ($arDocumentState["ID"] == '')
+ {
+ CBPDocument::StartWorkflowParametersShow(
+ $arDocumentState["TEMPLATE_ID"],
+ $arDocumentState["TEMPLATE_PARAMETERS"],
+ ($bCustomForm ? "tabControl" : "form_element_".$IBLOCK_ID)."_form",
+ $bVarsFromForm
+ );
+ if (is_array($arDocumentState["TEMPLATE_PARAMETERS"]))
+ {
+ foreach ($arDocumentState["TEMPLATE_PARAMETERS"] as $arParameter)
+ {
+ if ($arParameter["Required"])
+ $required = true;
+ }
+ }
+ }
+
+ $arEvents = CBPDocument::GetAllowableEvents($USER->GetID(), $arCurrentUserGroups, $arDocumentState, $arIBlock["RIGHTS_MODE"] === "E");
+ if (!empty($arEvents))
+ {
+ ?>
+
+
+
+ ">
+ ">
+
+
+
+ foreach ($arEvents as $e)
+ {
+ ?>"= ($_REQUEST["bizproc_event_".$bizProcIndex] == $e["NAME"]) ? " selected" : ""?>>= htmlspecialcharsbx($e["TITLE"]) ?>
+ }
+ ?>
+
+
+
+
+ }
+
+ if ($arDocumentState["ID"] <> '')
+ {
+ $arTasks = CBPDocument::GetUserTasksForWorkflow($USER->GetID(), $arDocumentState["ID"]);
+ if (!empty($arTasks))
+ {
+ ?>
+
+
+
+
+ foreach ($arTasks as $arTask)
+ {
+ ?>&back_url== urlencode($APPLICATION->GetCurPageParam("", array())) ?>" title="= strip_tags($arTask["DESCRIPTION"]) ?>">= $arTask["NAME"] ?>
+ }
+ ?>
+
+
+
+ }
+ }
+ }
+ if ($bizProcIndex <= 0)
+ {
+ ?>
+
+
+ =GetMessage("IBEL_BIZPROC_NA")?>
+
+
+ }
+ ?>
+
+
+ if ($ID > 0):
+ $bStartWorkflowPermission = CBPDocument::CanUserOperateDocument(
+ CBPCanUserOperateOperation::StartWorkflow,
+ $USER->GetID(),
+ array(MODULE_ID, ENTITY, $ID),
+ array("AllUserGroups" => $arCurrentUserGroups, "DocumentStates" => $arDocumentStates, "WorkflowId" => $arDocumentState["TEMPLATE_ID"])
+ );
+ if ($bStartWorkflowPermission):
+ ?>
+
+
+
+
+
+ ">
+
+
+
+ endif;
+ endif;
+ $html = ob_get_contents();
+ ob_end_clean();
+ $tabControl->BeginCustomField("BIZPROC", GetMessage("IBEL_E_TAB_BIZPROC"), $required);
+ echo $html;
+ $tabControl->EndCustomField("BIZPROC", "");
+endif;
+
+if($arShowTabs['edit_rights']):
+ $tabControl->BeginNextFormTab();
+ if($ID > 0)
+ {
+ $obRights = new CIBlockElementRights($IBLOCK_ID, $ID);
+ $htmlHidden = '';
+ foreach($obRights->GetRights() as $RIGHT_ID => $arRight)
+ $htmlHidden .= '
+
+
+
+ ';
+ }
+ else
+ {
+ $obRights = new CIBlockSectionRights($IBLOCK_ID, $MENU_SECTION_ID);
+ $htmlHidden = '';
+ }
+
+ $tabControl->BeginCustomField("RIGHTS", GetMessage("IBEL_E_RIGHTS_FIELD"));
+ IBlockShowRights(
+ 'element',
+ $IBLOCK_ID,
+ $ID,
+ GetMessage("IBEL_E_RIGHTS_SECTION_TITLE"),
+ "RIGHTS",
+ $obRights->GetRightsList(),
+ $obRights->GetRights(array("count_overwrited" => true, "parents" => $str_IBLOCK_ELEMENT_SECTION)),
+ false, /*$bForceInherited=*/($ID <= 0) || $bCopy
+ );
+ $tabControl->EndCustomField("RIGHTS", $htmlHidden);
+endif;
+
+$newElement = ($ID <= 0) || $bCopy;
+$currentElement = ($ID > 0) && !$bCopy;
+$bDisabled =
+ ($view=="Y")
+ || ($bWorkflow && $prn_LOCK_STATUS=="red")
+ || (
+ $newElement
+ && !CIBlockSectionRights::UserHasRightTo($IBLOCK_ID, $MENU_SECTION_ID, "section_element_bind")
+ )
+ || (
+ $currentElement
+ && !CIBlockElementRights::UserHasRightTo($IBLOCK_ID, $ID, "element_edit")
+ )
+ || (
+ $bBizproc
+ && !$canWrite
+ )
+;
+
+if (
+ !$bDisabled
+ && $bCatalog
+ && !empty($arMainCatalog)
+ && $newElement
+ && !$allowProductAdd
+)
+{
+ $bDisabled = true;
+}
+
+if ($adminSidePanelHelper->isSidePanelFrame()):
+ $tabControl->Buttons(array(
+ 'disabled' => $bDisabled,
+ 'btnApply' => false,
+ ));
+elseif(!defined('BX_PUBLIC_MODE') || BX_PUBLIC_MODE != 1):
+ ob_start();
+ $disableHtml = $bDisabled
+ ? ' disabled data-btn-disabled="Y"'
+ : ''
+ ;
+ ?>
+
type="submit" class="adm-btn-save" name="save" id="save" value="">
+ if (!$bAutocomplete)
+ {
+ ?>
type="submit" class="button" name="apply" id="apply" value="">
+ }
+ ?>
+
type="submit" class="button" name="dontsave" id="dontsave" value="">
+ if (!$bAutocomplete)
+ {
+ ?>
type="submit" class="adm-btn-add" name="save_and_add" id="save_and_add" value="">
+ }
+ $buttons_add_html = ob_get_contents();
+ ob_end_clean();
+ $tabControl->Buttons(false, $buttons_add_html);
+elseif(!$bPropertyAjax && (!isset($_REQUEST['nobuttons']) || $_REQUEST['nobuttons'] !== "Y")):
+
+ $wfClose = "{
+ title: '".CUtil::JSEscape(GetMessage("IBLOCK_EL_CANC"))."',
+ name: 'dontsave',
+ id: 'dontsave',
+ action: function () {
+ var FORM = this.parentWindow.GetForm();
+ FORM.appendChild(BX.create('INPUT', {
+ props: {
+ type: 'hidden',
+ name: this.name,
+ value: 'Y'
+ }
+ }));
+ this.disableUntilError();
+ this.parentWindow.Submit();
+ }
+ }";
+ $save_and_add = "{
+ title: '".CUtil::JSEscape(GetMessage("IBLOCK_EL_SAVE_AND_ADD"))."',
+ name: 'save_and_add',
+ id: 'save_and_add',
+ className: 'adm-btn-add',
+ action: function () {
+ var FORM = this.parentWindow.GetForm();
+ FORM.appendChild(BX.create('INPUT', {
+ props: {
+ type: 'hidden',
+ name: 'save_and_add',
+ value: 'Y'
+ }
+ }));
+
+ this.parentWindow.hideNotify();
+ this.disableUntilError();
+ this.parentWindow.Submit();
+ }
+ }";
+ $cancel = "{
+ title: '".CUtil::JSEscape(GetMessage("IBLOCK_EL_CANC"))."',
+ name: 'cancel',
+ id: 'cancel',
+ action: function () {
+ BX.WindowManager.Get().Close();
+ if(window.reloadAfterClose)
+ top.BX.reload(true);
+ }
+ }";
+ $editInPanelParams = array(
+ 'WF' => ($WF == 'Y' ? 'Y': null),
+ 'find_section_section' => $find_section_section,
+ 'menu' => null
+ );
+ if (!empty($arMainCatalog))
+ $editInPanelParams = CCatalogAdminTools::getFormParams($editInPanelParams);
+ $edit_in_panel = "{
+ title: '".CUtil::JSEscape(GetMessage('IBLOCK_EL_EDIT_IN_PANEL'))."',
+ name: 'edit_in_panel',
+ id: 'edit_in_panel',
+ className: 'adm-btn-add',
+ action: function () {
+ location.href = '".$selfFolderUrl.CIBlock::GetAdminElementEditLink(
+ $IBLOCK_ID,
+ $ID,
+ $editInPanelParams
+ )."';
+ }
+ }";
+ unset($editInPanelParams);
+ $tabControl->ButtonsPublic(array(
+ '.btnSave',
+ ($ID > 0 && $bWorkflow? $wfClose: $cancel),
+ $edit_in_panel,
+ $save_and_add
+ ));
+endif;
+
+$tabControl->Show();
+if (
+ (!defined('BX_PUBLIC_MODE') || BX_PUBLIC_MODE != 1)
+ && CIBlockRights::UserHasRightTo($IBLOCK_ID, $IBLOCK_ID, "iblock_edit")
+ && !$bAutocomplete && !$adminSidePanelHelper->isSidePanel()
+)
+{
+
+ echo
+ BeginNote(),
+ GetMessage("IBEL_E_IBLOCK_MANAGE_HINT"),
+ '
($WF=="Y"? "Y": null), "find_section_section" => $find_section_section, "IBLOCK_SECTION_ID" => $find_section_section, "return_url" => ($return_url <> ''? $return_url: null)))).'">',
+ GetMessage("IBEL_E_IBLOCK_MANAGE_HINT_HREF"),
+ ' ',
+ EndNote()
+ ;
+}
+ //////////////////////////
+ //END of the custom form
+ //////////////////////////
\ No newline at end of file
diff --git a/local/ilsa_update.php b/local/ilsa_update.php
index 8c976ff..1a28deb 100644
--- a/local/ilsa_update.php
+++ b/local/ilsa_update.php
@@ -40,6 +40,8 @@ $bitrix_enabled_models = [];
$api_brands = [];
$api_models = [];
+$api_bodies = [];
+$api_engine_fuels = [];
$bitrix_existed_modifications = [];
$bitrix_enabled_modifications = [];
@@ -47,6 +49,12 @@ $bitrix_enabled_modifications = [];
$bitrix_existed_cars = [];
$bitrix_enabled_cars = [];
+$bitrix_existed_bodies = [];
+$bitrix_enabled_bodies = [];
+
+$bitrix_existed_engine_fuels = [];
+$bitrix_enabled_engine_fuels = [];
+
$all_brands_search_res = CIBlockElement::GetList( [], [ "IBLOCK_ID" => IBLOCK_ID_BRANDS, "ACTIVE" => "Y" ], false, false, [] );
while($all_brands_search_ob = $all_brands_search_res->GetNextElement())
{
@@ -73,7 +81,7 @@ while($all_models_search_ob = $all_models_search_res->GetNextElement())
}
}
-$all_modifications_search_res = CIBlockElement::GetList( [], [ "IBLOCK_ID" => 10, "ACTIVE" => "Y" ], false, false, [] );
+$all_modifications_search_res = CIBlockElement::GetList( [], [ "IBLOCK_ID" => IBLOCK_ID_MODIFICATIONS, "ACTIVE" => "Y" ], false, false, [] );
while($all_modifications_search_ob = $all_modifications_search_res->GetNextElement())
{
$modification_search = $all_modifications_search_ob->GetFields();
@@ -85,7 +93,7 @@ while($all_modifications_search_ob = $all_modifications_search_res->GetNextEleme
}
}
-$all_cars_search_res = CIBlockElement::GetList( [], [ "IBLOCK_ID" => 1, ], false, false, [] );
+$all_cars_search_res = CIBlockElement::GetList( [], [ "IBLOCK_ID" => IBLOCK_ID_CATALOG_CARS_NEW, ], false, false, [] );
while($all_cars_search_ob = $all_cars_search_res->GetNextElement())
{
$car_search = $all_cars_search_ob->GetFields();
@@ -98,6 +106,32 @@ while($all_cars_search_ob = $all_cars_search_res->GetNextElement())
}
}
+//наполняем массивы имеющихся и активных типов кузова
+$all_bodies_search_res = CIBlockElement::GetList( [], [ "IBLOCK_ID" => IBLOCK_ID_BODIES, ], false, false, [] );
+while($all_bodies_search_ob = $all_bodies_search_res->GetNextElement())
+{
+ $body_search = $all_bodies_search_ob->GetFields();
+
+ array_push( $bitrix_existed_bodies, $body_search['NAME'] );
+ if($body_search['ACTIVE'] == "Y")
+ {
+ array_push( $bitrix_enabled_bodies, $body_search['NAME'] );
+ }
+}
+
+//наполняем массивы имеющихся и активных типов двигателя
+$all_engine_fuels_search_res = CIBlockElement::GetList( [], [ "IBLOCK_ID" => IBLOCK_ID_ENGINE_FUELS, ], false, false, [] );
+while($all_engine_fuels_search_ob = $all_engine_fuels_search_res->GetNextElement())
+{
+ $engine_fuel_search = $all_engine_fuels_search_ob->GetFields();
+
+ array_push( $bitrix_existed_engine_fuels, $engine_fuel_search['NAME'] );
+ if($engine_fuel_search['ACTIVE'] == "Y")
+ {
+ array_push( $bitrix_enabled_engine_fuels, $engine_fuel_search['NAME'] );
+ }
+}
+
print "bitrix_existed_brands = ".count($bitrix_existed_brands)."\n";
print "bitrix_existed_models = ".count($bitrix_existed_models)."\n";
print "bitrix_existed_modifications = ".count($bitrix_existed_modifications)."\n";
@@ -403,7 +437,7 @@ function set_model_activity($model_uid, $active = "N")
function set_modification_activity($modification_code, $active = "N")
{
$modification_id = null;
- $modification_search_res = CIBlockElement::GetList( [], [ "IBLOCK_ID" => 10, "CODE" => $modification_code ], false, false, [] );
+ $modification_search_res = CIBlockElement::GetList( [], [ "IBLOCK_ID" => IBLOCK_ID_MODIFICATIONS, "CODE" => $modification_code ], false, false, [] );
while($modification_search_ob = $modification_search_res->GetNextElement())
{
@@ -437,6 +471,42 @@ function set_car_activity($car_uid, $active = "N")
}
}
+function set_body_activity($body_name, $active = "N")
+{
+ $body_id = null;
+ $body_search_res = CIBlockElement::GetList( [], [ "IBLOCK_ID" => IBLOCK_ID_BODIES, "NAME" => $body_name ], false, false, [] );
+
+ while($body_search_ob = $body_search_res->GetNextElement())
+ {
+ $body_search = $body_search_ob->GetFields();
+ $body_id = $body_search['ID'];
+ }
+
+ if($body_id !== null)
+ {
+ $update_element = new CIBlockElement;
+ $update_result = $update_element->Update($body_id, [ "ACTIVE" => $active, ]);
+ }
+}
+
+function set_engine_fuel_activity($engine_fuel_name, $active = "N")
+{
+ $engine_fuel_id = null;
+ $engine_fuel_search_res = CIBlockElement::GetList( [], [ "IBLOCK_ID" => IBLOCK_ID_ENGINE_FUELS, "NAME" => $engine_fuel_name ], false, false, [] );
+
+ while($engine_fuel_search_ob = $engine_fuel_search_res->GetNextElement())
+ {
+ $engine_fuel_search = $engine_fuel_search_ob->GetFields();
+ $engine_fuel_id = $engine_fuel_search['ID'];
+ }
+
+ if($engine_fuel_id !== null)
+ {
+ $update_element = new CIBlockElement;
+ $update_result = $update_element->Update($engine_fuel_id, [ "ACTIVE" => $active, ]);
+ }
+}
+
function models_check($bitrix_models, $bitrix_modifications, $bitrix_modifications_codes, $brand_uid, $brand)
{
foreach($brand['models'] AS $model_uid => $model)
@@ -503,7 +573,7 @@ function models_check($bitrix_models, $bitrix_modifications, $bitrix_modificatio
$CODE = CUtil::translit( $NAME, "ru", [ "max_len" => 255, "change_case" => "L", "replace_space" => "-", "replace_other" => "-", ] );
//"ID"
- $modification_search_res = CIBlockElement::GetList( [], [ "IBLOCK_ID" => 10, "CODE" => $CODE ], false, ["nPageSize" => 1], [] );
+ $modification_search_res = CIBlockElement::GetList( [], [ "IBLOCK_ID" => IBLOCK_ID_MODIFICATIONS, "CODE" => $CODE ], false, ["nPageSize" => 1], [] );
while($modification_search_ob = $modification_search_res->GetNextElement())
{
$m_res = $modification_search_ob->GetFields();
@@ -518,7 +588,7 @@ function models_check($bitrix_models, $bitrix_modifications, $bitrix_modificatio
if($modification_existed === null)
{
$modification_element = new CIBlockElement;
- $modification_payload = [ "IBLOCK_SECTION_ID" => false, "IBLOCK_ID" => 10, "PROPERTY_VALUES" => [ "MODEL_UID" => $model_uid, "TITLE" => $modification ], "NAME" => $NAME, "CODE" => $CODE, "ACTIVE" => "Y", ];
+ $modification_payload = [ "IBLOCK_SECTION_ID" => false, "IBLOCK_ID" => IBLOCK_ID_MODIFICATIONS, "PROPERTY_VALUES" => [ "MODEL_UID" => $model_uid, "TITLE" => $modification ], "NAME" => $NAME, "CODE" => $CODE, "ACTIVE" => "Y", ];
if($new_modification_id = $modification_element->Add($modification_payload))
{
@@ -601,6 +671,16 @@ foreach($json AS $car)
"LEASING_PROGRAMS" => $car['programms'],
];
+ if(!in_array($car['body'], $api_bodies))
+ {
+ array_push($api_bodies, $car['body']);
+ }
+
+ if(!in_array($car['engine']['fuel'], $api_engine_fuels))
+ {
+ array_push($api_engine_fuels, $car['engine']['fuel']);
+ }
+
//"ID"
$car_existed = null;
$car_search_res = CIBlockElement::GetList( [], [ "IBLOCK_ID" => IBLOCK_ID_CATALOG_CARS_NEW, "PROPERTY_UID" => $car['uid'] ], false, ["nPageSize" => 1], [] );
@@ -625,7 +705,7 @@ foreach($json AS $car)
//if($c === 0)
//{
$car_element = new CIBlockElement;
- $car_payload = [ "IBLOCK_SECTION_ID" => false, "IBLOCK_ID" => 1, "NAME" => $name, "CODE" => $code, "PROPERTY_VALUES" => $PROPERTY_VALUES, "ACTIVE" => "Y", ];
+ $car_payload = [ "IBLOCK_SECTION_ID" => false, "IBLOCK_ID" => IBLOCK_ID_CATALOG_CARS_NEW, "NAME" => $name, "CODE" => $code, "PROPERTY_VALUES" => $PROPERTY_VALUES, "ACTIVE" => "Y", ];
if($new_car_id = $car_element->Add($car_payload))
{
@@ -764,6 +844,93 @@ foreach($bitrix_enabled_brands AS $enabled_brand_uid)
}
}
+//кузов
+foreach($api_bodies AS $api_body)
+{
+ if(!in_array($api_body, $bitrix_enabled_bodies))
+ {
+ //выключено
+ if(!in_array($api_body, $bitrix_existed_bodies))
+ {
+ //не существует, создаем
+
+ $code = CUtil::translit( $api_body, "ru", [ "max_len" => 255, "change_case" => "L", "replace_space" => "-", "replace_other" => "-", ] );
+ $body_element = new CIBlockElement;
+ $body_payload = [
+ "IBLOCK_ID" => IBLOCK_ID_BODIES,
+ "PROPERTY_VALUES" => [
+ "SINGULAR_NAME" => $api_body,
+ "PLURAL_NAME" => $api_body,
+ "GENITIVE_NAME" => $api_body,
+ ],
+ "NAME" => $api_body,
+ "CODE" => $code,
+ "ACTIVE" => "Y",
+ ];
+
+ $body_element->Add($body_payload);
+ array_push($bitrix_existed_bodies, $api_body);
+ }
+ else
+ {
+ //существует, включаем
+ set_body_activity($api_body, "Y");
+ }
+ }
+}
+
+foreach($bitrix_existed_bodies AS $bitrix_body)
+{
+ if(!in_array($bitrix_body, $api_bodies))
+ {
+ //выключаем
+ set_body_activity($bitrix_body, "N");
+ }
+}
+
+//топливо
+foreach($api_engine_fuels AS $api_engine_fuel)
+{
+ if(!in_array($api_engine_fuel, $bitrix_enabled_engine_fuels))
+ {
+ //выключено
+ if(!in_array($api_engine_fuel, $bitrix_existed_engine_fuels))
+ {
+ //не существует, создаем
+ $code = CUtil::translit( $api_engine_fuel, "ru", [ "max_len" => 255, "change_case" => "L", "replace_space" => "-", "replace_other" => "-", ] );
+ $engine_fuel_element = new CIBlockElement;
+ $engine_fuel_payload = [
+ "IBLOCK_ID" => IBLOCK_ID_ENGINE_FUELS,
+ "PROPERTY_VALUES" => [
+ "SINGULAR_NAME" => "автомобиль с двигателем ".$api_engine_fuel,
+ "PLURAL_NAME" => "автомобили с двигателем ".$api_engine_fuel,
+ "GENITIVE_NAME" => "автомобилей с двигателем ".$api_engine_fuel,
+ ],
+ "NAME" => $api_engine_fuel,
+ "CODE" => $code,
+ "ACTIVE" => "Y",
+ ];
+
+ $engine_fuel_element->Add($engine_fuel_payload);
+ array_push($bitrix_existed_engine_fuels, $api_engine_fuel);
+ }
+ else
+ {
+ //существует, включаем
+ set_engine_fuel_activity($api_engine_fuel, "Y");
+ }
+ }
+}
+
+foreach($bitrix_existed_engine_fuels AS $bitrix_engine_fuel)
+{
+ if(!in_array($bitrix_engine_fuel, $api_engine_fuels))
+ {
+ //выключаем
+ set_engine_fuel_activity($bitrix_engine_fuel, "N");
+ }
+}
+
$trace = "Снято с публикации марок: ".$b;
$traceback_message .= $trace."\n";
print "\n\n".$trace."\n\n";
diff --git a/local/include/footer.php b/local/include/footer.php
index 85ad2fd..ab93cc1 100644
--- a/local/include/footer.php
+++ b/local/include/footer.php
@@ -79,9 +79,9 @@
Мы используем cookies для улучшения использования сайта.
-
-
-*/?>
\ No newline at end of file
+
+ $APPLICATION->IncludeComponent(
+ "evolution:preapproval",
+ "",
+ Array()
+ );
+?>
\ No newline at end of file
diff --git a/local/templates/evolution/css/footer/style.css b/local/templates/evolution/css/footer/style.css
index 4c7a248..128388d 100644
--- a/local/templates/evolution/css/footer/style.css
+++ b/local/templates/evolution/css/footer/style.css
@@ -85,6 +85,7 @@ footer .container {
padding: 0;
flex-wrap: wrap;
margin-bottom: 50px;
+ padding-bottom: 70px;
}
}
footer .column {
diff --git a/local/templates/evolution/css/forms/style.css b/local/templates/evolution/css/forms/style.css
index 841b55c..487da13 100644
--- a/local/templates/evolution/css/forms/style.css
+++ b/local/templates/evolution/css/forms/style.css
@@ -1 +1,812 @@
-#filter{position:relative}#filter .container{position:relative}#filter.filter_in_catalog:not(.visible){display:none}#filter.filter_in_catalog .container{padding-top:0;padding-bottom:0;margin-bottom:40px}@media all and (max-width:1420px){#filter.filter_in_catalog .container{margin-left:0;margin-right:0;width:100%}#filter.filter_in_catalog .container .filter_header .button{bottom:10px}}@media all and (max-width:767px){#filter.filter_in_catalog .container{bottom:0px}}@media all and (max-width:1279px){#filter.filter_in_catalog .filter_body .filter_column:last-child{margin-bottom:40px}}@media all and (max-width:767px){#filter.filter_in_catalog .filter_body .filter_column:last-child{margin-bottom:15px}}#filter.filter_in_catalog .button_group{display:flex;align-items:center;gap:0 15px}@media all and (max-width:767px){#filter.filter_in_catalog .button_group{flex-wrap:wrap;gap:0;width:100%}#filter.filter_in_catalog .button_group .button{width:100% !important}#filter.filter_in_catalog .button_group a{order:1}#filter.filter_in_catalog .button_group button{order:2}}#filter.filter_in_catalog .button_group .button{position:relative;bottom:0 !important;width:auto}#filter .filter_header{display:flex;align-items:center;justify-content:space-between;margin-bottom:40px}#filter .filter_header .button{z-index:10}@media all and (max-width:1279px){#filter .filter_header .button{width:calc(50% - 15px);position:absolute;right:0;bottom:90px}}@media all and (max-width:1280px){#filter .filter_header .button{bottom:80px}}@media all and (max-width:960px){#filter .filter_header .button{bottom:50px}}@media all and (max-width:767px){#filter .filter_header .button{width:100%;bottom:60px}}#filter .filter_body{display:flex;flex-wrap:wrap;justify-content:space-between;position:relative}#filter .filter_body .filter_column{width:calc(33.333% - 21px)}@media all and (max-width:1279px){#filter .filter_body .filter_column{width:calc(100%);display:flex;justify-content:space-between}}@media all and (max-width:1279px){#filter .filter_body .filter_column:last-child{margin-bottom:70px}#filter .filter_body .filter_column .fieldgroup.no_space .form_field{width:50%}#filter .filter_body .filter_column .fieldgroup.no_space .form_field:first-child select{border-right:0}#filter .filter_body .filter_column .fieldgroup.no_space .form_field:last-child select{border-left:0}}@media all and (max-width:767px){#filter .filter_body .filter_column{width:100%;margin-bottom:0;display:block;height:100px}}@media all and (max-width:767px){#filter .filter_body:not(.static) .filter_column:nth-child(1) .fieldgroup:nth-child(2){position:absolute;top:150px;left:0;right:0}#filter .filter_body:not(.static) .filter_column:nth-child(2)>.form_field:nth-child(1){position:absolute;top:50px;left:0;right:0}#filter .filter_body:not(.static) .filter_column:nth-child(2) .fieldgroup:nth-child(2){position:absolute;top:200px;left:0;right:0}#filter .filter_body:not(.static) .filter_column:nth-child(3)>.form_field:nth-child(1){position:absolute;top:100px;left:0;right:0}#filter .filter_body:not(.static) .filter_column:nth-child(3) .fieldgroup:nth-child(2){position:absolute;top:250px;left:0;right:0}}#filter .filter_body .form_field{width:100%;margin-bottom:10px}@media all and (max-width:1279px){#filter .filter_body .form_field{width:calc(50% - 15px)}}@media all and (max-width:767px){#filter .filter_body .form_field{width:100%}}#filter .filter_body .fieldgroup{width:100%}@media all and (max-width:1279px){#filter .filter_body .fieldgroup{width:calc(50% - 15px)}}@media all and (max-width:767px){#filter .filter_body .fieldgroup{width:100%}}#filter .filter_body .fieldgroup .form_field{width:calc(50% - 5px)}@media all and (max-width:1279px){#filter .filter_body .fieldgroup .form_field{width:calc(50% - 5px)}}#catalog_small_filter{margin-bottom:70px}#catalog_small_filter.hidden{display:none}#catalog_small_filter .filter_body{display:flex;justify-content:flex-start;gap:0 16px}#catalog_small_filter .filter_body select,#catalog_small_filter .filter_body .form_field{width:100%}#catalog_small_filter .filter_body button{width:220px;min-width:220px}#catalog_small_filter .filter_body button#rich_filter_toggle{width:130px;min-width:130px}@media all and (max-width:767px){#catalog_small_filter .filter_body button#rich_filter_toggle{width:100%}}#catalog_small_filter .filter_body button#rich_filter_toggle svg{margin-right:12px}@media all and (max-width:1280px){#catalog_small_filter .filter_body{justify-content:space-between}#catalog_small_filter .filter_body .form_field{width:calc(33.333% - 30px)}#catalog_small_filter .filter_body .form_field select{width:100%}#catalog_small_filter .filter_body button{width:33.3333%}}@media all and (max-width:767px){#catalog_small_filter .filter_body{display:block}#catalog_small_filter .filter_body .form_field,#catalog_small_filter .filter_body button{width:100%;margin-bottom:8px}}#news+#order .container{max-width:1340px;padding-left:25px;padding-right:25px}#news+#order .container .order_form{margin:0 -25px}@media all and (max-width:960px){#news+#order .container .order_form{margin-top:-60px}}@media all and (max-width:767px){#news+#order .container .order_form{margin:0}}#order .order_form{position:relative;margin:0}@media all and (max-width:960px){#order .order_form{margin-top:-60px}}@media all and (max-width:767px){#order .order_form{margin:0}}#order .order_form .order_email{display:flex;align-items:center;position:absolute;z-index:1;background:#EDEFF5;height:235px;left:0;right:0;top:0;bottom:0;margin:auto}#order .order_form .order_email p{width:320px;font-size:24px;line-height:45px;padding:0 20px}@media all and (max-width:1600px) and (min-width:1280px){#order .order_form .order_email p{font-size:20px;line-height:32px}}@media all and (max-width:1280px){#order .order_form .order_email p{width:220px;font-size:13px;line-height:20px}}@media all and (max-width:767px){#order .order_form .order_email{position:relative;height:auto;margin-bottom:25px}#order .order_form .order_email p{padding:0}}#order .order_form form{width:750px;background:var(--blue);box-sizing:border-box;padding:55px 90px;margin:auto;margin-left:390px;position:relative;z-index:2}@media all and (max-width:1420px){#order .order_form form{width:550px;margin-left:320px}}@media all and (max-width:960px){#order .order_form form{width:50%;padding:15px 25px;margin-left:auto;margin-right:0}}@media all and (max-width:767px){#order .order_form form{width:auto;margin-left:-16px;margin-right:-16px;padding:25px 16px}}#order .order_form form input{margin-bottom:15px;background:rgba(255,255,255,0.2);color:#fff}#order .order_form form input::placeholder{color:#fff}#order .order_form form input[type="radio"]{display:none;visibility:hidden}#order .order_form form input[type="radio"]+label{display:block;padding-left:28px;cursor:pointer;color:#fff;margin-bottom:5px;position:relative}#order .order_form form input[type="radio"]+label:last-child{margin-bottom:15px}#order .order_form form input[type="radio"]+label:before{content:"";display:block;width:16px;min-width:16px;height:16px;background:#fff;box-sizing:border-box;border-radius:100%;margin-right:12px;position:absolute;left:0;top:0}#order .order_form form input[type="radio"]:checked+label:before{background:var(--blue);border:4px solid #fff}#order .order_form form input[type="radio"]:disabled+label:before{background:var(--gray);cursor:none}#order .order_form form .policy{position:relative;z-index:2;margin:5px 25px 45px 25px}@media all and (max-width:1600px){#order .order_form form .policy{margin-top:-5px;margin-bottom:25px;margin-left:0;margin-right:0}}#order .order_form form .policy label{color:#fff;font-weight:300}#order .order_form form .policy label:before{background:#fff;border-radius:0}#order .order_form form .policy input:checked+label:before{border-color:#fff;background:url("/images/icons/checkbox_blue.svg") no-repeat center #fff}#order .order_form form .button{display:inherit;margin-left:auto}.login{max-width:410px}.login .form_field{margin-bottom:15px}.login input[name="login"]{padding-left:32px;background:url("/images/icons/icon-login.svg") no-repeat 8px 50%}.login input[name="pass"]{padding-left:32px;background:url("/images/icons/icon-pass.svg") no-repeat 8px 50%}.login .button{width:90px;display:block;margin-left:auto}.search_form{margin-bottom:55px;margin-left:20px;margin-right:20px}@media all and (max-width:767px){.search_form{margin-bottom:35px;margin-left:0;margin-right:0}}.search_form form{display:flex;align-items:center;justify-content:space-between}.search_form form .form_field:first-child{width:calc(50% - 15px);min-width:calc(50% - 15px);margin-right:15px}.search_form form .form_field:nth-child(2),.search_form form .form_field:nth-child(3){width:100%;margin-right:15px}.search_form form .form_field.single{width:100%;margin-right:20px}.search_form form .button{width:158px;min-width:158px}@media all and (max-width:767px){.search_form form{display:block}.search_form form .form_field.single{margin-right:0;margin-bottom:10px}.search_form form .button{width:100%}.search_form form .button:disabled{background:var(--inactive)}}.reconciliation_form.small{display:flex;flex-wrap:wrap;justify-content:space-between;max-width:420px}.reconciliation_form.small .form_field{width:calc(50% - 8px)}.reconciliation_form.small button{margin-top:35px;width:calc(45% - 8px)}.reconciliation_form.small button:last-child{width:calc(55% - 8px)}.fade{position:fixed;z-index:999;top:0;left:0;width:100%;height:100%;overflow:auto;background:rgba(0,0,0,0.5);display:block}.fade:not(.opened){display:none}.fade .modal{max-width:640px;width:100%;background:#fff;margin:100px auto;padding:45px 80px}.fade .modal .modal_footer{text-align:right;margin-top:30px}.fade .modal .modal_footer .button{margin-left:auto}#cookie{position:fixed;bottom:20px;left:20px;background:#fff;z-index:999;display:none;padding:25px 15px;max-width:320px;z-index:99;border:1px solid #EDEFF5}@media all and (max-width:768px){#cookie{bottom:0;left:0;margin:auto;max-width:none}}#cookie .close{width:22px;height:22px;border:0;background:url("/images/icons/close-blue.svg") no-repeat center;outline:none;position:absolute;top:10px;right:10px}#cookie p a{color:var(--blue)}.page_search{margin-bottom:25px}.page_search form{display:flex;align-items:center}.page_search form .form_field{width:100%}.page_search form button{min-width:90px}#preaprove_block{position:fixed;z-index:100;left:20px;bottom:25px}@media all and (max-width:1200px){#preaprove_block{display:none}}#preaprove_block.active .block_open{display:none}#preaprove_block.active .block_form{display:block}#preaprove_block .block_toggle{cursor:pointer}#preaprove_block .block_open{display:flex;align-items:center;justify-content:flex-start;gap:0 13px}#preaprove_block .block_open span{display:inline-block;font-size:15px;color:#fff;font-weight:6000;line-height:20px;padding:11px 16px;border-radius:8px;background:var(--blue)}#preaprove_block .block_open i{display:flex;align-items:center;justify-content:center;width:60px;height:60px;border-radius:100%;box-shadow:0 4px 32px 0 rgba(0,0,0,0.16);background:var(--blue);position:relative}#preaprove_block .block_open i:before{content:"";display:block;width:24px;height:24px;background:url("/images/icons/Bell.svg") no-repeat center;position:absolute;top:-3px;right:-5px}#preaprove_block .block_form{display:none;width:368px;border-radius:15px;background:var(--white, #FFF);box-shadow:0 4px 32px 0 rgba(0,0,0,0.16);overflow:hidden}#preaprove_block .block_form .block_header{height:126px;background:var(--blue);display:flex;align-items:center;justify-content:center;position:relative;padding:24px}#preaprove_block .block_form .block_header p{text-align:center;margin:40px 0 0 0;font-size:15px;line-height:23px;color:#fff;font-weight:700;max-width:235px}#preaprove_block .block_form .block_header .block_close{width:40px;height:40px;background-image:url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20 35C28.2843 35 35 28.2843 35 20C35 11.7157 28.2843 5 20 5C11.7157 5 5 11.7157 5 20C5 28.2843 11.7157 35 20 35Z' fill='white'/%3E%3Cpath d='M25.625 18.125L20 24.375L14.375 18.125' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A");padding:0;border:0;position:absolute;top:16px;right:24px}#preaprove_block .block_form form{padding:24px}#preaprove_block .block_form form .form_field{margin-bottom:16px}#preaprove_block .block_form form .step{text-align:center}#preaprove_block .block_form form .step:not(.active){display:none}/*# sourceMappingURL=./style.css.map */
\ No newline at end of file
+#filter {
+ position: relative;
+}
+#filter .container {
+ position: relative;
+}
+#filter.filter_in_catalog:not(.visible) {
+ display: none;
+}
+#filter.filter_in_catalog .container {
+ padding-top: 0;
+ padding-bottom: 0;
+ margin-bottom: 40px;
+}
+@media all and (max-width: 1420px) {
+ #filter.filter_in_catalog .container {
+ margin-left: 0;
+ margin-right: 0;
+ width: 100%;
+ }
+ #filter.filter_in_catalog .container .filter_header .button {
+ bottom: 10px;
+ }
+}
+@media all and (max-width: 767px) {
+ #filter.filter_in_catalog .container {
+ bottom: 0px;
+ }
+}
+@media all and (max-width: 1279px) {
+ #filter.filter_in_catalog .filter_body .filter_column:last-child {
+ margin-bottom: 40px;
+ }
+}
+@media all and (max-width: 767px) {
+ #filter.filter_in_catalog .filter_body .filter_column:last-child {
+ margin-bottom: 15px;
+ }
+}
+#filter.filter_in_catalog .button_group {
+ display: flex;
+ align-items: center;
+ gap: 0 15px;
+}
+@media all and (max-width: 767px) {
+ #filter.filter_in_catalog .button_group {
+ flex-wrap: wrap;
+ gap: 0;
+ width: 100%;
+ }
+ #filter.filter_in_catalog .button_group .button {
+ width: 100% !important;
+ }
+ #filter.filter_in_catalog .button_group a {
+ order: 1;
+ }
+ #filter.filter_in_catalog .button_group button {
+ order: 2;
+ }
+}
+#filter.filter_in_catalog .button_group .button {
+ position: relative;
+ bottom: 0 !important;
+ width: auto;
+}
+#filter .filter_header {
+ display: flex;
+ align-items: center;
+ justify-content: space-between;
+ margin-bottom: 40px;
+}
+#filter .filter_header .button {
+ z-index: 10;
+}
+@media all and (max-width: 1279px) {
+ #filter .filter_header .button {
+ width: calc(50% - 15px);
+ position: absolute;
+ right: 0;
+ bottom: 90px;
+ }
+}
+@media all and (max-width: 1280px) {
+ #filter .filter_header .button {
+ bottom: 80px;
+ }
+}
+@media all and (max-width: 960px) {
+ #filter .filter_header .button {
+ bottom: 50px;
+ }
+}
+@media all and (max-width: 767px) {
+ #filter .filter_header .button {
+ width: 100%;
+ bottom: 60px;
+ }
+}
+#filter .filter_body {
+ display: flex;
+ flex-wrap: wrap;
+ justify-content: space-between;
+ position: relative;
+}
+#filter .filter_body .filter_column {
+ width: calc(33.333% - 21px);
+}
+@media all and (max-width: 1279px) {
+ #filter .filter_body .filter_column {
+ width: calc(100%);
+ display: flex;
+ justify-content: space-between;
+ }
+}
+@media all and (max-width: 1279px) {
+ #filter .filter_body .filter_column:last-child {
+ margin-bottom: 70px;
+ }
+ #filter .filter_body .filter_column .fieldgroup.no_space .form_field {
+ width: 50%;
+ }
+ #filter .filter_body .filter_column .fieldgroup.no_space .form_field:first-child select {
+ border-right: 0;
+ }
+ #filter .filter_body .filter_column .fieldgroup.no_space .form_field:last-child select {
+ border-left: 0;
+ }
+}
+@media all and (max-width: 767px) {
+ #filter .filter_body .filter_column {
+ width: 100%;
+ margin-bottom: 0;
+ display: block;
+ height: 100px;
+ }
+}
+@media all and (max-width: 767px) {
+ #filter .filter_body:not(.static) .filter_column:nth-child(1) .fieldgroup:nth-child(2) {
+ position: absolute;
+ top: 150px;
+ left: 0;
+ right: 0;
+ }
+ #filter .filter_body:not(.static) .filter_column:nth-child(2) > .form_field:nth-child(1) {
+ position: absolute;
+ top: 50px;
+ left: 0;
+ right: 0;
+ }
+ #filter .filter_body:not(.static) .filter_column:nth-child(2) .fieldgroup:nth-child(2) {
+ position: absolute;
+ top: 200px;
+ left: 0;
+ right: 0;
+ }
+ #filter .filter_body:not(.static) .filter_column:nth-child(3) > .form_field:nth-child(1) {
+ position: absolute;
+ top: 100px;
+ left: 0;
+ right: 0;
+ }
+ #filter .filter_body:not(.static) .filter_column:nth-child(3) .fieldgroup:nth-child(2) {
+ position: absolute;
+ top: 250px;
+ left: 0;
+ right: 0;
+ }
+}
+#filter .filter_body .form_field {
+ width: 100%;
+ margin-bottom: 10px;
+}
+@media all and (max-width: 1279px) {
+ #filter .filter_body .form_field {
+ width: calc(50% - 15px);
+ }
+}
+@media all and (max-width: 767px) {
+ #filter .filter_body .form_field {
+ width: 100%;
+ }
+}
+#filter .filter_body .fieldgroup {
+ width: 100%;
+}
+@media all and (max-width: 1279px) {
+ #filter .filter_body .fieldgroup {
+ width: calc(50% - 15px);
+ }
+}
+@media all and (max-width: 767px) {
+ #filter .filter_body .fieldgroup {
+ width: 100%;
+ }
+}
+#filter .filter_body .fieldgroup .form_field {
+ width: calc(50% - 5px);
+}
+@media all and (max-width: 1279px) {
+ #filter .filter_body .fieldgroup .form_field {
+ width: calc(50% - 5px);
+ }
+}
+#catalog_small_filter {
+ margin-bottom: 70px;
+}
+#catalog_small_filter.hidden {
+ display: none;
+}
+#catalog_small_filter .filter_body {
+ display: flex;
+ justify-content: flex-start;
+ gap: 0 16px;
+}
+#catalog_small_filter .filter_body select,
+#catalog_small_filter .filter_body .form_field {
+ width: 100%;
+}
+#catalog_small_filter .filter_body button {
+ width: 220px;
+ min-width: 220px;
+}
+#catalog_small_filter .filter_body button#rich_filter_toggle {
+ width: 130px;
+ min-width: 130px;
+}
+@media all and (max-width: 767px) {
+ #catalog_small_filter .filter_body button#rich_filter_toggle {
+ width: 100%;
+ }
+}
+#catalog_small_filter .filter_body button#rich_filter_toggle svg {
+ margin-right: 12px;
+}
+@media all and (max-width: 1280px) {
+ #catalog_small_filter .filter_body {
+ justify-content: space-between;
+ }
+ #catalog_small_filter .filter_body .form_field {
+ width: calc(33.333% - 30px);
+ }
+ #catalog_small_filter .filter_body .form_field select {
+ width: 100%;
+ }
+ #catalog_small_filter .filter_body button {
+ width: 33.3333%;
+ }
+}
+@media all and (max-width: 767px) {
+ #catalog_small_filter .filter_body {
+ display: block;
+ }
+ #catalog_small_filter .filter_body .form_field,
+ #catalog_small_filter .filter_body button {
+ width: 100%;
+ margin-bottom: 8px;
+ }
+}
+#news + #order .container {
+ max-width: 1340px;
+ padding-left: 25px;
+ padding-right: 25px;
+}
+#news + #order .container .order_form {
+ margin: 0 -25px;
+}
+@media all and (max-width: 960px) {
+ #news + #order .container .order_form {
+ margin-top: -60px;
+ }
+}
+@media all and (max-width: 767px) {
+ #news + #order .container .order_form {
+ margin: 0;
+ }
+}
+#order .order_form {
+ position: relative;
+ margin: 0;
+}
+@media all and (max-width: 960px) {
+ #order .order_form {
+ margin-top: -60px;
+ }
+}
+@media all and (max-width: 767px) {
+ #order .order_form {
+ margin: 0;
+ }
+}
+#order .order_form .order_email {
+ display: flex;
+ align-items: center;
+ position: absolute;
+ z-index: 1;
+ background: #EDEFF5;
+ height: 235px;
+ left: 0;
+ right: 0;
+ top: 0;
+ bottom: 0;
+ margin: auto;
+}
+#order .order_form .order_email p {
+ width: 320px;
+ font-size: 24px;
+ line-height: 45px;
+ padding: 0 20px;
+}
+@media all and (max-width: 1600px) and (min-width: 1280px) {
+ #order .order_form .order_email p {
+ font-size: 20px;
+ line-height: 32px;
+ }
+}
+@media all and (max-width: 1280px) {
+ #order .order_form .order_email p {
+ width: 220px;
+ font-size: 13px;
+ line-height: 20px;
+ }
+}
+@media all and (max-width: 767px) {
+ #order .order_form .order_email {
+ position: relative;
+ height: auto;
+ margin-bottom: 25px;
+ }
+ #order .order_form .order_email p {
+ padding: 0;
+ }
+}
+#order .order_form form {
+ width: 750px;
+ background: var(--blue);
+ box-sizing: border-box;
+ padding: 55px 90px;
+ margin: auto;
+ margin-left: 390px;
+ position: relative;
+ z-index: 2;
+}
+@media all and (max-width: 1420px) {
+ #order .order_form form {
+ width: 550px;
+ margin-left: 320px;
+ }
+}
+@media all and (max-width: 960px) {
+ #order .order_form form {
+ width: 50%;
+ padding: 15px 25px;
+ margin-left: auto;
+ margin-right: 0;
+ }
+}
+@media all and (max-width: 767px) {
+ #order .order_form form {
+ width: auto;
+ margin-left: -16px;
+ margin-right: -16px;
+ padding: 25px 16px;
+ }
+}
+#order .order_form form input {
+ margin-bottom: 15px;
+ background: rgba(255, 255, 255, 0.2);
+ color: #fff;
+}
+#order .order_form form input::placeholder {
+ color: #fff;
+}
+#order .order_form form input[type="radio"] {
+ display: none;
+ visibility: hidden;
+}
+#order .order_form form input[type="radio"] + label {
+ display: block;
+ padding-left: 28px;
+ cursor: pointer;
+ color: #fff;
+ margin-bottom: 5px;
+ position: relative;
+}
+#order .order_form form input[type="radio"] + label:last-child {
+ margin-bottom: 15px;
+}
+#order .order_form form input[type="radio"] + label:before {
+ content: "";
+ display: block;
+ width: 16px;
+ min-width: 16px;
+ height: 16px;
+ background: #fff;
+ box-sizing: border-box;
+ border-radius: 100%;
+ margin-right: 12px;
+ position: absolute;
+ left: 0;
+ top: 0;
+}
+#order .order_form form input[type="radio"]:checked + label:before {
+ background: var(--blue);
+ border: 4px solid #fff;
+}
+#order .order_form form input[type="radio"]:disabled + label:before {
+ background: var(--gray);
+ cursor: none;
+}
+#order .order_form form .policy {
+ position: relative;
+ z-index: 2;
+ margin: 5px 25px 45px 25px;
+}
+@media all and (max-width: 1600px) {
+ #order .order_form form .policy {
+ margin-top: -5px;
+ margin-bottom: 25px;
+ margin-left: 0;
+ margin-right: 0;
+ }
+}
+#order .order_form form .policy label {
+ color: #fff;
+ font-weight: 300;
+}
+#order .order_form form .policy label:before {
+ background: #fff;
+ border-radius: 0;
+}
+#order .order_form form .policy input:checked + label:before {
+ border-color: #fff;
+ background: url("/images/icons/checkbox_blue.svg") no-repeat center #fff;
+}
+#order .order_form form .button {
+ display: inherit;
+ margin-left: auto;
+}
+.login {
+ max-width: 410px;
+}
+.login .form_field {
+ margin-bottom: 15px;
+}
+.login input[name="login"] {
+ padding-left: 32px;
+ background: url("/images/icons/icon-login.svg") no-repeat 8px 50%;
+}
+.login input[name="pass"] {
+ padding-left: 32px;
+ background: url("/images/icons/icon-pass.svg") no-repeat 8px 50%;
+}
+.login .button {
+ width: 90px;
+ display: block;
+ margin-left: auto;
+}
+.search_form {
+ margin-bottom: 55px;
+ margin-left: 20px;
+ margin-right: 20px;
+}
+@media all and (max-width: 767px) {
+ .search_form {
+ margin-bottom: 35px;
+ margin-left: 0;
+ margin-right: 0;
+ }
+}
+.search_form form {
+ display: flex;
+ align-items: center;
+ justify-content: space-between;
+}
+.search_form form .form_field:first-child {
+ width: calc(50% - 15px);
+ min-width: calc(50% - 15px);
+ margin-right: 15px;
+}
+.search_form form .form_field:nth-child(2),
+.search_form form .form_field:nth-child(3) {
+ width: 100%;
+ margin-right: 15px;
+}
+.search_form form .form_field.single {
+ width: 100%;
+ margin-right: 20px;
+}
+.search_form form .button {
+ width: 158px;
+ min-width: 158px;
+}
+@media all and (max-width: 767px) {
+ .search_form form {
+ display: block;
+ }
+ .search_form form .form_field.single {
+ margin-right: 0;
+ margin-bottom: 10px;
+ }
+ .search_form form .button {
+ width: 100%;
+ }
+ .search_form form .button:disabled {
+ background: var(--inactive);
+ }
+}
+.reconciliation_form.small {
+ display: flex;
+ flex-wrap: wrap;
+ justify-content: space-between;
+ max-width: 420px;
+}
+.reconciliation_form.small .form_field {
+ width: calc(50% - 8px);
+}
+.reconciliation_form.small button {
+ margin-top: 35px;
+ width: calc(45% - 8px);
+}
+.reconciliation_form.small button:last-child {
+ width: calc(55% - 8px);
+}
+.fade {
+ position: fixed;
+ z-index: 999;
+ top: 0;
+ left: 0;
+ width: 100%;
+ height: 100%;
+ overflow: auto;
+ background: rgba(0, 0, 0, 0.5);
+ display: block;
+}
+.fade:not(.opened) {
+ display: none;
+}
+.fade .modal {
+ max-width: 640px;
+ width: 100%;
+ background: #fff;
+ margin: 100px auto;
+ padding: 45px 80px;
+}
+.fade .modal .modal_footer {
+ text-align: right;
+ margin-top: 30px;
+}
+.fade .modal .modal_footer .button {
+ margin-left: auto;
+}
+#cookie {
+ position: fixed;
+ bottom: 20px;
+ left: 50%;
+ transform: translate(-50%, 0);
+ background: #fff;
+ z-index: 999;
+ display: none;
+ padding: 25px 15px;
+ z-index: 99;
+ border: 1px solid #EDEFF5;
+}
+@media all and (max-width: 1280px) {
+ #cookie {
+ bottom: 95px;
+ }
+}
+@media all and (max-width: 768px) {
+ #cookie {
+ bottom: 165px;
+ width: calc(100% - 32px);
+ }
+ #cookie p {
+ white-space: pre-wrap !important;
+ }
+}
+#cookie .close {
+ width: 22px;
+ height: 22px;
+ border: 0;
+ background: url("/images/icons/close-blue.svg") no-repeat center;
+ outline: none;
+ position: absolute;
+ top: 4px;
+ right: 4px;
+}
+#cookie p {
+ white-space: nowrap;
+}
+#cookie p a {
+ color: var(--blue);
+}
+@media all and (max-width: 768px) {
+ .cookie_spacer {
+ padding-bottom: 155px !important;
+ }
+}
+.page_search {
+ margin-bottom: 25px;
+}
+.page_search form {
+ display: flex;
+ align-items: center;
+}
+.page_search form .form_field {
+ width: 100%;
+}
+.page_search form button {
+ min-width: 90px;
+}
+#preapproval_block {
+ position: fixed;
+ z-index: 1000;
+ left: 20px;
+ bottom: 25px;
+}
+@media all and (max-width: 1280px) {
+ #preapproval_block {
+ bottom: 95px;
+ }
+}
+@media all and (max-width: 768px) {
+ #preapproval_block {
+ left: 0px;
+ }
+}
+@media all and (max-width: 540px) {
+ #preapproval_block.active {
+ width: 100vw;
+ height: 100vh;
+ left: 0px;
+ top: 0px;
+ }
+}
+#preapproval_block #preapproval_block_span_wrapper {
+ overflow: hidden;
+ margin-left: -40px;
+ padding-left: 40px;
+}
+#preapproval_block .span_hidden {
+ z-index: 1;
+ transform: translate(-500px, 0px);
+}
+#preapproval_block .span_animate_out {
+ z-index: 1;
+ transform: translate(0px, 0px);
+ animation: preapproval_span_hide 1s normal forwards ease-in-out 1s;
+}
+#preapproval_block .span_animate_hide {
+ z-index: 1;
+ transform: translate(0px, 0px);
+ animation: preapproval_span_hide 1s normal forwards ease-in-out;
+}
+#preapproval_block .span_animate_show {
+ z-index: 1;
+ transform: translate(-500px, 0px);
+ animation: preapproval_span_show 1s normal forwards ease-in-out;
+}
+#preapproval_block i {
+ z-index: 2;
+}
+@keyframes preapproval_span_hide {
+ from {
+ transform: translate(0px, 0px);
+ }
+ to {
+ transform: translate(-500px, 0px);
+ }
+}
+@keyframes preapproval_span_show {
+ from {
+ transform: translate(-500px, 0px);
+ }
+ to {
+ transform: translate(0px, 0px);
+ }
+}
+#preapproval_block .preapproval_form_policy label {
+ font-size: 12px;
+ text-align: left;
+ line-height: 14px;
+ color: #0c0c0c;
+ font-weight: 300;
+ padding-left: 28px;
+ user-select: none;
+ -moz-user-select: none;
+ -webkit-user-select: none;
+ -ms-user-select: none;
+}
+#preapproval_block .preapproval_form_policy label:before {
+ background: #fff;
+ border-radius: 0;
+}
+#preapproval_block .preapproval_form_policy input:checked + label:before {
+ background: url("/images/icons/checkbox_white.svg") no-repeat center #1c01a9;
+}
+#preapproval_block.active .block_open {
+ display: none;
+}
+#preapproval_block.active .block_form {
+ display: block;
+}
+@media all and (max-width: 540px) {
+ #preapproval_block.active .block_form {
+ width: 100vw;
+ height: 100vh;
+ border-radius: 0px;
+ }
+}
+#preapproval_block .block_toggle {
+ cursor: pointer;
+}
+#preapproval_block .block_open {
+ display: flex;
+ align-items: center;
+ justify-content: flex-start;
+ gap: 0 13px;
+}
+#preapproval_block .block_open span {
+ display: inline-block;
+ font-size: 15px;
+ color: #fff;
+ font-weight: 6000;
+ line-height: 20px;
+ padding: 11px 16px;
+ border-radius: 8px;
+ background: var(--blue);
+}
+#preapproval_block .block_open i {
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ width: 60px;
+ height: 60px;
+ border-radius: 100%;
+ box-shadow: 0px 4px 32px 0px rgba(0, 0, 0, 0.16);
+ background: var(--blue);
+ position: relative;
+}
+@media all and (max-width: 768px) {
+ #preapproval_block .block_open i {
+ flex: none;
+ }
+}
+#preapproval_block .block_open i:before {
+ content: "";
+ display: block;
+ width: 24px;
+ height: 24px;
+ background: url("/images/icons/Bell.svg") no-repeat center;
+ position: absolute;
+ top: -3px;
+ right: -5px;
+}
+#preapproval_block .block_form {
+ display: none;
+ width: 368px;
+ border-radius: 15px;
+ background: var(--white, #FFF);
+ box-shadow: 0px 4px 32px 0px rgba(0, 0, 0, 0.16);
+ overflow: hidden;
+}
+#preapproval_block .block_form .block_header {
+ height: 126px;
+ background: var(--blue);
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ position: relative;
+ padding: 24px;
+}
+#preapproval_block .block_form .block_header p {
+ text-align: center;
+ margin: 40px 0 0 0;
+ font-size: 15px;
+ line-height: 23px;
+ color: #fff;
+ font-weight: 700;
+ max-width: 235px;
+}
+#preapproval_block .block_form .block_header .block_close {
+ width: 40px;
+ height: 40px;
+ background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20 35C28.2843 35 35 28.2843 35 20C35 11.7157 28.2843 5 20 5C11.7157 5 5 11.7157 5 20C5 28.2843 11.7157 35 20 35Z' fill='white'/%3E%3Cpath d='M25.625 18.125L20 24.375L14.375 18.125' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A");
+ padding: 0;
+ border: 0;
+ position: absolute;
+ top: 16px;
+ right: 24px;
+}
+#preapproval_block .block_form form {
+ padding: 24px;
+}
+#preapproval_block .block_form form .form_field {
+ margin-bottom: 16px;
+}
+#preapproval_block .block_form form .step {
+ text-align: center;
+}
+#preapproval_block .block_form form .step p {
+ padding: 0px 20px 20px 20px;
+}
+#preapproval_block .block_form form .step:not(.active) {
+ display: none;
+}
+#preapproval_block .block_form form .step .error input {
+ border-color: #A8026B;
+}
+#preapproval_block .block_form form .step .error:after {
+ color: #A8026B;
+}
diff --git a/local/templates/evolution/css/forms/style.less b/local/templates/evolution/css/forms/style.less
index 049e74d..47a0d27 100644
--- a/local/templates/evolution/css/forms/style.less
+++ b/local/templates/evolution/css/forms/style.less
@@ -659,21 +659,28 @@
#cookie {
position: fixed;
bottom: 20px;
- left: 20px;
+ left: 50%;
+ transform: translate(-50%, 0);
background: #fff;
z-index: 999;
display: none;
padding: 25px 15px;
- max-width: 320px;
z-index: 99;
border: 1px solid #EDEFF5;
+ @media all and (max-width: 1280px) {
+ bottom: 95px;
+ }
+
@media all and (max-width: 768px) {
- bottom: 0;
- left: 0;
- left: 0;
- margin: auto;
- max-width: none;
+ bottom: 165px;
+ width: ~"calc(100% - 32px)";
+ p { white-space: pre-wrap !important; }
+ // bottom: 0;
+ // left: 0;
+ // left: 0;
+ // margin: auto;
+ // max-width: none;
}
.close {
@@ -683,17 +690,24 @@
background: url("/images/icons/close-blue.svg") no-repeat center;
outline: none;
position: absolute;
- top: 10px;
- right: 10px;
+ top: 4px;
+ right: 4px;
}
p {
+ white-space: nowrap;
a {
color: var(--blue);
}
}
}
+.cookie_spacer {
+ @media all and (max-width: 768px) {
+ padding-bottom: 155px !important;
+ }
+}
+
.page_search {
margin-bottom: 25px;
@@ -712,15 +726,107 @@
}
// Предварительное одобрение
-#preaprove_block {
+#preapproval_block {
position: fixed;
- z-index: 100;
+ z-index: 1000;
left: 20px;
bottom: 25px;
- @media all and (max-width: 1200px) {
- display: none;
- }
+ @media all and (max-width: 1280px) {
+ //display: none;
+ bottom: 95px;
+ }
+
+ @media all and (max-width: 768px) {
+ left: 0px;
+ }
+
+ @media all and (max-width: 540px) {
+ &.active {
+ width: 100vw;
+ height: 100vh;
+ left: 0px;
+ top: 0px;
+ }
+ }
+
+ #preapproval_block_span_wrapper {
+ overflow: hidden;
+ margin-left: -40px;
+ padding-left: 40px;
+ }
+
+ .span_hidden {
+ z-index: 1;
+ transform: translate(-500px, 0px);
+ }
+
+ .span_animate_out {
+ z-index: 1;
+ transform: translate(0px, 0px);
+ animation: preapproval_span_hide 1s normal forwards ease-in-out 1s;
+ }
+
+ .span_animate_hide {
+ z-index: 1;
+ transform: translate(0px, 0px);
+ animation: preapproval_span_hide 1s normal forwards ease-in-out;
+ }
+
+ .span_animate_show {
+ z-index: 1;
+ transform: translate(-500px, 0px);
+ animation: preapproval_span_show 1s normal forwards ease-in-out;
+ }
+
+ i {
+ z-index: 2;
+ }
+
+ @keyframes preapproval_span_hide {
+ from {
+ transform: translate(0px, 0px);
+ }
+
+ to {
+ transform: translate(-500px, 0px);
+ }
+ }
+
+ @keyframes preapproval_span_show {
+ from {
+ transform: translate(-500px, 0px);
+ }
+
+ to {
+ transform: translate(0px, 0px);
+ }
+ }
+
+ .preapproval_form_policy {
+ label {
+ font-size: 12px;
+ text-align: left;
+ line-height: 14px;
+ color: rgb(12, 12, 12);
+ font-weight: 300;
+ padding-left: 28px;
+
+ user-select: none;
+ -moz-user-select: none;
+ -webkit-user-select: none;
+ -ms-user-select: none;
+
+ &:before {
+ background: #fff;
+ border-radius: 0;
+ }
+ }
+
+ input:checked+label:before {
+ background: url("/images/icons/checkbox_white.svg") no-repeat center #1c01a9;
+ }
+ }
&.active {
.block_open {
@@ -729,6 +835,12 @@
.block_form {
display: block;
+
+ @media all and (max-width: 540px) {
+ width: 100vw;
+ height: 100vh;
+ border-radius: 0px;
+ }
}
}
@@ -764,6 +876,10 @@
background: var(--blue);
position: relative;
+ @media all and (max-width: 768px) {
+ flex: none;
+ }
+
&:before {
content: "";
display: block;
@@ -826,9 +942,25 @@
.step {
text-align: center;
- &:not(.active) {
+ p {
+ padding: 0px 20px 20px 20px;
+ }
+
+ &:not(.active) {
display: none;
}
+
+ .error {
+ input {
+ border-color: #A8026B;
+
+ }
+
+ &:after {
+ color: #A8026B;
+ }
+ }
+
}
}
}
diff --git a/local/templates/evolution/css/var.css b/local/templates/evolution/css/var.css
index d4e4c29..60b9404 100644
--- a/local/templates/evolution/css/var.css
+++ b/local/templates/evolution/css/var.css
@@ -1 +1,1368 @@
-:root{--blue:#1C01A9;--blue-secondary:#85B2FC;--gray:#2C2D2E;--gray-light:rgba(0,16,61,0.06);--primary:#005FF9;--primary-light:rgba(0,95,249,0.1);--red:#ED0A34;--inactive:#EDEFF5;--green:#04A8A4;--text_not_active:#8E94A7}@font-face{font-family:'PF Din Display Pro Bold';src:url('../fonts/PFDinDisplayPro-Bold.woff') format('woff');font-weight:normal;font-style:normal}@media all and (min-width:1280px) and (max-width:1420px){.zoom-90{zoom:.9 }.zoom-80{zoom:.8 }.zoom-70{zoom:.7 }.zoom-60{zoom:.6 }.zoom-50{zoom:.5 }.zoom-40{zoom:.4 }.zoom-30{zoom:.3 }.zoom-20{zoom:.2 }.zoom-10{zoom:.1 }}@media all and (min-width:768px) and (max-width:1279px){.tb-zoom-90{zoom:.9 }.tb-zoom-80{zoom:.8 }.tb-zoom-70{zoom:.7 }.tb-zoom-60{zoom:.6 }.tb-zoom-50{zoom:.5 }.tb-zoom-40{zoom:.4 }.tb-zoom-30{zoom:.3 }.tb-zoom-20{zoom:.2 }.tb-zoom-10{zoom:.1 }}@media all and (max-width:768px){.sm-zoom-90{zoom:.9 }.sm-zoom-80{zoom:.8 }.sm-zoom-70{zoom:.7 }.sm-zoom-60{zoom:.6 }.sm-zoom-50{zoom:.5 }.sm-zoom-40{zoom:.4 }.sm-zoom-30{zoom:.3 }.sm-zoom-20{zoom:.2 }.sm-zoom-10{zoom:.1 }}html,body{scroll-behavior:smooth;cursor:default}body{font-size:15px;line-height:20px;color:#0C0C0C;font-family:'Montserrat',sans-serif;font-weight:400}@media all and (max-width:1600px) and (min-width:1280px){body{font-size:13px;line-height:20px}}@media all and (max-width:960px){body{font-size:13px;line-height:20px}}.container{padding-top:80px;padding-bottom:80px;width:100%;max-width:1310px;margin:auto;position:relative}@media all and (max-width:1600px) and (min-width:1280px){.container{padding-top:45px;padding-bottom:45px}}@media all and (max-width:960px){.container{padding-top:40px;padding-bottom:40px}}.container.wide{max-width:1340px;padding-left:25px;padding-right:25px}@media all and (max-width:767px){.container.wide{padding-left:0;padding-right:0}}@media all and (max-width:1420px){.container{width:calc(100% - 160px);margin:0 auto}}@media all and (max-width:767px){.container{margin:0 16px;width:calc(100% - 32px)}}.aside_container{display:flex;justify-content:space-between}.aside_container aside{width:415px}@media all and (max-width:960px){.aside_container aside{width:100%}}.aside_container article{width:calc(100% - 550px)}.aside_container article:only-child{width:100%}.aside_container article .info_column{padding:20px 40px;display:flex;flex-wrap:wrap;justify-content:space-between;border-bottom:1px solid #EDEFF5}.aside_container article .info_column div{width:calc(50% - 55px)}@media all and (max-width:960px){.aside_container article .info_column{padding:0}.aside_container article .info_column div{width:100%}}@media all and (max-width:960px){.aside_container article{width:100%}.aside_container article .info_column{padding:25px 0}}.aside_container.about aside{width:305px}@media all and (max-width:1600px) and (min-width:1280px){.aside_container.about aside{width:265px}}.aside_container.about article{width:calc(100% - 335px)}@media all and (max-width:1600px) and (min-width:1280px){.aside_container.about article{width:calc(100% - 295px)}}@media all and (max-width:1279px){.aside_container.about{display:block}.aside_container.about aside,.aside_container.about article{width:100%}}.section_title{font-size:50px;line-height:60px;font-weight:700;color:#0C0C0C;margin-bottom:35px;position:relative}.section_title.no-margin{margin-bottom:0}@media all and (max-width:1600px) and (min-width:1280px){.section_title{font-size:36px;line-height:48px}}@media all and (max-width:1279px){.section_title{font-size:32px;line-height:44px}}@media all and (max-width:960px){.section_title{font-size:22px;line-height:33px}}@media all and (max-width:767px){.section_title{margin-bottom:25px}}.section_title.wp{padding-right:210px}@media all and (max-width:1279px){.section_title.wp{padding-right:0}}.section_title_with_em{font-size:26px;line-height:35px;color:var(--text_not_active) !important;margin-top:0;margin-bottom:35px}@media all and (max-width:767px){.section_title_with_em{font-size:19px;line-height:26px}}.section_title_with_em em{font-size:50px;line-height:60px;font-weight:700;color:#0C0C0C;position:relative;font-style:normal}.section_title_with_em em.no-margin{margin-bottom:0}@media all and (max-width:1600px) and (min-width:1280px){.section_title_with_em em{font-size:36px;line-height:48px}}@media all and (max-width:1279px){.section_title_with_em em{font-size:32px;line-height:44px}}@media all and (max-width:960px){.section_title_with_em em{font-size:22px;line-height:33px}}@media all and (max-width:767px){.section_title_with_em em{margin-bottom:25px}}.section_title_with_em em.wp{padding-right:210px}@media all and (max-width:1279px){.section_title_with_em em.wp{padding-right:0}}.order_title{font-size:36px !important;line-height:0px !important;margin-top:28px !important;font-weight:700;color:#0C0C0C;position:relative}.order_title.no-margin{margin-bottom:0}@media all and (max-width:1600px) and (min-width:1280px){.order_title{font-size:36px !important}}@media all and (max-width:1279px){.order_title{font-size:32px !important}}@media all and (max-width:960px){.order_title{font-size:22px !important;line-height:0px !important}}@media all and (max-width:767px){.order_title{font-size:22px !important;line-height:23px !important;margin:0px !important;margin-bottom:15px !important}}.order_title.wp{padding-right:210px !important}@media all and (max-width:1279px){.order_title.wp{padding-right:0 !important}}.order_title_sub{font-size:24px !important;line-height:10px !important;font-weight:normal !important;margin-bottom:50px;color:#0C0C0C;position:relative}.order_title_sub.no-margin{margin-bottom:0}@media all and (max-width:1279px){.order_title_sub{font-size:22px !important}}@media all and (max-width:960px){.order_title_sub{font-size:20px !important;line-height:10px !important;margin-bottom:90px !important}}@media all and (max-width:767px){.order_title_sub{line-height:20px !important;font-size:18px !important;margin:0px !important;margin-bottom:30px !important}}.order_title_sub.wp{padding-right:210px}@media all and (max-width:1279px){.order_title_sub.wp{padding-right:0}}.car_position_title{font-size:26px;line-height:35px;color:var(--text_not_active) !important;margin-top:0;margin-bottom:0}@media all and (max-width:767px){.car_position_title{font-size:19px;line-height:26px}}.car_position_title em{font-size:50px;line-height:60px;font-weight:700;color:#0C0C0C;margin-bottom:35px;position:relative;font-style:normal}.car_position_title em.no-margin{margin-bottom:0}@media all and (max-width:1600px) and (min-width:1280px){.car_position_title em{font-size:36px;line-height:48px}}@media all and (max-width:1279px){.car_position_title em{font-size:32px;line-height:44px}}@media all and (max-width:960px){.car_position_title em{font-size:22px;line-height:33px}}@media all and (max-width:767px){.car_position_title em{margin-bottom:25px}}.car_position_title em.wp{padding-right:210px}@media all and (max-width:1279px){.car_position_title em.wp{padding-right:0}}h1{font-size:32px;line-height:40px}h2{font-size:24px;line-height:28px;margin-top:1.5em;margin-bottom:10px}@media all and (max-width:1600px) and (min-width:1280px){h2{font-size:22px;line-height:26px}}h2.model{font-size:26px;line-height:35px;color:var(--text_not_active);margin-top:0;margin-bottom:0}@media all and (max-width:767px){h2.model{font-size:19px;line-height:26px}}h2:first-child{margin-top:0}h3{font-size:17px;line-height:24px;margin-top:1.5em;margin-bottom:10px}h3:first-child{margin-top:0}h4{font-size:15px;line-height:20px;margin-top:1.5em;margin-bottom:10px}h4:first-child{margin-top:0}.secondary{font-size:13px;line-height:20px}.secondary.not_active{color:#8E94A7}@media all and (max-width:960px){.secondary{font-size:10px;line-height:15px}}b,strong{font-weight:700}p.primary{color:var(--blue)}a{text-decoration:none;color:var(--blue)}div{box-sizing:border-box}.clear{display:block;clear:both}@media all and (max-width:1279px){h2{font-size:20px;line-height:24px}}@media all and (max-width:736px){h1{font-size:24px;line-height:32px}h2{font-size:20px;line-height:24px}}.i-phone{padding-left:28px;background:url("/images/icons/icon-phone-hot.svg") no-repeat 0 2px}.i-phone-secondary{padding-left:28px;background:url("/images/icons/icon-phone-secondary.svg") no-repeat 0 2px}.i-address{padding-left:28px;background:url("/images/icons/icon-address.svg") no-repeat 0 2px}.i-worktime{padding-left:28px;background:url("/images/icons/icon-worktime.svg") no-repeat 0 2px}.i-pdf{padding-left:80px;background:url("/images/icons/icon-pdf.svg") no-repeat left center}.i-pdf[data-format]{background:url("/images/icons/icon-file.svg") no-repeat left center}@media all and (max-width:1600px) and (min-width:1280px){.i-pdf{padding-left:56px;background-size:42px}}@media all and (max-width:960px){.i-pdf{padding-left:55px;background-size:32px;background-position:0 5px}}.success{color:var(--green)}.danger{color:var(--red)}@media all and (max-width:767px){::-webkit-scrollbar{display:none}}.line_style{content:"";display:block;position:absolute;top:50px;left:0;right:0;bottom:0;z-index:-1;pointer-events:none;box-sizing:border-box;border-left:1px solid #EDEFF5;border-right:1px solid #EDEFF5}@media all and (max-width:1279px){.line_style{display:none}}section[data-page] .container:before{content:"";display:block;position:absolute;top:50px;left:0;right:0;bottom:0;z-index:-1;pointer-events:none;box-sizing:border-box;border-left:1px solid #EDEFF5;border-right:1px solid #EDEFF5}@media all and (max-width:1279px){section[data-page] .container:before{display:none}}section[data-page]+#order .container{border-left:1px solid #EDEFF5;border-right:1px solid #EDEFF5}@media all and (max-width:1279px){section[data-page]+#order .container{border:0}}section[data-page][data-page="programs"] .container:before{content:"";display:block;position:absolute;top:50px;left:0;right:0;bottom:0;z-index:-1;pointer-events:none;box-sizing:border-box;border-left:1px solid #EDEFF5;border-right:1px solid #EDEFF5}@media all and (max-width:1279px){section[data-page][data-page="programs"] .container:before{display:none}}section[data-page][data-page="programs"] .container .programs_list{position:relative}section[data-page][data-page="programs"] .container .programs_list:before{content:"";display:block;position:absolute;top:50px;left:0;right:0;bottom:0;z-index:-1;pointer-events:none;box-sizing:border-box;border-left:1px solid #EDEFF5;border-right:1px solid #EDEFF5;left:calc(25% + 7px);right:calc(25% - 23px);top:40px;bottom:-80px}@media all and (max-width:1279px){section[data-page][data-page="programs"] .container .programs_list:before{display:none}}section[data-page][data-page="programs"] .container .programs_list:after{content:"";display:block;position:absolute;top:50px;left:0;right:0;bottom:0;z-index:-1;pointer-events:none;box-sizing:border-box;border-left:1px solid #EDEFF5;border-right:1px solid #EDEFF5;top:40px;bottom:-80px;border-right:0;left:calc(50% + 13px)}@media all and (max-width:1279px){section[data-page][data-page="programs"] .container .programs_list:after{display:none}}section[data-page][data-page="programs"]+#order .container:before{content:"";display:block;position:absolute;top:50px;left:0;right:0;bottom:0;z-index:-1;pointer-events:none;box-sizing:border-box;border-left:1px solid #EDEFF5;border-right:1px solid #EDEFF5;left:calc(25% + 7px);right:calc(25% - 23px);top:0px;bottom:-80px}@media all and (max-width:1279px){section[data-page][data-page="programs"]+#order .container:before{display:none}}section[data-page][data-page="programs"]+#order .container:after{content:"";display:block;position:absolute;top:50px;left:0;right:0;bottom:0;z-index:-1;pointer-events:none;box-sizing:border-box;border-left:1px solid #EDEFF5;border-right:1px solid #EDEFF5;top:0px;bottom:-80px;border-right:0;left:calc(50% + 13px)}@media all and (max-width:1279px){section[data-page][data-page="programs"]+#order .container:after{display:none}}@media all and (max-width:1279px){section[data-page][data-page="programs"]+#order .container{border-right:0;border-left:0}section[data-page][data-page="programs"]+#order .container:before,section[data-page][data-page="programs"]+#order .container:after{display:none}}section[data-page][data-page="services"] .container:before{content:"";display:block;position:absolute;top:50px;left:0;right:0;bottom:0;z-index:-1;pointer-events:none;box-sizing:border-box;border-left:1px solid #EDEFF5;border-right:1px solid #EDEFF5}@media all and (max-width:1279px){section[data-page][data-page="services"] .container:before{display:none}}section[data-page][data-page="services"] .container .services_list{position:relative}section[data-page][data-page="services"] .container .services_list:before{content:"";display:block;position:absolute;top:50px;left:0;bottom:0;z-index:-1;pointer-events:none;box-sizing:border-box;border-left:1px solid #EDEFF5;border-right:1px solid #EDEFF5;left:30px;right:0;margin:auto;width:calc(33.333% + 13px);top:40px;bottom:-80px}@media all and (max-width:1279px){section[data-page][data-page="services"] .container .services_list:before{display:none}}section[data-page][data-page="services"]+#order .container:before{content:"";display:block;position:absolute;top:50px;left:0;bottom:0;z-index:-1;pointer-events:none;box-sizing:border-box;border-left:1px solid #EDEFF5;border-right:1px solid #EDEFF5;left:30px;right:0;margin:auto;width:calc(33.333% + 13px);top:0px;bottom:-80px}@media all and (max-width:1279px){section[data-page][data-page="services"]+#order .container:before{display:none}}@media all and (max-width:1279px){section[data-page][data-page="services"]+#order .container{border-right:0;border-left:0}section[data-page][data-page="services"]+#order .container:before,section[data-page][data-page="services"]+#order .container:after{display:none}}section[data-page][data-page="catalog"] .container:before{content:"";display:block;position:absolute;top:50px;left:0;right:0;bottom:0;z-index:-1;pointer-events:none;box-sizing:border-box;border-left:1px solid #EDEFF5;border-right:1px solid #EDEFF5}@media all and (max-width:1279px){section[data-page][data-page="catalog"] .container:before{display:none}}section[data-page][data-page="catalog"] .container .catalog_list{position:relative}section[data-page][data-page="catalog"] .container .catalog_list:before{content:"";display:block;position:absolute;top:50px;left:0;bottom:0;z-index:-1;pointer-events:none;box-sizing:border-box;border-left:1px solid #EDEFF5;border-right:1px solid #EDEFF5;left:30px;right:0;margin:auto;width:calc(33.333% + 13px);top:40px;bottom:-200px}@media all and (max-width:1279px){section[data-page][data-page="catalog"] .container .catalog_list:before{display:none}}section[data-page][data-page="catalog"]+#order .container:before{content:"";display:block;position:absolute;top:50px;left:0;bottom:0;z-index:-1;pointer-events:none;box-sizing:border-box;border-left:1px solid #EDEFF5;border-right:1px solid #EDEFF5;left:30px;right:0;margin:auto;width:calc(33.333% + 13px);top:0px;bottom:-80px}@media all and (max-width:1279px){section[data-page][data-page="catalog"]+#order .container:before{display:none}}@media all and (max-width:1279px){section[data-page][data-page="catalog"]+#order .container{border-right:0;border-left:0}section[data-page][data-page="catalog"]+#order .container:before,section[data-page][data-page="catalog"]+#order .container:after{display:none}}section[data-page][data-page="special"] .container:before{content:"";display:block;position:absolute;top:50px;left:0;right:0;bottom:0;z-index:-1;pointer-events:none;box-sizing:border-box;border-left:1px solid #EDEFF5;border-right:1px solid #EDEFF5}@media all and (max-width:1279px){section[data-page][data-page="special"] .container:before{display:none}}section[data-page][data-page="special"] .container .special_list{position:relative}section[data-page][data-page="special"] .container .special_list:after{content:"";display:block;position:absolute;top:50px;bottom:0;z-index:-1;pointer-events:none;box-sizing:border-box;border-left:1px solid #EDEFF5;border-right:1px solid #EDEFF5;border-right:0;left:0;right:0;margin:auto;top:0;width:1px;bottom:-80px}@media all and (max-width:1279px){section[data-page][data-page="special"] .container .special_list:after{display:none}}section[data-page][data-page="special"]+#order .container:after{content:"";display:block;position:absolute;top:50px;bottom:0;z-index:-1;pointer-events:none;box-sizing:border-box;border-left:1px solid #EDEFF5;border-right:1px solid #EDEFF5;border-right:0;left:0;right:0;margin:auto;top:0;width:1px;bottom:-80px}@media all and (max-width:1279px){section[data-page][data-page="special"]+#order .container:after{display:none}}[data-page="position"] .container:before{border-right:0 !important}[data-page="position"] .model_container{border-right:1px solid #EDEFF5}@media all and (max-width:1279px){[data-page="position"] .model_container{border-right:0}}[data-page="leasing_special"] .container:before{border-right:0 !important}[data-page="leasing_special"] .special_item:not(:last-child):before{content:"";display:block;width:1px;height:auto;background:#EDEFF5;position:absolute;top:30px;right:-15px;bottom:-150px}[data-page="news_main"] .news_item:not(:first-child){border-left:1px solid #fff}@media all and (max-width:767px){[data-page="news_main"] .news_item:not(:first-child){border-left:0}}[data-page="news_main"] .container:before{top:0 !important;width:391px;right:auto;bottom:-80px}[data-page="news_main"] .container:after{content:"";display:block !important;position:absolute;top:0;left:755px;z-index:-1;width:365px;bottom:-80px;border-left:1px solid #EDEFF5;border-right:1px solid #EDEFF5}[data-page="news_main"]+#order .container{border-right:0 !important}[data-page="news_main"]+#order .container:before{content:"";display:block !important;position:absolute;border-right:1px solid #EDEFF5;top:0 !important;left:0;width:389px;right:auto;bottom:-80px}[data-page="news_main"]+#order .container:after{content:"";display:block !important;position:absolute;top:0;left:754px;z-index:-1;width:365px;bottom:-80px;border-left:1px solid #EDEFF5;border-right:1px solid #EDEFF5}[data-page="about"] .container:before{content:"";display:block;position:absolute;top:50px;left:0;right:0;bottom:0;z-index:-1;pointer-events:none;box-sizing:border-box;border-left:1px solid #EDEFF5;border-right:1px solid #EDEFF5}@media all and (max-width:1279px){[data-page="about"] .container:before{display:none}}[data-page="about"] .container aside{position:relative}[data-page="about"] .container aside:before{content:"";display:block;position:absolute;top:50px;left:0;bottom:0;z-index:-1;pointer-events:none;box-sizing:border-box;border-left:1px solid #EDEFF5;border-right:1px solid #EDEFF5;left:auto;right:0;margin:auto;width:1px;border-left:0;top:0px;bottom:-80px}@media all and (max-width:1279px){[data-page="about"] .container aside:before{display:none}}[data-page="about"]+#order .container:before{content:"";display:block;position:absolute;top:50px;right:0;bottom:0;z-index:-1;pointer-events:none;box-sizing:border-box;border-left:1px solid #EDEFF5;border-right:1px solid #EDEFF5;left:0;right:auto;margin:auto;width:304px;top:0px;bottom:-80px;border-left:0}@media all and (max-width:1279px){[data-page="about"]+#order .container:before{display:none}}@media all and (max-width:1279px){[data-page="about"]+#order .container{border-right:0;border-left:0}[data-page="about"]+#order .container:before,[data-page="about"]+#order .container:after{display:none}}#main_slider{position:relative}#main_slider:after{content:"";display:block;height:1px;position:absolute;top:0;left:0;right:0;bottom:0;margin:auto;background:#fff;opacity:.1;pointer-events:none;z-index:1}#main_slider .container{border-left:1px solid rgba(255,255,255,0.1)}@media all and (max-width:1660px){#main_slider .container{border-right:1px solid rgba(255,255,255,0.1)}}@media all and (max-width:767px){#main_slider .container{border-left:0;border-right:0}}#main_slider .container:before,#main_slider .container:after{content:"";display:block;position:absolute;top:0;left:286px;bottom:0;opacity:.1;width:286px;border-left:1px solid #fff;border-right:1px solid #fff}@media all and (max-width:1660px){#main_slider .container:before,#main_slider .container:after{left:20%;width:20%}}@media all and (max-width:767px){#main_slider .container:before,#main_slider .container:after{width:40%;left:0;right:0;margin:auto}}#main_slider .container:after{left:858px}@media all and (max-width:1660px){#main_slider .container:after{left:60%}}@media all and (max-width:767px){#main_slider .container:after{display:none}}#main_slider+#filter .container{border-left:1px solid #EDEFF5;border-right:1px solid #EDEFF5}#main_slider+#filter .container:before{content:"";display:block;position:absolute;top:0;bottom:0;left:0;right:0;margin:auto;border-left:1px solid #EDEFF5;border-right:1px solid #EDEFF5;width:calc(33.333% + 10px);pointer-events:none}@media all and (max-width:1279px){#main_slider+#filter .container{border:0}#main_slider+#filter .container:before{display:none}}.container_with_filter_with_margin{margin-bottom:0px !important;padding-bottom:20px !important}[data-custom-scroll]::-webkit-scrollbar{width:4px;height:4px}[data-custom-scroll]::-webkit-scrollbar-track{background:var(--inactive)}[data-custom-scroll]::-webkit-scrollbar-thumb{background:var(--blue);border-radius:0px}/*# sourceMappingURL=./var.css.map */
\ No newline at end of file
+:root {
+ --blue: #1C01A9;
+ --blue-secondary: #85B2FC;
+ --gray: #2C2D2E;
+ --gray-light: rgba(0, 16, 61, 0.06);
+ --primary: #005FF9;
+ --primary-light: rgba(0, 95, 249, 0.1);
+ --red: #ED0A34;
+ --inactive: #EDEFF5;
+ --green: #04A8A4;
+ --text_not_active: #8E94A7;
+}
+@font-face {
+ font-family: 'PF Din Display Pro Bold';
+ src: url('../fonts/PFDinDisplayPro-Bold.woff') format('woff');
+ font-weight: normal;
+ font-style: normal;
+}
+html {
+ /*
+ @media all and (max-width: 1420px) and (min-width: 1280px) {
+ zoom: 0.7;
+
+ #calc {
+ zoom: 1.4;
+ }
+
+ .container, .bx-breadcrumb {
+ margin-left: auto;
+ margin-right: auto;
+ }
+ }
+ */
+}
+@media all and (min-width: 1280px) and (max-width: 1420px) {
+ .zoom-90 {
+ zoom: .9 ;
+ }
+ .zoom-80 {
+ zoom: .8 ;
+ }
+ .zoom-70 {
+ zoom: .7 ;
+ }
+ .zoom-60 {
+ zoom: .6 ;
+ }
+ .zoom-50 {
+ zoom: .5 ;
+ }
+ .zoom-40 {
+ zoom: .4 ;
+ }
+ .zoom-30 {
+ zoom: .3 ;
+ }
+ .zoom-20 {
+ zoom: .2 ;
+ }
+ .zoom-10 {
+ zoom: .1 ;
+ }
+}
+@media all and (min-width: 768px) and (max-width: 1279px) {
+ .tb-zoom-90 {
+ zoom: .9 ;
+ }
+ .tb-zoom-80 {
+ zoom: .8 ;
+ }
+ .tb-zoom-70 {
+ zoom: .7 ;
+ }
+ .tb-zoom-60 {
+ zoom: .6 ;
+ }
+ .tb-zoom-50 {
+ zoom: .5 ;
+ }
+ .tb-zoom-40 {
+ zoom: .4 ;
+ }
+ .tb-zoom-30 {
+ zoom: .3 ;
+ }
+ .tb-zoom-20 {
+ zoom: .2 ;
+ }
+ .tb-zoom-10 {
+ zoom: .1 ;
+ }
+}
+@media all and (max-width: 768px) {
+ .sm-zoom-90 {
+ zoom: .9 ;
+ }
+ .sm-zoom-80 {
+ zoom: .8 ;
+ }
+ .sm-zoom-70 {
+ zoom: .7 ;
+ }
+ .sm-zoom-60 {
+ zoom: .6 ;
+ }
+ .sm-zoom-50 {
+ zoom: .5 ;
+ }
+ .sm-zoom-40 {
+ zoom: .4 ;
+ }
+ .sm-zoom-30 {
+ zoom: .3 ;
+ }
+ .sm-zoom-20 {
+ zoom: .2 ;
+ }
+ .sm-zoom-10 {
+ zoom: .1 ;
+ }
+}
+html,
+body {
+ scroll-behavior: smooth;
+ cursor: default;
+}
+body {
+ font-size: 15px;
+ line-height: 20px;
+ color: #0C0C0C;
+ font-family: 'Montserrat', sans-serif;
+ font-weight: 400;
+}
+@media all and (max-width: 1600px) and (min-width: 1280px) {
+ body {
+ font-size: 13px;
+ line-height: 20px;
+ }
+}
+@media all and (max-width: 960px) {
+ body {
+ font-size: 13px;
+ line-height: 20px;
+ }
+}
+.container {
+ padding-top: 80px;
+ padding-bottom: 80px;
+ width: 100%;
+ max-width: 1310px;
+ margin: auto;
+ position: relative;
+}
+@media all and (max-width: 1600px) and (min-width: 1280px) {
+ .container {
+ padding-top: 45px;
+ padding-bottom: 85px;
+ }
+}
+@media all and (max-width: 960px) {
+ .container {
+ padding-top: 40px;
+ padding-bottom: 40px;
+ }
+}
+.container.wide {
+ max-width: 1340px;
+ padding-left: 25px;
+ padding-right: 25px;
+}
+@media all and (max-width: 767px) {
+ .container.wide {
+ padding-left: 0;
+ padding-right: 0;
+ }
+}
+@media all and (max-width: 1420px) {
+ .container {
+ width: calc(100% - 160px);
+ margin: 0 auto;
+ }
+}
+@media all and (max-width: 767px) {
+ .container {
+ margin: 0 16px;
+ width: calc(100% - 32px);
+ }
+}
+.aside_container {
+ display: flex;
+ justify-content: space-between;
+}
+.aside_container aside {
+ width: 415px;
+}
+@media all and (max-width: 960px) {
+ .aside_container aside {
+ width: 100%;
+ }
+}
+.aside_container article {
+ width: calc(100% - 550px);
+}
+.aside_container article:only-child {
+ width: 100%;
+}
+.aside_container article .info_column {
+ padding: 20px 40px;
+ display: flex;
+ flex-wrap: wrap;
+ justify-content: space-between;
+ border-bottom: 1px solid #EDEFF5;
+}
+.aside_container article .info_column div {
+ width: calc(50% - 55px);
+}
+@media all and (max-width: 960px) {
+ .aside_container article .info_column {
+ padding: 0;
+ }
+ .aside_container article .info_column div {
+ width: 100%;
+ }
+}
+@media all and (max-width: 960px) {
+ .aside_container article {
+ width: 100%;
+ }
+ .aside_container article .info_column {
+ padding: 25px 0;
+ }
+}
+.aside_container.about aside {
+ width: 305px;
+}
+@media all and (max-width: 1600px) and (min-width: 1280px) {
+ .aside_container.about aside {
+ width: 265px;
+ }
+}
+.aside_container.about article {
+ width: calc(100% - 335px);
+}
+@media all and (max-width: 1600px) and (min-width: 1280px) {
+ .aside_container.about article {
+ width: calc(100% - 295px);
+ }
+}
+@media all and (max-width: 1279px) {
+ .aside_container.about {
+ display: block;
+ }
+ .aside_container.about aside,
+ .aside_container.about article {
+ width: 100%;
+ }
+}
+.section_title {
+ font-size: 50px;
+ line-height: 60px;
+ font-weight: 700;
+ color: #0C0C0C;
+ margin-bottom: 35px;
+ position: relative;
+}
+.section_title.no-margin {
+ margin-bottom: 0;
+}
+@media all and (max-width: 1600px) and (min-width: 1280px) {
+ .section_title {
+ font-size: 36px;
+ line-height: 48px;
+ }
+}
+@media all and (max-width: 1279px) {
+ .section_title {
+ font-size: 32px;
+ line-height: 44px;
+ }
+}
+@media all and (max-width: 960px) {
+ .section_title {
+ font-size: 22px;
+ line-height: 33px;
+ }
+}
+@media all and (max-width: 767px) {
+ .section_title {
+ margin-bottom: 25px;
+ }
+}
+.section_title.wp {
+ padding-right: 210px;
+}
+@media all and (max-width: 1279px) {
+ .section_title.wp {
+ padding-right: 0;
+ }
+}
+.section_title_with_em {
+ font-size: 26px;
+ line-height: 35px;
+ color: var(--text_not_active) !important;
+ margin-top: 0;
+ margin-bottom: 35px;
+}
+@media all and (max-width: 767px) {
+ .section_title_with_em {
+ font-size: 19px;
+ line-height: 26px;
+ }
+}
+.section_title_with_em em {
+ font-size: 50px;
+ line-height: 60px;
+ font-weight: 700;
+ color: #0C0C0C;
+ position: relative;
+ font-style: normal;
+}
+.section_title_with_em em.no-margin {
+ margin-bottom: 0;
+}
+@media all and (max-width: 1600px) and (min-width: 1280px) {
+ .section_title_with_em em {
+ font-size: 36px;
+ line-height: 48px;
+ }
+}
+@media all and (max-width: 1279px) {
+ .section_title_with_em em {
+ font-size: 32px;
+ line-height: 44px;
+ }
+}
+@media all and (max-width: 960px) {
+ .section_title_with_em em {
+ font-size: 22px;
+ line-height: 33px;
+ }
+}
+@media all and (max-width: 767px) {
+ .section_title_with_em em {
+ margin-bottom: 25px;
+ }
+}
+.section_title_with_em em.wp {
+ padding-right: 210px;
+}
+@media all and (max-width: 1279px) {
+ .section_title_with_em em.wp {
+ padding-right: 0;
+ }
+}
+.order_title {
+ font-size: 36px !important;
+ line-height: 0px !important;
+ margin-top: 28px !important;
+ font-weight: 700;
+ color: #0C0C0C;
+ position: relative;
+}
+.order_title.no-margin {
+ margin-bottom: 0;
+}
+@media all and (max-width: 1600px) and (min-width: 1280px) {
+ .order_title {
+ font-size: 36px !important;
+ }
+}
+@media all and (max-width: 1279px) {
+ .order_title {
+ font-size: 32px !important;
+ }
+}
+@media all and (max-width: 960px) {
+ .order_title {
+ font-size: 22px !important;
+ line-height: 0px !important;
+ }
+}
+@media all and (max-width: 767px) {
+ .order_title {
+ font-size: 22px !important;
+ line-height: 23px !important;
+ margin: 0px !important;
+ margin-bottom: 15px !important;
+ }
+}
+.order_title.wp {
+ padding-right: 210px !important;
+}
+@media all and (max-width: 1279px) {
+ .order_title.wp {
+ padding-right: 0 !important;
+ }
+}
+.order_title_sub {
+ font-size: 24px !important;
+ line-height: 10px !important;
+ font-weight: normal !important;
+ margin-bottom: 50px;
+ color: #0C0C0C;
+ position: relative;
+}
+.order_title_sub.no-margin {
+ margin-bottom: 0;
+}
+@media all and (max-width: 1279px) {
+ .order_title_sub {
+ font-size: 22px !important;
+ }
+}
+@media all and (max-width: 960px) {
+ .order_title_sub {
+ font-size: 20px !important;
+ line-height: 10px !important;
+ margin-bottom: 90px !important;
+ }
+}
+@media all and (max-width: 767px) {
+ .order_title_sub {
+ line-height: 20px !important;
+ font-size: 18px !important;
+ margin: 0px !important;
+ margin-bottom: 30px !important;
+ }
+}
+.order_title_sub.wp {
+ padding-right: 210px;
+}
+@media all and (max-width: 1279px) {
+ .order_title_sub.wp {
+ padding-right: 0;
+ }
+}
+.car_position_title {
+ font-size: 26px;
+ line-height: 35px;
+ color: var(--text_not_active) !important;
+ margin-top: 0;
+ margin-bottom: 0;
+}
+@media all and (max-width: 767px) {
+ .car_position_title {
+ font-size: 19px;
+ line-height: 26px;
+ }
+}
+.car_position_title em {
+ font-size: 50px;
+ line-height: 60px;
+ font-weight: 700;
+ color: #0C0C0C;
+ margin-bottom: 35px;
+ position: relative;
+ font-style: normal;
+}
+.car_position_title em.no-margin {
+ margin-bottom: 0;
+}
+@media all and (max-width: 1600px) and (min-width: 1280px) {
+ .car_position_title em {
+ font-size: 36px;
+ line-height: 48px;
+ }
+}
+@media all and (max-width: 1279px) {
+ .car_position_title em {
+ font-size: 32px;
+ line-height: 44px;
+ }
+}
+@media all and (max-width: 960px) {
+ .car_position_title em {
+ font-size: 22px;
+ line-height: 33px;
+ }
+}
+@media all and (max-width: 767px) {
+ .car_position_title em {
+ margin-bottom: 25px;
+ }
+}
+.car_position_title em.wp {
+ padding-right: 210px;
+}
+@media all and (max-width: 1279px) {
+ .car_position_title em.wp {
+ padding-right: 0;
+ }
+}
+h1 {
+ font-size: 32px;
+ line-height: 40px;
+}
+h2 {
+ font-size: 24px;
+ line-height: 28px;
+ margin-top: 1.5em;
+ margin-bottom: 10px;
+}
+@media all and (max-width: 1600px) and (min-width: 1280px) {
+ h2 {
+ font-size: 22px;
+ line-height: 26px;
+ }
+}
+h2.model {
+ font-size: 26px;
+ line-height: 35px;
+ color: var(--text_not_active);
+ margin-top: 0;
+ margin-bottom: 0;
+}
+@media all and (max-width: 767px) {
+ h2.model {
+ font-size: 19px;
+ line-height: 26px;
+ }
+}
+h2:first-child {
+ margin-top: 0;
+}
+h3 {
+ font-size: 17px;
+ line-height: 24px;
+ margin-top: 1.5em;
+ margin-bottom: 10px;
+}
+h3:first-child {
+ margin-top: 0;
+}
+h4 {
+ font-size: 15px;
+ line-height: 20px;
+ margin-top: 1.5em;
+ margin-bottom: 10px;
+}
+h4:first-child {
+ margin-top: 0;
+}
+.secondary {
+ font-size: 13px;
+ line-height: 20px;
+}
+.secondary.not_active {
+ color: #8E94A7;
+}
+@media all and (max-width: 960px) {
+ .secondary {
+ font-size: 10px;
+ line-height: 15px;
+ }
+}
+b,
+strong {
+ font-weight: 700;
+}
+p.primary {
+ color: var(--blue);
+}
+a {
+ text-decoration: none;
+ color: var(--blue);
+}
+div {
+ box-sizing: border-box;
+}
+.clear {
+ display: block;
+ clear: both;
+}
+@media all and (max-width: 1279px) {
+ h2 {
+ font-size: 20px;
+ line-height: 24px;
+ }
+}
+@media all and (max-width: 736px) {
+ h1 {
+ font-size: 24px;
+ line-height: 32px;
+ }
+ h2 {
+ font-size: 20px;
+ line-height: 24px;
+ }
+}
+.i-phone {
+ padding-left: 28px;
+ background: url("/images/icons/icon-phone-hot.svg") no-repeat 0 2px;
+}
+.i-phone-secondary {
+ padding-left: 28px;
+ background: url("/images/icons/icon-phone-secondary.svg") no-repeat 0 2px;
+}
+.i-address {
+ padding-left: 28px;
+ background: url("/images/icons/icon-address.svg") no-repeat 0 2px;
+}
+.i-worktime {
+ padding-left: 28px;
+ background: url("/images/icons/icon-worktime.svg") no-repeat 0 2px;
+}
+.i-pdf {
+ padding-left: 80px;
+ background: url("/images/icons/icon-pdf.svg") no-repeat left center;
+}
+.i-pdf[data-format] {
+ background: url("/images/icons/icon-file.svg") no-repeat left center;
+}
+@media all and (max-width: 1600px) and (min-width: 1280px) {
+ .i-pdf {
+ padding-left: 56px;
+ background-size: 42px;
+ }
+}
+@media all and (max-width: 960px) {
+ .i-pdf {
+ padding-left: 55px;
+ background-size: 32px;
+ background-position: 0 5px;
+ }
+}
+.success {
+ color: var(--green);
+}
+.danger {
+ color: var(--red);
+}
+@media all and (max-width: 767px) {
+ ::-webkit-scrollbar {
+ display: none;
+ }
+}
+.line_style {
+ content: "";
+ display: block;
+ position: absolute;
+ top: 50px;
+ left: 0;
+ right: 0;
+ bottom: 0;
+ z-index: -1;
+ pointer-events: none;
+ box-sizing: border-box;
+ border-left: 1px solid #EDEFF5;
+ border-right: 1px solid #EDEFF5;
+}
+@media all and (max-width: 1279px) {
+ .line_style {
+ display: none;
+ }
+}
+section[data-page] .container:before {
+ content: "";
+ display: block;
+ position: absolute;
+ top: 50px;
+ left: 0;
+ right: 0;
+ bottom: 0;
+ z-index: -1;
+ pointer-events: none;
+ box-sizing: border-box;
+ border-left: 1px solid #EDEFF5;
+ border-right: 1px solid #EDEFF5;
+}
+@media all and (max-width: 1279px) {
+ section[data-page] .container:before {
+ display: none;
+ }
+}
+section[data-page] + #order .container {
+ border-left: 1px solid #EDEFF5;
+ border-right: 1px solid #EDEFF5;
+}
+@media all and (max-width: 1279px) {
+ section[data-page] + #order .container {
+ border: 0;
+ }
+}
+section[data-page][data-page="programs"] .container:before {
+ content: "";
+ display: block;
+ position: absolute;
+ top: 50px;
+ left: 0;
+ right: 0;
+ bottom: 0;
+ z-index: -1;
+ pointer-events: none;
+ box-sizing: border-box;
+ border-left: 1px solid #EDEFF5;
+ border-right: 1px solid #EDEFF5;
+}
+@media all and (max-width: 1279px) {
+ section[data-page][data-page="programs"] .container:before {
+ display: none;
+ }
+}
+section[data-page][data-page="programs"] .container .programs_list {
+ position: relative;
+}
+section[data-page][data-page="programs"] .container .programs_list:before {
+ content: "";
+ display: block;
+ position: absolute;
+ top: 50px;
+ left: 0;
+ right: 0;
+ bottom: 0;
+ z-index: -1;
+ pointer-events: none;
+ box-sizing: border-box;
+ border-left: 1px solid #EDEFF5;
+ border-right: 1px solid #EDEFF5;
+ left: calc(25% + 7px);
+ right: calc(25% - 23px);
+ top: 40px;
+ bottom: -80px;
+}
+@media all and (max-width: 1279px) {
+ section[data-page][data-page="programs"] .container .programs_list:before {
+ display: none;
+ }
+}
+section[data-page][data-page="programs"] .container .programs_list:after {
+ content: "";
+ display: block;
+ position: absolute;
+ top: 50px;
+ left: 0;
+ right: 0;
+ bottom: 0;
+ z-index: -1;
+ pointer-events: none;
+ box-sizing: border-box;
+ border-left: 1px solid #EDEFF5;
+ border-right: 1px solid #EDEFF5;
+ top: 40px;
+ bottom: -80px;
+ border-right: 0;
+ left: calc(50% + 13px);
+}
+@media all and (max-width: 1279px) {
+ section[data-page][data-page="programs"] .container .programs_list:after {
+ display: none;
+ }
+}
+section[data-page][data-page="programs"] + #order .container:before {
+ content: "";
+ display: block;
+ position: absolute;
+ top: 50px;
+ left: 0;
+ right: 0;
+ bottom: 0;
+ z-index: -1;
+ pointer-events: none;
+ box-sizing: border-box;
+ border-left: 1px solid #EDEFF5;
+ border-right: 1px solid #EDEFF5;
+ left: calc(25% + 7px);
+ right: calc(25% - 23px);
+ top: 0px;
+ bottom: -80px;
+}
+@media all and (max-width: 1279px) {
+ section[data-page][data-page="programs"] + #order .container:before {
+ display: none;
+ }
+}
+section[data-page][data-page="programs"] + #order .container:after {
+ content: "";
+ display: block;
+ position: absolute;
+ top: 50px;
+ left: 0;
+ right: 0;
+ bottom: 0;
+ z-index: -1;
+ pointer-events: none;
+ box-sizing: border-box;
+ border-left: 1px solid #EDEFF5;
+ border-right: 1px solid #EDEFF5;
+ top: 0px;
+ bottom: -80px;
+ border-right: 0;
+ left: calc(50% + 13px);
+}
+@media all and (max-width: 1279px) {
+ section[data-page][data-page="programs"] + #order .container:after {
+ display: none;
+ }
+}
+@media all and (max-width: 1279px) {
+ section[data-page][data-page="programs"] + #order .container {
+ border-right: 0;
+ border-left: 0;
+ }
+ section[data-page][data-page="programs"] + #order .container:before,
+ section[data-page][data-page="programs"] + #order .container:after {
+ display: none;
+ }
+}
+section[data-page][data-page="services"] .container:before {
+ content: "";
+ display: block;
+ position: absolute;
+ top: 50px;
+ left: 0;
+ right: 0;
+ bottom: 0;
+ z-index: -1;
+ pointer-events: none;
+ box-sizing: border-box;
+ border-left: 1px solid #EDEFF5;
+ border-right: 1px solid #EDEFF5;
+}
+@media all and (max-width: 1279px) {
+ section[data-page][data-page="services"] .container:before {
+ display: none;
+ }
+}
+section[data-page][data-page="services"] .container .services_list {
+ position: relative;
+}
+section[data-page][data-page="services"] .container .services_list:before {
+ content: "";
+ display: block;
+ position: absolute;
+ top: 50px;
+ left: 0;
+ bottom: 0;
+ z-index: -1;
+ pointer-events: none;
+ box-sizing: border-box;
+ border-left: 1px solid #EDEFF5;
+ border-right: 1px solid #EDEFF5;
+ left: 30px;
+ right: 0;
+ margin: auto;
+ width: calc(33.333% + 13px);
+ top: 40px;
+ bottom: -80px;
+}
+@media all and (max-width: 1279px) {
+ section[data-page][data-page="services"] .container .services_list:before {
+ display: none;
+ }
+}
+section[data-page][data-page="services"] + #order .container:before {
+ content: "";
+ display: block;
+ position: absolute;
+ top: 50px;
+ left: 0;
+ bottom: 0;
+ z-index: -1;
+ pointer-events: none;
+ box-sizing: border-box;
+ border-left: 1px solid #EDEFF5;
+ border-right: 1px solid #EDEFF5;
+ left: 30px;
+ right: 0;
+ margin: auto;
+ width: calc(33.333% + 13px);
+ top: 0px;
+ bottom: -80px;
+}
+@media all and (max-width: 1279px) {
+ section[data-page][data-page="services"] + #order .container:before {
+ display: none;
+ }
+}
+@media all and (max-width: 1279px) {
+ section[data-page][data-page="services"] + #order .container {
+ border-right: 0;
+ border-left: 0;
+ }
+ section[data-page][data-page="services"] + #order .container:before,
+ section[data-page][data-page="services"] + #order .container:after {
+ display: none;
+ }
+}
+section[data-page][data-page="catalog"] .container:before {
+ content: "";
+ display: block;
+ position: absolute;
+ top: 50px;
+ left: 0;
+ right: 0;
+ bottom: 0;
+ z-index: -1;
+ pointer-events: none;
+ box-sizing: border-box;
+ border-left: 1px solid #EDEFF5;
+ border-right: 1px solid #EDEFF5;
+}
+@media all and (max-width: 1279px) {
+ section[data-page][data-page="catalog"] .container:before {
+ display: none;
+ }
+}
+section[data-page][data-page="catalog"] .container .catalog_list {
+ position: relative;
+}
+section[data-page][data-page="catalog"] .container .catalog_list:before {
+ content: "";
+ display: block;
+ position: absolute;
+ top: 50px;
+ left: 0;
+ bottom: 0;
+ z-index: -1;
+ pointer-events: none;
+ box-sizing: border-box;
+ border-left: 1px solid #EDEFF5;
+ border-right: 1px solid #EDEFF5;
+ left: 30px;
+ right: 0;
+ margin: auto;
+ width: calc(33.333% + 13px);
+ top: 40px;
+ bottom: -200px;
+}
+@media all and (max-width: 1279px) {
+ section[data-page][data-page="catalog"] .container .catalog_list:before {
+ display: none;
+ }
+}
+section[data-page][data-page="catalog"] + #order .container:before {
+ content: "";
+ display: block;
+ position: absolute;
+ top: 50px;
+ left: 0;
+ bottom: 0;
+ z-index: -1;
+ pointer-events: none;
+ box-sizing: border-box;
+ border-left: 1px solid #EDEFF5;
+ border-right: 1px solid #EDEFF5;
+ left: 30px;
+ right: 0;
+ margin: auto;
+ width: calc(33.333% + 13px);
+ top: 0px;
+ bottom: -80px;
+}
+@media all and (max-width: 1279px) {
+ section[data-page][data-page="catalog"] + #order .container:before {
+ display: none;
+ }
+}
+@media all and (max-width: 1279px) {
+ section[data-page][data-page="catalog"] + #order .container {
+ border-right: 0;
+ border-left: 0;
+ }
+ section[data-page][data-page="catalog"] + #order .container:before,
+ section[data-page][data-page="catalog"] + #order .container:after {
+ display: none;
+ }
+}
+section[data-page][data-page="special"] .container:before {
+ content: "";
+ display: block;
+ position: absolute;
+ top: 50px;
+ left: 0;
+ right: 0;
+ bottom: 0;
+ z-index: -1;
+ pointer-events: none;
+ box-sizing: border-box;
+ border-left: 1px solid #EDEFF5;
+ border-right: 1px solid #EDEFF5;
+}
+@media all and (max-width: 1279px) {
+ section[data-page][data-page="special"] .container:before {
+ display: none;
+ }
+}
+section[data-page][data-page="special"] .container .special_list {
+ position: relative;
+}
+section[data-page][data-page="special"] .container .special_list:after {
+ content: "";
+ display: block;
+ position: absolute;
+ top: 50px;
+ bottom: 0;
+ z-index: -1;
+ pointer-events: none;
+ box-sizing: border-box;
+ border-left: 1px solid #EDEFF5;
+ border-right: 1px solid #EDEFF5;
+ border-right: 0;
+ left: 0;
+ right: 0;
+ margin: auto;
+ top: 0;
+ width: 1px;
+ bottom: -80px;
+}
+@media all and (max-width: 1279px) {
+ section[data-page][data-page="special"] .container .special_list:after {
+ display: none;
+ }
+}
+section[data-page][data-page="special"] + #order .container:after {
+ content: "";
+ display: block;
+ position: absolute;
+ top: 50px;
+ bottom: 0;
+ z-index: -1;
+ pointer-events: none;
+ box-sizing: border-box;
+ border-left: 1px solid #EDEFF5;
+ border-right: 1px solid #EDEFF5;
+ border-right: 0;
+ left: 0;
+ right: 0;
+ margin: auto;
+ top: 0;
+ width: 1px;
+ bottom: -80px;
+}
+@media all and (max-width: 1279px) {
+ section[data-page][data-page="special"] + #order .container:after {
+ display: none;
+ }
+}
+[data-page="position"] .container:before {
+ border-right: 0 !important;
+}
+[data-page="position"] .model_container {
+ border-right: 1px solid #EDEFF5;
+}
+@media all and (max-width: 1279px) {
+ [data-page="position"] .model_container {
+ border-right: 0;
+ }
+}
+[data-page="leasing_special"] .container:before {
+ border-right: 0 !important;
+}
+[data-page="leasing_special"] .special_item:not(:last-child):before {
+ content: "";
+ display: block;
+ width: 1px;
+ height: auto;
+ background: #EDEFF5;
+ position: absolute;
+ top: 30px;
+ right: -15px;
+ bottom: -150px;
+}
+[data-page="news_main"] .news_item:not(:first-child) {
+ border-left: 1px solid #fff;
+}
+@media all and (max-width: 767px) {
+ [data-page="news_main"] .news_item:not(:first-child) {
+ border-left: 0;
+ }
+}
+[data-page="news_main"] .container:before {
+ top: 0 !important;
+ width: 391px;
+ right: auto;
+ bottom: -80px;
+}
+[data-page="news_main"] .container:after {
+ content: "";
+ display: block !important;
+ position: absolute;
+ top: 0;
+ left: 755px;
+ z-index: -1;
+ width: 365px;
+ bottom: -80px;
+ border-left: 1px solid #EDEFF5;
+ border-right: 1px solid #EDEFF5;
+}
+[data-page="news_main"] + #order .container {
+ border-right: 0 !important;
+}
+[data-page="news_main"] + #order .container:before {
+ content: "";
+ display: block !important;
+ position: absolute;
+ border-right: 1px solid #EDEFF5;
+ top: 0 !important;
+ left: 0;
+ width: 389px;
+ right: auto;
+ bottom: -80px;
+}
+[data-page="news_main"] + #order .container:after {
+ content: "";
+ display: block !important;
+ position: absolute;
+ top: 0;
+ left: 754px;
+ z-index: -1;
+ width: 365px;
+ bottom: -80px;
+ border-left: 1px solid #EDEFF5;
+ border-right: 1px solid #EDEFF5;
+}
+[data-page="about"] .container:before {
+ content: "";
+ display: block;
+ position: absolute;
+ top: 50px;
+ left: 0;
+ right: 0;
+ bottom: 0;
+ z-index: -1;
+ pointer-events: none;
+ box-sizing: border-box;
+ border-left: 1px solid #EDEFF5;
+ border-right: 1px solid #EDEFF5;
+}
+@media all and (max-width: 1279px) {
+ [data-page="about"] .container:before {
+ display: none;
+ }
+}
+[data-page="about"] .container aside {
+ position: relative;
+}
+[data-page="about"] .container aside:before {
+ content: "";
+ display: block;
+ position: absolute;
+ top: 50px;
+ left: 0;
+ bottom: 0;
+ z-index: -1;
+ pointer-events: none;
+ box-sizing: border-box;
+ border-left: 1px solid #EDEFF5;
+ border-right: 1px solid #EDEFF5;
+ left: auto;
+ right: 0;
+ margin: auto;
+ width: 1px;
+ border-left: 0;
+ top: 0px;
+ bottom: -80px;
+}
+@media all and (max-width: 1279px) {
+ [data-page="about"] .container aside:before {
+ display: none;
+ }
+}
+[data-page="about"] + #order .container:before {
+ content: "";
+ display: block;
+ position: absolute;
+ top: 50px;
+ right: 0;
+ bottom: 0;
+ z-index: -1;
+ pointer-events: none;
+ box-sizing: border-box;
+ border-left: 1px solid #EDEFF5;
+ border-right: 1px solid #EDEFF5;
+ left: 0;
+ right: auto;
+ margin: auto;
+ width: 304px;
+ top: 0px;
+ bottom: -80px;
+ border-left: 0;
+}
+@media all and (max-width: 1279px) {
+ [data-page="about"] + #order .container:before {
+ display: none;
+ }
+}
+@media all and (max-width: 1279px) {
+ [data-page="about"] + #order .container {
+ border-right: 0;
+ border-left: 0;
+ }
+ [data-page="about"] + #order .container:before,
+ [data-page="about"] + #order .container:after {
+ display: none;
+ }
+}
+#main_slider {
+ position: relative;
+}
+#main_slider:after {
+ content: "";
+ display: block;
+ height: 1px;
+ position: absolute;
+ top: 0;
+ left: 0;
+ right: 0;
+ bottom: 0;
+ margin: auto;
+ background: #fff;
+ opacity: 0.1;
+ pointer-events: none;
+ z-index: 1;
+}
+#main_slider .container {
+ border-left: 1px solid rgba(255, 255, 255, 0.1);
+}
+@media all and (max-width: 1660px) {
+ #main_slider .container {
+ border-right: 1px solid rgba(255, 255, 255, 0.1);
+ }
+}
+@media all and (max-width: 767px) {
+ #main_slider .container {
+ border-left: 0;
+ border-right: 0;
+ }
+}
+#main_slider .container:before,
+#main_slider .container:after {
+ content: "";
+ display: block;
+ position: absolute;
+ top: 0;
+ left: 286px;
+ bottom: 0;
+ opacity: 0.1;
+ width: 286px;
+ border-left: 1px solid #fff;
+ border-right: 1px solid #fff;
+}
+@media all and (max-width: 1660px) {
+ #main_slider .container:before,
+ #main_slider .container:after {
+ left: 20%;
+ width: 20%;
+ }
+}
+@media all and (max-width: 767px) {
+ #main_slider .container:before,
+ #main_slider .container:after {
+ width: 40%;
+ left: 0;
+ right: 0;
+ margin: auto;
+ }
+}
+#main_slider .container:after {
+ left: 858px;
+}
+@media all and (max-width: 1660px) {
+ #main_slider .container:after {
+ left: 60%;
+ }
+}
+@media all and (max-width: 767px) {
+ #main_slider .container:after {
+ display: none;
+ }
+}
+#main_slider + #filter .container {
+ border-left: 1px solid #EDEFF5;
+ border-right: 1px solid #EDEFF5;
+}
+#main_slider + #filter .container:before {
+ content: "";
+ display: block;
+ position: absolute;
+ top: 0;
+ bottom: 0;
+ left: 0;
+ right: 0;
+ margin: auto;
+ border-left: 1px solid #EDEFF5;
+ border-right: 1px solid #EDEFF5;
+ width: calc(33.333% + 10px);
+ pointer-events: none;
+}
+@media all and (max-width: 1279px) {
+ #main_slider + #filter .container {
+ border: 0;
+ }
+ #main_slider + #filter .container:before {
+ display: none;
+ }
+}
+.container_with_filter_with_margin {
+ margin-bottom: 0px !important;
+ padding-bottom: 20px !important;
+}
+[data-custom-scroll]::-webkit-scrollbar {
+ width: 4px;
+ height: 16px;
+}
+[data-custom-scroll]::-webkit-scrollbar-track {
+ background: var(--inactive);
+}
+[data-custom-scroll]::-webkit-scrollbar-thumb {
+ background: var(--blue);
+ border-radius: 0px;
+}
+.advwrapper {
+ position: relative;
+ width: fit-content;
+}
+.advblock {
+ display: flex;
+ flex-direction: column;
+ align-items: flex-end;
+ justify-content: flex-start;
+ overflow: hidden;
+}
+.advblock:hover {
+ width: fit-content;
+ height: fit-content;
+}
+.adv_button_slider {
+ position: absolute;
+ right: 0px;
+ top: 2px;
+ top: 0px;
+ z-index: 1;
+ font-size: 10px;
+ color: rgba(0, 0, 0, 0.75);
+ padding: 6px;
+ padding-top: 1px;
+ padding-bottom: 1px;
+ cursor: pointer;
+ background: rgba(255, 255, 255, 0.55);
+ border-radius: 0px;
+ line-height: 15px;
+ width: 57px;
+ height: 17px;
+ display: none;
+}
+.adv_button_news {
+ position: absolute;
+ right: 0px;
+ top: 0px;
+ z-index: 4;
+ font-size: 9px;
+ color: #000000;
+ padding: 6px;
+ padding-top: 0px;
+ padding-bottom: 0px;
+ cursor: pointer;
+ background: #ffffff;
+ line-height: 14px;
+ width: 53px;
+ height: 14px;
+}
+.adv_button_slider_erir {
+ align-items: flex-end;
+}
+.adv_button_news_article {
+ right: 12px !important;
+ top: 2px !important;
+}
diff --git a/local/templates/evolution/css/var.less b/local/templates/evolution/css/var.less
index e1b0376..85d49ee 100644
--- a/local/templates/evolution/css/var.less
+++ b/local/templates/evolution/css/var.less
@@ -114,7 +114,7 @@ body {
@media all and (max-width: 1600px) and (min-width: 1280px) {
padding-top: 45px;
- padding-bottom: 45px;
+ padding-bottom: 85px;
}
@media all and (max-width: 960px) {
@@ -1099,7 +1099,7 @@ section[data-page] {
[data-custom-scroll]::-webkit-scrollbar {
width: 4px;
- height: 4px;
+ height: 16px;
}
[data-custom-scroll]::-webkit-scrollbar-track {
@@ -1109,4 +1109,69 @@ section[data-page] {
[data-custom-scroll]::-webkit-scrollbar-thumb {
background: var(--blue);
border-radius: 0px;
+}
+
+.advwrapper {
+ position: relative;
+ width: fit-content;
+}
+
+.advblock {
+ display: flex;
+ flex-direction: column;
+ align-items: flex-end;
+ justify-content: flex-start;
+ overflow: hidden;
+
+ &:hover {
+ width: fit-content;
+ height: fit-content;
+ }
+}
+
+.adv_button_slider {
+ position: absolute;
+ right: 0px;
+ top: 2px;
+ top: 0px;
+ z-index: 1;
+ font-size: 10px;
+ color: rgba(0,0,0,0.75);
+ padding: 6px;
+ padding-top: 1px;
+ padding-bottom: 1px;
+ cursor: pointer;
+ background: rgba(255,255,255,0.55);
+ border-radius: 0px;
+ line-height: 15px;
+ width: 57px;
+ height: 17px;
+ display: none;
+}
+
+.adv_button_news {
+ position: absolute;
+ right: 0px;
+ top: 0px;
+ top: 0px;
+ z-index: 4;
+ font-size: 9px;
+ color: rgba(0,0,0,1);
+ padding: 6px;
+ padding-top: 0px;
+ padding-bottom: 0px;
+ cursor: pointer;
+ background: rgba(255,255,255,1);
+ line-height: 14px;
+ width: 53px;
+ height: 14px;
+}
+
+.adv_button_slider_erir {
+ align-items: flex-end;
+}
+
+.adv_button_news_article {
+ right: 12px !important;
+ top: 2px !important;
}
\ No newline at end of file
diff --git a/local/templates/evolution/js/jquery.inputmask.min.js b/local/templates/evolution/js/jquery.inputmask.min.js
new file mode 100644
index 0000000..af79fa9
--- /dev/null
+++ b/local/templates/evolution/js/jquery.inputmask.min.js
@@ -0,0 +1,8 @@
+/*!
+ * dist/jquery.inputmask.min
+ * https://github.com/RobinHerbots/Inputmask
+ * Copyright (c) 2010 - 2021 Robin Herbots
+ * Licensed under the MIT license
+ * Version: 5.0.7
+ */
+!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("jquery"));else if("function"==typeof define&&define.amd)define(["jquery"],t);else{var i="object"==typeof exports?t(require("jquery")):t(e.jQuery);for(var a in i)("object"==typeof exports?exports:e)[a]=i[a]}}(self,(function(e){return function(){"use strict";var t={3046:function(e,t,i){var a;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,i(3851),i(219),i(207),i(5296);var n=((a=i(2394))&&a.__esModule?a:{default:a}).default;t.default=n},8741:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=!("undefined"==typeof window||!window.document||!window.document.createElement);t.default=i},3976:function(e,t,i){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a,n=(a=i(5581))&&a.__esModule?a:{default:a};var r={_maxTestPos:500,placeholder:"_",optionalmarker:["[","]"],quantifiermarker:["{","}"],groupmarker:["(",")"],alternatormarker:"|",escapeChar:"\\",mask:null,regex:null,oncomplete:function(){},onincomplete:function(){},oncleared:function(){},repeat:0,greedy:!1,autoUnmask:!1,removeMaskOnSubmit:!1,clearMaskOnLostFocus:!0,insertMode:!0,insertModeVisual:!0,clearIncomplete:!1,alias:null,onKeyDown:function(){},onBeforeMask:null,onBeforePaste:function(e,t){return"function"==typeof t.onBeforeMask?t.onBeforeMask.call(this,e,t):e},onBeforeWrite:null,onUnMask:null,showMaskOnFocus:!0,showMaskOnHover:!0,onKeyValidation:function(){},skipOptionalPartCharacter:" ",numericInput:!1,rightAlign:!1,undoOnEscape:!0,radixPoint:"",_radixDance:!1,groupSeparator:"",keepStatic:null,positionCaretOnTab:!0,tabThrough:!1,supportsInputType:["text","tel","url","password","search"],ignorables:[n.default.BACKSPACE,n.default.TAB,n.default["PAUSE/BREAK"],n.default.ESCAPE,n.default.PAGE_UP,n.default.PAGE_DOWN,n.default.END,n.default.HOME,n.default.LEFT,n.default.UP,n.default.RIGHT,n.default.DOWN,n.default.INSERT,n.default.DELETE,93,112,113,114,115,116,117,118,119,120,121,122,123,0,229],isComplete:null,preValidation:null,postValidation:null,staticDefinitionSymbol:void 0,jitMasking:!1,nullable:!0,inputEventOnly:!1,noValuePatching:!1,positionCaretOnClick:"lvp",casing:null,inputmode:"text",importDataAttributes:!0,shiftPositions:!0,usePrototypeDefinitions:!0,validationEventTimeOut:3e3,substitutes:{}};t.default=r},7392:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={9:{validator:"[0-9\uff10-\uff19]",definitionSymbol:"*"},a:{validator:"[A-Za-z\u0410-\u044f\u0401\u0451\xc0-\xff\xb5]",definitionSymbol:"*"},"*":{validator:"[0-9\uff10-\uff19A-Za-z\u0410-\u044f\u0401\u0451\xc0-\xff\xb5]"}}},3287:function(e,t,i){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a,n=(a=i(2047))&&a.__esModule?a:{default:a};if(void 0===n.default)throw"jQuery not loaded!";var r=n.default;t.default=r},9845:function(e,t,i){Object.defineProperty(t,"__esModule",{value:!0}),t.ua=t.mobile=t.iphone=t.iemobile=t.ie=void 0;var a,n=(a=i(9380))&&a.__esModule?a:{default:a};var r=n.default.navigator&&n.default.navigator.userAgent||"",o=r.indexOf("MSIE ")>0||r.indexOf("Trident/")>0,s="ontouchstart"in n.default,l=/iemobile/i.test(r),u=/iphone/i.test(r)&&!l;t.iphone=u,t.iemobile=l,t.mobile=s,t.ie=o,t.ua=r},7184:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e.replace(i,"\\$1")};var i=new RegExp("(\\"+["/",".","*","+","?","|","(",")","[","]","{","}","\\","$","^"].join("|\\")+")","gim")},6030:function(e,t,i){Object.defineProperty(t,"__esModule",{value:!0}),t.EventHandlers=void 0;var a,n=i(8711),r=(a=i(5581))&&a.__esModule?a:{default:a},o=i(9845),s=i(7215),l=i(7760),u=i(4713);function c(e,t){var i="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!i){if(Array.isArray(e)||(i=function(e,t){if(!e)return;if("string"==typeof e)return f(e,t);var i=Object.prototype.toString.call(e).slice(8,-1);"Object"===i&&e.constructor&&(i=e.constructor.name);if("Map"===i||"Set"===i)return Array.from(e);if("Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return f(e,t)}(e))||t&&e&&"number"==typeof e.length){i&&(e=i);var a=0,n=function(){};return{s:n,n:function(){return a>=e.length?{done:!0}:{done:!1,value:e[a++]}},e:function(e){throw e},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var r,o=!0,s=!1;return{s:function(){i=i.call(e)},n:function(){var e=i.next();return o=e.done,e},e:function(e){s=!0,r=e},f:function(){try{o||null==i.return||i.return()}finally{if(s)throw r}}}}function f(e,t){(null==t||t>e.length)&&(t=e.length);for(var i=0,a=new Array(t);i