/* Styles for Gallery view in SRP */
.AdContent {
  float: none !important;
  width: 100% !important; }
  .AdContent .title {
    height: auto;
    padding-left: 0.4em;
    padding-top: 0.3em; }

#adDetails {
  display: table;
  width: 100%; }

.galleryItem {
  /*display: inline;
  list-style-type: none;*/
  display: block;
  list-style-type: none;
  padding: 3px;
  margin: 5px 5px 15px 5px;
  border-bottom: 1px lightgrey solid; }
  .galleryItem .watchlist-handler,
  .galleryItem .click-out {
    display: table-cell;
    width: 10%;
    padding-top: 15px; }
  .galleryItem .watchlist-handler .watchlist-star,
  .galleryItem .click-out .icon {
    position: relative;
    display: block; }

.galleryAd {
  display: inline-block;
  height: 200px;
  padding: 1px;
  text-align: center;
  /*width: 46%;*/
  width: 95%;
  margin: 0 auto;
  margin-left: 6px; }

#galleryList {
  margin: 0 auto;
  width: 100%;
  line-height: 20px;
  margin-top: 10px; }
  #galleryList .galleryAdsBanner {
    margin-bottom: 5px; }

.galleryAdItem {
  display: inline-block;
  position: relative;
  text-align: center;
  height: 200px;
  width: 99%; }
  .galleryAdItem .galleryAdImage {
    height: 100%;
    margin: 0 auto;
    position: relative; }
  .galleryAdItem .imgWrapper {
    height: 100%;
    max-width: 100%; }
  .galleryAdItem img {
    bottom: 0;
    display: block;
    left: 0;
    margin: auto;
    max-height: 100%;
    max-width: 100%;
    position: absolute;
    right: 0;
    top: 0; }
  .galleryAdItem .galleryAdPrice {
    bottom: 2%;
    color: #fff;
    display: inline-block;
    height: 16px;
    left: 56%;
    margin-right: 0;
    overflow: hidden;
    padding: 3px;
    text-align: right;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 60px;
    z-index: 999; }
  .galleryAdItem .arrow_box {
    background: none repeat scroll 0 0 #E19224;
    border: 1px solid #EECF74;
    position: absolute; }

@media only screen and (min-width: 321px) {
  .galleryAdItem .galleryAdPrice {
    left: 50%; } }
.changeViewButton {
  margin-right: 5px;
  margin-left: 5px; }
  .changeViewButton img {
    margin-top: 12px; }

#searchHeaderDetailsInGalleryView {
  margin-left: 20px;
  margin-top: 3px;
  width: 48%;
  text-align: center; }

.galleryAdTitle {
  position: absolute;
  top: 10px;
  color: whitesmoke;
  background-color: rgba(0, 0, 0, 0.7);
  padding-left: 3px; }

.price_startdate {
  position: relative;
  top: 0;
  padding-left: 0.4em; }

.sponsored_zrp span, .sponsored_nzrp span, .sponsored_vip span {
  background-color: #fff; }

#adcontainerTop, #adcontainerBottom {
  width: 95% !important;
  margin: 5px;
  display: block; }
