.cff-posts-wrap {
    display: flex !important;
}

.cff-item{
    background-color: #242526 !important;
    height: max-content !important;
    border-radius: 6px !important;
    border: solid 1px #656565 !important;
}

.cff-lightbox-wrapper.cff-enable-lb-comments .cff-lightbox-sidebar {
    background: #242526 !important;
}



#cff .cff-masonry-posts, #cff .cff-posts-wrap, .cff-wrapper-ctn {
    width: 100%;
}

.cff-item {
    max-width: 30%;
    margin: 0 auto;
}

.cff-posts-wrap {
    justify-content: space-between !important;
}

.cff-wrapper {
    width: 100%;
}
  


.cff-photo {
    height: max-content !important;
  }
  
  .cff-img-wrap {
    height: 100px !important;
  }
  
  .cff-lightbox-link {
    height: max-content !important;
  }
  
.cff-wrapper {
    margin-top: 33px;
}

@media screen and (min-width: 1400px) and (max-width: 1500px) {
    .kontakt .container {
        max-width: 100%;
    }
}

@media screen and (min-width: 767px) and (max-width: 1279px) {
    .cff-item {
        max-width: 42%;
    }

    .cff-item {
        display: none;
    }

    .cff-item:nth-child(1), .cff-item:nth-child(2) {
        display: block;
    }
}
  

@media screen and (max-width: 767px) {
    .cff-item {
        max-width: 100%;
        margin: 0 auto;
    }

    .cff-item {
        height: auto !important;
    }

    .cff-item {
        display: none;
    }

    .cff-item:nth-child(1) {
        display: block;
    }
}