:root {
  --bs-body-line-height: 1.2;
  --bs-body-font-size: 16px;
}
.tr {
  transition: all 0.4s ease;
}
img:not(.image-style-gallery, .pswp__img) {
  max-width: 100%;
  height: auto !important;
}
.field[data-blazy] {
  min-width: initial;
}
table img {
  max-width: initial;
}
.flex {
  display: flex;
  flex-wrap: wrap;
}
a {
  color: var(--color);
  transition: all 0.4s ease;
}
@media (min-width: 1200px) {
  .container-xl,
  .container-lg,
  .container-md,
  .container-sm,
  .container {
    max-width: 1200px;
  }
}
p:last-child {
  margin-bottom: 0 !important;
}
body {
  padding-top: 0 !important;
  font-family: "Inter", sans-serif;
  color: var(--color2);
}
#app {
  overflow: hidden;
}
.toolbar-fixed #app {
  margin-top: var(--drupal-displace-offset-top);
}
@media screen and (max-width: 991px) {
  #app {
    padding-top: 55px;
  }
}
body {
  background: #f5f6fa;
}
.header-top {
  background: #112b66;
  padding: 10px 0px;
}
.header-top .col-contacts {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 25px;
}
.header-top .col-contacts div {
  display: flex;
  align-items: center;
  gap: 5px;
}
.header-top .col-contacts div p,
.header-top .col-contacts div a {
  color: white;
  text-decoration: none;
}
.header-top .col-contacts div a:hover {
  text-decoration: underline;
}
h1 span {
  font-size: 40px;
  font-weight: bold;
}
.header-middle {
  padding: 20px 0px;
}
.header-middle .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.header-middle .container .logo-box {
  font-size: 25px;
  font-weight: bold;
  color: #465a89;
  text-transform: uppercase;
  width: 50%;
}
.header-middle .container .logo-box a {
  text-decoration: none;
}
.header-middle .container .logo-box #block-vesta-theme-opisanielogovshapke p {
  font-size: 18px;
  color: #465a89;
}
.header-middle .container .hm-box {
  display: flex;
  gap: 20px;
  align-items: center;
}
.header-middle .container .hm-box .col-search {
  display: flex;
  height: 39px;
}
.header-middle .container .hm-box .col-search .region-search {
  display: flex;
  height: 39px;
  align-items: center;
  position: relative;
}
.header-middle .container .hm-box .col-search .search-api-page-block-form-search {
  display: none;
  position: absolute;
  width: 350px;
  left: -250px;
}
.header-middle .container .hm-box .col-search .search-api-page-block-form-search .search-form__submit {
  background: #465a89;
}
.header-middle .container .hm-box .col-search #block-vesta-theme-ikonkapoiska {
  display: none;
}
.header-middle .container .hm-box .col-search .search-active {
  display: flex !important;
}
.header-middle .container .hm-box .region-callback a {
  background: #112b66;
  border: 1px solid #112b66;
  padding: 15px 50px;
  border-radius: 50px;
}
.header-middle .container .hm-box .region-callback a:hover {
  background: inherit;
  color: #112b66;
}
.header-middle .container .hm-box .social-media {
  display: flex;
  gap: 10px;
  align-items: center;
}
.header-middle .container .hm-box .social-media a {
  width: 50px;
  height: 50px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #112b66;
  transition: transform 0.5s ease;
}
.header-middle .container .hm-box .social-media a:hover {
  transform: scale(1.1);
}
.header-bottom {
  background: inherit;
}
.header-bottom .navigation-box {
  background: #112b66;
  border-radius: 50px;
  display: flex;
  justify-content: center;
  padding: 10px 0px;
}
.header-bottom .navigation-box ul {
  gap: 15px;
  align-items: center;
}
.header-bottom .navigation-box ul li a {
  padding: 0px;
  color: white;
}
.header-bottom .navigation-box ul li a:hover {
  text-decoration: underline;
}
.header-bottom .navigation-box ul li .dropdown-toggle::after {
  display: none;
}
.header-bottom .navigation-box ul li .dropdown-menu {
  background: #112b66;
}
.header-bottom .navigation-box ul li .dropdown-menu li:hover {
  background: inherit;
}
.header-bottom .navigation-box ul li .dropdown-menu li a {
  color: white;
}
.content-bg,
.region-uslugi,
.region-form,
.region-map {
  background: white;
  padding: 50px 20px;
  border-radius: 50px;
}
.not-front .region-content {
  background: white;
  padding: 50px 20px;
  border-radius: 50px;
  margin: 40px 0px;
}
.content-bg,
.form-block,
.map-block {
  margin-top: 40px;
  margin-bottom: 40px;
}
#block-vesta-theme-moiuslugi,
#block-vesta-theme-uvasostalisvoprosy,
#block-vesta-theme-kontakty {
  display: flex;
  justify-content: space-between;
  margin-bottom: 25px;
}
#block-vesta-theme-moiuslugi .block-title,
#block-vesta-theme-uvasostalisvoprosy .block-title,
#block-vesta-theme-kontakty .block-title {
  font-size: 40px;
  font-weight: bold;
  position: relative;
  display: inline-block;
  padding-bottom: 15px;
  /* Отступ от текста до линии */
}
#block-vesta-theme-moiuslugi .block-title::after,
#block-vesta-theme-uvasostalisvoprosy .block-title::after,
#block-vesta-theme-kontakty .block-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 150px;
  /* Ширина линии */
  height: 4px;
  /* Высота линии */
  background-color: #112b66;
  /* Цвет линии */
}
#block-vesta-theme-moiuslugi .field--name-body p,
#block-vesta-theme-uvasostalisvoprosy .field--name-body p,
#block-vesta-theme-kontakty .field--name-body p {
  color: #465a89;
  font-weight: bold;
}
.view-catalog .view-content {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
}
.view-catalog .view-content .views-row {
  width: calc((100% - 70px) / 2);
  /* 50px = 2 промежутка (25px × 2) */
  background: #f5f6fa;
  border-radius: 50px;
  padding: 30px;
}
.view-catalog .view-content .views-row .taxonomy-term--type-catalog {
  display: flex;
  flex-direction: column;
  gap: 30px;
  height: 100%;
}
.view-catalog .view-content .views-row .taxonomy-term--type-catalog::after {
  position: absolute;
}
.view-catalog .view-content .views-row .ct-box {
  display: flex;
  align-items: center;
  gap: 15px;
  justify-content: space-between;
}
.view-catalog .view-content .views-row .ct-box img {
  width: 124px;
  height: 124px !important;
}
.view-catalog .view-content .views-row .ct-box .field--name-taxonomy-term-title {
  width: 55%;
}
.view-catalog .view-content .views-row .ct-box h2 a {
  text-decoration: none;
  color: black;
  font-weight: bold;
  font-size: 20px;
}
.view-catalog .view-content .views-row .field--name-taxonomy-term-link {
  margin-top: auto;
}
.view-catalog .view-content .views-row .field--name-taxonomy-term-link a {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50px;
  padding: 15px 0px;
  background: #465a89;
  color: white;
  text-decoration: none;
}
.view-catalog .view-content .views-row:hover {
  background: #112b66;
}
.view-catalog .view-content .views-row:hover img {
  filter: brightness(1500);
}
.view-catalog .view-content .views-row:hover h2 a {
  color: white;
}
.view-catalog .view-content .views-row:hover .field--name-taxonomy-term-link a {
  background: white;
  color: #112b66;
}
.more-link {
  margin-top: 40px;
  text-align: center;
}
.more-link a {
  padding: 20px 50px;
  border: 1px solid #465a89;
  border-radius: 50px;
  text-decoration: none;
}
.more-link a:hover {
  background: #465a89;
  color: white;
}
.region-form .form-type-processed-text {
  margin-bottom: 15px;
}
.region-form .form-type-processed-text p {
  font-size: 18px;
  font-weight: bold;
}
.region-form #edit-container-form {
  display: flex;
  gap: 10px;
  align-items: baseline;
}
.region-form #edit-container-form .webform-actions,
.region-form #edit-container-form .form-item-name,
.region-form #edit-container-form .form-item-telefon {
  flex: 1;
  margin-bottom: 0px;
}
.region-form #edit-container-form .webform-actions input,
.region-form #edit-container-form .form-item-name input,
.region-form #edit-container-form .form-item-telefon input,
.region-form #edit-container-form .webform-actions button,
.region-form #edit-container-form .form-item-name button,
.region-form #edit-container-form .form-item-telefon button {
  height: 50px;
  width: 100%;
  border-radius: 50px;
}
.region-form #edit-container-form .webform-actions input,
.region-form #edit-container-form .form-item-name input,
.region-form #edit-container-form .form-item-telefon input {
  border: 1px solid #112b66;
  padding-left: 15px;
}
.region-form #edit-container-form .webform-actions button,
.region-form #edit-container-form .form-item-name button,
.region-form #edit-container-form .form-item-telefon button {
  background: #112b66;
  color: white;
  border: 1px solid #112b66;
}
.region-form .form-type-checkbox {
  margin-top: 15px;
  gap: 5px;
  justify-content: flex-end;
  display: flex;
}
.map-box {
  display: flex;
}
.map-box #block-vesta-theme-kontaktyvkarte {
  background: #112b66;
}
.map-box #block-vesta-theme-kontaktyvkarte .map-contacts {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.map-box #block-vesta-theme-kontaktyvkarte .map-contacts .mc-title {
  margin-bottom: 0px;
  font-weight: bold;
}
.map-box #block-vesta-theme-kontaktyvkarte .map-contacts a {
  text-decoration: none;
}
.map-box #block-vesta-theme-kontaktyvkarte .map-contacts a:hover {
  text-decoration: underline;
}
.map-box #block-vesta-theme-kontaktyvkarte .map-contacts .mc-soc-media {
  display: flex;
  gap: 10px;
}
.map-box #block-vesta-theme-kontaktyvkarte .map-contacts .mc-soc-media a {
  background: white;
  width: 50px;
  height: 50px;
  border-radius: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.5s ease;
}
.map-box #block-vesta-theme-kontaktyvkarte .map-contacts .mc-soc-media a:hover {
  transform: scale(1.1);
}
.map-box #block-vesta-theme-kontaktyvkarte .map-contacts a,
.map-box #block-vesta-theme-kontaktyvkarte .map-contacts p {
  color: white;
}
.map-box #block-vesta-theme-yandekskarta-2 {
  width: 100%;
}
#footer {
  background: #112b66;
  padding: 30px 0px;
}
#footer .row {
  justify-content: space-between;
}
#footer .f-box {
  max-width: 40%;
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  width: max-content;
}
#footer .f-box:nth-child(3) {
  gap: 45px;
}
#footer .f-box a,
#footer .f-box p,
#footer .f-box div {
  color: white;
  text-decoration: none;
}
#footer .f-box .logo-box {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
#footer .f-box .logo-box a {
  font-size: 20px;
  font-weight: bold;
}
#footer .f-box .region-navigation ul.nav {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
#footer .f-box .region-navigation ul.nav li a {
  padding: 0px;
}
#footer .f-box .region-navigation ul.nav li a:hover {
  text-decoration: underline;
}
#footer .f-box .region-navigation ul.nav li .dropdown-toggle::after {
  display: none;
}
#footer .f-box .region-navigation ul.nav li .dropdown-menu a {
  color: #112b66;
  padding: 0px 5px;
}
#footer .f-box .f-contacts {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
#footer .f-box .f-contacts .fc-title {
  margin-bottom: 5px;
  font-weight: bold;
}
#footer .f-box .f-contacts a:hover {
  text-decoration: underline;
}
#footer .f-box .fc-soc-media .fc-soc-media-box {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}
#footer .f-box .fc-soc-media .fc-soc-media-box a {
  width: 50px;
  height: 50px;
  background: white;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 10px;
  transition: transform 0.5s ease;
}
#footer .f-box .fc-soc-media .fc-soc-media-box a:hover {
  transform: scale(1.1);
}
#footer .f-box .fc-soc-media #block-vesta-theme-knopkaostavitzayavku--2 {
  margin-top: 15px;
}
#footer .f-box .fc-soc-media #block-vesta-theme-knopkaostavitzayavku--2 a {
  background: white;
  padding: 10px 50px;
  border-radius: 50px;
  border: 1px solid #112b66;
  color: #112b66;
}
#footer .f-box .fc-soc-media #block-vesta-theme-knopkaostavitzayavku--2 a:hover {
  color: white;
  background: inherit;
  border: 1px solid white;
}
#footer .col-webvesta {
  text-align: center;
  margin-top: 15px;
  border-top: 2px solid white;
  border-bottom: 2px solid white;
  padding: 15px 0px;
}
#footer .col-webvesta a {
  color: white;
  text-decoration: none;
}
#footer .col-webvesta a:hover {
  text-decoration: underline;
}
.ui-dialog .ui-dialog-titlebar {
  background: #112b66 !important;
}
.ui-dialog .ui-dialog-titlebar span {
  color: white !important;
}
.ui-dialog form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.ui-dialog form .form-wrapper {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.ui-dialog form .form-wrapper input {
  height: 50px;
  border-radius: 20px;
  border: 1px solid #112b66;
  width: 100%;
}
.ui-dialog form .form-wrapper button {
  height: 50px;
  border-radius: 20px;
  border: 1px solid #112b66;
  width: 100%;
  color: white;
  background: #112b66;
}
.ui-dialog form .form-wrapper button:hover {
  background: white;
  color: #112b66;
}
.ui-dialog form .form-type-checkbox {
  display: flex;
  gap: 10px;
}
#header-mob {
  background: #465a89;
}
#header-mob a {
  color: white;
  text-decoration: none;
}
#header-mob a:hover {
  text-decoration: underline;
}
.offcanvas {
  background: #112b66;
}
.offcanvas a {
  color: white;
}
.offcanvas .search-form__submit {
  background: white;
  border: 1px solid #112b66;
  color: #112b66;
}
.offcanvas .search-form__submit:hover {
  background: #112b66;
  color: white;
}
.offcanvas .contact-item-label {
  margin-top: 15px;
  margin-bottom: 10px;
  color: white;
  font-weight: bold;
}
.offcanvas .msngrs {
  display: flex;
  gap: 10px;
}
.offcanvas #block-vesta-theme-ikonkapoiska {
  display: none;
}
#scrollToTop {
  background: #112b66;
  border-radius: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
}
#scrollToTop img {
  width: 24px;
  height: 24px;
}
@media screen and (max-width: 1200px) {
  .ct-box {
    height: 161px;
  }
}
@media screen and (max-width: 993px) {
  .view-catalog .view-content {
    flex-direction: column;
    align-items: center;
  }
  .view-catalog .view-content .views-row {
    width: 300px !important;
    height: 450px;
  }
  .view-catalog .view-content .views-row .taxonomy-term--type-catalog {
    height: 400px;
    padding: 15px;
  }
  .view-catalog .view-content .views-row .taxonomy-term--type-catalog .ct-box {
    flex-direction: column;
  }
  .view-catalog .view-content .views-row .taxonomy-term--type-catalog .ct-box .field--name-taxonomy-term-title {
    width: 100%;
  }
}
@media screen and (max-width: 769px) {
  h1 span {
    font-size: 30px !important;
  }
  #block-vesta-theme-moiuslugi .block-title,
  #block-vesta-theme-uvasostalisvoprosy .block-title,
  #block-vesta-theme-kontakty .block-title {
    font-size: 30px !important;
  }
  #edit-container-form {
    flex-direction: column;
  }
  #edit-container-form .webform-actions,
  #edit-container-form .form-item-name,
  #edit-container-form .form-item-telefon {
    width: 100%;
  }
  #edit-container-form input,
  #edit-container-form button {
    width: 100%;
  }
  .map-box {
    flex-direction: column;
  }
  .map-box .map-contacts {
    align-items: center;
  }
  .f-box {
    max-width: 100% !important;
  }
}
@media screen and (max-width: 485px) {
  #header-mob a {
    font-size: 13px !important;
  }
  #block-vesta-theme-moiuslugi,
  #block-vesta-theme-uvasostalisvoprosy,
  #block-vesta-theme-kontakty {
    justify-content: flex-start !important;
    flex-direction: column;
  }
}
