.product_img_link {
  display: block;
  position: relative;
  overflow: hidden;
}
.ybc_img_hover {
  width: 100%;
  float: left;
}
ul.product_list.grid > li .thumbnail-container {
  border: 1px solid #d6d4d4;
  margin-bottom: 13px;
  padding: 9px;
  position: relative;
  overflow: hidden;
}

/*----------------------zoom effect------------*/
.zoom:nth-child(2),
.zoom.ybc_img_hover {
  opacity: 0;
  position: absolute;
  top: 0px;
  transform: scale(0);
  -moz-transform: scale(0);
  -o-transform: scale(0);
  -ms-transform: scale(0);
  -webkit-transform: scale(0);
  transition: all 0.5s ease 0s;
  -moz-transition: all 0.5s ease 0s;
  -webkit-transition: all 0.5s ease 0s;
  -o-transition: all 0.5s ease 0s;
}
.thumbnail-container:hover .zoom:nth-child(2),
.thumbnail-container:hover .zoom.ybc_img_hover {
  opacity: 1;
  transform: scale(1);
  -ms-transform: scale(1);
  -moz-transform: scale(1);
  -o-transform: scale(1);
  -webkit-transform: scale(1);
}
.ie8 .ybc_img_hover, .ie8 .product-box .ybc_img_hover {
    position: absolute;
    top: 0px;
    z-index: -1;
    opacity: 0;
}
.ie8 .thumbnail-container:hover .ybc_img_hover {
    z-index: 0;
}
/*----------------------end of zoom effect------------*/

/*----------------------faded effect-------------------*/
@media (pointer: fine) {
  .faded.ybc_img_hover {
    transition: all 0.5s ease 0s;
    -moz-transition: all 0.5s ease 0s;
    -webkit-transition: all 0.5s ease 0s;
    -o-transition: all 0.5s ease 0s;
  }
}
.faded.ybc_img_hover {
    opacity: 0;
    position: absolute !important;
    top: 0px;
    width: 100%;
    left: 0;
    margin-left: 0 !important;
}
.thumbnail-container:hover .faded.ybc_img_hover  {
  opacity: 1;
}

/*----------------------end of faded effect-------------*/

/*-----------vertical_scrolling bottom to top effect-------------------*/
/*.vertical_scrolling_bottom_to_top:nth-child(2),
.product-box .product-image .vertical_scrolling_bottom_to_top:nth-child(2),
.vertical_scrolling_bottom_to_top.ybc_img_hover,
.product-box .product-image .vertical_scrolling_bottom_to_top.ybc_img_hover {
  position: absolute;
  top:110%;
  left: 0;
  transition:top 0.5s ease 0s;
  -moz-transition: top 0.5s ease 0s;
  -webkit-transition: top 0.5s ease 0s;
  -o-transition:top 0.5s ease 0s;
}
.thumbnail-container:hover .vertical_scrolling_bottom_to_top:nth-child(2),
.product-box:hover .product-image .vertical_scrolling_bottom_to_top:nth-child(2),
.product-box:hover .product-image .vertical_scrolling_bottom_to_top.ybc_img_hover,
.thumbnail-container:hover .vertical_scrolling_bottom_to_top.ybc_img_hover {
  top:0;
}
/*------------end of vertical_scrolling effect-------------*/

/*-----------vertical_scrolling top to bottom effect-------------------*/
/*.vertical_scrolling_top_to_bottom:nth-child(2),
.product-box .product-image .vertical_scrolling_top_to_bottom:nth-child(2),
.vertical_scrolling_top_to_bottom.ybc_img_hover,
.product-box .product-image .vertical_scrolling_top_to_bottom.ybc_img_hover {
  position: absolute;
  top:-110%;
  left: 0;
  transition:top 0.5s ease 0s;
  -moz-transition: top 0.5s ease 0s;
  -webkit-transition: top 0.5s ease 0s;
  -o-transition:top 0.5s ease 0s;
}
.thumbnail-container:hover .vertical_scrolling_top_to_bottom:nth-child(2),
.product-box:hover .product-image .vertical_scrolling_top_to_bottom:nth-child(2),
.product-box:hover .product-image .vertical_scrolling_top_to_bottom.ybc_img_hover,
.thumbnail-container:hover .vertical_scrolling_top_to_bottom.ybc_img_hover {
  top:0;
}
/*------------end of vertical_scrolling effect-------------*/

/*-----------horizontal_scrolling left to right effect-------------------*/
/*.horizontal_scrolling_left_to_right:nth-child(2),
.product-box .product-image .horizontal_scrolling_left_to_right:nth-child(2),
.horizontal_scrolling_left_to_right.ybc_img_hover,
.product-box .product-image .horizontal_scrolling_left_to_right.ybc_img_hover {
  position: absolute;
  top:0;
  left:-100%;
  transition:left 0.5s ease 0s;
  -moz-transition: left 0.5s ease 0s;
  -webkit-transition: left 0.5s ease 0s;
  -o-transition:left 0.5s ease 0s;
}
.thumbnail-container:hover .horizontal_scrolling_left_to_right:nth-child(2),
.product-box:hover .product-image .horizontal_scrolling_left_to_right:nth-child(2),
.product-box:hover .product-image .horizontal_scrolling_left_to_right.ybc_img_hover,
.thumbnail-container:hover .horizontal_scrolling_left_to_right.ybc_img_hover {
  left:0;
}
/*------------end of horizontal_scrolling effect-------------*/

/*-----------horizontal_scrolling right to left effect-------------------*/
/*.product-box .product-image {
  overflow: hidden;
  position: relative;
}
.horizontal_scrolling_right_to_left:nth-child(2),
.product-box .product-image .horizontal_scrolling_right_to_left:nth-child(2),
.horizontal_scrolling_right_to_left.ybc_img_hover,
.product-box .product-image .horizontal_scrolling_right_to_left.ybc_img_hover {
  position: absolute;
  top:0;
  right:-100%;
  transition:right 0.5s ease 0s;
  -moz-transition:right 0.5s ease 0s;
  -webkit-transition:right 0.5s ease 0s;
  -o-transition:right 0.5s ease 0s;
}
.thumbnail-container:hover .horizontal_scrolling_right_to_left:nth-child(2),
.product-box:hover .product-image .horizontal_scrolling_right_to_left:nth-child(2),
.product-box:hover .product-image .horizontal_scrolling_right_to_left.ybc_img_hover,
.thumbnail-container:hover .horizontal_scrolling_right_to_left.ybc_img_hover {
  right:0;
}



/*accessories product*/
/*.product-image.product_image {
  border: medium none;
  margin: 0;
  overflow: hidden;
  padding: 0;
  position: relative;
}
.product-box .product_desc {
  border: 1px solid #D6D4D4;
  padding: 5px;
}
/**/
/*------------end of horizontal_scrolling effect-------------*/
/*
.product_img_link img
{
     -webkit-transform: perspective(600px) rotatey( 0deg );
    -o-transform: perspective(600px) rotatey( 0deg );
    transform: perspective(600px) rotatey( 0deg );    
    -webkit-backface-visibility: hidden;
    -o-backface-visibility: hidden;
    backface-visibility: hidden;
    transition: -webkit-transform 0.5s linear 0s;
    transition: -o-transform 0.5s linear 0s;
    transition: transform 0.5s linear 0s;
}

.product_img_link > .flip3d.ybc_img_hover{  
    position: absolute;
    top: 0;
    left: 0;
    -webkit-transform: perspective(600px) rotatey( 180deg );
    -o-transform: perspective(600px) rotatey( 180deg );
    transform: perspective(600px) rotatey( 180deg );
    -webkit-backface-visibility: hidden;
    -o-backface-visibility: hidden;
    backface-visibility: hidden;
    transition: -webkit-transform 0.5s linear 0s; 
    transition: -o-transform 0.5s linear 0s;
    transition: transform 0.5s linear 0s;            
}
.thumbnail-container:hover img:nth-child(2),
.product-box:hover .product-image .img:nth-child(2),
.product-box:hover .product-image .img.ybc_img_hover,
.thumbnail-container:hover .img.ybc_img_hover
{
     -webkit-transform: perspective(600px) rotatey( -180deg ); 
     -o-transform: perspective(600px) rotatey( -180deg );
     transform: perspective(600px) rotatey( -180deg );            
}
.thumbnail-container:hover .flip3d:nth-child(2),
.product-box:hover .product-image .flip3d:nth-child(2),
.product-box:hover .product-image .flip3d.ybc_img_hover,
.thumbnail-container:hover .flip3d.ybc_img_hover
{
     -webkit-transform: perspective(600px) rotatey( 0deg );
     -o-transform: perspective(600px) rotatey( 0deg );
     transform: perspective(600px) rotatey( 0deg );            
}

*/