:root {
  --btn-backgrond: linear-gradient(123deg, #fc0101 0%, #750b0d 100%);
  --btn-backgrond-h: linear-gradient(123deg, #d60000 0%, #340507 100%);
  --header-background: #dbdadb;
  --footer-background: #1c1b17;
  --main-background: linear-gradient(130deg, #dbdadb 0%, #cbccce 100%);
  --card-background: linear-gradient(
    90deg,
    #750b0d 0%,
    #fc0101 49.04%,
    #750b0d 98.56%
  );
  --color-red: #f20202;
  --color-black: #000;
  --color-black-h: rgba(255, 255, 255, 0.5);

  --font-family: "Montserrat", sans-serif;

  --section-margin: 108px;
  --section-margin-service: 90px;
}
.vpa-actions .btn-primary,
.btn,
.btn-primary,
.more-link a,
.btn-second {
  border-radius: 10px;
  position: relative;
  z-index: 3;
  overflow: hidden;
  display: block;
  width: fit-content;
  padding: 17px 32px;
  border: none;
  background-image: var(--btn-backgrond);
  font-family: var(--font-family);
  font-weight: 700;
  text-align: center;
  font-size: 16px;
  line-height: 114%;
  color: #fff;
  transition: all 0.3s ease;
}
.btn-second {
  padding: 17px 16px;
}
a {
  transition: all 0.3s;
}
.vpa-actions .btn-primary::before,
.btn::before,
.btn-primary::before,
.more-link a::before,
.btn-second::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;

  background: var(--btn-backgrond-h);
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.more-link a::after,
.second-btn::after {
}
.btn-close:focus {
  box-shadow: none;
}
.vpa-actions .btn-primary:active,
.vpa-actions .btn-primary:hover,
.btn-check:checked + .btn,
.btn.active,
.btn.show,
.btn:first-child:active,
:not(.btn-check) + .btn:active,
.btn:hover,
.btn:focus,
.more-link a:hover,
.more-link a:active,
.more-link a:focus,
.btn-second:hover,
.btn-second:active,
.btn-second:focus {
  color: #fff;
}
.vpa-actions .btn-primary:active::before,
.vpa-actions .btn-primary:hover::before,
.btn-check:checked + .btn::before,
.btn.active::before,
.btn.show::before,
.btn:first-child:active::before,
:not(.btn-check) + .btn:active::before,
.btn:hover::before,
.btn:focus::before,
.more-link a:hover::before,
.more-link a:active::before,
.more-link a:focus::before,
.btn-second:hover::before,
.btn-second:active::before,
.btn-second:focus::before {
  opacity: 1;
}
.second-btn:hover,
.more-link a:focus,
.more-link a:active,
.more-link a:hover,
.second-btn:focus,
.second-btn:active {
}
.btn-second:hover::after,
.more-link a:hover::after {
}
.vpa-actions .btn-primary {
}

div#vpa-short-wrapper a {
  text-decoration: none;
  color: #000;
}
div#vpa-short-wrapper {
  padding: 15px;
  border-radius: 20px;
  background: #e5e5e5;
  max-width: 740px;
  font-size: 13px;
  width: 95%;
}

.search-api-page-block-form-search form,
form.search-api-page-block-form-search {
  position: relative;
}

.search-api-page-block-form-search form .form-item,
form.search-api-page-block-form-search .form-item {
  width: 100%;
  margin-bottom: 0;
}

.search-api-page-block-form-search form .form-control,
form.search-api-page-block-form-search .form-control {
  width: 100%;
  border-color: transparent;
  background-color: #f6f6f6;
}

form .form-control,
form .form-number {
  padding: 15px 20px;
  border-radius: 10px;
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 15px;
  color: var(--color-black);
}

input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-results-button,
input[type="search"]::-webkit-search-results-decoration {
  -webkit-appearance: none;
}
form .form-type-checkbox input {
  cursor: pointer;
}

form .form-control:focus,
form .form-number:focus,
form .form-control:focus-visible,
form .form-number:focus-visible {
  box-shadow: 0 4px 10px 3px rgba(15, 63, 108, 0.3);
  outline: #1c1b17;
  border-color: #716c5568;
}

.search-api-page-block-form-search form .form-actions,
form.search-api-page-block-form-search .form-actions {
  position: absolute;
  top: 0;
  right: 14px;
  width: 24px;
  height: 100%;
}

/* .header form .form-actions .search-form__submit.btn-primary,
.header form .form-actions .search-form__submit.btn, */
.search-api-page-block-form-search form .form-actions .btn,
form.search-api-page-block-form-search .form-actions .btn {
  position: relative;
  width: 100%;
  height: 100%;
  padding: 0;
  border: none;
  outline: none;
  background-color: transparent;
  color: transparent;
  font-size: 0;
  transition: all 0.4s ease;
  box-shadow: none;
  background-image: none;
}
form.search-api-page-block-form-search .form-actions {
  right: 20px;
}
.offcanvas .search-api-page-block-form-search form .form-actions .btn::before {
  right: 0;
}
.search-api-page-block-form-search form .form-actions .btn::before,
form.search-api-page-block-form-search .form-actions .btn::before {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 5;
  width: 100%;
  height: 100%;
  background: url("/sites/all/themes/vesta_theme/image/search.svg") center
    center no-repeat;
  content: "";
  background-size: 20px 20px;
  opacity: 1;
}
.dropdown-item.active,
.dropdown-item:active {
  color: var(--color-black);
  text-decoration: none;
  background-color: transparent;
}

.search-api-page-block-form-search form .form-actions .btn:hover,
form.search-api-page-block-form-search .form-actions .btn:hover,
.search-api-page-block-form-search form .form-actions .btn:active,
form.search-api-page-block-form-search .form-actions .btn:active,
.search-api-page-block-form-search form .form-actions .btn:focus,
form.search-api-page-block-form-search .form-actions .btn:focus {
  opacity: 0.75;
}

input[type="radio"],
input[type="checkbox" i] {
  accent-color: var(--color-red);
}
.block-title {
  font-family: var(--second-family);
  font-weight: 400;
  font-size: 64px;
  line-height: 102%;
  color: var(--color-dark);
}
.section {
  margin-bottom: var(--section-margin);
}

.btn-close {
  --bs-btn-close-bg: url("/sites/all/themes/vesta_theme/image/btn-close-w.svg");
}
/* 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 {
  border-color: var(--color-black);
  color: var(--color-black);
}
.pager ul.pagination {
  gap: 10px;
}
.pager__item a,
.page-item .page-link {
  padding: 11px 17px;
  font-size: 17px;
  font-weight: 800;
  border: 1px solid #4c4c4c40;
  background-color: #e9ecef;
  color: #4c4c4c;
  border-radius: 4px;
  display: inline-block;
}
.pager .pager__item.is-active {
  display: none;
}
/* PAGER */
/* MODAL */
.modal-title {
  flex-grow: 1;
  text-align: center;
  margin-left: 32px;
  font-size: 25px;
  color: var(--color-black);
}
.modal-content form .form-type-checkbox input {
}
.wr_content form .form-control,
.modal-content .form-control {
}
.wr_content form .form-actions button {
  margin: auto;
}
.wr_content form .form-type-checkbox input,
.modal-content .form-type-checkbox input {
  border-color: #4c4c4c;
}
.wr_content form .description a,
.modal-content .description a,
.modal-content .description {
  color: var(--color-black);
}
.modal-content form .form-type-checkbox {
  padding: 0;
}
.modal-content .btn-close {
  --bs-btn-close-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414'/%3e%3c/svg%3e");
}
.modal-footer button {
  width: 100%;
}
.modal-body {
  padding-bottom: 0;
}
.modal-content {
  background: linear-gradient(130deg, #dbdadb 0%, #cbccce 100%);
}
/* MODAL */
/* CALLBACK */
/* CONTACTS PAGE */
.body-node--800 .top {
  margin-bottom: 1.5rem;
}
.body-node--800 .col-contacts {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.body-node--800 .contacts {
  flex-direction: column;
}
.body-node--800 .contacts,
.body-node--800 .messengers {
  display: flex;
  gap: 12px;
}
.body-node--800 .contacts__item a:hover {
  color: var(--color-black-h);
}
.body-node--800 .top svg {
  width: 40px;
  height: 40px;
}
.body-node--800 .contacts__item a,
.body-node--800 .contacts__item {
  font-weight: 500;
  font-size: 18px;
  color: var(--color-black);
}
/* CONTACTS PAGE */
form .form-item--error-message {
  display: none !important;
}

form .error {
  border: 1px solid red !important;
  outline: 1px solid red;
}

form .form-item {
  margin-bottom: 14px;
}

form .form-type-checkbox {
  display: flex;
  gap: 24px;
  font-size: 12px;
  margin-top: 16px;
}

form .form-type-checkbox input {
  flex-shrink: 0;
  appearance: none;
  position: relative;
  width: 24px;
  height: 24px;
  border-radius: 6px;
  transition: all 500ms;
  background: #fff;
}

form label {
  display: block;
  margin-bottom: 5px;
  font-weight: 700;
  font-size: 16px;
  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.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-black);
}
/* CALLBACK */
/* *** 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 *** */
@media screen and (max-width: 1199px) {
  .vpa-actions .btn-primary .btn,
  .primary-btn,
  .field--name-field-slide-link a,
  .field--name-taxonomy-term-link a,
  .more-link a,
  .button--primary,
  .second-btn {
  }
  :root {
    --section-margin: 70px;
    --section-margin-service: 60px;
  }
}
@media screen and (max-width: 991px) {
  .body-node--800 .contacts__item a,
  .body-node--800 .contacts__item {
    font-size: 16px;
  }
  .block-content--type-banner .left .field--name-field-knopki {
    padding-top: 25px;
  }
  .vpa-actions .btn-primary,
  .btn,
  .primary-btn,
  .field--name-field-slide-link a,
  .field--name-taxonomy-term-link a,
  .more-link a,
  .button--primary,
  .second-btn {
    font-size: 14px;
  }
  :root {
    --section-margin: 70px;
  }
}
@media screen and (max-width: 767px) {
  :root {
    --section-margin: 65px;
    --section-margin-service: 50px;
  }
}
@media screen and (max-width: 576px) {
  div#vpa-short-wrapper .vpa-actions .btn {
    width: 100%;
  }
  div#vpa-short-wrapper .vpa-actions {
    width: 100%;
  }
  div#vpa-short-wrapper {
    flex-direction: column;
  }
  .more-link a {
    width: 100%;
  }
  :root {
    --section-margin: 30px;
    --section-margin-service: 30px;
  }
}
