:root {
  --bs-body-font-family: "Open Sans", sans-serif;
  --bs-body-color: #000;
  --bs-body-line-height: normal;
  --bs-body-font-weight: 500;
  --bs-border-radius: 8px;
  --bs-border-radius-2: 20px;
  --bs-h1-front: 52px;
  --bs-h2: 40px;
  --bs-slide-title: 36px;
  --bs-servives-title: 24px;
  --bs-padding-block: 100px 0;
  --bs-padding-gallery: 57px 0 75px;
  --bs-blue: #065fca;
  --bs-light-blue: #065fca33;
  --bs-link-color: #000;
  --bs-link-hover-color: #000;
  --bs-padding-btn: 14.5px;
  --bs-border-color: var(--bs-blue);
  --bs-margin-footer: 100px 21px 0;
  --bs-margin-gallery: 100px 21px;
}
h1 {
  font-weight: 600;
}
.not-front h1 {
  margin: 30px 0;
}
h2 {
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 30px;
}
a {
  color: inherit;
  text-decoration: none;
}
a:hover {
  text-decoration: none;
  color: var(--bs-blue);
}
.btn-primary {
  --bs-btn-bg: var(--bs-blue);
  --bs-btn-border-color: var(--bs-blue);
  --bs-btn-hover-bg: #fff;
  --bs-btn-hover-border-color: var(--bs-blue);
  --bs-btn-hover-color: #000;
  --bs-btn-active-bg: #fff;
  --bs-btn-active-border-color: var(--bs-blue);
  --bs-btn-active-color: #000;
  --bs-btn-disabled-bg: #fff;
  --bs-btn-disabled-border-color: var(--bs-blue);
  --bs-btn-disabled-color: #000;
}
.btn {
  --bs-btn-font-weight: 600;
  --bs-btn-line-height: normal;
  --bs-btn-padding-y: 13.5px;
  --bs-btn-padding-x: 18px;
}
div#block-vesta-theme-zagolovoknaglavnoy {
  padding: 60px 0;
}
.more-link a {
  margin: 0 auto;
}
.form-control {
  font-weight: 500;
  line-height: normal;
  padding: 13.5px 18px;
}
.form-control::placeholder {
  color: #000;
}
.btn-secondary {
  --bs-btn-hover-bg: var(--bs-blue);
}
.dropdown-menu {
  --bs-dropdown-link-active-bg: var(--bs-blue);
}
/* header */
.col-search__block {
  width: 40px;
  height: 40px;
  background: url(/sites/all/themes/vesta_theme/image/search.svg) center center
    no-repeat;
  cursor: pointer;
  background-size: cover;
}
.col-search__block.close {
  background: url(/sites/all/themes/vesta_theme/image/close.svg) center center
    no-repeat;
  background-size: 15px;
}
.col-search {
  position: relative;
}
header .region-search {
  display: none;
  position: absolute;
  top: 41px;
  width: max-content;
  right: 0px;
  z-index: 10;
}
header .col-contacts {
  gap: 26px;
}
.mail:before,
.tel:before,
.adress:before {
  content: "";
  width: 18px;
  height: 18px;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
  flex-shrink: 0;
}
.mail:before {
  background-image: url(/sites/all/themes/vesta_theme/image/mail.svg);
}
.tel:before {
  background-image: url(/sites/all/themes/vesta_theme/image/phone.svg);
}
.adress:before {
  background-image: url(/sites/all/themes/vesta_theme/image/local.svg);
}
.special {
  display: flex;
  gap: 12px;
  background-color: var(--bs-light-blue);
  padding: 14.5px 17px;
  border-radius: var(--bs-border-radius);
}
header .nav-link {
  padding: 1px 2px;
  font-size: 13px;
  font-weight: 600;
}
header .nav-link.is-active,
.nav-link:focus,
.nav-link:hover {
  background-color: var(--bs-light-blue);
  border-radius: var(--bs-border-radius);
}
header ul.nav {
  justify-content: space-between;
}
/* end header */

/* slider */
.slider-block {
  padding: 0 22px;
}
.field--name-field-image img,
.field--name-field-services-img img,
.field--name-field-image-news img,
div#block-vesta-theme-kartinkaublokaformy img,
.node--type-photogallery.node--view-mode-teaser img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--bs-border-radius-2);
}
.field--name-field-image {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  filter: brightness(0.4);
  border-radius: 40px;
  overflow: hidden;
}
.node--type-slide.node--view-mode-default {
  position: relative;
  min-height: 648px;
  display: flex;
}
.node--type-slide .content {
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #fff;

  position: relative;
  text-align: center;
  gap: 35px;
}
.field--name-field-slide-title {
  font-size: var(--bs-slide-title);
  z-index: 1;
}
.field--name-field-slide-link {
  z-index: 1;
}
.field--name-field-slide-link a {
  display: block;
  background-color: var(--bs-blue);
  width: 183px;
  text-align: center;
  margin: auto;
  font-weight: 600;
  padding: 13.5px;
  border-radius: var(--bs-border-radius);
  border: 1px solid var(--bs-blue);
}
.field--name-field-slide-link a:hover {
  background-color: #fff;
  color: #000;
  border-color: #fff;
}
.front h1 {
  color: var(--bs-blue);
}
.front h1 > strong {
  font-size: var(--bs-h1-front);
  border-radius: 16px;
  text-transform: uppercase;
  line-height: 155%;
}
/* end slider */

/* about */
.about-content .field--name-body > p:first-child {
  font-weight: 600;
}
.about-left {
  width: 43%;
}
.field--name-field-about-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--bs-border-radius-2);
}
.field--name-field-about-link a,
.more-link a {
  display: block;
  background-color: transparent;
  width: 183px;
  text-align: center;
  font-weight: 600;
  padding: 13.5px;
  border-radius: var(--bs-border-radius);
  border: 1px solid var(--bs-blue);
  color: #000;
}
.field--name-field-about-link a:hover,
.more-link a:hover {
  background-color: var(--bs-blue);
  color: #fff;
}
.paragraph--type-benefit {
  display: flex;
  gap: 8px;
  padding: 22px 14px 24px;
  border: 1.3px solid var(--bs-blue);
  border-radius: var(--bs-border-radius-2);
  height: 100%;
}
.field--name-field-benefit-img {
  width: 53px;
  height: 53px;
  flex-shrink: 0;
}
.field--name-field-benefits {
  margin-top: 73px;
}
.benefit-body span.blue {
  background-color: var(--bs-light-blue);
  border-radius: 4px;
  padding-left: 2px;
}
.benefit-body {
  line-height: 160%;
}
/* end about */

/* services */
.services-block {
  padding: var(--bs-padding-block);
}
.field--name-field-services-img {
  height: 100%;
  position: absolute;
  border-radius: var(--bs-border-radius-2);
  overflow: hidden;
  bottom: 0;
  left: 0;
  right: 0;
}
.field--name-field-services-img:before {
  background: -webkit-linear-gradient(180deg, transparent, #065fcab8);
  background: linear-gradient(180deg, transparent, #065fcab8);
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: var(--bs-border-radius-2);
  overflow: hidden;
  pointer-events: none;
}
.services-content {
  padding: 21px;
  gap: 18px;
  text-align: center;
  min-height: 300px;

  position: relative;
}

.node--type-services.node--view-mode-teaser .field--name-node-title {
  font-size: var(--bs-servives-title);
  font-weight: 700;
  color: #fff;
  z-index: 1;
}
.node--type-services.node--view-mode-teaser .field--name-node-title a:hover {
  color: inherit;
  text-shadow: 1px 0 black;
}
.node--type-services.node--view-mode-teaser .field--name-node-link {
  z-index: 1;
}
.node--type-services.node--view-mode-teaser .field--name-node-link a {
  display: block;
  background-color: #fff;
  width: 183px;
  text-align: center;
  font-weight: 600;
  padding: 13.5px;
  border-radius: var(--bs-border-radius);
  border: 1px solid #fff;
  color: #000;
}
.node--type-services.node--view-mode-teaser .field--name-node-link a:hover {
  color: #fff;
  background-color: var(--bs-blue);
  border-color: var(--bs-blue);
}
.node--type-services.node--view-mode-teaser {
  position: relative;
}
.view-services.view-display-id-block_1 .more-link a {
  margin-top: 70px;
}
/* end services */

/* news */

.field--name-node-title {
  font-weight: 600;
}
.node--type-news.node--view-mode-teaser .field--name-field-image-news {
  height: 180px;
}
.field--name-field-date:before {
  content: "";
  display: block;
  width: 24px;
  height: 24px;
  background: url(/sites/all/themes/vesta_theme/image/calendar.svg) center
    center no-repeat;
  background-size: contain;
}
.field--name-field-date {
  display: flex;
  align-items: center;
  gap: 12px;
}
.node--type-news.node--view-mode-teaser .field--name-node-link {
  position: relative;
  color: transparent;
  width: 40px;
  height: 40px;
}
.node--type-news.node--view-mode-teaser .field--name-node-link a:before {
  background: url(/sites/all/themes/vesta_theme/image/arrow-top.svg) center
    center no-repeat;
  background-size: contain;
  transform: rotate(90deg);
  content: "";
  display: block;
  width: 40px;
  height: 40px;
}
.node--type-news.node--view-mode-teaser .field--name-node-link a:hover {
  color: transparent;
}
.node--type-news.node--view-mode-teaser {
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: space-between;
  gap: 16px;
}
.node--type-news.node--view-mode-teaser.clearfix:after {
  display: none;
}
.view-id-news.view-display-id-block_1 .more-link a {
  margin-top: 79px;
}
.field--name-field-image-news {
  position: relative;
}
.field--name-field-image-news:before {
  content: "";
  display: block;
  background: url(/sites/all/themes/vesta_theme/image/watemark.png) center
    center no-repeat;
  background-size: contain;
  position: absolute;
  bottom: -7px;
  right: -7px;
  width: 69px;
  height: 69px;
  pointer-events: none;
}
.node--type-news.node--view-mode-full .field--name-field-image-news {
  width: 300px;
  margin-bottom: 20px;
}
.node--type-photogallery.node--view-mode-teaser img {
  height: 300px;
}
/* end news */

/* gallery */
.gallery-block {
  background-color: var(--bs-blue);
  padding: var(--bs-padding-gallery);
  margin: var(--bs-margin-gallery);
  border-radius: 40px;
}
.gallery-block h2.block-title {
  color: #fff;
}
.view-fotogalereya.view-display-id-block_1 .view-content {
  display: grid;
  gap: 16px;
}
.view-fotogalereya.view-display-id-block_1
  .view-content
  .views-row:first-child {
  grid-column: 1 / 2;
  grid-row: 1 / 2;
}
.view-fotogalereya.view-display-id-block_1
  .view-content
  .views-row:nth-child(2) {
  grid-column: 2 / 3;
  grid-row: 1 / 2;
}
.view-fotogalereya.view-display-id-block_1
  .view-content
  .views-row:nth-child(3) {
  grid-column: 3 / 5;
  grid-row: 1 / 2;
}
.view-fotogalereya.view-display-id-block_1
  .view-content
  .views-row:nth-child(4) {
  grid-column: 1 / 2;
  grid-row: 2 / 3;
}
.view-fotogalereya.view-display-id-block_1
  .view-content
  .views-row:nth-child(5) {
  grid-column: 2 / 4;
  grid-row: 2 / 3;
}
.view-fotogalereya.view-display-id-block_1 .view-content .views-row:last-child {
  grid-column: 4 / 5;
  grid-row: 2/3;
}
.view-fotogalereya.view-display-id-block_1 .field--name-node-title {
  display: none;
}
.view-fotogalereya.view-display-id-block_1 .more-link a {
  margin-top: 67px;
  border-color: #fff;
  color: #fff;
}
.view-fotogalereya.view-display-id-block_1 .more-link a:hover {
  color: #000;
  background-color: #fff;
}
.view-fotogalereya.view-display-id-page_1
  .node--type-photogallery.node--view-mode-teaser
  img {
  height: 280px;
}
.view-fotogalereya.view-display-id-page_1
  .node--type-photogallery.node--view-mode-teaser
  .field--name-node-title {
  margin-top: 20px;
}
img.image-style-product-teaser {
  border-radius: var(--bs-border-radius-2);
}
/* end gallery */

/* form */

div#block-vesta-theme-vebforma h2.block-title {
  margin-bottom: 8px;
}
input[type="checkbox"] {
  -webkit-appearance: none;
  appearance: none;
  width: 23px;
  height: 23px;
  flex-shrink: 0;
  border: 1px solid var(--bs-blue);
  border-radius: 4px;
}
input[type="checkbox"]:checked {
  background: url(/sites/all/themes/vesta_theme/image/checked.svg) center center;
  background-size: contain;
  background-repeat: no-repeat;
}
.js-form-item-privacy {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 12px;
  margin-top: 30px;
}
.js-form-item-privacy a {
  color: var(--bs-blue);
  text-decoration: underline;
}
.region-form {
  display: flex;
  gap: 15px;
  justify-content: space-between;
}
form .form-control {
  margin: 0 0 20px 0;
}
div#block-vesta-theme-vebforma {
  width: 570px;
  padding: 27px 36px 40px;
  border: 1.3px solid var(--bs-blue);
  border-radius: var(--bs-border-radius-2);
}
.webform-button--submit {
  width: 100%;
}
div#block-vesta-theme-kartinkaublokaformy .field--name-body {
  height: 100%;
}
/* end form */

/* map */
.map-block {
  padding: var(--bs-padding-block);
}
.map-block {
  padding: var(--bs-padding-block);
}
.region-map {
  padding: 0 21px;
}
.mapContainer {
  height: 581px;
  border-radius: 40px;
  overflow: hidden;
}
/* end map */

/* Полезные ссылки */
.field--name-field-useful-link .field--name-field-links-other-img {
  flex-shrink: 0;
}
.field--name-field-useful-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.field--name-field-useful-link > .field__item:first-child {
  width: 266px;
}
.field--name-field-useful-link > .field__item:nth-child(2),
.field--name-field-useful-link > .field__item:nth-child(3) {
  width: 285px;
}
.field--name-field-links-other-title {
  font-size: 14px;
}
.field--name-field-useful-link
  > .field__item:first-child
  .field--name-field-links-other-img {
  width: 56px;
  height: 65px;
}
.field--name-field-useful-link
  > .field__item:nth-child(2)
  .field--name-field-links-other-img {
  width: 91px;
  height: 91px;
}
.field--name-field-useful-link
  > .field__item:nth-child(3)
  .field--name-field-links-other-img {
  width: 66px;
  height: 77px;
}
/* end Полезные ссылки */

/* footer */
.footer-logo {
  gap: 35px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 39px;
}
.copyright {
  font-size: 14px;
  padding-right: 90px;
  gap: 11px;
}
.copyright a {
  text-decoration: underline;
  color: var(--bs-blue);
}
.col-logo {
  width: 405px;
  display: flex;
  flex-direction: column;
}
.col-logo img {
  width: 82px;
  height: 103px;
}
.col-logo strong {
  font-size: 14px;
}
footer .col-contacts {
  gap: 15px;
  font-size: 14px;
  margin: 48px 0 35px;
}
footer .tel {
  font-size: 18px;
}
footer .col-nav {
  width: 266px;
}
footer nav .nav-link {
  font-size: 14px;
  padding: 0 0 10px 0;
}
.col-nav-2 {
  width: 360px;
}
div#block-vesta-theme-svedeniyaobobrazovatelnoyorganizacii-menu {
  margin-bottom: 13px;
  font-weight: 600;
}
div#block-vesta-theme-menyu-menu {
  font-weight: 600;
  margin-bottom: 35px;
}
.region-navigation-footer {
  margin-bottom: 38px;
}
.row-copiryght {
  padding: 36px 0 35px;
  border-top: 1px solid var(--bs-blue);
  margin-top: 75px;
  font-size: 14px;
}
/* end footer */

.vpa-wrapper {
  background-color: #cddff4;
}
.vpa-content {
  font-size: 12px;
}
.vpa-actions .btn-secondary {
  border: 1.3px solid var(--bs-blue);
}
footer#footer {
  margin: var(--bs-margin-footer);
  border: 1.3px solid var(--bs-blue);
  border-radius: 40px;
  padding-top: 48px;
}
.modal-header,
.modal-footer {
  border: none;
}
.dropdown-toggle::after {
  display: none;
}

.node--type-page .field--name-body {
  overflow: auto;
}
.body-node--832 table,
.body-node--841 table {
  width: max-content;
}
