
@import "../lae-lib";

/* ---------------------------------- Clients Widget ---------------------------------- */

.lae-clients {

  .lae-client {
    position: relative;
    border: 1px solid #ddd;
    overflow: hidden;

    .lae-dark-bg & {
      border-color: #505050 !important;
    }

    img {
      -webkit-transition: all 0.3s ease-in-out 0s;
      -moz-transition: all 0.3s ease-in-out 0s;
      transition: all 0.3s ease-in-out 0s;
      width: 100%;
      margin: 0;
      display: block;
    }

    .lae-client-name {
      position: absolute;
      z-index: 2;
      top: 50%;
      left: 0;
      text-align: center;
      width: 100%;
      height: 100%;
      margin-top: -12px;
      color: #fff;
      font-size: 18px;
      line-height: 26px;
      transition: opacity .4s ease-in-out 0s;
      opacity: 0;

      a {
        color: #fff;
        text-decoration: none;
      }
    }

    .lae-image-overlay {
      position: absolute;
      left: 0;
      top: 0;
      overflow: hidden;
      width: 100%;
      height: 100%;
      background: #000;
      filter: alpha(opacity=0);
      -moz-opacity: 0;
      opacity: 0;
      transition: opacity .4s ease-in-out 0s;
    }

    &:hover {
      .lae-image-overlay {
        opacity: 0.7;

        .lae-dark-bg & {
          opacity: 0.8;
        }
      }

      .lae-client-name {
        opacity: 1;
      }
    }
  }
}