

/* Start:/bitrix/templates/aspro-allcorp3medc/components/bitrix/news.list/services-list/style.css?17651924019559*/
/* item */
.services-list__item {
  position: relative;
  display: block; /* Добавлено для того, чтобы элементы начинались с новой строки */
}

.services-list__item--big-padding {
  padding: 40px;
}

@media (max-width: 767px) {
  .services-list__item--big-padding {
    padding: 25px;
  }
}

.services-list__item.services-list__item--has-additional-text {
  cursor: pointer;
  padding: 0;
}

.services-list__item.services-list__item--has-additional-text.services-list__item--cursor-initial {
  cursor: initial;
}

.services-list__item .maxwidth-theme--half {
  width: 100%;
}

.services-list__item--has-additional-text {
  overflow: hidden;
}

.services-list__item-image-wrapper--PICTURE .services-list__item-image {
  border-radius: 0px;
}

@media (min-width: 601px) {
  .services-list--img-side .services-list__wrapper:nth-child(even) .services-list__item {
    flex-direction: row !important;
  }

  .services-list__wrapper--padding {
    padding: 40px 0;
    border-bottom: 1px solid #efefef;
    border-bottom-color: var(--stroke_black);
  }

  .services-list__wrapper--border-bottom {
    border-bottom: 1px solid #efefef;
    border-bottom-color: var(--stroke_black);
  }

  .services-list--img-side .services-list__wrapper--border-bottom {
    border: none;
  }

  .services-list .services-list__wrapper--padding:first-child {
    padding-top: 0;
  }

  .services-list .services-list__wrapper--padding:nth-last-child(2) {
    padding-bottom: 0;
    border-bottom: 0;
  }
}

@media (max-width: 600px) {
  .services-list__item.flexbox--direction-row-reverse,
  .services-list__item.flexbox--direction-row {
    flex-direction: column;
  }

  .services-list__item.maxwidth-theme,
  .services-list__item-text-wrapper .maxwidth-theme {
    padding-left: 0;
    padding-right: 0;
  }
}

/* additional text */
.services-list__item-additional-text-wrapper {
  position: absolute;
  bottom: 33px;
  left: 40px;
  right: 40px;
  z-index: 1;
}

.services-list__item:hover .services-list__item-additional-text-wrapper {
  opacity: 0;
}

/* text */
.services-list__item--has-additional-text .services-list__item-text-wrapper {
  opacity: 0;
  visibility: hidden;
  justify-content: flex-end;
  position: absolute;
  top: 0;
  bottom: 0;
  border-radius: 4px 4px 2px 2px;
  border-bottom-right-radius: 2px;
  border-bottom-left-radius: 2px;
  padding: 0;
  max-height: 100%;
  transition: opacity 0.2s ease-in-out, visibility 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
  width: 100%;
  z-index: 1;
}

.services-list__item--has-additional-text .services-list__item-text-top-part {
  overflow-y: auto;
}

.services-list__item--has-additional-text
  .services-list__item-text-wrapper
  .services-list__item-text-top-part:not(.mCustomScrollbar) {
  visibility: hidden;
}

.services-list__item--has-additional-text .services-list__item-text-top-part .mCSB_container {
  padding: 35px 40px 0 40px;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.services-list__item--has-additional-text:hover .services-list__item-text-wrapper {
  opacity: 1;
  visibility: visible;
}

.services-list__item-text-bottom-part {
  padding: 28px 0 0 0;
}

.services-list__item--has-additional-text .services-list__item-text-bottom-part {
  padding: 21px 40px 23px 40px;
  position: relative;
}

.services-list__item--has-additional-text .services-list__item-text-bottom-part:before {
  content: "";
  height: 1px;
  position: absolute;
  right: 0;
  left: 0;
  top: 0;
  background-color: #fff;
  background-color: var(--black_bg_black);
  opacity: 0.2;
}

.services-list__item--has-bg .services-list__item-text-wrapper .dark_link,
.services-list__item--has-bg .services-list__item-text-wrapper .color_333 {
  color: #fff;
  /* color: var(--black_bg_black); */
}

.services-list__item--has-bg .services-list__item-text-wrapper .dark_link.color_light--opacity:hover {
  opacity: 1;
}

.services-list__item:not(.services-list__item--has-additional-text) .services-list__item-text-wrapper > *,
.services-list__item--has-additional-text .services-list__item-text-top-part .mCSB_container > * {
  cursor: initial;
}

.services-list__item--has-additional-text
  .services-list__item-text-wrapper
  .services-list__item-text-top-part
  .mCSB_container
  > div:last-of-type {
  margin-bottom: 22px;
}

.services-list__item--has-additional-text
  .services-list__item-text-wrapper:not(.services-list__item-text-wrapper--has-bottom-part)
  .services-list__item-text-top-part
  .mCSB_container
  > div:last-of-type {
  margin-bottom: 35px;
}

.services-list--img-trl .services-list__item-text-top-part {
  word-break: break-word;
}

.bx-ie .services-list__item-text-wrapper {
  flex-basis: auto;
}

.bx-ie .maxwidth-theme--half.flex-1 {
  flex-basis: auto;
}

@media (min-width: 601px) {
  .services-list--img-srl .services-list__item-text-wrapper {
    padding-top: 40px;
  }

  .services-list--img-srl .services-list__wrapper--border-bottom .services-list__item-text-wrapper {
    padding-bottom: 40px;
  }

  .services-list__item-image-wrapper--LEFT + .services-list__item-text-wrapper > * {
    padding-left: 59px;
  }

  .services-list__item-image-wrapper--RIGHT + .services-list__item-text-wrapper > *,
  .services-list__item-image-wrapper--SIDE + .services-list__item-text-wrapper > * {
    padding-right: 59px;
  }

  .services-list--img-side
    .services-list__wrapper:nth-child(even)
    .services-list__item-image-wrapper--SIDE
    + .services-list__item-text-wrapper
    > * {
    padding-right: 0;
    padding-left: 59px;
  }

  .services-list__wrapper--border-bottom .services-list__item-image-wrapper--LEFT + .services-list__item-text-wrapper {
    align-items: flex-start;
  }

  .services-list__wrapper--border-bottom .services-list__item-image-wrapper--SIDE + .services-list__item-text-wrapper,
  .services-list__wrapper--border-bottom .services-list__item-image-wrapper--RIGHT + .services-list__item-text-wrapper {
    align-items: flex-end;
  }

  .services-list__wrapper--border-bottom
    .services-list__item-image-wrapper--LEFT
    + .services-list__item-text-wrapper
    .maxwidth-theme--half {
    padding-right: 32px;
  }

  .services-list__wrapper--border-bottom
    .services-list__item-image-wrapper--SIDE
    + .services-list__item-text-wrapper
    .maxwidth-theme--half,
  .services-list__wrapper--border-bottom
    .services-list__item-image-wrapper--RIGHT
    + .services-list__item-text-wrapper
    .maxwidth-theme--half {
    padding-left: 32px;
  }

  .services-list--img-side
    .services-list__wrapper--border-bottom:nth-child(even)
    .services-list__item-image-wrapper--SIDE
    + .services-list__item-text-wrapper,
  .services-list--img-side
    .services-list__wrapper--border-bottom:nth-child(even)
    .services-list__item-image-wrapper--RIGHT
    + .services-list__item-text-wrapper {
    align-items: flex-start;
  }

  .services-list--img-side
    .services-list__wrapper--border-bottom:nth-child(even)
    .services-list__item-image-wrapper--SIDE
    + .services-list__item-text-wrapper
    .maxwidth-theme--half,
  .services-list--img-side
    .services-list__wrapper--border-bottom:nth-child(even)
    .services-list__item-image-wrapper--RIGHT
    + .services-list__item-text-wrapper
    .maxwidth-theme--half {
    padding-right: 32px;
  }

  .bx-ie .services-list--img-srl .services-list__item-text-wrapper,
  .bx-ie .services-list--img-trl .services-list__item-text-wrapper {
    flex-basis: 0;
  }
}

@media (max-width: 600px) {
  .services-list--img-srl .services-list__item-text-wrapper {
    justify-content: space-between;
  }

  .services-list__item-text-wrapper .flexbox.maxwidth-theme--half,
  .services-list__item-text-wrapper .flexbox.maxwidth-theme {
    justify-content: space-between;
  }

  .services-list--img-srl .services-list__item-image-wrapper + .services-list__item-text-wrapper {
    padding-top: 26px;
  }
}

/* image */
.services-list__item-image-wrapper {
  position: relative;
}

.services-list__item-image-wrapper--TOP {
  margin: 0 0 33px 0;
  display: flex;
  flex-direction: row;
}

.services-list__item-image-wrapper--TOP .services-list__item-link,
.services-list__item-image-wrapper--TOP > span {
  width: 140px;
  height: 140px;
  display: inline-block;
  position: relative;
  vertical-align: top;
}

.services-list__item-image-wrapper--TOP.services-list__item-image-wrapper--PICTURE .services-list__item-link,
.services-list__item-image-wrapper--TOP.services-list__item-image-wrapper--PICTURE > span {
  width: 120px;
  height: 120px;
}

.services-list__item-image-wrapper--ICONS .services-list__item-link,
.services-list__item-image-wrapper--ICONS > span {
  width: 40px;
  height: 40px;
  display: inline-block;
  position: relative;
  vertical-align: top;
  overflow: hidden;
}

.services-list__item-image-wrapper--ICONS a svg,
.services-list__item-image-wrapper--ICONS > span svg {
  max-width: 100%;
  max-height: 100%;
}

.services-list__item-image-wrapper--BG {
  padding-top: 126%;
  width: 100%;
}

.services-list__item-image-wrapper--BG:after {
  content: "";
  position: absolute;
  left: 0%;
  right: 0%;
  top: 51%;
  bottom: 0%;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.5) 100%);
}

.services-list__item-image {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: block;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}

/* arrow */
.services-list__item .arrow-all {
  right: 0;
  top: 0;
}

/* End */
/* /bitrix/templates/aspro-allcorp3medc/components/bitrix/news.list/services-list/style.css?17651924019559 */
