.product-gallery{
	display: block;
	padding: 1em;
  margin: 0;
}
.product-gallery .sidebar{
  max-width:100%;
}
.filter-menu {
    text-align: right;
    margin-bottom: 1rem;
}
.filter-menu .filter-close {
    display: none;
}
.filter-menu .filter-menu-icon{
  display: inline-flex;
  background: #f9f9f9;
    padding: .4em;
    border-radius: 3px;
}
.filter-menu .filter-menu-icon,
.filter-menu .filter-close {
    line-height: 1em;
    font-size: 1em;
    color: #333;
    cursor: pointer;
}
.filter-menu .filter-menu-icon .enabler{
  background: url(/wp-content/themes/AEIG2020/images/icons/angle-down.svg) no-repeat center center;
  position: relative;
  top: -3px;
}
.filter-menu .filter-close .disabler{
filter: invert(100%);
}
.filter-close .disabler {
    position: relative;
}
.filter-menu .filter-menu-icon .sronly{
  width:3px;
}
div#aeiggallery_0_sidebar{
  display:none;
}
@media only screen and (min-width:720px){
div#aeiggallery_0_sidebar{
  display:block;
}
.filter-menu{
  display:none;
}
 .product-gallery{
  display:grid;
  grid-template: [row1-start] "header header" auto [row1-end]
  [row2-start] "sidebar display" auto [row2-end]
  [row3-start] "footer footer" auto [row3-end]
  / auto;
  padding: 1em;
  margin: 0;
  grid-column-gap: 2rem;
} 
.product-gallery .sidebar{
  max-width:220px;
  grid-area: sidebar;
}
}


.product-gallery .endmarker {
  display:none;
  grid-area: footer;
}
.product-gallery .endmarker.loading {
  display:block;
  background: url(../image/loading.gif) no-repeat center left;
  padding-left: 154px;
  border:1px solid rgba(0,0,0,0.1);
  min-height:24px;
  border-radius:5px;
}
.product-gallery .footer{
	grid-area: footer;
}
.product-gallery .nodisplay,
.product-gallery .display{
	grid-area: display;
	vertical-align: text-top;
	position: relative;
}

.product-gallery .header{
	grid-area: header;
}

/* UI */
input[type="checkbox"],
input[type="radio"] {
  position: absolute;
  opacity: 0;
  z-index: -1;
}
label {
  position: relative;
  display: inline-block;
  padding: 0 0 0 2em;
  height: 1.5em;
  line-height: 1.5;
  cursor: pointer;
}
label::before,
label::after {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 1.5em;
  height: 1.5em;
}
label::before {
  content: " ";
  border: 2px solid #bdc3c7;
  border-radius: 20%;
}
/* Checkbox */
input[type="checkbox"] + label::after {
  content: "\2714";
  color: #2c3e50;
  line-height: 1.5;
  text-align: center;
}
.field-checkbox {
	margin-bottom: .5rem;
}
/* Radio */
input[type="radio"] + label::before {
  border-radius: 50%;
}
input[type=radio] + label::after {
  content: " ";
  top: .25em;
  left: .25em;
  width: 1em;
  height: 1em;
  background: #fff;
  border: .2em solid #2c3e50;
  border-radius: 50%;
}
/* :checked */
input[type="checkbox"]:checked + label::before,
input[type="radio"]:checked + label::before {
  background: #fff;
  border-color: #fff;
}
input[type="checkbox"] + label::after,
input[type=radio] + label::after {
  -webkit-transform: scale(0);
  -ms-transform: scale(0);
  -o-transform: scale(0);
  transform: scale(0);
}
input[type="checkbox"]:checked + label::after,
input[type=radio]:checked + label::after {
  -webkit-transform: scale(1);
  -ms-transform: scale(1);
  -o-transform: scale(1);
  transform: scale(1);
}
/* Transition */
label::before,
label::after {
  -webkit-transition: .25s all ease;
  -o-transition: .25s all ease;
  transition: .25s all ease;
}
.product-gallery .gallery-item {
display: inline-block;
width: 33%;
overflow: hidden;
position: relative;
padding: 0;
margin: 0;
vertical-align: text-top;
margin: 0 0 1rem;
}
@media only screen and (max-width: 1380px) {
  .product-gallery .gallery-item {
    width: 33%;
    }
}
@media only screen and (max-width: 1024px) {
  .product-gallery .gallery-item {
    width: 49%;
    }
}
@media only screen and (max-width: 600px) {
  .product-gallery .gallery-item {
    width: 99%;
    }
}
.product-gallery .gallery-item a {
	display: block;
	width:100%;
}
.product-gallery .gallery-item a img{
	width:100%;
	object-fit:cover;
}
.gallery-item .fbgalleryitemtext {
	position: relative;
	opacity: unset;
	padding: .5rem 1rem;
	font-size: 0.8rem;
    line-height: 1.6rem;
}
.gallery-item .fbgalleryitemtext p
{
  margin-bottom: 0.5rem;
  font-size: 0.8rem;
}
.gallery-item h2 {
    font-size: 1rem;
    padding: 0;
    font-weight: 700
}
.gallery-item h2 .title {
    font-size: 1rem;
    padding: 0;
}

.gallery-item strong {
    clear: left;
}