.clsCentrePanelAutoMargin {
	max-width: 962px;
	border-style: none;
	background-color: white;
	box-shadow: 0px 0px 50px;
	margin-top: 0.6em;
	padding-left: 0px;
}

#idDivInner {
	margin-left: 1.9em;
	margin-right: 1.9em;
	padding-right: 0px;
}

#idPanel1WithLogo {
	margin-right: 1.9em;
	margin-bottom: 1em;
	margin-left: 1.9em;
}

.clsPanel2 {
	margin-left: 1.9em;
	padding-bottom: 2em;
	margin-right: 1.9em;
}

.clsPanel2 > div {
	font-size: 135%;
	font-weight: bold;
	text-transform: uppercase;
}

#idBodyNotInIframe,
#idIframeExampleBody {
	background: #f0553f url(../Images/OuterBackground-Flamingo.jpg) repeat-x center top;
}

input[type="submit"] {
	background-color: #f65737;
	color: white;
	border-style: none;
	border-radius: 3px;
	padding: 0.1em;
	padding-left: 0.4em;
	padding-right: 0.4em;
}

#frmModelSelection {
	background-color: #f5f5f5;
	border-right: 1px solid #B3CCCA;
	border-bottom: 1px solid #B3CCCA;
	padding: 1em;
	border-radius: 5px;
}

legend {
	color: black; /* For IE 8, otherwise it comes out blue. */
}

.clsFooter {
	margin-top: 4em;
}

#frmModelSelection + .clsFooter {
	margin-top: 14em; /* For when no model is displayed yet. */
}

.clsResultsContainer {
	margin-top: 2em;
}

.clsEquipmentMakeModelContainer {
	background-image: none;
	padding-left: 0px;
	min-height: 0px;
}

.clsCompartment1 {
	background-color: #E7F8F5; /*#216f68;*/
}

.clsCompartment0 {
	background-color: #f5f5f5;
}

.clsCompartment0,
.clsCompartment1,
#idResults {
	margin-top: 1em;
}

.clsCompartment0,
.clsCompartment1 {
	border-right: 1px solid #B3CCCA;
	border-bottom: 1px solid #B3CCCA;
	border-radius: 5px;
}

#idResults + .clsCompartment0,
#idResults + .clsCompartment1 {
	margin-top: 0em;
}

.clsLubeProductNameDiv a,
.clsLubeProductName {
	color: #f65737;
}

.clsLubeProductName {
	font-weight: bold;
}

.clsLubeImage ~ .clsLubeProductNameDiv,
.clsLubeImage ~ .clsVerboseProductDescription,
.clsProductHasImage {
	padding-left: 170px; /* To make space for the left-floated product image... */
	margin-left: 1em; /* + 1em of space. */
}

.clsLubeQuantity a,
.clsNoteReferences a {
	color: black;
}

.clsFooter  a {
	color: #808080;
}

/* --------------------------------------------------------------------------------------------- */

@media (max-width: 664px) {
	.clsLubeImage ~ .clsLubeProductNameDiv,
	.clsLubeImage ~ .clsVerboseProductDescription,
	.clsProductHasImage,
	.clsLubeImage ~ .clsProductHyperlinkExtra {
		padding-left: 0px;
	}

	.clsProductOr.clsProductHasImage {
		width: 182px; /* 170px + width of "or" */
		max-width: 30%;
		text-align: right;
		margin-left: 20px;
	}

	.clsLubeImage {
		width: 170px;
		max-width: 30%;
		margin-right: 20px;
	}
}

@media (min-width: 665px) {
	.clsLubeImage ~ .clsLubeProductNameDiv,
	.clsLubeImage ~ .clsVerboseProductDescription,
	.clsProductHasImage,
	.clsLubeImage ~ .clsProductHyperlinkExtra {
		padding-left: 170px; /* To make space for the left-floated product image... */
	}
}

.clsLubeImage {
	margin-bottom: 1em;
}

.clsLubeImage img {
	width: 100%;
	max-width: 170px;
}

/* --------------------------------------------------------------------------------------------- */

.clsNotesInlineWithCompartmentContainer {
	border-color: #D7D7D7;
}

#idPanel1Child a {
	display: inline-block;
}

#idPanel1Child img {
	max-width: 100%;
}

#lblFragmentModelDesc {
	margin-top: 0.5em;
}

.clsFieldsetDivQuickSearch > fieldset > .clsLegendDiv + span > * {
	display: inline-block;
}

.clsFieldsetDivQuickSearch > fieldset > .clsLegendDiv + span > div {
	width: -webkit-calc(100% - 16em);
	width:    -moz-calc(100% - 16em);
	width:         calc(100% - 16em);
}

#txtFragmentModelDesc {
	width: -webkit-calc(100% - 80px);
	width:    -moz-calc(100% - 80px);
	width:         calc(100% - 80px);
}

@media (max-width: 900px) {
	#lblFragmentModelDesc {
		display: block;
		margin-bottom: 0.5em;
	}

	.clsFieldsetDivQuickSearch > fieldset > .clsLegendDiv + span > div {
		display: block;
		width: 100%;
	}
}

@media all and (-ms-high-contrast:none) { /* IE11 has no max-width percentage */
	#idPanel1WithLogo > * {
		display: inline-block;
	}
	
	#idPanel1Child img {
		max-width: 91.7vw;
	}
}

@media (max-width: 500px) {
	#idPanel1WithLogo {
		margin-right: 6%;
		margin-left: 6%;
	}

	#idDivInner {
		margin-left: 6%;
		margin-right: 6%;
	}

	.clsPanel2 {
		margin-left: 6%;
		margin-right: 6%;
	}

}
