@charset "UTF-8";
/* Decorative registration icons only. Native controls, labels and submissions remain intact. */
body.torgo-v2.portal-registration {
    --registration-person: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23176f3b%22%20stroke-width%3D%221.75%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%228%22%20r%3D%223.5%22%2F%3E%3Cpath%20d%3D%22M5%2021v-2a7%207%200%200%201%2014%200v2%22%2F%3E%3C%2Fsvg%3E");
    --registration-warehouse: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23176f3b%22%20stroke-width%3D%221.75%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m3%2010%209-6%209%206v10H3zM8%2020v-7h8v7M3%2010h18%22%2F%3E%3C%2Fsvg%3E");
    --registration-store: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23176f3b%22%20stroke-width%3D%221.75%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M4%209h16l-2-6H6zM4%209v11h16V9M9%2020v-7h6v7M3%209a3%203%200%200%200%206%200%203%203%200%200%200%206%200%203%203%200%200%200%206%200%22%2F%3E%3C%2Fsvg%3E");
    --registration-base: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23176f3b%22%20stroke-width%3D%221.75%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%224%22%20y%3D%223%22%20width%3D%2216%22%20height%3D%2218%22%20rx%3D%222%22%2F%3E%3Cpath%20d%3D%22M8%207h2m4%200h2M8%2011h2m4%200h2M9%2021v-6h6v6%22%2F%3E%3C%2Fsvg%3E");
    --registration-mail: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23176f3b%22%20stroke-width%3D%221.75%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%223%22%20y%3D%225%22%20width%3D%2218%22%20height%3D%2214%22%20rx%3D%222%22%2F%3E%3Cpath%20d%3D%22m3%206%209%207%209-7%22%2F%3E%3C%2Fsvg%3E");
    --registration-phone: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23176f3b%22%20stroke-width%3D%221.75%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m7%203%203%205-3%202a13%2013%200%200%200%207%207l2-3%205%203-1%204C10%2022%202%2014%203%204z%22%2F%3E%3C%2Fsvg%3E");
    --registration-city: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23176f3b%22%20stroke-width%3D%221.75%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M19%2010c0%205-7%2011-7%2011S5%2015%205%2010a7%207%200%201%201%2014%200z%22%2F%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2210%22%20r%3D%222.5%22%2F%3E%3C%2Fsvg%3E");
    --registration-address: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23176f3b%22%20stroke-width%3D%221.75%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m3%2010%209-7%209%207M5%209v12h14V9M9%2021v-7h6v7%22%2F%3E%3C%2Fsvg%3E");
    --registration-document: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23176f3b%22%20stroke-width%3D%221.75%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M14%203H5v18h14V8zM14%203v5h5M8%2012h8M8%2016h6%22%2F%3E%3C%2Fsvg%3E");
    --registration-description: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23176f3b%22%20stroke-width%3D%221.75%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%223%22%20y%3D%224%22%20width%3D%2218%22%20height%3D%2216%22%20rx%3D%222%22%2F%3E%3Cpath%20d%3D%22M7%208h10M7%2012h10M7%2016h6%22%2F%3E%3C%2Fsvg%3E");
    --registration-category: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23176f3b%22%20stroke-width%3D%221.75%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%223%22%20y%3D%223%22%20width%3D%227%22%20height%3D%227%22%20rx%3D%221%22%2F%3E%3Crect%20x%3D%2214%22%20y%3D%223%22%20width%3D%227%22%20height%3D%227%22%20rx%3D%221%22%2F%3E%3Crect%20x%3D%223%22%20y%3D%2214%22%20width%3D%227%22%20height%3D%227%22%20rx%3D%221%22%2F%3E%3Crect%20x%3D%2214%22%20y%3D%2214%22%20width%3D%227%22%20height%3D%227%22%20rx%3D%221%22%2F%3E%3C%2Fsvg%3E");
    --registration-login: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23176f3b%22%20stroke-width%3D%221.75%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%229%22%2F%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%229%22%20r%3D%223%22%2F%3E%3Cpath%20d%3D%22M6%2019a6%206%200%200%201%2012%200%22%2F%3E%3C%2Fsvg%3E");
    --registration-lock: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23176f3b%22%20stroke-width%3D%221.75%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%225%22%20y%3D%2210%22%20width%3D%2214%22%20height%3D%2211%22%20rx%3D%222%22%2F%3E%3Cpath%20d%3D%22M8%2010V7a4%204%200%200%201%208%200v3M12%2014v3%22%2F%3E%3C%2Fsvg%3E");
    --registration-confirm: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23176f3b%22%20stroke-width%3D%221.75%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m12%203%208%203v6c0%205-8%209-8%209s-8-4-8-9V6zM8%2012l3%203%205-6%22%2F%3E%3C%2Fsvg%3E");
    --registration-eye: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23176f3b%22%20stroke-width%3D%221.75%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M2%2012s4-7%2010-7%2010%207%2010%207-4%207-10%207S2%2012%202%2012z%22%2F%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%223%22%2F%3E%3C%2Fsvg%3E");
    --registration-create: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23176f3b%22%20stroke-width%3D%221.75%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%229%22%20cy%3D%227%22%20r%3D%223.5%22%2F%3E%3Cpath%20d%3D%22M3%2021v-3a6%206%200%200%201%2012%200M19%2012v8M15%2016h8%22%2F%3E%3C%2Fsvg%3E");
    --registration-enter: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23176f3b%22%20stroke-width%3D%221.75%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M9%203h11v18H9M3%2012h12m-5-5%205%205-5%205%22%2F%3E%3C%2Fsvg%3E");
    --registration-network: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23176f3b%22%20stroke-width%3D%221.75%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%225%22%20r%3D%222%22%2F%3E%3Ccircle%20cx%3D%225%22%20cy%3D%2219%22%20r%3D%222%22%2F%3E%3Ccircle%20cx%3D%2219%22%20cy%3D%2219%22%20r%3D%222%22%2F%3E%3Cpath%20d%3D%22M12%207v5M5%2017v-5h14v5%22%2F%3E%3C%2Fsvg%3E");
    --registration-cart: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23176f3b%22%20stroke-width%3D%221.75%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M2%203h3l3%2013h11l3-10H6M10%2021h.01M18%2021h.01%22%2F%3E%3C%2Fsvg%3E");
    --registration-locate: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23176f3b%22%20stroke-width%3D%221.75%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%227%22%2F%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%222%22%2F%3E%3Cpath%20d%3D%22M12%202v3m0%2014v3M2%2012h3m14%200h3%22%2F%3E%3C%2Fsvg%3E");
    --registration-create-white: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23ffffff%22%20stroke-width%3D%221.75%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%229%22%20cy%3D%227%22%20r%3D%223.5%22%2F%3E%3Cpath%20d%3D%22M3%2021v-3a6%206%200%200%201%2012%200M19%2012v8M15%2016h8%22%2F%3E%3C%2Fsvg%3E");
}

body.torgo-v2.portal-registration .portal-content form :where(input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]),select,textarea) {
    background-image: var(--registration-field-icon, none) !important;
    background-repeat: no-repeat !important;
    background-size: 18px 18px !important;
    background-position: 13px center !important;
    padding-left: 42px;
}
body.torgo-v2.portal-registration .portal-content form textarea { background-position: 13px 13px !important; }
body.torgo-v2.portal-registration .portal-content form [name="name"],
body.torgo-v2.portal-registration .portal-content form :is(label,td):has([name="name"]) { --registration-field-icon: var(--registration-person); }
body.torgo-v2.portal-registration .portal-content form [name="email"],
body.torgo-v2.portal-registration .portal-content form :is(label,td):has([name="email"]) { --registration-field-icon: var(--registration-mail); }
body.torgo-v2.portal-registration .portal-content form [name="phone"],
body.torgo-v2.portal-registration .portal-content form :is(label,td):has([name="phone"]),
body.torgo-v2.portal-registration .portal-content form [name="telefon"],
body.torgo-v2.portal-registration .portal-content form :is(label,td):has([name="telefon"]) { --registration-field-icon: var(--registration-phone); }
body.torgo-v2.portal-registration .portal-content form [name="city_id"],
body.torgo-v2.portal-registration .portal-content form :is(label,td):has([name="city_id"]),
body.torgo-v2.portal-registration .portal-content form [name="id_city"],
body.torgo-v2.portal-registration .portal-content form :is(label,td):has([name="id_city"]) { --registration-field-icon: var(--registration-city); }
body.torgo-v2.portal-registration .portal-content form [name="address"],
body.torgo-v2.portal-registration .portal-content form :is(label,td):has([name="address"]) { --registration-field-icon: var(--registration-address); }
body.torgo-v2.portal-registration .portal-content form [name="details"],
body.torgo-v2.portal-registration .portal-content form :is(label,td):has([name="details"]),
body.torgo-v2.portal-registration .portal-content form [name="rekvisit"],
body.torgo-v2.portal-registration .portal-content form :is(label,td):has([name="rekvisit"]) { --registration-field-icon: var(--registration-document); }
body.torgo-v2.portal-registration .portal-content form [name="description"],
body.torgo-v2.portal-registration .portal-content form :is(label,td):has([name="description"]),
body.torgo-v2.portal-registration .portal-content form [name="opis"],
body.torgo-v2.portal-registration .portal-content form :is(label,td):has([name="opis"]) { --registration-field-icon: var(--registration-description); }
body.torgo-v2.portal-registration .portal-content form [name="id_razdela"],
body.torgo-v2.portal-registration .portal-content form :is(label,td):has([name="id_razdela"]) { --registration-field-icon: var(--registration-category); }
body.torgo-v2.portal-registration .portal-content form [name="login"],
body.torgo-v2.portal-registration .portal-content form :is(label,td):has([name="login"]) { --registration-field-icon: var(--registration-login); }
body.torgo-v2.portal-registration .portal-content form [name="password"],
body.torgo-v2.portal-registration .portal-content form :is(label,td):has([name="password"]) { --registration-field-icon: var(--registration-lock); }
body.torgo-v2.portal-registration .portal-content form [name="password_confirm"],
body.torgo-v2.portal-registration .portal-content form :is(label,td):has([name="password_confirm"]) { --registration-field-icon: var(--registration-confirm); }
body.torgo-v2.portal-registration-warehouse .portal-content form [name="name"], body.torgo-v2.portal-registration-warehouse .portal-content form :is(label,td):has([name="name"]) { --registration-field-icon: var(--registration-warehouse); }
body.torgo-v2.portal-registration-market .portal-content form [name="name"], body.torgo-v2.portal-registration-market .portal-content form :is(label,td):has([name="name"]) { --registration-field-icon: var(--registration-store); }
body.torgo-v2.portal-registration-base .portal-content form [name="name"], body.torgo-v2.portal-registration-base .portal-content form :is(label,td):has([name="name"]) { --registration-field-icon: var(--registration-base); }

/* Put labelled-field icons by the caption so browser autofill cannot cover them. */
body.torgo-v2.portal-registration .portal-content .stack label:not(.check) {
    position: relative; text-indent: 26px;
}
body.torgo-v2.portal-registration .portal-content .stack label:not(.check)::before {
    content: ""; position: absolute; left: 0; top: 1px;
    width: 18px; height: 18px; pointer-events: none;
    background: var(--registration-field-icon) center / contain no-repeat;
}
body.torgo-v2.portal-registration .portal-content .torgo-city-registration td:has(:is(input:not([type="hidden"]),select,textarea)[name])::before {
    content: ""; display: inline-block; width: 18px; height: 18px;
    margin-right: 7px; vertical-align: -4px; pointer-events: none;
    background: var(--registration-field-icon) center / contain no-repeat;
}
body.torgo-v2.portal-registration .portal-content form :is(label,td) :where(input:not([type="checkbox"]):not([type="radio"]),select,textarea) {
    background-image: none !important; padding-left: 12px; text-indent: 0;
}
body.torgo-v2.portal-registration :is(.portal-content,.portal-page-heading) h1 {
    padding-left: 42px;
    background: left center / 30px 30px no-repeat;
}
body.torgo-v2.portal-registration-customer :is(.portal-content,.portal-page-heading) h1 { background-image: url("/new/assets/icon-customer.svg"); }
body.torgo-v2.portal-registration-warehouse :is(.portal-content,.portal-page-heading) h1 { background-image: url("/new/assets/icon-warehouse.svg"); }
body.torgo-v2.portal-registration-market :is(.portal-content,.portal-page-heading) h1 { background-image: url("/new/assets/icon-market.svg"); }
body.torgo-v2.portal-registration-base :is(.portal-content,.portal-page-heading) h1 { background-image: url("/new/assets/icon-base.svg"); }

body.torgo-v2.portal-registration .portal-register-links a { display: flex; align-items: center; gap: 9px; }
body.torgo-v2.portal-registration .portal-register-links a::before { content: ""; flex: 0 0 24px; width: 24px; height: 24px; background: center / contain no-repeat; }
body.torgo-v2.portal-registration .portal-register-links a:nth-of-type(1)::before { background-image: url("/new/assets/icon-base.svg"); }
body.torgo-v2.portal-registration .portal-register-links a:nth-of-type(2)::before { background-image: url("/new/assets/icon-warehouse.svg"); }
body.torgo-v2.portal-registration .portal-register-links a:nth-of-type(3)::before { background-image: url("/new/assets/icon-market.svg"); }
body.torgo-v2.portal-registration .portal-register-links a:nth-of-type(4)::before { background-image: url("/new/assets/icon-customer.svg"); }

body.torgo-v2.portal-registration .portal-content form label.check::before {
    content: ""; flex: 0 0 18px; width: 18px; height: 18px;
    background: var(--registration-eye) center / contain no-repeat;
}
body.torgo-v2.portal-registration .portal-content .torgo-location__title {
    padding-left: 27px; text-align: left;
    background: var(--registration-city) left center / 18px 18px no-repeat;
}
body.torgo-v2.portal-registration .portal-content .torgo-location__locate {
    padding-left: 39px;
    background-image: var(--registration-locate) !important;
    background-position: 12px center !important;
    background-size: 18px 18px !important;
    background-repeat: no-repeat !important;
}
body.torgo-v2.portal-registration .portal-content form :is(button,input)[type="submit"] {
    background-color: #176f3b !important;
    background-image: var(--registration-create-white) !important;
    background-repeat: no-repeat !important;
    background-position: 16px center !important;
    background-size: 18px 18px !important;
    color: #fff !important;
    padding-left: 43px !important;
}
body.torgo-v2.portal-registration .portal-content form button[type="submit"] > svg { display: none; }
body.torgo-v2.portal-registration .portal-content form :is(button,input)[type="submit"]:hover {
    background-color: #115b30 !important;
}
body.torgo-v2.portal-registration .portal-content a[href*="polojeniya.php"] {
    display: inline-block; padding-left: 27px;
    background: var(--registration-document) left center / 18px 18px no-repeat;
}
body.torgo-v2.portal-registration :is(.portal-content,.portal-sidebar,.portal-header) a[href*="input_main.php"] {
    padding-left: 27px;
    background-image: var(--registration-enter);
    background-repeat: no-repeat; background-position: left center; background-size: 18px 18px;
}
body.torgo-v2.portal-registration :is(.portal-top-nav,.portal-side-nav) a[href*="customer_catalog.php"] {
    padding-left: 27px; background: var(--registration-category) left center / 18px 18px no-repeat;
}
body.torgo-v2.portal-registration :is(.portal-top-nav,.portal-side-nav) a[href*="customer_cart.php"] {
    padding-left: 27px; background: var(--registration-cart) left center / 18px 18px no-repeat;
}
body.torgo-v2.portal-registration :is(.portal-top-nav,.portal-side-nav) a[href="/#cities"] {
    padding-left: 27px; background: var(--registration-network) left center / 18px 18px no-repeat;
}
body.torgo-v2.portal-registration .portal-side-nav a[href="/#distribution"] {
    padding-left: 27px; background: var(--registration-base) left center / 18px 18px no-repeat;
}
@media (max-width: 600px) {
    body.torgo-v2.portal-registration :is(.portal-content,.portal-page-heading) h1 { padding-left: 38px; background-size: 26px 26px; }
    body.torgo-v2.portal-registration .portal-content .torgo-location__locate { text-align: left; }
}
@media (forced-colors: active) {
    body.torgo-v2.portal-registration .portal-content form :is(input,select,textarea) { background-image: none !important; }
}
