html body .modula.modula-gallery-bnb .modula-items .modula-item .modula-item-content {
    transition: transform .3s ease-out,opacity .2s linear,top .3s,left .6s;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

html body .modula.modula-gallery-bnb .modula-items .modula-item .figc {
    position: absolute;
    top: 0;
    height: 100%;
    width: 100%;
}

html body .modula.modula-gallery-bnb .modula_bnb_main_wrapper::before {
    padding-top: 100%;
    content: "";
    display: block;
}


html body .modula.modula-gallery-bnb .modula-items {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;

}

html body .modula.modula-gallery-bnb .modula_bnb_main_wrapper,
html body .modula.modula-gallery-bnb .modula_bnb_items_wrapper {
  display: flex;
}

html body .modula.modula-gallery-bnb .modula_bnb_main_wrapper .modula-item {
  height: 100%;
  width: 100%;
}

html body .modula.modula-gallery-bnb .modula_bnb_items_wrapper {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
}

html body .modula.modula-gallery-bnb .modula_bnb_items_wrapper .modula-item {
  width: 100%;
  object-fit: cover;
}

html body .modula.modula-gallery-bnb.modula-gallery .modula-items .modula_bnb_items_wrapper .modula-item:nth-child(n+5) {
  display: none;
}

html body .modula.modula-gallery-bnb .modula-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

html body .modula.modula-gallery-bnb .modula-items .modula-item img.pic,
html body .modula.modula-gallery-bnb .modula-items .modula-item{
  position: relative;
}












