.am-content-header-title {
  font-size: 2.19rem !important;
  line-height: 1.3;
  margin-bottom: 2rem;
  margin-top: 1.5rem;
}

.am-content-header-btn {
  border-color: #f8f9fa !important;
  background-color: transparent !important;
  margin: 7rem 0 1rem;
}

.am-content-header-btn:hover {
  border: 1px solid #ef0f33 !important;
  background-color: #ef0f33 !important;
}

#investmap {
  margin-bottom: 50px;
}

.special__wrapper #investmap {
  margin-bottom: 0;
}

.am-min-tab-graph-comment {
  padding-left: 2rem;
}

.am-min-tab-graph {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  -webkit-box-ordinal-group: 2;
  -ms-flex-order: 1;
  order: 1;
  max-width: 100%;
  padding-left: 0;
  position: relative;
}

@media (max-width: 991px) {
  .am-min-tab-graph {
    display: none;
  }

  .am-min-tab-graph-comment {
    display: none;
  }
}

.am-min-tabs {
  display: flex;
  align-items: center;
}

.am-min-tab-graph-canvas {
  max-width: 58.333333%;
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
  position: relative;
}

.am-min-tab-graph-canvas_transport {
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  max-width: 50%;
  position: relative;
  padding-right: 15px;
}

.am-min-tab-cities {
  padding-bottom: 1.5rem;
  height: 100%;
  width: 100%;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.am-min-tab-cities-value {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.am-min-tab-cities-title {
  width: -webkit-max-content;
  width: -moz-max-content;
  width: max-content;
  font-size: 20px;
  font-weight: 700;
  text-align: center;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  margin-bottom: 1.5rem;
  margin-top: .5rem;
}

.am-min-tab-graph-description {
  padding-left: 3rem;
  margin-left: 3rem;
  margin-top: 3rem;
}

.am-min-tab-graph-description-value {
  font-family: 'Bebas Neue';
  font-weight: bold;
  margin-bottom: 1.5rem;
  -webkit-box-align: end;
  -ms-flex-align: end;
  align-items: flex-end;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.am-min-tab-graph-description-list {
  padding-left: 3rem;
  margin-left: 3rem;
  -webkit-box-flex: 0;
  -ms-flex: 0 0 33.333333%;
  flex: 0 0 33.333333%;
  max-width: 33.333333%;
  position: relative;
  width: 100%;
  padding-right: 15px;
}

.am-min-tab-graph-list-item {
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  padding-left: 0;
  margin-bottom: 1rem;
  -webkit-box-flex: 0;
  -ms-flex: 0 0 58.333333%;
  flex: 0 0 58.333333%;
  max-width: 75%;
  position: relative;
  width: 100%;
  padding-right: 15px;
}

.square-1, .square-2, .square-3, .square-4, .square-5 {
  margin-bottom: 0;
}

.am-min-tab-graph-list-link {
  padding-top: 3rem;
  margin-top: 3rem;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.am-min-tab-graph-list-items {
  padding-top: 3rem;
  margin-top: 3rem;
  margin-bottom: 1.5rem;
  height: 25%;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  display: -ms-flexbox;
  display: -webkit-box;
  display: flex;
}

.am-min-tab-graph-text {
  color: #767676;
  font-size: 14px;
  padding-left: 0;
  margin-left: 1rem;
  margin-bottom: 0;
  margin-top: 0;
}

.am-min-tab-graph-description-number {
  color: #ef0f33;
  font-size: 85px;
  padding-right: 1.5rem;
}

.am-min-tab-graph-description-unit {
  color: #ef0f33;
  font-size: 18px;
  margin-bottom: 1.5rem;
}

.am-min-tab-graph-description-prefix {
  color: #ef0f33;
  font-size: 36px;
  margin-bottom: 1.5rem;
  margin-right: 1rem;
}

.am-min-tab-graph-link {
  white-space: nowrap;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  margin-bottom: 0;
  margin-left: 5px;
}

.am-min-content {
  position: relative;
  width: 100%;
  height: 48rem;
}

.am-min-tab-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  z-index: -1;
  transition: .3s;
}

.am-min-tab-content_active {
  opacity: 1;
  z-index: 1;
}

.am-min-tab-content__title {
  text-align: center;
  margin-bottom: 1rem;
  margin-top: 2rem;
}

.am-min-headline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 4rem;
  margin-bottom: 3rem;
}

.am-min-title {
  margin: 0;
}

.am-min-mobile-nav-left {
  display: none;
}

.am-min-mobile-nav-right {
  display: none;
}

.am-min__mobile-nav-tabs {
  display: none;
}

.am-min-nav {
  position: relative;
  display: flex;
  overflow: auto;
  scrollbar-color: var(--color-red) var(--color-grey);
  scrollbar-width: thin;
}

.am-min-nav::-webkit-scrollbar {
  width: .3125rem;
  height: .3125rem;
  cursor: pointer;
}

.am-min-nav::-webkit-scrollbar-thumb {
  background-color: var(--color-red);
  border-radius: .125rem;
}

.special__wrapper .am-min-nav::-webkit-scrollbar-thumb {
  background-color: black;
  border-radius: .125rem;
}

.special__wrapper .am-min-nav {
  scrollbar-color: black var(--color-grey);
}

.special__wrapper .am-min-nav::-webkit-scrollbar {
  height: 10px;
}

.am-min-nav::-webkit-scrollbar-thumb:hover {
  cursor: pointer;
}

.am-min-nav::-webkit-scrollbar-track {
  background-color: var(--color-grey);
  border-radius: .125rem;
}

.am-min-nav::-webkit-scrollbar-track:hover {
  background-color: var(--color-grey);
}


.am-min {
  width: 1280px;
  margin: auto;
  margin-bottom: 30px !important;
  border-bottom: 1px solid #d1d1d1;
  position: relative;
}
.am-min > div {
  position: relative;
  z-index: 11;
}

.am-min-nav-link:last-child {
  border-right: 1px solid var(--color-grey);
}

.am-min-nav-link {
  padding: 1rem;
  border: 1px solid var(--color-grey);
  border-right: none;
  white-space: nowrap;
  transition: .3s;
}

.am-min-nav-link_active {
  background-color: var(--color-black);
  color: #fff !important;
  border: 1px solid var(--color-black);
}

.special__wrapper .am-min-nav-link_active {
  background-color: black;
  color: #fff !important;
  border: 1px solid black;
}

.special__wrapper .am-min-tab-content__title {
  color: black;
}

@media (max-width: 1449px) {
  .am-min {
    width: 100%;
    padding-left: 12px;
    padding-right: 12px;
  }
}

@media (max-width: 769px) {
  #investmap {
    margin-bottom: 30px;
  }
}

@media (max-width: 1199px) {
  .am-min-headline {
    flex-direction: column;
    align-items: baseline;
  }

  .am-min-title {
    margin-bottom: 1rem;
  }

  .am-min-nav {
    width: 100%;
  }
}

.am-min-nav-arrow {
  display: none;
}

@media (max-width: 991px) {
  .am-min-nav-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
  }

  .am-min__mobile-nav-tabs {
    overflow-x: auto;
    max-width: 100%;
    margin: 0 20px;
    white-space: nowrap;
    border-bottom: 1px solid #d1d1d1;
    width: auto;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    list-style: none;
    padding-left: 0;
  }

  .ui-state-default.ui-corner-top.ui-tabs-active.ui-state-active {
    border-bottom: 2px solid #3a3a3a;
  }

  .ui-state-default.ui-corner-top {
    color: #767676 !important;
    font-family: "Bebas Neue";
    font-weight: bold;
    font-size: 18px;
    margin: 0 18px 0 0;
  }

  .am-min-nav-link {
    padding: .5rem;
    border: none;
  }

    .am-min-nav-link:last-child {
      border-right: none;
    }

  .am-min-nav-link_active {
    color: var(--color-black) !important;
    background-color: transparent;
    border: none;
    font-size: 1.25em;
    font-weight: bold;
  }

  .am-min-tabs {
    justify-content: space-between;
    width: 100%;
    height: 3rem;
  }
}

@media (max-width: 575px) {
  .am-content-header-title {
    margin-bottom: 1rem;
    margin-top: 1rem;
  }

  .am-content-header-btn {
    margin: 1rem 0 1rem;
  }
}

@media (min-width: 1450px) {
  .am-content-header-btn {
    margin: 5.3rem 0 1rem;
  }
}

@media (min-width: 992px) and (max-width: 1358px) {
  .am-content-header-btn {
    margin: 5.3rem 0 1rem;
  }
}

.about-moscow__mott {
  margin-bottom: 100px;
}

@media (max-width: 1199px) {
  .about-moscow__mott {
    display: none;
  }
}

.am-min-button {
  display: flex;
  justify-content: center;
  margin: 1rem 0 2rem;
}

.am-min-tab-graph__link {
  color: #47849a !important;
  border-bottom: 1px solid #47849a;
}

  .am-min-tab-graph__link:hover {
    color: #ef0f33;
    border-bottom: 1px solid #ef0f33;
  }

.about-moscow-block-isa__title {
  font-size: 5rem;
  font-family: 'Bebas Neue';
  font-weight: bold;
  padding-right: 2rem;
  line-height: initial;
  color: #ababab;
}

.about-moscow__investment-map-image {
  width: 100%;
  height: 250px;
  background-image: url(./img/investmap-v2.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

@media(max-width: 500px) {
  .about-moscow__investment-map-image {
    height: 150px;
    background-image: url(./img/investmap-v2-mobile.png);
  }
}
