/* Basic reset */
/* Don't know why I expclitly set html/body height and width to 100% but here we are */
html {
  box-sizing: border-box;
  font-size: 16px;
	width: 100%;
	height: 100%;
}
#main-title {
	margin-left: 90px;
	margin-right: 140px;
	min-width: 157px;
}
#utility-bar {
	text-align: right;
	color: red;
	float:right;
	font-size: 24px;
	line-height: 24px;
	vertical-align:middle;
	font-weight: bold;
	cursor: pointer;
	margin-right: 5px;
	margin-top: 5px;
}
#utility-bar div {
	margin-top: 2px;
	margin-bottom:5px;
}
#filter-done {
	position: absolute;
	top:6px;
	right: 10px;
	cursor: pointer;
	color: red;
	font-size: 20px;
}
#add-filter span {
	line-height: inherit;
	font-size: 24px;
}

*, *:before, *:after {
  box-sizing: inherit;
}
body {
	width: 100%;
	height: 100%;
}
body, h1, h2, h3, h4, h5, h6, p, ol, ul {
  margin: 0;
  padding: 0;
  font-weight: normal;
}

ol, ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

/* Start styles */

h1 {
	font-size: 32px;
	text-align: center;
}
h3 {
	font-size: 20px;
	text-align: center;
	color: gray;
}
#filter-form-wrapper {
	position: fixed;
	display: none;
	background-color: #F6F6F680; 
	top: 0px;
	bottom: 0px;
	width: 100%;
	height: 100%;
	z-index: 1;
}
#filter-form {
	z-index:2;
	position: absolute;
	width: 80%;
	left: 10%;
	background-color: white;
	border: 1px solid black;
	border-radius: 5px;
	display: none;
	grid-template: auto / 20% 1fr;
	justify-items: center;
	grid-column-gap: 10px;
	column-gap: 10px;
	min-width: 308px;
	padding-left: 5px;
	padding-right: 5px;
}
#filter-list {
	width: 100%;
	height: 100%;
	min-height: 500px;
	border: 1px solid black;
}
@media only screen and (max-width: 650px) {
	#filter-form {
		grid-template: auto / 1fr;
	}
	#filter-list {
		min-height: 120%;
	}
}
#filter-list .filter-list-option {
	padding: 5px;
	cursor: pointer;
}
#filter-list .filter-list-option:hover {
	background-color: rgb(240, 240, 240);
}
#filter-list .filter-list-option.active {
	background-color: rgb(230, 230, 230);
}
#filter-gen-container {
	width: 100%;
}
/* add media queries here */
.checklist {
	display: grid;
	grid-template: auto / repeat(auto-fill, minmax(190px, 1fr));
	row-gap: 5px;
	grid-row-gap: 5px;
	column-gap: 2px;
	grid-column-gap: 2px;
	margin-top: 5px;
}
#filter-gen fieldset > div {
	margin: 20px 0px 20px 0px;
}
.button-warning {
	color: white;
	background: rgb(223, 87, 50);
}
.age-inputs {
	display: grid;
	justify-content: center;
}
.age-inputs input[type=number] {
	width: 90px;
}

.age-inputs input[type=radio] {
	margin-right: 5px;
}

input[type=checkbox] {
	margin-right: 2px;
}

#filter-list-container button {
	margin-top: 3px;
	margin-bottom: 3px;
}
