/* search buildings */
.buildings-grid {
	display: flex;
	
	flex-wrap: wrap; /* Allows items to wrap to the next row */
	justify-content: flex-start;
}

.buildings-grid a {
	flex: 1 1 calc(25% - 25px);
	max-width: calc(25% - 25px);
}

/*more info */
.moreinfo {
  display: grid;
  grid-template-columns: 70% auto;
  gap: 40px; /* Space between columns */
  align-items: start;
}

.column-1, .column-2 {
  display: flex;
  flex-direction: column;
  gap: 20px; /* Space between items inside column */
}






/* show single */
.address_case {
	width: 100%;
	display: flex;
	flex-direction: row;
	align-items: flex-end;
	justify-content: space-between;
	margin-bottom: 25px;
}

.generalinfo {
	display: flex;
	flex-direction: row;	
}

.property, .propertydata, .propertyheadline, .propertydata {
	flex-grow: 1;
}

.propertyinfo {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
}

.propertydata {
	text-align: right;
}

/*Ejendom Oversigt*/
.buildings-grid {
	display: flex;
	flex-direction: row;
	gap: 25px;
}
.single_building{
	background-color:white;
	padding-bottom:15px;
		font-family: 'Futura-Light', Helvetica, Arial, Lucida, sans-serif;
}
.single_info{
	padding-right:15px;
	padding-left:15px;
	line-height:1.2;
	margin-bottom:5px;
}
.single_address{
	padding-right:15px;
	padding-left:15px;
		font-family: 'Futura Regular', Helvetica, Arial, Lucida, sans-serif;
		line-height:1.2;
}

/*Ejendom*/
/*.slider-container {
	max-height: 500px!important;
}
*/
.moreinfo {
   max-width: 1400px!important;
	  margin-left: auto !important;
	margin-right: auto !important;
}

.priceandmore{
	display: flex;
	flex-direction: column;
}

.priceandmore .info {
	display: flex;
	flex-direction: row;
	width: 100%;
	justify-content: space-between;
}
.generalinfo{
	 gap:100px;
}
.propertyheadline{
	text-align:left;
	color:#7c7b82!important;
}

.singleinfo{
	width: 100%;
	padding: 10px;
}

.street{
	font-size:20px;
}
.city{
		color:#7c7b82!important;
}
.casenumber{
	color:#7c7b82!important;
}


.additionaltext h2{
font-size:35px;
	line-height: 1.2em;
	margin-top:50px;
}
.additionaltext{
	line-height: 1.2em;
}

.lightboxOverlay{
	z-index:9999999999;
		background-color: #231f20;
	filter: alpha(Opacity = 90);
	opacity: .95;
}
.lightbox {
	z-index: 10000000000!important;
}

@media (max-width: 980px) {
	.generalinfo {
		flex-direction: column;	
	}
	
	.address_case {
	  flex-direction: column;
	  align-items: flex-start;
	  margin-bottom: 25px;
  }
  .buildings-grid a {
	  flex: none;
	  max-width: calc(50% - 25px);
  }
  
  .introinfo {
	  display: none;
  }
  
  .moreinfo {
	  display: flex;
	  flex-direction: column;
	  align-items: stretch;
	}
  
	.column-1, .column-2 {
	  display: contents; /* let their children flow naturally */
	}
  
	/* Now you can re-order items if needed */
	.images { order: 1; }
	.keynumbers { order: 2; }
	.learnmore { order: 3; }
	.description { order: 4; }
	.map { order: 5; }
	.realtyinfo { order: 6; }
	.economy { order: 7; }
	.the_contact { order: 8; }
	
	
	
}

@media (max-width: 520px) {
	.buildings-grid {
		display: flex;
		flex-direction: column;
	}
  .buildings-grid a {
	  max-width: 100%;
  }
}

#submitButton {
	background-color: #ccc; /* Light gray background */
	color: #666; /* Darker gray text */
	border: 1px solid #999; /* Gray border */
	cursor: not-allowed; /* Disabled cursor */
	opacity: 0.6; /* Slightly transparent */
	padding: 10px 20px;
	font-size: 16px;
	transition: background-color 0.3s, opacity 0.3s; /* Smooth transition */
}

/* Active button styles */
#submitButton:enabled {
	background-color: #4CAF50; /* Green background */
	color: white; /* White text */
	border: 1px solid #4CAF50; /* Green border */
	cursor: pointer; /* Pointer cursor */
	opacity: 1; /* Fully opaque */
}