.av-layout-grid-container.grid421 {
display: flex;
flex-flow: row wrap;
justify-content: space-between;
}
.av-layout-grid-container.grid421 .flex_cell {
flex: 0 1 25%;
width: unset !important
}
@media only screen and (min-width: 768px) and (max-width: 989px) {
.av-layout-grid-container.grid421 .flex_cell {
flex: 0 1 50%;
}
}
@media only screen and (max-width: 767px) {
.av-layout-grid-container.grid421 .flex_cell {
flex: 1 1 100%;
}
}
.av-layout-grid-container.grid531 {
display: flex;
flex-flow: row wrap;
justify-content: space-between;
}
.av-layout-grid-container.grid531 .flex_cell {
flex: 0 1 20%;
width: unset !important
}
/*** here you can see that i set the width to 33.33% and the first zero indicates that they could not grow ***/
/*** the content is her justified : center - so the two containers at the end will be centered ***/
/*** row-reverse is for breaking the other way round. ***/
@media only screen and (min-width: 768px) and (max-width: 989px) {
.av-layout-grid-container.grid531 {
flex-flow: row-reverse wrap;
justify-content: center;
}
.av-layout-grid-container.grid531 .flex_cell {
flex: 0 1 33.33%;
}
}
@media only screen and (max-width: 767px) {
.av-layout-grid-container.grid531 .flex_cell {
flex: 1 1 100%;
}
}