@media (min-width: 992px) {  
  .latest .col-md-3 {
    width: 26%;
    margin-left: -1%;
  }
}

@media (max-width: 991px) {
  .home .rfwbs_pagination, #back-to-top {
    display: none !important;
  }
  .latest .col-md-3 {
    margin-top: 15px;
  }
}


@media (max-width: 600px) {
  .home .rfwbs_navi a img, .home .rfwbs_navi a {
    width: 20px;
    height: 64px;
  }
  .home .rfwbs_navi {
    bottom: calc(50% - 32px);
  }
}

@media(max-width:768px){
  .grid-item {
    width: calc(50% - 20px);
  }
}

@media(max-width:500px){
  .grid-item {
    width: 100%;
  }
}