body {
  height: 100%;
  margin: 0;
  color: var(--color-text-black);
  font-family: var(--font-family);
  overflow-x: hidden;
  width: 100%;
}
html {
  overflow-x: hidden;
}

#page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

#main {
  flex: 1;
}

.ui-dialog {
  position: fixed !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  max-width: calc(100% - 20px);
  max-height: calc(100% - 20px);
}
img {
  max-width: 100%;
  height: auto;
}
/*HEADER STYLES*/
#footer .ajax-progress,
#header .ajax-progress {
  display: none;
}

#footer .col-logo .field--name-body {
  font-weight: 300;
  font-size: 14px;
  line-height: 157%;
  letter-spacing: 0.07em;
  color: #fff;
}
#footer .col-logo {
  display: flex;
  height: auto;
  flex-direction: column;
  max-width: 329px;
}
#footer .region-footer-text {
  margin-top: auto;
}
#footer a {
  color: #fff;
  font-size: 14px;
}
#footer .dropdown-toggle::after {
  display: none;
  width: 0;
  height: 0;
}
#footer ul.nav .nav-item:last-child a {
  padding-bottom: 0;
}
#footer ul.nav .nav-item:first-child a {
  padding-top: 0;
}
#footer ul.nav a:hover {
  color: #b1b1b1;
}
#footer ul.nav a {
  font-weight: 500;
  font-size: 14px;
  line-height: 114%;
  letter-spacing: 0.07em;
  color: #fff;
  padding: 10px 0px;
}
#footer .col-contacts {
  max-width: 255px;
}
#footer .custom-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
#footer .contacts__item--address {
  font-weight: 800;
  font-size: 14px;
  line-height: 107%;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #fff;
}
#footer .nav_doc:hover {
  color: #b1b1b1;
}
#footer ul.nav {
  flex-direction: column;
}
#footer .top-row {
  padding-bottom: 50px;
  position: relative;
  align-items: stretch;
}
.row-copiryght a:hover {
  color: #b1b1b1;
}
.row-copiryght a {
  font-weight: 300;
  font-size: 14px;
  line-height: 157%;
  color: #fff;
}
.row-copiryght {
  padding: 20px 0;
  font-weight: 300;
  font-size: 14px;
  line-height: 157%;
  color: #fff;
  row-gap: 10px;
}
#footer .top-row::after {
  width: 100vw;
  height: 1px;
  background-color: #fff;
  position: absolute;
  bottom: 0;
  left: calc((100vw - 100%) / -2);
  content: "";
  z-index: 5;
}
#footer .row > * {
  width: fit-content;
}

#footer h3 {
  font-weight: 800;
  font-size: 14px;
  line-height: 107%;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 30px;
}
#footer .row {
  justify-content: space-between;
}
#footer {
  background-color: var(--color-dark-blue);
  color: #fff;
  font-size: 14px;
  padding-top: 40px;
}
.header-bottom {
  background: #ccc;
}

.toolbar .toolbar-tab .toolbar-icon {
  padding: 0.75em 1.5em 0.75em 2.5em;
}
.path-admin .messages--error {
  display: none;
}
/* *** contextual-region *** */
.contextual-region .contextual {
  display: none;
  top: -8px;
  right: 8px;
}

.contextual-region .contextual-region .contextual {
  top: 8px;
}

.contextual-region:hover .contextual {
  display: block;
}

.contextual-region .contextual .trigger {
  width: 22px !important;
  height: 22px !important;
  background-size: 14px 14px;
}

.cart-block--summary .cart-block--summary__count {
  position: absolute;
  width: 18px;
  height: 18px;
  border: 2px solid #fff;
  background: #ccc;
  color: #fff;
  top: -3px;
  right: -9px;
  border-radius: 50%;
  font-size: 10px;
  font-weight: 500;
}

#header-mob .contacts__item--mail,
#header-mob .contacts__item--address {
  display: none;
}
#header-mob .contacts__detail--phone svg {
  width: 12px;
  height: 12px;
}

#header-mob .contacts__detail--phone {
  font-size: 14px;
  color: #fff;
}
#header-mob .col-contacts {
  margin-left: auto;
}
#header-mob {
  top: 0;
  width: 100%;
  background: var(--color-dark-blue);
  color: #fff;
  padding: 5px 5px;
  z-index: 50;
}

#header-mob.toolbar-horizontal #header-mob {
  top: 0;
}

#header-mob > * {
  padding: 0 10px;
}

#header-mob a {
  color: #000;
}
.btn-close {
  --bs-btn-close-bg: url("/sites/all/themes/vesta_theme/image/btn-close.svg");
}
.offcanvas {
  --bs-offcanvas-bg: var(--color-dark-blue);
}
.header-down {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.offcanvas-header {
  display: flex;
  align-items: center;
  padding: var(--bs-offcanvas-padding-y) var(--bs-offcanvas-padding-x);
}

.offcanvas .offcanvas-body {
  display: flex;
  flex-direction: column;
  padding-top: 6px;
}

.offcanvas .offcanvas-body .region-search {
  margin-bottom: 20px;
}

.offcanvas .offcanvas-body .region-navigation {
  margin-bottom: 20px;
}

.offcanvas .offcanvas-body .col-contacts {
  margin-top: auto;
}
.offcanvas ul.custom-list {
  flex-direction: column;
}
.header .col-search {
  display: flex;
  align-items: center;
}
.header .col-search.active .btn-search {
  opacity: 0;
  width: 0;
}
.btn-search {
  transition: all 0.3s ease;
  cursor: pointer;
}
.contacts__detail--phone,
.contacts__detail--mail {
  white-space: nowrap;
}
.header form .form-control,
.header form .form-number {
  background-color: #fff;
  padding: 10px 20px;
}

.header .col-search.active .region-search {
  opacity: 1;
  visibility: visible;
  width: 110px;
  height: fit-content;
  transform: translateX(0);
}
.header .region-callback a {
  padding: 20px 32px;
}
.header .nav-link:hover {
  color: var(--color-text-gray);
}
.header .nav-link {
  padding: 20px 0;
  font-weight: 500;
  font-size: 14px;
  line-height: 114%;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--color-text-black);
}
.header ul.nav {
  justify-content: space-between;
}
.header .region-navigation {
  width: 100%;
  max-width: 470px;
}
.header .col-callback {
  flex-shrink: 0;
  white-space: nowrap;
}
.header .region-search {
  opacity: 0;
  height: 0;
  visibility: hidden;
  width: 0;
  overflow: hidden;
  transform: translateX(15px);
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
}

.offcanvas .offcanvas-title {
  color: #000;
  text-transform: uppercase;
  font-size: 20px;
  font-weight: 500;
}
.offcanvas .custom-list {
  margin: 0;
  padding: 0;
  list-style-type: none;
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.offcanvas .col-contacts .contacts__detail--address {
  font-weight: 800;
  line-height: 125%;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
}
.offcanvas .dropdown-item {
  color: #fff;
  line-height: 1.3;
}
.offcanvas .offcanvas-body .nav-link {
  width: fit-content;
  position: relative;
  line-height: 1.3;
  display: block;
  padding: 8px;
  font-weight: 500;
  font-size: 16px;
  color: #fff;
}
.offcanvas .col-contacts .contacts__item svg {
  width: 14px;
  height: 14px;
  margin-right: 6px;
}
.offcanvas .col-contacts .contacts__item a {
  font-size: 14px;
  color: #fff;
}
.nav .nav-item.dropdown:hover .dropdown-toggle::after {
  transform: rotate(180deg) translateY(50%);
}
.region-navigation .nav > .nav-item:hover .dropdown-menu {
  border-radius: 0;
  border-color: var(--color-border);
}

.dropdown-item:hover {
  background-color: transparent;
  color: #1a5fa3;
}
.dropdown-item {
  display: block;
  white-space: wrap;
  max-width: 500px;
  padding: 5px 20px;
  font-size: 14px;
  transition: all 0.3s;
  line-height: 136%;
}
/* .dropdown-menu .nav-item:first-child .dropdown-item {
  padding-top: 0;
}
.dropdown-menu .nav-item:last-child .dropdown-item {
  padding-bottom: 0;
} */
.header .region-navigation .nav > .nav-item:hover .dropdown-menu {
  width: fit-content;
}
.region-navigation .nav > .nav-item:hover .dropdown-menu {
  min-width: 390px;
  max-height: 500px;
}

.offcanvas .nav .nav-item.dropdown .dropdown-toggle::after {
  background: url("/sites/all/themes/vesta_theme/image/dropdown-white.svg")
    center center no-repeat;
}
.nav .nav-item.dropdown .dropdown-toggle::after {
  position: absolute;
  border: none;
  top: 50%;
  right: -14px;
  transform: translateY(-50%);
  width: 12px;
  height: 12px;
  background: url("/sites/all/themes/vesta_theme/image/dropdown-mud.svg") center
    center no-repeat;
  background-size: contain;
  content: "";
  transition: all 0.4s ease;
}

.region-navigation .nav > .nav-item:hover .dropdown-menu {
  display: block;
  top: 100%;
  left: 0;
}
.header .custom-list {
  display: flex;
  gap: 55px;
}
.col-contacts .contacts__item a {
  font-weight: 800;
  font-size: 12px;
  line-height: 125%;
  letter-spacing: 0.08em;
  text-transform: lowercase;
  color: #fff;
}
.col-contacts .contacts__item p svg {
  flex: 0 0 auto;
}
.col-contacts .contacts__item p {
  display: flex;
  gap: 6px;
  align-items: center;
}
.header .col-contacts .contacts__item--address {
  margin-left: auto;
  font-weight: 800;
  font-size: 12px;
  line-height: 125%;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
}

.header-down::before {
  top: 0;
  bottom: 0;
  content: "";
  position: absolute;
  z-index: -3;
  background-color: #edf1f6;
  width: 150vw;
  height: 100%;
  left: -50vw;
}
.header-down.active {
  gap: 8px;
}
.header-down {
  position: relative;
  display: flex;
  justify-content: space-between;
}
.header-top:before {
  top: 0;
  bottom: 0;
  content: "";
  position: absolute;
  z-index: -3;
  background-color: var(--color-dark-blue);
  width: 150vw;
  height: 100%;
  left: -50vw;
}
.header-top {
  background: var(--color-dark-blue);
  padding: 19px 0;
  position: relative;
}
.header-container {
  display: flex;
}
.header-left img {
  position: absolute;
  left: 0px;
  bottom: 0;
  top: 7px;
  width: 385px;
  height: 93px;
  object-fit: contain;
  object-position: left;
}
.header-left {
  position: relative;
  flex: 0 0 auto;
  width: 405px;
  overflow: hidden;
}

.header-right {
  flex: 1;
}
#footer .views-field-title a:hover {
  color: #b1b1b1;
}

/*HEADER STYLES*/

/* SLICK STYLES */
.region-slider .view-content:not(.slick-initialized) .views-row {
  display: none;
}

.region-slider .view-content:not(.slick-initialized) .views-row:first-child {
  display: block;
}

div#slider-block
  .view.view-slayder.view-id-slayder
  .view-content
  .node--type-slide
  .content {
  position: absolute;
  top: 0;
  bottom: calc(1vw + 12px);
  left: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #fff;
}

.slick-prev,
.slick-next {
  font-size: 0;
  line-height: 0;
  position: absolute;
  top: calc(50% - 10px);
  display: block;
  width: 20px;
  height: 20px;
  padding: 0;
  -webkit-transform: translate(0, -50%);
  -ms-transform: translate(0, -50%);
  transform: translate(0, -50%);
  cursor: pointer;
  color: transparent;
  border: none;
  outline: none;
  background: transparent;
}

button.slick-prev.slick-arrow {
  left: 25px;
}

button.slick-next.slick-arrow {
  right: 25px;
}

ul.slick-dots {
  padding: 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 7px;
  list-style: none;
  margin: 10px 0;
}

ul.slick-dots li button {
  background: #686868;
  border-radius: 50%;
  border: none;
  padding: 0;
  width: 10px;
  font-size: 0;
  height: 10px;
  display: block;
}

ul.slick-dots li button::before {
  display: none;
}

ul.slick-dots li.slick-active button {
  background: #272727;
}

button.slick-arrow {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

button.slick-arrow::before {
  content: "";
  display: block;
  position: relative;
  width: 30px;
  height: 30px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  font-size: 0;
}

button.slick-prev.slick-arrow::before {
  background-image: url("/sites/all/themes/vesta_theme/image/arrow-top.svg");
  transform: rotate(-90deg);
}

button.slick-next.slick-arrow::before {
  background-image: url("/sites/all/themes/vesta_theme/image/arrow-top.svg");
  transform: rotate(90deg);
}

#scrollToTop img {
  object-fit: cover;
}
#scrollToTop:hover {
  opacity: 0.8;
}
h5.modal-title {
  font-size: 18px;
  font-weight: 600;
}
.modal-footer .btn-primary {
  max-width: 100%;
  width: 100%;
}
#scrollToTop {
  width: 120px;
  height: 60px;
  background: none;
  text-indent: 0;
  font-size: 0;
  border: 0px;
  outline: 0px;
  display: flex;
  bottom: 80px;
  cursor: pointer;
  position: fixed;
  right: 75px;
  z-index: 10;
  transition: 0.2s;
  padding: 0;
  box-shadow: 0 4px 10px 3px rgba(15, 63, 108, 0.6);
  transition: opacity 0.3s;
}

/* SLICK STYLES */

/* PRODUCT PAGE STYLES*/
.product-teaser {
  display: flex;
  gap: 50px;
}

.product-teaser .product-teaser-image {
  max-width: 500px;
}

.product-teaser
  .product-teaser-image
  .field.field--name-field-variation-image.field--type-image
  .elements
  .current-slide.slick-initialized.slick-slider {
  margin: 0 0 10px;
}

.product-teaser
  .product-teaser-image
  .field.field--name-field-variation-image.field--type-image
  .elements
  .current-slide.slick-initialized.slick-slider
  .slick-list.draggable
  .slick-track
  .element.slick-slide
  img {
  max-width: 500px;
  min-width: 500px;
  max-height: 500px;
  min-height: 500px;
  object-fit: cover;
}

.product-teaser
  .product-teaser-image
  .field.field--name-field-variation-image.field--type-image
  .elements
  .nav-slide.slick-initialized.slick-slider
  .slick-list.draggable {
  margin: 0 -5px;
}

.product-teaser
  .product-teaser-image
  .field.field--name-field-variation-image.field--type-image
  .elements
  .nav-slide.slick-initialized.slick-slider
  .slick-list.draggable
  .slick-track
  .element.slick-slide {
  margin: 0 5px;
  max-width: 118px;
  min-width: 118px;
  max-height: 118px;
  min-height: 118px;
}

.product-teaser
  .product-teaser-image
  .field.field--name-field-variation-image.field--type-image
  .elements
  .nav-slide.slick-initialized.slick-slider
  .slick-list.draggable
  .slick-track
  .element.slick-slide
  img {
  max-width: 118px;
  min-width: 118px;
  max-height: 118px;
  min-height: 118px;
  object-fit: cover;
}

.product-teaser .product-teaser-info {
  max-width: 500px;
}

.product-view-full button.slick-prev.slick-arrow {
  left: -25px;
}

.product-view-full button.slick-next.slick-arrow {
  right: -25px;
}

.node--view-mode-full .field--name-body.body-styles img {
  margin: unset;
}
.node--view-mode-full .field--name-body img {
  margin: 0 10px;
}

/* PRODUCT PAGE STYLES*/
/* BANNER STYLES*/
.block-content--type-banner .field--name-field-metka {
  background-color: var(--background-metka);
  width: fit-content;
  white-space: nowrap;
  font-weight: 700;
  font-size: 12px;
  line-height: 125%;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-title);
  margin-bottom: 30px;
  padding: 10px 20px;
}
.block-content--type-banner h1 .blue {
  color: var(--color-title);
}

.block-content--type-banner .field--name-body strong {
  font-weight: 800;
}
.block-content--type-banner .field--name-body {
  padding-left: 30px;
  font-family: var(--font-family);
  font-weight: 300;
  font-size: 18px;
  line-height: 156%;
  color: #191919;
  border-left: 1px solid var(--color-border);
  max-width: 545px;
  margin-bottom: 20px;
}
.block-content--type-banner h1 {
  font-family: var(--second-family);
  font-weight: 700;
  font-size: 58px;
  line-height: 100%;
  color: var(--color-text-black);
  margin-bottom: 30px;
}
.block-content--type-banner .right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.block-content--type-banner .right {
  width: calc(5 / 12 * 100%);
}
.block-content--type-banner .left .field--name-field-knopki {
  margin-top: auto;
  display: flex;
  padding-bottom: 25px;
}
.block-content--type-banner .left {
  display: flex;
  flex-direction: column;
  height: auto;
  width: calc(7 / 12 * 100%);
}
.block-content--type-banner {
  display: flex;
  flex-wrap: wrap;
  row-gap: 1.5rem;
  align-items: stretch;
}
/* BANNER STYLES*/
/* SERVICES STYLES*/
.block-title {
  font-family: var(--second-family);
  font-weight: 800;
  font-size: 38px;
  line-height: 100%;
  letter-spacing: -0.05em;
  text-transform: uppercase;
  color: #0f3f6c;
  margin-bottom: 40px;
}
.view-uslugi .node--view-mode-teaser svg rect {
  transition: fill 0.3s;
}
.view-uslugi .node--view-mode-teaser svg path {
  transition: fill 0.3s;
}
.view-uslugi .node--view-mode-teaser svg {
  transition: box-shadow 0.3s;
}
.view-uslugi .node--view-mode-teaser:hover svg {
  box-shadow: 0 4px 10px 3px rgba(15, 63, 108, 0.35);
}
.view-uslugi .node--view-mode-teaser:hover svg rect {
  fill: var(--color-title);
}
.view-uslugi .node--view-mode-teaser:hover svg path {
  fill: #fff;
}
.view-uslugi .node--view-mode-teaser:hover::after {
  opacity: 1;
}
.view-uslugi .node--view-mode-teaser:hover {
  border-color: var(--color-title);
}
.view-uslugi .node--view-mode-teaser::after {
  content: "";
  position: absolute;
  right: 30px;
  top: 30px;
  background: url("/sites/all/themes/vesta_theme/image/service-arrow.svg")
    center no-repeat;
  width: 12px;
  height: 12px;
  object-fit: contain;
  z-index: 3;
  opacity: 0;
  transition: opacity 0.3s;
}
.view-uslugi .node--view-mode-teaser {
  position: relative;
  border: 1px solid var(--color-border);
  background-color: white;
  height: 100%;
  padding: 30px;
  transition: all 0.3s ease;
}
.view-uslugi .field--name-node-title {
  margin-top: 30px;
}
.view-uslugi .field--name-node-title a::after {
  position: absolute;
  inset: 0;
  content: "";
}
.view-uslugi .field--name-node-title a {
  font-family: var(--font-family);
  font-weight: 800;
  font-size: 18px;
  line-height: 122%;
  color: var(--color-text-black);
}
.services {
  background-color: var(--color-light);
}
.view-uslugi .view-content > * {
  width: calc(100% / 3);
  flex: 0 0 auto;
  padding: 0 15px;
  min-height: 270px;
}
.view-uslugi .view-content {
  margin: 0 -15px;
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  row-gap: 30px;
  margin-bottom: 40px;
}
.more-link a {
  margin: auto;
  max-width: calc(100% / 3 - 22.5px);
}
/* SERVICES STYLES*/
/* PROJECTS STYLES*/
.text-styles strong {
  font-weight: 800;
}
.text-styles {
  font-family: var(--font-family);
  font-weight: 300;
  font-size: 18px;
  line-height: 156%;
  color: #191919;
}
.node--type-proekt .field--name-field-izobrazhenie .field__item a {
  display: block;
  overflow: hidden;
}
.node--type-proekt .field--name-field-izobrazhenie img:hover {
  transform: scale(1.06);
}
.node--type-proekt .field--name-field-izobrazhenie img {
  aspect-ratio: 1/1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.node--type-proekt .field--name-field-izobrazhenie > * {
  width: calc(100% / 3);
  flex: 0 0 auto;
  padding: 0 15px;
}
.node--type-proekt .field--name-field-izobrazhenie {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  row-gap: 2rem;
  margin: 0 -15px;
}
.section.projects {
  padding-bottom: var(--pddding-botom);
}
.view-proekty .field--name-field-izobrazhenie-anonsa img::after {
  content: "";
  position: absolute;
  inset: 0;
}
.view-content .node--view-mode-teaser {
  position: relative;
}
.view-content .field--name-node-link a {
  font-size: 0;
  position: absolute;
  inset: 0;
}
.view-proekty
  .node--view-mode-teaser:hover
  .field--name-field-nazvanie-proekta-v-anonse {
  color: var(--color-text-gray);
}

.view-proekty .node--view-mode-teaser img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.view-proekty .node--view-mode-teaser:hover img {
  filter: brightness(0.6);
  transform: scale(1.02);
}
.view-proekty .field--name-field-izobrazhenie-anonsa img {
  display: block;
  inset: 0px;
  transform: translate(0, 0, 0);
  transition:
    transform 0.3s ease,
    filter 0.3s ease;
  will-change: transform, filter;
}
.view-proekty .field--name-field-izobrazhenie-anonsa {
  position: relative;
  overflow: hidden;
  height: 270px;
}
.view-proekty .field--name-field-nazvanie-proekta-v-anonse {
  font-family: var(--font-family);
  font-weight: 800;
  font-size: 18px;
  line-height: 122%;
  color: var(--color-text-black);
  margin-top: 20px;
  transition: color 0.3s;
}
.view-proekty .more-link a {
  margin: initial;
}

.view-proekty .view-content > * {
  flex: 0 0 auto;
  width: 25%;
  padding: 0 15px;
}
.view-proekty .view-content {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  row-gap: 30px;
  margin: 0 -15px 30px;
}
/* PROJECTS STYLES*/
/* ABOUT STYLES*/
.view-about .node--view-mode-teaser .left {
  border-right: 1px solid var(--color-border);
  width: calc(100% / 3);
  height: 100%;
}
.about::after {
  content: "";
  background-color: var(--color-light);
  inset: 0;
  position: absolute;
  z-index: -5;
}
.about {
  overflow: hidden;
  position: relative;
}
.view-about .second-btn:hover::before {
  background-color: #1a3a52;
  box-shadow: 0 4px 10px 3px rgba(15, 63, 108, 0.6);
}
.view-about .second-btn:hover {
  background-color: transparent;
}
.view-about .second-btn::before {
  transition:
    background-color 0.3s,
    box-shadow 0.3s;
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  background-color: transparent;
  border-bottom: 1px solid var(--color-border);
  height: 100%;
  width: 100vw;
  z-index: -3;
}
.view-about .second-btn {
  position: relative;
  border: none;
}
/* #header,
#footer {
  overflow-x: hidden;
} */
.view-about .node--view-mode-teaser .right {
  flex: 1;
}
.view-about .second-btn {
  max-width: 100%;
}

.view-about .field--name-field-o-kompanii-anons strong {
  font-weight: 800;
}
.view-about .field--name-field-o-kompanii-anons {
  font-family: var(--font-family);
  font-weight: 300;
  font-size: 18px;
  line-height: 156%;
  padding-left: 30px;
}
.view-about .node--view-mode-teaser {
  display: flex;
  flex-wrap: wrap;
  row-gap: 1.5rem;
  align-items: stretch;
}
.block-content--type-banner .btn.second-btn:hover::after {
  background: url("/sites/all/themes/vesta_theme/image/btn-arrow-dark.svg") left
    no-repeat;
}

/* ABOUT STYLES*/
/* BENEFITS STYLES*/
.block-content--type-preimushchestva-blok
  .field--name-field-preimushchestva-material
  .node--view-mode-teaser {
  padding-left: 30px;
  border-left: 1px solid var(--color-border);
}
.block-content--type-preimushchestva-blok
  .field--name-field-preimushchestva-material
  > * {
  width: 50%;
  flex: 0 0 auto;
  padding: 0 15px;
  height: auto;
}

.block-content--type-preimushchestva-blok .node--type-preimushchestvo {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.block-content--type-preimushchestva-blok
  .field--name-field-preimushchestva-material
  .field--name-body {
  font-weight: 300;
  font-size: 14px;
  line-height: 157%;
  color: var(--color-text-gray);
  margin-top: auto;
}
.benefits {
  background-color: var(--color-light);
}
.block-content--type-preimushchestva-blok
  .field--name-field-preimushchestva-material
  h2 {
  font-family: var(--font-family);
  font-weight: 800;
  font-size: 17px;
  line-height: 122%;
  text-transform: uppercase;
  color: var(--color-text-black);
  margin-bottom: 20px;
}
.block-content--type-preimushchestva-blok
  .field--name-field-preimushchestva-material {
  display: flex;
  align-items: stretch;
  row-gap: 40px;
  margin: 0 -15px;
  flex-wrap: wrap;
}
.block-content--type-preimushchestva-blok .right {
  flex: 1;
}
.block-content--type-preimushchestva-blok .left {
  width: calc(100% / 3);
  height: 100%;
}
.block-content--type-preimushchestva-blok {
  display: flex;
  flex-wrap: wrap;
  row-gap: 1.5rem;
  align-items: stretch;
}
/* BENEFITS STYLES*/
#offcanvasNav .nav .dropdown-menu {
  width: 100%;
}
/* FORM */
form .form-item--error-message {
  display: none !important;
}

form .error {
  border: 1px solid red !important;
  outline: 1px solid red;
}

form .form-item {
  margin-bottom: 12px;
}

form .form-type-checkbox {
  display: flex;
  gap: 8px;
}

form .form-type-checkbox input {
  flex-shrink: 0;
  appearance: none;
  position: relative;
  width: 15px;
  height: 15px;
  border: 1px solid #131516;
  border-radius: 0px;
  transition: 500ms;
}
.webform-submission-form .form-actions .btn-primary {
  max-width: 100%;
  width: 100%;
}
.webform-submission-form .form-actions {
  margin: 40px 0 20px;
}
.block-content--type-blok-s-formoy .right {
  border: 1px solid var(--color-border);
  padding: 40px 30px;
  box-shadow: 0 4px 24px 3px rgba(0, 0, 0, 0.1);
  background: #fff;
}

form label {
  display: block;
  margin-bottom: 5px;
  font-weight: 700;
  font-size: 14px;
  line-height: 157%;
  text-transform: uppercase;
  color: #4c4c4c;
}
form .form-type-checkbox input::after {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 0px;
  height: 0px;
  font-size: 25px;
  background: url("/sites/all/themes/vesta_theme/image/checkmark-blck.svg")
    center center no-repeat;
  content: "";
}
form .form-type-checkbox input:checked::after {
  width: 100%;
  height: 100%;
}
form .form-type-checkbox a {
  color: var(--color-text-black);
}
.block-content--type-blok-s-formoy .contacts__text {
  margin-top: auto;
}
.block-content--type-blok-s-formoy .contacts__text a:hover {
  color: var(--color-text-gray);
}
.block-content--type-blok-s-formoy .contacts__text a,
.block-content--type-blok-s-formoy .contacts__text {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 18px;
  line-height: 100%;
  letter-spacing: 0.06em;
  color: var(--color-text-black);
}
.block-content--type-blok-s-formoy .custom-list {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.block-content--type-blok-s-formoy .title-contact {
  font-family: var(--font-family);
  font-weight: 800;
  font-size: 18px;
  line-height: 122%;
  text-transform: uppercase;
  color: var(--color-text-black);
}

.block-content--type-blok-s-formoy .field--name-body {
  font-weight: 300;
  font-size: 18px;
  line-height: 156%;
  color: var(--color-text-gray);
  margin-bottom: 60px;
}
.block-content--type-blok-s-formoy .wrapper-contact {
  display: flex;
  flex-direction: column;
}
.block-content--type-blok-s-formoy .contacts__detail svg:hover {
  opacity: 0.8;
}
.block-content--type-blok-s-formoy .contacts__detail svg {
  transition: opacity 0.3s;
  margin-right: 20px;
  flex-shrink: 0;
}
.block-content--type-blok-s-formoy .contacts__detail {
  display: flex;
}
.block-content--type-blok-s-formoy .row {
  margin-left: 0;
  margin-right: 0;
  row-gap: 2rem;
}
.block-content--type-blok-s-formoy .row .left {
  padding: 0;
  padding-right: 25px;
}

.section.map,
.section.contacts {
  padding-bottom: var(--pddding-botom);
}
.section.map {
  padding-top: 0;
}

/* FORM */
/* CONTACTS */
.contacts-row .right {
  width: 60%;
}
.contacts-row .left {
  width: 40%;
  padding-right: 30px;
}
.contacts-row > * {
  flex: 0 0 auto;
}
.contacts-row {
  display: flex;
  flex-wrap: wrap;
  row-gap: 2rem;
  align-items: stretch;
}
.not-front .wr_content {
  margin: 3rem 0;
}
.wr_content .block-content--type-blok-s-formoy .contacts-row .field--name-body {
  margin-bottom: 0px;
}
.map .mapContainer {
  height: 700px;
}
.wr_content .contacts-row .right .mapContainer {
  height: 500px;
}
.wr_content .contacts-row .right {
  padding: 0;
}
/* CONTACTS */

/* *** PAGER *** */
.page-link:focus {
  box-shadow: none;
}
.pager {
  margin-left: 1rem;
  margin-right: 1rem;
  margin-top: 1rem;
}
ul.pagination {
  justify-content: center;
}
.pager__items {
  display: flex;
  justify-content: center;
  gap: 10px;
}
.pager__item a:hover,
.page-item:last-child .page-link:hover {
  background-color: var(--color-dark-blue);
  border-color: #000;
  color: #fff;
}
.pager ul.pagination {
  gap: 10px;
}
.pager__item a,
.page-item .page-link {
  padding: 11px 17px;
  font-size: 17px;
  font-weight: 800;
  background-color: var(--color-light);
  border: 1px solid var(--color-border);
  color: var(--color-dark-blue);
  border-radius: 4px;
  display: inline-block;
}
.pager .pager__item.is-active {
  display: none;
}

/* *** SEARCH *** */
.wr_content #search-api-page-block-form-search ~ h2 {
  font-size: 25px;
  font-weight: 800;
  padding-bottom: 10px;
  padding-top: 20px;
}
.wr_content #search-api-page-block-form-search + h2 + p {
  font-size: 17px;
  padding-bottom: 15px;
}
.wr_content #search-api-page-block-form-search ~ h3 a {
  color: var(--color-text-gray);
}
.wr_content #search-api-page-block-form-search ~ h3 {
  padding: 7px 0;
}
.wr_content #search-api-page-block-form-search ~ h3 a:hover {
  color: var(--color-dark-blue);
}
/* *** SEARCH *** */
/* *** PAGER *** */
/* *** DOCUMENTS *** */
/* *** PARTNERS *** */
.view-partners .node--type-partnery {
  text-align: center;
}
.view-partners .node--type-partnery img {
  margin-bottom: 15px;
}
.view-partners .view-content > * {
  padding: 0 15px;
  width: calc(100% / 3);
}
.view-partners .view-content {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -15px;
  row-gap: 1.5rem;
  margin-bottom: 1.5rem;
}
/* *** PARTNERS *** */

.node--type-dokument.node--view-mode-full .field--name-field-document img {
  display: block;
  box-shadow: 0 4px 24px 3px rgba(0, 0, 0, 0.1);
}
.node--type-dokument.node--view-mode-full .field--name-field-document > * {
  width: 20%;
  padding: 0 10px;
}
.node--type-dokument.node--view-mode-full .field--name-field-document {
  display: flex;
  flex-wrap: wrap;
  row-gap: 1.5rem;
  margin: 0 -10px;
}
/* *** DOCUMENTS *** */
div#vpa-short-wrapper .vpa-content a {
  color: var(--color-text-black);
  text-decoration: none;
}
div#vpa-short-wrapper .vpa-content {
  font-family: var(--font-family);
  font-weight: 300;
  font-size: 14px;
  line-height: 157%;
  color: var(--color-text-black);
  max-width: 645px;
}

@media (min-width: 1400px) {
  .container {
    max-width: 1200px;
    width: 100%;
  }
}
@media screen and (max-width: 1399px) {
  .header-left img {
    top: 8px;
    width: 340px;
  }
  .header .region-navigation {
    max-width: 500px;
    flex-shrink: 1;
  }
  .header .region-callback .btn {
    padding: 20px 25px;
  }
  .header-left {
    width: 360px;
  }
  .header-down::before,
  .header-top:before {
    /* left: calc(-1 * (100vw - 100% + 310px) / 2); */
  }
  .header .col-contacts .contacts__item--address {
    margin-left: initial;
  }
  .header .custom-list {
    justify-content: space-between;
    gap: 10px;
  }
}
@media screen and (max-width: 1199px) {
  .header ul.nav {
    justify-content: center;
    column-gap: 30px;
  }
  #scrollToTop {
    width: 100px;
  }
  .map .mapContainer {
    height: 500px;
  }
  .webform-submission-form .form-actions {
    margin: 25px 0 20px;
  }
  .block-content--type-preimushchestva-blok .right,
  .block-content--type-preimushchestva-blok .left {
    width: 100%;
  }
  .view-proekty .view-content > * {
    padding: 0 10px;
  }
  .view-proekty .view-content {
    margin: 0 -10px 25px;
  }
  .view-proekty .field--name-field-nazvanie-proekta-v-anonse {
    font-size: 15px;
  }
  .view-proekty .field--name-field-izobrazhenie-anonsa {
    height: 210px;
  }
  .block-content--type-banner .left .field--name-field-knopki {
    padding-bottom: 0;
  }
  .block-content--type-banner .field--name-body strong:first-child {
    white-space: nowrap;
  }
  .block-content--type-banner .field--name-body {
    font-size: 16px;
    max-width: 483px;
  }

  .block-content--type-banner h1 {
    font-size: 50px;
  }
  .header .nav-link {
    padding: 7px 0;
  }
  .header .region-navigation {
    max-width: 388px;
  }
  .header-down::before,
  .header-top:before {
    /* left: calc(-1 * (100vw - 100% + 239px) / 2); */
  }
  .header .nav-link {
    font-size: 13px;
  }
  .header-left {
    width: 320px;
  }
  .header-down {
    gap: 4px;
  }
  .header-top {
    padding: 18px 0;
  }
  .header .region-callback .btn {
    padding: 20px 25px;
  }
  .header-left img {
    width: 310px;
    height: 94px;
    top: 6px;
  }
  .header .search-api-page-block-form-search form .form-actions .btn::before {
    left: 0px;
    background: url("/sites/all/themes/vesta_theme/image/search.svg") center
      right no-repeat;
  }
  .header .col-search.active .region-search {
    width: 100px;
  }
  .header .col-contacts .contacts__item--address {
    font-size: 11px;
  }

  .header form .form-control {
    padding: 8px 10px;
  }
}

@media screen and (max-width: 991px) {
  .block-content--type-banner .right {
    width: 40%;
  }
  .block-content--type-banner .left {
    width: 60%;
  }
  .node--type-dokument.node--view-mode-full .field--name-field-document > * {
    width: 25%;
  }
  div#vpa-short-wrapper {
    padding: 20px;
    width: 95%;
  }
  .text-styles {
    font-size: 16px;
  }
  .contacts-row .right {
    width: 100%;
  }
  .contacts-row .left {
    width: 100%;
  }
  form .description {
    font-size: 14px;
  }
  .block-content--type-blok-s-formoy .row {
    margin: 0;
  }
  .block-content--type-blok-s-formoy .row .left {
    padding: 0;
  }
  .block-content--type-blok-s-formoy .field--name-body {
    margin-bottom: 40px;
  }
  .view-about .node--view-mode-teaser .left {
    width: calc(100% / 3 + 20px);
  }
  .view-about .field--name-field-o-kompanii-anons {
    font-size: 15px;
    padding-left: 25px;
  }
  .view-proekty .view-content > * {
    width: calc(100% / 2);
  }
  .more-link a {
    max-width: calc(100% / 3 - 15px);
  }
  .block-title {
    font-size: 30px;
    margin-bottom: 30px;
  }
  .view-uslugi .node--view-mode-teaser {
    padding: 23px;
  }
  .view-uslugi .field--name-node-title a {
    font-size: 15px;
    font-weight: 700;
  }
  .view-uslugi .view-content {
    margin: 0 -10px;
    row-gap: 20px;
    margin-bottom: 20px;
  }
  .view-uslugi .view-content > * {
    min-height: 250px;
    padding: 0 10px;
  }
  .block-content--type-banner .field--name-body {
    font-size: 14px;
    padding-left: 20px;
  }
  .block-content--type-banner h1 {
    font-size: 40px;
  }
  .row-copiryght {
    font-size: 13px;
  }
  #footer .region-footer-logo {
    margin-bottom: 10px;
  }
  #footer h3 {
    margin-bottom: 20px;
  }
  #footer .top-row {
    row-gap: 2rem;
  }
  #footer .col-logo {
    width: 100%;
    max-width: 100%;
  }
  #offcanvasNav .nav .dropdown-menu {
    display: none;
    position: static;
    border: 0px solid;
    background: transparent;
    padding: 10px 0;
  }

  #offcanvasNav li.nav-item {
    width: 100%;
  }
}

@media screen and (max-width: 767px) {
  .block-content--type-banner .right {
    width: 100%;
  }
  .block-content--type-banner .left {
    width: 100%;
  }
  .view-partners .view-content > * {
    padding: 0 15px;
    width: 50%;
  }
  .node--type-proekt .field--name-field-izobrazhenie {
    row-gap: 1rem;
    margin: auto;
  }
  .node--type-proekt .field--name-field-izobrazhenie > * {
    width: calc(100% / 3);
    padding: 0 10px;
  }
  .wr_content #search-api-page-block-form-search ~ h2 {
    font-size: 22px;
  }
  .wr_content #search-api-page-block-form-search ~ h3 a {
    font-size: 14px;
  }

  .wr_content #search-api-page-block-form-search + h2 + p {
    font-size: 16px;
  }
  #scrollToTop {
    width: 80px;
    bottom: 80px;
    right: 50px;
  }
  div#vpa-short-wrapper .vpa-content {
    font-size: 13px;
  }
  .node--type-proekt .field--name-field-izobrazhenie img {
    width: 100%;
    object-fit: cover;
  }
  .node--type-proekt .field--name-field-izobrazhenie {
    width: 100%;
    margin-right: 0;
    margin-bottom: 2rem;
  }
  .map .mapContainer {
    height: 400px;
  }
  .benefits .block-title {
    margin-bottom: 10px;
  }
  .block-content--type-preimushchestva-blok
    .field--name-field-preimushchestva-material {
    margin: 0;
    row-gap: 30px;
  }
  .block-content--type-preimushchestva-blok
    .field--name-field-preimushchestva-material
    > * {
    width: 100%;
    padding: 0;
  }
  .view-about .node--view-mode-teaser .left {
    border: none;
    border-bottom: 1px solid var(--color-border);
  }
  .view-about .second-btn:hover {
    background-color: var(--color-dark-blue);
  }
  .view-about .second-btn::before {
    display: none;
  }
  .view-about .second-btn {
    border: 1px solid var(--color-border);
    border-bottom: none;
  }
  .view-about .field--name-field-o-kompanii-anons {
    padding-left: 0;
    font-size: 15px;
  }
  .view-about .node--view-mode-teaser .left,
  .view-about .node--view-mode-teaser .right {
    width: 100%;
  }

  .view-proekty .more-link a {
    margin: auto;
  }
  .more-link a {
    max-width: calc(100% / 2 - 10px);
  }
  .view-uslugi .field--name-node-title {
    margin-top: 20px;
  }
  .view-uslugi .view-content {
    justify-content: center;
  }
  .view-uslugi .view-content > * {
    width: 50%;
  }
  .block-content--type-banner .field--name-field-metka {
    margin-bottom: 15px;
  }
  .block-content--type-banner h1 {
    margin-bottom: 20px;
    font-size: 30px;
  }
  .block-content--type-banner .field--name-body {
    max-width: 330px;
  }

  .row-copiryght {
    padding: 12px 0;
  }
  #footer .col-contacts {
    font-size: 13px;
  }

  #footer {
    padding-top: 25px;
  }
  #footer .top-row {
    padding-bottom: 30px;
  }
  .nav .nav-item.dropdown .dropdown-menu .nav-item .dropdown-item,
  .offcanvas .offcanvas-body .region-navigation .nav .nav-item .nav-link {
    font-size: 16px;
    font-family: var(--font-family);
  }
  .offcanvas-body .region-navigation .nav .nav-item .nav-link {
    font-size: 14px;
  }
}

@media screen and (max-width: 576px) {
  .node--type-dokument.node--view-mode-full .field--name-field-document > * {
    width: calc(100% / 3);
  }
  .table tbody tr {
    display: flex;
    flex-direction: column;
    width: 100%;
  }

  /* Растягиваем каждую ячейку на всю ширину */
  .table tbody td {
    display: block;
    width: 100% !important;
    box-sizing: border-box;
  }

  /* Убираем пустые строки-отступы с &nbsp; чтобы не было лишних дыр */
  .table tbody tr:has(p:empty),
  .table tbody tr:has(p:contains("&nbsp;")) {
    display: none;
  }
  .node--type-proekt .field--name-field-izobrazhenie > * {
    width: 50%;
    padding: 0 10px;
  }
  #scrollToTop {
    width: 80px;
    bottom: 55px;
    right: 35px;
  }
  .vpa-actions .btn-primary {
    width: 147px;
  }
  .text-styles {
    font-size: 14px;
  }
  .node--type-proekt .field--name-field-izobrazhenie {
    margin-bottom: 1.5rem;
  }
  .block-content--type-blok-s-formoy .title-contact {
    font-size: 16px;
  }
  .block-content--type-blok-s-formoy .contacts__text a,
  .block-content--type-blok-s-formoy .contacts__text {
    font-size: 14px;
  }
  .block-content--type-blok-s-formoy .custom-list {
    gap: 25px;
  }
  .block-content--type-blok-s-formoy .contacts__detail svg {
    width: 45px;
    height: 45px;
    margin-right: 12px;
  }
  .block-content--type-blok-s-formoy .right {
    padding: 25px 20px;
  }
  .block-content--type-blok-s-formoy .field--name-body {
    font-size: 16px;
    margin-bottom: 30px;
  }
  .view-about .field--name-field-o-kompanii-anons {
    font-size: 14px;
  }
  .block-content--type-preimushchestva-blok
    .field--name-field-preimushchestva-material
    .field--name-body {
    font-size: 15px;
  }
  .block-content--type-preimushchestva-blok
    .field--name-field-preimushchestva-material
    .node--view-mode-teaser {
    padding-left: 20px;
  }
  .block-content--type-preimushchestva-blok
    .field--name-field-preimushchestva-material
    h2 {
    font-size: 17px;
    margin-bottom: 15px;
  }
  .block-content--type-banner .btn,
  .block-content--type-banner .second-btn {
    max-width: 100%;
  }
  .block-content--type-banner .left .field--name-field-knopki {
    justify-content: center;
  }
  .more-link a {
    max-width: 300px;
  }
  .view-uslugi .view-content > * {
    min-height: 194px;
  }
  .view-uslugi .field--name-node-title a {
    font-size: 16px;
    font-weight: 800;
  }
  .block-title {
    text-align: center;
  }
  .view-uslugi .view-content {
    width: 320px;
    margin: auto;
    margin-bottom: 20px;
  }
  .view-uslugi .view-content > * {
    width: 100%;
  }
  .block-content--type-banner .field--name-body {
    max-width: 465px;
  }
  .block-content--type-banner .right img {
    width: 100%;
    margin: auto;
  }
  .block-content--type-banner .right,
  .block-content--type-banner .left {
    width: 100%;
  }
  .block-content--type-banner {
    flex-direction: column;
  }
  #footer .row-copiryght > * {
    width: 100%;
    text-align: center;
  }
  footer .custom-list {
    align-items: center;
  }
  #footer .region-footer-text {
    text-align: center;
  }
  #footer .col-logo img {
    display: block;
    margin: auto;
  }
  #footer ul.nav a {
    padding: 0;
  }
  #footer h3 {
    text-align: center;
  }
  #footer .col-contacts {
    max-width: fit-content;
    margin: auto;
  }
  #footer .views-field-title {
    text-align: center;
  }
  #footer ul.nav {
    justify-content: center;
    gap: 20px;
    flex-direction: row;
  }
  #footer .top-row > * {
    width: 100%;
  }
  #header-mob .field--name-field-izobrazhenie-logo {
    width: 70%;
  }
  #header-mob .contacts__detail--phone svg {
    width: 15px;
    height: 15px;
  }
  #header-mob .contacts__detail--phone .contacts__text {
    display: none;
  }
  .block-content--type-banner .field--name-body {
    font-size: 16px;
    padding-left: 18px;
    margin-bottom: 10px;
  }
  .block-content--type-banner h1 {
    margin-bottom: 25px;
    font-size: 35px;
  }
}
@media screen and (max-width: 475px) {
  .block-content--type-banner .field--name-body {
    padding-left: 0;
    border-left: none;
    font-size: 14px;
  }
  .vpa-actions {
    width: 100%;
  }
  .vpa-actions .btn-primary {
    width: 100%;
    max-width: 100%;
  }
  div#vpa-short-wrapper {
    flex-direction: column;
  }
  .block-title {
    font-size: 24px;
    margin-bottom: 30px;
  }
  .block-content--type-preimushchestva-blok
    .field--name-field-preimushchestva-material {
    margin: 0;
    width: 100%;
    margin: auto;
  }
  .view-proekty .field--name-field-nazvanie-proekta-v-anonse {
    font-size: 15px;
    margin-top: 12px;
  }
  .view-proekty .field--name-field-izobrazhenie-anonsa {
    height: 100%;
  }
  .view-proekty .view-content > * {
    width: 100%;
    padding: 0;
  }
  .view-proekty .view-content {
    margin: 0 0 20px;
  }
  .more-link a {
    max-width: calc(100% - 10px);
  }
  .view-uslugi .view-content {
    row-gap: 10px;
    width: 100%;
  }
  .view-uslugi .view-content > * {
    padding: 0 5px;
  }
  .view-uslugi .field--name-node-title {
    font-size: 13px;
  }
  .block-content--type-banner .right img {
    width: 100%;
  }
  .block-content--type-banner .btn,
  .block-content--type-banner .second-btn {
    max-width: 100%;
  }
  .view-proekty .more-link a {
    max-width: 100%;
  }
}
@media screen and (max-width: 400px) {
  .block-content--type-banner .field--name-body strong:first-child {
    white-space: wrap;
  }
}
