//
// Variables
//
$icongroup-margin: ($grid-gutter-width / 2);
$icongroup-icon-size: 50%;
$icongroup-item-width: 50%;

.icongroup {
  display: flex;
  flex-wrap: wrap;
  margin-top: unset!important;
  margin-bottom: unset!important;
}


.icongroup-item-icon {
  height: 6rem;
  width: 100%;
  max-width: $icongroup-icon-size;
  display: flex;
  svg {
    display: block;
    width: 100%;
    height: auto;
    max-height: 100%;
  }
}


// Alignment
.icongroup-align-left {
  justify-content: flex-start;
  text-align: left;
  margin-left: unset;
}
.icongroup-align-center {
  justify-content: center;
  text-align: center;
}
.icongroup-align-right {
  justify-content: flex-end;
  text-align: right;
}



.icongroup-iconposition-above,
.icongroup-iconposition-below {
  .icongroup-item {
    flex-direction: column;
  }
  &.icongroup-align-left .icongroup-item-icon {
    margin-left: unset;
  }
  &.icongroup-align-center .icongroup-item-icon {
  }
  &.icongroup-align-right .icongroup-item-icon {
    margin-right: unset;
  }
}
