.in-flats {
    padding-top: 50px;
    padding-bottom: 60px;
}
.in-flats__title {
    margin-bottom: 20px;
}
.in-flats__text {
    margin-bottom: 30px;
}
.in-flats__item {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    border-bottom: 1px solid #e6e6e6;
    padding-bottom: 40px;
    margin-bottom: 40px;
}
.in-flats__item:nth-of-type(1) {
    width: 45%;
}
.in-flats__item:nth-of-type(2) {
    width: 55%;
}
.in-flats__item:last-of-type {
    padding-bottom: 0;
    margin-bottom: 0;
    border-bottom: none;
}
.in-flats__item-header {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: flex-start;
	align-items: center;
	margin: 0px 0px 0px 0px;
	padding: 0px 0px 0px 0px;
	position: relative;
	width: 100%;
}
.in-flats__item-header-content {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: flex-start;
	align-items: flex-start;
	margin: 0px 0px 0px 0px;
	padding: 0px 0px 0px 0px;
	position: relative;
	flex-shrink: 0;
}
.in-flats__item-header-notice {
	display: block;
	margin: 0px 0px 0px 70px;
	padding: 25px 25px 25px 25px;
	position: relative;
	border: 5px solid var(--secondary-color);
}
.in-flats__item-header-notice-inner {
	display: block;
	margin: 0px 0px 0px 0px;
	padding: 0px 0px 0px 0px;
	position: relative;
}
.in-flats__item-header-notice-text {
	display: block;
	margin: 0px 0px 0px 0px;
	padding: 0px 0px 0px 0px;
	position: relative;
}
.in-flats__item-header-notice-btn {
	display: inline-block;
	vertical-align: top;
	margin: 20px 0px 0px 0px;
	padding: 0px 0px 0px 0px;
	position: relative;
}
.in-flats__img-wrap {
    position: relative;
    height: 180px;
    margin-top: 4px;
}
.in-flats__count {
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    left: 50%;
    background: var(--primary-color);
    color: #fff;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    line-height: 24px;
}
.in-flats__count var {
    font-size: 30px;
}
.in-flats__data {
    padding-left: 30px;
    max-width: 300px;
}
.in-flats__name {
    font-size: 24px;
    line-height: 26px;
    font-weight: 500;
    margin-bottom: 18px;
}
.in-flats__imgs {
    width: calc(100% + 30px);
    margin-left: -15px;
    margin-right: -15px;
    margin-top: 35px;
}
.in-flats__imgs-item {
    margin-left: 15px;
    margin-right: 15px;
}
.in-flats__price .economy {
    margin-top: 20px;
}
.in-flats__subtitle {
    margin-top: 19px;
}
.in-flats__btn {
    margin-top: -46px;
    position: relative;
}
@media screen and (min-width: 1221px) {
	.in-flats__price .price__list {
		flex-wrap: nowrap !important;
	}
}
@media screen and (max-width: 1220px) {
    .in-flats__item:nth-of-type(1),
    .in-flats__item:nth-of-type(2) {
        width: 100%;
    }
    .in-flats__imgs {
		margin-bottom: -20px;
        margin-left: -10px;
        margin-right: -10px;
    }
    .in-flats__imgs-item {
        padding-left: 10px;
        padding-right: 10px;
        margin-left: 0;
        margin-right: 0;
		margin-bottom: 20px;
    }
    .in-flats__btn {
        margin-top: 20px;
    }
}
@media screen and (max-width: 992px) {
    .in-flats {
        padding-top: 40px;
        padding-bottom: calc(40px + 5px);
    }
    .in-flats__item {
        margin-bottom: 25px;
        padding-bottom: 25px;
    }
    .in-flats__text {
        margin-bottom: 15px;
    }
    .in-flats__imgs-item {
        max-width: 33.333%;
    }
	.in-flats__item-header {
		flex-wrap: wrap;
		align-items: flex-start;
	}
	.in-flats__item-header-notice {
		order: 1;
		margin: 0px 0px 0px 0px;
	}
	.in-flats__item-header-content {
		order: 2;
		margin-top: 20px;
	}
}
@media screen and (max-width: 767px) {
    .in-flats__img-wrap {
        margin-top: 0;
        margin-bottom: 18px;
    }
    .in-flats__data {
		width: 100%;
		max-width: 100%;
		padding-left: 0px;
        margin-left: auto;
        margin-right: auto;
    }
    .in-flats__name {
		font-size: 20px;
        margin-bottom: 12px;
    }
    .in-flats__price .economy {
        margin-top: 10px;
    }
    .in-flats__subtitle {
        display: none;
    }
    .in-flats__imgs {
        margin-top: 25px;
    }
    .in-flats__imgs-item {
        max-width: 100%;
        width: 100%;
    }
    .in-flats__btn {
        margin-left: auto;
        margin-right: auto;
    }
	.in-flats__item-header-content {
		flex-shrink: unset;
	}
}
@media screen and (max-width: 400px) {
    .in-flats {
        padding-top: 35px;
    }
	.in-flats__btn {
		width: 100%;
	}
	.in-flats__imgs-item img {
		width: auto !important;
		height: auto !important;
	}
}