body {
  font-family: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI",
    "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji",
    "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  font-size: 20px;
  scroll-behavior: smooth;
}
.block-top-block {
  background-color: #2a2c2b;
  color: #fff;
  /* font-weight:500; */
  font-size: 15px;
}

.block-top-block .row {
  min-height: 50px;
}

.block-top-block a {
  color: #fff;
}

nav {
  font-size: 20px;
}

nav .navbar-collapse a {
  color: #2a2c2b;
  transition: all 0.2s;
  position: relative;
}

nav .navbar-collapse a:hover {
  color: #4863ab;
}

nav .navbar-collapse a:before {
  content: "";
  position: absolute;
  bottom: 4px;
  width: 0px;
  left: 50%;
  height: 2px;
  margin: 2px 0 0;
  transition: all 0.2s ease-in-out;
  opacity: 0;
  background-color: #4863ab;
}
nav a:hover:before {
  left: 0;
  width: 100%;
  opacity: 1;
}

header .carousel-item {
  height: 100vh;
  background: no-repeat center center scroll;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

.header-sticky {
  position: absolute;
  z-index: 100;
  width: 100%;
  transition: all 0.5s;
  background: #ffffff00;
}
.header-sticky.sticky {
  top: 0px;
  left: 0px;
  right: 0px;
  position: fixed;
  background: #ffffffd0;
  text-shadow: 0px 0px 3px #ffffff;
}

.slider-title {
  font-size: 58px;
  text-transform: uppercase;
  font-weight: 700;
}

.slider-text.white {
  color: #fff;
}

.slider-text {
  max-width: 600px;
  font-size: 20px;
  line-height: 1.5;
}

.slider-text ul {
  white-space: nowrap;
}

.carousel-inner .container {
  position: relative;
}

.slider-3D-icon {
  display: block;
  width: 242px;
  height: 138px;
  background-image: url("/img/360.png");
  background-size: contain;
  position: absolute;
  right: 0px;
  bottom: 50px;
  background-position: center;
  background-repeat: no-repeat;
}

.slider-3D-icon:hover {
  background-image: url("/img/360_hover.png");
}

ul.romb {
  list-style-type: none;
  line-height: 2;
  padding-left: 0.3em;
}

ul.romb > li::before {
  content: "";
  margin-right: 1em;
  display: inline-block;
  position: relative;
  top: 0.1em;
  background: #4863ab;
  width: 0.8em;
  height: 0.8em;
  transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
}

.square-default-button,
.slider-button {
  color: #fff;
  background: #4863ab;
  border-radius: 0;
  padding: 10px 20px;
}

.square-hollow-button {
  color: #4863ab;
  background: #fff;
  border-radius: 0;
  border: 2px solid #4863ab;
  padding: 10px 20px;
}

.square-hollow-button:hover,
.square-default-button:hover,
.slider-button:hover {
  color: #fff;
  background: #5971b4;
  border-radius: 0;
  padding: 10px 20px;
}

.carousel-indicators li {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px #9a9aa4 solid;
  opacity: 1;
  background-color: #ffffff00;
  transition: background 0.2s;
  margin-right: 8px;
  margin-left: 8px;
}

.carousel-indicators li.active {
  background-color: #9a9aa4;
}

.header2 {
  font-size: 50px;
  text-transform: uppercase;
  font-weight: 700;
  text-align: center;
}

.py-80px {
  padding-top: 80px;
  padding-bottom: 80px;
}

.py-20px {
  padding-top: 20px;
  padding-bottom: 20px;
}

.advantages {
  padding-top: 80px;
  padding-bottom: 46px;
  color: #fff;
  background: #5971b4;
  text-align: center;
}

.advantages-title {
  text-transform: uppercase;
  text-align: center;
  font-weight: 700;
  font-size: 24px;
  margin-bottom: 11px;
}

.advantages-text {
  font-size: 18px;
  font-weight: 400;
  padding: 10px;
}

.products-tabs {
  border: 1px #dee2e6 solid;
}

.products-tabs .nav-item {
  white-space: nowrap;
  font-size: 20px;
  font-weight: 700;
}

.products-tabs .nav-item .smaller {
  font-size: 16px;
}

.products-tabs .nav-item a {
  color: #2a2c2b;
  padding: 8px 16px 8px 24px;
  display: block;
  position: relative;
  text-decoration: none;
  transition: 0.2s all;
}

.products-tabs .nav-item a.active {
  border: 1px solid #dee2e6;
  border-right: solid #fff;
  margin-right: -1px;
  color: #485fa1;
}

.products-tabs .nav-tabs {
  border-right: 1px solid #dee2e6;
  border-bottom: none;
  flex-flow: column nowrap;
}

.products-tabs .nav-item {
  width: 100%;
}

.products-tabs .nav-item a:after {
  content: "";
  display: inline-block;
  width: 3px;
  top: 8px;
  left: 10px;
  bottom: 8px;
  background: #4863ab;
  position: absolute;
  box-sizing: border-box;
  transition: 0.2s all;
  z-index: -1;
}

.products-tabs .tab-pane {
  padding: 12px;
}

.products-tabs .nav-item a:not(.active):hover {
  color: #fff;
}

.products-tabs .nav-item a:not(.active):hover:after {
  left: 0px;
  right: 0px;
  top: 0px;
  bottom: 0px;
  width: 100%;
}

.products-tabs .tab-pane img {
  float: left;
  margin: 10px;
}
.products-tabs .block-card-button-container {
  text-align: right;
}

.bg-lt-gray {
  background: #eee;
}

.production-text {
  max-width: 480px;
}

.products-9 {
  position: relative;
}

.products-9 .product-card {
  margin-top: 40px;
  max-height: 1000px;
  transition: all 0.2s ease-in-out;
}

.products-9 .product-main-link {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
  padding-left: 20px;
  line-height: 1;
}

.products-9 .product-popup-card a,
.products-9 .product-card a {
  text-decoration: none;
  color: #2a2c2b;
  transition: color 0.2s;
}

.products-9 .product-main-link p {
  white-space: nowrap;
  margin-bottom: 0px;
}

.products-9 .product-main-link {
  position: relative;
}

.products-9 .product-main-link:after {
  content: "";
  display: inline-block;
  width: 3px;
  top: 0px;
  left: 0px;
  bottom: 0px;
  background: #4863ab;
  position: absolute;
  box-sizing: border-box;
  transition: 0.2s all;
  z-index: -1;
}

.products-9 .smaller {
  font-size: 16px;
  white-space: nowrap;
}

.products-tabs .nav-item a {
  padding: 8px 16px 8px 24px;
  display: block;
  position: relative;
  text-decoration: none;
  transition: 0.2s all;
}

.products-9 .product-popup-card a:hover,
.products-9 .product-card a:hover {
  color: #485fa1;
}

.products-9 a img {
  transition: transform 0.2s;
  box-shadow: 0 0 0;
}

.products-9 a:hover img {
  transform: scale(1.1) translatey(5%);
  box-shadow: 0px 0px 30px 6px rgba(105, 94, 43, 0.22);
}

.products-9 .card-content {
  width: 100%;
  transition: all 0.2s, opacity 0.5s;
}

.products-9 .is-collapsed .card-content {
  max-height: 0;
  min-height: 0;
  overflow: hidden;
  margin-top: 0;
  opacity: 0;
}

.products-9 .is-expanded .card-content {
  max-height: 1000px;
  min-height: 200px;
  overflow: visible;
  opacity: 1;
  margin-top: 80px;
  position: relative;
}

.products-9 .product-card.is-expanded {
  max-width: 100%;
  flex-basis: 100%;
}

.products-9 .product-card.is-inactive {
  opacity: 0;
  overflow: hidden;
  transform: scale(0.1);
  max-height: 0;
}

.products-9 .product-card.is-expanded .js-expander {
  float: left;
  margin-bottom: 10px;
  margin-right: 30px;
  z-index: 10;
}

.js-collapser {
  position: absolute;
  right: 8px;
  top: -60px;
}

.is-collapsed .js-collapser {
  display: none;
}

.products-9 .product-popup-card {
  margin-top: 30px;
}

footer {
  padding-top: 48px;
  /* padding-bottom: 48px; */
  background-color: #2a2c2b;
  color: #fff;
  /* font-weight:500; */
  font-size: 15px;
  line-height: 20px;
}

footer .accented {
  font-weight: 700;
}

footer a,
footer a:hover {
  color: #fff;
}

.footer-icon {
  max-width: 34px;
  height: auto;
}

.footer-spacer {
    width: 100%;
    margin-bottom: 24px;
}

footer .stupidmasha {
  margin-top: -10px;
}

.footer-col {
  padding-left: 70px;
  margin-bottom: 48px;
}

body.modal-open .blur,
body.modal-open section,
body.modal-open header,
body.modal-open footer {
  filter: blur(4px);
}
body.modal-open .sticky {
  position: absolute;
}

.modal-backdrop.show {
  opacity: 0.2;
}

.veza-popup .modal-content {
  border-radius: 0;
  border: none;
  font-size: 18px;
}
.veza-popup .modal-content .row {
  margin-left: 0;
}
.veza-popup .modal-lg {
  max-width: 962px;
}

.veza-popup .modal-header {
  padding: 0px;
  border: none;
}

.veza-popup .modal-header .close {
  font-weight: 300;
  font-size: 34px;
  padding: 2px 10px;
  margin: 0 0 0 auto;
  outline: none;
}

.veza-popup .modal-text {
  padding: 0 30px 30px 30px;
  max-height: 700px;
  min-height: 400px;
  overflow-y: scroll;
}

.veza-popup .modal-footer {
  width: 50%;
  justify-content: center;
  align-items: center;
  border: none;
  padding: 24px 0;
  position: absolute;
  left: 4px; /* patch for row width */
  bottom: 0;
}

.veza-popup .popup-img {
  justify-content: flex-end;
  flex-direction: column;
  background-size: cover;
  background-position: center;
}

.veza-popup .square-default-button {
  margin: 0 10px;
  padding-left: 32px;
  padding-right: 32px;
}

.veza-popup .modal-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 20px;
  margin-left: 5px;
}

.romb ul {
  line-height: 1.1;
}

.veza-popup .modal-3d-container {
  max-height: 700px;
  min-height: 400px;
  height: 80vh;
}

.veza-popup .modal-header .modal-title {
  vertical-align: middle;
}

.m3d-popup .modal-header .modal-title {
  margin-left: 10px;
}

.products-9 {
  display: flex;
  justify-content: center;
}

@media (min-width: 1200px) {
  .products-9 {
    margin-left: 8.5%;
    margin-right: 8.5%;
  }
}

.dummy-margin {
  height: 38px;
  transition-property: height;
  transition-duration: 0.2s;
}

.sticky .dummy-margin {
  height: 0px;
}

.carousel-indicators {
  margin-bottom: 40px;
}

.full-cat,
.mt-44px {
  margin-top: 44px;
}

.hr {
  height: 2px;
  background: #ddd;
  margin-bottom: 4px;
  margin-top: 4px;
}

.section-header {
  margin-bottom: 28px;
}

.advantages-img-wrapper {
  height: 157px;
  width: 220px;
  margin-bottom: 45px;
  display: inline-block;
}

.advantages-img {
  width: auto;
  max-height: 157px;
}

.popup-certificate img {
  max-height: 32px;
  width: auto;
  vertical-align: center;
}
.popup-certificate span {
  vertical-align: center;
  margin-left: 10px;
}

a.popup-certificate {
  color: #4863ab;
}

.modal-text ul ul,
.modal-text ul.smaller {
  padding-left: 18px;
  font-size: 16px;
}

.popup-3D-icon {
  display: inline-block;
  width: 185px;
  height: 114px;
  background-image: url("/img/360-popup.png");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

.popup-3D-icon:hover {
  background-image: url("/img/360_hover.png");
  background-size: 84%;
}

.veza-popup .m3dview {
  width: 100%;
  display: block;
  text-align: center;
  margin-top: 70px;
  margin-bottom: auto;
}

.veza-popup .gallery-btn {
  width: 100%;
  display: block;
  text-align: center;
  margin-bottom: 90px;
}

.modal.modal-bx-form {
  max-width: 600px;
}

.nav-phone-btn {
  padding: 6px;
}

#productionCarousel img {
  max-width: 100%;
  height: auto;
}

#productionCarousel .carousel-indicators li {
  margin-left: 0;
  margin-right: 4px;
  width: 8px;
  height: 8px;
}


@supports not (-webkit-touch-callout: none) {
  /* CSS for other than iOS devices */
  #productionCarousel .carousel-item-prev,
  #productionCarousel .carousel-item-next,
  #productionCarousel .carousel-item.active {
    display: flex;
    justify-content: center;
    align-content: center;
    width: 100%;
  }

  #productionCarousel .carousel-item-next:not(.carousel-item-left),
  #productionCarousel .active.carousel-item-right {
    transform: translateX(100%) scale(0.5);
  }

  #productionCarousel .carousel-item-prev:not(.carousel-item-right),
  #productionCarousel .active.carousel-item-left {
    transform: translateX(-100%) scale(0.5);
  }

  #productionCarousel .active {
    transform: scale(1);
  }
}

#productionCarousel .carousel-indicators {
  margin-bottom: 20px;
}

#productionCarousel .carousel-caption {
  bottom: 30px;
}

#productionCarousel .carousel-control-next-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' stroke-width='.2' fill='%23fff' stroke='%23000' width='8' height='8' viewBox='0 0 8 8'%3e%3cpath d='M2.75 0l-1.5 1.5L3.75 4l-2.5 2.5L2.75 8l4-4-4-4z'/%3e%3c/svg%3e");
}
#productionCarousel .carousel-control-prev-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' stroke-width='.2' fill='%23fff' stroke='%23000' width='8' height='8' viewBox='0 0 8 8'%3e%3cpath d='M5.25 0l-4 4 4 4 1.5-1.5L4.25 4l2.5-2.5L5.25 0z'/%3e%3c/svg%3e");
}

.expand-marker:after {
  border: solid;
  border-width: 0 2px 2px 0;
  display: inline-block;
  padding: 3px;
}

#advantagesCarousel .landing-block-card {
  padding: 0 10%;
}

.expand-marker:after {
  content: " ";
  border: solid;
  border-width: 0 2px 2px 0;
  display: inline-block;
  padding: 0.25em;
  transform: rotate(45deg) translateY(-0.25em);
  -webkit-transform: rotate(45deg) translateY(-0.25em);
  margin-left: 0.5em;
}

.expand-marker.expanded:after {
  transform: rotate(225deg) translateY(-0.25em);
  -webkit-transform: rotate(225deg) translateY(-0.25em);
  margin-left: 0.7em;
}

.footer-icon-wrapper {
  width: 100%;
  margin-bottom: 24px;
}
.footer-text-wrapper {
  width: 100%;
}

.modal-header {
  position: absolute;
  right: 0;
  top: 0;
}

.modal-text {
  margin-top: 38px;
}

.veza-popup.m3d-popup .row,
#bitrix-form-popup .row {
  margin-left: -15px;
}
#bitrix-form-popup .modal-iframe {
  margin-top: 20px;
}

.modal-header:before {
  display: inline-block;
  height: 100%;
  vertical-align: middle;
  content: "";
}

.slider-mobile-img {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
}

/***************************************/

@media (max-width: 991.98px) {
  .block-menu-list {
    text-align: right;
    opacity: 0;
    transition: 0.2s opacity;
  }

  .slider-text {
    width: 100%;
  }

  .navbar-collapse.show .block-menu-list {
    opacity: 1;
  }

  body {
    font-size: 18px;
  }

  .header2 {
    font-size: 32px;
  }

  .block-menu-logo {
    height: 32px;
    margin-left: 14px;
    width: auto;
  }

  .nav-opened .block-menu-logo {
    height: 38px;
    margin-left: 14px;
  }

  .block-top-block,
  .dummy-margin {
    display: none;
  }
  nav .mobile-btn-wrapper {
    min-width: 20%;
    text-align: right;
  }

  #productionCarousel .carousel-indicators {
    display: none;
  }
  .nav-opened nav {
    /*    background-color:#5971B4;    */
  }

  .header-sticky {
    right: 0;
  }

  .header-sticky.sticky {
    left: auto;
  }

  .nav-opened .header-sticky {
    background-color: #5971b4;
    padding-top: 18px;
    left: auto;
    right: 0;
    width: 192px;
    transition: all 0.3s ease;
  }
  .nav-opened .modal-backdrop {
    z-index: 50;
  }

  .nav-opened .navbar {
    padding: 8px 25px;
  }
  .nav-opened .mobile-btn-wrapper {
    display: none;
  }

  .navbar-collapse {
    width: 100%;
    max-width: 192px;
    transition: all 0.3s ease;
    display: block;
  }

  .navbar-collapse.collapsing {
    margin-right: 50%;
    transition: all 0.3s ease;
    display: block;
  }
  nav {
    font-size: 14px;
  }
  nav .navbar-collapse a {
    color: #fff;
  }
  nav .navbar-collapse a:hover {
    color: #fff;
  }

  nav .navbar-collapse a:before {
    left: 0;
    width: 100%;
    opacity: 1;
    bottom: 0px;
  }

  nav .navbar-collapse .nav-item:last-child a:before {
    display: none;
  }

  .nav-link {
    display: block;
    padding: 16px 0;
  }

  .header-sticky.sticky {
    text-shadow: none;
  }

  .nav-opened header #carouselProducts,
  .nav-opened section,
  .nav-opened footer {
    filter: blur(4px);
  }

  #carouselProducts .container {
    padding-top: 25vh;
  }

  .slider-title {
    font-size: 36px;
  }
  .slider-text {
    font-size: 16px;
    align-self: start;
  }
  .product-main-link {
    max-width: 270px;
  }
  .product-popup-card {
    display: flex;
    justify-content: center;
  }

  .full-cat,
  .product-expand {
    margin-top: 14px;
  }
  .footer-col {
    padding-left: 15px;
  }
  footer {
    font-size: 14px;
  }
} /* 992px*/
@media (max-width: 767.98px) {
  body {
    font-size: 16px;
    line-height: 1.25;
  }
  .header2 {
    font-size: 23px;
  }
  .py-80px {
    padding-top: 30px;
    padding-bottom: 30px;
  }
  .advantages {
    padding-top: 64px;
    padding-bottom: 20px;
  }
  .slider-title {
    font-size: 23px;
  }
  .slider-text {
    font-size: 12px;
  }

  .slider-3D-icon {
    width: 116px;
    height: 66px;
    right: 50%;
    margin-right: -58px;
    bottom: 33px;
  }
  .carousel-indicators {
    display: none;
  }
  #carouselProducts .slider-button {
    display: none;
  }
  ul.romb {
    line-height: 1.5;
  }
  .slider-text {
    margin-left: 15px;
    /* margin-right:15px;    */
  }
  .slider-text ul {
    white-space: normal;
  }
  .products .header2 {
    margin-bottom: 0;
  }
  .full-cat .btn {
    width: 100%;
    max-width: 270px;
  }
  .product-expand .btn {
    width: 100%;
    max-width: 270px;
  }
  .btn {
    font-size: 12px;
  }

  .square-hollow-button:hover {
    color: #4863ab;
    background: #fff;
  }

  .advantages-img-wrapper {
    height: 82px;
    margin-bottom: 29px;
    display: inline-block;
  }
  .advantages-img {
    height: 82px;
  }

  .advantages .container {
    padding: 0;
  }

  .footer-icon {
    max-width: 26px;
  }
  .footer-icon-wrapper {
    display: inline-block;
    width: auto;
    vertical-align: top;
    margin-right: 26px;
    margin-left: 9px;
    margin-bottom: 0;
  }
  .footer-text-wrapper {
    display: inline-block;
    width: auto;
    margin-top: 4px;
  }

  footer .stupidmasha {
    margin-top: 0;
  }

  .footer-col {
    margin-bottom: 21px;
  }

  .hr {
    width: 100%;
    max-width: 270px;
  }

  .advantages-text {
    font-size: 16px;
  }

  .advantages-title {
    font-size: 23px;
  }

  footer {
    padding-top: 32px;
    padding-bottom: 9px;
  }

  .about .container,
  .production .container {
    padding-bottom: 0px;
  }

  #productionCarousel {
    margin-top: 0;
    margin-left: -15px;
    margin-right: -15px;
  }

  .mobile-collapse {
    overflow-y: hidden;
    transition: height 200ms;
  }

  .text-expander {
    text-align: center;
    padding-top: 16px;
    padding-bottom: 16px;
  }

  .section-header {
    margin-bottom: 23px;
  }

  .modal-content .row {
    margin: 0;
  }

  .modal-text {
    margin-top: 22px;
  }

  .popup-3D-icon {
    width: 116px;
  }

  .veza-popup .modal-text {
    max-height: 50vh;
    min-height: auto;
    padding: 0;
    padding-right: 10px;
    font-size: 14px;
  }
  .veza-popup .popup-img {
    height: 25vh;
  }
  .veza-popup .modal-text-col {
    padding-right: 5px;
  }
  .veza-popup .modal-title {
    font-height: 19px;
    line-height: 1.1;
    margin-bottom: 13px;
  }

  .veza-popup .modal-footer {
    width: 100%;
    position: unset;
    display: flex;
    padding: 12px 5px;
  }

  .veza-popup .square-default-button {
    flex-grow: 1;
    margin: 0 5px;
    padding-left: 16px;
    padding-right: 16px;
  }

  .modal-open .b24-widget-button-wrapper {
    display: none;
  }

  header .carousel-item {
    -moz-background-size: 100%;
    background-size: 100%;
    -moz-background-size: cover;
    background-size: cover;
    background-position: bottom;
  }
} /*768px*/

.mobile-collapse {
  position: relative;
}

.mobile-collapse[aria-expanded="false"]:after {
  content: "...";
  position: absolute;
  right: 0;
  bottom: 0;
}

#productionCarousel .carousel-indicators{
  margin-left:auto;
  margin-right:auto;
  }
  
@media screen and (max-width: 468px) {
 /* safari patch */
#productionCarousel img,
.veza-popup .carousel img{
    width: 100%;
    height: 100%;
}

}


@media (max-width: 400px) {
  .wrap-accent-xs .accented {
    display: block;
    width: 100%;
  }

  .veza-popup .m3dview {
    margin-bottom: 0px;
  }
} /* min-width: 400px */

/*-- new --*/
.m3dview a {
  vertical-align: middle;
  margin-left: 8px;
  margin-right: 8px;
}

.modal-img-footer {
  position: relative;
}

.modal-img-footer .btn {
  position: absolute;
  right: 0;
  bottom: 10px;
  z-index: 5;
}

/*-- new, popup --*/

.popup-preview img {
  width: auto;
  height: 92px;
}

.veza-popup .gallery-btn {
  width: 100%;
  display: block;
  text-align: left;
  margin-bottom: 90px;
  padding: 0px 0px 0px 27px;
}

.modal-img-footer {
  position: relative;
  background: #ddd;
  min-height: 75px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-img-footer .description {
  margin-left: 30px;
}

.modal-img-footer .back {
  color: #657bb8;
  display: flex;
  align-items: center;
  margin-right: 30px;
}

.modal-img-footer .back img {
  margin: 0px 0px 0px 10px;
}

.popup-slider-container .carousel-caption {
  display: none;
}

.popup-slider-container img {
  margin: 0 auto;
}

@supports not (-webkit-touch-callout: none) {
  /* CSS for other than iOS devices */

  .popup-slider-container .carousel-item-prev,
  .popup-slider-container .carousel-item-next,
  .popup-slider-container .carousel-item.active {
    display: flex;
    justify-content: center;
    align-content: center;
    width: 100%;
  }

  .popup-slider-container .carousel-item-next:not(.carousel-item-left),
  .popup-slider-container .active.carousel-item-right {
    transform: translateX(100%) scale(0.5);
  }

  .popup-slider-container .carousel-item-prev:not(.carousel-item-right),
  .popup-slider-container .active.carousel-item-left {
    transform: translateX(-100%) scale(0.5);
  }
}

.modal-header.light .close {
  color: #fff;
  z-index: 100;
}

.popup-slider-container .carousel-control-next-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' stroke-width='.2' fill='%23fff' stroke='%23000' width='8' height='8' viewBox='0 0 8 8'%3e%3cpath d='M2.75 0l-1.5 1.5L3.75 4l-2.5 2.5L2.75 8l4-4-4-4z'/%3e%3c/svg%3e");
}
.popup-slider-container .carousel-control-prev-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' stroke-width='.2' fill='%23fff' stroke='%23000' width='8' height='8' viewBox='0 0 8 8'%3e%3cpath d='M5.25 0l-4 4 4 4 1.5-1.5L4.25 4l2.5-2.5L5.25 0z'/%3e%3c/svg%3e");
}

.gallery-btn .hint {
  text-decoration: none;
  opacity: 0;
  transition: 0.2s all;
  margin-left: 0;
}

.gallery-btn .hint.white {
  color: #fff;
}

.gallery-btn a:hover {
  text-decoration: none;
}

.gallery-btn a:hover .hint {
  color: #4863ab;
  opacity: 100;
  margin-left: 10px;
}

.gallery-btn a:hover .hint.white {
  color: #fff;
}

@media screen and (max-width: 468px) {
  .veza-popup .carousel img {
    width: 100%;
    height: 100%;
  }
}

.veza-popup .ajax-loader {
  width: 32px;
  height: 32px;
  margin: 150px 20px;
  margin: 30vh 20vw;
}

.veza-popup .carousel {
  background: #ddd;
}

.veza-popup .carousel img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
}
.veza-popup .carousel .carousel-item {
  max-height: 700px;
  text-align: center;
}

.veza-popup .carousel .carousel-indicators {
  margin-left: auto;
  margin-right: auto;
}

.veza-popup .carousel-indicators li {
  margin-left: 0;
  margin-right: 4px;
  width: 8px;
  height: 8px;
}

.veza-popup .gallery-btn.small img {
  width: 32px;
  height: 32px;
}

.veza-popup .gallery-btn.small .popup-tab-switch {
  display: block;
  width: 100%;
  margin-top: 8px;
}

@media (max-width: 768px) {
  .veza-popup .gallery-btn {
    margin-bottom: 8px;
  }
  .gallery-btn .hint,
  .gallery-btn .hint.white {
    text-decoration: underline;
    opacity: 100;
    margin-left: 8px;
  }
  .veza-popup .gallery-btn img {
    width: 32px;
    height: 32px;
  }
  .veza-popup .m3dview{
    margin-top:0;
  }
}

.veza-popup .fukken-ie{
  width:100%;
  height:100%;
  display:flex;
  flex-direction:column;  
}

/*** fukken ie patch ***/
.iedetected .veza-popup .carousel img{
  height:100%;
  width:auto;
}

.popup-3D-icon-dummy{
  height: 114px;
}

@media (max-width: 576px) {
    .modal-img-footer .description,
    .modal-img-footer .back{
        font-size:16px;
    }
    .modal-img-footer .description {
    margin-left: 16px;
    }
    .modal-img-footer .back{
        margin-right: 16px;
    }
    
    .veza-popup .carousel .carousel-item {
      max-height:70vh;
      }
}

.nobreak {
  white-space: nowrap;
  }
  
  .slider-title {
  margin-bottom: 40px;
}

.slider-title .br{
  display: block;
}

.slider-title .smaller {
  display: block;
  font-size: 24px;
}

.slider-text {
  font-size: 18px;
}

.slider-text ul.romb {
  line-height: 1.6;
  margin-bottom: 40px;
}

.slider-text ul.romb > li::before {
  margin-right: 0.5em;
}

.block-card-button-container {
  margin-left: 1.8em; /* выровнять по тексту */
}

ul.romb .brspan {
  display: block;
  margin-left: 1.3em;
}

.carousel-item .container {
  -ms-flex-align: center;
  align-items: center;
}

.slider-mobile-button {
    color: #4863ab;    
    border:2px solid #4863ab;    
    border-radius:0;
    text-align:center;
    width:80%;
    padding: 8px 20px;
    font-weight:700;
}
.slider-mobile-button:visited {
    color: #4863ab;    
    }

@media (max-width: 1199.98px) {
  /* container=1140px @xl
              =960px @md
  */
  .slider-text {
    font-size: 18px;
  }
  .slider-title {
    font-size: 48px;
  }
  .slider-title .smaller {
    font-size: 20px;
  }
}

@media (max-width: 991.98px) {
  #carouselProducts .container {
    padding-top: 16.6vh;
  }
}

@media (max-width: 991.98px) {
  /* container width: 720px */
  .slider-text {
    font-size: 14px;
    font-weight:500;
  }
  .slider-title {
    font-size: 36px;
    margin-bottom: 26px;
  }
  .slider-title .smaller {
    font-size: 15px;
  }
  .slider-text ul.romb {
  margin-bottom: 26px;
}  
}

/* Small devices (landscape phones, less than 768px) */
@media (max-width: 575.98px) {
  .block-card-button-container{
    margin-left:0;
    margin-right:15px; /* text margin compensate*/
    text-align:center;
  }
  .slider-text {
    font-size: 10px;    
  }
  .slider-title {
    font-size: 18px;
  }
  .slider-title .smaller {
    font-size: 10px;
  }
  .carousel-item .container {
    -ms-flex-align: flex-start;
    align-items: flex-start;
  }  
}

.slider-text {
   max-width: inherit;
}

/*
@media (max-width: 767.98px) {
.slider-text {
    height:100%;
    padding-bottom:20px;
    display:flex;
    flex-direction: column;
}

.slider-text ul{
    flex-grow:1;
}

 .slider-3D-icon {
    bottom: 83px;
  }
}
*/

@media (max-width: 767.98px) {
header .carousel-item.bg-center {
    background-position: center;
  }
}

@media (max-height: 768px) and (min-width: 1024px) {
  /* laptop */
  .slider-text {
    font-size: 14px;
    font-weight: 500;
  }
  .slider-title {
    font-size: 36px;
    margin-bottom: 26px;
  }
  .slider-title .smaller {
    font-size: 15px;
  }
  .slider-text ul.romb {
    margin-bottom: 26px;
  }
  .dummy-margin {
    height: 18px;
  }
  .block-menu-logo {
    height: 32px;
    width: auto;
  }
}



#vacancies-popup .modal-header{
  position: unset;;
    padding: 1rem 1rem;    
}

#vacancies-popup .modal-title{
  margin-bottom: 0px;
}

#vacancies-popup .modal-text{
  margin-top: 0px;
}

.vacancy-link{
  margin-bottom:0;
}

.vacancy-link:after {
    content: "";
  float:right;
    display: inline-block;
    width: 1em;
    height: 1em;
    margin:0.1em;
  background:no-repeat center;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath d='M207.029 381.476L12.686 187.132c-9.373-9.373-9.373-24.569 0-33.941l22.667-22.667c9.357-9.357 24.522-9.375 33.901-.04L224 284.505l154.745-154.021c9.379-9.335 24.544-9.317 33.901.04l22.667 22.667c9.373 9.373 9.373 24.569 0 33.941L240.971 381.476c-9.373 9.372-24.569 9.372-33.942 0z'/%3E%3C/svg%3E");
  opacity:.6;
  transform: rotate(180deg);
  transition: 0.5s all;
}

.collapsed .vacancy-link:after{
  transform: rotate(0deg);
}

.card-header a{
  color:#222;
}

.card-header a:hover{
  text-decoration:none;
  color: #485fa1;
}

.modal-content .gallery-btn .hint {
    opacity:1;
    color: #4863ab;        
    margin-left:.4em;  
}

.modal-content .gallery-btn a:hover .hint {        
    margin-left:.4em;
}

.veza-popup .gallery-btn{
  text-align:center;
  padding:4px 0px;
  }

.gallery-btn a {
    color: #4863ab;
    border: #4863ab 2px solid;
    border-radius: 0;
    padding: 10px 20px;    
}

.gallery-btn img{
    width:1.4em;
}


 .js-mobile-collapse-gallery.mobile-collapsed {
      max-height:400px;
      padding-bottom:0;
  }
  
    .js-mobile-collapse-gallery{
      max-height:100%;
      overflow:hidden;
      position:relative;
      padding-bottom:60px;
      transition:.4s all;
  }
  
    .js-mobile-collapse-gallery .gallery-expander{
      position:absolute;      
      width:100%;
      text-align:center;
      padding:20px;
      background: rgb(255,255,255);
      background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.7) 30%, rgba(255,255,255,1) 80%);
      display:block;      
      bottom:0;
  }

@media (max-width: 768px) {

  .js-mobile-collapse-gallery.mobile-collapsed {
      max-height:260px;
      padding-bottom:0;
  }
  
  .gallery-btn a {
    background-color: #c1c1c19c; 
  }
  
  .veza-popup .gallery-btn {
      text-align: left;      
  }
    
}