   .document-gallery-widget {
        padding: 60px 0;
    }
    
    .document-gallery-widget .document-gallery-widget__filters {
        padding: 0;
        margin: 5px 0 35px 0;
        list-style: none;
        text-align: center;
    }
    .document-gallery-widget .document-gallery-widget__filters li {
        cursor: pointer;
        margin: 15px 15px 15px 0;
        display: inline-block;
        padding: 10px 20px;
        font-size: 12px;
        line-height: 20px;
        color: #666666;
        border-radius: 4px;
        text-transform: uppercase;
        background: #fff;
        margin-bottom: 5px;
        transition: all 0.3s ease-in-out;
    }
    
    
    .document-gallery-widget .document-gallery-widget__filters li:hover,
    .document-gallery-widget .document-gallery-widget__filters li.filter-active {
        background: #18d26e;
        color: #fff;
    }
    
    
    .document-gallery-widget .document-gallery-widget__filters li:last-child {
        margin-right: 0;
    }
    
    .document-gallery-widget .document-gallery-widget__wrap {
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
        transition: 0.3s;
    }
    
    .document-gallery-widget .document-gallery-widget__wrap:hover {
        box-shadow: 0 4px 14x rgba(0, 0, 0, 0.16);
    }
    
    .document-gallery-widget .document-gallery-widget__item {
        position: relative;
        height: auto;
        overflow: hidden;
        padding-bottom: 30px;
    }
    
    .document-gallery-widget .document-gallery-widget__item figure {
        background: #000;
        overflow: hidden;
        height: 193px;
        position: relative;
        border-radius: 4px 4px 0 0;
        margin: 0;
    }
    
.document-gallery-widget .document-gallery-widget__item figure:hover img {
  opacity: 0.4;
  transition: 0.3s;
}

.document-gallery-widget .document-gallery-widget__item figure .link-preview,
.document-gallery-widget .document-gallery-widget__item figure .link-details {
  position: absolute;
  display: inline-block;
  opacity: 0;
  line-height: 1;
  text-align: center;
  width: 36px;
  height: 36px;
  background: #fff;
  border-radius: 50%;
  transition: 0.2s linear;
}

.document-gallery-widget .document-gallery-widget__item figure .link-preview i,
.document-gallery-widget .document-gallery-widget__item figure .link-details i {
  padding-top: 6px;
  font-size: 22px;
  color: #333;
}

.document-gallery-widget .document-gallery-widget__item figure .link-preview:hover,
.document-gallery-widget .document-gallery-widget__item figure .link-details:hover {
  background: #18d26e;
}

.document-gallery-widget .document-gallery-widget__item figure .link-preview:hover i,
.document-gallery-widget .document-gallery-widget__item figure .link-details:hover i {
  color: #fff;
}

.document-gallery-widget .document-gallery-widget__item figure .link-preview {
  left: calc(50% - 38px);
  top: calc(50% - 18px);
}

.document-gallery-widget .document-gallery-widget__item figure .link-details {
  right: calc(50% - 38px);
  top: calc(50% - 18px);
}

.document-gallery-widget .document-gallery-widget__item figure:hover .link-preview {
  opacity: 1;
  left: calc(50% - 44px);
}

.document-gallery-widget .document-gallery-widget__item figure:hover .link-details {
  opacity: 1;
  right: calc(50% - 44px);
}

.document-gallery-widget .document-gallery-widget__item .document-gallery-widget__info {
  background: #fff;
  text-align: center;
  padding: 30px 30px 20px;
  border-radius: 0 0 3px 3px;
}

.document-gallery-widget .document-gallery-widget__item .document-gallery-widget__info .h4 {
  font-size: 18px;

  font-weight: 700;
  margin-bottom: 18px;
  padding-bottom: 0;
}

.document-gallery-widget .document-gallery-widget__item .document-gallery-widget__info .h4 a {
  color: #333;
}

.document-gallery-widget .document-gallery-widget__item .document-gallery-widget__info .h4 a:hover {
  color: #18d26e;
}

.document-gallery-widget .document-gallery-widget__item .document-gallery-widget__info p {
  padding: 0;
  margin: 0;
  color: #b8b8b8;
  font-weight: 500;
  font-size: 14px;
  text-transform: uppercase;
}



.document-gallery-widget:not(.full) .document-gallery-widget__container > div:nth-child(n+4) {
//    display: none;
}
.document-gallery-widget.show-all .document-gallery-widget__container > div{
    display: block!important;
}

@media screen and (max-width: 990px){
  .document-gallery-widget:not(.full) .document-gallery-widget__container > div{
    display: none;
  }
  .document-gallery-widget .document-gallery-widget__container > div:first-child,
  .document-gallery-widget .document-gallery-widget__container > div:nth-child(2){
    display: block;
  }
  .document-gallery-widget .show-more-container{
    display: block;
  }
}
@media screen and (max-width: 768px){
  .document-gallery-widget:not(.full) .document-gallery-widget__container > div:nth-child(2){
    display: none;
  }
}