/**
 * @package mxshortcodes plugin
 * @author themescreative http://www.themescreative.com
 * @copyright Copyright (c) 2010 - 2013 themescreative
 * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 or Later
*/
.mx-shortcode-gallery-filters {
  margin-bottom: 20px;
}

ul.mx-shortcode-gallery {
  display: grid !important;
  grid-template-columns: repeat(1, minmax(0, 1fr)) !important;
  gap: var(--bs-gutter-y, 1rem) var(--bs-gutter-x, 1rem);
  margin: 0;
  padding: 0;
}

ul.mx-shortcode-gallery.mx-shortcode-gallery.mx-shortcode-gallery > li {
  box-sizing: border-box;
  flex: none !important;
  min-width: 0;
  max-width: 100% !important;
  padding: 0;
  width: 100% !important;
}

ul.mx-shortcode-gallery.mx-shortcode-gallery.mx-shortcode-gallery > li[hidden] {
  display: none !important;
}

ul.mx-shortcode-gallery li > a {
  display: block;
  position: relative;
}

ul.mx-shortcode-gallery li img {
  display: block;
  height: auto;
  width: 100%;
}

@media (min-width: 576px) {
  ul.mx-shortcode-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (min-width: 992px) {
  ul.mx-shortcode-gallery {
    grid-template-columns: repeat(var(--mx-shortcode-gallery-columns, 3), minmax(0, 1fr)) !important;
  }
}
