input, textarea { 
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  outline: none; 
}

img { border: 0; max-width: 100%; }

#topbar {
  background: #4f4a41;
  padding: 10px 0 10px 0;
  text-align: center;
}

#topbar a {
  color: #fff;
  font-size:1.3em;
  line-height: 1.25em;
  text-decoration: none;
  opacity: 0.5;
  font-weight: bold;
}

#topbar a:hover {
  opacity: 1;
}

.center { display: block; text-align: center; }


/** page structure **/
#w {
  display: block;
  width: 750px;
  margin: 0 auto;
  padding-top: 30px;
}

#searchfield { 
	display: block;
	width: 80%;
	margin: 0 auto;
}

#searchfield form { 
	text-align: center;
	margin: 0 auto;
}

#searchfield form .biginput {
	border: 1px solid rgba(77,78,83,0.2);
	border-radius: 4px;
	width: 75%;
	height: 40px;
	font-size: 1.4em;
	color: #616265;
	font-weight: 300;
	position: relative;
	top: 0;
	vertical-align: top;
	-webkit-transition: all 0.2s linear;
	-moz-transition: all 0.2s linear;
	transition: all 0.2s linear;
}
#searchfield form .biginput:focus {
	color: #858585;
}

.currency {
	width: 40px;
	height: 37px;
	color: #fff;
	padding: 0;
	margin-left: 2%;
	box-shadow: 0 3px 0 #a7b81f;
	border-radius: 4px;
	position: relative;
	top: 0;
	vertical-align: top;
	background: #19b9fe; /* Old browsers */
	background: -moz-linear-gradient(top,  #19b9fe 0%, #00a0e5 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#19b9fe), color-stop(100%,#00a0e5)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #19b9fe 0%,#00a0e5 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #19b9fe 0%,#00a0e5 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #19b9fe 0%,#00a0e5 100%); /* IE10+ */
	background: linear-gradient(to bottom,  #19b9fe 0%,#00a0e5 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#19b9fe', endColorstr='#00a0e5',GradientType=0 ); /* IE6-9 */
	box-shadow: 0 4px 0 rgba(0,0,0,0.28), 0 1px 0 rgba(255,255,255,0.58) inset;
	transition: all 0.15s;
	-moz-transition: all 0.15s;
	-webkit-transition: all 0.15s;
}

.currency:before {
	background: url(../img/search_icn.png) no-repeat;
	background-size: cover;
	content: "";
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
}

.currency:hover {
	box-shadow: 0 3px 0 rgba(0,0,0,0.28), 0 1px 0 rgba(255,255,255,0.58) inset;
	top: 1px;
}

.currency:active {
	box-shadow: 0 1px 0 rgba(0,0,0,0.28), 0 1px 0 rgba(255,255,255,0.58) inset;
	top: 3px;
}

.flatbtn {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  display: inline-block;
  outline: 0;
  border: 0;
  color: #f3faef;
  text-decoration: none;
  background-color: #6bb642;
  border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
  font-size: 1.2em;
  font-weight: bold;
  padding: 12px 22px 12px 22px;
  line-height: normal;
  text-align: center;
  vertical-align: middle;
  cursor: pointer;
  text-transform: uppercase;
  text-shadow: 0 1px 0 rgba(0,0,0,0.3);
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
  -webkit-box-shadow: 0 1px 0 rgba(15, 15, 15, 0.3);
  -moz-box-shadow: 0 1px 0 rgba(15, 15, 15, 0.3);
  box-shadow: 0 1px 0 rgba(15, 15, 15, 0.3);
}
.flatbtn:hover {
  color: #fff;
  background-color: #73c437;
}
.flatbtn:active {
  -webkit-box-shadow: inset 0 1px 5px rgba(0, 0, 0, 0.1);
  -moz-box-shadow:inset 0 1px 5px rgba(0, 0, 0, 0.1);
  box-shadow:inset 0 1px 5px rgba(0, 0, 0, 0.1);
}

.autocomplete-suggestions { border: 1px solid rgba(77,78,83,0.2); border-radius: 4px; background: #fff; cursor: default; overflow: auto; }
.autocomplete-suggestion { padding: 10px 5px; font-size: 1.2em; white-space: nowrap; overflow: hidden; color:#616265; font-weight: 100; font-size: 1.3em; }
.autocomplete-selected { background: #f0f0f0; }
.autocomplete-suggestions strong { font-weight: 500; color: #00b2ff; font-size: 1em; }

@media screen and (min-width: 401px) {
	#searchfield form .biginput {
		width: 80%;
		height: 46px;
		font-size: 2em;
	}
	.currency {
		width: 46px;
		height: 43px;
	}
}
@media screen and (min-width: 594px) {
	#searchfield form .biginput {
		width: 80%;
		height: 50px;
		font-size: 2em;
	}
	.currency {
		width: 50px;
		height: 47px;
	}
}
@media screen and (min-width: 673px) {
	#searchfield form .biginput {
		width: 80%;
		height: 56px;
		font-size: 2em;
	}
	.currency {
		width: 56px;
		height: 53px;
	}
	#searchfield form .biginput {
		font-size: 2em;
	}
}
@media screen and (min-width: 783px) {
	#searchfield form .biginput {
		width: 80%;
		height: 66px;
		font-size: 2em;
	}
	.currency {
		width: 66px;
		height: 63px;
	}
}
