#SelectDistrict #Selections, #SelectSchool{
	display:none;
}

#RentalSearch{
		display: block;
		width: 100%;
		padding: 6px 12px;
		font-size: 16px;
		line-height: 1.42857143;
		color: #555555;
		background-color: #fff;
		background-image: none;
		border: 1px solid #ccc;
		border-radius: 4px;
}
 
#RentalAutocompleted {
    display: none;
    position: absolute;
    z-index: 100; 
    padding: 6px 20px; 
    margin-left: 20px;
    margin-right: 20px;
    font-size: 16px;
    line-height: 1.42857143;
    color: #555555;
    background-color: aliceblue;
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 4px;
    display: inline-block;
    overflow: auto; 
    max-height: 600px;
	width: calc(100% - 40px);
}

@media (max-width: 768px) {
  #RentalAutocompleted {
    max-height: calc(100vh - 310px);
    font-size: 14px;
  }
}

#RentalAutocompleted li{ 
    padding: 6px 12px;
	overflow: hidden;  
    vertical-align: top;
	list-style-type: none;
}

.lstItmNormal:hover{
	font-weight: 700;
    color: blue;
}

.lstItmNormal{
    background-color: transparent;
}

.lstItmOver{
	font-weight: 700;
    color: blue;
}

.aeRntInstrumentDetailTable tbody{
	display:block;
}

.aeRntInstrumentDetailTable tr:first-child{
	display:none;
}

.aeRntInstrumentDetailTable tr {
	display: flex;
	box-shadow: 0 0 3px rgba(0,0,0,.3);
	position: relative;
	padding: 1em;
	padding-bottom: 100px;
	margin-bottom: 12px;
	flex-wrap: wrap;
	gap: 7px;
}

.aeRntInstrumentDetailTable tr td{
	display:block;
	width:100%;
	border-top:none;
	padding:0 !important;
	text-align:center;
}

@media (min-width: 768px) {
  .aeRntInstrumentDetailTable tbody {
	display:flex;	
  }
  .aeRntInstrumentDetailTable tr {
	display:block;
	    width: 33%;
	    max-width: 100%;
	    margin: 0 0 24px 2%;
	    float: left;
	    box-shadow:0 0 3px rgba(0,0,0,.3);
	    padding:2em;
	    position:relative;
	    padding-bottom:100px;
   }
}

.aeRntInstrumentDetailTable tr:nth-child(2) {
	margin-left:0;
}

.aeRntInstrumentDetailTable tr td:nth-child(1) {
	padding:0;
	position:absolute;
	bottom:23px;
	right:0;
	left:0;
	text-align:center;
}

.aeRntInstrumentDetailTable tr td:nth-child(2) {
	font-weight:Bold;
	font-size:22px;
}

.aeRntInstrumentDetailTable td {
	border:none !important;
}

.aeRntInstrumentDetailTable tr td:nth-child(3) {
	display: none;
}

.aeRntInstrumentDetailTable tr td:nth-child(4):after {
	white-space: pre;
	content: " Monthly Payment";
}

#InstrumentImages {
margin:0;
	margin-top: 30px;
	margin-bottom: 30px;
	display: flex;
	flex-wrap: wrap;
	gap:10px;
}




	#InstrumentImages img {
	    width: 100%;
	    max-height:150px;
    align-items: center;
		display: flex;
		align-items: center;
	}

	#InstrumentImages > div {
		border: 1px solid transparent;
		border-radius: 5px;
		transition: border 0.25s;
		cursor: pointer;
		user-select: none;
		flex: 0 0 calc(50% - 8px);
	}
	
	#InstrumentImages > .grid-item {
		/* 2 columns on mobile: 50% minus half the gap */
		flex: 0 0 calc(50% - 8px);
	}

@media (min-width: 768px) {
	#InstrumentImages > .grid-item {
		/* 5 columns on desktop: 20% minus a share of the gaps */
		flex: 0 0 calc(20% - 12.8px);
	}
	
	#InstrumentImages > div {
		flex: 0 0 calc(20% - 12.8px);
	}
}

#InstrumentImages > div.selected {
	border-color: #a00c1d;
}

#InstrumentImages > div.notselected {
	opacity: 0.5;
}

#InstrumentImages > div > * {
	font-weight: bold;
	text-align: center;
	margin: 0 auto 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content:center;
    padding:15px;
        box-shadow: 1px 1px 8px rgb(0 0 0 / 21%);
}


#InstrumentSel {
	display: none;
}

.img-wrapper{
display: flex;
    align-items: center;
    aspect-ratio: 4 / 4;
    max-width: 150px;

}
.grid-item .h5{
font-weight:bold;
min-height:48px;
}
