html,
body {
	min-height: 100%;
}

h1 {
	margin-top: 20px;
}
h2 {
	text-align: center;
}

#demo-input {
	position: relative;
	background: #FFF;
}

#input-selector,
#input-selector-international,
#sample-selector,
#sample-selector-international,
#sample-selector-zip {
	position: relative;
	display: inline-block;
	line-height: 1.4em;
	border: 1px solid grey;
	border-radius: 3px;
	background-color: #EEE;
}

#input-selector-text,
#input-selector-text-international,
#sample-selector-text,
#sample-selector-text-international,
#sample-selector-text-zip,
.input-type.selected,
.input-type-international.selected,
.sample-address.selected,
.sample-address-international.selected,
.sample-address-zip.selected{
	cursor: pointer;
}

#input-selector-text,
#input-selector-text-international,
#sample-selector-text,
#sample-selector-text-international,
#sample-selector-text-zip{
	margin: 5px
}

#input-selection,
#input-selection-international,
#sample-selection,
#sample-selection-international,
#sample-selection-zip {
	display: none;
	position: absolute;
	left: 0px;
	width: 320px;
	text-align: left;
	box-shadow: 0 0 20px rgba(0, 0, 0, .2);
	background: #FFF;
	z-index: 9;
}

#sample-selection,
#sample-selection-international,
#sample-selection-zip {
	top: 40px;
	left: 0px;
	font-size: 18px;
	width: auto;
}

.input-type,
.input-type-international,
.sample-address,
.sample-address-international,
.sample-address-zip {
	display: block;
	white-space: nowrap;
	padding: 0 10px;
	cursor: pointer;
}

.input-type:hover,
.input-type-international:hover,
.sample-address:hover,
.sample-address-international:hover,
.sample-address-zip:hover {
	background: #E3F2FF;
}

#input-components,
#input-components-intl,
#input-zipcode,
#input-extract {
	display: none;
}

.input-select-down {
	color: #777;
	padding-left: 10px;
}

form {
	width: 100%;
	max-width: 800px;
	margin: 0 auto;
}

.no-results {
	border: 1px solid #CC0000;
	padding: 15px;
	background: #FFF0F0;
	color: #CC0000;
	max-width: 550px;
	margin: 50px auto;
	border-radius: 10px;
	display: none;
}

.no-results .fa{
	font-size: 40px;
	vertical-align: middle;
	margin-right: 10px;
}

.no-results li {
	font-size: 14px;
	font-family: 'Open Sans', sans-serif;
}

.no-results p {
	font-size: 16px;
	margin: 0;
}

#input-address input[type=text],
#input-zip input[type=text] {
	display: block;
	float: left;
	margin-right: 1%;
}

#extract-text {
	width: 100%;
	height: 100px;
	resize: vertical;
}

#spinner {
	visibility: hidden;
}

#demo-results {
	background: #FFF;
	display: none;
	font-family: 'Open Sans', sans-serif;
}

#demo-results .grid-container {
	max-width: none;
	padding: 0;
	position: relative;
}

#demo-results [class^="grid-"] {
	padding-left: 0;
	padding-right: 0;
}

#demo-results h3 {
	margin-top: 15px;
}

#demo-results .padded {
	padding: 5%;
}

.checkmark {
	color: #2DB700;
}

.results-bar {
	background: #FFFFE3;
	padding: 10px;
	position: relative;
	text-align: center;
	min-height: 80px;
	margin-bottom: 35px;
	border: 2px solid #DDD;
	border-radius: 10px;
}

.match-count {
	font-size: 20px;
	font-weight: 300;
	color: #000;
}
.match-count a {
	font-size: 20px;
	font-weight: 300;
	//color: #FFC80A;
}
.match-count a:hover {
    color: green;
}
.max-results {
	color: #CC0000;
	font-size: 14px;
	font-style: italic;
	display: none;
}


.original-address-input {
	text-align: center;
	font-family: monospace;
	padding: 10px 10%;
	border-bottom: 1px solid #E0E0E0;
}

.result-tour {
	border-radius: 10px;
	margin-bottom: 50px;
	border: 2px solid #E0E0E0;
	background-color: #FAFAFA;
}

.standardized-address  {
	font-size: 24px;
	color: #000;
	font-weight: 300;
	line-height: 1.5em;
	padding: 5% 10% 9%;
}

.standardized-address  span {
	border-bottom: 1px dashed #BBB;
	padding-bottom: 0px;
	position: relative;
	line-height: 1.75em;
}

.standardized-address  span:after {
	position: absolute;
	bottom: -15px;
	left: 3px;
	font-size: 11px;
	text-transform: lowercase;
	color: #aaa;
	text-align: center;
	font-weight: normal;
	line-height: 1em;
}

.address-firm:after {
	content: "Firm Name";
}


.address-street:after {
	content: "Riga indirizzo";
}


.address-street2:after {
	content: "Delivery Line 2";
}

.address-urb:after {
	content: "Urbanization";
}

.address-city:after {
	content: "Località";
}


.address-state:after {
	content: "Prov";
}

.address-zip5:after {
	content: "CAP";
}

.address-frazione:after {
	content: "frazione";
}

.address-country:after {
	content: "Country";
}

.show-details {
	font-size: 16px;
	color: #4491DD;
	text-align: center;
	cursor: pointer;
	padding: 10px;
	border-bottom-left-radius: 5px;
	border-bottom-right-radius: 5px;
}
.show-details:hover {
	background-color: #DDD;
}
.rotate {
	transition: all .5s ease;
}
.rotate.up {
	transform:rotateX(180deg);
}

.details {
	padding: 20px 0;
	border-radius: 10px;
}

/*
How to make an embedded google map responsive:
http://www.labnol.org/internet/embed-responsive-google-maps/28333/
 */
.map-container,
.zip-map-container {
	position: relative;
	padding-bottom: 150%;
	height: 0;
	overflow: hidden;
}

.zip-map-container {
	padding-bottom: 500px;
}

.map,
.zip-map {
	position: absolute;
	top: 10%;
	left: 10%;
	width: 80% !important;
	height: 80% !important;
	border-radius: 5px;
	box-shadow: 3px 3px 20px 0px rgba(0,0,0,0.5);
}

.zip-map {
	height: 400px !important;
}

.promo {
	text-align: center;
}

.json {
	font-size: 16px;
	display: none;
}

.not-first .data-points {
	border-top: 3px solid #AAA;
}

.data-points-header {
	text-transform: uppercase;
	font-weight: 100;
	color: #AAA;
	font-size: 30px;
	letter-spacing: 5px;
	border-bottom: 1px solid #CCC;
	font-family: Lato, sans-serif;
	padding-left: 5%;
}

.data-points-header:first-child {
	margin-top: 7px;
}

.data-points li {
	font-size: 15px;
	list-style-type: none;
	margin-left: 0;
}

.data-points table {
	margin: 25px 0;
	width: 100%;
}

.data-points td {
	padding: 5px 10px;
	color: #000;
	vertical-align: middle;
}

.data-points td:first-child {
	font-weight: 300;
	color: #777;
	text-align: right;
	width: 35%;
}

.data-points tr:last-child td {
	border-bottom: 0;
}

.data-points td a {
	color: #777;
	text-decoration: none;
	border-bottom: 1px dotted #777;
}


a.data-points-toggle {
	text-transform: none;
	padding: 10px 20px;
	color: #4491DD;
	letter-spacing: 0;
	font-size: 12px;
	font-family: 'Open Sans', sans-serif;
}

.compare-to-google-maps {
	visibility: hidden;
	font-size: 16px;
}

/********************************************************************************************/
/********************************************************************************************/

.city-results {
	padding: 60px;
}

.city-result {
	padding:5px 0;
}

.city-name {
	font-weight: 300;
	color: #000;
	display: inline;
	font-size: 30px;
}

.state-name {
	text-transform: uppercase;
	padding-left: 5px;
	display: inline;
	font-size: 14px;
	color: #888;
}

.has-primary-city {
	display: none;
}

.other-cities-title {
	display: block;
	font-weight: bold;
	border-bottom: 2px solid #777;
	margin-top: 50px;
	margin-bottom: 20px;
	max-width: 500px;
}

.primary-city-result .city-name {
	font-size: 50px;
	padding-right: 25px;
}

.primary-city-result .state-name {
	font-size: 22px;
	padding-left: 0;
}

.zipcode-results {
	padding: 50px 0;
}

.zipcode-result {
	width: 48%;
	box-sizing: border-box;
	float: left;
	border: 1px solid #DDD;
	margin: 1%;
}

.zipcode-zip {
	font-size: 50px;
	font-weight: 300;
	color: #000;
	text-align: center;
	padding: 30px 0;
}

.zipcode-details {
	border-top: 1px solid #DDD;
	background: #F3F3F3;
}

.zipcode-meta {
	padding: 15px;
	font-size: 16px;
	display: inline-block;
}

.zipcode-alert {
	color: #CC0000;
	font-size: 16px;
}

.zipcode-meta-label {
	font-size: 10px;
	text-transform: uppercase;
	color: #888;
	font-weight: bold;
	margin-bottom: 5px;
	border-bottom: 1px solid #DDD;
}

/********************************************************************************************/
/********************************************************************************************/

.extracted-result {
	margin: 10px;
	border: 1px solid #BBB;
}

.address-context {
	background: #EAEAEA;
	padding: 50px;
	font-size: 35px;
	font-weight: 300;
}

.around-address {
	color: #A1A1A1;
}

.address-text {
	color: #000;
}

.extracted-address {
	padding: 35px;
	border-bottom: 1px dashed #CCC;
}

.extracted-address:last-child {
	border-bottom: none;
}

.fa-check-circle {
	color: #3CC33C;
}

/********************************************************************************************/
/********************************************************************************************/
/********************************************************************************************/
/********************************************************************************************/

@media (max-width: 1700px) {
	.etichetta-indirizzo {
		font-size: 35px;
	}
}


@media (max-width: 1500px) {
	.result-tour {
		line-height: 1.5em;
		font-size: 16px;
	}

	.data-points td:first-child {
		width: 45%;
	}

	.data-points td:last-child {
		width: 55%;
	}

	.city-results {
		padding: 50px 20px;
	}
}

@media (max-width: 1200px) {
	.etichetta-indirizzo {
		font-size: 28px;
	}

	.json {
		font-size: 14px;
	}

	.primary-city-result .city-name {
		font-size: 50px;
	}
}

@media (max-width: 1100px) {
	.data-points td {
		font-size: 14px;
		padding: 5px;
	}

	.address-context {
		font-size: 22px;
		padding: 25px;
	}
}

@media (max-width: 900px) {
	.etichetta-indirizzo {
		font-size: 22px;
	}

	.etichetta-indirizzo span {
		line-height: 2.2em;
	}

	.etichetta-indirizzo span:after {
		font-size: 9px;
		bottom: -10px;
	}
}

@media (max-width: 767px) {
	/* mobile */

	.results-bar {
		font-size: 24px;
	}

	.scroll {
		display: none;
	}

	.result-tour {
		margin-left: 0;
	}

	.etichetta-indirizzo {
		padding: 8% 5%;
		font-weight: normal;
	}

	.etichetta-indirizzo span {
		border: 0;
		line-height: 1.5em;
	}

	.etichetta-indirizzo span:after {
		display: none;
	}

	.data-points {
		border-top: 0 !important;
		border-bottom: 3px solid #AAA;
	}

	.data-points-header:first-child {
		padding-top: 20px;
		margin-top: 0;
	}

	.data-points table:last-child {
		margin-bottom: 20px;
	}

	.data-points td {
		font-size: 18px;
	}

	.zipcode-results {
		padding-top: 0;
	}

	.city-results {
		padding: 20px 50px;
	}
}

@media (max-width: 500px) {

	.data-points td {
		font-size: 14px;
	}
}

table.t-lookup {
	margin: auto;
}

input {
	margin-top: 10px;
}

input.components-input {
	width: 300px;
}

input.freeform-input {
	width: 400px;
}

input.zipcode-input {
	width: 200px;
}

.eg-example {
	text-align: left;
	font-size: 75%;
	color: darkgray;
}

.auto-width {
	padding-left: 100px;
	padding-right: 100px;
}

[type=radio] {
	margin-left: 30px;
	transform: translateY(-50%);
}

div.awesomplete li {
	list-style-type: none;
	text-align: left;
	margin-left: 0;
}


.switch-field input {
	display: none;
}

.switch-field {
	margin-top: 5px;
	font-size: 0;
}

.switch-field label {
	display: inline-block;
	width: 175px;
	background-color: #e4e4e4;
	color: rgba(0, 0, 0, 0.86);
	font-size: 28px;
	text-align: center;
	padding: 2px 14px;
	-webkit-transition: all 0.1s ease-in-out;
	-moz-transition: all 0.1s ease-in-out;
	-o-transition: all 0.1s ease-in-out;
	transition: all 0.1s ease-in-out;
	margin-top: 10px;
}

.switch-field label:hover {
	cursor: pointer;
}

.switch-field input:checked + label {
	background-color: #FFC80A;
}

.switch-field label:first-of-type {
	border-radius: 4px 0 0 4px;
}

.switch-field label:last-of-type {
	border-radius: 0 4px 4px 0;
}
.json {
	font-family:Consolas,Menlo,Monaco,'Andale Mono',monospace
}
.json {
	padding:.1em;
	border-radius:.3em;
	text-shadow:0 1px #FFF;
	overflow-x:auto
}
.json {
	font-size:11px;
	line-height:15px;
	padding:3em;
	border-radius:1em;
	white-space:pre
}