.l2_gal_col_6 figure.acfgallery-item {
    width: calc(100% / 6);
}
.l2_gal_col_5 figure.acfgallery-item {
    width: calc(100% / 5);
}
.l2_gal_col_4 figure.acfgallery-item {
    width: calc(100% / 4);
}
.l2_gal_col_3 figure.acfgallery-item {
    width: calc(100% / 3);
}
.l2_gal_col_2 figure.acfgallery-item {
    width: calc(100% / 2);
}
.l2_gal_col_1 figure.acfgallery-item {
    width: 100%;
}

 @media screen and (max-width:768px) {
figure.acfgallery-item {
    flex: unset !important;
}
.l2_gal_col_6 figure.acfgallery-item {
    width: calc(calc(100% / 2) - 6px) !important;
}
.l2_gal_col_5 figure.acfgallery-item {
    width: calc(calc(100% / 2) - 6px) !important;
}
.l2_gal_col_4 figure.acfgallery-item {
    width: calc(calc(100% / 2) - 6px) !important;
}
.l2_gal_col_3 figure.acfgallery-item {
    width: calc(calc(100% / 2) - 6px) !important;
}
.l2_gal_col_2 figure.acfgallery-item {
    width: calc(calc(100% / 2) - 6px) !important;
}
.l2_gal_col_1 figure.acfgallery-item {
    width: calc(100% - 10px)  !important;
}
 }


  @media screen and (max-width:479px) {
figure.acfgallery-item {
    flex: unset !important;
}
.l2_gal_col_6 figure.acfgallery-item {
    width: calc(100% - 10px) !important;
}
.l2_gal_col_5 figure.acfgallery-item {
    width: calc(100% - 10px) !important;
}
.l2_gal_col_4 figure.acfgallery-item {
    width: calc(100% - 10px) !important;
}
.l2_gal_col_3 figure.acfgallery-item {
    width: calc(100% - 10px) !important;
}
.l2_gal_col_2 figure.acfgallery-item {
    width: calc(100% - 10px) !important;
}
.l2_gal_col_1 figure.acfgallery-item {
    width: calc(100% - 10px) !important;
}
 }