.cottages h1 {
    padding: 0;
    margin: 0 0 25px;
    font-weight: 600;
    font-size: 30px;
    line-height: 1;
}

.cottages {
    margin-top: 25px;
}

.cottages .cottages-list {
    list-style-type: none;
    padding: 0;
    margin: 0 0 -20px -20px;
    font-size: 0;
    width: calc(100% + 20px);
    box-sizing: border-box;
}

.cottages .cottages-list .cottages-item {
    font-size: 13px;
    display: inline-block;
    margin: 0 0 20px 20px;
    width: calc(25% - 20px);
    box-sizing: border-box;
    border: solid 1px #f1f1f1;
}

.cottages .cottages-list .cottages-item .cottages-item-image {
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    margin: 9px;
    height: 150px;
    display: block;
}

.cottages .cottages-list .cottages-item .cottages-item-price {
    background-color: #e7e7e7;
    padding: 9px;
}

.cottages .cottages-list .cottages-item .cottages-item-price a {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cottages .cottages-list .cottages-item .cottages-item-data {
    padding: 9px 0;
}

.cottages .cottages-list .cottages-item .cottages-item-name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding: 2px 9px;
}

.cottages .cottages-list .cottages-item .cottages-item-type {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding: 2px 9px;
}

.cottages .cottages-list .cottages-item .cottages-item-info {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding: 2px 9px;
}

.cottages .cottages-list .cottages-item .cottages-item-more {
    margin: 4px 10px;
    font-size: 11px;
}

.cottages .cottages-list .cottages-item .cottages-item-more a {
    color: #333;
}

.cottages .cottages-list .cottages-item .cottages-item-more i {
    margin-right: 5px;
}

.cottages-left-col {
    float: left;
    width: calc(100% - 300px);
}

.cottages-right-col {
    width: 283px;
    float: right;
    padding: 6px;
    background-color: #f7f7f7;
}

.cottages-banner {
    margin-bottom: 20px;
    display: block;
    text-decoration: none !important;
}

.cottages-news-title {
    margin-bottom: 10px;
    font-size: 18px;
    font-weight: 600;
}

.cottages-news-item {
    margin-bottom: 20px;
}

.news-image {
    background-size: cover;
    width: 220px;
    height: 165px;
    background-repeat: no-repeat;
    background-position: center center;
    max-width: 100%
}

.news-image img {
    max-width: 100%;
}

.cottages-news-list {
    padding: 12px 16px;
    /*background-color: #f1f1f1;*/
    background-color: #ffffff;
    border-radius: 12px;
}

.news-name {
    font-size: 13px;
    font-weight: 600;
    color: rgb(27, 126, 207);
    white-space: nowrap;
    text-overflow: ellipsis;
    margin: 10px 0px 5px;
    overflow: hidden;
}

.news-date {
    color: rgb(121, 121, 121);
    font-size: 12px;
    margin: 5px 0px 0px;
}

.cottages-map {
    font-size: 18px;
    position: relative;
    top: -2px;
    left: 20px;
    color: #333;
}

.cottages-map span {
    margin: 0;
    display: inline-block;
    color: #4376D3;
    font-weight: normal;
    border: 1px solid #4376d3;
    border-radius: 5px;
    padding: 6px 7px 6px 7px;
    text-align: center;
    font-size: 17px;
    max-width: calc(100% - 40px);
    vertical-align: middle;
}

.cottages-map:hover span {
    border: solid 1px #ec9c07;
    color: #ec9c07;
}

.cottages-map i {
    margin-right: 5px;
}

.c-cottages-head {
    display: flex;
    align-items: flex-start;
    align-content: center;
    justify-content: space-between;
    border: 1px solid #393836;
    padding: 12px 5%;
    margin: 0 0 24px;
}

.c-cottages-info p {
    margin: 0 0 4px;
}

.c-cottages-info {
    text-align: center;
    font-size: 20px;
    width: 60%;
    color: #101312;
}

.c-cottages-info ul {
    text-align: left;
    list-style: none;
    padding: 0;
    font-size: 13px;
    margin: 0 0 6px;
}

.c-cottages-info ul li i {
    color: #159563;
}

.c-cottages-info__link--lg {
    font-size: 28px;
    font-weight: bold;
    border-color: transparent !important;
    color: #1d7ecf;
}

.c-cottages-info .link {
    color: #1d7ecf;
    border-bottom: 1px solid;
}

.c-cottages-info .link:hover {
    border-color: transparent;
}

.c-cottages-map-links {
    text-align: center;
    font-size: 20px;
}

.c-cottages-map-links .view-map__list a {
    width: 80px;
    height: 80px;
    background-size: 100% auto;
}

.c-cottages-map-links p {
    margin: 0 0 12px;
}

.c-cottages-map-links .view-map__list a.view-map__item-satellite {
    background-position: 0 35%;
}

.c-cottages-map-links .view-map__list .view-map__item-hybrid {
    background-position: 0 67%;
}

.c-cottages-map-links .view-map__list span {
    font-size: 16px;
}

.ico-objects {
    height: 14px;
    background: url(../public/img/objects.png) center no-repeat;
    background-size: contain;
}

.ico-genplan {
    height: 14px;
    background: url(../public/img/genplan.png) center no-repeat;
    background-size: contain;
}

.c-cottages-item {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    border-bottom: 1px solid #f1f1f1;
    padding-bottom: 20px;
    margin-bottom: 20px;
}

.c-cottages-item__image {
    width: 198px;
    height: 150px;
    position: relative;
    flex: none
}

.c-cottages-item__image img {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    max-width: 100%;
    max-height: 100%;
}

.c-cottages-item__slider {
    display: flex !important;
    align-items: center;
    width: 250px;
    height: 197px;
    overflow: hidden;
    position: relative;
    flex: none;
}

.c-cottages-item__slider img,
.c-cottages-item__slider .slick-slide > a {
    width: 100%;
}

.c-cottages-item__slider img {
    max-width: 100%;
    max-height: 100%
}

.c-cottages__contacts {
    width: 26%;
    font-size: 15px;
}

.c-cottages__contacts .object-panel {
    margin-bottom: 0;
}

.c-cottages__inner {
    display: flex;
    align-content: center;
    justify-content: space-between;
    align-items: stretch;
    position: relative;
    width: 74%;
}

.object-panel__title.is-price {
    font-size: 22px;
    margin-bottom: 8px;
}

.c-cottages__address {
    font-size: 13px;
    line-height: 20px;
    max-width: 535px;
    word-break: break-word;
    word-wrap: break-word;
    margin-bottom: 10px;
    font-style: italic;
}

.c-cottages-item__slider.slick-initialized {
    overflow: visible;
}

.c-cottages__label {
    display: block;
    position: absolute;
    left: 2px;
    top: 2px;
    background-color: #159563;
    color: #fff;
    padding: 2px 8px 3px;
    border-radius: 2px;
    z-index: 2;
}

.c-cottages__label.is-video {
    left: auto;
    right: calc(100% - 250px);
}

.c-cottages-item__desc {
    width: calc(100% - 198px);
    padding-left: 30px;
    padding-right: 30px;
    display: flex;
    align-items: stretch;
    align-content: stretch;
    justify-content: space-between;
    flex-direction: column;
}

.c-cottages-item__name {
    font-size: 18px;
    margin-top: -6px;
    margin-bottom: 5px;
}

.c-cottages-item__props {
    display: flex;
    align-items: center;
    align-content: center;
    justify-content: flex-start;
    font-size: 13px;
}

.c-cottages-item__props > div + div {
    margin-left: 15px;
    padding-left: 15px;
    border-left: 1px solid #383836;
    line-height: 1;
}

.c-cottages-item__name a {
    border-bottom: 1px solid;
}

.c-cottages-item__name a:hover {
    border-color: transparent;
}

.c-cottages-item-objects {
    list-style: none;
    padding: 0;
    margin: 10px 0;
    display: table;
    width: auto;
    table-layout: auto;
    border-collapse: collapse;
}

.c-cottages-item-object {
    display: table-row;
}

.c-cottages-item-objects__title {
    font-weight: bold;
    padding: 4px 10px 2px;
    background-color: #f1f1f1;
}

.c-cottages-item-objects td {
    display: table-cell;
    padding: 4px 10px;
    background-color: #f1f1f1;
    white-space: nowrap;
}

.c-cottages-item-object .c-cottages-item-object__label {
    padding-right: 30px;
}

.c-cottages-item__footer a:not(:last-child) {
    margin-right: 40px;
}

.c-cottages-item__footer a {
    text-decoration: underline;
}

.c-cottages-item__footer a:hover {
    text-decoration: none;
}

.c-cottages-info .link:hover {
    color: #ec9c06;
}

.c-cottages-subheader {
    display: flex;
    align-items: center;
    align-content: center;
    justify-content: flex-start;
    font-size: 20px;
    margin-bottom: 6px;
}

.c-cottages-subheader a {
    font-size: 26px;
    line-height: 22px;
}

.c-cottages-subheader > div {
    margin: 0 20px 0 0;
}

.c-cottages-text {
    margin-bottom: 25px;
}

.media__visible--md {
    display: none;
}

.c-cottages-item__slider .slick-prev,
.c-cottages-item__slider .slick-prev:hover,
.c-cottages-item__slider .slick-prev:active,
.c-cottages-item__slider .slick-prev:focus {
    left: -17px;
    background-color: rgba(0, 0, 0, .5);
    padding: 10px 8px;
    height: auto;
    font-size: 12px;
    width: auto;
}

.c-cottages-item__slider .slick-next,
.c-cottages-item__slider .slick-next:hover,
.c-cottages-item__slider .slick-next:active,
.c-cottages-item__slider .slick-next:focus {
    background-color: rgba(0, 0, 0, .5);
    padding: 10px 8px;
    height: auto;
    font-size: 12px;
    width: auto;
    right: -17px;
}

.c-cottages-item__slider .slick-list {
    height: 100%;
}

.c-cottages-item__slider .slick-track {
    display: flex;
    align-items: center;
    height: 100%;
}

.c-cottages-item__slider .slick-slide {
    display: flex !important;
    align-items: center;
    justify-content: center;
}

.cottages_modal.remodal {
    max-width: 500px;
}

.cottages_modal.remodal .remodal__body {
    padding: 20px;
}

.cottages_modal.remodal .remodal__header {
    padding-left: 20px;
}

.cottages_modal input {
    font-size: 13px !important;
}

.cottages_list {
    list-style-type: none;
    padding: 0;
    margin: 5px 0 15px 0;
    font-size: 13px;
}

.cottages_inner {
    max-height: 215px;
    overflow-y: auto
}

.cottages_list li {
    display: block;
    padding: 3px 0
}

.cottages_list a:hover {
    text-decoration: underline;
}

.cottages_inner p {
    padding: 0;
    margin: 0;
    color: #777;
}

.c-cottages-item__slider:not(.slick-initialized) {
    opacity: 0;
}

.c-cottages__href {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 20px;
}

.p__actions__wrap {
    position: relative;
    z-index: 1;
}

.c-cottages-item__name {
    position: relative;
    z-index: 1;
}

.object-panel__title.is-price a {
    color: #000;
    display: block;
}

.c-cottages__contacts .object-panel > a {
    color: #000;
    display: block;
}

@media (min-width: 769px) {
    .c-cottages-media-desc {
        display: none !important;
    }
}

@media screen and (max-width: 1366px) {
    .c-cottages-item__slider {
        width: 220px;
        height: 160px;
    }

    .c-cottages__label.is-video {
        left: auto;
        right: calc(100% - 220px);
    }

    .c-cottages__inner {
        width: 70%;
    }

    .c-cottages__contacts {
        width: 30%;
    }

    .c-cottages-item-objects td {
        white-space: normal;
    }

    .c-cottages-item-objects {
        width: 100%;
    }

    .p__object__action {
        display: inline-block;
    }

    .p__object__action:last-child {
        margin-right: 0;
    }
}

@media (max-width: 1180px) and (min-width: 769px) {
    .c-cottages-item__head {
        display: block !important;
        padding-right: 15px;
    }

    .object-panel__title.is-price {
        font-size: 18px;
        margin-bottom: 8px;
    }
    
    .c-cottages-item__slider-helper {
        width: 200px;
        float: left;
        height: 140px;
        margin-right: 20px;
        margin-bottom: 10px;
    }
    
    .c-cottages-item__slider.slick-initialized.slick-slider {
        position: absolute;
        left: 0;
        top: 0;
        width: 200px;
        height: 140px;
    }
    
    .c-cottages-item__head {
        float: left;
    }
    
    .c-cottages-item__slider .slick-prev {
        left: 0 !important;
        z-index: 2;
    }
    
    .c-cottages-item__slider .slick-next {
        right: 0 !important;
        z-index: 2;
    }

    .c-cottages-item__slider .img-item {
        height: 240px;
        overflow: hidden;
    }

    .c-cottages-item__image {
        float: left;
        margin-right: 12px;
        margin-bottom: 12px;
    }

    .c-cottages-item__desc {
        padding-left: 0;
        padding-right: 20px;
        width: 100%;
    }

    .p__actions__wrap {
        margin-top: 4px;
    }

    .c-cottages-subheader {
        font-size: 16px;
    }

    .c-cottages__label.is-video {
        left: auto;
        right: calc(100% - 198px);
    }
}

@media (max-width: 1024px) {

    .c-cottages-item__slider {
        width: 100%;
        height: auto;
    }

    .c-cottages-item__slider .img-item {
        height: 240px;
        overflow: hidden;
    }

    .c-cottages-item__desc {
        padding-left: 0;
    }

    .c-cottages-map-links {
        display: none;
    }

    .c-cottages-info {
        width: 100%;
        font-size: 14px;
    }

    .c-cottages-head {
        border-color: #d8d8d8;
        padding: 8px 10px;
    }

    .c-cottages-info__link--lg {
        font-size: 22px;
    }

    .c-cottages-info p {
        margin: 0 0 2px;
    }

    .c-cottages-info a {
        font-weight: bold;
    }

    .c-cottages-item {
        border-color: #e6e6e6;
        padding: 12px 14px;
    }

    .c-cottages-item__name {
        font-size: 14px;
        margin-top: 0;
        margin-bottom: 12px;

    }

    .c-cottages-item__props {
        display: block;
        font-size: 14px;
    }

    .c-cottages-item__props > div + div {
        margin: 0;
        border: 0;
        padding: 0;
    }

    .c-cottages-item__props > div, .c-cottages-item__props > div + div {
        margin: 0 0 8px;
    }

    .c-cottages-item__price {
        font-weight: bold;
    }

    .c-cottages__inner {
        width: 65%;
    }

    .c-cottages__contacts {
        width: 35%;
    }
}

@media (max-width: 960px) {
    .media__visible--md {
        display: block;
    }

    .media__hidden--md {
        display: none;
    }

    .c-cottages-item__desc {
        padding: 0;
        width: 100%;
    }

    .c-cottages-item__head {
        display: flex;
        align-items: stretch;
        align-content: stretch;
        justify-content: space-between;
        margin-bottom: 10px;
    }

    .c-cottages-item__media-desc {
        width: calc(100% - 198px);
        padding-left: 30px;
    }

    .c-cottages-item__props {
        flex-direction: column;
        display: flex;
        align-items: flex-start;
    }

    .c-cottages-item__count {
        order: 2;
    }

    .c-cottages-item__price {
        order: 1;
        margin-bottom: 4px !important;
    }

    .c-cottages-item__area {
        order: 3;
    }

}

@media (max-width: 768px) {

    .c-cottages-item__slider .slick-slide:not(.img-item) {
        display: block !important;
    }

    .c-cottages-item__slider .img-item {
        height: 230px;
        overflow: hidden;
    }

    .cottages-slide .img-item {
        height: 90px;
        overflow: hidden;
        display: inline-block;
        float: left;
        width: auto !important;
    }

    .c-cottages-item__slider .slick-track,
    .c-cottages-item__slider .slick-list {
        display: block;
        height: auto;
    }

    .cottages-slide img {
        margin-bottom: 12px;
        width: 120px;
        float: left;
        margin-right: 11px;
    }

    .page_wrap .p__actions__wrap {
        position: static;
        margin: 12px 0 0;
    }

    .c-cottages-item__image {
        width: 110px;
        height: 80px;
    }

    .c-cottages-item {
        padding: 10px;
    }

    .c-cottages-item__name,
    .c-cottages-item-objects,
    .c-cottages-item__props,
    .c-cottages-item__footer a {
        font-size: 12px;
    }

    .c-cottages-item__footer a:not(:last-child) {
        margin-right: 15px;
    }

    .c-cottages-item__media-desc {
        width: calc(100% - 110px);
        padding-left: 10px;
    }

    .c-cottages-item__props > div, .c-cottages-item__props > div + div {
        margin-bottom: 4px;
    }

    .c-cottages-item__props > div + div:last-child {
        margin-bottom: 0;
    }

    .c-cottages-item__name {
        margin-bottom: 6px;
    }

    .c-cottages-item__props > div, .c-cottages-item__props > div + div {
        margin: 0 0 2px;
    }

    .c-cottages-item-object span {
        white-space: normal;
        padding: 4px 8px;
        font-size: 10.5px;
    }

    .c-cottages-item-objects {
        width: 100%;
    }

    .c-cottages-item-object:after {
        display: none;
    }

    .c-cottages-item-object .c-cottages-item-object__label {
        padding-right: 0;
        font-size: 12px;
    }

    .c-cottages-subheader {
        flex-wrap: wrap;
        font-size: 12px;
        margin-right: -10px;
    }

    .c-cottages-subheader > div {
        margin: 0 5px 0 0;
    }

    .c-cottages-subheader a {
        font-size: 13px;
        line-height: 13px;
    }

    .c-cottages-text {
        font-size: 11px;
    }

    .c-cottages-info ul {
        font-size: 11px;
    }

    .cottages {
        margin-top: 0;
    }

    .page_wrap .cottages h1 {
        margin-bottom: 16px;
    }

    .c-cottages__inner {
        width: 100%;
        /*position: static;*/
    }

    .c-cottages-item {
        flex-wrap: wrap;
        position: relative;
        border: none;
        margin-bottom: 12px;
        border-radius: 12px;
        background-color: #fff;
    }

    .c-cottages-item__head {
        display: block;
    }

    .c-cottages__contacts {
        width: 100%;
        margin-bottom: 30px;
        margin-top: 15px;
    }

    .object-panel__title.is-price {
        font-size: 16px;
    }

    .c-cottages-item__slider .slick-prev.slick-disabled,
    .c-cottages-item__slider .slick-next.slick-disabled {
        display: none !important;
    }

    .c-cottages__label {
        left: 10px;
        top: 10px;
        display: none;
    }

    .c-cottages-item__image {
        float: left;
        margin-right: 10px;
        width: 120px;
        height: 98px;
    }

    .c-cottages-item-objects {
        margin-bottom: 0;
    }

    .wrap.is-catalog {
        background-color: #f3f5f2;
    }

    .c-cottages-head {
        margin-bottom: 0;
    }

    .c-cottages-list {
        margin-top: 20px;
    }

    .page_wrap .cottages h1 {
        margin-top: 0;
    }

    .placement__catalog {
        display: none !important;
    }

    .c-cottages-media-desc {
        position: relative;
    }

    .c-cottages__href {
        display: block!important;
        bottom: 65px;
    }
    
    .c-cottages-item__slider .slick-prev {
        left: 0 !important;
        z-index: 2;
    }
    
    .c-cottages-item__slider .slick-next {
        right: 0 !important;
        z-index: 2;
    }
}

@media (max-width: 385px)  {
    .c-cottages-item__slider .img-item {
        height: 198px;
        overflow: hidden;
    }
}
