body,
html {
  margin: 0;
  min-height: 100%;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
* {
  box-sizing: border-box;
  outline: none;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

a {
  transition: 0.2s;
}
svg {
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

.page {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
  overflow: hidden;
  min-height: calc(100vh - 141px);
  background-image: url(../img/bg-l-n.png), url(../img/bg.png);
  background-repeat: no-repeat, no-repeat;
  background-position: 0 0, 0 0;
  background-size: 28% auto, cover;
  position: relative;
}
@media (max-width: 767px) {
  .page {
    min-height: calc(100vh - 180px);
    background-size: 20% auto, cover;
  }
}

.page:before {
  content: "";
  display: block;
  width: 100%;
  height: 1664px;
  position: absolute;
  left: 0;
  bottom: 0;
  background: url(../img/bg-b-n.png) 0 calc(100% + 1600px) no-repeat;
  background-size: 100% auto;
}
@media screen and (max-width: 2000px) {
  .page:before {
    background: url(../img/bg-b-n.png) 0 calc(100% + 1400px) no-repeat;
    background-size: 100% auto;
  }
}
@media screen and (max-width: 1400px) {
  .page:before {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    bottom: 0;
    background: url(../img/bg-b-n.png) 0 calc(100% + 400px) no-repeat;
    background-size: 100% auto;
  }
}

.header__inner {
  max-width: 960px;
  padding-left: 40px;
  padding-right: 40px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  z-index: 1;
  height: 209px;
}
@media (max-width: 767px) {
  .header__inner {
    padding-left: 15px;
    padding-right: 15px;
    height: 120px;
  }
}

.header__logo {
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 65%;
}
@media (max-width: 1450px) {
  .header__logo {
    max-width: 55%;
  }
}

.header__logo img {
  max-width: 100%;
  display: block;
}

.header-nav__btn {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 104px;
  height: 40px;
  background: #ffffff;
  border-radius: 5px;
  color: #00006e;
  font-family: "Open Sans";
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  position: absolute;
  right: 100px;
}
@media (max-width: 1450px) {
  .header-nav__btn {
    margin-left: 40px;
    right: auto;
    position: relative;
  }
}
@media (max-width: 767px) {
  .header-nav__btn {
    width: 80px;
    font-size: 12px;
    margin-left: 30px;
  }
}

.page__main {
  display: flex !important;
  flex-direction: column;
  flex-grow: 1;
  width: 100%;
  position: relative;
  min-height: calc(100vh - 141px);
  /* z-index: 1; ломает снекбар .MuiSnackbar-root (отображается под диалоговым окном в создании из кабинета) */
  /* z-index: 1; */
}
@media (max-width: 767px) {
  .page__main {
    min-height: calc(100vh - 180px);
  }
}

.footer {
  position: relative;
  z-index: 1;
}

.footer__inner {
  max-width: 960px;
  padding-left: 40px;
  padding-right: 40px;
  height: 141px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: #ffffff;
  border-radius: 20px 20px 0px 0px;
}
@media (max-width: 767px) {
  .footer__inner {
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap;
    height: 180px;
    flex-direction: column;
    justify-content: center;
  }
}

@media (max-width: 767px) {
  .footer__item {
    width: 100%;
  }
}

.footer__item p {
  margin: 0;
  margin-bottom: 10px;
  text-align: center;
  font-family: "Open Sans";
  font-weight: 700;
  font-size: 14px;
  line-height: 1;
  color: #00006e;
}

.footer__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  text-decoration: none;
  max-width: 100%;
  width: 318px;
  height: 45px;
  border: 1px solid #00006e;
  border-radius: 8px;
  font-family: "Open Sans";
  font-weight: 500;
  font-size: 14px;
  line-height: 1;
  color: #00006e;
}
@media (max-width: 767px) {
  .footer__btn {
    margin: 0 auto;
    margin-left: auto !important;
    margin-right: auto !important;
  }
}

@media (max-width: 767px) {
  .footer__item__logo {
    max-width: 50%;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 20px;
  }
}

.footer__item__logo img {
  max-width: 100%;
}
@media (max-width: 767px) {
  .footer__item__logo img {
    margin: 0 auto;
    display: block;
  }
}

.footer__btn img {
  margin-right: 8px;
  display: block;
  min-width: 20px;
}

.footer__btn span {
  text-decoration: underline;
  padding-left: 15px;
  margin-left: 15px;
  border-left: 1px solid #00006e;
  height: 20px;
  display: flex;
  align-items: center;
}

#exit {
  cursor: pointer;
}

.disable {
  display: none !important;
}

.MuiCircularProgress-root {
  color: #fff !important;
}
.CircularContainer svg circle {
  stroke: #fff;
}
