@font-face {
	font-family: Generalsans;
	src: url('fonts/GeneralSans-Medium.woff2')format("woff2");
	font-weight: 500;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: Generalsans;
	src: url('fonts/GeneralSans-Semibold.woff2')format("woff2");
	font-weight: 600;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: Generalsans;
	src: url('fonts/GeneralSans-Bold.woff')format("woff");
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: Generalsans;
	src: url('fonts/GeneralSans-Extralight.woff')format("woff");
	font-weight: 200;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: Generalsans;
	src: url('fonts/GeneralSans-Light.woff')format("woff");
	font-weight: 300;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: Generalsans;
	src: url('fonts/GeneralSans-Regular.woff')format("woff");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: Generalsans;
	src: url('fonts/GeneralSans-Italic.ttf')format("truetype");
	font-weight: 400;
	font-style: italic;
	font-display: swap;
}

/* Red status overlay (default + darker on hover) */
.area-overlay {
	position: absolute;
	cursor: pointer;
	z-index: 9999;
	display: flex;
	align-items: center;
	justify-content: center;
	pointer-events: none;                
	background-color: rgba(255, 0, 0, 0.6); 
}

.label {
	color: #fff;
	z-index: 1000; 
	font-weight: 500; 
	opacity: 1;
	flex-direction: column;
	justify-content: center;   
	align-items: center;       
	text-align: center;        
	line-height: 14px;
}

.label.warehouse-reserved-lbl {
    font-size: 8px !important;
}

.label.selfstorage-reserved-lbl, .label.selfstorage-notforsale-lbl, .label.selfstorage-sold-lbl {
    font-size: 6px !important;
	line-height: 8px; 
}

div#masterplanL {
  	text-align: center;
	font-family: Generalsans, sans-serif;
}

#masterplanModal {
	display: none;
	position: fixed;
	z-index: 2147483647 !important;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.85);
	align-items: center;
    justify-content: center;
}

.modal-content {
	background: #202a38;
	padding: 20px;
	width: 550px;
	border-radius: 8px;
	box-shadow: 0 4px 12px rgba(0,0,0,0.25);
	position: relative;
	padding-bottom: 40px;
	
	opacity: .7;
	transform: translateY(-100px);
	animation: slideDown 0.5s ease-out forwards;
}

/* Slide animation for masterplanModal */
@keyframes slideDown {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.close {
	position: absolute;
	right: 10px;
	top: 10px;
	font-size: 24px;
	cursor: pointer;
	color: #fff;
}

.close:hover {
  	color: red;
}

#masterplanImg {
	max-width: 100%; 
}

#detailsBtn {
  display: flex;
  margin-top: 20px; 
}

#detailsBtn a {
  flex: 1;
  text-align: center;
  text-decoration: none;
  box-sizing: border-box;
  max-width: 50% !important; 
}

.viewFloorPlan, .walkthrough {
	border-radius: 6px;
	margin-top: 10px; 
	padding: 10px 0;
	font-size: 18px; 
}

.viewFloorPlan {
	background-color: #b2281d !important;
	color: #fff !important;
	border: 1.5px solid #b2281d;
}

.walkthrough {
	background-color: #fff !important;
	color: #b2281d !important;
	border: 1.5px solid #b2281d;
	margin-right: 10px;
} 

#warehouse_img img {
	max-width: 100%;
	margin-bottom: 20px; 
}

#warehouse1 {
	background-color: red !important;
}

.warehouse_unit_num {
	font-size: 36px !important; 
	color: #fff !important; 
	margin-top: 20px;
	margin-bottom: 36px; 
	text-align: center; 
}

.warehouse_details {
	background-color: #fff; 
	padding: 30px; 
	border-radius: 8px; 
}

.warehouse_info {
	color: #231f20;
	font-size: 18px; 
	border: 1px solid #b0b0b0;
	border-radius: 8px; 
}

.text-align-left {
	text-align: left;
}

.text-align-right {
	text-align: right;
}

.border-btm {
	border-bottom: 1.5px solid #b2281d;
}

.grid-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.grid-item {
  padding: 10px;
}

.grid-item-desc {
	text-align: center;
	position: relative;
}

.grid-item-desc:not(:last-child)::after {
    content: "";
    position: absolute;
    right: 0;
    top: 8px;       
    bottom: 8px;    
    width: 1px;
    background: #d9d9d9;
}

.grid-item-desc-1{
	font-size: 0.65rem; 
	line-height: 12px; 
	min-height: 30px; 
	display: flex;
    align-items: center;     
    justify-content: center;  
    text-align: center;
}

.grid-item-desc-2{
	font-size: 1.3rem; 
	color: #b2281d; 
	font-weight: 600; 
	min-height: 15px; 
	display: flex;
    align-items: center;     
    justify-content: center;  
    text-align: center;
}

.grid-item-info {
	text-align: right;
}

.grid-item-img img {
	width: 32px; 
	margin: 0 auto;
}

div.modal-open {
	overflow:hidden!important;
	position:fixed!important;
	width:100%!important
}

.masterplan-content-section {
	background-color: #fff; 
	text-align: center; 
	padding-top: 50px; 
	padding-bottom: 50px; 
}

.masterplan-lbl, .masterplan-direction-img {
	text-align: left; 
}

.masterplan-address p {
	color: #231f20 !important;
	text-align: center !important;
	font-size: 20px !important;
	font-weight: 600 !important;
	margin-top: 20px !important; 
}

#salesStatusLabels {
	color: #000 !important; 
	text-align: left; 
	font-weight: normal;
	font-size: 14px;
}

.salesStatusLegend {
	display: flex;
    align-items: center; 
    gap: 8px;            
	justify-content: center;
	margin-bottom: 10px; 
}

.masterplan-direction-section {
    display: flex;
    align-items: center;
    gap: 10px; 
	justify-content: center;  
	margin-top: 40px; 
}

.masterplan-direction-img {
	max-width: 38px !important; 
    display: block;
    width: 38px; 
    height: auto;
	margin-bottom: 0px !important;  
}

.masterplan-lbl {
	font-weight: 600 !important;
	font-size: 18px;
    margin: 0;
    line-height: 1;
    font-weight: 600;
	color: #000; 
}

span.download-btn:hover,
span.download-btn:focus {
    background-color: #ec1d2f;
    color: #fff;
    text-decoration: none;
}

#selfstorageSalesStatusLabels, #retailSalesStatusLabels, #warehouseSalesStatusLabels {
	color: #000; 
}

/*
.masterplan-tab ul li a, .masterplan-tab ul li:last-child a {
	border: 1px solid #344252;
    border-radius: 10px;
	background-color: #344252; 
	margin-right: 10px; 
	padding: 12px 18px;  
	color: #fff; 
}

.masterplan-tab .wpb_tabs_nav li > a:not(.active-tab):hover {
	background-color: rgba(0, 0, 0, .035) !important;
}

.masterplan-tab .tab-item > a {
    display: flex;
    align-items: center;
    gap: 8px;
}

.masterplan-tab .tab-item > a > span {
    display: flex;
    align-items: center;
}

.masterplan-tab .tab-item:nth-child(1) > a > span::before {
    content: "";
    width: 30px;
    height: 30px;
    margin-right: 12px;
    display: inline-block;
    background: url('../../img/warehouse-icon.svg') center/contain no-repeat;
}

 .masterplan-tab .tab-item:nth-child(2) > a > span::before {
    content: "";
    width: 30px;
    height: 30px;
    margin-right: 12px;
    display: inline-block;
    background: url('../../img/retail-icon.svg') center/contain no-repeat;
}

.masterplan-tab .tab-item:nth-child(3) > a > span::before {
    content: "";
    width: 30px;
    height: 30px;
    margin-right: 12px;
    display: inline-block;
    background: url('../../img/storage-icon.svg') center/contain no-repeat;
}
*/

/* =========================================
   MASTER PLAN TABS
   ========================================= */
.masterplan-tab ul {
    display: flex;
    gap: 12px;
}

.masterplan-tab ul li {
    flex: 1;
	max-width: 160px;
}

/* Tab card */
.masterplan-tab ul li a,
.masterplan-tab ul li:last-child a {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    margin-right: 0;
    padding: 8px 30px;
    background: #344252;
    border: 1px solid #344252;
    border-radius: 10px;
    color: #fff;
    transition:
        background-color 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease;
}

/* Icon + label wrapper */
.masterplan-tab .tab-item > a > span {
	display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    font-size: 16px;
    font-weight: normal;
    line-height: 1.2;
    text-align: center;
	
	/*
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: center;
	gap: 10px;
	font-size: 16px;
	font-weight: normal;
	line-height: 1.2;
	text-align: left;	
	*/
}

/* =========================================
   ICONS
   ========================================= */
.masterplan-tab .tab-item > a > span::before {
    content: "";
    display: block;
    width: 30px;
    height: 30px;
    margin: 0;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

/* Warehouse */
.masterplan-tab .tab-item:nth-child(1) > a > span::before {
    background-image: url('../../img/warehouse-icon.svg');
}

/* Retail */
.masterplan-tab .tab-item:nth-child(2) > a > span::before {
    background-image: url('../../img/retail-icon.svg');
}

/* Self Storage */
.masterplan-tab .tab-item:nth-child(3) > a > span::before {
    background-image: url('../../img/storage-icon.svg');
}

/* =========================================
   BOTTOM INDICATOR
   ========================================= */
.masterplan-tab .tab-item > a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 80px;
    height: 4px;
    transform: translateX(-50%);
    background: #647485;
    border-radius: 4px 4px 0 0;
    transition:
        background-color 0.25s ease,
        width 0.25s ease;
}

/* =========================================
   ACTIVE TAB
   ========================================= */
.masterplan-tab .tab-item > a.active-tab,
.masterplan-tab .tab-item.active-tab > a {
    /* background: #9e1b26; */
	background: black;
    border-color: #9e1b26;
}

/* Active red indicator */
.masterplan-tab .tab-item > a.active-tab::after,
.masterplan-tab .tab-item.active-tab > a::after {
    background: #ff2338; 
}

/* =========================================
   HOVER
   ========================================= */
.masterplan-tab .wpb_tabs_nav li > a:not(.active-tab):hover {
    background-color: #3d4c5d !important;
    border-color: #3d4c5d;
    transform: translateY(-2px);
}










@media only screen and (max-width:767px) {
	.grid-item-desc:nth-child(-n+2)::before {
		content: "";
		position: absolute;
		left: 8px;
		right: 8px;
		bottom: 0;
		height: 1px;
		background: #d9d9d9;
	}
	
	.grid-item-desc:nth-child(even)::after {
		background: none !important;
	}
	
	#masterplanModal {
		width: 100vw !important;
		height: 100vh !important;
		z-index: 2147483647 !important;
	}
	
	.modal-content {
		width: 100% !important;
	}
	
	.warehouse_info, .viewFloorPlan, .walkthrough {
		font-size: 16px !important; 
	}
	
	.grid-container {
		grid-template-columns: 50% 1fr !important; 
	}
	
	.masteplan-content-section {
		margin-top: 10px; 
		margin-bottom: 0px !important; 
	}
	
	.masterplan-section {
		padding-left: 10px !important;
		padding-right: 10px !important; 
	}
	
	.masterplan-address p {
		font-size: 14px !important;
		margin-left: 20px; 
	}
	
	.image-container {
		margin-bottom: 0px !important;
	}
	
	#warehouseSalesStatusLabels {
		display: flex;       
		align-items: center;
		flex-wrap: wrap;     
	}
	
	.soldreserved-lbl {
		padding-top: 20px;
		padding-left: 20px;
	}	
	
	.masterplan-direction-section {
		margin-top: 20px;
	}
	
	.masterplan-content-section {
		padding-top: 20px; 
		padding-bottom: 20px; 
	}
	
	.masterplan-address p {
		margin-top: 0px !important; 
	}
	
	/*
	.masterplan-tab ul li a, .masterplan-tab ul li:last-child a {
		padding: 10px 14px; 
	}
	
	.masterplan-tab .wpb_tabs_nav li > a {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        text-align: center !important;
	}

    .masterplan-tab .wpb_tabs_nav li > a > span {
		display: grid;
		justify-items: center;
		align-content: center;
		row-gap: 8px;
		width: 100%;
		text-align: center;
	}

	.masterplan-tab .tab-item > a > span::before {
		content: "";
		width: 30px;
		height: 30px;
		display: block;
		background-position: center;
		background-repeat: no-repeat;
		background-size: contain;
		margin: 0 !important;
	}

    .masterplan-tab .tab-item:nth-child(1) > a > span::before {
        background-image: url('../../img/warehouse-iconwarehouse-icon.svg');
    }

    .masterplan-tab .tab-item:nth-child(2) > a > span::before {
        background-image: url('../../img/retail-icon.svg');
    }

    .masterplan-tab .tab-item:nth-child(3) > a > span::before {
        background-image: url('../../img/storage-icon.svg');
    } */
	
	.masterplan-tab ul {
        gap: 8px;
    }

    .masterplan-tab ul li a,
    .masterplan-tab ul li:last-child a {
        min-height: 90px;
        padding: 12px 8px;
    }

    .masterplan-tab .tab-item > a > span {
        gap: 7px;
        font-size: 13px;
    }

    .masterplan-tab .tab-item > a > span::before {
        width: 30px;
        height: 30px;
    }

    .masterplan-tab .tab-item > a::after {
        width: 50px;
        height: 3px;
    }	
}


@media only screen and (min-width:768px) {
	.innovashailerpark-masterplan-logo, .soldreserved-lbl {
		display: none !important;
	}
	
	.masterplan-top-row {
		display: flex;
		align-items: center;
		flex-wrap: wrap;
	}	
}

@media (min-width: 768px) and (max-width: 820px) {
	.masterplan-address p, .masterplan-lbl {
		font-size: 16px !important;
	}
	
	.area-overlay span {
		font-size: 5px !important;
	}	
}

@media (min-width: 821px) and (max-width: 1024px) {
	.area-overlay span {
		font-size: 7px !important;
	}
}

@media only screen and (max-width:1023px) {
	.overlay-color-shade {
		background-color: rgba(255, 0, 0, 0.6) !important;
		width: 30px;
		height: 20px;
		margin-right: 10px;
		margin-bottom: 0px !important; 
		flex-shrink: 0; 
	}
	
	.label  {
		display: none !important; 
	}
}

@media only screen and (max-width:1024px) {
	.masterplan-address p, .masterplan-lbl {
		font-size: 14px !important;
	}	
}

@media only screen and (min-width:1024px) {
	.salesStatusLegend {
		display: none; 
	}

	.area-overlay.area-overlay-hover-overlay {
		background-color: rgba(255, 0, 0, 0.77);  
	}

	.hover-overlay {
		position: absolute;
		background-color: rgba(250, 238, 200, 0.20);
		pointer-events: none;
		z-index: 9998;                        
		display: none;
		opacity: 0;
		transition: opacity .15s ease-in-out, background-color .15s ease-in-out;
	}

	.hover-overlay.is-visible {
		display: block;
		opacity: 1;
		background-color: rgba(255, 215, 0, 0.25);
	}

	#cursor-tooltip {
		position: fixed;              
		background: #202a38;  
		color: #fff;
		font-size: 11px;
		font-family: Generalsans, sans-serif;
		border-radius: 4px;
		padding: 4px 6px;
		white-space: nowrap;
		pointer-events: none;          
		opacity: 0;
		transition: opacity 0.15s ease-in-out;
		z-index: 2147483647;           
		box-shadow: 0 2px 6px rgba(0,0,0,0.30);
	}

	.hover-overlay::after { 
		content: none !important; 
	}
}

@media (min-width: 1024px) and (max-width: 1376px) {
	.label, .label.warehouse-reserved-lbl, .label.selfstorage-reserved-lbl, .label.sold, .label.reserved, .label.notforsale {
		font-size: 5px !important; 
		line-height: 10px !important; 
	}
	
	.label.selfstorage-notforsale-lbl {
		line-height: 8px !important; 
	}
	
	.label.selfstorage-reserved-lbl {
		font-size: 3.5px !important; 
	}
}