.thumbnaill{
position: relative;
z-index: 0;
}

.thumbnaill:hover{
background-color: transparent;
z-index: 50;
}

.thumbnaill span{ /*CSS for enlarged image*/
position: absolute;
background-color: white;
padding: 5px;
left: -1000px;
border: 1px solid gray;
visibility: hidden;
color: black;
text-decoration: none;
}

.thumbnaill span img{ /*CSS for enlarged image*/
border-width: 0;
padding: 2px;
}

.thumbnaill:hover span{ /*CSS for enlarged image on hover*/
visibility: visible;
top: 0;
left: 20px; /*position where enlarged image should offset horizontally */
top: 20px;
}
.thumbnailr{
position: relative;
z-index: 0;
}

.thumbnailr:hover{
background-color: transparent;
z-index: 50;
}

.thumbnailr span{ /*CSS for enlarged image*/
position: absolute;
background-color: white;
padding: 5px;
left: -1000px;
border: 1px solid gray;
visibility: hidden;
color: black;
text-decoration: none;
}

.thumbnailr span img{ /*CSS for enlarged image*/
border-width: 0;
padding: 2px;
}

.thumbnailr:hover span{ /*CSS for enlarged image on hover*/
visibility: visible;
top: 0;
left: -240px; /*position where enlarged image should offset horizontally */
top: 20px;
}
.thumbnailcart{
position: relative;
z-index: 0;
}

.thumbnailcart:hover{
background-color: transparent;
z-index: 50;
}

.thumbnailcart span{ /*CSS for enlarged image*/
position: absolute;
background-color: white;
padding: 3px;
left: -1000px;
border-bottom: 1px solid #EADCEA;
border-left: 0px solid #EADCEA;
visibility: hidden;
color: black;
text-decoration: none;
}

.thumbnailcart span img{ /*CSS for enlarged image*/
border-width: 0;
padding: 2px;
}

.thumbnailcart:hover span{ /*CSS for enlarged image on hover*/
visibility: visible;
top: 0;
left: -8px; /*position where enlarged image should offset horizontally */
top: 20px;
}
