@media only screen and (max-width : 768px) { .elementor { .tg-module-wrapper { // common &.tg-module-block { &.tg-module-block--style-1, &.tg-module-block--style-2, &.tg-module-block--style-6, &.tg-module-block--style-9 { .tg-col-control { flex-basis: $column-12; } } } &.tg-module-grid { &.tg-module-grid--style-1, &.tg-module-grid--style-2, &.tg-module-grid--style-3, &.tg-module-grid--style-4, &.tg-module-grid--style-5 { .tg-col-control { flex-basis: $column-12; } } &.tg-module-grid--style-1, &.tg-module-grid--style-2 { .tg_module_grid--small { flex-basis: $column-6; } } &.tg-module-grid--style-2 { .tg_module_grid--full { flex-basis: $column-12; } } &.tg-module-grid--style-5 { .tg-col-control { flex-basis: $column-6; margin-bottom: 4px; } } &.tg-module-grid--style-3, &.tg-module-grid--style-4, &.tg-module-grid--style-5 { .tg-col-control { margin-bottom: 4px; } } } } } } @media only screen and (max-width : 480px) { .elementor { .tg-module-wrapper { &.tg-module-grid { &.tg-module-grid--style-1, &.tg-module-grid--style-2 { .tg_module_grid--half { flex-basis: $column-12; } } &.tg-module-grid--style-5 { .tg-col-control { flex-basis: $column-12; } } } } } }