.offices-title {
	text-align: center;
	margin-top: 32px;
	margin-bottom: 24px;
}

.new-offices {
	height: 696px;
	position: relative;
    margin-bottom: 64px;
}

.map {
	height: 100%;
}

.office-wrap {
	position: absolute;
	left: 0;
	top: 0;
	right: 0;
	bottom: 0;
	width: 100%;
	height: 100%;
	z-index: 1;
	padding: 40px 0;
	pointer-events: none;
}

.office-wrap .new-container {
	display: flex;
	height: 100%;
}

.office-container {
	display: flex;
	flex-direction: column;
	border-radius: 16px;
	pointer-events: all;
	width: 376px;
	box-shadow: 0px 43px 12px 0px rgba(0, 0, 0, 0.00), 0px 27px 11px 0px rgba(0, 0, 0, 0.01), 0px 15px 9px 0px rgba(0, 0, 0, 0.05), 0px 7px 7px 0px rgba(0, 0, 0, 0.09), 0px 2px 4px 0px rgba(0, 0, 0, 0.10);
}

.office-body {
	flex: 1;
	padding: 24px 16px 8px 16px;
	background: #FFF;
	border-radius: 16px 16px 0 0;
	position: relative;
}

.office-body-close {
	position: absolute;
	top: 16px;
	right: 16px;
	display: none;
}

.area-block {
	margin-bottom: 16px;
}

.area-block__title {
	margin-bottom: 8px;
	font-weight: 700;
	font-size: 15px;
	line-height: 20px;
}

.area-select {
	position: relative;
}

.area-select-header {
	background: #FAFAFA;
	border: 1px solid #F3F3F4;
	padding: 11px 16px 11px 12px;
	cursor: pointer;
	font-size: 14px;
	line-height: 16px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	border-radius: 8px;
}

.area-select-header._open + .area-select-list {
	visibility: visible;
	opacity: 1;
}

.area-select-list {
	position: absolute;
	width: 100%;
	top: calc(100% + 8px);
	left: 0;
	right: 0;
	z-index: 1;
	border-radius: 8px;
	overflow: hidden;
	transition: 0.3s;
	visibility: hidden;
	opacity: 0;
}

.area-select-list-item {
	background: #FAFAFA;
	padding: 11px 16px 11px 12px;
	transition: 0.3s;
	cursor: pointer;
}

.area-select-list-item:hover {
	background: #edeff3;
}

.features-block {
	display: flex;
	border-bottom: 1px solid #EEEEEF;
	margin-bottom: 16px;
	padding-bottom: 16px;
}

.features-block .checkbox-field {
	flex: 0 0 auto;
	margin-right: 16px;
}

.features-block .checkbox-field__mark {
	margin-right: 4px;
}

.office-list {
	overflow: scroll;
	max-height: 372px;
}

.office-list::-webkit-scrollbar {
	width: 2px;
	margin-left: -8px;
}

.office-list::-webkit-scrollbar-thumb {
	border-radius: 20px;
	background: #74767A80;
}

.office-item {
	background: #FAFAFA;
	border: 1px solid #F3F3F4;
	position: relative;
	border-radius: 8px;
}

.office-item.open .office-item-close {
	display: flex;
}

.office-item-close {
	position: absolute;
	top: 16px;
	right: 16px;
	background: transparent;
	display: none;
}

.office-item:not(:last-child) {
	margin-bottom: 16px;
}

.office-item-header {
	font-size: 14px;
	line-height: normal;
	padding: 16px 40px 16px 16px;
	cursor: pointer;
}

.office-item-feature {
	display: flex;
	align-items: center;
	color: #74767A;
	font-size: 15px;
	line-height: 18px;
	margin-bottom: 16px;
}

.office-item-feature > svg {
	margin-right: 4px;
}

.office-item-body {
	margin-top: 8px;
	display: none;
	padding: 0 16px 16px 16px;
}

.work {
	padding-top: 8px;
	border-top: 1px solid #EEEEEF;
	margin-bottom: 8px;
	color: #74767A;
	font-size: 15px;
	line-height: 21px;
}

.work b {
	font-weight: 500;
}

.office-item-image {
	width: 100%;
	display: block;
}

.office-footer {
	padding: 16px;
	background: #F2F3F7;
	border-radius: 0 0 16px 16px;
}

.office-button {
	border-radius: 20px;
	background: #E30611;
	height: 40px;
	color: #FFF;
	display: flex;
	justify-content: center;
	align-items: center;
	font-size: 16px;
	width: 100%;
	line-height: 16px;
}

.office-button_mobile {
    display: none;
}

.office-btn-list {
	display: none;
	padding: 8px 16px;
}

.office-list-view {
	border-radius: 20px;
	background: #FFF;
	box-shadow: 0px 11px 3px 0px rgba(0, 0, 0, 0.00), 0px 7px 3px 0px rgba(0, 0, 0, 0.01), 0px 4px 2px 0px rgba(0, 0, 0, 0.05), 0px 2px 2px 0px rgba(0, 0, 0, 0.09), 0px 0px 1px 0px rgba(0, 0, 0, 0.10);
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 8px;
	width: 100%;
}

.office-list-view > svg {
	margin-right: 4px;
}

.detail-office {
	position: absolute;
	bottom: 0;
	left: 0;
	z-index: 2;
	padding: 40px 16px 16px 16px;
	width: 100%;
	background: #fff;
	border: none;
	border-radius: 0;
	display: none;
}

.detail-office .office-item-header,
.detail-office .office-item-body {
	padding: 0;
}

.detail-office .office-item-close {
	display: block;
}

@media (max-width: 1023px) {
    .new-offices {
        margin-bottom: 48px;
    }
}

@media (max-width: 767px) {
	.new-offices, .new-offices .map {
		height: 584px;
	}

	.office-wrap,
	.office-wrap .new-container {
		padding: 0;
	}

	.office-wrap {
		height: auto;
		bottom: 0;
		top: auto;
	}

	.office-body {
		display: none;
		padding-top: 40px;
		max-height: 472px;
	}

	.office-list {
		max-height: 284px;
	}
	
	.office-body-close {
		display: block;
	}

	.office-container {
		box-shadow: none;
		width: 100%;
	}

	.office-footer {
		border-radius: 0;
	}

    .office-button {
        display: none;
    }
	
    .office-button_mobile {
        display: flex;
    }

	.office-btn-list {
		display: block;
	}
}