.sct-list{
  transition: all .5s ease-in-out;
    column-gap: 10px;
    column-fill: initial;
    column-count: 3;
}
.sct-item{
  margin-bottom: 10px;
  /*display: inline-block;*/
  vertical-align: top;
  position: relative;
  cursor: pointer
}
.sct-mask{
    position: absolute;
    width: 100%;
    height: 100%;
    top:0;
    left: 0;
    -moz-transform: scale(0);
    -moz-transform: scale(0);
    transform: scale(0);
    background: rgba(0,0,0,0.7);
    -webkit-transition:  all 0.5s linear;
    -moz-transition:  all 0.5s linear;
    transition:  all 0.5s linear;
}
.sct-item:hover .sct-mask{
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    transform: scale(1);
    -webkit-transition:  all 0.5s linear;
    -moz-transition:  all 0.5s linear;
    transition:  all 0.5s linear;
}
.sct-view{
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    color: #fff;
    text-align: center;
    z-index: 2;
}
.s-catalog{margin-top: 30px;}

.fs-gal-view {
    display: none;
    height: 100vh;
    width: 100vw;
    margin: 0;
    padding: 0;
    position: fixed;
    left: 0;
    top: 0;
    text-align: center;
    background-size: contain;
    background-position: center center;
    background-color: rgba(0, 0, 0, 0.8);
    background-repeat: no-repeat;
    overflow: hidden;
    z-index: 999999;
    flex-direction: column;
    justify-content: center; 
    align-items: center;
}
.fs-gal-view .fs-gal-main{max-height: 100%;}
.fs-gal-view p {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    min-width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    height: 50px;
    line-height: 50px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    font-weight: 300;
    font-size: 26px;
}
.fs-gal-prev, .fs-gal-next, .fs-gal-close {
    position: absolute;
    top: calc(50vh - 20px);
    height: 40px;
    width: 40px;
    z-index: 999999;
    -webkit-filter: drop-shadow(2px 2px 2px rgba(0, 0, 0, 1));      
    filter: drop-shadow(2px 2px 2px rgba(0, 0, 0, 1)); 
    transition: all 0.3s;
}
.fs-gal-prev:hover, .fs-gal-next:hover, .fs-gal-close:hover {
    -webkit-filter: drop-shadow(4px 4px 4px rgba(0,0,0,0.9));      
    filter: drop-shadow(4px 4px 4px rgba(0,0,0,0.9)); 
    cursor: pointer;
}
.fs-gal-prev {
    left: 0;
}
.fs-gal-next {
    right: 14px;
}
.fs-gal-close {
    top: 50px;
    right: 50px;
    height: 30px;
    width: 30px;
}
.fs-gal:hover, .fs-gal-nav:hover, .fs-gal-close:hover {
    cursor: pointer;
}
.prev-post{
    text-align: center;
    margin: 20px 0 50px;
}
.prev-btn{
    display: inline-block;
    padding: 5px 20px;
}
.prev-btn.prev-left{
    border-right: 1px solid #dedede;
}
.prev-btn.prev-right{
    border-left: 1px solid #dedede;
}
.prev-btn a{
    font-size: 50px;
    color: #333;
}

.prev-btn:hover a{color: #40C8F4;}
@media (max-width: 767px){
    .sct-list{
      transition: all .5s ease-in-out;
        column-gap: 15px;
        column-fill: initial;
        column-count: 2;
    }
    .sct-item{
        margin-bottom: 15px;
    }
}