/* CSS Document */

#top_section {
	display:block;
	float:none;
	height:auto;
	margin:0 auto 18px auto;
}
#search_box {
	display:block;
	float:left;
	margin:0;
	padding:20px;
	width: calc(100% - 40px);
	background-color:#414a39;
}
#search_box span#instructs {
	display:inline-block;
	max-width:560px;
	width:80%;
	color:#fefefe;
	font-size:0.875em;
	line-height:1.11111111111111;
}
#search_box input[type=text] {
	display:block;
	font-size:1.25em;
	height:30px;
	text-align:center;
	padding:4px 0 6px 0;
}
#search_box input.address {
	float:left;
	width:100%;
	max-width:455px;
	margin:16px 0 0 0;
}
#search_box input[type="button"].big_button {
	float:right;
	margin:16px 0 0 0;
}
#search_box input.coordinate {
	width:99%;
}
#top_section label {
	font-size: 1em;
	display: block;
	width: 110px;
	float: left;
	margin: 19px 0 0 0;
	line-height: 1;
}
#top_section select {
	font-size: 0.75em;
	background-color: #d49f1f;
	border-radius: 0;
	border-width: 1px;
	border-color: #FFF;
	border-style: outset;
	text-transform: capitalize;
	margin: 2px 0 0 0;
	padding: 0 4px;
	background-image: url(../../images/down-arrow-black.png);
	background-repeat: no-repeat;
	background-position: right center;
	background-size: 16px 6px;
}
#top_section select[name="region"] {
	background-image:none;
}
#search_results > select {
	max-width: 100%;
	font-size: 1.25em;
}
#results_box > select {
	max-width: 220px;
	font-size: 1em;
}

#search_box #social_buttons {
	display:block;
	float:left;
	height:auto;
	min-height:22px;
	width:auto;
	margin:20px 0 0 0;
/*	background-color:#FFC;*/
}
#search_box #social_buttons div {
	display:block;
	float:left;
	margin-right:10px;
}
#search_box div.wrap {
	display:block;
	float:left;
	width:50%;
	margin:13px 0 0 0;
	max-width: 300px;
}
#search_box div.wrap h1 {
	font-size:1em;
	font-weight:bold;
	color:#FFFFFF;
	text-align:center;
	text-transform:uppercase;
}
#search_box #search_results {
	display:block;
	float:left;
	width:96%;
	max-width:100%;
	margin:20px 0 0 0;
	padding:4px;
	color:#414a39;
	background-color:#FFC;
	font-size:0.75em;
}
#search_box #search_results h2 {
	color:#414a39;
	text-decoration:underline;
}
#results_box {
	display:none;
	float:left;
	width:17%;
	min-width:210px;
	height:210px;
	padding:20px;
	color: #fefefe;
	font-size:1em;
	background-color:#695138;
	margin:0;
}

#help_button_1 {
	display:block;
	float:right;
	width:32px;
	height:32px;
	padding:4px;
}



#email_share_button, #reddit_button {
	cursor:pointer;
}
#email_share_button > a > img {
	width:26px;
	height:auto;
	margin:-6px 4px -4px 4px;
}
#reddit_button > a > img {
	margin:-6px 4px -4px 4px;
}

.info_block input[type=button] {
	margin-right:4%;	
}

.info_block input[type=button][name=load_input_btn] {
	/*margin-left:20%;*/
}
input[type=button][name=clear_coords], input[type=button][name=clear_loc], input[type=button][name=clear_zip] {
	display:none;
}
@media screen and (min-width:255px) {
	#top_section label {
		font-size: 1.4em;
		width: 120px;
		margin: 8px 0 0 0;
	}
}
@media screen and (min-width:320px) {
}
@media screen and (min-width:360px) {
}
@media screen and (min-width:375px) {
	#top_section label {
		font-size: 1.6em;
		width: auto;
		margin: 23px 0 0 0;
	}
}
@media screen and (min-width:400px) {
}
@media screen and (min-width:480px) {
	#search_box div.wrap:nth-child(6) {
		margin-right:20px;
	}
	#search_box div.wrap:nth-child(7) {
		float:left;
	}
	#top_section {
		margin:15px auto 18px auto;
	}
	#search_box #social_buttons {
		margin-top:20px;
		height:22px;
	}
	#top_section label {
		float: right;
		margin: 23px 10px 0 0;
	}
}
@media screen and (min-width:540px) {
/*	#search_box #search_results {
		float:right;
		max-width:192px;
		max-width:120px;
		height:92px;
		overflow-y: auto;
		margin: -20px 0 0 0;
	}
	#top_section label {
		margin: 6px 0 0 0;
	}*/
}
@media screen and (min-width:610px) {
	#top_section label {
		margin: 10px 0 0 0;
	}
}
@media screen and (min-width:620px) {
	#search_box input[type="button"].big_button {
		margin: 15px 0 0 0;
	}
}
@media screen and (min-width:650px) {
	#top_section label {
		margin: 4px 0 0 0;
	}
	#search_box {
		float:left;
		width:590px; /* 630px */
		height:210px; /* 250px */
/*		padding:20px;*/
	}
	#search_box span#instructs {
		display:inline-block;
		max-width:560px;
		width:94.576271186441%;
		width:92%;
		font-size:1.125em;
		line-height:1.11111111111111;
	}
	#search_box input[type="text"] {
		display:block;
		font-size:1.25em;
		height:30px;
	}
	#search_box input.address {
		float:left;
		width:455px;
		margin:16px 0 0 0;
	}
	#search_box input.coordinate {
		width:151px; /* 175px with  */
	}
/*	input[type="button"].big_button {
		font-size:1.5em;
	}
	input[type="button"].big_button:hover {
		color:#FFF;
		background-color:#8C6412;
	}*/
	#search_box #social_buttons {
		display:block;
		float:left;
		height:22px;
		min-height:22px;
		margin:20px 0 0 0;
	}
	#search_box #social_buttons div {
		display:block;
		float:left;
		margin-right:10px;
	}
	#search_box div.wrap {
		margin:-20px 15px 0 0;
		display:block;
		float:left;
		width:175px;
	}
	#search_box div.wrap:nth-child(2) {
		margin-right:0;
	}
	#search_box div.wrap h1 {
		font-size:1em;
	}
	#search_box #search_results {
		display:block;
		float:right;
		width:100%;
		max-width:192px;
		height:62px;
		margin:20px 0 0 0;
		padding:4px;
		color:#414a39;
		background-color:#FFC;
		font-size:0.75em;
		overflow-x: hidden;
		overflow-y: scroll;
	}
	#search_box #search_results h2 {
		color:#414a39;
	}
	#search_box input[type=text] {
		padding:4px 10px 6px 10px;
	}
}
@media screen and (min-width:700px) {
}
@media screen and (min-width:736px) {
}
@media screen and (min-width:768px) {
}
@media screen and (min-width:898px) {
}
@media screen and (min-width:960px) {
	#search_box {
		width:62%;
	}
}
@media screen and (min-width:1024px) {
	#search_box {
		margin:0 30px 0 0;
	}
/*	#search_box #search_results {
		max-width:220px;
	}*/
}
@media screen and (min-width:1102px) {
	#top_section label {
		width: 100px;
		font-size: 1em;
		margin:18px 0 0 0;
	}
	#search_box div.wrap {
		margin: 10px 15px 0 0;
		width: 207px;
	}
	#search_box input[type="button"].location, div#show_location {
		margin: 10px 15px 0 0;
	}
	#search_box input.coordinate {
		width: 90%;
	}
	#search_box #search_results {
		height: 88px;
	}
}
@media screen and (min-width:1200px) {
	#search_box #search_results {
		max-width:280px;
	}
}
@media screen and (min-width:1260px) {
	#search_box input[type="button"].big_button {
		float:left;
		margin-left:18px;
	}
	#search_box {
		width:590px;
	}
	#search_box #search_results {
		display:none;
	}
	#results_box {
		display:table;
	}
	#search_box div.wrap {
		margin: -36px 15px 0 0;
	}
}
