/* Icon Tiles */
.component-tiles h2 {
  padding-top: 0;
  margin-bottom: 15px;
}

.component-tiles .subtitle {
  margin-bottom: 26px;
}

.tiles {
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
    flex-direction: column;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
    justify-content: center;
  -webkit-box-align: stretch;
  -ms-flex-align: stretch;
    align-items: stretch;
  list-style: none;
  padding: 0 !important;
  margin: 0;
}

@media screen and (min-width: 768px) {
  .tiles {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
  }
}

.tiles li {
  width: 100%;
  margin: 0 !important;
  padding: 15px;
}

.middle .tiles a.tile {
  -ms-flex-preferred-size: 0;
      flex-basis: 0;
  -webkit-box-flex: auto;
      -ms-flex-positive: auto;
          flex-grow: auto;
  border: 2px solid #00694E;
  color: #00694E;
  font-weight: bold;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  width: 100%;
  -webkit-transition: 0.3s;
  transition: 0.3s;
  text-decoration: none;
  margin: 0;
  text-align: center;
  overflow: hidden;
  height: 100%
}

/* Large Tiles */
.middle .tiles--large a.tile {
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  min-height: 250px;
  padding: 15px;
}

.tiles--large .tile .fa,
.tiles--large .tile .fa-sharp,
.tiles--large .tile .fa-brands {
  margin-bottom: 43px;
}

/* Small Tiles */
.middle .tiles--small a.tile {
  flex-wrap: wrap;
  -webkit-box-pack: left;
      -ms-flex-pack: left;
          justify-content: flex-start;
  padding: 16px 30px;
  text-align: left;
}

@media screen and (min-width: 768px) and (max-width: 991px) {
  .middle .tiles--small a.tile {
    padding: 14px 10px;
  }
}

@media screen and (min-width: 1200px) {
  .middle .tiles--small a.tile {
    -ms-flex-direction: row;
    flex-direction: row;
    flex-wrap: nowrap;
    padding: 16px 26px;
  }
}

@media (min-width: 1200px) {
  .tiles--small a.tile .fa,
  .tiles--small a.tile .fa-sharp,
  .tiles--small a.tile .fa-brands {
    margin-right: 26px;
  }
}

/* Tile Focus and Hover */
.mainBody a:focus i {
  background: none;
}

.middle a.tile:hover {
  background: #00694E;
  z-index: 1000;
  color: #fff;
}

.middle a.tile:hover .fa,
.middle a.tile:hover .fa-sharp,
.middle a.tile:hover .fa-brands {
  color: #fff;
  text-decoration: none;
}
