.card {
    font-family: 'Raleway', -apple-system, 'Roboto', 'Helvetica Neue', sans-serif;
}
.card-body {
    vertical-align: top!important;
    margin-right: -10px;
}
.property {
    width: 290px;
    position: relative;
    border: 1px solid #ccc;
    vertical-align: top;
    overflow: hidden;
    display: none;
    background-color: white;
    margin: 0 0 12px;
}
.property.backgrounded {
    background-color: #f8eb0c8a;
}
.propertiesBlock{}
#propertiesMiniList {
    width:300px;
    padding: 0;
    vertical-align: top;
    float: left;
    height: 90vh;
    position: relative;
}
#propertiesMiniList .multiselect {
    min-height: 30px!important;
}
#propertiesMiniList .multiselect .multiselect__tags {
    /*border: 1px solid #dadada!important;*/
    min-height: auto;
    padding: 0;
    white-space: nowrap;
}
#propertiesMiniList .multiselect .multiselect__tags .multiselect__placeholder,
#propertiesMiniList .multiselect .multiselect__single {
    margin-bottom: 0;
    padding-top: 0;
}
#propertiesMiniList .form-row {
    margin-left: 0;
    font-size: .800rem;
    white-space: nowrap;
    align-items: center;
}
.propertiesMiniListWithPages {
    width: inherit;
    padding: 0;
    margin-bottom: 0;
    overflow-y: scroll;
    height: inherit;
}
#propertyDetailedInfo>div:first-child {
    width: 100%;
}
#propertyDetailedInfo>div:first-child>div>figure {
    position: relative;
    overflow: hidden;
    margin: 0;
    border: #dadada 1px solid;
    display: inline-block;
    width: 100%;
}
#propertyDetailedInfo>div:first-child>div>figure:first-child {
    margin: 0;
}
#propertyDetailedInfo>div:first-child>div>figure>a {
    width: inherit;
    height: inherit;
    display: block;
}
#propertyDetailedInfo>div:first-child>div>figure img{
    object-fit: cover;
    width: inherit;
    height: inherit;
}
#propertyDetailedInfo>div:first-child>div>figure img.isHorizontal{
    height: 100%;
    width: auto;
    margin: 0 auto;
    display: inherit;
}

#commercialBlock>div {
    max-width:438px;
}

#commercialBlock>div:nth-child(odd) {
    margin-right:8px;
}

.my-gallery {
    white-space: nowrap;
    overflow: hidden;
    height: 75vh;
    border: 1px solid #dadada;
    display: flex;
    align-items: center;
}
.my-gallery>figure {
    margin: 0 auto;
}
.my-gallery>figure:not(:first-child) {
    display: none;
}
.my-gallery>figure>a>img {
    display: block;
    margin: 0 auto;
    max-height: 75vh;
}
.my-gallery>figure>a>img.isFloorPlan {
    max-width: 100%;
}
.pswp__bg {
    background-color: white!important;
}
.miniList {
    background-color: #dadada;
    padding: 10px;
    width: 290px;
}
#detailedScrollToBottom {
    width: calc(100% - 300px);
    background-color: #138496;
    position: absolute;
    bottom: 0;
    cursor: pointer;
    padding: 10px;
    text-align: center;
    z-index: 5;
}
#propertyDetailed {
    height: 90vh;
    overflow-y: scroll;
    overflow-x: hidden;
}
#mainMap {
    height: 90vh;
    overflow-y: scroll;
    overflow-x: hidden;
}
#detailedParentBlock {
    overflow-y: scroll;
    overflow-x: hidden;
}
.agent-tabs {

}
.agent-tabs li {
    padding: 0;
}
.agent-tabs li a {
    padding-top: 0;
}
.favoriteIcon {
    display: block;
    width: 24px;
    height: 24px;
    right: 0;
    top: 0;
    z-index: 1;
    position: absolute;
}
.favoriteIcon:hover {
    text-decoration: none;
}
.favoriteIcon:before {
    content: '\2661';
    color: #d4232a;
    font-size: 1.3rem;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
}
.favoriteIcon.filled:before {
    content: '\2665'!important;
}
.favoriteIcon.unLogged:before {
    color: gray!important;
}
.favoriteIcon1 {
    display: block;
    width: 31px;
    height: 24px;
    background: url(/images/icons/favorite.png) 0 no-repeat;
    position: absolute;
    right: 0;
    top: 0;
    z-index: 1;
    background-size: 62px 24px;
}
.property label {
    cursor: pointer;
    position: absolute;
    z-index: 1;
    line-height: 1;
    padding: 6px;
    border-bottom-right-radius: 10px;
    display: block;
}
.property label input {
    scroll-margin-top: 10px;
}
.agentAvatar img {
    width: 100%;
}
.property:hover .propertyPhoto > img {
    transition: all 2s;
    transform: scale(1.4);
    -ms-transform: scale(1.4);
    -webkit-transform: scale(1.4);
    -o-transform: scale(1.4);
    -moz-transform: scale(1.4);
    cursor: pointer;
}
.property .propertyPhoto > img {
    transition: all 1s;
    transform: scale(1);
    -ms-transform: scale(1);
    -webkit-transform: scale(1);
    -o-transform: scale(1);
    -moz-transform: scale(1);
    cursor: pointer;
}
.property .propertyPhoto.noPhoto:before   {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    content: "NO PHOTO";
    text-align: center;
    color: #000;
    font-size: 1.3rem;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
}

#propertyPhotos.noPhoto:before {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    content: "NO PHOTO";
    text-align: center;
    color: #000;
    font-size: 2rem;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
}

.propertyInfoUp {
    padding: 3px 7px;
    font-size: .80rem;
    height: calc(100% - 152px);
    display: table;
    width: 100%;
}
.propertyInfoUp:hover {
    cursor: pointer;
}
.propertyInfoIn {
    display: table;
}
.propertyInfoIn>div {
    display:table-row;
}
.propertyInfoIn {
    width: 100%;
    display: table;
    height: 100%;
}
.propertyInfoIn > .leftCell {
    width: 55%;
    display:table-cell;
    vertical-align: bottom;
}
.propertyInfoIn > .rightCell {
    display: table-cell;
    vertical-align: bottom;
}
.propertyInfo {
    display: table-row;
}
.propertyInfo > .rightCell > div {
    clear: both
}
.propertyPhoto {
    display: block;
    position: relative;
    line-height: 1;
    overflow: hidden;
    width: 100%;
    height: 152px;
    text-align: center;
}
.propertyPhoto img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.propertyPhoto img.isHorizontal {
    width: auto;
    height: 100%;
}
.propertyPhoto .priceOptions, .propertyInfoBlock {
    position: absolute;
    right: 0;
    bottom: 0;
    display: block;
}
.propertyPhoto .priceOptions .infoBlock, .propertyInfoBlock span {
    float: right;
    color: white;
    font-weight: bold;
    text-align: right;
    padding: 10px;
    background-color: rgba(212, 35, 42, 0.6);
    text-shadow: 1px 1px 8px black, 0 0 5px black;
}
.propertyPhoto .openHouse {
    position: absolute;
    left:0;
    top: 0;
    width:100%;
    color: white;
    font-weight: bold;
    padding: 10px 2px;
    text-shadow: 1px 1px 8px black, 0 0 5px black;
    background-color: rgba(19, 173, 73, 0.8)!important;
}
.propertyPhoto .priceOptions .price {
    background-color: rgba(48, 113, 181, 0.6);
}
.property:hover .priceOptions .price {
    background-color: #d4232a;
}
.property:hover .priceOptions .price {
    background-color: #d4232a;
}
.price {
    font-weight: bold;
}
@media (max-width: 1200px) {
    h2, h5 {
        /*font-weight: bold;*/
        color: #000;
        padding: 3px;
    }
}
/* Custom image-property thumbs */
#galleryThumbs {
    position: relative;
}
#galleryThumbsIn {
    /*
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 6px;
        justify-content: flex-start;
        margin-top: 8px;
    */
    white-space: nowrap;
    overflow-x: scroll;
    overflow-y: hidden;
    margin-top: 8px;
    position: relative;
    line-height: 0;
}
.property-thumb {
    position: relative;
    overflow:hidden;
    width: 85px;
    height: 85px;
    border: #dadada 1px solid;
    margin-right:8px;
}
.property-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.property-thumb:last-child {
    margin-right: 0;
}
.thumbsMove {
    height: 100%;
    width: 30px;
    background-color: rgba(49, 161, 203, 0.6);
    position: absolute;
    top: 0;
    z-index: 1;
    display: flex;
    align-items: center;
    padding-left: 8px;
    color: black!important;
    cursor: pointer;
}
#thumbsToLeft {
    left: 0;
}
#thumbsToRight {
    right: 0;
}
#thumbsToRight::after {
    color: white;
}
.properties {
    position: relative;
    float: left;
    width: 100%;
}
/* Checked ids notice window */
#checkedIdsNoticeWindow {
    position: absolute;
    top:0;
    right:0;
    z-index: 2;
    background-color: white;
    padding:10px;
}
.totalSelected {
    top: -5px
}
.totalSelected a:hover {
    text-decoration: underline;
    cursor: pointer;
}
/* Filter */
#filterMenu {

}
.filter {
    text-align: left;
    /* padding: 0.6rem 0 0 0; */
    clear: both;
    color: gray;
    display:inline-block;
    width: 265px;
}
.filterIn {
//position: fixed;
    top: 68px;
    width: inherit;
    padding-left: 15px;
    height: 100%;
    line-height: 1;

}
.filterEl {
    padding-bottom: 0.8rem;
    /* margin-right: -10px; */
}
.card-body > .filter > .filterIn {
    width: inherit;
}
.card-body > .filter > .filterIn > .filterEl {
    padding: 10px;
}
.card-body > .filter > .filterIn.filter-pinned {
    position: fixed;
    top: 0;
}
.card-body > .filter .filterPrice input {
    margin: 0;
    width: 50%;
    float: left;
    position: relative;
}
.filter-toggler .navbar-toggler-icon{
    /*background-image: url("/images/icons/iconfinder-icon.svg");*/
}
.pages a {
    display: inline-block;
    padding: 4px;
    cursor: pointer;
}
.pages .currentPage {
    color: gray
}
.pages .dummyPage {
    display: inline-block;
    padding: 4px;
}
.bottomInfo {
    white-space: break-spaces;
}
main {
    padding-top: 60px!important;
}
.vue-map-container {
    width: inherit;
    height: inherit;
}
.vue-map-container .vue-map {
    width: inherit;
    height: inherit;
}
.btn-info {
    background-color:rgba(49, 161, 203, 0.6);
    border-color: rgba(49, 161, 203);
    color: black!important;
}
/* Adaptive */
@media (max-width: 767px) {
    main {
        background-color: #FFF!important;
    }
    .filter {
        width: 100%;
    }
    .filterIn {
        position: relative;
        top: 0;
        width: 100%;
        padding-left: 0;
        margin-left: 0;
    }
    #filterMenu {
        /*position: absolute!important;*/
        left: 0!important;
        width: 100%!important;
        background-color: #343a4000!important;
    }
    .property {
        /*width: 48.5%;*/
    }
    .properties, .properties .property:nth-child(2n)  {
        /* margin-right: 0!important;*/
    }
    .filterEl {
        margin-right: 0px;
    }
    .card-body {
    //padding-top: 10px!important;
    }
}
@media (max-width: 1200px) {
    .agentAvatar img {
        width: 80%!important;
    }
    .agentAvatar {
        width: 80%!important;
    }
}
@media (max-width: 586px) {
    .property {
        width: 100%;
    }
    .property > .propertyPhoto  {
        height: 60%;
    }
}
@media (max-width: 366px) {
    .property > .propertyPhoto  {
        height: 40%;
    }
}

@media only screen and (min-width:586px) {
    .properties, .properties .property:nth-child(5n)  {
    //margin-right: 0!important;
    }
}
@media only screen and (min-width:366px) and (max-width:586px) {
    .properties, .properties .property:nth-child(4n)  {
    //margin-right: 0!important;
    }
}
.agentTopBlock>div {
    overflow: hidden;
    white-space: nowrap;
}
.agentAva {
    border-radius: 50%; overflow: hidden; background-color: #dadada; text-align: center; width:32px; height:32px
}
.agentAva img{
    width:32px;
}
#sortByFilter .multiselect__placeholder, #sortByFilter .multiselect__single {
    color: black!important;
    padding-top: 0!important;
}
#sortByFilter .multiselect__placeholder:hover, #sortByFilter .multiselect__single:hover {
    cursor: pointer;
}

