﻿
#body #hpsearchform {
	display: table;
	background-image: url(/gfx/SDSearchBG.png);
	padding: 0px;
	background-size: 100%;
}

#body #hpsearchformcontent {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: .65fr 1fr;
	width: 60%;
	max-width: 1200px;
	margin: -60px auto 50px auto;
	background-color: #182C5C;
	min-width:955px;
}

#body #hpsearchform .titlegreen {
	color: #fff;
}

#body #hpsearchform .leftcolumn {
	margin: 40px 0px 40px 40px;
	padding-right: 0px;
	border-right: solid #fff 1px;
}

#body #hpsearchform .leftcolumn .b11kh1title {
	font-size: 42px;
	line-height: 45px;
}


#body div.searchbox {
	margin: 40px 0px;
	padding: 22px 6%;
	background-color: #182C5C;
}

#body div.searchbox #filters {
	width: 100%;
	max-width: 1060px;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	column-gap: 20px;
	row-gap: 25px;
	margin: auto;
}

#body div.searchbox #filters li {
	min-width: 100px
}

#body div.searchbox #filters li:first-of-type {
	grid-column: auto / span 3;
}


#ysearchbtn {
	padding: 15px;
	background-color: #081b3e;
	font-size: 13px;
	line-height: 13px;
	text-align: center;
}

#ysearchbtn:hover {
	background-color: #000;
}

@media screen and (max-width:1138px) {
	#filters li:last-of-type {
		grid-column-start: 3;
	}

	#ysearchbtn {
		padding: 14px 0px;
		text-align: center;
	}
}

@media screen and (max-width:955px)
{
	#body #hpsearchformcontent {
		min-width: 100%;
		display:table;
		background-color:#182C5C;
		width:100%;
		height:auto;
	}


	#body #hpsearchform .leftcolumn, #body #hpsearchform .searchbox
	{
		width:100%;
		float:left;
		border:0px;
		display:block;
		padding:15px 40px;
		margin:0px;
	}
}


@media screen and (max-width: 790px) {
	#body #hpsearchform {
		grid-template-columns: 1fr;
	}

	#body div.searchbox #filters {
		grid-template-columns: repeat(4, 1fr);
		column-gap: 20px;
		row-gap: 25px;
		margin: auto;
	}

	#body div.searchbox #filters li:first-of-type {
		grid-column: auto / span 4;
	}

	#filters li:nth-of-type(3) {
		grid-column-start: 3;
		grid-column-end: 5;
	}

	#filters li:last-of-type {
		grid-column-start: 1;
	}

	#body #hpsearchform .leftcolumn .b11kh1title {
		font-size: 30px;
		line-height: 35px;
	}
}
