@import "../../../../assets/css/lsow-lib";
.lsow-clients {
  clear: both;
  overflow: hidden;
  margin: 0 auto;

  @include grid-media($lsow-mobile-only-grid) {
    .lsow-grid-mobile-1 {
      .lsow-grid-item:nth-child(1n + 1) {
        border-left: 1px solid #ddd;
        }
      .lsow-grid-item:nth-child(-n + 1) {
        border-top: 1px solid #ddd;
        }
      }
    .lsow-grid-mobile-2 {
      .lsow-grid-item:nth-child(2n + 1) {
        border-left: 1px solid #ddd;
        }
      .lsow-grid-item:nth-child(-n + 2) {
        border-top: 1px solid #ddd;
        }
      }
    .lsow-grid-mobile-3 {
      .lsow-grid-item:nth-child(3n + 1) {
        border-left: 1px solid #ddd;
        }
      .lsow-grid-item:nth-child(-n + 3) {
        border-top: 1px solid #ddd;
        }
      }
    .lsow-grid-mobile-4 {
      .lsow-grid-item:nth-child(4n + 1) {
        border-left: 1px solid #ddd;
        }
      .lsow-grid-item:nth-child(-n + 4) {
        border-top: 1px solid #ddd;
        }
      }
    .lsow-grid-mobile-5 {
      .lsow-grid-item:nth-child(5n + 1) {
        border-left: 1px solid #ddd;
        }
      .lsow-grid-item:nth-child(-n + 5) {
        border-top: 1px solid #ddd;
        }
      }
    .lsow-grid-mobile-6 {
      .lsow-grid-item:nth-child(6n + 1) {
        border-left: 1px solid #ddd;
        }
      .lsow-grid-item:nth-child(-n + 6) {
        border-top: 1px solid #ddd;
        }
      }
    }
  @include grid-media($lsow-tablet-only-grid) {

    .lsow-grid-tablet-1 {
      .lsow-grid-item:nth-child(1n + 1) {
        border-left: 1px solid #ddd;
        }
      .lsow-grid-item:nth-child(-n + 1) {
        border-top: 1px solid #ddd;
        }
      }
    .lsow-grid-tablet-2 {
      .lsow-grid-item:nth-child(2n + 1) {
        border-left: 1px solid #ddd;
        }
      .lsow-grid-item:nth-child(-n + 2) {
        border-top: 1px solid #ddd;
        }
      }
    .lsow-grid-tablet-3 {
      .lsow-grid-item:nth-child(3n + 1) {
        border-left: 1px solid #ddd;
        }
      .lsow-grid-item:nth-child(-n + 3) {
        border-top: 1px solid #ddd;
        }
      }
    .lsow-grid-tablet-4 {
      .lsow-grid-item:nth-child(4n + 1) {
        border-left: 1px solid #ddd;
        }
      .lsow-grid-item:nth-child(-n + 4) {
        border-top: 1px solid #ddd;
        }
      }
    .lsow-grid-tablet-5 {
      .lsow-grid-item:nth-child(5n + 1) {
        border-left: 1px solid #ddd;
        }
      .lsow-grid-item:nth-child(-n + 5) {
        border-top: 1px solid #ddd;
        }
      }
    .lsow-grid-tablet-6 {
      .lsow-grid-item:nth-child(6n + 1) {
        border-left: 1px solid #ddd;
        }
      .lsow-grid-item:nth-child(-n + 6) {
        border-top: 1px solid #ddd;
        }
      }
    }
  @include grid-media($lsow-desktop-grid) {
    .lsow-grid-desktop-1 {
      .lsow-grid-item:nth-child(1n + 1) {
        border-left: 1px solid #ddd;
        }
      .lsow-grid-item:nth-child(-n + 1) {
        border-top: 1px solid #ddd;
        }
      }
    .lsow-grid-desktop-2 {
      .lsow-grid-item:nth-child(2n + 1) {
        border-left: 1px solid #ddd;
        }
      .lsow-grid-item:nth-child(-n + 2) {
        border-top: 1px solid #ddd;
        }
      }
    .lsow-grid-desktop-3 {
      .lsow-grid-item:nth-child(3n + 1) {
        border-left: 1px solid #ddd;
        }
      .lsow-grid-item:nth-child(-n + 3) {
        border-top: 1px solid #ddd;
        }
      }
    .lsow-grid-desktop-4 {
      .lsow-grid-item:nth-child(4n + 1) {
        border-left: 1px solid #ddd;
        }
      .lsow-grid-item:nth-child(-n + 4) {
        border-top: 1px solid #ddd;
        }
      }
    .lsow-grid-desktop-5 {
      .lsow-grid-item:nth-child(5n + 1) {
        border-left: 1px solid #ddd;
        }
      .lsow-grid-item:nth-child(-n + 5) {
        border-top: 1px solid #ddd;
        }
      }
    .lsow-grid-desktop-6 {
      .lsow-grid-item:nth-child(6n + 1) {
        border-left: 1px solid #ddd;
        }
      .lsow-grid-item:nth-child(-n + 6) {
        border-top: 1px solid #ddd;
        }
      }
    }
  .lsow-client {
    position: relative;
    border-right: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    overflow: hidden;
    .lsow-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;
      }
    .lsow-client-name {
      position: absolute;
      z-index: 2;
      top: 50%;
      text-align: center;
      width: 100%;
      height: 100%;
      margin-top: -12px;
      color: #fff;
      font-size: 18px;
      line-height: 26px;
      transition: opacity 0.4s ease-in-out 0s;
      opacity: 0;
      a {
        color: #fff;
        text-decoration: none;
        }
      }
    .lsow-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 0.4s ease-in-out 0s;
      }
    &:hover {
      .lsow-image-overlay {
        opacity: 0.7;
        .lsow-dark-bg & {
          opacity: 0.8;
          }
        }
      .lsow-client-name {
        opacity: 1;
        }
      }
    }
  }