img[data-src] {
  opacity: 0;
}

img {
  opacity: 1;
}

.overflow-wrapper img.show-image {
  opacity: 1;
}

.client-wrap {
  margin: 5% auto 0;
  padding: 0;
  max-width: 1280px;
  width: 100%;
}

.client-wrap:hover > .client {
  opacity: .25;
}

.opacity-focus:hover > .client,
.solid.client {
  opacity: 1;
}

.opacity-focus .client {
  z-index: 0;
}

.client {
  vertical-align: middle;
  position: relative;
  margin: 5px;
  max-width: calc(20% - 20px);
  height: 100%;
  width: 100%;
  list-style-type: none;
  display: inline-block;
  text-align: center;
  transition: .2s ease all;
}

.no-touch .client:hover,
.no-touch .opacity-focus .client:hover {
  opacity: 1;
  z-index: 2;
}

.client:hover .client-meta {
  opacity: 1;
  visibility: visible;
}

.client:hover .overflow-wrapper {
  z-index: 5;
  left: 0;
}

.touch .client:hover {
  opacity: 1;
  z-index: 2;
}

.client-meta {
  position: absolute;
  display: block;
  visibility: hidden;
  overflow: hidden;
  text-align: center;
  border-radius: 4px;
  opacity: 0;
  width: 100%;
  min-height: 200px;
  background-color: white;
  text-align: left;
  border: 1px solid #e4e4e4;
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
  -webkit-transition: .2s ease all;
  -moz-transition: .2s ease all;
  -ms-transition: .2s ease all;
  -o-transition: .2s ease all;
  transition: .2s ease all;
}

.touch .client-more-less,
.touch .client-close {
  z-index: 2;
  position: absolute;
  left: calc(50% - 10px);
  text-align: center;
  top: 15px;
  height: 26px;
  width: 26px;
  text-align: center;
  border-radius: 50%;
  line-height: 1.3;
  font-weight: 600;
  transition: .2s ease all;
}

.touch .client.reset .client-meta {
  opacity: 0;
  visibility: hidden;
}

.touch .client-more-less {
  display: inline-block;
  pointer-events: none;
  z-index: 5;
  background-color: #eaecec;
  color: rgba(0, 0, 0, 0.5);
}

.touch .client-close {
  z-index: 6;
  background-color: transparent;
}

.client-close:hover ~ .client-meta {
  opacity: 0;
  visibility: hidden;
}

.client-close:hover ~ img.client-logo,
.client-more-less ~ img.client-logo {
  width: 80%;
}

.touch .client-more-less::before,
.touch .client-more-less::after {
  content: '';
  background-color: rgba(0, 0, 0, 0.25);
  padding: 0;
  display: block;
  border-radius: 3px;
  position: absolute;
  margin: 0 auto;
}

.touch .client-more-less::before {
  margin: 11px 6px;
  width: 14px;
  height: 4px;
}

.touch .client-more-less::after {
  margin: 6px 11px;
  width: 4px;
  height: 14px;
}

/* Responsive Reset */
.reset {
  opacity: 1 !important;
}

.reset .client-logo {
  width: 80% !important;
}

.touch .reset .client-more-less::after {
  opacity: 1 !important;
}

/* End Responsive Reset */
.client:hover .client-logo {
  width: 76%;
}

img.reset-logo {
  width: 80%;
}

.project-list:hover .overflow-wrapper img,
.opaque {
  opacity: 1;
}

.overflow-wrapper {
  position: relative;
  padding-top: calc(100% - 45px);
  width: 100%;
  display: inline-block;
  z-index: 3;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  transition: .2s ease all;
}

.overflow-wrapper img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  padding: 1px;
  border-radius: 4px 4px 0 0;
  -webkit-transition: .15s ease all;
  -moz-transition: .15s ease all;
  -ms-transition: .15s ease all;
  -o-transition: .15s ease all;
  transition: .15s ease all;
  -webkit-backface-visibility: hidden;
  -webkit-transform: translateZ(0) scale(1, 1);
}

.client-logo {
  z-index: 1;
  position: absolute;
  transform: translateY(-50%) translateX(-50%);
  left: 50%;
  top: 50%;
  width: 80%;
  height: auto;
  transition: .2s ease all;
  -webkit-animation: fadein .8s;
  -moz-animation: fadein .8s;
  -ms-animation: fadein .8s;
  -o-animation: fadein .8s;
  animation: fadein .8s;
}

.white-bg {
  background-color: white;
}

.project-list {
  overflow: hidden;
  max-height: 230px;
  margin-top: calc(100% - 44px);
  padding: 0;
  margin-bottom: 0;
  line-height: 1;
  padding-top: 0;
  padding-bottom: 20px;
  text-align: center;
  border-bottom: 4px solid #bdbdff;
  transition: .2s ease all;
}

.project-list:hover {
  max-height: 270px;
}

.project-list:hover .bar {
  max-width: 100%;
  border-top: 4px solid #bdbdff;
}

.project-list:hover {
  border-bottom: 4px solid white;
}

.bar {
  margin: 0 auto;
  border: 0;
  border-top: 4px solid #e8e8e8;
  max-width: calc(100% - 30px);
  transition: .2s ease all;
}

.project-list li {
  cursor: pointer;
  display: block;
  text-align: center;
  padding: 8px 10px;
  font-size: .9rem;
}

.project-list li:hover {
  color: #646464;
}

/* Sizes for demo */
.square {
  padding: 20%;
}

.smaller {
  padding: 10%;
}

/* End Sizes for demo */
@media screen and (max-width: 1024px) {
  .client {
    max-width: calc(25% - 30px);
  }
}
@media screen and (max-width: 820px) {
  .client {
    max-width: calc(33.33% - 30px);
  }
}
@media screen and (max-width: 620px) {
  .client {
    max-width: calc(50% - 30px);
  }
}
@media screen and (max-width: 525px) {
  .client {
    max-width: calc(35% - 30px);
  }

  .client-wrap {
    text-align: center;
  }
}
/* Animation */
@-webkit-keyframes fadein {
  from {
    opacity: 0;
    width: 65%;
  }
  to {
    opacity: 1;
    width: 80%;
  }
}
@-moz-keyframes fadein {
  from {
    opacity: 0;
    width: 65%;
  }
  to {
    opacity: 1;
    width: 80%;
  }
}
@-ms-keyframes fadein {
  from {
    opacity: 0;
    width: 65%;
  }
  to {
    opacity: 1;
    width: 80%;
  }
}
@-o-keyframes fadein {
  from {
    opacity: 0;
    width: 65%;
  }
  to {
    opacity: 1;
    width: 80%;
  }
}
@keyframes fadein {
  from {
    opacity: 0;
    width: 65%;
  }
  to {
    opacity: 1;
    width: 80%;
  }
}


/*----------- Logos CSS -------------   */
.logo-grid{
    *zoom:1
}
.logo-grid:after,.logo-grid:before{
    content:" ";
    display:table
}
.logo-grid:after{
    clear:both
}

::selection{
    background:hsla(0,1%,85%,.5)
}
::-moz-selection{
    background:hsla(0,1%,85%,.5)
}


.logo-grid{
    padding-top:4px;
    padding-bottom:4px;
    position:relative;
    text-align:center
}
.logo-grid .logo-grid__item-wrap{
    display:inline-block;
    position:relative;
    padding:4px;
    width:25%
}
@media (min-width:769px){
    .logo-grid .logo-grid__item-wrap{
        width:16.66667%
    }
}
@media (min-width:993px){
    .logo-grid .logo-grid__item-wrap{
        width:12.33333%                             /*----------- Value Resize-------------   */
    }
}
.logo-grid .logo-grid__item{
    border-radius:5px;
    position:relative;
    text-align:center;
    padding-bottom:100%;
    height:0;
    background-color:#fafafa!important;
    border:1px solid #e4e6ea
}
.logo-grid .logo-grid__img{
    max-width:65%;
    max-height:65%;
    position:absolute;
    top:50%!important;
    left:50%!important;
    right:auto!important;
    bottom:auto!important;
    -webkit-transform:translate(-50%,-50%);
    transform:translate(-50%,-50%)
}
