.cct-services-nav-heading {
  font-weight: 400;
}

.cct-services-nav {
  margin: 0;
  padding: 0;
  margin-top: 20px;
  margin-bottom: 20px;
  list-style: none;
}

.cct-service-nav-item {
  position: relative;
  /*display: flex;
  flex-direction: column;*/
  height: 160px;
  padding: 10px;
  text-align: center;
  border-style: solid;
  border-width: 0;
  border-top-width: 1px;
  border-left-width: 1px;
  border-color: rgba(0,0,0,0.2);
  background: #eee;
  transition: color 0.3s, background 0.3s;
  cursor: pointer;
}

.cct-service-nav-item a {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.cct-service-nav-item a, 
.cct-service-nav-item a:hover,
.cct-service-nav-item a:active {
  color: #333;
  text-decoration: none;
}

.cct-service-nav-item.active,
.cct-service-nav-item:hover,
.cct-service-nav-item:active {
  color: #0067c4;
  background: white;
}

.cct-service-nav-item.active a,
.cct-service-nav-item:hover a,
.cct-service-nav-item:active a {
  color: #0067c4;
}

.cct-service-nav-item.active i,
.cct-service-nav-item:hover i,
.cct-service-nav-item:active i {
  font-size: 64px !important;
}

.cct-service-nav-item i {
  flex: 2;
  transition: font-size 0.175s, top 0.175s;
}

.cct-service-nav-item span {
  font-size: 24px;
  margin-top: 20px;
  margin-bottom: 10px;
}

.cct-services-nav:before,
.cct-services-nav:after {
  display: table;
  content: " ";
}

.cct-services-nav:after {
  clear: both;
}

/*
 Menu Icon Plugin class's overwrite
 */
.menu-item.cct-service-nav-item i._before {
  margin: 0;
}
.menu-item.cct-service-nav-item i._mi {
  margin-top: 10px;
  font-size: 48px;
  /*line-height: 1;*/
}

.cct-service-nav-item i,
.cct-service-nav-item span {
  display: block !important;
}

.cct-services-nav {
  border-bottom: 1px solid rgba(0,0,0,0.2);
}


@media (max-width: 767px) {

  .cct-services-nav {
    margin-left: -15px;
    margin-right: -15px;
  }

  .cct-service-nav-item {
    width: 50%;
    float: left;
  }

  .cct-service-nav-item:nth-child(2n) {
    border-right-width: 1px;
  }

}

@media (min-width: 768px) {

  /*.cct-service-nav-item {
    width: 25%;
    float: left;
  }

  .cct-service-nav-item:nth-child(4n) {
    border-right-width: 1px;
  }*/

  /* For when there are 5 items per row */
   
  .cct-service-nav-item {
    width: 20%;
    float: left;
  }

  .cct-service-nav-item:nth-child(5n) {
    border-right-width: 1px;
  }
  

}