
.building-floor-widget {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 50px;
	width: 100%;
}

.building-floor-widget .building-floor-table-wrap {
	width: 50%;
	max-width: 770px !important;
}

.building-floor-table {
	width: 100%;
	border-collapse: collapse;
}

.building-floor-widget table.building-floor-table {
	background: transparent !important;
	border: none !important;
	margin: 0 !important;
}

.building-floor-widget table.building-floor-table tr {
	background: transparent !important;
	border: 0 !important;
}

.building-floor-widget table.building-floor-table tr.building-floor-row.active {
	background-color: #d6e046 !important;
}

.building-floor-widget table.building-floor-table th {
	border: 0 !important;
	text-align: left !important;
	color: #24300c;
	font-family: "Reckless";
	font-size: 36px;
	font-style: normal;
	font-weight: 400 !important;
	line-height: 1 !important;
	padding: 0 !important;
	padding-bottom: 30px !important;
}

.building-floor-widget table.building-floor-table td {
	border: 0 !important;
	padding: 0 !important;
	color: #24300c;
	font-family: "new-hero";
	font-size: 16px;
	font-style: normal;
	font-weight: 300;
	line-height: 22px;
	padding-bottom: 2px !important;
	padding-top: 2px !important;
}

.building-floor-row {
	cursor: pointer;
}

.building-floor-plan img {
	width: 25px;
	height: auto;
	display: block;
}

.building-floor-svg {
	width: 50%;
}

.building-map-svg {
	display: block;
	width: 100%;
	height: auto;
}

.building-map-svg .building-floor .st2 {
	transition: fill .25s ease;
}

.building-map-svg .building-floor.active .st2 {
	fill: #d6e046;
	opacity: .8;
}

.floor-legend {
	display: flex;
	align-items: center;
	gap: 20px;
}

.floor-legend__item {
	display: flex;
	align-items: center;
	gap: 16px;
}

.floor-legend__circle {
	width: 30px;
	height: 30px;
	border: 1px solid #000;
	border-radius: 50%;
	display: block;
	flex-shrink: 0;
}

.floor-legend__circle--selected {
	background: #fff;
}

.floor-legend__circle--unavailable {
	background: #d9d9d9;
}

.floor-legend__text {
	color: #24300c;
	font-family: "new-hero";
	font-size: 18px;
	font-style: normal;
	font-weight: 300;
	line-height: 24px;
	margin-top: 5px;
}

.building-floor-widget .building-floor-row.unavailable {
	background-color: #d9d9d9 !important;
	cursor: auto;
}

.building-floor-widget .building-floor-row.selected {
	background-color: #fff;
}

.building-floor-widget .building-floor-row.selected td {
	background-color: #fff;
}

.building-floor.selected .st2 {
	fill: #fff;
	opacity: .8;
}

.building-floor-total {
	display: flex;
	align-items: center;
	border-top: 1px solid #24300c;
	border-bottom: 1px solid #24300c;
	padding: 14px 0;
	padding-bottom: 12px;
	margin-top: 37px;
	color: #24300c;
	font-family: "new-hero";
	font-size: 18px;
	font-style: normal;
	font-weight: 300;
	line-height: 24px;
}

.building-floor-total-label {
	width: 50%;
}

.building-floor-total-value {
	width: 50%;
	padding-left: 10px;
}

@media (max-width: 1281px) {
	.building-floor-widget table.building-floor-table th {
		font-size: 28px;
		padding-bottom: 20px !important;
	}
	
	.building-floor-widget table.building-floor-table td {
		font-size: 15px;
		line-height: 21px;
	}
	
	.building-floor-total {
		padding: 12px 0;
		padding-bottom: 8px;
		margin-top: 23px;
		font-size: 16px;
	}
	
	.building-floor-widget {
		gap: 20px;
	}
	
	.building-floor-total-label {
		width: 55%;
	}
	
	.building-floor-total-value {
		width: 45%;
		padding-left: 0;
	}
	
	.building-floor-widget table.building-floor-table tr td:first-child {
		width: 23%;
	}
}

@media (max-width: 999px) {
	.building-floor-widget {
		flex-direction: column;
	}
	
	.building-floor-widget .building-floor-table-wrap, .building-floor-widget .building-floor-svg {
		width: 100%;
		max-width: 100% !important;
	}
	
	.building-floor-widget table.building-floor-table th {
		font-size: 25px;
		padding-bottom: 10px !important;
	}
	
	.building-floor-total-value {
		padding-left: 10px;
	}
}

@media (max-width: 690px) {
	.building-floor-widget table.building-floor-table th {
		font-size: 20px;
		padding-bottom: 10px !important;
	}
	
	.floor-legend__text {
		font-size: 15px;
		line-height: 24px;
		margin-top: 5px;
	}
	
	.floor-legend__item {
		gap: 6px;
	}
	
	.floor-legend__circle {
		width: 25px;
		height: 25px;
	}
	
	.building-floor-widget table.building-floor-table tr td:first-child {
		width: 12%;
	}
	
	.building-floor-widget table.building-floor-table td {
		font-size: 14px;
		line-height: 20px;
	}
	
	.building-floor-total {
		padding: 12px 0;
		padding-bottom: 8px;
		margin-top: 23px;
		font-size: 14px;
	}
	
	.building-floor-widget table.building-floor-table tr td:nth-child(3) {
		width: 21%;
	}
	
	.building-floor-widget table.building-floor-table td:nth-child(2) {
		width: 27%;
	}
	
	.building-floor-widget table.building-floor-table td:nth-child(4) {
		width: 10%;
	}
}
