* {
	white-space: nowrap;
	box-sizing: border-box;
	padding: 0;
	margin: 0;
}

html, body {
	height: 100%;
}

body {
	font-family: -apple-system,'BlinkMacSystemFont','Segoe UI','Roboto','Helvetica','Ubuntu','Cantarell','Arial',sans-serif,'Apple Color Emoji','Segoe UI Emoji','Segoe UI Symbol';
	background-color: #FFFFFF;

	position: relative;
	padding: 32px;
}

.middle {
	min-height: calc(100% - 300px);
	max-width: 800px;
	margin-top: 200px;
	margin-left: auto;
	margin-right: auto;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: center;
}

.panel {
	width: 420px;
	margin-left: 80px;
	margin-right: 80px;
	margin-bottom: 24px;
	height: 58px;
	position: relative;
}

.content {
	width: 500px;
	margin-left: 80px;
	margin-right: 0px;
	margin-bottom: 100px;
	height: inherit;
	position: relative;
	
}

.results {
	width: 500px;
	margin-left: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	height: inherit;
	position: relative;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	flex-wrap: wrap;
}

.shown {
	visibility: visible !important;
}
.hidden {
	visibility: hidden !important;
}

@media only screen and (max-width: 600px) {
	.middle {
		
		margin-top: 100px;
	}
	.panel, .results, .content {
		width: 100%;
		margin-left: 0px;
		margin-right: 0px;
	}
}

.results-item {
	background-color: #F2F2F2;
	border-radius: 8px;
	padding: 14px;
	margin: 0px 8px 8px 0px;
	position: relative;

	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	
	width: auto;
	height: 52px;
	cursor: default;

	-webkit-user-select: none;
	-moz-user-select: none;
	user-select: none;

	/* height: 52px; */
	font-size: 20px;
	color: rgba(51,51,51,0.8);

	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	top: 0px;

	-moz-box-shadow:    0px 0px 0px 0px rgba(51,51,51,0.0);
	-webkit-box-shadow: 0px 0px 0px 0px rgba(51,51,51,0.0);
	box-shadow:         0px 0px 0px 0px rgba(51,51,51,0.0);
	transition: ease-in-out, box-shadow .1s ease-in-out, top .1s ease-in-out;
}

.inline {
	position: relative;
	display: inline-flex;
}


.with-hover:hover {
	opacity: 0.9;
	cursor: pointer;
}

@media (hover: hover) {
	.with-hover:hover {
		top: -2px;
		opacity: 0.9;
		-moz-box-shadow:    0px 2px 8px 0px rgba(51,51,51,0.1);
		-webkit-box-shadow: 0px 2px 8px 0px rgba(51,51,51,0.1);
		box-shadow:         0px 2px 8px 0px rgba(51,51,51,0.1);
	}
}

.copyright {
	z-index: 100;
	height: 60px;
	text-align: center;

	position: relative;
	bottom: 0;

	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

.search {
	width: 100%;
	height: 52px;
	padding: 12px;
	font-size: 20px;
	color: rgba(51,51,51,0.8);
	border: 2px solid rgba(51,51,51,0.8);
	border-radius: 8px;
	-webkit-appearance: none;
	-moz-box-shadow:    0px 0px 0px 0px rgba(51,51,51,0.0);
	-webkit-box-shadow: 0px 0px 0px 0px rgba(51,51,51,0.0);
	box-shadow:         0px 0px 0px 0px rgba(51,51,51,0.0);
	transition: ease-in-out, box-shadow .1s ease-in-out;
}
.search:focus {
	color: rgba(51,51,51,1);
	outline: none;
	border: 2px solid rgba(51,51,51,1);
	-moz-box-shadow:    0px 4px 8px 0px rgba(51,51,51,0.2);
	-webkit-box-shadow: 0px 4px 8px 0px rgba(51,51,51,0.2);
	box-shadow:         0px 4px 8px 0px rgba(51,51,51,0.2);
}

button, input, select, textarea {
	font-family : inherit;
	font-size   : 100%;
	margin: 0;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

h1 {
	font-weight: 900;
	font-size: 80px;
	line-height: 100px;
	color: rgba(51,51,51,0.04);
}

h2 {
	font-weight: normal;
	font-size: 14px;
	line-height: 18px;
	color: rgba(51,51,51,1);
}

p {
	font-weight: normal;
	font-size: 12px;
	line-height: 14px;
	color: rgba(51,51,51,0.4);
}

a:link, a:visited {
	color:inherit;
}
