/* New Carousel Styles */
#owl-main .item {
    color: #FFF;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    text-align: center;
}
#owl-thumbs .item {
    margin: 0px 2px;
    color: #FFF;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    text-align: center;
    cursor: pointer;
}
#owl-thumbs .item h4{
	margin:0px !important;
	position: relative;
    height: 60px;
}
#owl-thumbs .item h1 {
      font-size: 18px;
}

.owl-theme .owl-nav [class*='owl-'],
#owl-main.owl-theme .owl-nav > div {
      transition: all .3s ease;   
}
.owl-theme .owl-nav .disabled:hover ,
#owl-main.owl-theme .owl-nav > div:hover{
  background-color: #D6D6D6;   
  background: -webkit-linear-gradient(left, rgba(204,204,204,0), rgba(204,204,204,204)); /* For Safari 5.1 to 6.0 */
  background: -o-linear-gradient(right, rgba(204,204,204,0), rgba(204,204,204,204)); /* For Opera 11.1 to 12.0 */
  background: -moz-linear-gradient(right, rgba(204,204,204,0), rgba(204,204,204,1)); /* For Firefox 3.6 to 15 */
  background: linear-gradient(to right, rgba(204,204,204,0), rgba(204,204,204,1)); /* Standard syntax (must be last) */
}
#owl-main.owl-theme .owl-nav .owl-prev:hover{
  background: -webkit-linear-gradient(right, rgba(204,0,0,0), rgba(204,204,204,1)); /* For Safari 5.1 to 6.0 */
  background: -o-linear-gradient(left, rgba(204,204,204,0), rgba(204,204,204,1)); /* For Opera 11.1 to 12.0 */
  background: -moz-linear-gradient(left, rgba(204,204,204,0), rgba(204,204,204,1)); /* For Firefox 3.6 to 15 */
  background: linear-gradient(to left, rgba(204,204,204,0), rgba(204,204,204,1));
}
#owl-main.owl-theme {
  position: relative;
  overflow:hidden;  
}
#owl-main .owl-item h4,
#owl-main.owl-theme{
  height: 24em;
}
#owl-main .owl-next, #owl-main .owl-prev {
  width: 40px;
  height: 100%;
  position: absolute;
  top: 0px;
  padding: 0px 10px;
}
#owl-main .owl-prev {
  left: 0px;
}
#owl-main .owl-next {
  right: 0px;
}
#owl-thumbs .owl-next, #owl-thumbs .owl-prev {
  width: 16px;
  height: 20px;
  margin-top: -10px;
  position: absolute;
  top: 50%;
}
#owl-thumbs .owl-prev {
  left: -19px;
}
#owl-thumbs .owl-next {
  right: -19px;
}
#owl-thumbs .owl-item{
  box-sizing: border-box;
}
.owl-carousel .owl-item img{
    height: 100%;
    width: auto;
    margin: auto;
}
.ie-edge .owl-carousel .owl-item img{
	width:100%;
  height:auto;
  margin: auto;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
}
#owl-main .owl-item .item.vertical img{
  height: 100%;
  width: auto !important;
}
#owl-thumbs .owl-item .item{
  border: 2px solid transparent;
  border-radius:3px;
  overflow: hidden;
}
#owl-thumbs .owl-item.active.current .item{
  border: 2px solid #00c405;
}
.owl-item {
    -webkit-backface-visibility: hidden;
    -webkit-transform: translateZ(0) scale(1.0, 1.0);
}
#owl-main .owl-item h4{
	overflow:hidden;
}
.owl-item h4 {
    margin: 0px 0px 0em;
}
#owl-thumbs{
	width: calc(100% - 44px);
	margin:auto;
}
#owl-thumbs .owl-item h4{
    background: #828282;
}
#owl-thumbs .owl-stage{
	margin:auto;
}
.thumbnail-wrapper{
	background: #efefef;
	border-radius:1px;
	padding: 0.2em 0px;
}
#owl-main .owl-nav{
	opacity:0;
	transition: all .3s ease; 
}
#owl-main:hover .owl-nav{
    opacity:1;
    transition: all .3s ease; 
}
.owl-theme .owl-prev.disabled,
.owl-theme .owl-next.disabled{
    opacity:0.5;
    cursor:default;	
}
.owl-theme .owl-prev.disabled:hover,
.owl-theme .owl-next.disabled:hover{
	background:none;
	background-color:transparent;
}
#owl-main .owl-item h4,
#owl-main .owl-item h4 a{
	position:relative;
}
#owl-main .owl-item h4 a{
	display: block;
    overflow: hidden;
    height: 100%;
    text-decoration:none;   
}
#owl-main .owl-item a:before {
    content: '\f00e';
    font-family: FontAwesome;
    display: block;
    font-size: 8vw;
    position: absolute;
    top: 50%;
    opacity: 0;
    left: 50%;
    color:#fff;
    transform: translate(-50%,-50%);
    font-weight: 500;
    z-index: 500;
    transition: all .3s ease; 
}
#owl-main .owl-item:hover a:before{
	opacity:0.5;
}
/* Sold Listings */
.sold_listing #owl-main:before{
    content: 'Sold';
    display: block;
    padding: 5px 20px;
    position: absolute;
    font-size: 16px;
    font-weight: 600;
    z-index: 999;
    line-height: 1;
    right: 0px;
    background: #D91E18;
    top: 10px;
    color: #fff;
    border-radius: 1px;
    -webkit-box-shadow: -1px 1px 2px 0px rgba(0,0,0,0.6);
    -moz-box-shadow: -1px 1px 2px 0px rgba(0,0,0,0.6);
    box-shadow: -1px 1px 2px 0px rgba(0,0,0,0.6);
}
.sold_listing.leased #owl-main:before{
    content: 'Leased';	
}
.sold_listing.rented #owl-main:before{
    content: 'Rented';	
}
/* Common Media Queries */
@media screen and (max-width: 1160px){
  #owl-thumbs .item h4{
    height:100px;
  }
}
@media screen and (max-width: 768px){
  #owl-thumbs .item h4{
    height:80px;
  }
}
@media screen and (max-width: 600px){
  #owl-thumbs .item h4{
    height:60px;
  }
  .owl-carousel .owl-item img{
  	width: 100%;
    height: auto;
    margin: auto;
    position: relative;
    top: 50%;
    transform: translateY(-50%);
  }
  #owl-main .owl-item h4 a{
  	position: relative;
  }
}