.selector {
  position: relative;
}

.activator {
  cursor: pointer;
  position: relative;
  z-index: 2;
}

.icon {
  color: #1b1c1f;
  font-size: 15px;
}

.popup:before {
  content: '';
  clip-path: polygon(0 0, 0% 100%, 100% 0);
  background-color: #fff;
  z-index: 3;
  width: 20px;
  height: 20px;
  display: block;
  position: absolute;
  top: -7px;
  right: 66px;
  transform: rotate(45deg);
  box-shadow: inset 1px 1px 0px 0px rgba(0, 0, 0, 0.06);
}

.popup {
  position: absolute;
  width: 290px;
  height: 290px;
  padding: 20px;
  box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.06);
  border: solid 1px #e4e7ed;
  background-color: #fff;
  border-radius: 2%;
  top: calc(100% + 25px);
  right: -70px;
  z-index: 10;
}

.creator .image {
  background-image: url('../../../assets/images/services/service-creator.jpg');
}
.mentor .image {
  /* background-image: url(' ../../../assets/images/services/service-mentor.jpg'); */
}

.missionary .image {
  background-image: url('../../../assets/images/services/service-missionary.jpg');
}

.envmgr .image {
  background-image: url('../../../assets/images/services/service-env.jpg');
}

.services {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  grid-gap: 20px 10px;
}

.service {
  background-size: contain;
  background-repeat: no-repeat;
  cursor: pointer;
  opacity: 0.5;
  transition: opacity 0.3s ease-in-out;
  &.active,
  &:hover {
    opacity: 1;
  }
  &.active,
  &.disabled {
    pointer-events: none;
  }

  &.disabled {
    opacity: 0.5;
    pointer-events: none;
    filter: grayscale(100%);
  }
}


.image {
  background-size: contain;
  background-repeat: no-repeat;
  width: 120px;
  height: 85px;
}

.name {
  font-size: 14px;
  line-height: 1;
  text-align: center;
  color: #1b1c1f;
}

:global(.dir--rtl) {
  .popup {
    right: unset;
    left: -70px;
    &:before {
      right: unset;
      left: 66px;
    }
  }
} 