/*@font-face {
    font-family: Roboto-Medium; !* Имя шрифта *!
    src: url('../fonts/roboto/Roboto-Medium.woff'); !* Путь к файлу со шрифтом *!
}*/
.item {
    width: 100%;
    padding-bottom: 100%;
    position: relative;
}

@media (min-width: 768px) {
    .item {
        width: 100%;
        padding-bottom: 31.57894736842105%;
        position: relative;
    }
}

.item div {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}

.favorites {
    position: absolute;
    margin: 10px;
    top: 0;
    right: 0;
    z-index: 999;
}
.card-list .favorites {
    position: relative;
    float: right;
}
.favorites .material-icons{
    color: #ffffff;
    font-size: 30px;
    vertical-align: text-top;
}

.favorites:hover {
    cursor: pointer;
}

.fav-active{
    display: block!important;
}
.fav-no-active{
    display: none!important;
}

.favorite-region {
    color: rgba(0, 0, 0, 0.87);
}

.favorite-region:hover {
    color: rgba(0, 0, 0, 0.87);
    text-decoration: none;
}

.carousel, .city_map {
    margin-bottom: 20px;
    /* box-shadow: 0 2px 2px 0 rgba(0,0,0,0.14), 0 3px 1px -2px rgba(0,0,0,0.2), 0 1px 5px 0 rgba(0,0,0,0.12); */
	box-shadow: 0 1px 2px rgba(0,0,0,.1);
}

/* @media (min-width: 768px) {
    .form-inline .field-rooms,
    .form-inline .field-guests {
        width: 72px;
    }
    .form-inline .field-districts {
        width: 200px;
    }
} */

.form-inline .optgroup span {
    color: #9e9e9e;
}

.thumbnail {
    position: relative;
}

.thumbnail > a {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
}

h4 {
    font-size: 20px;
    font-weight: 400;
    line-height: normal;
    margin: 0;
    white-space: nowrap;
    position: relative;
    -ms-text-overflow: ellipsis;
    text-overflow: ellipsis;
    overflow: hidden;
}
@media (min-width: 768px) {
    h4 {
        font-size: 20px;
    }
}
@media (max-width: 767px) {
    .property-search {
        background-color: #fafafa;
        -webkit-box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.20);
        -moz-box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.20);
        box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.20);
    }
}
.select-wrapper span.caret {
    color: rgba(0,0,0,.7) !important;
    right: 8px !important;
}
.select-wrapper input.select-dropdown {
    height: 36px !important;
    font-size: 14px !important;
    padding: 0 8px !important;
    background-color: #fff !important;
    border: none !important;
    margin-bottom: 8px !important;
    -webkit-box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.20) !important;
    -moz-box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.20) !important;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.20) !important;
    -webkit-border-radius: 6px !important;
    -moz-border-radius: 6px !important;
    border-radius: 6px !important;
    width: 100% !important;
    width: -moz-available !important;          /* WebKit-based browsers will ignore this. */
    width: -webkit-fill-available !important;  /* Mozilla-based browsers will ignore this. */
    width: fill-available !important;
}
@media (min-width: 768px) {
    .select-wrapper input.select-dropdown {
        border: 1px solid #dadce0 !important;
        padding-left: 12px !important;
        height: 48px !important;
        -webkit-box-shadow: none !important;
        -moz-box-shadow: none !important;
        box-shadow: none !important;
    }
}
@media (max-width: 767px) {
    .field-districts {
        margin-bottom: 8px;
    }
}
.price-slider {
    margin-bottom: 16px;
}
.price-slider > label {
    margin-bottom: 0;
}
.price-slider-wrapper > span {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .5px;
    line-height: 16px;
}
.noUi-horizontal .noUi-handle, .noUi-vertical .noUi-handle, .noUi-connect {
    background-color: #4285F4 !important;
}
.pagination > .active > a,
.pagination > .active > span,
.pagination > .active > a:hover,
.pagination > .active > span:hover,
.pagination > .active > a:focus,
.pagination > .active > span:focus {
    background-color: #4285F4;
    border-color: #4285F4;
}
.paragraph-end {
    background-image: -webkit-gradient(linear, left top, right top, color-stop(0%, rgba(255, 255, 255, 0)), color-stop(100%, rgba(255, 255, 255, 1)));
    background-image: -webkit-linear-gradient(left, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1));
    background: linear-gradient(to right, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1));
    filter: progid:DXImageTransform.Microsoft.gradient(GradientType=1, StartColorStr='#00ffffff', EndColorStr='#ffffff');
    bottom: 0px;
    height: 25px;
    max-height: 100%;
    position: absolute;
    right: 0;
    width: 60px;
}

h4 .paragraph-end {
    height: 26px;
    width: 45px;
}

h3 {
    position: relative;
}

h3 .paragraph-end {
    height: 19px;
    width: 45px;
    position: absolute;
    display: inline-block;
    right: 0;
}

@media (min-width: 768px) {
    h3 {
        font-size: 15px;
    }
}

/*Вариант карты города через бэкграунд*/
.city_map > a{
    display: block;
    height: 200px;
}
@media (max-width: 768px) {
    .city_map > a{
        height: 120px;
    }
}
/**/

.filter-links-button {
    font-weight: 500;
    font-size: 14px;
    font-family: 'Roboto', sans-serif;
    text-transform: uppercase;
    cursor: pointer;
    user-select: none;
    color: #2196f3;
    display: inline-block;
    vertical-align: middle;
}

.filter-links-button:hover {
    opacity: 0.8;
}

.filter-links-button:active {
    opacity: 0.6;
}

@media (min-width: 768px) {
    .random-filter-links,
    .group-filter-links {
        margin-left: -25px;
        margin-right: -25px;
    }
}

.random-filter-links {
    margin-bottom: 10px;
}

.random-filter-links__overflow {
    line-height: 24px;
    height: 24px;
}

.random-filter-links__list {
    white-space: nowrap;
    overflow: hidden;
}

.random-filter-links__item {
    margin-right: 15px;
}
.random-filter-links__overflow:before {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    right: 15px;
    width: 20px;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    background-image: linear-gradient(90deg, rgba(242,242,242,0) 0, #f2f2f2 10px, #f2f2f2 100%);
}

@media (max-width: 992px) {
    .filter-links-button__container {
        text-align: center;
        margin-top: 5px;
    }
}

@media (min-width: 992px) {
    .filter-links-button__container {
        text-align: right;
    }
}
.tabs-wrapper {
    display: flex;
    -webkit-box-shadow: 0 1px 10px 0 rgba(0, 0, 0, 0.12), 0 2px 4px -1px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0 1px 10px 0 rgba(0, 0, 0, 0.12), 0 2px 4px -1px rgba(0, 0, 0, 0.2);
    box-shadow: 0 1px 10px 0 rgba(0, 0, 0, 0.12), 0 2px 4px -1px rgba(0, 0, 0, 0.2);
}
@media (max-width: 767px) {
    .tab-1, .tab-2, .tab-3 {
        text-transform: uppercase;
        padding: 10px 0 10px 0;
        border-bottom: 2px solid transparent;
        color: rgba(0,0,0, 0.54);
        font-size: 13px;
        font-weight: 500;
        line-height: 1;
        height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .tab-active {
        padding: 10px 0 10px 0;
        border-bottom: 2px solid #4285F4;
        color: #4285F4;
    }
    /*.card-active img, .card-active-images {
        width: 40%;
        height: 135px;
        float: left;
        margin-right: 10px;
    }*/
    .card-active .price-container {
        padding-right: 5px;
    }
}

.property-search .form-group {
    text-align: left;
}

.lazy-load {
    background: url("//www.mozart.it/images/preloader.gif") center center no-repeat;
}

.card .carousel-control img {
    position: absolute;
    top:calc(50% - 20px);
}

.filter-phone .random-filter-links {
    margin-right: 0;
}

.slider-phone .slick-prev {
    z-index: 999;
    left: 15px;
}
.slider-phone .slick-next {
    z-index: 999;
    right: 15px;
}
.card-grid .carousel-control, .card-list .carousel-control {
    z-index: 998;
}

.card-grid .carousel-control img {
    top:calc(50% - 20px);
}
.card-list .carousel-control img {
    top:calc(50% - 10px);
}

.card-list .images {
    float: left;
    width: 40%;
}
.card-list .caption {
    float: right;
    width: 60%;
    padding: 0 10px;
}
.card-list .thumbnail {
    overflow: hidden;
}
.card .thumbnail .caption h3{
    text-overflow: clip;
}

@media (min-width: 1200px) {
    .col-lg-1-5 {
        width: 12.5%;
    }
}

@media (min-width: 768px) {
    .clear-search-params {
        height: 81px;
    }
}