@font-face {
	font-family: 'TTNormsRegular';
	src: local('TTNormsRegular'),
		url('../fonts/TTNormsRegular.ttf') format('truetype');
}

html {
    box-sizing: border-box;
}

*,
*::before,
*::after {
    box-sizing: inherit;
}

img {
    max-width: 100%;
}

body {
    min-width: 320px;
}

.container {
    max-width: 1305px;
    margin: 0 auto;
}

#map-block {
    position: relative;
}

.area, .area-dop {
    cursor: pointer;
}

.area-free {
    fill: #2AA65C !important;
}

.area-reserve {
    fill: #FAE093 !important;
}

.area-sold {
    fill: #808080 !important;
}

/* Alex добавил стиль area-hover */
.area-hover {
    filter: drop-shadow(0px 0px 10px #000000B2);
}

.area-tooltip {
    position: absolute;
    background-color: #fff;
    padding: 30px;
    width: max-content;
    border-radius: 10px;
    visibility: hidden;
    box-shadow: 0px 0px 20px 5px #00000026;
}

.area-close {
    position: absolute;
    right: 6px;
    top: 8px;
    min-width: 18px;
    height: 19px;
    cursor: pointer;
    background-image: url('../img/openmoji_close.svg');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.area-title {
    margin-bottom: 15px;
    font-family: 'TTNormsRegular';
    font-weight: 600;
    font-size: 24px;
    line-height: normal;
    color: #000;
}

.area-line {
    width: 50px;
    border: 2px solid #D9D9D9;
}

/* Alex добавил стиль для area-address и area-cadastralNum */
.area-square, .area-price, .area-address, .area-cadastralNum {
    margin: 20px 0;
    font-family: 'TTNormsRegular';
    font-weight: 400;
    font-size: 17px;
    line-height: normal;
    color: #000;
}

/* Alex добавил стиль для area-address-value и area-cadastralNum-value */
.area-square-value, .area-price-value, .area-address-value, .area-cadastralNum-value {
    font-weight: 600;
}

.area-status {
    display: flex;
    align-items: center;
    font-family: 'TTNormsRegular';
    font-weight: 400;
    font-size: 17px;
    line-height: normal;
    color: #000;
}

.status-color {
    margin-right: 16px;
    min-width: 20px;
    height: 20px;
}

.status-free {
    background-color: #2AA65C;
}

.status-reserve {
    background-color: #FAE093;
}

.status-sold {
    background-color: #808080;
}

@media screen and (max-width: 1300px) {
    .area-tooltip {
        /* Alex изменил 2.6% на 3.6% */
        padding: 3.6%;
        border-radius: 4%;
    }

    .area-close {
        min-width: calc(calc(1vh + 1vw) * 0.8);
        height: calc(calc(1vh + 1vw) * 0.8);
        top: 3.5%;
        right: 2.6%;
    }

    .area-title {
        margin-bottom: 8%;
        font-size: calc(calc(1vh + 1vw) * 1.1);
    }

    .area-line {
        width: calc(calc(1vh + 1vw) * 2);
        border-width: 1px;
    }

    /* Alex добавил стиль для area-address и area-cadastralNum */
    .area-square, .area-price, .area-address, .area-cadastralNum {
        margin: 11% 0;
        font-size: calc(calc(1vh + 1vw) * 0.8);
    }

    .status-color {
        margin-right: 9%;
        min-width: calc(calc(1vh + 1vw) * 0.9);
        height: calc(calc(1vh + 1vw) * 0.9);
    }

    .area-status {
        font-size: calc(calc(1vh + 1vw) * 0.9);
    }
}