.block-detail-description {
  padding-top: 0.125rem;
}

.detail-routes {
  border-bottom: 1px solid #dde1e9;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  min-height: 7.75rem;
  padding: 1.25rem 0;
}

.detail-route__item {
  padding-left: 2rem;
  position: relative;
}

.detail-route__item::before {
  background: url("../../../img/layout/ico-stops.svg") left top no-repeat;
  content: '';
  height: 1.5rem;
  left: 0;
  position: absolute;
  top: 0;
  width: 1.5rem;
}

.detail-route__item + .detail-route__item {
  margin-top: 1rem;
}

.detail-route__item--red::before {
  background-position: 0rem top;
}

.detail-route__item--blue::before {
  background-position: -1.5rem top;
}

.detail-route__item--green::before {
  background-position: -3rem top;
}

.detail-route__link {
  text-decoration: none;
}

.detail-route__title {
  color: #1d2533;
  font-size: 1rem;
  font-weight: 500;
  line-height: 150%;
}

.detail-route__subtitle {
  color: #54657e;
  font-size: 0.875rem;
  line-height: 1.5rem;
}

.block-detail-discount .block__download {
  margin-top: 1.5rem;
}

.detail-block {
  background-color: #f2f5f7;
  position: relative;
}

.detail-sidebar {
  border-bottom: 0;
}

.detail-info {
  text-align: center;
  font-size: 0.875rem;
  line-height: 1.5rem;
}

.detail-info .perks {
  text-align: left;
}

.detail__ext-link {
  padding-left: 0;
  padding-right: 2rem;
}

.detail__ext-link::before {
  background: url("../../../img/layout/ico-external-link.svg") center bottom no-repeat;
  left: auto;
  right: 0;
}

.detail-info__text {
  margin: 0;
}

.detail-info__text + .detail-info__text {
  margin: 0 0 1rem 0;
}

.detail-info__item + .detail-info__item {
  padding-top: 2rem;
  position: relative;
}

.detail-info__item + .detail-info__item::before {
  background: #1d2533;
  content: '';
  height: 0.0625rem;
  left: 50%;
  margin-top: -0.0625rem;
  position: absolute;
  top: 1rem;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  width: 2rem;
}

.detail-info__title {
  color: #1d2533;
  font-weight: 500;
  margin: 0;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.5rem;
}

.detail-info__map {
  background-size: cover;
  height: 10.875rem;
  margin: 1rem 0 0.5rem 0;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  width: 16rem;
}

.detail-info__map::before {
  background: url("../../../img/layout/ico-map-marker.svg") center center no-repeat;
  content: '';
  height: 2rem;
  left: 50%;
  position: absolute;
  top: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  width: 2rem;
}

.detail-info__map-image {
  display: none;
}

.detail-info__tickets {
  border-bottom: 1px solid #dde1e9;
  border-top: 1px solid #dde1e9;
  margin: 1.5rem 0;
  padding-bottom: 1.5rem;
  padding-top: 1.5rem;
}

.detail-info__tickets-text {
  color: #54657e;
  padding-bottom: 1rem;
  padding-top: 3rem;
  position: relative;
}

.detail-info__tickets-text::before {
  background: url("../../../img/layout/ico-tickets-alt.svg") center center no-repeat;
  content: '';
  height: 2rem;
  left: 50%;
  position: absolute;
  top: 0;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  width: 2rem;
}

@media screen and (min-width: 48em) {
  .block-detail-description {
    padding-top: 0.125rem;
  }

  .block-detail-description .slider-gallery__inner {
    height: 24.5rem;
  }

  .detail-routes {
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    min-height: 6rem;
    padding: 1.25rem 0;
  }

  .detail-route__item + .detail-route__item {
    margin-left: 5rem;
    margin-top: 0;
  }

  .block-detail-discount .block__download {
    margin-top: 2rem;
  }

  .detail-info {
    text-align: left;
  }

  .detail-info__item + .detail-info__item::before {
    left: 0;
    -webkit-transform: none;
    transform: none;
  }

  .detail-info__map {
    margin-left: 0;
  }

  .detail-info__tickets-text {
    padding-bottom: 0;
    padding-left: 4rem;
    padding-top: 0;
  }

  .detail-info__tickets-text::before {
    left: 0;
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
  }
}

@media all and (min-width: 48rem) and (max-width: 79.9375rem) {
  .detail-info__tickets {
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
  }
}

@media screen and (min-width: 80em) {
  .block-detail-description {
    padding-top: 5rem;
  }

  .block-detail-description .slider-gallery__inner {
    height: 26.5rem;
  }

  .detail-block {
    padding-bottom: 5rem;
  }

  .detail-sidebar {
    left: 50%;
    margin-left: 19rem;
    padding: 0;
    position: absolute;
    top: 0;
    width: 16rem;
  }

  .detail-sidebar .wrapper__inner {
    max-width: 100% !important;
  }

  .detail-sidebar--sticky {
    position: fixed;
    top: 5rem;
  }

  .detail-sidebar--fixed-sticky {
    bottom: 0;
    position: absolute;
    top: auto;
  }

  .detail-info {
    padding: 5rem 0;
    position: relative;
  }

  .detail-info::before {
    background-color: #dde1e9;
    content: '';
    height: 100%;
    left: -4rem;
    position: absolute;
    top: 0;
    width: 1px;
  }

  .detail-info__tickets {
    max-width: 16rem;
  }

  .detail-info__tickets-text {
    margin-bottom: 1rem;
    padding-left: 3rem;
    padding-top: 0;
  }
}
