/* Hide or show link text */
.follow-link-text,
.service-links-text {
  vertical-align: middle;
  padding: 0 10px;
  font-weight: bold;
}

/* Get rid of default Follow background image icon */
.follow-links a.follow-link {
  background-image: none;
}

/* Set icon size */
.follow-link-icon,
.service-links-icon {
  font-size: 2em;
  width: 32px;
  vertical-align: middle;
}

/* Common icon styles */
.follow-links a,
.service-links a,
li[class*='service-links-'] a {
  -moz-transition: color 0.3s ease-in-out, background-color 0.3s ease-in-out;
  -webkit-transition: color 0.3s ease-in-out, background-color 0.3s ease-in-out;
  -o-transition: color 0.3s ease-in-out, background-color 0.3s ease-in-out;
  transition: color 0.3s ease-in-out, background-color 0.3s ease-in-out;
  display: block;
  padding: 10px;
  margin: 5px;
  color: #5f5f5f;
  text-align: center;
  float: left;
}
.follow-links a:hover, .follow-links a:focus,
.service-links a:hover,
.service-links a:focus,
li[class*='service-links-'] a:hover,
li[class*='service-links-'] a:focus {
  text-decoration: none;
  color: #18709f;
}

/* Remove left and right margins from either end of icon set */
.follow-link-wrapper:first-child a,
.service-links ul li:first-child a {
  margin-left: 0;
}
.follow-link-wrapper:last-child a,
.service-links ul li:last-child a {
  margin-right: 0;
}

.block-service-links .content ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.block-service-links .content ul li {
  margin: 0;
  list-style-type: none;
}

/* Follow module icon styles and states */
a.follow-link {
  background-color: transparent;
}

/* Service Links module icon styles and states */
.service-links a {
  background-color: transparent;
}
