body.night {
    background: #16171D;
}

.adress-block-right-content {
	margin-left: 10px;
}

.main-adress-block {
    display: grid;
    justify-content: center;
}

.adress-block-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.map-block {
    margin-top: 30px;
    position: relative;
}

.city-block {
    max-width: 875px;
    height: auto;
    background: linear-gradient(0deg, #222A34 0%, rgba(34, 42, 52, 0) 100%);
    border-radius: 0 0 20px 20px;
    padding: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, max-content));
    grid-template-rows: auto;
    /*display: flex;*/
    /*flex-direction: row;*/
    /*flex-wrap: wrap;*/
    column-gap: 30px;
}

.city-item {
    white-space: nowrap;
}

.city-block-column {
    flex: 0 0 auto;
    width: max-content;
    display: flex;
    flex-direction: column;
}

.each-city {
	width: 150px;
    margin: 0 auto 20px;
}

.city-pin {
    display: flex;
    align-items: center;
    position: absolute;
    top: 200px;
    left: 130px;
    cursor: pointer;
}

.city-pin.petersburg {
    top: 143px;
}

.pin {
    width: 8px;
    height: 8px;
    background-color: #C6CF4F;
    border-radius: 20px;
    transition: all 0.1s ease-in-out 0.1s;
}

.shadow {
    width: 22px;
    height: 22px;
	z-index: 10;
    background: radial-gradient(50% 50% at 50% 50%, #C6CF4F 0%, rgba(198, 207, 79, 0.177083) 65.1%, rgba(198, 207, 79, 0) 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.07s ease-in-out 0.07s;
	opacity: 0.3;
}

.shadow.open-city {
    width: 44px;
    height: 44px;
    transition: all 0.07s ease-in-out 0.07s;
	opacity: 1;
}

.shadow.open-city .pin {
    width: 16px;
    height: 16px;
    transition: all 0.07s ease-in-out 0.07s;
}

.city-pin.open-city .city-hover {
    opacity: 1;
    transition: all 0.07s ease-in-out 0.07s;
}

.city-hover {
    opacity: 0;
    transition: all 0.07s ease-in-out 0.07s;
}

.city-hover a,
.city-block a {
    color: white;
    cursor: pointer;
    text-decoration: none;
}

.city-hover a {
	font-weight: bold;
}

.each-city.open-city a {
    color: #C6CF4F;
}

.adress-block {
    display: none;
}

.adress-block.open-city{
    margin-top: 45px;
    padding: 20px 0 20px 20px;
    width: 415px;
    height: auto;
    background-color: #222A34;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.adress-map-block {
    margin-right: 20px;
    width: 227px;
}

.adress-map-block a,
.phone-time-block a {
    font-weight: 700;
    font-size: 16px;
    line-height: 19px;
    color: #D4DBE1;
}

.adress-map-block span,
.phone-time-block span {
    font-weight: 700;
    font-size: 12px;
    line-height: 14px;
    color: #9DACB7;
}

.map-link {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.map-link a {
    font-weight: 400;
    font-size: 12px;
    line-height: 14px;
  	color: #9DACB7;
}

.map-link:hover a {
  color: #C6CF4F;
}

.map-link:hover img {
	filter: unset;
}

.map-link {
    margin-top: 18px;
}

.map-link img {
    margin-left: 10px;
  	filter: grayscale(100%);
}

.main-adress-block-title {
    width: 296px;
    margin: 45px auto 5px;
}

.main-adress-block-title a {
    font-weight: 700;
    font-size: 24px;
    line-height: 29px;
    background: linear-gradient(93.85deg, #47647A 12.1%, #769CB8 92.67%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.mail-hover {
    cursor: pointer;
    text-decoration: none;
}

.mail-hover:hover {
	color: #C6CF4F;
}

.adress-block {
    display: none;
}

.city-pin.petersburg {
    top: 142px;
    width: 200px;
    justify-content: center;
    left: 106px;
}

.city-pin.moscow {
    display: flex;
    align-items: center;
    position: absolute;
    top: 198px;
    left: 81px;
    cursor: pointer;
    width: 180px;
    justify-content: center;
}

.city-adress.open-city a {
    color: #C6CF4F;
}

.city-adress {
	margin-bottom: 10px;
}

.phone-time-block {
	padding: 0 20px;
    width: 215px;
}

@media (max-width: 1024px) {
    .map-block {
        display: none;
    }
    .adress-block {
        width: 353px;
    }
	.adress-block {
		display: block;
	}
	.adaptive-view {
		margin-top: 45px;
		padding: 20px 0 20px 20px;
		width: 415px;
		height: auto;
		background-color: #222A34;
		border-radius: 20px;
		display: flex;
		align-items: center;
		justify-content: center;
	}
}

@media (max-width: 615px) {
    .adress-block {
        margin-top: 45px;
        padding: 20px 0 20px 20px;
        width: 353px;
        height: auto;
        background-color: #222A34;
        border-radius: 20px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .adress-block.open-city {
        width: 353px;
    }
}