﻿@media (min-width: 992px) {
  html {
    overflow-y: scroll;
  }
}
.center-cropped {
  /*width: 250px;*/
  height: 255px;
  background-position: center center;
  background-repeat: no-repeat;
  overflow: hidden;
}
/* Set the image to fill its parent and make transparent */
.center-cropped img {
  min-height: 100%;
  min-width: 100%;
  /* IE 8 */
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
  /* IE 5-7 */
  filter: alpha(opacity=0);
  /* modern browsers */
  opacity: 0;
}
.sorting-block ul {
  margin: 0 -2px;
}
.ai-search-result .thumbnail {
  padding: 0;
  margin-bottom: 0;
  position: relative;
}
.ai-search-result[data-itemtype="l"][data-feature="1"] .thumbnail .overlay {
  left: 0;
  top: 0;
  z-index: 1;
  position: absolute;
  width: 100%;
  height: 100%;
  /* gradient filter */
  background: rgba(0, 0, 0, 0.5);
  /* Old Browsers */
  background: -moz-linear-gradient(top, rgba(0, 0, 0, 0.5) 0%, rgba(255, 255, 255, 0) 20%, rgba(255, 255, 255, 0) 65%, rgba(0, 0, 0, 0.5) 100%);
  /* FF3.6+ */
  background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(0, 0, 0, 0.5)), color-stop(20%, rgba(255, 255, 255, 0)), color-stop(65%, rgba(255, 255, 255, 0)), color-stop(100%, rgba(0, 0, 0, 0.5)));
  /* Chrome, Safari4+ */
  background: -webkit-linear-gradient(top, rgba(0, 0, 0, 0.5) 0%, rgba(255, 255, 255, 0) 20%, rgba(255, 255, 255, 0) 65%, rgba(0, 0, 0, 0.5) 100%);
  /* Chrome10+,Safari5.1+ */
  background: -o-linear-gradient(top, rgba(0, 0, 0, 0.5) 0%, rgba(255, 255, 255, 0) 20%, rgba(255, 255, 255, 0) 65%, rgba(0, 0, 0, 0.5) 100%);
  /* Opera 11.10+ */
  background: -ms-linear-gradient(top, rgba(0, 0, 0, 0.5) 0%, rgba(255, 255, 255, 0) 20%, rgba(255, 255, 255, 0) 65%, rgba(0, 0, 0, 0.5) 100%);
  /* IE 10+ */
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5) 0%, rgba(255, 255, 255, 0) 20%, rgba(255, 255, 255, 0) 65%, rgba(0, 0, 0, 0.5) 100%);
  /* W3C */
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#000000', endColorstr='#000000', GradientType=0);
  /* IE6-9 */
}
.ai-search-result .video-icon-badge {
  right: 0;
  top: 10px;
  z-index: 2;
  color: #fff;
  padding: 5px 15px;
  position: absolute;
  font-size: 18px;
}
/* featured */
@media (max-width: 767px) {
  .ai-search-result[data-itemtype="l"][data-feature="1"] .thumbnail .cropped img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    overflow: hidden;
  }
  .ai-search-result[data-itemtype="l"][data-feature="1"] .photo-count-badge {
    left: 0;
    top: 10px;
    z-index: 2;
    color: #fff;
    padding: 5px 15px;
    position: absolute;
  }
  .ai-search-result[data-itemtype="l"][data-feature="1"] .listing-info-badge {
    width: 100%;
    left: 0;
    bottom: 0;
    z-index: 1;
    color: #fff;
    padding: 5px 15px;
    position: absolute;
  }
  /* premium */
  .ai-search-result[data-itemtype="l"][data-feature="0"] {
    /*height: 250px;*/
  }
  .ai-search-result[data-itemtype="l"][data-feature="0"] .thumbnail .cropped img {
    width: 100%;
    height: 190px;
    object-fit: cover;
    overflow: hidden;
  }
  /* normal */
  .ai-search-result[data-itemtype="l"][data-feature="-1"] .thumbnail .thumbnail-img,
  .ai-search-result[data-itemtype="l"][data-feature="-1"] .thumbnail .thumbnail-img img {
    max-height: 120px;
  }
}
@media (min-width: 768px) {
  /* featured */
  .ai-search-result[data-itemtype="l"][data-feature="1"] .thumbnail .cropped img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    overflow: hidden;
  }
  .ai-search-result[data-itemtype="l"][data-feature="1"] .photo-count-badge {
    left: 0;
    top: 10px;
    z-index: 2;
    color: #fff;
    padding: 5px 15px;
    position: absolute;
  }
  .ai-search-result[data-itemtype="l"][data-feature="1"] .listing-info-badge {
    width: 100%;
    left: 0;
    bottom: 0;
    z-index: 1;
    color: #fff;
    padding: 5px 15px;
    position: absolute;
  }
  /* premium */
  .ai-search-result[data-itemtype="l"][data-feature="0"] .thumbnail .thumbnail-img,
  .ai-search-result[data-itemtype="l"][data-feature="0"] .thumbnail .thumbnail-img img {
    /*max-height: 150px;*/
  }
  .ai-search-result[data-itemtype="l"][data-feature="0"] .thumbnail .cropped img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    overflow: hidden;
  }
  /* normal */
  .ai-search-result[data-itemtype="l"][data-feature="-1"] {
    height: 210px;
  }
  .ai-search-result[data-itemtype="l"][data-feature="-1"] .thumbnail .cropped img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    overflow: hidden;
  }
  /* square ad */
  .ai-search-result[data-itemtype="a"] {
    height: 300px;
  }
  .ai-search-result[data-itemtype="a"] .thumbnail {
    height: 100%;
    width: 100%;
    text-align: center;
    display: table;
  }
  .ai-search-result[data-itemtype="a"] .thumbnail .ad {
    display: table-cell;
    vertical-align: middle;
  }
}
@media (min-width: 992px) {
  /* featured */
  .ai-search-result[data-itemtype="l"][data-feature="1"] .thumbnail .cropped img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    overflow: hidden;
  }
  .ai-search-result[data-itemtype="l"][data-feature="1"] .photo-count-badge {
    left: 0;
    top: 10px;
    z-index: 2;
    color: #fff;
    padding: 5px 15px;
    position: absolute;
  }
  .ai-search-result[data-itemtype="l"][data-feature="1"] .listing-info-badge {
    width: 100%;
    left: 0;
    bottom: 0;
    z-index: 1;
    color: #fff;
    padding: 5px 15px;
    position: absolute;
  }
  /* premium */
  .ai-search-result[data-itemtype="l"][data-feature="0"] {
    height: 315px;
  }
  .ai-search-result[data-itemtype="l"][data-feature="0"] .thumbnail .cropped img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    overflow: hidden;
  }
  /* normal */
  .ai-search-result[data-itemtype="l"][data-feature="-1"] {
    height: 210px;
  }
  .ai-search-result[data-itemtype="l"][data-feature="-1"] .thumbnail .cropped img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    overflow: hidden;
  }
  /* square ad */
  .ai-search-result[data-itemtype="a"] {
    height: 300px;
  }
  .ai-search-result[data-itemtype="a"] .thumbnail {
    height: 100%;
    width: 100%;
    text-align: center;
    display: table;
  }
  .ai-search-result[data-itemtype="a"] .thumbnail .ad {
    display: table-cell;
    vertical-align: middle;
  }
}
.ai-search-result .photo-count-badge {
  left: 0;
  top: 10px;
  z-index: 2;
  color: #fff;
  padding: 5px 15px;
  position: absolute;
}
@media (min-width: 1200px) {
  /*.ai-search-result-detail-section {
    margin-top:15px;
}*/
  /* featured */
  .ai-search-result[data-itemtype="l"][data-feature="1"] .thumbnail .cropped img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    overflow: hidden;
  }
  .ai-search-result[data-itemtype="l"][data-feature="1"] .listing-info-badge {
    width: 100%;
    left: 0;
    bottom: 0;
    z-index: 1;
    color: #fff;
    padding: 5px 15px;
    position: absolute;
  }
  /* premium */
  .ai-search-result[data-itemtype="l"][data-feature="0"] {
    height: 330px;
  }
  .ai-search-result[data-itemtype="l"][data-feature="0"] .thumbnail .cropped img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    overflow: hidden;
  }
  /* normal */
  .ai-search-result[data-itemtype="l"][data-feature="-1"] {
    height: 210px;
  }
  .ai-search-result[data-itemtype="l"][data-feature="-1"] .thumbnail .cropped img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    overflow: hidden;
  }
  /* square ad */
  .ai-search-result[data-itemtype="a"] .thumbnail {
    height: 320px;
    width: 100%;
    text-align: center;
    display: table;
  }
  .ai-search-result[data-itemtype="a"] .thumbnail .ad {
    display: table-cell;
    vertical-align: middle;
  }
}
.ai-search-result-header-section,
.ai-search-result-ads-section {
  margin-top: 10px;
}
.ai-search-result-header-section {
  padding-left: 5px;
  padding-right: 5px;
}
.ai-search-result-detail-section,
.ai-search-result-detail-section-full-width {
  border: 1px solid black;
  background-color: black;
}
.listing-overlay-spinner {
  top: 30%;
  left: 45%;
  position: absolute;
  text-align: center;
  z-index: 1;
  font-size: 10px;
  text-indent: -9999em;
  border-top: 1.1em solid rgba(255, 255, 255, 0.2);
  border-right: 1.1em solid rgba(255, 255, 255, 0.2);
  border-bottom: 1.1em solid rgba(255, 255, 255, 0.2);
  border-left: 1.1em solid #ffffff;
  -webkit-transform: translateZ(0);
  -ms-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-animation: load8 1.1s infinite linear;
  animation: load8 1.1s infinite linear;
}
.ai-search-result .listing-overlay-spinner,
.ai-search-result .listing-overlay-spinner:after {
  border-radius: 50%;
  width: 7em;
  height: 7em;
}
@-webkit-keyframes load8 {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@keyframes load8 {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
.selected-listing-pointer {
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 15px 15px 15px;
  border-color: transparent transparent black transparent;
  margin-left: 45%;
}
.sorting-block .ai-search-result-detail-item ul {
  margin: 0;
}
.ai-search-result-detail-section .owl-stage-outer {
  height: auto !important;
}
.ai-search-result-detail-section-full-width .margin-top-15,
.ai-search-result-detail-section .margin-top-15 {
  margin-top: 15px;
}
.ai-search-result-detail-section-full-width .margin-top-10,
.ai-search-result-detail-section .margin-top-10 {
  margin-top: 10px;
}
/*//Featured Listing*/
.ai-search-result[data-itemtype="l"][data-feature="1"] .thumbnail .cropped img.company-logo {
  width: auto;
  height: 100px;
  /*max-width: 150px;
    max-height: 100px;*/
  right: 0;
  bottom: 10px;
  position: absolute;
  object-fit: initial;
}
/*//Premium Listing*/
.ai-search-result[data-itemtype="l"][data-feature="0"] .thumbnail .cropped img.company-logo {
  width: auto;
  height: 75px;
  right: 0;
  bottom: 10px;
  position: absolute;
  object-fit: initial;
}
/*//Normal Listing*/
.ai-search-result[data-itemtype="l"][data-feature="-1"] .thumbnail .cropped img.company-logo {
  width: initial;
  height: initial;
  max-width: 75px;
  max-height: 50px;
  right: 0;
  bottom: 10px;
  position: absolute;
  object-fit: initial;
}
.ai-carousel-viewer .owl-iframe-video-wrapper {
  height: 180px;
  width: 320px;
  margin-left: auto;
  margin-right: auto;
  margin-top: auto;
  margin-bottom: auto;
}
@media (min-width: 445px) {
  .ai-carousel-viewer .owl-iframe-video-wrapper {
    height: 350px;
    margin-top: auto;
  }
}
@media (min-width: 600px) {
  .ai-carousel-viewer .owl-iframe-video-wrapper {
    height: 420px;
    margin-top: auto;
  }
}
@media (min-width: 768px) {
  .ai-carousel-viewer img {
    height: 300px;
  }
  .ai-carousel-viewer .owl-iframe-video-wrapper {
    height: 300px;
    width: 533px;
  }
  .ai-carousel-arrow .ai-carousel-control {
    top: 150px;
  }
}
@media (min-width: 992px) {
  .ai-search-result-detail-section .ai-carousel-viewer img {
    height: 400px;
  }
  .ai-search-result-detail-section .ai-carousel-viewer .owl-iframe-video-wrapper {
    height: 400px;
    width: 711px;
  }
  .ai-search-result-detail-section .ai-carousel-arrow .ai-carousel-control {
    top: 200px;
  }
}
@media (min-width: 1200px) {
  .ai-search-result-detail-section .ai-carousel-viewer img,
  .ai-search-result-detail-section-full-width .ai-carousel-viewer img {
    height: 400px;
  }
  .ai-search-result-detail-section .ai-carousel-arrow .ai-carousel-control {
    top: 300px;
  }
}
.circular {
  border-radius: 50%;
}
.ai-search-result-detail-section .ai-lead-form-section,
.ai-search-result-detail-section-full-width .ai-lead-form-section {
  color: white;
}
.ai-search-result-detail-section .ai-lead-form-section .ai-listing-name,
.ai-search-result-detail-section-full-width .ai-lead-form-section .ai-listing-name {
  color: #a47503;
  font-size: 22px;
}
.ai-search-result-detail-section .ai-lead-form-section .location,
.ai-search-result-detail-section-full-width .ai-lead-form-section .location {
  font-size: 16px;
}
.ai-search-result-detail-section .ai-lead-form-section .price,
.ai-search-result-detail-section-full-width .ai-lead-form-section .price {
  font-size: 18px;
}
.ai-search-result-detail-section .ai-lead-form-section .price-converted,
.ai-search-result-detail-section-full-width .ai-lead-form-section .price-converted {
  font-size: 16px;
}
.ai-search-result-detail-section a.close-button:hover,
.ai-search-result-detail-section-full-width a.close-button:hover {
  color: #555;
}
.ai-search-result-detail-section-full-width .shareaholic-share-buttons-container li.shareaholic-share-button,
.ai-search-result-detail-section .shareaholic-share-buttons-container li.shareaholic-share-button {
  padding-right: 5px !important;
  padding-top: 5px !important;
  padding-left: 0 !important;
  padding-bottom: 0 !important;
}
.ellipsis-text {
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
}
/* Owl Carousel Fixed Height for cover fit */
.owl-carousel.ai-carousel-thumbnails .owl-item figure,
.owl-carousel.ai-carousel-thumbnails .owl-item figure img {
  width: inherit;
  height: 80px;
}
.pgl .sorting-block .sorting-grid li a:hover .sorting-cover p,
.pgl .sorting-block .sorting-grid li a:hover .sorting-cover span {
  color: #555;
}
.pgl a .anchor-text,
.pgl a:hover .anchor-text,
.pgl a:visited .anchor-text {
  color: #a47503;
  font-size: 16px;
}
.ai-search-result[data-itemtype="l"][data-feature="1"] .anchor-text {
  color: white;
  font-size: 20px;
}
.ai-search-result[data-itemtype="l"][data-feature="1"] .ai-list-info {
  color: white;
  font-size: 16px;
}
.ai-lead-form-section h4.ai-lead-form-title {
  overflow: hidden;
  text-align: center;
  color: white;
  margin-bottom: 5px;
}
.ai-lead-form-section h4.ai-lead-form-title:before,
.ai-lead-form-section h4.ai-lead-form-title:after {
  background-color: white;
  content: "";
  display: inline-block;
  height: 1px;
  position: relative;
  vertical-align: middle;
  width: 50%;
}
.ai-lead-form-section h4.ai-lead-form-title:before {
  right: 0.5em;
  margin-left: -50%;
}
.ai-lead-form-section h4.ai-lead-form-title:after {
  left: 0.5em;
  margin-right: -50%;
}