#gallery {
  position: relative;
  width: 656px;
  padding-top: 8px;
}
#thumbs {
  width: 205px;
  float: right;
}
#thumbs a {
  border: 2px solid #40403e;
  margin: 1px 0px 3px 10px;
  float: right;
  height: 40px;
  display: block;
  width: 50px;
}
#thumbs a img {
  border:  none;
  height: 40px;
  width: 50px;
}
#thumbs a:hover {
  border-color: #dddddd;
}
#thumbs a:hover img {
  border: 2px solid #40403e;
  padding: 2px;
  position: absolute;
  width: auto;
  height: auto;
  right: 196px;
  top: 8px;
}

