/* Match ProcessWire reference (.services / .secondIcons) */
.services {
  padding: 0;
  margin: 2em 0;
}
.services > .col-12 {
  overflow: hidden;
}

.serviceIcon {
  float: left;
  width: 8%;
  margin: 1em 1%;
  font-size: 1rem;
  text-align: center;
}
.serviceIcon a {
  display: block;
  color: #0E0E0E;
  font-weight: bold;
  text-decoration: none;
  hyphens: auto;
}
.serviceIcon img {
  width: 50%;
  margin: 0 25% 0.5em;
}

.secondIcons {
  margin: 2em 0;
  padding: 0.5em 5%;
  background: #A5A5A5;
}
.secondIcons .col-12 {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75em;
}

.secondaryIcon {
  width: 7.25%;
  margin: 0.35em 1%;
}
.secondaryIcon a {
  display: block;
}
.secondaryIcon img {
  width: 33%;
  height: auto;
  margin: 0 33%;
  filter: brightness(0) invert(1);
}
@media only screen and (min-width: 1000px) and (max-width: 1300px) {
  .serviceIcon {
    float: left;
    width: 8%;
    margin: 1em 1%;
    font-size: 0.75rem;
    text-align: center;
  }
  .secondIcons .col-12 {
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 0;
  }
  .secondaryIcon {
    width: 10%;
    margin: 0;
    flex: 0 0 10%;
  }
}
@media only screen and (max-width: 999px) {
  .serviceIcon {
    float: left;
    width: 100%;
  }
  .serviceIcon img {
    float: left;
    width: 2em;
    height: auto;
    margin: 0 1em 0 0;
  }
  .serviceIcon .linkDesc {
    text-align: left;
  }
  .secondIcons {
    padding: 0.5em;
  }
  .secondaryIcon {
    width: 15%;
    margin: 0.35em 1%;
  }
  .secondaryIcon img {
    width: 80%;
    margin: 0 10%;
  }
}