/* access_press */
// http://demo.accesspressthemes.com/wordpress-plugins/accesspress-social-counter/
.apsc-each-profile {
  i.fa-facebook {
    background-color: #3b5998;
  }

  i.fa-twitter {
    background-color: #1dcaff;
  }

  i.fa-youtube {
    background-color: #e52d27;
  }

  i.fa-soundcloud {
    background-color: #ff8800;
  }

  i.fa-dribbble {
    background-color: #ea4c89;
  }

  i.fa-comments {
    background-color: #464646;
  }

  i.fa-edit {
    background-color: #837d7d;
  }

  i.fa-google-plus {
    background-color: #dd4b39;
  }

  i.fa-instagram {
    background-color: #3f729b;
  }

  i.fa-each-profile a {
    color: white !important;
  }
}
.apsc-each-profile a:hover {
  color: white !important;
  text-decoration: none !important;
}

.apsc-theme-4 {
  .apsc-each-profile {
    margin-bottom: 10px;
  }

  .apsc-inner-block {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .social-icon {
    display: inline-block;
    margin-right: auto;
    padding: 4px 0;

    transition: all 0.5s ease-in-out;
  }

  .apsc-each-profile a {
    color: $darkColor !important;
    display: block;
    position: relative;
    padding: 17px 26px 17px 89px;
    font-size: 16px;
    color: #fff;
    line-height: 1;
    border: 1px solid rgba($fontColor, 0.2);
    &:hover {
      opacity: 0.8;
    }
  }

  //icon
  .apsc-each-profile a .fa {
    color: #fff;
    margin: -1px; 
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    border-right: 1px solid rgba($lightColor, 0.4);
    width: 60px;
    font-size: 16px;
    transform: none;
    transition: all 0.5s ease-in-out;
  }


  .apsc-count {
    border-radius: 0;
    font-weight: 500;
    display: inline-block;
    font-size: inherit;
    text-align: center;
    position: relative;
    padding: 4px 4px;
    transition: all 0.5s ease-in-out;

  }

  .apsc-media-type {
    display: inline-block;
    padding: 4px 0;
  }
}

@media screen and (max-width: 479px) {

  .apsc-theme-4 .apsc-each-profile a,
  .apsc-theme-3 .apsc-each-profile a {
    display: inline-block;
  }

  .apsc-theme-4 .apsc-each-profile,
  .apsc-theme-3 .apsc-each-profile {
    float: none;
  }
}