@import 'moda-themes/themes';

.display-tooltip {
  position: relative;
  display: inline-block;
  margin-left: space(2);
  margin-bottom: space(1);

  &__help-icon {
    color: color('nokia');
    &:hover {
      color: color('cashmere');
    }
  }

  .product-price-trunkshow-help-message {
    position: absolute;
    z-index: 10000;
    bottom: 30px;
    left: 8px;
    transform: translateX(-50%);
    width: 220px;
    padding: 15px;
    color: color('cement');
    background-color: color('noise');
    font-size: 11px;
    line-height: 1.45;
    text-transform: none;

    &:before {
      content: '';
      position: absolute;
      display: block;
      left: 0;
      right: 0;
      bottom: -10px;
      width: 100%;
      height: 10px;
    }

    &:after {
      content: '';
      position: absolute;
      left: 50%;
      bottom: -5px;
      width: 10px;
      height: 10px;
      margin-left: -5px;
      background-color: color('noise');
      transform: rotate(45deg);
    }
  }
}
