.photo {
    width: 225px;
    height: 135px;
    position: relative;
    border: 1px solid #fafafa;
    margin: 2px;
    box-shadow: #d3e0ef 2px 2px;
    text-align: center;
}

.market-row .pics {
    max-height: 480px;
    overflow: auto;
}

.market-row .pics .photo {
    box-shadow: #9baec7 -5px 1px 3px;

}

.photo .img-holder {
    display: block;
    text-decoration: none;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    cursor: pointer;
    width: 100%;
    height: 100%;
}

.market-row .pics .photo.active {
    box-shadow: #9baec7 2px 2px;
}

.main-pic {
    min-width: 320px;
    min-height: 320px;
}

.main-pic .photo {
    box-shadow: none;
    width: 400px;
    height: 400px;
    border-radius: 5px;
    overflow: hidden;
}

.main-pic .photo .img-holder {
    min-width: 320px;
    min-height: 320px;
}

@media (max-width: 600px) {
    .main-pic .photo {
        width: 250px;
        height: 250px;
    }
    .main-pic .photo .img-holder {
        min-width: 250px;
        min-height: 250px;
    }
    .main-pic {
        min-width: 250px;
        min-height: 250px;
    }
}

@media (min-width: 601px) and (max-width: 960px) {
    .main-pic .photo {
        width: 350px;
        height: 350px;
    }
}

.pic-list .photo {
    width: 100px;
    height: 100px;
}

.market-row {
    margin-bottom: 15px;
    padding-bottom: 5px;
    border-bottom: 1px solid #eeeeee;
}

.market-row .mid-col h3 {
    color: #5c5c5c;
    font-size: 1.45rem;
    margin-left: -5px;
}

.market-row p.desc {
    max-height: 67px;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 0.85rem;
    margin-bottom: 3px;
}

.market-row .cities {
    display: flex;
    line-height: 17px;
}

.market-row .cities .city {
    margin: 0 8px 0 0;
    padding: 3px 5px;
    font-size: 0.8rem;
    border-radius: 5px;
    background: #eee;
    max-width: 100px;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

.market-row .point-type-ico {
    margin: 0 3px;
}

table td.region {
    background: #fff;
}

.bg-region {
    background: var(--green-200) !important;
}

.market-row .category {
    float: right;
    font-size: 13px;
    font-weight: 300;
    margin-top: 5px;
}

.market-row p.desc {
    max-height: none;
    overflow: visible;
    margin-top: 15px;
}

#counts-block .row.active {
    background-color: #d4f5ff88;
    border-radius: 15rem;
}