.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;
}
div#aeiggallery_0_sidebar.open{
	display:block !important;
}
@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 {
  grid-area: footer;
  padding-left: 16%;
  text-align: center;
  visibility: hidden;
}
.product-gallery .endmarker.loading {
  visibility: visible;
}
.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;
}
.tvs .fbgalleryitemtext
{
  text-align: center
} 
.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;
}
.product-gallery .nav {
	padding: 2rem 0 .5rem;
	font-size: .75rem;
	text-transform: uppercase;
}
.product-gallery .pagelink.button {
	border: 1px solid transparent;
	padding: .5rem;
	border-radius: 5px;
	min-width: 32px;
	text-align: center;

	display: inline-block;
  }
.product-gallery a.pagelink.button{
	border-color: #027eed;
	position: relative;
}
.product-gallery a.pagelink.button img{
display: block;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%,-50%);
}
.product-gallery span.pagelink.button{
	border-color: #383838;
}
.product-gallery .display 
{display: grid;
grid-template-columns: 1fr 1fr;
}
@media only screen and (min-width: 1024px) 
{
  .product-gallery .display {
  grid-template-columns: 1fr 1fr 1fr;
  }
}

.product-gallery .display article img {
	display: inline-block;
    max-height: 20em;
}

.loaderanim {
	display: inline-block;
	position: relative;
	width: 20px;
	height: 20px;
  }
  .loaderanim div {
	animation: loaderanim 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
	transform-origin: 10px 10px;
  }
  .loaderanim div:after {
	content: " ";
	display: block;
	position: absolute;
	width: 2px;
	height: 2px;
	border-radius: 50%;
	background: #888;
	margin: -1px 0 0 -1px;
  }
  .loaderanim div:nth-child(1) {
	animation-delay: -0.036s;
  }
  .loaderanim div:nth-child(1):after {
	top: 15px;
	left: 15px;
  }
  .loaderanim div:nth-child(2) {
	animation-delay: -0.072s;
  }
  .loaderanim div:nth-child(2):after {
	top: 17px;
	left: 14px;
  }
  .loaderanim div:nth-child(3) {
	animation-delay: -0.108s;
  }
  .loaderanim div:nth-child(3):after {
	top: 18px;
	left: 12px;
  }
  .loaderanim div:nth-child(4) {
	animation-delay: -0.144s;
  }
  .loaderanim div:nth-child(4):after {
	top: 18px;
	left: 10px;
  }
  .loaderanim div:nth-child(5) {
	animation-delay: -0.18s;
  }
  .loaderanim div:nth-child(5):after {
	top: 18px;
	left: 8px;
  }
  .loaderanim div:nth-child(6) {
	animation-delay: -0.216s;
  }
  .loaderanim div:nth-child(6):after {
	top: 17px;
	left: 6px;
  }
  .loaderanim div:nth-child(7) {
	animation-delay: -0.252s;
  }
  .loaderanim div:nth-child(7):after {
	top: 16px;
	left: 4px;
  }
  .loaderanim div:nth-child(8) {
	animation-delay: -0.288s;
  }
  .loaderanim div:nth-child(8):after {
	top: 14px;
	left: 3px;
  }
  @keyframes loaderanim {
	0% {
	  transform: rotate(0deg);
	}
	100% {
	  transform: rotate(360deg);
	}
  }
  