@import url("/assets/fonts/open-sans-local.css");

body,
#header,
.hero {
  font-family: "Open Sans", sans-serif;
}

#header .header-slider__shadow,
.hero__shade {
  background: rgba(0, 0, 0, 0.6) !important;
}

.video-bg__box,
.video-bg__video {
  z-index: 0 !important;
  background-color: #1c1916 !important;
  background-image: url("/upload/iblock/fd4/hero-poster.jpg") !important;
  background-size: cover !important;
  background-position: center !important;
}

#header .video-bg__video {
  position: absolute !important;
  inset: 0 !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  transform: none !important;
  object-fit: cover !important;
  object-position: center center !important;
  pointer-events: none !important;
}

#header .video-bg__video::-webkit-media-controls,
#header .video-bg__video::-webkit-media-controls-enclosure,
#header .video-bg__video::-webkit-media-controls-panel,
#header .video-bg__video::-webkit-media-controls-start-playback-button,
#header .video-bg__video::-webkit-media-controls-overlay-play-button {
  display: none !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

#header .header-slider__shadow {
  z-index: 2;
}

#header .header-main-page {
  overflow: hidden;
}

#header.header--video .header-inner-main-page {
  right: 0;
  width: 100%;
  background: #2a241e;
  padding-bottom: 8px;
}

#header.header--video .header-top {
  min-height: 0;
  padding-top: 22px;
  padding-bottom: 8px;
  margin-bottom: 0;
  box-sizing: border-box;
  background: transparent;
}

#header.header--video .header-top > .row {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  width: 100%;
  min-height: 0;
  margin-left: 0;
  margin-right: 0;
}

#header .header-branches {
  display: flex;
  flex: 1 1 auto;
  justify-content: center;
  align-items: flex-start;
  gap: 72px;
  margin: 0 28px;
  color: #f7f7f7;
}

#header .header-branch {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

#header .header-branch__city {
  font-size: 0.9em;
  font-weight: 400;
  line-height: 1.3;
}

#header .header-branch a {
  color: #f7f7f7;
  font-size: 1.2em;
  line-height: 1.25;
  text-decoration: none;
  white-space: nowrap;
}

#header .header-btn-callback {
  display: none;
}

.cms-cookieAccept {
  background: #191f26 !important;
  color: #f4f6f8;
  font-size: 14px;
  line-height: 1.45;
  z-index: 10000;
  box-shadow: 0 -12px 32px rgba(0, 0, 0, 0.28);
}

.cms-cookieAccept .container {
  display: flex;
  align-items: center;
  gap: 28px;
  width: min(1220px, calc(100% - 48px));
  margin: 0 auto;
  padding: 16px 0;
}

.cms-cookieAccept .cookieAccept-content {
  order: 1;
  flex: 1 1 auto;
  margin: 0;
  color: #f4f6f8;
  text-align: left;
}

.cms-cookieAccept .cookieAccept-content p {
  margin: 0;
  color: #f4f6f8;
  text-align: left;
}

.cms-cookieAccept .cookieAccept-content a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cms-cookieAccept .cookieAccept-panel {
  order: 2;
  flex: 0 0 auto;
  margin: 0;
}

.cms-cookieAccept .accept-button {
  min-width: 88px;
  background: #fff !important;
  color: #191f26 !important;
}

.cms-cookieAccept .accept-button:hover,
.cms-cookieAccept .accept-button:focus {
  background: #e7eef5 !important;
  color: #191f26 !important;
  transform: none;
}

a.btn-link,
button.btn-button,
.btn-button,
.services-view-tile__btn-link,
.form-manager__btn,
.section-calc__btn-form,
.footer__btn-callback-link,
.section-projects-list__btn-focus,
.cms-cookieAccept .accept-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 22px;
  border: 0;
  border-radius: 4px;
  background: #00569c !important;
  color: #fff !important;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.2;
  text-decoration: none;
  box-shadow: none !important;
  cursor: pointer;
  opacity: 1;
  transition: background-color 180ms ease, transform 180ms ease;
}

a.btn-link:hover,
a.btn-link:focus,
a.btn-link:active,
.btn-link:hover,
.btn-link:focus,
.btn-link:active,
button.btn-button:hover,
button.btn-button:focus,
button.btn-button:active,
.btn-button:hover,
.btn-button:focus,
.btn-button:active,
.services-view-tile__btn-link:hover,
.services-view-tile__btn-link:focus,
.form-manager__btn:hover,
.form-manager__btn:focus,
.form-manager__btn:active,
.section-calc__btn-form:hover,
.section-calc__btn-form:focus,
.footer__btn-callback-link:hover,
.footer__btn-callback-link:focus,
.header-btn-zayvka__link:hover,
.header-btn-zayvka__link:focus,
.header-btn-zayvka__link:active {
  background-color: #004a86 !important;
  background-image: none !important;
  color: #fff !important;
  opacity: 1 !important;
  outline: none !important;
  box-shadow: none !important;
  text-decoration: none !important;
  transform: none;
}

.btn:focus,
.btn:active:focus,
.btn.active:focus,
.btn-link:focus,
.btn-link:focus-visible,
.btn-button:focus,
.btn-button:focus-visible,
button:focus,
button:focus-visible,
a.btn-link:focus,
a.btn-link:focus-visible,
a.btn-link:active {
  outline: none !important;
  outline-style: none !important;
  box-shadow: none !important;
}

.section-projects-list__btn-focus {
  opacity: 0;
}

.section-projects-list__btn-focus,
.section-projects-list__link:hover .section-projects-list__btn-focus,
.section-projects-list__btn-focus:hover,
.section-projects-list__btn-focus:focus {
  background: #00569c !important;
  background-image: none;
  box-shadow: none !important;
  transform: translate(-50%, -50%);
}

.section-projects-list__link:hover .section-projects-list__btn-focus,
.section-projects-list__btn-focus:hover,
.section-projects-list__btn-focus:focus {
  opacity: 1;
}

.cms-cookieAccept .accept-button {
  background: #fff !important;
  color: #191f26 !important;
}

@media (max-width: 720px) {
  .cms-cookieAccept .container {
    flex-direction: column;
    align-items: stretch;
    width: calc(100% - 32px);
    gap: 14px;
  }

  .cms-cookieAccept .accept-button {
    width: 100%;
  }
}

#header .header-top .header-phone__link--branch {
  display: block;
  margin-top: 6px;
  font-size: 15px;
  line-height: 1.3;
}

.head_slide {
  height: 50px;
  overflow: hidden;
}

.head_slide .hdslide_contact {
  display: flex;
  align-items: center;
  height: 50px;
  margin-top: 0;
}

.head_slide {
  overflow: visible;
}

.head_slide .header-fix-phone > a.header-phone__link:not(.header-phone__link--branch) {
  display: none;
}

.head_slide .header-phone__link--branch {
  display: inline;
  margin: 0;
  font-size: 16px;
  line-height: 50px;
  white-space: nowrap;
}

.head_slide .header-phone__popup {
  z-index: 5;
}

.head_slide .hdslide_contact_zayvka a.btn-link,
.head_slide .hdslide_contact_zayvka a.btn-link:hover,
.head_slide .hdslide_contact_zayvka a.btn-link:focus {
  height: 50px;
  min-height: 50px;
  padding: 0 18px;
  border-radius: 0;
  transform: none;
}

.wrapper-inner:not(:has(#sidebar a)) {
  display: block;
}

.wrapper-inner:not(:has(#sidebar a)) > #sidebar {
  display: none;
}

.content-box .video-js,
.content-box video {
  width: min(100%, 960px) !important;
  max-width: 100%;
  height: auto !important;
  aspect-ratio: 16 / 9;
  margin: 8px 0 28px;
  background: #14181d;
}

.content-box .video-js .vjs-tech {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.header-address__text {
  font-weight: 600;
}

.form-manager__input,
select.form-manager__input {
  display: block;
  width: 100%;
  margin: 0 0 12px;
  box-sizing: border-box;
}
