h2 {
	text-align: left;
}
h3 {
	margin-top: 0px;
}
#floorplans {
	margin-top:20px;
	text-align: center;
	> .row:first-child {
		display: flex;
		flex-direction: row;
		flex-wrap: wrap;
		justify-content: center;
		align-items: flex-start;
		align-content: flex-start;
	}
}
.floorplan td {
	padding: 5px;
}
h1 + p {
	line-height: 25px;
	line-height: max(12px, min(45px, 1.471rem));
}
.floorplan-description {
	padding-left: 20px;
	padding-right: 20px;
	img {
		display: block;
		margin: 0 auto;
		max-width: 100%;
	}
}
#floorplan-image {
	display: block;
	margin: 10px auto;
}
#floorplan-details {
	background-color: #ECEDE6;
	background-repeat: no-repeat;
	background-position: 0px 0px;
	background-size: contain;
	padding: 10px 10px 10px 50px;
	margin: 10px 0px;
	td {
		padding: 1px 5px;
		margin: 10px;
	}
	div:first-of-type * {
		display: inline-block;
		margin-right: 20px;
		white-space: nowrap;
	}
}
#callout, .callout {
	text-align: center;
	margin: 10px;
	button {
		font-weight: bold;
		text-transform: uppercase;
	}
}
#contact-information {
	margin-top: 10px;
}
.floorplan-title {
	display: block;
	font-size: 20px;
	font-size: max(12px, min(40px, 1.176rem));
	padding: 5px 0px;
	line-height: 26px;
	line-height: max(12px, min(46px, 1.529rem));
}
#floorplan-category-page {
	padding-left: 20px;
	padding-right: 20px;
}

/* search */
#floorplan-search-form {
	background-color: #ECEDE6;
	padding: 20px;
	margin: 10px 0px;
	ul {
		list-style: none;
		padding-left: 0px;
		margin-bottom: 0px;
		li {
			display: inline;
			margin-right: 10px;
		}
	}
	button {
		vertical-align: middle;
		margin: 0px;
		height: 30px;
		line-height: 15px;
	}
}
/* end search */

/* categories */
.floorplan-category-thumbnail {
	display: inline-block;
	vertical-align: top;
	max-width: 175px;
	width: 100%;
	height: 260px;
	text-align: center;
	text-decoration: none;
	word-wrap: break-word;
	overflow: hidden;
	div:nth-of-type(1) {
		padding: 0px;
		height: 160px;
		> img {
			height: 100%;
			max-width: 100%;
			width: 100%;
		}
	}
	figcaption {
		padding-top: 10px;
		color: black;
		text-decoration: none;
		font-size: 26px;
		font-size: max(12px, min(46px, 1.529rem));
		line-height: 26px;
		line-height: max(12px, min(46px, 1.529rem));
	}
}
/* end categories */

/* floorplans */
#featured-floorplan-thumbnail {
	width: 100%;
	padding: 20px;
	text-decoration: none;
	color: black;
	border: 1px solid gray;
	display: block;
	margin-bottom: 10px;
	> a {
		display: block;
		width: 100%;
		height: 400px;
		text-align: center;
		> img {
			height: 100%;
			max-width: 100%;
			max-height: 100%;
			display: inline-block;
		}
	}
}
.floorplan-thumbnail {
	padding: 20px;
	text-decoration: none;
	color: black;
	border: 1px solid gray;
	margin: 5px 5px;
	vertical-align: top;
	overflow: hidden;
	font-size: 14px;
	font-size: max(12px, min(34px, 1rem));
	line-height: 1.3em;
	width: 100%;
	height: 450px;
	max-width: 432px;
	display: inline-block;
	text-align: center;
	> a {
		display: block;
		width: 100%;
		height: 250px;
		> img {
			max-width: 100%;
			max-height: 100%;
			height: auto;
			display: inline-block;
		}
	}
	> div {
		width: 100%;
	}
}

@media (min-width: 1200px) {
	.floorplan-thumbnail {
		max-width: 30%;
		> a {
			height: 150px;
		}
	}
	.floorplan-category-excerpt img{
		width: 200px;
	}
}
@media (min-width: 991px) and (max-width: 1200px) {
	.floorplan-thumbnail {
		width: 48% !important;
		> a {
			height: 150px;
		}
	}
	.floorplan-category-excerpt img{
		max-height: 145px;
	}
}
@media (min-width: 730px) and (max-width: 990px) {
	.company-thumbnail {
		width: 48%;
		height: 500px;
	}
}

.floorplan-category-excerpt {
	display: flex;
}

@media only screen and (max-width: 730px) {
	.floorplan-category-excerpt img{
		display: flex;
		margin: 0 auto;
	}
	.floorplan-category-excerpt {
		display: block;
	}
}

.floorplan-category-excerpt-img-container {
	min-width: 200px;
	object-fit: fill;
}

/* end floorplans */

/* gallery */
#floorplan-gallery.carousel.slide {
	display: inline-block;
	width:100%;
	height:440px;
	text-align:center;
}
#floorplan-gallery .carousel-inner, #floorplan-gallery .item, #floorplan-gallery .item a, #floorplan-gallery .item img {
	max-height: 100%;
	max-width: 100%;
	height: 100%;
	object-fit: contain;
	margin: 0 auto;
}
.carousel-thumbnails img {
	width: 100px;
	height: 100px;
	display: inline-block;
	margin: 10px 5px;
	cursor: pointer;
	object-fit: cover;
}
/* end gallery */

.col5 {
	display: inline;
}