@import url('https://fonts.googleapis.com/css?family=Libre+Franklin:400,700|Montserrat:400,700');

:root {

	/* Colors */
	--color-primary: #c62828;
	--color-gray: #4a4a4a;
	--color-reggray: #777;
	--color-medgray: #ccc;
	--color-lightgray: #e9e9e9;

	/* Number of legend divisions */
	--num-legend-items-0: 10;
	--num-legend-items-1: 9;

	/* Fonts */
	--font-primary: 'Libre Franklin', sans-serif;
	--font-secondary: 'Lato', sans-serif;
	--font-tertiary: 'Montserrat', sans-serif;

	--letter-spacing: 0.5px;
	--border-radius: 3px;

}

html {
	padding: 0;
	margin: 0;
	font-size: 100%;
	box-sizing: border-box;
}
*, *:before, *:after {
	box-sizing: inherit;
}

body {
	margin: 0;
	padding: 0;
	font-family: var(--font-primary);
	min-height: 1100px;
}


/* Start: Recommended Isotope styles */

/**** Isotope Filtering ****/

.isotope-item {
	z-index: 2;
}

.isotope-hidden.isotope-item {
	pointer-events: none;
	z-index: 1;
}

/**** Isotope CSS3 transitions ****/

.isotope,
.isotope .isotope-item {
	-webkit-transition-duration: 0.8s;
	-moz-transition-duration: 0.8s;
	transition-duration: 0.8s;
}

.isotope {
	-webkit-transition-property: height, width;
	-moz-transition-property: height, width;
	transition-property: height, width;
}

.isotope .isotope-item {
	-webkit-transition-property: -webkit-transform, opacity;
	-moz-transition-property: -moz-transform, opacity;
	transition-property: transform, opacity;
}


/* End: Recommended Isotope styles */

/**** disabling Isotope CSS3 transitions ****/

.isotope.no-transition,
.isotope.no-transition .isotope-item {
	-webkit-transition-duration: 0s;
	-moz-transition-duration: 0s;
	transition-duration: 0s;
}

/* disable CSS transitions for containers with infinite scrolling*/
.isotope.infinite-scrolling {
	-webkit-transition: none;
	-moz-transition: none;
	transition: none;
}


/**** Base styles ****/

/* Assumes 620px width from old Blox template */
#daycares {
	width: 100%;
	min-height: 700px;
	margin-left: auto;
	margin-right: auto;
}

#daycares h1, #daycares h2, #daycares h3, #daycares p, #daycares ul, #daycares ol, #daycares pre, #daycares dl {
	margin-bottom: 1.0em;
}


#daycares h1, #daycares h2, #daycares h3 { font-weight: bold; }

#daycares .chart__headline {
	font-size: 1.25rem;
	text-transform: uppercase;
	margin: 0;
	font-weight: 700;
	color: var(--color-gray);
	/*margin-top: 24px;*/
}

#daycares h2 {
	font-size: 22px;
	line-height: 1.1em;
	padding-top: 0px;
}

#daycares ul, #daycares ol {
	margin-left: 1.5em;
}

#daycares a,
#daycares a code {
	color: #FB4;
	text-decoration: none;
}

#daycares a:hover,
#daycares a:hover code {
	color: #4BF;
}

#daycares a:active,
#daycares a:active code {
	color: #1FB;
	background: black;
}

#daycares a img { border: none; }

/**** Isotope styles ****/

/* required for containers to inherit vertical size from window */
html,
body {
	height: 100%;
}

#container {
/*  border: 1px solid #666;
	padding: 5px; */
	margin-left: -5px;
	margin-bottom: 20px;
	width: 100%;
}


#daycares .child {
	width: 78px;
	height: 90px;
	margin: 5px;
	float: left;
	overflow: hidden;
	position: relative;
	background: black url(images/x.gif) no-repeat 404px 10px;
	color: white;
	-webkit-border-bottom-right-radius: 16px;
	-moz-border-radius-bottomright: 16px;
	border-bottom-right-radius: 16px;
}

#daycares .child.big {
	width: 430px;
	height: 190px;
}

#daycares .child-content {
	width: 78px;
	height: 90px;
}

#daycares .child h2, #daycares .child p, #daycares .child ul {
	position: absolute;
	margin: 0;
}

#daycares .child .profilePhoto {
	position: relative;
	width:  76px;
	height: 88px;
	float: left;
	margin: 1px;
	-webkit-border-bottom-right-radius: 16px;
		 -moz-border-radius-bottomright: 16px;
					border-bottom-right-radius: 16px;
}

#daycares .child h2 {
	color: white;
	left: 153px;
	font-size: 17px;
	margin-top: 8px;
	width: 267px;
	display: none;
}

#daycares .child p.childAge {
	font-size: 12px;
	left: 153px;
	top: 34px;
	width: 267px;
	display: none;
}

#daycares .child p.childAge:before {
	content: 'Age: ';
	font-weight: bold;
}

#daycares .child p.childDied {
	font-size: 12px;
	left: 290px;
	top: 34px;
	width: 267px;
	display: none;
}

#daycares .child p.childDied:before {
	content: 'Died: ';
	font-weight: bold;
}

#daycares .child p.childDesc {
	font-size: 12px;
	left: 153px;
	top: 58px;
	line-height: 16px;
	width: 267px;
	display: none;
}

#daycares .child:hover, #daycares .child.glow:hover {
	cursor: pointer;
	-moz-box-shadow: 0 0 8px black;
	-webkit-shadow: 0 0 8px black;
	box-shadow: 0 0 8px black;
}


#daycares .child ul {
	list-style: disc outside none;
	font-size: 12px;
	line-height: 16px;
	display: none;
	position: absolute;
	top: 160px;
	left: 170px;
	width: 267px;
}

#daycares .child ul li {
	width: 267px;
	margin: 0px;
	padding: 0px;
}

#daycares .child ul ul li a {
	color: #FFFF99;
	text-decoration: underline;
}



table#chartKey { margin-bottom: 15px; margin-top: -8px; }
table#chartKey tr td, table#chartKey tr th {
	font-size: 13px;
	line-height: 1.7em;
	color: black;
	width: 35px;
	height: 30px;
	vertical-align: middle;
	text-align: center;
	text-shadow: 0 1px hsla( 0, 0%, 100%, 0.5 );
}

table#chartKey tr td.firstCol, table#chartKey tr th.firstCol {
	text-align: left;
	width: 70px;
}


.options {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1rem;
}

.option-set__split {
	display: flex;
	gap: 1rem;
}

/**** Example Options ****/

#daycares .optionsLeft { }
#daycares .optionsRight { }

#daycares .options {
	padding-bottom: 1.0em;
}

#daycares .options h3, #daycares .options label {
	margin-top: 0px;
	margin-bottom: 0.2em;
	font-size: 13px;
	font-weight: 900;
	text-transform: uppercase;
	color: #0D2DCC;
	display: block;
}

#daycares .options select {
	font-size: 0.875rem;
	padding: 0.5rem 1rem;
	font-family: var(--font-primary);
}

#daycares .options h4 {
	font-weight: bold;
}

#daycares .options ul {
	margin: 0px;
	list-style: none;
}

#daycares .options ul ul {
	margin-left: 1.5em;
}

#daycares .options ul.option-set.floated {
	position: relative;
	display: flex;
	align-items: stretch;
}

#daycares .options .floated li {
	position: relative;
}

, #daycares .options .floated li a {
	display: inline-block;
	height: 100%;
}

#daycares .options li a {
	display: inline-block;
	font-size: 0.875rem;
	line-height: 1;
	padding: 0.666rem 0.666rem;
	background-color: #DDD;
	color: #222;
	font-weight: bold;
	margin-bottom: 0.2em;
	background-image: -moz-linear-gradient(-90deg,
		hsla( 0, 0%, 100%, 0.5 ) ,
		hsla( 0, 0%, 100%, 0.0 )
	);
	background-image: -webkit-gradient(linear, 0 top, 0 bottom,
		from( hsla( 0, 0%, 100%, 0.5 ) ),
		to(   hsla( 0, 0%, 100%, 0.0 ) )
	);
}

#daycares .options li a:hover {
	background-color: #5BF;
}

#daycares .options li a:active {
	background-color: #39D;
	-webkit-box-shadow: inset 0 2px 8px hsla( 0, 0%, 0%, 0.6 );
		 -moz-box-shadow: inset 0 2px 8px hsla( 0, 0%, 0%, 0.6 );
			 -o-box-shadow: inset 0 2px 8px hsla( 0, 0%, 0%, 0.6 );
					box-shadow: inset 0 2px 8px hsla( 0, 0%, 0%, 0.6 );
}

#daycares .options ul { margin-left: 0px; padding-left: 0px; }

#daycares .options #highlights li a          { background-color: #ccd; color: #222; }
#daycares .options #highlights li a:hover    { background-color: #06b4ff; color: #222; }
#daycares .options #highlights li a:active   { background-color: #3395bf; color: #222; }
#daycares .options #highlights li a.selected { background-color: #1133ff; color: white; }

#daycares .options #filters li a             { background-color: #ccd; color: #222; }
#daycares .options #filters li a:hover       { background-color: #06b4ff; color: #222; }
#daycares .options #filters li a:active      { background-color: #3395bf; color: #222; }
#daycares .options #filters li a.selected    { background-color: #1133ff; color: white; }

#daycares .options #sort li a                { background-color: #ccd; color: #222; }
#daycares .options #sort li a:hover          { background-color: #06b4ff; color: #222; }
#daycares .options #sort li a:active         { background-color: #3395bf; color: #222; }
#daycares .options #sort li a.selected       { background-color: #1133ff; color: white; }


#daycares .options .floated li a {
	/*border-left:  1px solid hsla( 0, 0%, 100%, 0.3 );*/
	border-right: 1px solid hsla( 0, 0%,   0%, 0.2 );
}

#daycares .options .floated li:first-child a {
	border-radius: 7px 0 0 7px;
	border-left: none;
}

#daycares .options .floated li:last-child a {
	border-right: none;
	border-radius: 0 7px 7px 0;
}

#daycares .options .option-set li a.selected {
	background-color: #13F;
	text-shadow: none;
	color: white;
}

/* Combination filter options*/

.options .option-combo {
	display: inline-block;
	float: left;
	margin-right: 10px;
}

.options .option-combo ul {
	margin-right: 20px;
	display: inline-block;
}

.options .option-combo h2,
.options .option-combo h4 {
	line-height: 34px;
	margin-bottom: 0;
	margin-right: 5px;
	display: inline-block;
	vertical-align: top;
}

/* Color shapes */

.color-shape {
	width: 70px;
	height: 70px;
	margin: 5px;
	float: left;
}

.color-shape.round {
	-webkit-border-radius: 35px;
		 -moz-border-radius: 35px;
					border-radius: 35px;
}

.color-shape.big.round {
	-webkit-border-radius: 75px;
		 -moz-border-radius: 75px;
					border-radius: 75px;
}

.color-shape.red { background: red; }
.color-shape.blue { background: blue; }
.color-shape.yellow { background: yellow; }

.color-shape.wide, .color-shape.big { width: 150px; }
.color-shape.tall, .color-shape.big { height: 150px; }

/* qTip2 size override */
.qtip { font-size: 14px; line-height: 1.2;}



@media (max-width: 640px) {
	.options, .option-set__wrapper, .option-set__split, .optionsLeft, .optionsRight {
		display: block;
		position: relative;
		margin-bottom: 1rem;
	}

}

