.open-house-ribbon {
float: left;
margin-left: 5px;
margin-top: 0px;
font-size: 14px;
color: #fff;
text-align: center;
height: auto;
display: inline-block;
position: relative;
box-shadow: 0 0 5px 0 rgba(0,0,0,.1);
padding: 4px 15px;
line-height: 26px;
background-color: #FF0000;
}

.font-small {
  font-size: 0.7em;
}

.font-listing-details {
  font-size: 0.80em;
}

.card__bottom {
    background: #F5F5F5;
}

.boxed {
    padding: 1.3em;
    margin-bottom: 15px;
}

.boxed:not(:last-child), .gallery-1 .gallery__image:not(:last-child), .gallery > div[class*="col-"]
{
	margin-bottom: 15px;
}

@media (max-width:770px) {
.btn--icon i {
	position: absolute;
	height: 100%;
	left: 0;
	top: 0;
	background: rgba(0,0,0,.1);
	padding: 0 13px;
	border-radius: 0;
	font-size: 16px;
	line-height: 30px;
}

.btn.btn--sm + .btn--sm {
    margin-left: 0em;
}
}

.btn--icon {
    padding-left: 4.0em;
}

/*flickity items */
.carousel {
  background: #EEE;
}

.carousel-cell {
  width: 100%;
  min-height: 220px;
  /*margin-right: 10px;*/
  background: #8C8;
  border-radius: 5px;
  counter-increment: gallery-cell;
}
@media (max-width:414px) {
  .carousel-cell {
    width: 100%;
    min-height: 180px;
    /*margin-right: 10px;*/
    background: #8C8;
    border-radius: 5px;
    counter-increment: gallery-cell;
  }
}

.flickity-prev-next-button::before {
    color: #000000;
}

.flickity-page-dots .dot {
    display: inline-block;
    width: 14px;
    height: 14px;
    margin: 0 8px;
    background: #333;
    border-radius: 50%;
    opacity: .25;
    cursor: pointer;
}

@media (max-width:770px) {
ol.flickity-page-dots{
    display:none;
}
}



/* cell number comment out on live*/
/*.carousel-cell:before {
  display: block;
  text-align: center;
  content: counter(gallery-cell);
  line-height: 100px;
  font-size: 80px;
  color: white;
}*/

.flickity-enabled:focus .flickity-viewport {
  outline: thin dotted;
  outline: 5px auto -webkit-focus-ring-color;
}

.flickity-viewport {
  transition: height 0.2s;
}

#sort_by {
    display:inline-block;
    width:60%;
    height:38px;
    border-radius: 5px 0px 0px 5px;
    margin-bottom:10px;
}
#sort_button_asc {
    display:inline-block;
    padding:0px 10px;
    margin:0px;
    margin-top:-2px;
    height:38px;
    border-left:0px;
}
#sort_button_desc {
    display:inline-block;
    padding:0px 10px;
    margin:0px;
    margin-top:-2px;
    height:38px;
    border-left:0px;
    border-radius: 0px 5px 5px 0px;
}
.pagination {
    margin:0px;
}
.pagination .btn-default {
    display:inline-block;
    margin:0px;
    padding:0px 10px;
    height:38px;
}
.pagination .first {
    border-radius: 5px 0px 0px 5px;
}
.pagination .last {
    border-radius: 0px 5px 5px 0px;
}
.ms-drop {
    display:block;
}
.ms-drop ul>li>label input {
    -webkit-appearance: checkbox;
    width:10px;
    margin-top:-5px !important;
}
#open_house, #office {
    -webkit-appearance: checkbox;
    width:15px;
    height:auto;
}
#mls_search_button {
    display:inline-block;
    margin:0px;
    padding:0px 10px;
    height:38px;
    border-radius:5px;
}
#map_canvas {
    width:100%;
    height:350px;
}
.info_window {
    width:350px;
}
.info_window h3 {
    margin-bottom:0px;
}
.info_window img {
    margin-right:10px;
    max-width:150px;
    float:left;
}
.modal-close-cross {
    display:none;
}
