html, body {
	height: 100%;
	width: 100%;
	margin: 0;
	overflow-x: hidden;
	overflow-y: auto;
}

body {
  font: 14px "Lucida Grande", Helvetica, Arial, sans-serif;
  background-image: url("../images/background_blur.jpg");
  background-size: cover;
  width: 100%;
}

/*@media only screen and (min-width: 680px) {
	body {
		zoom: 0.5;
		transform: translateX(50%);
    -moz-transform: scale(0.5); 
    -moz-transform-origin: 0 0;
	}
}
*/
a {
  color: #00B7FF;
}

h1 {
	display: inline;
	font-family: 'geoparodyheavy';
	font-size: 36px;
	color: #FFCC00;
}
.intro {
	margin-right: 4px;
}

.appContainer {
	max-width: 500px;
	margin-left: auto;
	margin-right: auto;
}

.navbar {
  display: flex;
  flex-direction: row;
  padding: 10px 20px;
  justify-content: space-between;
}

.settingsblock {
	display: flex;
  align-items: center;
}

.settingsblock > i {
	color: white;
  font-size: 24px;
  cursor: pointer;
  margin: 0 8px;
}

.contentblock {
	text-align: center;
	padding: 20px;
	color: white;
}

.category > span {
	font-family: 'itc_korinnaregular';
	font-size: 16px;
	text-shadow: 4px 4px 8px rgba(0, 0, 0, 1);
}

.question {
	font-family: 'itc_korinnaregular';
	font-size: 16px;
	text-shadow: 4px 4px 8px rgba(0, 0, 0, 1);
	margin: 4px 0 18px;
}

.answer {
	display: flex;
	font-size: 16px;
	align-items: center;
	justify-content: center;
}

.answer > span {
	font-family: 'itc_korinnaregular';
}

.answer {
	margin: 0 0 12px;
}

.answer input {
	margin: 0 8px;
	font-size: 16px;
	padding: 8px;
  border-radius: 4px;
	border: none;
	width: 200px;
}

.answer input:disabled {
	color: white;
}

.buttons > button {
	min-width: 36px;
	font-family: 'itc_korinnaregular';
	font-size: 16px;
	background-color: #FFCC00;
	border: none;
	padding: 8px 12px;
	cursor: pointer;
	outline: inherit;
	border-radius: 4px;
	color:black;
	text-decoration: none;
}

.submitbutton > i, .skipbutton > i {
	margin-right: 8px;
}

button.skipbutton {
	margin-left: 10px;
	background-color: white;
}
.skipbutton:active:hover {
	filter: brightness(85%);
}
.submitbutton:active:hover {
	filter: brightness(85%);
}

.correctResponseSection {
	margin-top: 25px;
	display: none;
	flex-direction: column;
}

.correctResponseSection > span {
	display: block;
	margin: 4px 0;
	font-size: 12px;
}
.correctResponseSection > span.correctResponseTitle {
	font-weight: bold;
	font-size: 14px;
}

.score {
	margin-top: 25px;
	font-size: 40px;
	font-family: 'swiss_911compressed';
	color: #FFCC00;
	text-shadow: 4px 4px 8px rgba(0, 0, 0, 1);
}

.questionAmount {
	font-size: 16px;
	font-family: 'itc_korinnaregular';
	text-shadow: 4px 4px 8px rgba(0, 0, 0, 1);
}

.cat {
	font-size: 34px;
	font-family: 'swiss_911compressed';
	color: white;
	text-shadow: 4px 4px 8px rgba(0, 0, 0, 1);
	margin: 10px 0 18px;
}

.autocomplete-items {
	position: absolute;
  background-color: white;
  border-radius: 4px;
  margin: 0 8px;
  color: #000000;
  min-width: 200px;
  max-height: 296px;
	overflow: hidden;
	text-overflow: ellipsis;
	font-size: 14px;
}


/* MODAL */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content/Box */
.modal-content {
  background-color: #fefefe;
  margin: 68px auto;
  padding: 20px;
  border: 1px solid #888;
  border-radius: 8px;
  width: 75%; /* Could be more or less, depending on screen size */
  max-width: 450px;
  color: black;
  position: relative;
  animation-name: animatetop;
  animation-duration: 0.4s;
}

/* Add Animation */
@keyframes animatetop {
  from {top: -300px; opacity: 0}
  to {top: 0; opacity: 1}
}

/* The Close Button */
.close {
	position: absolute;
  color: #aaa;
  display: block;
  padding: 8px 12px;
  font-size: 28px;
  font-weight: bold;
  right: 0;
  top: 0;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

.instructions {
	padding: 0 20px;
}

.modalTitle {
	font-size: 18px;
  font-weight: bold;
}

.secondaryModalTitle {
	font-weight: bold;
	font-size: 14px;
}
.disclaimer {
	line-height: 8px;
}
.help-section {
	display: flex;
	flex-direction: row;
	margin-bottom: 12px;
}
.help-section > i {
	font-size: 20px;
	width: 20px;
}
.section {
	font-size: 14px;
  text-align: left;
  margin-left: 16px;
}
.smallsection, .smalllink {
	font-size: 10px;
	line-height: 10px;
}
.link {
	text-decoration: none;
}
.smalllink {
	text-decoration: none;
}
.divider {
	width: 100%;
  border-bottom: 1px solid #CCC;
  margin: 14px 0;
}

.statsRow {
	display: flex;
  justify-content: space-evenly;
}

.statName {
	margin-bottom: 0px;
	font-size: 14px;
}

.statsRow.centered {
	justify-content: center;
	align-items: center;
	margin-bottom: 12px;
}
.winningsRow {
	margin-bottom: 12px;
	flex-direction: column;
}
.winningsBlock {
	margin-bottom: 6px;
}
.winningsTitle {
	margin-right: 4px;
	font-size: 14px;
}
.winnings {
	font-size: 14px;
  font-weight: bold;
}
.resultBlock {
	width: 18px;
	height: 18px;
	border-radius: 2px;
	border: 1px solid;
	border-color: #666666;
	margin: 0 4px;
}
.homeResults {
	margin-bottom: 18px;
}
.homeResults .resultBlock {
	border-color: white;
}
.homeResults .resultBlock.current {
	width: 24px;
	height: 24px;
	border-radius: 3px;
}
.resultBlock.correct {
	background-color: green;
	border-color: green;
}
.resultBlock.skipped {
	background-color: #666666;
	border-color: #666666;
}
.resultBlock.missed {
	background-color: red;
	border-color: red;
}
.shareButton {
	min-width: 36px;
	font-size: 18px;
	background-color: #FFCC00;
	border: none;
	padding: 8px 12px;
	cursor: pointer;
	outline: inherit;
	border-radius: 4px;
	font-family: "Lucida Grande", Helvetica, Arial, sans-serif;
	color:black;
	text-decoration: none;
}
.shareButton.disabled {
	cursor: default;
	background-color: #CCCCCC;
	color: white;
}
.shareButton:not(.disabled):active:hover {
  filter: brightness(85%);
}
.copied {
	display: none;
	font-size: 10px;
}
.copyResultsForm {
	height: 0px;
	overflow: hidden;
}
.statsColumn {
	display: flex;
  flex-direction: column;
  align-items: start;
  margin: 0 0 20px;
}

.barGroup {
	display: flex;
	justify-content: flex-start;
	width: 100%;
}

.barLabel {
	font-weight: bold;
	margin: 3px 0;
	width: 50px;
	font-size: 14px;
}

.bar {
	min-width: fit-content;
	background-color: #666666;
	border-radius: 4px;
	margin: 2px 0;
	display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 10px;
  color: white;
  font-weight: bold;
  font-size: 14px;
}

.stat {
	font-size: 24px;
	font-weight: bold;
	color: #666666;
	margin: 0;
}

/* AUTOCOMPLETE */
.autocomplete {
	margin: 0 4px;
}
.autocomplete-items > div {
	padding: 8px;
	height: 20px;
	display: flex;
	border-bottom: 1px solid;
	white-space: pre;
	width: 200px;
	align-items: center;
}

.autocomplete-items > div:last-child {
	border-bottom: 0px;
}

.autocomplete-items > div:hover, .autocomplete-items > .autocomplete-active {
	background-color: #CCCCCC;
	cursor: pointer;
	border-radius: 2px;
}

.autocomplete-items > div > strong {
}