/* products styles */
.page-id-1510 #fancybox-img {
    border: 1px solid #ccc;
    width: 99%;
    height: 99%;
    margin: 0;
}
.products a {
  background-color: #ec4e35;
  text-decoration: none;
  color: white;
  border-radius: 4px;
  text-align: center;
  display: inline-block;
  transition: all .3s;
}

.products a:hover {
  opacity: .6;
}
.panel-widget-style-for-1510-1-1-0 .products {
  padding: 32px;
  text-align: center;
  margin: 0 auto;
}

.panel-widget-style-for-1510-1-1-0 .products > ul {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  grid-gap: 16px;
  font-size: 16px;
}

.panel-widget-style-for-1510-1-1-0 .products > ul > li {
  border: 1px solid #E2E2E2;
  border-radius: 8px;
  background-color: white;
}

.panel-widget-style-for-1510-1-1-0 .products > ul > li > figure {
  /* max-height: 220px; */
  overflow: hidden;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  position: relative;
}

.panel-widget-style-for-1510-1-1-0 .products > ul > li > figure > img {
  width: 100%;
}

.panel-widget-style-for-1510-1-1-0 .products > ul > li > figure > figcaption {
  position: relative;
  top: 0;
  background-color: rgba(0,0,0,0);
  width: 100%;
}

.panel-widget-style-for-1510-1-1-0 .products > ul > li > figure > figcaption > h3 {
  color: #666666;
  font-size: 18px !important;
  padding: 16px 16px 0 !important;
  display: block;
  margin-bottom: 0px;
  font-weight: bold;
  line-height: 1.4;
}

.panel-widget-style-for-1510-1-1-0 .products > ul > li > p {
  font-size: 16px;
  line-height: 1.5;
  padding: 0 10px 0;
  margin-top: -16px;
  margin-bottom: 0px;
  color: #666666;
  display: block;
}

.panel-widget-style-for-1510-1-1-0 .products > ul > li > a {
  padding: 8px 16px;
  margin:16px auto 32px;
  display: block;
  max-width: 100px;
}
