/* recently viewed plugin css styles */

#rv_listings {
    /*width: 100%;
    display: inline-block;*/
    margin-top: 30px;
    box-sizing: border-box;
    background: none;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
}
div#rv_listings {
    padding: 20px 20px;
    border-width: 1px;
    border-style: solid;
    border-radius: 8px;
}
#rv_listings.no-header.escort > div {
    padding: 0;
    background: none;
}
.rvdisplayCounter {
    font-size: 20px;
    font-family: 'azo-sans',Sans-Serif;
    font-weight: 300;
    background: #fff;
    text-align: center;
    text-transform: uppercase;
    overflow: hidden;
    width: 100%;
    max-width: 700px;
    float: left;
}
.rvdisplayCounter:before, .rvdisplayCounter:after {
    content: '';
    display: inline-block;
    vertical-align: middle;
    box-sizing: border-box;
    width: 100%;
    height: 1px;
    margin-right: 20px;
    margin-left: 20px;
    border-bottom: 1px dotted #c6c6c6;
}
.rvdisplayCounter:before {
    margin-left: -100%;
}
.rvdisplayCounter:after {
    margin-right: -100%;
}
#rv_listings div.item {
    display: inline;
    padding: 0 9px;
}
#rv_listings div.item img {
    width: 73px;
    height: 73px;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    margin-bottom: 10px;
    margin-top: 10px;
    border-radius: 50%;
}
#rv_listings div.rv_first {
    width: 60px;
    height: 60px;
    float: left;
}
#rv_listings div.rv_last {
    width: 75px;
    height: 60px;
    float: right;
    padding: 0;
}
#rv_listings div.rv_items {
    display: inline-block;
    padding: 0;
    width: 100%;
}
.rv_del_listings {
    text-align: right;
    margin: 30px 0 10px;
}
body.search-on-map-page #rv_listings {
    display: none;
}
/* Styles of WIDE templates: */
@media (min-width: 1200px) {
    #rv_listings.wide div.rv_first {
        width: 65px;
    }
    #rv_listings.wide div.rv_first, #rv_listings.wide div.rv_last {
        padding-top: 10px;
    }
}
@media (min-width: 992px) {
    #rv_listings.wide > div {
        padding: 0!important;
    }
    .rvdisplayCounter {
    margin: 0px 15px 0px 15px;
    }
    #rv_listings.wide div.rv_last {
        width: 65px;
    }
}
@media screen and (min-width: 1440px){
    .rvdisplayCounter {
        max-width: 1000px!important;
    }
}
/* Portrait table-layout: */
/* Landscape smart phone */
@media (min-width: 321px) and (max-width: 480px) {
    #rv_listings div.rv_first {
        display: inline-block;
        height: 34px;
        width: 100%;
    }
    #rv_listings div.rv_last {
        display: inline-block;
        height: 22px;
        width: 100%;
        float: none;
        padding: 18px 0 0;
    }
    #rv_listings div.item img {
        margin: 5px;
    }
    #rv_listings div.item {
        padding: 0;
    }
}

@media (max-width: 360px){
.controlsRight a {
    position: absolute;
    bottom: -12%;
    left: 45%;
}
}

/* Portrait smart phone */
@media (max-width: 320px) {
        #rv_listings div.rv_first {
        display: inline-block;
        height: 34px;
        width: 100%;
    }
    #rv_listings div.rv_last {
        display: inline-block;
        height: 22px;
        width: 100%;
        float: none;
        padding: 18px 0 0;
    }
    #rv_listings div.item img {
        margin: 5px;
        width: 73px;
    }
    #rv_listings div.item {
        padding: 0;
    }
}

.controlsRight a {
    float: left;
    font-family: 'azo-sans',Sans-Serif;
    margin: 5px 0px 0px -5px;
    background: #fff;
    font-size: 12px;
    color: #111;
    text-decoration: none;
}
.rvdisplayCounter.tr:before {
    margin-left: 0;
}
.rvdisplayCounter.tr:after {
   content:none;
}

/* recently viewed plugin css styles end */