﻿@import url(css/contacts.css);
@import url(css/cases-card.css);
@import url(css/gallery.css);
@import url(css/technology.css);
@import url(css/arrows.css);
@import url(css/banners.css);

html {
  scroll-behavior: smooth !important;
}

body {
  font-family: var(--font-primary);
  font-size: var(--font-size-base);
  color: var(--color-black);
  letter-spacing: 0.6px;
}

/*FONT FAMILY*/
.u-font-default {
  font-family: var(--font-default);
}
.u-font-primary {
  font-family: var(--font-primary);
}
.u-font-secondary {
  font-family: var(--font-secondary);
}
/*FONT FAMILY END*/

/*FONT SIZE*/
.u-text {
  font-size: var(--font-size-base);
}
.u-text-small {
  font-size: var(--font-size-small);
}
.u-subtitle-second {
  font-size: var(--font-size-subtitle);
}
.u-subtitle-third {
  font-size: var(--font-size-base-large);
}
/*FONT SIZE END*/

/*TEXT COLORS*/
.u-text-primary {
  color: var(--color-primary);
}
.u-text-primary-light {
  color: var(--color-primary-light);
}
.u-text-primary-dark {
  color: var(--color-primary-dark);
}
.u-text-black {
  color: var(--color-black);
}
.u-text-gray {
  color: var(--color-gray);
}
.u-text-gray-light {
  color: var(--color-gray-light);
}
.u-text-gray-dark {
  color: var(--color-gray-dark);
}
/*TEXT COLORS END*/

button {
  letter-spacing: 0.6px;
}

a {
  text-decoration: none;
  color: var(--color-link);
}

/*Font-size*/
.u-font-size-large {
  font-size: var(--font-size-large);
}

.navbar-dark.navbar-main.navbar-fixed .navbar-brand,
.navbar-dark.navbar-main.navbar-fixed .navbar-nav a {
  color: var(--color-primary);
}

.fixed-top {
  z-index: 899 !important;
}

.navbar-dark .navbar-brand,
.navbar-brand,
.navbar-dark.bg-dark .navbar-brand,
.navbar-brand.brand-white {
  content: var(--u-brand-white);
  max-height: 55px;
}

.navbar-fixed .navbar-brand,
.navbar-brand {
  content: var(--u-brand-dark);
}

.navbar-fixed .navbar-brand,
.navbar-fixed.bg-dark .navbar-brand,
.navbar-brand.brand-white {
  max-height: 45px;
}

.bg-dark {
  background-color: var(--color-black);
}

button.u-hamburger {
  display: block;
  border: none;
  background: none;
  outline: 0;
  padding: 1rem;
  cursor: pointer;
}

.u-hamburger-icon {
  display: block;
  width: 50px;
  height: 2px;
  background: var(--bs-navbar-brand-color);
  position: relative;
  -webkit-animation-duration: 300ms;
  animation-duration: 300ms;
  -webkit-animation-timing-function: ease-in-out;
  animation-timing-function: ease-in-out;
}

.navbar:not(.navbar-dark) .u-hamburger-icon,
.navbar-fixed .u-hamburger-icon {
  background: var(--color-primary-dark);
}

.navbar.navbar-dark.bg-dark .u-hamburger-icon {
  background: white;
}

.u-hamburger-icon:before,
.u-hamburger-icon:after {
  display: block;
  width: inherit;
  height: 2px;
  position: absolute;
  background: inherit;
  left: 0;
  content: "";
  -webkit-animation-duration: 300ms;
  animation-duration: 300ms;
  -webkit-animation-timing-function: ease-in-out;
  animation-timing-function: ease-in-out;
}

.u-hamburger-icon:before {
  bottom: 400%;
}

.u-hamburger-icon:after {
  top: 400%;
}

.nav:not(.footer-menu) .nav-item {
  padding-bottom: 5px;
}

.nav-link,
.navbar-fixed.bg-dark .nav-link {
  color: var(--bs-navbar-brand-color);
  line-height: 1.1;
}

.nav-link:focus,
.nav-link:hover {
  color: var(--color-primary-light) !important;
}

.navbar:not(.navbar-dark) .nav-link {
  color: var(--color-primary-dark);
}

.navbar.footer-menu .nav-link {
  color: white;
}

/* .navbar-dark .nav-link{
    color: var(--color-black);
} */

.navbar-fixed .nav-link {
  color: var(--color-primary-dark);
}

.fixed-top .nav-link {
  text-transform: uppercase;
}

.offcanvas.offcanvas-end {
  width: 100%;
}

@media (min-width: 992px) {
  .offcanvas.offcanvas-end {
    width: 75%;
  }
}

.offcanvas-backdrop {
  background-image: url(./images/logo_w.svg);
  background-position: 10% 100px;
  background-repeat: no-repeat;
  background-size: auto 50px;
}

.offcanvas-backdrop.show {
  opacity: 0.99;
}

.masthead {
  position: relative;
  padding-top: 10rem;
  padding-bottom: calc(10rem - 4.5rem);
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: scroll;
  background-size: cover;
}
.masthead h1 {
  color: white;
}

.bg-cover,
.bg-body {
  background-image: url(./images/bg-head.jpg);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}

.bg-cover {
  width: auto;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  overflow: hidden;
}

.bg-overlay {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}

.bg-overlay:before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #212121;
  opacity: 0.7;
}

.bg-video {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  /* z-index: 1; */
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.bg-video video {
  position: absolute;
  left: 50%;
  top: 54%;
  transform: translate(-50%, -50%);
  min-width: 100%;
  min-height: 100%;
}

/* #video_background{
    position: absolute;
    left: 50%!important;
    top: 54%!important;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
} */

.navbar-fixed {
  /* box-shadow: 0 4px 12px rgba(148, 163, 184, 0.12); */
  box-shadow: 0 0.5rem 1rem rgba(148, 163, 184, 0.25);
  background-color: #fff;
}

.u-navbar__text {
  color: var(--color-primary);
  font-family: var(--font-primary);
  font-size: var(--font-size-base);
  letter-spacing: 0.96px;
  text-transform: uppercase;
}

.navbar.fixed-top:not(.navbar-dark),
.navbar.navbar-dark.navbar-fixed {
  /* background: linear-gradient(rgba(208, 208, 208, 0.15), rgba(255, 255, 255, 0)), #fff; */
}

.bg-main:not(.navbar-fixed) {
  background-color: transparent !important;
}

@media (min-width: 992px) {
  header.masthead {
    height: 100vh;
    min-height: 40rem;
    padding-top: 4.5rem;
    padding-bottom: 0;
  }
}

@media (max-width: 1399.98px) {
  .breadcrumb {
    flex-wrap: wrap !important;
  }
}

@media (max-width: 991.98px) {
  body {
    font-size: var(--font-size-base-small);
  }

  .u-text {
    font-size: var(--font-size-base-small);
  }

  .u-subtitle-third {
    font-size: var(--font-size-base);
  }
}

@media (max-width: 767.98px) {
  body {
    font-size: var(--font-size-small);
  }

  .u-text {
    font-size: var(--font-size-small);
  }

  .u-text-small {
    font-size: var(--font-size-extra-small);
  }

  .u-subtitle-second {
    font-size: var(--font-size-subtitle-medium);
  }

  .u-subtitle-third {
    font-size: var(--font-size-base-small);
  }
}

@media (max-width: 575.98px) {
  body {
    font-size: var(--font-size-extra-small);
  }

  .u-text {
    font-size: var(--font-size-extra-small);
  }

  .u-subtitle-second {
    font-size: var(--font-size-subtitle-small);
  }

  .u-subtitle-third {
    font-size: var(--font-size-small);
  }
}

.masthead .arrow {
  display: inline-block;
  position: absolute;
  bottom: 20px;
  margin: auto;
  left: 0;
  right: 0;
  width: 6em;
  height: 6em;
  border: 1px solid white;
  border-radius: 4px;
  opacity: 0.4;
  z-index: 1;
}

.masthead .arrow span {
  position: absolute;
  margin: auto;
  padding: 1.75em;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
}

.masthead .arrow:hover {
  border-color: var(--color-primary);
}

.masthead .arrow:hover .u-arrow__down__white {
  background-image: var(--u-icon-arrow-down-primary);
}

.page-section {
  padding-top: 6rem;
  min-height: 500px;
  padding-bottom: 4rem;
  overflow: hidden;
}

.u-title {
  font-family: var(--font-secondary);
  font-size: var(--font-size-title);
  font-weight: 400;
  line-height: normal;
}

.masthead .container {
  position: relative;
  z-index: 1;
}

.offcanvas-header .btn-close {
  width: 2.5em;
  height: 2.5em;
  background-size: 2.5em;
  --bs-btn-close-color: var(--color-primary);
  --bs-btn-close-bg: var(--u-icon-close-primary);
  --bs-btn-close-opacity: 1;
  padding: 0;
}
/* Breadcrumb */
.breadcrumb {
  flex-wrap: nowrap;
}
.breadcrumb-item a {
  color: var(--color-gray);
}
.breadcrumb-item.active {
  color: var(--color-link);
}
.breadcrumb-item + .breadcrumb-item::before {
  content: "›";
  font-size: 1.5em;
  line-height: 0.9em;
  padding: 0 0.7em 0 0.5em;
  color: var(--color-primary);
}

.u-bg-logo {
  position: relative;
}

.u-bg-logo:before {
  position: absolute;
  content: "";
  z-index: -1;
  width: 100%;
  top: 15%;
  right: -30%;
  bottom: 0;
  background-image: var(--u-brand-gray);
  background-repeat: no-repeat;
  background-size: 80%;
  /* background-position: 98% 15%; */
}

/* SUBTITLE */
.u-subtitle__upper {
  font-family: var(--font-secondary);
  font-weight: 400;
  font-size: var(--font-size-title);
  line-height: 56px;
}

.u-subtitle__top-text,
.u-subtitle__lower {
  font-weight: 400;
  font-size: var(--font-size-base);
  line-height: 28px;
}
@media (max-width: 1199.98px) {
  .u-subtitle__upper,
  .u-title {
    font-size: var(--font-size-title-medium);
    line-height: 46px;
  }
}

@media (max-width: 991.98px) {
  .u-subtitle {
    line-height: 0;
  }

  .u-subtitle__upper,
  .u-title {
    font-size: var(--font-size-title-small);
    line-height: 46px;
  }

  .u-subtitle__lower,
  .u-subtitle__top-text {
    font-size: var(--font-size-base-small);
  }
}

@media (max-width: 767.98px) {
  .u-subtitle__upper,
  .u-title {
    font-size: var(--font-size-title-extra-small);
    line-height: 40px;
  }

  .u-subtitle__lower,
  .u-subtitle__top-text {
    font-size: var(--font-size-small);
  }
}

@media (max-width: 575.98px) {
  .u-subtitle__upper,
  .u-title {
    font-size: var(--font-size-title-extra-small);
    line-height: 30px;
  }
}

/* END SUBTITLE */

.u-button-base,
.u-button-table,
.u-button-small {
  display: inline-block;
  margin-top: 10px;
  padding: 10px 55px;
  border-radius: 4px;
  border: 1px solid var(--color-primary);
  color: var(--color-black);
  text-transform: uppercase;
  text-decoration: none;
  background: white;
}

.u-button-base:hover {
  background-color: var(--color-primary);
  color: white;
}

.u-button-small {
  font-size: var(--font-size-small);
}

.u-button-base.selected,
.u-button-table.selected,
.u-button-small.selected,
.u-button-base.active,
.u-button-table.active,
.u-button-small.active {
  background: var(--color-primary);
  color: #fff;
}

nav .u-button-base,
nav .u-button-table,
nav .u-button-small {
  margin-right: 0.5rem;
}

:not(i).u-icon,
:not(i).u-icon__after::after {
  display: inline-block;
  width: 0.8em;
  height: 0.8em;
  background-repeat: no-repeat;
  background-size: contain;
}

:not(i).u-icon__after {
  position: relative;
  background-image: none;
}

:not(i).u-icon__after::after {
  content: "";
  position: absolute;
  margin: auto;
  top: 0;
  right: 1em;
  bottom: 0;
}

:not(i).u-arrow__down__black,
.u-arrow__down__black::after {
  background-image: var(--u-icon-arrow-down-black);
}

:not(i).u-arrow__up__black,
.u-arrow__up__black::after {
  background-image: var(--u-icon-arrow-up-black);
}

:not(i).u-arrow__left__black,
.u-arrow__left__black::after {
  background-image: var(--u-icon-arrow-left-black);
}

:not(i).u-arrow__right__black,
.u-arrow__right__black::after {
  background-image: var(--u-icon-arrow-right-black);
}

:not(i).u-arrow__down__primary,
.u-arrow__down__primary::after {
  background-image: var(--u-icon-arrow-down-primary);
}

:not(i).u-arrow__up__primary,
.u-arrow__up__primary::after {
  background-image: var(--u-icon-arrow-up-primary);
}

:not(i).u-arrow__left__primary,
.u-arrow__left__primary::after {
  background-image: var(--u-icon-arrow-left-primary);
}

.u-arrow__right__primary,
.u-arrow__right__primary::after {
  background-image: var(--u-icon-arrow-right-primary);
}

.u-arrow__down__white,
.u-arrow__down__white::after {
  background-image: var(--u-icon-arrow-down-white);
}

.u-arrow__up__white,
:not(i).u-arrow__up__white::after {
  background-image: var(--u-icon-arrow-up-white);
}

.u-arrow__left__white,
:not(i).u-arrow__left__white::after {
  background-image: var(--u-icon-arrow-left-white);
}

.u-arrow__right__white,
:not(i).u-arrow__right__white::after {
  background-image: var(--u-icon-arrow-right-white);
}

.u-arrow__up__primary__bold,
:not(i).u-arrow__up__primary__bold::after {
  background-image: var(--u-icon-arrow-up-primary-bold);
}

.u-arrow__right__primary__bold,
:not(i).u-arrow__right__primary__bold::after {
  background-image: var(--u-icon-arrow-right-primary-bold);
}

.u-arrow__down__primary__bold,
:not(i).u-arrow__down__primary__bold::after {
  background-image: var(--u-icon-arrow-down-primary-bold);
}

.u-arrow__left__primary__bold,
:not(i).u-arrow__left__primary__bold::after {
  background-image: var(--u-icon-arrow-left-primary-bold);
}

.u-arrow__down__white__bold,
:not(i).u-arrow__down__white__bold::after {
  background-image: var(--u-icon-arrow-down-white-bold);
}

.u-arrow__up__white__bold,
:not(i).u-arrow__up__white__bold::after {
  background-image: var(--u-icon-arrow-up-white-bold);
}

.u-arrow__left__white__bold,
:not(i).u-arrow__left__white__bold::after {
  background-image: var(--u-icon-arrow-left-white-bold);
}

.u-arrow__right__white__bold,
:not(i).u-arrow__right__white__bold::after {
  background-image: var(--u-icon-arrow-right-white-bold);
}

.u-arrow__link__primary {
  background-image: var(--u-icon-link-primary);
}

.nav-btn:not(i).u-icon__after::after {
  width: 1.5em;
  height: 1.5em;
  left: 0;
  right: 0;
}

/* Form Inputs */
.form-check {
  margin-bottom: 0.5rem;
}

.form-control {
  border-top: 0;
  border-left: 0;
  border-right: 0;
  border-radius: 0;
  padding-left: 0;
  padding-right: 0;
  border-color: var(--color-primary);
  color: var(--color-gray);
}

.form-control:focus,
.form-check-input:focus {
  box-shadow: none;
  border-color: var(--color-gray);
}

.form-control::-webkit-input-placeholder {
  color: var(--color-gray);
}

.form-control:-moz-placeholder {
  color: var(--color-gray);
}

.form-check {
  padding-left: 2em;
}

.form-check-input {
  border-color: var(--color-primary);
  border-width: 2px;
  width: 20px;
  height: 20px;
}

.form-check .form-check-input {
  margin-left: -2em;
}

.form-check-input[type="checkbox"] {
  border-radius: 0.15rem;
}

.form-check-input:checked {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
}

/* Footer */
.footer-social {
  margin-top: 12px;
}
.footer-social .icon-link {
  padding-right: 20px;
}
i.u-icon {
  width: 58px;
  height: 42px;
  display: block;
  position: relative;
}

i.u-icon:after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

i.youtube:after {
  background-image: url(images/icons/youtube.svg);
}

i.vk:after {
  background-image: url(images/icons/vk.svg);
}

.section-contacts {
  background-image: url(images/bg-contacts.jpg);
  background-repeat: no-repeat;
  background-size: cover;
}

.u-cont__title-white,
.u-cont__subtitle-white {
  color: white;
  padding-bottom: 20px;
}

/* квадратные блоки */
.u-square-wrap {
  position: relative;
  /* position:relative;
    overflow:hidden;
    padding-bottom:100%; */
  /* height: 0; */
  padding-bottom: 75%;
}

.u-square {
  position: absolute;
  width: 100%;
  height: 100%;
  background-position: top center;
  background-size: cover;
  max-width: 100%;
  max-height: 100%;
  top: 0;
  left: 0;
  /* border-radius: 50%; */
}

/*Для компоненты modal*/
.modal-content {
  padding: 40px;
}

.modal-title {
  line-height: 110%;
}

.u-modal .modal-dialog {
  max-width: 720px;
}

.u-modal .modal-dialog .modal-content .modal-header {
  justify-content: center;
  text-align: center;
  border-bottom: none;
}

.u-modal .modal-dialog .modal-content .modal-footer {
  border-top: none;
}

.u-modal .modal-dialog .modal-content .modal-body {
  padding: 0;
}

.u-modal__input {
  color: var(--color-gray);
}

.u-modal__button {
  padding: 14px 30px;
  border-radius: 8px;
  border: 2px solid var(--color-primary);
  background-color: white;
  text-transform: uppercase;
}

.u-modal__button:hover {
  background-color: var(--color-primary);
  color: white;
}

.u-modal__text_agreement_link {
  color: var(--color-primary);
}

.u-modal__consent input[type="checkbox"] {
  appearance: none;
  background-color: #fff;
  margin: 0;
  font: inherit;
  color: var(--color-primary);
  width: 22px !important;
  height: 1.45em;
  border: 0.15em solid var(--color-primary);
  border-radius: 0.15em;
  transform: translateY(-0.075em);
  display: grid;
  place-content: center;
  margin-top: 4px;
}

.u-modal__consent input[type="checkbox"]::before {
  content: "";
  width: 0.65em;
  height: 0.65em;
  transform: scale(0);
  transition: 120ms transform ease-in-out;
  box-shadow: inset 1em 1em var(--color-primary);
  transform-origin: bottom left;
  clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
}

.u-modal__consent input[type="checkbox"]:checked::before {
  transform: scale(1);
}

.u-modal-file__name {
  color: var(--color-primary);
}

.u-modal-file__name .u-modal-file__name-second {
  color: var(--color-gray);
}

.u-modal__drop-zone {
  border-radius: 8px;
  border: 1px dashed var(--hover, #acbaff);
  margin-top: 12px;
  padding: 5px 20px;
}

.u-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
}

#nameFile {
  display: none;
}

#errorFile {
  display: none;
}

.u-custom-file-upload input {
  display: none;
}

.u-custom-file-upload {
  color: var(--color-primary);
  display: inline-block;
  padding: 6px 12px;
  cursor: pointer;
}

.u-custom-file-upload span {
  border-bottom: 1px dashed var(--color-primary);
}

.container .container {
  padding: 0;
}

/********************************************************************************
Адаптивка
*********************************************************************************/

@media (max-width: 991.98px) {
  .card-body {
    padding: 0;
  }

  .masthead .arrow {
    width: 4.45em;
    height: 4.45em;
  }

  .masthead .arrow span {
    padding: 1.25em;
  }

  .u-modal .modal-dialog {
    max-width: 598px;
  }
}

@media (max-width: 767.98px) {
  .u-cont__phone {
    padding-top: 48px;
  }

  .u-modal .modal-dialog {
    max-width: 492px;
  }

  .u-modal__button {
    padding: 7px 15px;
  }

  #fileNameF,
  .u-modal-file__name div div img {
    display: none;
  }

  .footer-social .icon-link {
    padding-right: 15px;
  }
  i.u-icon {
    width: 44px;
    height: 32px;
    display: block;
    position: relative;
  }
}

@media (max-width: 575.98px) {
  .u-cont__title-white,
  .u-cont__subtitle-white {
    padding-bottom: 8px;
  }

  .u-cont__phone {
    padding-top: 0;
  }

  .masthead .arrow {
    width: 4em;
    height: 4em;
  }

  .masthead .arrow span {
    padding: 1em;
  }
}

footer .accordion-button {
  background: none !important;
  box-shadow: none !important;
}
footer .accordion-button.accordion-button::after {
  background-image: var(--u-icon-arrow-down-white-bold);
}
footer .accordion-button.accordion-button:not(.collapsed)::after {
  background-image: none;
}
footer .accordion-button:focus {
  border: none !important;
  box-shadow: none;
}

.requestForm label:hover {
  color: var(--color-primary);
  cursor: pointer;
}
.requestForm label:active {
  color: var(--color-primary-dark);
}
.requestForm input[type="checkbox"]:hover {
  background-color: var(--color-primary-bright);
  cursor: pointer;
}
.requestForm input[type="checkbox"]:checked:hover {
  background-color: var(--color-primary);
  cursor: pointer;
}
