/* Just for the Liending Criteria search tool */
div#main fieldset input {
	width: 140px;
	margin-top: 1em;
}

/* Not needed */
p#choice {
	text-align: center;
	font-size: 120%;
	color: #0e488d;
	text-transform: uppercase;
	margin: 0;
	padding: 0.2em 0 0 0;
}
/* The two fieldsets are adjacent */
#main div.twocol {
	/* background: url(/img/bg-twocol.png) left repeat-y; */

}
	#main div.twocol div {
		background: url(/img/bg-twocol-div.png) top left no-repeat;
	}
		#main div.twocol div div {
			float: left;
			width: 259px;
						
		}
		#main div.twocol div div.last {
			width: 251px;
		}
			#main .twocol p {
				margin: 0 0 20px 15px !important;
				padding: 0 !important;
				color: white;
			}
			#main .twocol .last p {
				margin-right: 20px;
			}
				/* This is also bonkers */
				input#allresults {
					display: block;
					margin-left: auto;
				}

	#main .twocol fieldset {
		margin: 0;
		background: none;
		border: none;
	}
		#threecol select#cmbLendingType, #threecol input#keyword, #threecol input#allresults {
			width: 122px;
		}

	/* This is needed! */		
	h2#resultshead {
		color: white;
		background: #0c478c url(/img/bg-resultshead.png) top repeat-x;
		font-size: 140%;
		margin: 1em 21px 0 0;
		padding: 8px 8px;
		border-bottom: solid 2px white;
	}
	#content dl {
		margin: 0 21px 1em 0;
	}
		#content dt, #content dd {
			border-bottom: solid 2px white;
			width: auto;
			float: none;
		}
		dl#searchterms dt {
			color: #0c4281;
			/* This is the non-JavaScript background - the rest are in the file criteria.js */
			background: #d9dee0 url(/img/bg-searchterms-dt-js.png) top left no-repeat;
			font-size: 85%;
			font-weight: normal;
			position: relative;
			padding: 6px 50px 6px 94px;
		}
		dl#searchterms dt.odd {
			background: #d9dee0 url(/img/bg-searchterms-dt-odd.png) top left no-repeat;
		}
			#content dt strong {
				font-size: 115%;
				font-weight: normal;
			}
			/* The user's search term is indicated by this element */
			#searchterms ins {
				color: #0c4281;
				background: none;
				border: none;
				padding: 0;
				font-weight: bold;
			}
			#searchterms dd ins {
				color: #656565;
			}
			/* I've replicated this in inside.css */
			/* This is a little bonkers */
			#searchterms dt em {
				position: absolute;
				top: 0.1em;
				left: 0;
				background: #27568c;
				color: white;
				width: 44px;
				font-size: 250%;
				text-align: right;
			}
			/* Hence */
			* html #searchterms dt em {
				left: -94px;
			}
		#content dd {
			background: #f2f3f8;
			padding: 4px 8px;
		}

        h3 {
            margin-top:5px;
        }
		
		
		/*#foldlist h3 {
			background: white url(/img/bg-criteria-heading.jpg) top left no-repeat;
		}

		#foldlist h3.odd {
			background:white url(/img/bg-criteria-heading.jpg) top left no-repeat;
		}
		
		#foldlist h3.oddNoLink{
			background: white url(/img/bg-criteria-heading.jpg) top left no-repeat;
		}*/	
				
		#foldlist span { font-weight:bold; margin-left:-5px;}	
		
		
		/* This is for the A-Z filter panel on the criteria page */
		#filterPanel {
			margin-top: 15px;
			margin-bottom: 10px;
			width: 510px;
		}
		
		#filterPanel ul {
			background: #0c478c url(/img/bg-resultshead.png) top repeat-x;
			margin-top: -5px;
			margin: 0 !important;
			padding: 8px 6px 8px 6px !important;
			list-style-type: none;
			font-size: 1.1em !important;
			font-weight: bold;
			height: 20px;
		}
		
		#filterPanel li {
			float: left;
			background: none !important;
			padding: 0 !important;
			margin-bottom: 2px;
		}
		
		#filterPanel li a.all {
			width: 18px !important;
		}
		
		#filterPanel li a.allselected {
			width: 18px !important;
			text-decoration: underline !important;
		}
		
		#filterPanel li a.selected {
			text-decoration: underline !important;
		}
		
		#filterPanel li a{
			color: #ffffff;
			display: inline-block;
			background: none !important;
			text-decoration: none !important;
			text-align: center;
			padding-right: 4px;
			padding-left: 3px;
		}
		
		#filterPanel li span {
			color: #8aa3c1;
			display: inline-block;
			background: none !important;
			text-align: center;
			padding-right: 4px;
			padding-left: 3px;			
		}
		
