/**
 * @file
 * Visual styles for Dark+'s icon features.
 */
.paragraph--view-mode--mt-tile {
  margin-bottom: 40px;
}

/* view mode tile */
@media (max-width: 767px) {
  .paragraph--view-mode--mt-tile .feature {
    text-align: center;
  }
}
.paragraph--view-mode--mt-tile .feature__icon {
  margin-bottom: 15px;
  font-size: 28px;
}
.paragraph--view-mode--mt-tile .feature__icon .field--name-field-mt-if-fa-icon,
.paragraph--view-mode--mt-tile .feature__icon .fontawesome-icons,
.paragraph--view-mode--mt-tile .feature__icon .fontawesome-icon,
.paragraph--view-mode--mt-tile .feature__icon .svg-inline--fa {
  height: 100%;
}
.paragraph--view-mode--mt-tile .feature__title {
  margin-bottom: 15px;
  margin-top: 0;
}
.paragraph--view-mode--mt-tile .feature__image {
  margin-bottom: 30px;
}
.paragraph--view-mode--mt-tile .field--name-field-mt-if-body {
  font-size: 16px;
  margin-bottom: 15px;
}
.paragraph--view-mode--mt-tile .field--name-field-mt-if-body p:last-child {
  padding-bottom: 0;
}
.paragraph--view-mode--mt-tile .feature__icon .fontawesome-icon {
  position: relative;
  display: inline-block;
  padding-left: 16px;
  z-index: 0;
}
.paragraph--view-mode--mt-tile .feature__icon .fontawesome-icon:after {
  content: "";
  position: absolute;
  width: 56px;
  height: 48px;
  left: 0px;
  top: -4px;
  border-radius: 12px 2px;
  z-index: -1;
}
.paragraph--view-mode--mt-tile .feature__icon .fontawesome-icon:before {
  content: "";
  position: absolute;
  width: 60px;
  height: 44px;
  left: 8px;
  top: 8px;
  opacity: 0.5;
  border-radius: 12px 2px;
  z-index: -1;
}
.region--bright-background .paragraph--view-mode--mt-tile .feature__icon .fontawesome-icon:before,
.region--accent-background .paragraph--view-mode--mt-tile .feature__icon .fontawesome-icon:before,
.region--tint-background .paragraph--view-mode--mt-tile .feature__icon .fontawesome-icon:before,
.region--pattern .paragraph--view-mode--mt-tile .feature__icon .fontawesome-icon:before {
  opacity: 0.15;
}
.paragraph--view-mode--mt-tile .feature div:last-child {
  margin: 0;
}

/* media after view mode */
@media (max-width: 767px) {
  .paragraph--view-mode--mt-media-after .feature {
    text-align: center;
  }
}
.paragraph--view-mode--mt-media-after .feature__icon {
  margin-top: 25px;
  font-size: 28px;
}
.paragraph--view-mode--mt-media-after .feature__icon .field--name-field-mt-if-fa-icon,
.paragraph--view-mode--mt-media-after .feature__icon .fontawesome-icons,
.paragraph--view-mode--mt-media-after .feature__icon .fontawesome-icon,
.paragraph--view-mode--mt-media-after .feature__icon .svg-inline--fa {
  height: 100%;
}
.paragraph--view-mode--mt-media-after .feature__title {
  margin-bottom: 15px;
  margin-top: 0;
}
.paragraph--view-mode--mt-media-after .feature__image {
  margin-bottom: 30px;
}
.paragraph--view-mode--mt-media-after .field--name-field-mt-if-body {
  font-size: 16px;
  margin-bottom: 15px;
}
.paragraph--view-mode--mt-media-after .field--name-field-mt-if-body p:last-child {
  padding-bottom: 0;
}
.paragraph--view-mode--mt-media-after .feature__icon .fontawesome-icon {
  position: relative;
  display: inline-block;
  padding-left: 16px;
  z-index: 0;
}
.paragraph--view-mode--mt-media-after .feature__icon .fontawesome-icon:after {
  content: "";
  position: absolute;
  width: 56px;
  height: 48px;
  left: 0px;
  top: -4px;
  border-radius: 12px 2px;
  z-index: -1;
}
.paragraph--view-mode--mt-media-after .feature__icon .fontawesome-icon:before {
  content: "";
  position: absolute;
  width: 60px;
  height: 44px;
  left: 8px;
  top: 8px;
  opacity: 0.5;
  border-radius: 12px 2px;
  z-index: -1;
}
.region--bright-background .paragraph--view-mode--mt-media-after .feature__icon .fontawesome-icon:before,
.region--accent-background .paragraph--view-mode--mt-media-after .feature__icon .fontawesome-icon:before,
.region--tint-background .paragraph--view-mode--mt-media-after .feature__icon .fontawesome-icon:before,
.region--pattern .paragraph--view-mode--mt-media-after .feature__icon .fontawesome-icon:before {
  opacity: 0.15;
}
.paragraph--view-mode--mt-media-after .feature div:last-child {
  margin-bottom: 0;
}

/* tile large view mode */
.paragraph--view-mode--mt-tile-large {
  margin-bottom: 30px;
}
.paragraph--view-mode--mt-tile-large .feature {
  text-align: center;
}
.paragraph--view-mode--mt-tile-large .feature__icon {
  margin-bottom: 30px;
  font-size: 80px;
}
.paragraph--view-mode--mt-tile-large .feature__title {
  margin-bottom: 10px;
  margin-top: 0;
}
.paragraph--view-mode--mt-tile-large .field--name-field-mt-if-body {
  margin-bottom: 15px;
}
.paragraph--view-mode--mt-tile-large .field--name-field-mt-if-body p:last-child {
  padding-bottom: 0;
}
.paragraph--view-mode--mt-tile-large .feature div:last-child {
  margin-bottom: 0;
}
