:root {
  /* Size */
  --xlg-page-width: 1200px;
}


.page {
  width: calc(var(--xlg-page-width) - 30px);
  margin-left: auto;
  margin-right: auto;
  padding-left: 15px;
  padding-right: 15px;
  margin-top: 90px;
  margin-bottom: 100px;
}

@media (max-width: 1200px) {
  .page {
    width: calc(100% - 30px);
  }
}

.page__title {
  font-size: 34px;
  line-height: 46px;
  text-transform: uppercase;
  color: #364b85;
  font-weight: 400;
}


@media (max-width: 768px) {
  .page {
    margin-top: 20px;
  }

  .page__title {
    font-size: 22px;
  }
}

.page__breadcrumbs {
  font-size: 14px;
  line-height: 28px;
  color: #617073;
  font-weight: 400;
  margin-top: 25px;
}

.page__breadcrumbs-prev {
  text-decoration: underline;
  color: #617073;
}

.page__content {
  margin-top: 55px;
}

.page__pagination {
  width: 100%;
  display: flex;
  justify-content: center;
}

.page-numbers {
  font-size: 15px;
  border-radius: 0 !important;
  color: #577c9b;
  border: 1px solid white !important;
}

.page__pagination .active {
  background-color: #577c9b;
}

/* List > */
.list {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .list {
    flex-direction: column;
  }
}

.list__item {
  width: calc(50% - 30px);
  text-decoration: none;
  margin-bottom: 60px;
}

.list__item:hover {
  opacity: 0.8;
  text-decoration: none;
}

@media (max-width: 1200px) {
  .list__item {
    width: 600px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 610px) {
  .list__item {
    padding-left: 0;
    padding-right: 0;
    width: calc(100% - 30px);
  }

  .list__image img {
    width: 100%;
    height: auto;
  }
}

.list__image-src {
  width: auto;
  height: auto;
}

.list__name {
  font-size: 22px;
  line-height: 32px;
  text-transform: uppercase;
  color: #364b85;
  font-weight: 400;
  margin-top: 40px;
}
/* < List */

/* Message > */
.message-page {
  height: 40vh;
}

.message {
  font-size: 16px;
}

.message__main-page {
  color: #577c9b;
}
/* < Message */

/* Contacts > */
.contacts {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.contacts__text {
  width: 50%;
}

.contacts__org-name {
  font-size: 20px;
  color: #181717;
  font-weight: 400;
}

.contacts__org-phone {
  font-size: 20px;
  color: #181717;
  font-weight: 400;
  text-decoration: none;
  margin-top: 30px;
}

.contacts__org-address {
  font-size: 16px;
  margin-top: 30px;
}

.contacts__org-email {
  font-size: 16px;
  margin-top: 40px;
}

.contacts__org-inn {
  font-size: 16px;
  margin-top: 40px;
}

.contacts__map {
  width: 50%;
}

@media (max-width: 1200px) {
  .contacts {
    flex-direction: column;
  }

  .contacts__text {
    width: 100%;
  }

  .contacts__map {
    width: 100%;
    margin-top: 40px;
    overflow: hidden;
  }
}

@media (max-width: 768px) {
  .contacts__map-image {
    width: 100%;
    height: auto;
  }
}
/* < Contacts */

/* Service > */
.service__text {
  font-size: 15px;
  line-height: 25px;
  color: #181717;
  font-weight: 400;
}
/* < Service */

/* Docs > */
.docs-slider-container {
  position: relative;
  width: 400px;
  margin-left: auto;
  margin-right: auto;
}

.docs-slider {
  width: 100%;
  z-index: 20;
}

.docs-slider__slide-text {
  font-size: 14px;
  color: #617073;
  font-weight: 400;
  text-align: center;
  margin-top: 35px;
}

.docs-slider__arrows {
  position: absolute;
  width: inherit;
  height: inherit;
  top: 50%;
  z-index: 10;
}

.docs-slider__arrows-inner {
  position: relative;
}

.docs-slider__arrow {
  position: absolute;
  height: 30px;
  cursor: pointer;
}

.docs-slider__arrow:hover {
  opacity: 0.8;
}

.docs-slider__arrow-left {
  left: -120px;
}

.docs-slider__arrow-right {
  transform: rotate(180deg);
  right: -120px;
}

@media (max-width: 768px) {
  .docs-slider__arrows {
    position: initial;
    width: 60%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 50px;
  }

  .docs-slider__arrows-inner {
    display: flex;
    justify-content: space-between;
  }

  .docs-slider__arrow {
    position: initial;
  }
}

@media (max-width: 768px) {
  .docs-slider-container {
    width: calc(100% - 30px);
    padding-left: 15px;
    padding-right: 15px;
  }

  .docs-slider__slide-img {
    width: 100%;
    height: auto;
  }
}
/* < Docs */
