body {
  height: 100%;
  margin: 0;
  font-family: var(--font-family);
  line-height: 115%;
  letter-spacing: -0.02em;
  overflow-x: hidden;
}

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

.page.front #main {
  position: relative;
  z-index: 0;
}
.background {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  right: 0;
  background: url("/sites/all/themes/vesta_theme/image/texture.webp") no-repeat;
  background-position: 50% 25%;
  pointer-events: none;
  z-index: -2;
}

#main {
  flex: 1;
}
.header-container {
  display: flex;
  gap: 2rem;
}
.header .left {
  flex: 0 0 auto;
}
.header .right .contacts {
  border-bottom: 1px solid var(--strok);
}
.header .col-search img {
  transform: translateY(-2px);
  cursor: pointer;
  transition:
    width 0.35s ease,
    opacity 0.35s ease;
}

.header .col-search.active > img {
  opacity: 0;
  width: 0;
}
.header #search-api-page-block-form-search--2 {
  position: relative;
  height: 45px;
}
.header input.form-control {
  padding: 5px 12px 5px 50px;
  height: 45px;
}
textarea.form-control {
  resize: none;
}
.header .col-search.active .region-search {
  opacity: 1;
  visibility: visible;
  width: 150px;
  height: 48px;
  transform: translateX(0);
  display: flex;
  align-items: center;
}
.header .region-search {
  opacity: 0;
  height: 0;
  visibility: hidden;
  width: 0;
  overflow: hidden;
  transform: translateX(15px);
  transition:
    width 0.35s ease,
    opacity 0.35s ease,
    transform 0.35s ease,
    visibility 0.35s ease;
}
.header .search-api-page-block-form-search {
  position: relative;
}
.header #search-api-page-block-form-search {
  display: flex;
  position: relative;
}
.header .col-vk {
  flex-shrink: 0;
}
.header .search-form__submit:active {
  color: transparent !important;
  background: transparent;
  box-shadow: none;
  text-shadow: none;
}
.header .search-form__submit {
  position: absolute;
  left: 0;
  top: 0;
  width: 0;
  color: transparent;
  background: transparent;
  color: transparent !important;
  background: transparent;
  box-shadow: none;
  text-shadow: none;
}
.header .search-form__submit:after {
  content: "";
  position: absolute;
  left: 17px;
  top: 50%;
  transform: translateY(-50%);
  background: url("/sites/all/themes/vesta_theme/image/search-h.svg") no-repeat
    center;
  width: 24px;
  height: 24px;
}
.header .col-search {
  margin-left: auto;
  display: flex;
  align-items: center;
}
.header .col-nav {
  width: fit-content;
}
.header ul.nav {
  justify-content: center;
  gap: 18px;
  padding: 18px 0;
}
.form-control:focus {
  color: var(--bs-body-color);
  background-color: var(--bs-body-bg);
  box-shadow: none;
  border-color: #dbdbde;
  outline: 0px;
}
.header .dropdown-item:hover {
  color: var(--color-blue);
}
.header .dropdown-item {
  padding: 8px 12px;
  font-weight: 500;
  font-size: 14px;
  text-transform: uppercase;
}
.header .dropdown-menu .nav-item:first-child .dropdown-item {
  padding-top: 12px;
}
.header .dropdown-menu .nav-item:last-child .dropdown-item {
  padding-bottom: 12px;
}
.header .dropdown-item.active,
.dropdown-item:active {
  color: var(--color-blue);
  background: #fff;
}
.header .dropdown-menu {
  padding: 0px;
  box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.15);
  background: #fff;
}
.header .nav-link:hover {
  color: var(--color-blue);
}
.header .nav-link {
  font-weight: 500;
  font-size: 14px;
  color: var(--text-gray);
  text-transform: uppercase;
  padding: 0;
}
.header .right > .contacts,
.header .right > .navigation {
  padding: 16px 0;
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  justify-content: space-between;
  gap: 18px;
}
.header .right > .navigation {
  padding: 0;
}

.header .contact_item a span {
  white-space: nowrap;
}
.header a.contact_item span:hover {
  color: var(--color-blue);
  border-bottom: 1px solid var(--color-blue);
}
.header a.contact_item span {
  padding-bottom: 1px;
  white-space: nowrap;
  border-bottom: 1px solid transparent;
  transition:
    border-color 0.2s ease,
    color 0.2s ease;
}
.header .contact_item {
  font-weight: 400;
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--text-gray);
}
.header ul.nav > .nav-item > a:hover {
  border-bottom: 1px solid var(--color-blue);
}
.header ul.nav > .nav-item > a {
  border-bottom: 1px solid transparent;
  padding-bottom: 1px;
}
.header .dropdown:hover > .nav-link {
  border-bottom: 1px solid var(--color-blue);
  color: var(--color-blue);
}
.header .dropdown:hover .dropdown-toggle::after {
  transform: rotate(180deg);
}
.header .adress {
  max-width: 358px;
}
.header .header .mail,
.header .phone {
  white-space: nowrap;
}
.header .right {
  flex: 1;
}
#footer .dropdown-toggle::after {
  display: none;
}
#footer span.adress {
  display: block;
  width: 210px;
}
#footer .row-top {
  justify-content: space-between;
}
#footer .row > * {
  flex: 0 0 auto;
  width: fit-content;
}
#footer ul.nav .nav-link:hover {
  color: var(--color-blue);
  border-bottom: 1px solid var(--color-blue);
}
#footer .service-nav .view-content {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}
#footer .adress-item img {
  align-self: flex-start;
}
#footer .contact-item a {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: -0.02em;
}
#footer .contact-item {
  font-size: 16px;
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 0.8rem;
  font-weight: 400;
  letter-spacing: -0.02em;
}

#footer .callback a {
  color: #fff;
}
#footer .callback {
  margin-bottom: 0;
  margin-top: 1.5rem;
}
#footer .copyright {
  margin-top: 1rem;
}
#footer .politika {
  margin-top: 12px;
  display: block;
  padding-bottom: 1px;
  border-bottom: 1px solid var(--text-gray);
  width: fit-content;
}
#footer .service-nav a:hover {
  color: var(--color-blue);
  border-bottom: 1px solid var(--color-blue);
}
#footer ul.nav .nav-link,
#footer .service-nav a {
  letter-spacing: -0.02em;

  padding: 0;
  padding-bottom: 1px;
  width: fit-content;
  border-bottom: 1px solid transparent;
  text-transform: uppercase;
}
#footer ul.nav {
  flex-direction: column;
  gap: 0.8rem;
}
#footer a {
  color: var(--text-gray);
  font-size: 14px;
  font-weight: 500;
}
#footer .row-top {
  padding-bottom: 2rem;
  row-gap: 1.5rem;
}
#footer .col-webvesta a {
  font-weight: 400;
  font-size: 16px;
  line-height: 115%;
  letter-spacing: -0.02em;
  color: var(--text-gray);
}
#footer .col-webvesta {
  width: 100%;
  text-align: center;
  padding: 16px;
}
#footer .row-copyright {
  border-top: 1px solid var(--strok);
}
#footer {
  padding-top: 2.5rem;
  border-top: 1px solid var(--strok);
  color: var(--text-gray);
  font-size: 14px;
}
.row-copyright {
  border-top: 1px solid var(--strok);
}
.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;
}

.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 {
  display: flex;
  flex-direction: row;
  gap: 20px;
  justify-content: center;
}
#header-mob span {
  color: var(--text-gray);
}
#header-mob .contacts {
  margin-left: auto;
}

#header-mob .contact_item {
  display: flex;
  gap: 10px;
  align-items: center;
}
#header-mob .col-logo img {
  width: 60%;
}
#header-mob {
  top: 0;
  width: 100%;
  color: var(--text-gray);
  padding: 4px 5px;
  z-index: 50;
  background-color: #fff;
  border-bottom: 1px solid var(--strok);
}

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

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

#header-mob a {
  color: #000;
}

.offcanvas {
  --bs-offcanvas-bg: #fff;
}
.offcanvas-header {
  padding: 1rem 24px;
}
.offcanvas-body {
  padding-left: 24px;
  padding-right: 24px;
}
#header-mob .col-nav img {
  width: 25px;
}
.offcanvas .search-api-page-block-form-search--2 input.form-control {
  padding: 4px 16px;
}
.offcanvas .search-api-page-block-form-search .form-actions button {
  height: 100%;
  padding: 12px 25px;
}
.nav-link:focus,
.nav-link:hover {
  color: var(--color-blue);
}
.offcanvas #search-api-page-block-form-search--2 {
  display: flex;
  gap: 10px;
}
.offcanvas #search-api-page-block-form-search--2 .form-type-search {
  width: 100%;
}
.offcanvas #search-api-page-block-form-search--2 .form-type-search input {
  height: 100%;
}
textarea.form-control::placeholder,
input.form-control::placeholder {
  font-weight: 400;
  font-size: 16px;
  letter-spacing: -0.02em;
  color: #7c7c7c;
}
textarea.form-control,
input.form-control {
  padding-left: 20px;
  padding: 6px 16px;
  border-radius: 5px;
  color: var(--text-gray);
}
.offcanvas .nav > li > a {
  padding-left: 0px;
}
.offcanvas-header img {
  width: 80%;
}
.offcanvas .nav a {
  font-size: 16px;
  font-weight: 500;
}
.offcanvas-body .nav-link {
  padding: 12px 0.5rem;
}
.offcanvas .dropdown-item {
  font-size: 16px;
  padding-top: 10px;
  padding-bottom: 10px;
}
.offcanvas a {
  color: var(--text-gray);
}
.offcanvas .nav {
  margin-top: 0.5rem;
  border-bottom: 1px solid var(--strok);
  border-radius: 0;
  margin-bottom: 1.5rem;
}
.offcanvas .contact-item {
  padding-bottom: 1rem;
}
.offcanvas .offcanvas-title {
  color: var(--text-gray);
  text-transform: uppercase;
  font-size: 20px;
  font-weight: 500;
}
.offcanvas .contacts {
  font-size: 18px;
  font-weight: 500;
  color: var(--text-gray);
}
.offcanvas .contact-item span {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-gray);
}
.region-navigation .nav > .nav-item:hover .dropdown-menu {
  display: block;
  top: 100%;
  left: 0;
}

/*HEADER STYLES*/

/*BANNER STYLES*/
.banner h1 {
  font-weight: 700;
  font-size: 60px;
  line-height: 110%;
  text-transform: uppercase;
  font-family: var(--second-family);
  margin-bottom: 1.5rem;
}
.banner .contextual-region {
  position: initial;
}
.banner .block-block-content {
  max-width: 790px;
}
.banner .field--name-field-preimushchestva-v-bannere .field__item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 1rem;
}

.banner .field--name-field-preimushchestva-v-bannere .field__item::before {
  content: "";
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  background: url("/sites/all/themes/vesta_theme/image/banner-ico.svg") center /
    contain no-repeat;
}

.banner .field--name-field-fos {
  margin-top: 2rem;
}
.banner .btn-primary {
  padding: 14px 16px;
}
.banner {
  position: relative;
  padding: 120px 0;
  color: #fff;
}
.banner .field--name-field-izobrazhenie-bannera img {
  filter: brightness(0.5);
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

/*BANNER STYLES*/

/*BUILDING STYLES*/
.block-title {
  font-family: var(--second-family);
  font-weight: 700;
  font-size: 43px;
  line-height: 110%;
  text-transform: uppercase;
}
.block-content--type-stroitelstvo-domov
  .field--name-field-tekst-preimushchestv {
  font-family: var(--second-family);
  font-weight: 700;
  font-size: 13px;
  color: var(--color-blue);
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin-top: auto;
}
.block-content--type-stroitelstvo-domov .field--name-field-opisanie-bloka {
  padding-top: 2rem;
  padding-bottom: 1.5rem;
}
.block-content--type-stroitelstvo-domov
  .right
  .field--name-field-izobrazhenie-v-bloke {
  overflow: hidden;
  border-radius: 5px;
  height: 100%;
}
.block-content--type-stroitelstvo-domov .right img {
  display: block;
  height: 100%;
  width: 100%;
  object-fit: cover;
}
.block-content--type-stroitelstvo-domov .right {
  width: 42%;
  flex: 0 0 auto;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  max-height: 380px;
}
.block-content--type-stroitelstvo-domov .btn-container {
  display: flex;
  gap: 20px;
}
.block-content--type-stroitelstvo-domov .text-container {
  max-width: 570px;
}
.block-content--type-stroitelstvo-domov
  .field--name-field-preimushchestva-material
  .field--type-image {
  margin-bottom: 1rem;
}
.block-content--type-stroitelstvo-domov
  .field--name-field-preimushchestva-material
  .field--name-node-title {
  margin-top: auto;
}
.block-content--type-stroitelstvo-domov .node--type-preimushchestva {
  padding: 1rem;
  background-color: var(--color-benefit);
  border-radius: 5px;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.block-content--type-stroitelstvo-domov
  .field--name-field-preimushchestva-material
  > * {
  width: 24.5%;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}
.block-content--type-stroitelstvo-domov
  .field--name-field-preimushchestva-material {
  width: 100%;
  padding-left: 0;
  padding-right: 0;
  display: flex;
  align-items: stretch;
  flex-wrap: wrap;
  justify-content: space-between;
}
.block-content--type-stroitelstvo-domov .left {
  font-weight: 400;
  font-size: 16px;
  width: 58%;
  flex: 0 0 auto;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

.block-content--type-stroitelstvo-domov {
  display: flex;
  align-items: stretch;
  flex-wrap: wrap;
  row-gap: 3rem;
}
/*BUILDING 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: -32px;
  top: 50%;
}

button.slick-next.slick-arrow {
  top: 50%;
  right: -32px;
}

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

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 {
  width: 48px;
  height: 48px;
  background: none;
  text-indent: 0;
  font-size: 0;
  border: 0px;
  outline: 0px;
  display: flex;
  bottom: 120px;
  cursor: pointer;
  position: fixed;
  right: 75px;
  z-index: 10;
  transition: 0.2s;
  padding: 0;
}

/* 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 img {
  margin: 0 10px;
}

/* PRODUCT PAGE STYLES*/

/* PROJECTS PAGE STYLES*/
.view-id-proekty img:hover {
  transform: scale(1.1);
}
img {
  transition: transform 0.3s;
}
.view-id-proekty .field--name-field-izobrazhenie-anonsa-proekt a {
  display: block;
}
.view-id-proekty .field--name-field-izobrazhenie-anonsa-proekt {
  position: relative;
  overflow: hidden;
  min-height: 170px;
  border-radius: 5px 5px 0 0;
}
.view-id-proekty .text-container .field--name-node-link {
  margin-top: auto;
}
.view-id-proekty img {
  height: 100%;
  inset: 0;
  position: absolute;
  width: 100%;
  object-fit: cover;
}
.view-id-proekty .text-container .field--name-node-title {
  font-weight: 700;
  font-size: 16px;
  padding-bottom: 1rem;
  font-family: var(--second-family);
  text-transform: uppercase;
  color: var(--color-blue);
}
.view-id-proekty .text-container {
  background-color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  padding: 1rem;
}
.view-id-proekty .view-content .node--view-mode-teaser {
  display: flex;
  flex-direction: column;
  height: 100%;
  box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.15);
  border: 1px solid var(--strok);
  border-radius: 5px;
  overflow: hidden;
}

.block-content--type-blok-proekty .field--name-field-knopka-smotret-vse {
  margin-left: auto;
  align-self: flex-end;
}
.block-content--type-blok-proekty {
  margin-bottom: 3rem;
}
.block-content--type-blok-proekty .block-title {
  max-width: 770px;
  width: 100%;
}
.view-id-proekty .view-content > * {
  width: calc((100% - 4.5rem) / 4);
  flex: 0 0 auto;
}

.view-id-proekty .view-content {
  gap: 1.5rem;
  row-gap: 1.5rem;
  display: flex;
  align-items: stretch;
  flex-wrap: wrap;
}
.block-content--type-blok-proekty {
  display: flex;
}
.view-id-proekty .custom-block .field--name-node-link {
  margin-top: 1.5rem;
}
.view-id-proekty .custom-block .benefits {
  color: var(--text-gray);
  margin-top: auto;
}
.view-id-proekty .custom-block .benefit::before {
  content: "";
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  background: url("/sites/all/themes/vesta_theme/image/banner-ico.svg") center /
    contain no-repeat;
}
.view-id-proekty .custom-block .field--name-node-title {
  font-weight: 700;
  font-size: 18px;
}
.view-id-proekty .custom-block .benefit {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
}
.view-id-proekty .custom-block .benefit:last-child {
  margin-bottom: 0;
}
.view-id-proekty .custom-block .text-container {
  background-color: var(--color-benefit);
  align-items: flex-start;
  border-radius: 5px;
}
/* PROJECTS PAGE STYLES*/
/* CONTACTS STYLES*/
#block-vesta-theme-blokdlyastranicykontakty .field-contact .label,
#block-vesta-theme-bloknastranicekontakty-2 .field-contact .label {
  font-weight: 400;
  font-size: 14px;
  color: #8d959e;
  text-transform: uppercase;
}
.front #block-vesta-theme-blokdlyastranicykontakty .field--name-body::after,
.front #block-vesta-theme-bloknastranicekontakty-2 .field--name-body::after {
  display: none;
}
#block-vesta-theme-blokdlyastranicykontakty .field--name-body .field-contact,
#block-vesta-theme-bloknastranicekontakty-2 .field--name-body .field-contact {
  font-weight: 400;
  font-size: 16px;
  color: var(--text-gray);
}
#block-vesta-theme-blokdlyastranicykontakty .field--name-body .field-contact a,
#block-vesta-theme-bloknastranicekontakty-2 .field--name-body .field-contact a {
  font-weight: 400;
  font-size: 16px;
  color: var(--text-gray);
}
#block-vesta-theme-blokdlyastranicykontakty .block-title,
#block-vesta-theme-bloknastranicekontakty-2 .block-title {
  margin-bottom: 3rem;
}
#block-vesta-theme-blokdlyastranicykontakty .field--name-body .top,
#block-vesta-theme-bloknastranicekontakty-2 .field--name-body {
  display: flex;
  justify-content: space-between;
}
#block-vesta-theme-blokdlyastranicykontakty .field-contact,
#block-vesta-theme-bloknastranicekontakty-2 .field-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
#block-vesta-theme-blokdlyastranicykontakty,
#block-vesta-theme-bloknastranicekontakty-2 {
  margin-bottom: 2rem;
}
#block-vesta-theme-blokdlyastranicykontakty .mapContainer {
  height: 500px;
  border-radius: 5px;
  overflow: hidden;
}
#block-vesta-theme-blokdlyastranicykontakty .messengers img {
  width: 30px;
  height: 30px;
}
#block-vesta-theme-blokdlyastranicykontakty .messengers {
  margin: 1rem 0;
}
/* CONTACTS STYLES*/
.form-text {
  margin: 0;
}
/* FORM STYLES*/
.custom-checkbox {
  display: inline-flex;
  cursor: pointer;
}

input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  background: url("/sites/all/themes/vesta_theme/image/not-active.svg")
    no-repeat center / contain;
  cursor: pointer;
}

input[type="checkbox"]:checked {
  background-image: url("/sites/all/themes/vesta_theme/image/active.svg");
}
.webform-submission-form .small {
  width: calc((100% - 12px) / 2);
}
.webform-submission-form .description a {
  font-weight: 400;
  font-size: 15px;
  text-decoration: underline;
  text-decoration-skip-ink: none;
  color: var(--text-gray);
}
.js-form-type-checkbox {
  padding: 0 0 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  row-gap: 5px;
}
.js-form-type-checkbox .form-checkbox {
  flex: 0 0 auto;
}
.js-form-type-checkbox .description {
  font-weight: 400;
  font-size: 15px;
  flex: 1;
}
.field--name-field-karta-yandeks {
  height: 100%;
}
.contacts .mapContainer {
  height: 100%;
}

.js-form-type-checkbox .form-item--error-message {
  order: -1;
  width: 100%;
  padding-top: 0;
}

.form-item--error-message {
  padding-top: 10px;
}
.webform-submission-form {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.block-content--type-ostalis-voprosy
  .field--name-field-opisanie-pod-zagolovkom {
  margin: auto;
  text-align: center;
  margin-bottom: 2rem;
  max-width: 393px;
}
.block-content--type-ostalis-voprosy .field--name-block-title h2 {
  text-align: center;
  font-family: var(--second-family);
  font-weight: 700;
  font-size: 32px;
  line-height: 110%;
  text-transform: uppercase;
  color: var(--color-blue);
  margin-bottom: 10px;
}
.block-content--type-ostalis-voprosy > * {
  width: 50%;
  flex: 0 0 auto;
}
.block-content--type-ostalis-voprosy .left {
  background-color: var(--color-benefit);
  padding: 2rem;
}
.block-content--type-ostalis-voprosy .form-actions {
  margin: auto;
}
.block-content--type-ostalis-voprosy {
  display: flex;
  align-items: stretch;
  border: 1px solid var(--strok);
  border-radius: 5px;
}
/* FORM STYLES*/
/* ADD_service STYLES*/
.view-dopolnitelnye-uslugi .field--name-node-title a:hover {
  color: var(--color-blue-h);
}
.view-dopolnitelnye-uslugi .field--name-node-title a {
  font-family: var(--second-family);
  font-weight: 700;
  font-size: 17px;
  text-transform: uppercase;
  color: var(--color-blue);
}
.view-dopolnitelnye-uslugi .field--name-node-title {
  margin-bottom: 1rem;
}
.view-dopolnitelnye-uslugi .node--view-mode-teaser .right {
  display: flex;
  flex-direction: column;

  padding-left: 1rem;
  width: 70%;
}
.view-dopolnitelnye-uslugi .node--view-mode-teaser .left {
  width: 30%;
}
.view-dopolnitelnye-uslugi .node--view-mode-teaser > * {
  flex: 0 0 auto;
}
.view-dopolnitelnye-uslugi .field--type-image {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 237px;
  overflow: hidden;
}
.more-link {
  display: none;
}
.view-dopolnitelnye-uslugi .field--type-image img:hover {
  transform: scale(1.1);
}
.view-dopolnitelnye-uslugi .field--type-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* border-radius: 5px; */
}
.view-dopolnitelnye-uslugi .btn-container {
  margin-top: auto;
  display: flex;
  gap: 1rem;
  align-items: center;
}
.view-dopolnitelnye-uslugi .node--view-mode-teaser {
  background-color: #fff;
  box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.15);
  border: 1px solid var(--strok);
  border-radius: 5px;
  padding: 1rem;
  display: flex;
  align-items: stretch;
  height: 100%;
}
.view-dopolnitelnye-uslugi .view-content > * {
  width: calc(50% - 16px);

  flex: 0 0 auto;
}
.view-dopolnitelnye-uslugi
  .field--name-field-metka-dopuslug
  .field__item::before {
  content: "";
  background: url("/sites/all/themes/vesta_theme/image/hex-ico.svg") center
    no-repeat;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}
.view-dopolnitelnye-uslugi .field--name-field-metka-dopuslug .field__item span {
  color: var(--text-gray);
  font-weight: 400;
  font-size: 15px;
}
.view-dopolnitelnye-uslugi .field--name-field-metka-dopuslug .field__item {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 1rem;
}
.view-dopolnitelnye-uslugi .field--name-field-opisanie-v-anonse {
  font-weight: 400;
  font-size: 16px;
  color: var(--text-gray);
  margin-bottom: 1rem;
}
.view-dopolnitelnye-uslugi .view-content {
  justify-content: space-between;
  gap: 1rem;
  row-gap: 2rem;
  display: flex;
  align-items: stretch;
  flex-wrap: wrap;
}
.view-dopolnitelnye-uslugi .node--view-mode-teaser::after {
  display: none;
}
/* ADD_service STYLES*/
/* ABOUT STYLES*/
.block-content--type-o-nas > * {
  width: 50%;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  flex: 0 0 auto;
}
.block-content--type-o-nas .block-title {
  margin-bottom: 2rem;
}
.block-content--type-o-nas .field--name-field-opisanie-bloka-o-nas p {
  padding-bottom: 12px;
}
.block-content--type-o-nas .right {
  padding: 0;
}

.block-content--type-o-nas .field--name-field-izobrazhenie-oblozhki img:hover {
  transform: scale(1.1);
}
.block-content--type-o-nas .field--name-field-izobrazhenie-oblozhki img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.block-content--type-o-nas .field--name-field-izobrazhenie-oblozhki {
  overflow: hidden;
  border-radius: 5px;
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 170px;
}
.block-content--type-o-nas .btn-container {
  margin-top: 0.8rem;
  display: flex;
  gap: 1rem;
}
.block-content--type-o-nas .field--name-field-foto-material > * {
  width: 50%;
  padding-left: 0.8rem;
  padding-right: 0.8rem;
  flex: 0 0 auto;
}
.block-content--type-o-nas .field--name-field-foto-material {
  align-items: stretch;
  display: flex;
  flex-wrap: wrap;
  row-gap: 1.5rem;
}
.block-content--type-o-nas {
  display: flex;
  align-items: stretch;
  flex-wrap: wrap;
  row-gap: 1rem;
}
/* ABOUT STYLES*/
.front .block-content--type-ostalis-voprosy::after {
  display: none;
}

/* === PROJECTS PAGE === */
.wr_content h1 span.block-title {
  display: block;
  margin-bottom: 1.5rem;
}
.subtitle {
  font-weight: 600;
  font-size: 28px;
  color: var(--text-gray);
}
.node--type-proekty.node--view-mode-full
  .current-slide:not(.slick-initialized)
  img {
  position: absolute;
  width: 100%;
  height: 100%;
  inset: 0;
  object-fit: cover;
}
.node--type-proekty.node--view-mode-full
  .current-slide:not(.slick-initialized) {
  position: relative;
  min-height: 389px;
}
.node--type-proekty.node--view-mode-full .left {
  width: 50%;
  flex: 0 0 auto;
}
.node--type-proekty.node--view-mode-full img {
  border-radius: 5px;
}
.node--type-proekty.node--view-mode-full .right {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-left: 1rem;
  width: 50%;
  flex: 0 0 auto;
}
.node--type-proekty.node--view-mode-full .current-slide .element {
  padding: 0 5px;
}
.node--type-proekty.node--view-mode-full .nav-slide .element {
  padding: 5px;
  padding-top: 10px;
}
.node--type-proekty.node--view-mode-full .current-slide img,
.node--type-proekty.node--view-mode-full .nav-slide img {
  aspect-ratio: 4/3;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.node--type-proekty.node--view-mode-full {
  display: flex;
  align-items: stretch;
}
#block-vesta-theme-page-title {
  margin-bottom: 1rem;
  font-weight: 7;
}
/* === END PROJECTS PAGE === */
/* === PHOTO PAGE === */
.field--name-field-izobrazhenie-galerei > *,
.view-fotogalereya-predstavlenie .view-content > * {
  flex: 0 0 auto;
  width: calc((100% - 3rem) / 4);
}
.view-fotogalereya-predstavlenie .field--name-node-title {
  text-align: center;
  margin: 10px 0;
}
.view-fotogalereya-predstavlenie .field--name-node-title a {
  font-family: var(--second-family);
  font-weight: 700;
  font-size: 16px;
  text-transform: uppercase;
  color: var(--color-blue);
}
.field--name-field-izobrazhenie-galerei img,
.view-fotogalereya-predstavlenie img {
  position: absolute;
  width: 100%;
  height: 100%;
  inset: 0;
  object-fit: cover;
}
.field--name-field-izobrazhenie-galerei .field__item,
.view-fotogalereya-predstavlenie .field--type-image {
  position: relative;
  min-height: 170px;
  overflow: hidden;
  border-radius: 5px;
}
.field--name-field-izobrazhenie-galerei,
.view-fotogalereya-predstavlenie .view-content {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 1rem;
}
/* === PHOTO PAGE === */

.node--type-dopolnitelnye-uslugi::after {
  content: "";
  display: table;
  clear: both;
}

.node--type-dopolnitelnye-uslugi .field--name-field-izobrazheniya-dopuslug {
  float: left;
  width: 27%;
  margin-right: 1rem;
  margin-bottom: 0.2rem;
}
.wr_content {
  margin: 2rem 0;
}
#block-vesta-theme-zagolovokstranicy h1 {
  margin-bottom: 2rem;
  font-weight: 600;
}
.node--type-dopolnitelnye-uslugi img {
  border-radius: 5px;
}
.node--type-dopolnitelnye-uslugi .nav-slide .element {
  padding: 5px;
  padding-top: 10px;
}
.node--type-dopolnitelnye-uslugi .current-slide .element {
  padding: 0 5px;
}
.node--type-dopolnitelnye-uslugi .right {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 70%;
  padding-left: 1rem;
}
/* .node--type-dopolnitelnye-uslugi .left {
  flex: 0 0 auto;
  width: 30%;
} */
.node--type-dopolnitelnye-uslugi .current-slide img {
  aspect-ratio: 3 / 4;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* .node--type-dopolnitelnye-uslugi {
  display: flex;
  align-items: stretch;
  flex-wrap: wrap;
} */
#block-vesta-theme-zagolovokstranicy .block-title {
  font-size: 38px;
}
.modal-footer .webform-button--submit {
  margin: auto;
}
.btn-close:focus {
  outline: 0;
  box-shadow: none;
}
.modal-body .js-form-type-checkbox {
  padding-bottom: 0;
}
.modal-body {
  padding-bottom: 0;
}
.wr_content:has(.webform-submission-form)
  #block-vesta-theme-zagolovokstranicy
  h1 {
  color: var(--color-blue);
  text-align: center;
}
.wr_content .webform-submission-form > * {
  width: 100%;
}
.wr_content .webform-submission-form .webform-button--submit {
  margin: auto;
}
.wr_content .webform-submission-form .small {
  width: calc(50% - 6px);
}

.wr_content .webform-submission-form {
  max-width: 50%;
  margin: auto;
}
/* *** 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;
}
.pager__item a:hover,
.page-item:last-child .page-link:hover {
  background-color: var(--color-yellow-h);
}
.pager__item a,
.page-item:last-child .page-link {
  padding: 11px 20px;
  font-size: 17px;
  font-weight: 800;
  background-color: var(--color-yellow);
  color: #fff;
  border-radius: 4px;
  display: inline-block;
}
.pager .pager__item.is-active {
  display: none;
}
/* *** PAGER *** */

/* *** SEARCH PAGE *** */
.offcanvas .form-search {
  height: 100%;
}
.offcanvas #search-api-page-block-form-search--3 {
  display: flex;
  gap: 10px;
}
.offcanvas #search-api-page-block-form-search--3 .form-type-search input {
  padding: 3px 16px;
}
.offcanvas #search-api-page-block-form-search--3 .form-type-search {
  width: 100%;
}
.wr_content #search-api-page-block-form-search {
  position: relative;
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
  align-items: stretch;
}
.wr_content #search-api-page-block-form-search .search-form__submit {
  padding: 11px 30px;
}
.wr_content .js-form-type-search {
}
.wr_content #search-api-page-block-form-search input {
  height: 100%;
  height: 42px;
}

.wr_content #search-api-page-block-form-search .form-actions {
  height: auto;
}
.wr_content #search-api-page-block-form-search .form-type-search {
  width: 100%;
  height: 100%;
}
.wr_content #search-api-page-block-form-search ~ h2 {
  font-size: 20px;
  font-weight: 600;
  padding-bottom: 10px;
}

.wr_content #search-api-page-block-form-search + h2 + p {
  font-size: 17px;
  padding-bottom: 10px;
}

.wr_content #search-api-page-block-form-search ~ h3 {
  padding: 7px 0;
}

.wr_content #search-api-page-block-form-search ~ h3 a:hover {
  border-bottom-color: var(--color-blue);
}
.wr_content #search-api-page-block-form-search ~ h3 a {
  width: fit-content;
  display: block;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
  color: var(--text-gray);
  font-size: 18px;
}

/* *** SEARCH PAGE *** */
.text-body-field h6 {
}
.text-body-field h5 {
  margin: 0.9rem 0;
}
.text-body-field h4 {
  margin: 1rem 0;
}
.text-body-field p strong,
.node--type-dopolnitelnye-uslugi
  .field--name-field-opisanie-dlya-vnutrenney-s
  strong,
.page-node--3 .field--name-body p strong,
.page-node--829 .field--name-body p strong,
.page-node--830 .field--name-body p strong {
  font-size: 17px;
}
.text-body-field,
.node--type-dopolnitelnye-uslugi .field--name-field-opisanie-dlya-vnutrenney-s,
.page-node--3 .field--name-body,
.page-node--829 .field--name-body,
.page-node--830 .field--name-body {
  line-height: 1.3;
}
.text-body-field p,
.node--type-dopolnitelnye-uslugi
  .field--name-field-opisanie-dlya-vnutrenney-s
  p,
.page-node--3 .field--name-body p,
.page-node--829 .field--name-body p,
.page-node--830 .field--name-body p {
  padding-bottom: 12px;
}
/* *** ADAPTIVE *** */
@media (min-width: 1400px) {
  .container {
    max-width: 1200px;
  }
}
@media screen and (max-width: 1299px) {
  .view-id-proekty .custom-block .field--name-node-title {
    font-size: 17px;
  }
}
@media screen and (max-width: 1199px) {
  .view-dopolnitelnye-uslugi .view-content {
    gap: 0.5rem;
  }

  /* .view-dopolnitelnye-uslugi .field--type-image img {
    height: 80%;
  } */
  #scrollToTop {
    bottom: 90px;
    right: 50px;
  }
  .view-id-proekty .custom-block .field--name-node-title {
    font-size: 14px;
  }
  .view-dopolnitelnye-uslugi .node--view-mode-teaser .right {
    gap: 12px;
    width: 65%;
  }

  .view-dopolnitelnye-uslugi .field--name-node-title {
    margin-bottom: 8px;
  }
  .view-dopolnitelnye-uslugi .node--view-mode-teaser .left {
    width: 35%;
  }
  .view-dopolnitelnye-uslugi .btn-container > * {
    width: 100%;
  }
  .view-dopolnitelnye-uslugi .btn-container a {
    width: 100%;
  }
  .view-dopolnitelnye-uslugi .btn-container {
    gap: 0.5rem;
  }
  .view-dopolnitelnye-uslugi
    .field--name-field-metka-dopuslug
    .field__item::before {
    align-self: baseline;
  }
  .view-dopolnitelnye-uslugi .view-content {
    justify-content: center;
    row-gap: 1rem;
  }

  .block-content--type-blok-proekty .block-title {
    max-width: 566px;
    font-size: 34px;
  }
  .block-content--type-stroitelstvo-domov
    .field--name-field-preimushchestva-material
    > * {
    width: 49.5%;
  }
  .block-content--type-stroitelstvo-domov
    .field--name-field-preimushchestva-material {
    row-gap: 1rem;
  }
  .block-title {
    font-size: 39px;
  }
  .banner {
    padding: 100px 0;
  }
  .banner h1 {
    font-size: 53px;
  }
  #footer .contact-item {
    margin-bottom: 1rem;
  }
  #footer .contact-item:last-child {
    margin-bottom: 0;
  }
  #footer .callback {
    margin-top: auto;
  }
  #footer .logo {
    order: 1;
  }
  #footer .contacts {
    order: 2;
    display: flex;
    flex-direction: column;
  }
  #footer .main-nav {
    order: 3;
  }
  #footer .service-nav {
    white-space: nowrap;
    order: 3;
  }
  #footer .row-top {
    max-width: 630px;
    margin: auto;
  }
  #footer .row-top > * {
    flex: 0 0 auto;
    width: 42%;
  }
  .header .adress {
    max-width: 239px;
  }
  .header-container {
    align-items: center;
    gap: 1rem;
  }
}

@media screen and (max-width: 991px) {
  .node--type-dopolnitelnye-uslugi .field--name-field-izobrazheniya-dopuslug {
    width: 45%;
  }
  .view-dopolnitelnye-uslugi .field--type-image {
    min-height: 300px;
  }
  .view-dopolnitelnye-uslugi .btn-container {
    flex-direction: row;
  }
  .view-dopolnitelnye-uslugi .node--view-mode-teaser .right {
    width: 60%;
  }
  .view-dopolnitelnye-uslugi .node--view-mode-teaser .left {
    width: 40%;
  }
  .view-dopolnitelnye-uslugi .field--type-image img {
    height: 100%;
  }
  .wr_content .webform-submission-form {
    max-width: 75%;
    margin: auto;
  }
  .view-fotogalereya-predstavlenie .field--name-node-title a {
    font-size: 15px;
  }
  .field--name-field-izobrazhenie-galerei .field__item,
  .view-fotogalereya-predstavlenie .field--type-image {
    min-height: 150px;
  }
  #block-vesta-theme-blokdlyastranicykontakty .field--name-body .top {
    flex-direction: column;
    gap: 20px;
  }

  #block-vesta-theme-blokdlyastranicykontakty .mapContainer {
    height: 450px;
  }

  #footer .row-top {
    column-gap: 0rem;
    justify-content: center;
  }
  .node--type-proekty.node--view-mode-full
    .current-slide:not(.slick-initialized) {
    position: relative;
    min-height: 300px;
  }
  .view-id-proekty .custom-block .field--name-node-title {
    font-size: 18px;
    margin: auto;
  }
  .section.contacts {
    margin-bottom: 0;
  }
  #block-vesta-theme-bloknastranicekontakty-2 .block-title {
    margin-bottom: 2rem;
  }
  .block-content--type-o-nas .block-title {
    font-size: 35px;
  }
  #block-vesta-theme-bloknastranicekontakty-2 .block-title {
    text-align: center;
  }
  .block-content--type-ostalis-voprosy .right {
    min-height: 350px;
    width: 100vw;
  }
  .block-content--type-ostalis-voprosy .left {
    border: 1px solid var(--strok);
    border-radius: 5px;
    width: 80%;
  }
  .block-content--type-ostalis-voprosy {
    justify-content: center;
    border: none;
    flex-wrap: wrap;
    gap: 1.5rem;
  }
  #block-vesta-theme-bloknastranicekontakty-2 .field--name-body {
    flex-direction: column;
    gap: 1rem;
    width: fit-content;
    margin: auto;
  }
  .view-id-proekty .custom-block .field--name-node-link {
    margin: auto;
    margin-bottom: 0;
    margin-top: 3.5rem;
  }
  .block-content--type-o-nas {
    row-gap: 1.5rem;
  }
  .block-content--type-o-nas .field--name-field-izobrazhenie-oblozhki {
    min-height: 220px;
  }
  .block-content--type-o-nas > * {
    width: 100%;
  }
  .view-dopolnitelnye-uslugi
    .field--name-field-metka-dopuslug
    .field__item::before {
    align-self: initial;
  }
  .view-id-proekty .field--name-field-izobrazhenie-anonsa-proekt {
    min-height: 210px;
  }
  .view-dopolnitelnye-uslugi .view-content > * {
    width: 100%;
  }
  .block-content--type-blok-proekty .block-title {
    font-size: 28px;
    max-width: 470px;
  }
  .block-content--type-blok-proekty {
    margin-bottom: 2rem;
  }

  .view-id-proekty .view-content > * {
    width: calc((100% - 1.5rem) / 2);
  }
  .block-title {
    font-size: 28px;
  }
  .block-content--type-stroitelstvo-domov
    .field--name-field-preimushchestva-material {
    row-gap: 1rem;
  }
  .block-content--type-stroitelstvo-domov
    .field--name-field-preimushchestva-material
    > * {
    width: 49.5%;
  }
  .banner {
    padding: 80px 0;
  }
  .banner h1 {
    font-size: 46px;
  }
  #footer .row-top > * {
    flex: 0 0 auto;
    width: 43%;
  }
  #footer .row-top {
    max-width: 100%;
  }
  #footer .service-nav {
    white-space: wrap;
  }
  #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) {
  .node--type-dopolnitelnye-uslugi .field--name-field-izobrazheniya-dopuslug {
    width: 50%;
  }
  .wr_content .webform-submission-form {
    max-width: 100%;
  }
  #block-vesta-theme-zagolovokstranicy .block-title {
    font-size: 25px;
  }
  .node--type-dopolnitelnye-uslugi .btn-primary {
    margin: auto;
  }
  .node--type-dopolnitelnye-uslugi {
    justify-content: center;
    row-gap: 1rem;
  }
  .node--type-dopolnitelnye-uslugi .left {
    width: 60%;
  }
  .node--type-dopolnitelnye-uslugi .right {
    width: 100%;
  }
  .view-fotogalereya-predstavlenie .field--name-node-title {
    margin-bottom: 0;
    margin-top: 1rem;
  }
  .field--name-field-izobrazhenie-galerei > *,
  .view-fotogalereya-predstavlenie .view-content > * {
    width: calc(50% - 0.5rem);
  }

  .wr_content h1 span.block-title {
    text-align: center;
  }
  #block-vesta-theme-blokdlyastranicykontakty .field--name-body .field-contact {
    align-items: center;
    text-align: center;
    max-width: 63%;
  }
  #block-vesta-theme-blokdlyastranicykontakty .field--name-body .top {
    align-items: center;
  }
  #block-vesta-theme-blokdlyastranicykontakty .messengers {
    margin: 1rem auto;
    width: fit-content;
  }
  #footer .contact-item.adress-item {
    gap: 5px;
  }
  .subtitle {
    text-align: center;
  }
  .node--type-proekty.node--view-mode-full .right {
    padding-left: 0;
    width: 100%;
  }
  .node--type-proekty.node--view-mode-full .left {
    width: 100%;
  }
  .node--type-proekty.node--view-mode-full h1 {
    text-align: center;
  }
  .node--type-proekty.node--view-mode-full .btn-primary {
    margin: auto;
  }
  .node--type-proekty.node--view-mode-full {
    row-gap: 1rem;
    flex-wrap: wrap;
  }
  #scrollToTop {
    bottom: 90px;
    right: 40px;
  }
  #block-vesta-theme-bloknastranicekontakty-2 .field--name-body span {
    max-width: 345px;
  }
  #block-vesta-theme-bloknastranicekontakty-2 .field--name-body {
    max-width: 100%;
    margin: 0;
  }
  .block-content--type-ostalis-voprosy .left {
    width: 100%;
  }
  .view-id-proekty .custom-block .field--name-node-link {
    margin-top: 2.5rem;
  }
  .view-id-proekty .custom-block .btn-primary {
    width: 100%;
  }
  .view-id-proekty .custom-block .benefit {
    font-size: 15px;
  }
  .view-id-proekty .custom-block .field--name-node-title {
    font-size: 16px;
    margin: auto;
  }
  .block-content--type-o-nas .btn-primary,
  .block-content--type-o-nas .btn-round {
    width: 100%;
  }
  .block-content--type-o-nas .block-title {
    text-align: center;
    margin-bottom: 1rem;
  }
  .block-content--type-o-nas .field--name-field-foto-material {
    gap: 1rem;
  }
  .block-content--type-o-nas .right {
    padding: 0 0.5rem;
  }
  .block-content--type-o-nas .field--name-field-foto-material > * {
    width: calc((100% - 1rem) / 2);
    padding: 0;
  }
  .block-content--type-o-nas .btn-container > * {
    width: 100%;
  }
  .block-content--type-o-nas .field--name-field-izobrazhenie-oblozhki {
    min-height: 170px;
  }
  .more-link a {
    margin-top: 1rem;
    width: 100%;
  }
  .more-link {
    display: block;
    margin-left: 0.5rem;
    margin-right: 0.5rem;
  }
  .block-content--type-blok-proekty {
    margin-bottom: 1.5rem;
  }
  .block-content--type-blok-proekty .field--name-field-knopka-smotret-vse {
    display: none;
  }
  .view-dopolnitelnye-uslugi .field--name-node-title {
    margin-bottom: 0.7rem;
  }
  .view-dopolnitelnye-uslugi .field--name-node-title a {
    font-size: 16px;
  }
  .view-dopolnitelnye-uslugi .view-content > * {
    width: 100%;
  }
  .view-id-proekty .field--name-field-izobrazhenie-anonsa-proekt {
    min-height: 200px;
  }
  .block-content--type-blok-proekty .block-title {
    font-size: 28px;
    text-align: center;
    max-width: 100%;
  }
  .block-content--type-blok-proekty {
    flex-direction: column;
    align-items: center;
  }

  .block-content--type-blok-proekty .field--name-field-knopka-smotret-vse {
    margin-left: initial;
    align-self: initial;
  }
  .block-content--type-stroitelstvo-domov
    .field--name-field-tekst-preimushchestv {
    font-size: 12px;
  }
  .block-content--type-stroitelstvo-domov {
    row-gap: 2rem;
  }
  .block-content--type-stroitelstvo-domov .right,
  .block-content--type-stroitelstvo-domov .left {
    width: 100%;
  }
  .block-content--type-blok-proekty .block-title {
    max-width: 468px;
  }
  .banner .block-block-content {
    max-width: 100%;
  }
  .banner {
    padding: 60px 0;
  }
  .banner h1 {
    font-size: 38px;
  }
  #footer .row-top {
    padding-bottom: 1.5rem;
  }
  #footer a {
    font-size: 15px;
  }
  #footer .contacts span {
    text-align: center;
  }
  #footer .contacts {
    align-items: center;
  }
  #footer span.adress {
    max-width: 325px;
    width: 100%;
  }
  #footer .region-callback {
    margin: auto;
  }
  #footer .row-top > * {
    width: fit-content;
  }
  #footer .logo {
    text-align: center;
  }
  #footer .main-nav ul.nav,
  #footer .service-nav .view-content {
    flex-direction: row;
    justify-content: center;
    white-space: nowrap;
    flex-wrap: wrap;
    gap: 1rem;
  }
  #footer .contacts {
    order: 4;
  }
  #footer .row-top {
    flex-direction: column;
    align-items: center;
  }
  #header-mob .contacts {
    display: flex;
    flex-direction: column;
  }
}

@media screen and (max-width: 576px) {
  .node--type-dopolnitelnye-uslugi .field--name-field-izobrazheniya-dopuslug {
    width: 100%;
  }
  .view-dopolnitelnye-uslugi .field--name-field-metka-dopuslug .field__item {
    justify-content: center;
  }
  #block-vesta-theme-zagolovokstranicy h1 {
    text-align: center;
  }
  .view-dopolnitelnye-uslugi
    .field--name-field-metka-dopuslug
    .field__item
    span {
    font-size: 15px;
  }
  .view-dopolnitelnye-uslugi .node--view-mode-teaser .right {
    gap: 5px;
  }
  .view-dopolnitelnye-uslugi .field--name-node-title {
    text-align: center;
  }
  .view-dopolnitelnye-uslugi .field--name-field-opisanie-v-anonse {
    text-align: center;
  }
  .view-dopolnitelnye-uslugi .field--type-image {
    min-height: 350px;
  }
  .view-dopolnitelnye-uslugi .btn-container {
    flex-direction: column;
  }
  .wr_content .webform-submission-form .webform-button--submit {
    width: 100%;
  }
  .modal-title {
    flex: 1;
    text-align: center;
    padding-left: 32px;
  }
  .modal-footer .webform-button--submit {
    margin: auto;
    width: 100%;
  }
  #block-vesta-theme-zagolovokstranicy h1 {
    margin-bottom: 1.5rem;
  }
  #block-vesta-theme-blokdlyastranicykontakty .mapContainer {
    height: 380px;
  }
  #block-vesta-theme-blokdlyastranicykontakty .field--name-body .field-contact {
    max-width: 100%;
  }
  .node--type-proekty.node--view-mode-full .btn-primary {
    width: 100%;
  }
  .wr_content h1 span.block-title {
    margin-bottom: 1rem;
  }
  #scrollToTop {
    bottom: 60px;
    right: 30px;
  }
  #header-mob .mail.contact_item {
    display: none;
  }
  .view-id-proekty .custom-block .field--name-node-title {
    font-size: 20px;
  }
  #block-vesta-theme-bloknastranicekontakty-2 .block-title {
    margin-bottom: 1rem;
  }
  .view-id-proekty .custom-block .text-container {
    min-height: 350px;
  }
  .view-id-proekty .custom-block .field--name-node-link {
    margin-top: 3.5rem;
  }
  .block-content--type-ostalis-voprosy .left {
    padding: 1.2rem;
  }
  #block-vesta-theme-bloknastranicekontakty-2 .field--name-body {
    margin: auto;
  }
  #block-vesta-theme-bloknastranicekontakty-2 .field-contact span {
    text-align: center;
  }
  #block-vesta-theme-bloknastranicekontakty-2 .field-contact {
    align-items: center;
  }
  .block-content--type-ostalis-voprosy .field--name-block-title h2 {
    font-size: 28px;
  }
  .block-content--type-ostalis-voprosy .form-actions {
    width: 100%;
  }
  .webform-submission-form .webform-button--submit {
    width: 100%;
  }
  .webform-submission-form .small {
    width: 100%;
  }
  #block-vesta-theme-bloknastranicekontakty-2 .block-title {
    font-size: 32px;
  }
  .view-id-proekty .more-link {
    width: 70%;
    margin: auto;
  }
  .view-id-proekty .text-container {
    padding: 1.5rem;
  }
  .view-dopolnitelnye-uslugi .view-content {
    row-gap: 1.5rem;
  }
  .block-content--type-o-nas .btn-container {
    flex-wrap: wrap;
  }
  .block-content--type-blok-proekty {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }
  .block-content--type-blok-proekty .field--name-field-knopka-smotret-vse {
    width: 100%;
  }
  .btn-round {
    width: 100%;
  }
  .view-id-proekty .field--name-node-link {
    width: 100%;
  }
  .view-id-proekty .btn-primary {
    width: 100%;
  }
  .view-id-proekty .view-content {
    justify-content: center;
  }
  .view-id-proekty .view-content > * {
    width: 70%;
  }
  .block-content--type-stroitelstvo-domov
    .field--name-field-tekst-preimushchestv {
    text-align: center;
  }
  .block-content--type-stroitelstvo-domov .node--type-preimushchestva {
    padding: 1.5rem;
  }
  .block-content--type-stroitelstvo-domov .field--name-field-opisanie-bloka {
    padding-top: 1rem;
  }
  .block-content--type-stroitelstvo-domov .node--type-preimushchestva {
    align-items: center;
  }
  .block-content--type-stroitelstvo-domov
    .field--name-field-preimushchestva-material
    .field--name-node-title
    h2 {
    text-align: center;
  }
  .block-title {
    font-size: 28px;
  }
  .block-content--type-stroitelstvo-domov .btn-container a {
    width: 100%;
  }
  .block-content--type-stroitelstvo-domov .btn-container > * {
    flex: 1;
  }
  .block-content--type-stroitelstvo-domov .btn-container {
    justify-content: center;
  }
  .block-content--type-stroitelstvo-domov {
    row-gap: 2rem;
  }
  .block-content--type-stroitelstvo-domov
    .field--name-field-preimushchestva-material {
    justify-content: center;
  }
  .block-content--type-stroitelstvo-domov
    .field--name-field-preimushchestva-material
    > * {
    width: 85%;
  }
  .banner h1 {
    font-size: 33px;
    margin-bottom: 1rem;
  }
  .banner .field--name-field-fos {
    margin-top: 1.5rem;
  }
  .banner .field--name-field-preimushchestva-v-bannere .field__item {
    font-size: 15px;
    margin-bottom: 0.5rem;
  }
  #header-mob .col-logo img {
    width: 40%;
  }
  #header-mob .contacts img {
    width: 23px;
    height: 23px;
  }
  #header-mob .contacts span {
    display: none;
  }
  #header-mob .contacts {
    display: flex;
    flex-direction: row;
  }
  .view-dopolnitelnye-uslugi .node--view-mode-teaser .right {
    width: 50%;
  }
  .view-dopolnitelnye-uslugi .node--view-mode-teaser .left {
    width: 50%;
  }
}
@media screen and (max-width: 500px) {
  .view-dopolnitelnye-uslugi .field--type-image {
    min-height: 368px;
  }
  .view-dopolnitelnye-uslugi .view-content > * {
    padding: 0;
  }
  /* .view-dopolnitelnye-uslugi .more-link a {
    width: 80%;
    margin: auto;
    margin-top: 1rem;
  } */
  /* .view-dopolnitelnye-uslugi .view-content {
    width: 80%;
    margin: auto;
  } */
  .view-dopolnitelnye-uslugi .field--name-field-metka-dopuslug .field__item {
    margin-bottom: 1rem;
  }
  .view-dopolnitelnye-uslugi .field--name-node-title a {
    font-size: 18px;
  }
  .view-dopolnitelnye-uslugi .view-content > * {
    width: 100%;
  }
  .view-dopolnitelnye-uslugi .node--view-mode-teaser {
    padding: 1.3rem;
  }
  .view-dopolnitelnye-uslugi .btn-container .btn-primary {
    width: 100%;
  }
  .view-dopolnitelnye-uslugi .btn-container > * {
    flex: 1;
  }
  .view-dopolnitelnye-uslugi .field--type-image {
    max-height: 315px;
  }
  .view-dopolnitelnye-uslugi .node--view-mode-teaser .left {
    width: 100%;
  }
  .view-dopolnitelnye-uslugi .node--view-mode-teaser .right {
    padding-left: 0;
    width: 100%;
  }
  .view-dopolnitelnye-uslugi .node--view-mode-teaser {
    align-items: center;
    flex-direction: column;
    row-gap: 1rem;
  }
}
@media screen and (max-width: 480px) {
  .node--type-dopolnitelnye-uslugi .left {
    width: 100%;
  }
  .field--name-field-izobrazhenie-galerei .field__item,
  .view-fotogalereya-predstavlenie .field--type-image {
    min-height: 132px;
  }
  .block-content--type-ostalis-voprosy .field--name-block-title h2 {
    font-size: 26px;
    margin-bottom: 16px;
  }
  #block-vesta-theme-bloknastranicekontakty-2 .block-title {
    font-size: 29px;
  }
  .block-content--type-o-nas .block-title {
    font-size: 30px;
  }
  #block-vesta-theme-bloknastranicekontakty-2 .block-title {
    font-size: 29px;
  }
  .block-content--type-blok-proekty .block-title {
    font-size: 20px;
  }
  .view-id-proekty .more-link {
    width: 90%;
    margin: auto;
  }
  .view-id-proekty .field--name-field-izobrazhenie-anonsa-proekt {
    min-height: 300px;
  }
  .view-id-proekty .view-content > * {
    width: 90%;
  }
  .block-content--type-stroitelstvo-domov
    .field--name-field-preimushchestva-material
    > * {
    width: 100%;
  }
}
