html {
    overflow-y:scroll;
}

/* Smaller text : 14px instead of Bootstrap 5's 16px (buttons, menu and titles scale with it) */
html {
	font-size: 14px;
}

/* The colored separator lines stay solid (Bootstrap 5 fades <hr> by default) */
hr {
	opacity: 1;
}

.ie-stickyFooter { /* 1 */
	display:-ms-flexbox; !important
	-ms-flex-direction:column;
}

.container {
	min-height:100vh;
	display:-webkit-flex; /* 3 */
	display:flex;
	-webkit-flex-direction:column; /* 3 */
	flex-direction:column;
}

.body {
	-webkit-flex-grow:1; /* 3 */
	flex-grow:1;
	display: flex;
	align-items: center; /* align vertical */
}

.separator-main-blue {
	background-color: #182959;
	height: 8px;
	margin: 0px;
	border: none;
}

.separator-main-gold {
	background-color: #f1b53d;
	height: 5px;
	margin: 0px;
	border: none;

}

.separator-main-grey {
	background-color: #4b4b4b;
	height: 4px;
	margin: 0px;
	border: none;

}

.separator-main-white {
	background-color: white;
	height: 1px;
	margin: 0px;
	border: none;

}
.separator-main-blue-small {
	background-color: #182959;
	height: 3px;
	padding: 0px;
	border: none;
}

.header-location-address {
	font-size: 22px;
	font-weight: bold;
}

.carousel-indicators [data-bs-target] {
    background-color: white;
    box-shadow: inset 1px 1px 1px 1px rgba(0,0,0,0.5);
}
.carousel-indicators .active {
    background-color: #182959;
}

.carousel-control-prev,
.carousel-control-next {
	width: 80px;
}

.block {
	display: inline-block
}

.footer
{
	text-align: center;
	margin-bottom:20px;
}

.link {
	cursor: pointer;
}

.bold
{
	font-weight: bold;
}

.big-text {
	font-size: 24px;
}

.medium-text {
	font-size: 16px;
}

.small-text {
	font-size: 12px;
}

.no-padding {
	padding: 0px;
}

.light-grey-bg {
	background-color: #eeeeee;
}

.grey-bg {
	background-color: #4b4b4b;
}

.vcenter {
    display: inline-block;
    vertical-align: middle;
    float: none;
}



.btn-primary,
.btn-primary:active,
.btn-primary:visited,
.btn-primary:focus {
    background-color: #182959;
    border-color: #182959;
}

.btn-primary:hover {
    background-color: #f1b53d;
    border-color: #f1b53d;
}

.listing-image {
	max-height: 250px !important;
	max-width: 333px !important;
}

/* Every listing photo in the same 4:3 frame (333 x 250), cropped to fill it */
.listing-photo {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

/* Detail page photos in a fixed 4:3 frame (whole photo shown), so the carousel keeps the same height */
#carousel-example-generic .carousel-item img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: contain;
}

/* Map links shown in the bottom corner of the map */
.map-links {
	position: absolute;
	right: 0;
	bottom: 0;
	margin: 0;
	padding: 2px 6px;
	background-color: rgba(255, 255, 255, 0.85);
}

/* Large screens : the map fills the space under the agent, down to the bottom of the photos */
@media (min-width: 1200px) {
	#map iframe {
		flex: 1 1 0;
		min-height: 200px;
	}
}

.listing-city {
  display: -webkit-box;
  overflow : hidden;
  text-overflow: ellipsis;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;  
}
	
.listing-text {
  display: -webkit-box;
  overflow : hidden;
  text-overflow: ellipsis;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;  
}

.sorting-dropdown {
	padding-left: 20px;
	padding-bottom: 20px;
}

.image {
	position:relative;
}

.png-over {
	position:absolute;
	margin-left: auto;
	margin-right: auto;
	left: 0;
	right: 0;
}
 
.contact-image {
	max-width: 130px !important;
}
 
.menu-container {
	width: 873px;
	position: absolute;
	top: 0px;
	left: 0px;
	right: 0px;
	margin-left:auto;
	margin-right:auto;
}

@media print {

	a[href]:after {
		content: none;
	}

	/* Not useful on paper */
	.carousel-control-prev, .carousel-control-next, .carousel-indicators, #actions, #map {
		display: none !important;
	}

	/* Keep the screen layout : Bootstrap stacks the columns at paper width */
	.col-md-5 { width: 41.66%; }
	.col-md-6 { width: 50%; }
	.col-md-7 { width: 58.33%; }
	#carousel-example-generic { width: 60%; }
	#detail-side { width: 40%; }

	.mainlogo {
		width: 30%;
	}

	/* Always print the first photo (the main one), not the one the carousel is showing */
	.carousel-item { display: none !important; }
	.carousel-item:first-child { display: block !important; transform: none !important; }

	/* No forced page breaks : only avoid cutting a row or a title from its table */
	tr { page-break-inside: avoid; }
	h3 { page-break-after: avoid; }
}
