/**
 * Serives
 */
.services {
  background: #fff;
}
  .services-main,
  .services-sub {
    padding: 0 2px;
  }
  .services-main {
    position: relative;
    top: -42px;
    overflow: hidden;
    padding-top: 12px;
    padding-bottom: 12px;
  }
  .services-sub {
    padding-bottom: 4px;
    overflow: hidden;
  }
    .services-card {
      background: #fff;
      padding: 3px;
      box-shadow: 0 0 3px rgba(0, 0, 0, 0.3);
      float: left;
      margin-left: 4%;
      position: relative;
    }
    .services-main .services-card {
      width: calc(48% - 6px);
    }
    .services-sub .services-card:nth-of-type(3n + 1),
    .services-main .services-card:nth-of-type(odd) {
      margin-left: 0;
    }
    .services-sub .services-card {
      width: calc(33% - 32px);
    }
    .services-sub .services-card:nth-of-type(1n + 4) {
      margin-top: 36px;
    }
      .services-card__banner {
        background-position: center center;
        background-repeat: no-repeat;
        background-size: cover;
        width: 100%;
        height: 160px;
        position: relative;
      }
      .services-card-banner--court-services {
        background-image: url('../images/court-services.jpg');
      }
      .services-card-banner--aod {
        background-image: url('../images/aod.jpg');
      }
      .services-card-banner--process-serving {
        background-image: url('../images/process-serving.jpg');
      }
      .services-card-banner--court-attendance {
        background-image: url('../images/court-attendance.jpg');
      }
      .services-card-banner--bulk-sales {
        background-image: url('../images/bulk-sales.jpg');
      }
      .services-card-banner--litigation-searches {
        background-image: url('../images/litigation-searches.jpg');
      }
      .services-card-banner--criminal-searches {
        background-image: url('../images/criminal-searches.jpg');
      }
      .services-card-banner--attendance-affairs {
        background-image: url('../images/attendance-affairs.jpg');
      }
      .services-card-banner--mot {
        background-image: url('../images/mot.jpg');
      }
      .services-card-banner--mot2 {
        background-image: url('../images/mot2.jpg');
      }
      .services-card-banner--mot3 {
        background-image: url('../images/mot3.jpg');
      }
      .services-card-banner--mot4 {
        background-image: url('../images/mot4.jpg');
      }
      .services-card-banner--repo {
        background-image: url('../images/repo.jpg');
      }
      .services-card-banner--vehicle-recovery {
        background-image: url('../images/vehicle-recovery.jpg');
      }
        .services-card-banner__btn {
          position: absolute;
          bottom: 12px;
          right: 12px;
          padding: 3px 12px 5px;
          background: rgb(240, 135, 52);
          color: #fff;
          border-radius: 25px;
          border: 0;
          font-size: 12px;
          cursor: pointer;
        }
      .services-card h2 {
        text-align: center;
        font-size: 16px;
        font-weight: 400;
        padding: 24px 0 72px;
        line-height: 1.5;
      }
      .services-sub .services-card h2 {
        max-height: 0;
      }
      .services-card.has-info h2 {
        color: rgb(240, 135, 52);
      }

/**
 * More infomation
 */
.services__more-info {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: calc(100% - 48px);
  height: calc(100% - 48px);
  background: #fff;
  padding: 24px;
  box-shadow: 0 0 3px rgba(0, 0, 0, 0.2);
  overflow-y: scroll;
}
  .services__more-info button {
    position: absolute;
    top: 12px;
    right: 12px;
    border-radius: 50%;
    border: 1px solid #000;
    background: #fff;
    line-height: .7;
    padding: 8px;
    font-size: 14px;
    cursor: pointer;
  }
  .services__more-info button:hover {
    opacity: .8;
  }
  .services-card .services__more-info h2 {
    color: #000;
    font-size: 23px;
    font-weight: 300;
    padding: 0 0 24px;
    max-height: 16px;
  }
  .services__more-info h4 {
    font-size: 18px;
    font-weight: 400;
    margin-bottom: 12px;
    line-height: 1.5;
  }
  .services__more-info p {
    line-height: 1.5;
    margin-bottom: 12px;
  }
  .services__more-info ul {
    margin-bottom: 24px;
    list-style: disc;
    margin-left: 24px;
  }
    .services__more-info ul li {
      margin-bottom: 6px;
      line-height: 1.5;
    }

@media screen and (max-width: 900px) {
  .services-sub .services-card {
    width: calc(48% - 6px);
  }
  .services-sub .services-card:nth-of-type(1n + 3) {
    margin-top: 36px;
  }
  .services-sub .services-card:nth-of-type(even) {
    margin-left: 4%;
  }
  .services-sub .services-card:nth-of-type(odd) {
    margin-left: 0;
  }

}
@media screen and (max-width: 600px) {
  .services-main .services-card,
  .services-sub .services-card {
    float: none;
    width: calc(100% - 6px);
  }
  .services-main .services-card:nth-of-type(1n + 2),
  .services-sub .services-card:nth-of-type(1n + 2) {
    margin-top: 24px;
    margin-left: 0;
  }
}
