@charset "utf-8";

.problem-list-module {
  position: relative;
  max-width: 1179px;
  width: 100%;
  margin-top: 32px;
  padding-top: calc(min(100%, 1179px) * 573 / 1179);

  li {
    position: absolute;
    top: 500px;
    height: auto !important;
    cursor: pointer;
    font-size: 0;

    &:hover {
      opacity: .7;
    }

    &.selected {
      position: absolute;

      &::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.2);
        z-index: 1;
      }
    }
  }

  li:nth-child(1) {
    top: calc(100% * 0 / 573);
    left: calc(100% * 0 / 1179);
    width: calc(100% * 304 / 1179);
    height: calc(100% * 200 / 573);
  }

  li:nth-child(2) {
    top: calc(100% * 0 / 573);
    left: calc(100% * 313 / 1179);
    width: calc(100% * 307 / 1179);
    height: calc(100% * 200 / 573);
  }

  li:nth-child(3) {
    top: calc(100% * 0 / 573);
    left: calc(100% * 629 / 1179);
    width: calc(100% * 330 / 1179);
    height: calc(100% * 200 / 573);
  }

  li:nth-child(4) {
    top: calc(100% * 0 / 573);
    left: calc(100% * 968 / 1179);
    width: calc(100% * 211 / 1179);
    height: calc(100% * 280 / 573);
  }

  li:nth-child(5) {
    top: calc(100% * 210 / 573);
    left: calc(100% * 0 / 1179);
    width: calc(100% * 190 / 1179);
    height: calc(100% * 200 / 573);
  }

  li:nth-child(6) {
    top: calc(100% * 210 / 573);
    left: calc(100% * 199 / 1179);
    width: calc(100% * 190 / 1179);
    height: calc(100% * 200 / 573);
  }

  li:nth-child(7) {
    top: calc(100% * 420 / 573);
    left: calc(100% * 0 / 1179);
    width: calc(100% * 389 / 1179);
    height: calc(100% * 154 / 573);
  }

  li:nth-child(8) {
    top: calc(100% * 210 / 573);
    left: calc(100% * 398 / 1179);
    width: calc(100% * 561 / 1179);
    height: calc(100% * 364 / 573);
  }

  li:nth-child(9) {
    top: calc(100% * 290 / 573);
    left: calc(100% * 968 / 1179);
    width: calc(100% * 211 / 1179);
    height: calc(100% * 284 / 573);
  }
}

[data-js-service-list-module] .m-service-card {
  box-shadow: 2px 2px 10px rgba(0, 0, 0, .1);
}
