
@import '~styles/config';

.connectionDetails {
  border: 1px solid $color-grey100;

  &::after {
    content: '';
    z-index: -1;

    position: absolute;
    top: 20px;
    right: -20px;
    bottom: -20px;
    left: 20px;

    width: 100%;

    opacity: 0.2;
    background: url('/assets/black-dot-opaque.svg') repeat;
    background-size: 10px;
  }

  &__header {
    display: flex;
    padding: $gutter;

    color: $color-white;
    @include colorify('background-color');

    &.link {
      @include reset-anchor;

      color: $color-white;

      &:hover,
      &:focus {
        @include buttons-hover();
      }
    }
  }

  &__titleIconContainer {
    display: flex;
    justify-content: center;

    width: 36px;
  }

  &__svg {
    @include colorify('fill');
    height: 36px;
  }

  &__titleTextContainer {
    display: flex;
    justify-content: space-between;
    margin-left: $gutter*0.5;

    width: calc(100% - 57px);
  }

  &__title {
    @include responsive-font(20, 22);
    font-weight: bold;
    line-height: 32px;
  }

  &__subtitle {
    @include responsive-font(18, 20);
    margin-left: 15px;
    line-height: 32px;
  }

  &__titleArrow {
    display: flex;
    align-items: center;

    padding-left: $gutter*0.5;
  }

  &__titleArrowSVG {
    transform: rotate(270deg);
    fill: $color-white;
  }

  &__contentContainer {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px;
    min-height: 250px;
    background-color: $color-white;
  }

  &__description {
    padding: $gutter 10px;
  }

  &__extraServices {
    padding: 20px;
  }

  &__extraServicesTitle {
    @include responsive-font(16, 18);
    font-weight: bold;
  }

  &__extraServicesFerdapakki,
  &__extraServicesUtlandapakki {
    display: flex;
    justify-content: space-between;
    padding-top: 10px;
  }
}
