﻿
.searchItem
{
	width: 300px;
	table-layout: fixed;
	height: 300px;
	float: left;
	margin-top: 7px;
	margin-left: 7px;
	border-collapse: collapse;
	position: relative;

}

.searchItem:hover .overlay {
  bottom: 0;
  height: 22.0%;
    background-color: #58585A;
}

.overlay {
  position: absolute;
  bottom: 0;
  left: 15px;
  right:-7px;
  background-color: #dddddd;
  padding-left: 12px;
  padding-right: -5px;
  padding-bottom: -1px;
  overflow: hidden;
  width: 99.9%;
  height:0;
  transition: .5s ease;
  z-index:1000;
}

.top-div {
  width:98%;
  text-align: left;
  float: top;
  padding-top: 2px;
  padding-left: 5px;
  padding-right: 5px;
  padding-bottom: -2px;
  color: #FFFFFF;
  display: block;
  text-overflow: ellipsis;
  word-wrap: break-word;
  overflow: hidden;
  max-height: 3.0em;
  line-height: 1.0em;
  font-weight: bold;
}

.left-div {
  width:50%;
  text-align: left;
  float:left;
  padding-top: 5px;
  padding-left: 5px;
  padding-right: 0px;
  padding-bottom: -2px;
  color: #dddddd;
  vertical-align: bottom;
}

.right-div {
  width:50%;
  text-align: right;
  float:right;
  vertical-align: bottom;
  padding-bottom: 5px;
  padding-right: 5px;
}

.searchDetail
{
	height: 80px;
	vertical-align: top;

}
.searchImage
{
	background-color: #dddddd;
	text-align: center;
	height: 300px;
	margin: 0px;
}

.searchthumbnail{
position: relative;
z-index: 0;
border: none;
}

.searchthumbnail:hover{
background-color: transparent;
z-index: 50;
}

.searchthumbnail span{ /*CSS for enlarged image*/
position: absolute;
background-color: lightyellow;
padding: 5px;
left: -1000px;
border: 1px solid gray;
visibility: hidden;
color: black;
text-decoration: none;
}

.searchthumbnail span img{ /*CSS for enlarged image*/
border-width: 0;
padding: 2px;
}


.searchthumbnail:hover span{
visibility: visible;
top: 10px;
left: 10px; 

}