
@font-face {
  font-family: "Roboto";
  src: url(/upload/fonts/Roboto/Roboto-Regular.ttf);
}

@font-face {
  font-family: "Roboto Light";
  src: url(/upload/fonts/Roboto/Roboto-Light.ttf);
}

@font-face {
  font-family: "Roboto Medium";
  src: url(/upload/fonts/Roboto/Roboto-Medium.ttf);
}

@font-face {
  font-family: "Roboto Bold";
  src: url(/upload/fonts/Roboto/Roboto-Bold.ttf);
}

@font-face {
  font-family: "Roboto Black";
  src: url(/upload/fonts/Roboto/Roboto-Black.ttf);
}


/* ---------------------------------------- */

@font-face {
  font-family: "RobotoCondensed";
  src: url(/upload/fonts/RobotoCondensed/RobotoCondensed-Regular.ttf);
}

@font-face {
  font-family: "RobotoCondensed Light";
  src: url(/upload/fonts/RobotoCondensed/RobotoCondensed-Light.ttf);
}

@font-face {
  font-family: "RobotoCondensed Bold";
  src: url(/upload/fonts/RobotoCondensed/RobotoCondensed-Bold.ttf);
}


/* ---------------------------------------- */

@font-face {
    font-family: "Password";
    src: url(/upload/fonts/Password.ttf);
}

font.tablebodytext {
  display: none;
}


/* ---------------------------------------- */

@keyframes animate-fade {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus, 
input:-webkit-autofill:active{
    -webkit-box-shadow: 0 0 0 30px white inset !important;
}


#admin-panel {
    width: 100%;
}

html,
body {
    width: 100%;
    margin: 0;
    -webkit-overflow-scrolling: touch;
}

.link-menu a,
a.link-menu  {
  text-decoration: none;
  color: black;
  position: relative;
}

.link-menu a:hover,
a.link-menu:hover {
  color: crimson
}

.emergent {
  opacity: 0;
  transition: 1.5s;
}

.emergent.from-right {
  transform: translate(60px, 0px);
}

.emerged.from-right {
  transform: translate(0px, 0px);
  transition: 1.5s;
}

.emerged {
  opacity: 1;
  transition: 1.5s;
}

.outstanding {
  margin-top: 100px !important;
}

.fade-in {
  animation-duration: 1s;
  animation-name: animate-fade;
}

.wide-padding {
  box-sizing: border-box;
  padding-left: 80px;
  padding-right: 80px;
  width: 100%;
}

.wide-container {
    box-sizing: border-box;
    margin-left: 80px;
    margin-right: 80px;
}

@media (width > 1600px) {
  .wide-container,
  .wide-padding {
    width: 1500px;
    margin: auto
  }
}

.narrow-container {
  box-sizing: border-box;
  margin-left: 35px;
  margin-right: 35px;
}

@media (width > 1000px) {
  .narrow-container {
    padding-left: 120px;
    padding-right: 120px;
    margin: auto;
  }
}


/* GLOBAL */

.quartable {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  row-gap: 30px;
  column-gap: 40px
}

.group, .subgroup {
  height: 39px;
  display: flex;
  gap: 7px;
}

.group {
  margin-bottom: 7px;
} 

.group > *:not(button), .subgroup > *:not(button) {
  flex-grow: 1;
}

.full-width {
  width: 100%;
}

.stretch {
  flex-grow: 1;
}

.grey-input,
.grey-input:focus {
  border: none;
  outline: none;
  background: gainsboro;

}

.grey-input::placeholder {
  font-size: 15px;
}

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

.red-button {
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-family: "Roboto Medium";
  font-size: 14px;
  border: none;
  color: white;
  background: rgb(225, 5, 5);
  cursor: pointer
}

.red-button:hover {
  background: #777;
}

.button-icon {
  margin-right: 15px;
}

button {
  cursor: pointer;
}

.grid {
  display: grid;
}

.grid.dual {
  grid-template-columns: repeat(2, 1fr);
}

.bg-dimmer {
  display: block;
  content: "\00a0";
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  transition: 0.3s;
  opacity: 0;
  background: #1243;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 5;
}

.full-window {
  display: block;
  position: fixed;
  top: 0px;
  left: 0px;
  width: 100vw;
  height: 100vh;
  background: white;
  z-index: 100;

}

.full-window .close-button {
  position: absolute;
  right: 100px;
  top: 50px;
  width: 30px;
  cursor: pointer;
}

.full-window .close-button:hover {
  opacity: 0.2;
}

.clickable {
  cursor: pointer;
}

.clickable:hover::before {
  content: "" !important;
  background: grey !important;
}

button.plain {
  appearance: none;
  border: none;
  background: none;
}

/* MAIN */

.main-logo {
  height: 60px;
}

.menu-panel {
  margin-top: 20px;
  font-family: "Roboto Bold";
  letter-spacing: 0.05em;
  font-size: 13px;
  display: flex;
  align-items: flex-start;
}

.menu-panel .menu ul {
  margin: 0;
  display: flex;
  justify-content: right;
  flex-grow: 1;
  gap: 65px;
}


.main-banner {
  font-family: "RobotoCondensed Bold";
  margin-top: 30px;
  font-size: 16px;
  text-transform: uppercase;
  text-rendering: optimizeLegibility;
  letter-spacing: 0.04em;
  box-sizing: border-box;
  color: white;
  padding: 15px;
  height: 180px;  
  background:
  url("/images/index/баннер-левая-деталь.webp"),
  url("/images/index/баннер-центральная-деталь.webp"),
  url("/images/index/баннер-правая-деталь.webp"),
  url("/images/index/градиент-из-точек.webp"), 
  url("/images/index/фон-баннера.webp");
  background-position: 35% 20px, 55% -80px, 85% -80px, 100% 1px, right;
  background-blend-mode: normal;
  background-repeat: no-repeat;
}



/* SEARCH */

.search-panel {
  margin-top: 20px;
}

.search-panel .group input {
  padding-left: 10px;
  padding-right: 10px;
}

.search-panel button {
  width: 200px;
  min-width: 200px;
}

.search-panel dz-dropdown::part(header) {
  padding-left: 10px;
  padding-right: 10px;
  font-size: 15px;
}

.search-panel dz-dropdown::part(items) {
  background: lightgrey;
  z-index: 1000;
}

.search-panel dz-dropdown::part(item) {
  font-family: "Roboto";
  font-size: 15px;
  padding-top: 5px;
  padding-bottom: 5px;
  padding-left: 10px;
}

.search-panel button {
  z-index: 10;
}

#title-search-input:focus {
  background: white;
  z-index: 1000;
}

#title-search-input:focus ~ .bg-dimmer {
  opacity: 1;
}

#search-result-box {
  overflow: visible;
  width: 100%;
  height: 3px;
}

.title-search-result {
  font-family: "RobotoCondensed";
  border: none !important;
  font-size: 14px;
  position: relative;
  background: white;
  padding-left: 0;
  width: 100%;
}

#search-result-box table {
  width: 100%;
}

#search-result-box td {
  padding-top: 5px;
  padding-bottom: 5px;
}

#search-result-box th {
  display: none;
}

.title-search-selected td,
.title-search-selected a {
  background-color: #eee !important;
}

/* TITLE */

.title {
  color: darkgray;
  margin-top: 60px;
  margin-bottom: 50px;
  font-size: 30px;
  font-family: "RobotoCondensed Bold";
}

.title *:first-child {
  color: black
}

.title *:last-child {
  position: relative;
}

.title *:last-child::after {
  content: "\00a0";
  display: block;
  position: absolute;
  top: 7px;
  right: -12px;
  background: red;
  width: 7px;
  height: 7px;
}
  

/* TABULAR MENU */

.tabular-menu .item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.tabular-menu .item img {
  transition: 0.2s;
}

.tabular-menu .item:hover img {
  transform: translate(0, -10px)
}

.tabular-menu .item span {
  margin-top: 20px;
  font-family: "Roboto Bold";
  font-size: 14px;
  letter-spacing: 0.05em;
}

.tabular-menu .item:hover span {
  color: dimgrey;
}

.tabular-menu img {
  transform: scale(1);
}


/* CARDS */

.showcase {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-bottom: 50px;
  gap: 70px;
}

.item-card {
  width: 100%;
  font-family: "RobotoCondensed";
  border-bottom: solid black 3px;
  display: flex;
  flex-direction: column;
}

.photo-border {
  padding: 2px;
  background: linear-gradient(0deg, gainsboro 0%, gainsboro 13%, white 13%, white 87%, gainsboro 87%), linear-gradient(90deg, gainsboro 0%, gainsboro 13%, white 13%, white 87%, gainsboro 87%);
  background-blend-mode: lighten;
  margin-bottom: 20px;
}

.photo-border.light {
  padding: 1px;
  background: linear-gradient(0deg, #bbb 0%, #bbb 8%, white 8%, white 92%, #bbb 92%), linear-gradient(90deg, #bbb 0%, #bbb 8%, white 8%, white 92%, #bbb 92%);
  background-blend-mode: lighten;
  margin-bottom: 20px;
}

.photo-bg {
  width: 100%;
  height: 200px;
  padding: 10px;
  box-sizing: border-box;
  background: white;
}

.item-card img {
  max-width: 100%;
  max-height: 100%;
}

.item-card .data {
  font-size: 14px;
  margin-bottom: 10px;
  display: grid;
  grid-template-columns: 20px 1fr;
}

.item-card .data:nth-last-child(2) {
  font-family: "RobotoCondensed Bold";
}

.item-card .data:nth-last-child(1) {
  height: 50px;
  text-overflow: ellipsis;
 }

.item-card .data::before {
  display: inline-block;
  content: "\00a0";
  width: 15px;
  height: 15px;
  background: gainsboro;
  margin-right: 10px;
}

.item-card button {
  font-family: "RobotoCondensed";
  font-size: 15px;
  padding: 8px;
  margin-bottom: 20px;
}

button.blue {
  appearance: none;
  border: none;
  flex-grow: 0;
  flex-shrink: 0;
  height: 30px;
  margin-bottom: 15px;
  color: white;
  background: #18244C;
  cursor: pointer;
}

button.blue:hover {
  background: #283B79;
}

button.wide {
  font-family: "RobotoCondensed";
  font-size: 20px;
  padding: 8px;
  padding-left: 80px;
  padding-right: 80px;
}

button.grey {
  appearance: none;
  border: none;
  background: #eee;
}

button.grey:hover {
  outline: solid black 1px;
  background: white;
}

/* FOOTER */

.footer {
  margin-top: 100px;
  border-top: solid gainsboro 4px;
}

#main-footer {
  font-family: "Roboto";
  font-size: 14px;
  display: grid;
  grid-template-columns: 1fr 250px;
}

#main-footer > div {
  padding-top: 20px;
  padding-right: 40px;
}

#main-footer > div:last-of-type {
  padding-right: 0;
  text-align: right;
}

#main-footer > * > * {
  display: block;
  margin-bottom: 15px;
}

#main-footer > * > *:first-child {
  font-family: "Roboto Bold";
}

#main-footer li {
  line-height: unset;
  margin-bottom: 0;
}

#main-footer li h2 {
  margin-bottom: 15px;
}

#main-footer a {
  color: black !important;
  text-decoration: none;
}

#main-footer a:hover {
  color: crimson !important;
}

#main-footer a::before {
  display: none;
}

#main-footer .bx_sitemap_ul {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

/* CATALOG */

#catalog-view {
  display: grid;
  grid-template-columns: 250px 1fr;
  margin-top: 50px;
}

.uad-breadcrumb-item {
  display: inline-block;
}

.uad-breadcrumb-item {
  text-transform: uppercase;
  font-size: 30px;
  color: black;
  font-family: "RobotoCondensed Bold";
}

.uad-breadcrumb-item a::after {
  position: relative;
  transform: translate(0, 8px);
  display: inline-block;
  content: "\00a0";
  background: red;
  margin-right: 5px;
  height: 7px;
  width: 7px;
}

.uad-breadcrumb-item.last {
  color: grey
}

.items-page {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  column-gap: 40px;
  row-gap: 40px;
}

/* SITEMAP */

.bx_sitemap ul {
  font-family: "RobotoCondensed";
  list-style: none;
  padding: 0;
  margin-left: 0px;
}

.bx_sitemap a::before {
  content: "\00a0";
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 10px;
  background: gainsboro;
}

.bx_sitemap li {
  margin-bottom: 10px;
}

.bx_sitemap a:hover::before {
  background: crimson;
}

.bx_sitemap a {
  color: black !important;
  font-size: 15px !important;
}

/* REGISTRATION */

.remember {
  font-family: "RobotoCondensed";
  padding-top: 10px;
  padding-bottom: 10px;
}

.login-block,
.userdata-block {
  font-family: "Roboto";
  top: 0;
  position: fixed;
  background: white;
  z-index: 1001;
  width: 100vw;
  height: 100vh;
}

.login-block .close-button,
.userdata-block .close-button {
  position: absolute;
  right: 100px;
  top: 50px;
  transform: scale(2);
  cursor: pointer;
}

.login-form,
.userdata-form {
  margin-top: -20px;
  width: 350px;
}

.login-form button,
.userdata-form button {
  margin-top: 20px;
}

.registration-form {
  margin-top: 30px;
  margin-bottom: 30px;
  display: flex;
  flex-direction: column;
}

.login-block .title,
.userdata-block .title  {
  margin-top: 0;
  margin-bottom: 20px;
  font-family: "RobotoCondensed Bold";
  color: black;
  text-transform: uppercase;
}

.login-block .title::after,
.userdata-block .title::after  {
  content: "\00a0";
  display: inline-block;
  width: 8px;
  height: 8px;
  background: crimson;
  margin-left: 10px;
}

.login-block .label,
.userdata-block .label {
  font-family: "RobotoCondensed";
  text-transform: uppercase;
  text-align: left;
  font-weight: 300;
  font-size: 18px;
  padding-left: 0;
  color: black;
  padding-top: 20px;
}

.login-block .red-button,
.userdata-block .red-button {
  height: 40px;
  letter-spacing: 0.1em;
  font-size: 15px;
  font-family: "RobotoCondensed";
}

.textfield-minimal {
  font-family: "RobotoCondensed" !important;
  font-size: 18px;
  outline: none;
  border: none;
  padding: 0;
  border-bottom: solid crimson 1px;
  margin-top: 5px !important;
  margin-bottom: 5px;
  width: 100%;
}

.bitrix-auth {
  margin-top: 20px;
}

/* MESSAGE BOX */

.backscreen {
  background: #0009;
  z-index: 1002;
  position: fixed;
  width: 100vw;
  height: 100vh;
  top: 0;
  display: flex;
  transition: 0.3s;
}

#big-message {
  font-family: "RobotoCondensed";
  padding: 20px;
  text-align: center;
  background: white;
  flex-grow: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  max-height: 200px;
  box-shadow: 0px 4px 13px rgba(0, 0, 0, 0.57);
  position: absolute;
  top: 0px;
  flex-direction: row;
}

#big-message button {
  letter-spacing: 0.1em;
  margin-top: 0;
  margin-left: 50px;
  padding: 10px;
  padding-left: 50px;
  padding-right: 50px;
}

#big-message .message {
  font-size: 20px;
}


/* QUICK SELECT */

.quick-select {
  font-family: "RobotoCondensed Bold";
  width: 100%;
  display: grid;
  justify-items:stretch;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 40px;
  gap: 100px
}

.quick-select img {
  width: 100%;
  margin-bottom: 8px;
  border-bottom: solid black 3px;
}

.quick-select a {
  width: 200px;
}

.quick-select-box {
  display: flex;
  position: relative
}

.quick-select-box button {
  --color: gainsboro;
  appearance: none;
  border: none;
  background: none;
  width: 50px;
}

.quick-select-box button:hover {
  --color: black;
}

.quick-select-box > *:first-child {
  position: absolute;
  top: 50%;
  left: -50px;
}

.quick-select-box > *:last-child {
  position: absolute;
  top: 50%;
  right: -50px;
}

/* BOTTOM BANNER */

.bottom-banner img {
  width: 100%;
}

.slogan h1 {
  display: inline-block;
  font-size: 45px;
  line-height: 47px;
  margin: 0;
  position: relative;
  top: -7px
}

.slogan mark {
  font-family: "Roboto Bold";
  background: none;
  font-size: 30px;
  vertical-align: center;
  line-height: 10px;
  margin-left: 4px;
  position: relative;
  top: -12px
}

.slogan {
  position: relative;
  margin-right: 100px;
  display: inline-block;
  font-family: "RobotoCondensed Bold";
  font-size: 20px
}

.slogan::before {
  position: absolute;
  top: -30px;
  display: block;
  background: gainsboro;
  width: 15px;
  height: 15px;
  content: "\00a0";
  margin-bottom: 10px;
}

.bottom-banner > div:first-child {
  display: flex;
  align-items: center;
}

/* DETAIL */

#detail-page {
  display: flex;
}

#detail-page .box {
  margin: auto;
  width: 900px;
}

#detail-page .box-header {
  display: flex;
  padding-bottom: 60px;
  border-bottom: solid black 3px;
}

#detail-page .title {
  margin: 0;
  flex-grow: 1;
  text-align: right;
}

#detail-page .title *:last-child::after {
  display: none;
}

#detail-page button {
  font-family: "RobotoCondensed";
  font-size: 16px;
  height: 40px;
}

.box-info {
  font-family: "RobotoCondensed";
  padding-top: 30px;
  padding-bottom: 70px;
  display: grid;
  grid-template-columns: 1fr 400px;
}

.box-info .photo-border {
  background: linear-gradient(0deg, black 0%, black 8%, white 8%, white 92%, black 92%), linear-gradient(90deg, black 0%, black 8%, white 8%, white 92%, black 92%);
  padding: 2px;
  width: 180px;
  height: 180px;
}

.box-info .photo-bg {
  padding: 10px;
  width: 100%;
  height: 100%;
}

.box-info img {
  max-width: 100%;
  max-height: 100%;
  cursor: pointer;
}

.box-info .image-panel {
  display: flex;
  justify-content: right;
}

.info-grid {
  display: grid;
  grid-template-columns: 120px 1fr;
  font-size: 16px;
}

.info-grid *:nth-child(2n-1) {
  font-family: "RobotoCondensed Bold";
}

#detail-page .title *:first-child::after  {
  content: "";
  display: inline-block;
  height: 8px;
  width: 8px;
  background: red;
  position: relative;
  top: -0.6em;
  margin-left: 5px;
}

#detail-page  .info-grid *:nth-child(2n) {
  position: relative;
}

#detail-page  .info-grid *:nth-child(2n)::before {
    content: "";
  display: inline-block;
  height: 8px;
  width: 8px;
  background: #eee;
  position: absolute;
  top: 0.2em;
  left: -20px;
}

#detail-page .box {
  padding: 70px;
  background: white;
  box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.25);
}

#detail-page {
  background: repeating-linear-gradient(-45deg, #fafafa, #fafafa 20px, #fff 20px, #fff 40px);
}

.box-info .photo-border {
  width: 200px;
  height: 200px;
}

.box {
  overflow: hidden;
  position: relative;
}

.box .image-slide {
  height: 100%;
  width: 550px;
  position: absolute;
  top: 0;
  right: -600px;
  background: black;
  transition: 0.5s;
}

.box .photo-bg.big {
  width: 100%;
  height: 100%;
}

.box .photo-bg.big img {
  width: 70%;
  max-width: 100%;
  max-height: 100%;
  cursor: pointer;
}

.photo-bg {
  overflow: hidden;
}

.photo-bg.big img {
  transition: 0.2s;
}

.image-slide {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr 80px;
  box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.25)
}

dz-img-zoom {
  width: 100%;
  height: 100%;
}

.tool-panel {
  background: white;
  display: flex;
  gap: 80px;
  justify-content: center;
  align-items: flex-start;
  padding-top: 10px;
  cursor: pointer;
}

.tool-panel img:hover {
  opacity: 0.5;
}


/* BANNER ROBOT */

#banner-second {
  position: relative;
}

#banner-second .title {
  margin-top: 0;
  margin-bottom: 0;
}

#banner-second img.front-img {
  position: absolute;
  bottom: 0;
  right: 100px;
  height: 250px;
}

#banner-second .background {
  font-family: "RobotoCondensed Bold";
  margin-top: 30px;
  font-size: 16px;
  text-transform: uppercase;
  text-rendering: optimizeLegibility;
  letter-spacing: 0.04em;
  box-sizing: border-box;
  color: white;
  padding: 15px;
  height: 180px;  
  background:
  url("/images/news/robot-banner-bg.png");
  background-position:  right;
  background-blend-mode: normal;
  background-repeat: no-repeat;
}

/* MONTH BOX */

.month-showcase {
  gap: 70px;
}

.month-best-box {
  border-bottom: solid black 3px;
}

.month-best-box .title {
  margin-top: 0;
}

.month-best-box .slogan {
  margin-right: 0;
  font-size: 18px;
}


.month-best-box .data {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.month-best-box .video-box {
  margin-top: -30px;
  height: 230px;
}

.month-best-box video {
  max-height: 100%;
  max-width: 100%;
}