
/* ============================================================
  GLOBAL
============================================================ */
.effects {
  padding: 10px;
}
.effects .product-thumb {
  position: relative;
  overflow: hidden;
}
.effects .product-thumb:nth-child(n) {
  
}
.effects .product-thumb:first-child {
  
}
.effects .product-thumb:last-child {
  margin-right: 0;
}
.effects .product-thumb img {
  display: block;
  margin: 0;
  padding: 0;
  max-width: 100%;
  height: auto;
}

.overlay {
  display: block;
  position: absolute;
  z-index: 20;
  background: rgba(0, 0, 0, 0.8);
  overflow: hidden;
  -webkit-transition: all 0.5s;
  -moz-transition: all 0.5s;
  -o-transition: all 0.5s;
  transition: all 0.5s;
}

a.close-overlay {
  display: block;
  position: absolute;
  top: 0;
  right: 0;
  z-index: 100;
  width: 45px;
  height: 45px;
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  line-height: 45px;
  text-align: center;
  background-color: #000;
  cursor: pointer;
}
a.close-overlay.hidden {
  display: none;
}

a.expand {
  display: block;
  position: absolute;
  z-index: 100;
  width: 60px;
  height: 60px;
  border: solid 4px #fff;
  text-align: center;
  color: #fff;
  line-height: 50px;
  font-weight: 700;
  font-size: 30px;
  -webkit-border-radius: 30px;
  -moz-border-radius: 30px;
  -ms-border-radius: 30px;
  -o-border-radius: 30px;
  border-radius: 30px;
}


/* ============================================================
  EFFECT 5 - ICON BORDER ANIMATE
============================================================ */
.am-index-product .overlay {
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  opacity: 0;
}
.am-index-product .overlay a.expand {
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  width: 100%;
  height: 100%;
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  -ms-border-radius: 0;
  -o-border-radius: 0;
  border-radius: 0;
  -webkit-transition: all 0.5s;
  -moz-transition: all 0.5s;
  -o-transition: all 0.5s;
  transition: all 0.5s;
}
.am-index-product .product-thumb.hover .overlay {
  opacity: 1;
}
.am-index-product .product-thumb.hover .overlay a.expand {
  width: 60px;
  height: 60px;
  -webkit-border-radius: 30px;
  -moz-border-radius: 30px;
  -ms-border-radius: 30px;
  -o-border-radius: 30px;
  border-radius: 30px;
}



/* ------------------------------------------------------------ *\
|* ------------------------------------------------------------ *|
|* Media Queries
|* ------------------------------------------------------------ *|
\* ------------------------------------------------------------ */
@media only screen and (max-width: 1100px) {
  .effects {
    padding-left: 5px;
  }
  .effects .product-thumb {
    
  }
  .effects .product-thumb:nth-child(n) {
    margin-right: 5px;
  }
  .effects .product-thumb:first-child {
    margin-left: 0;
  }
  .effects .product-thumb:nth-child(2n-1) {
    margin-left: -5px;
  }
  .effects .product-thumb:nth-child(2n) {
    margin-right: 0;
  }
  .effects .product-thumb:last-child {
    margin-right: 0;
  }
}
@media only screen and (max-width: 520px) {
  .effects .product-thumb {
    width: 100%;
  }
  .effects .product-thumb:nth-child(n) {
    margin-right: 0;
  }
  .effects .product-thumb:first-child {
    margin-left: 0;
  }
  .effects .product-thumb:nth-child(2n-1) {
    margin-left: 0;
  }
  .effects .product-thumb:nth-child(2n) {
    margin-right: 0;
  }
  .effects .product-thumb:last-child {
    margin-right: 0;
  }
  .effects .product-thumb img {
    margin: 0 auto;
  }
}
