#fn {
	left: 0;
	text-align: center;
}
#fn input[type=checkbox] {display: none;}

#fnlo, #fnhi {
	height: 100%;
	width: 100%;
}

#fn .btn.disabled {
	background: #666;
	border-color: #888;
	color: #aaa;
}

#fn .btn {
	display: inline-block;
	position: relative;
}
/*
#fn .btn div {
	position: absolute;
	height: 100%;
	width: 100%;
	top: 0;
	left: 0;
}	
*/
#fn input[type=checkbox]:checked + .btn {
	background: #ccc;
	border: 1px inset #fff;
	color: #000;
}
#fn input[type="checkbox"]:checked + .btn .fn {
	text-shadow: 1px 1px #fff;
}
#fnlo .btn,
#fn .btn {
/*	height: calc(16% - 2px);*/
	height: 100%;
	width: calc(40% - 2px);
}
#fnhi {display: none;}
#fnhi .btn {
	height: 9.5%;
	width: 25%;
}

#fn .btn span {position: absolute;}
#fnhi .btn span.fn {
	font-size: 50%;
	text-shadow: 1px 1px #000;
}
#fnhi .btn span.txt {font-size: 40%;}
#fnhi .btn span.page {
	font-size: 80%;
	line-height: 1.5em;
}
#fn .btn span.fn {
	top: -0.25em;
	left: 0.25em;
}

#fnlo .btn span.fn,
#fn .btn span.fn {
	font-size: 50%;
	text-shadow: 1px 1px #000;
}

#fnlo .btn span.txt,
#fn .btn span.txt {font-size: 37.5%;}

#fnlo .btn span.page,
#fn .btn span.page {
	font-size: 150%;
	line-height: 1.25em;
}

#fn .btn .img {
	background-repeat: no-repeat;
	background-position: center;
	background-size: 50%;
	bottom: 0;
	color: #333;
	display: block;
	height: 100%;
	width: 100%;
}
#fn .btn span.txt {
	bottom: 0;
	right: 0.25em;
}
#fn .btn span img {
/*	filter: invert(0.95) sepia(1) saturate(5) hue-rotate(310deg); */
/*	filter: invert(0.2) drop-shadow(1px 1px #ddd); */
	filter: invert(0.2);
	max-height: 55%;
	max-width: 70%;
	position: absolute;
	margin: auto;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
}


#fn ul {
	display: flex;
	flex-direction: column;
	flex-wrap: wrap;
	list-style-type: none;
	margin: 0;
	padding: 0;
	width: 100%;
}
#fn ul li {width: calc(40% - 1px);}
#fn ul li .btn {width: 100%;}


#fnbuttons {
	height: 84%;
	overflow: hidden;
	scroll-behavior: smooth;
}
#fnbuttons li {height: 18.5%;}
#fnbuttons .blank {height: calc(18.5% - 2px);}


#fnscroll {
	color: #bbb;
	position: absolute;
	text-shadow: 1px 1px #fff;
}
#fnscroll li {
	height: 100%;
}
#fnscroll li .btn {
	background: #666;
	border-color: #888;
}
#fnscroll .btn div {height: 100%;}
#fnscroll li:first-child div {background: url('caret-left.svg') no-repeat center;}
#fnscroll li:last-child div {background: url('caret-right.svg') no-repeat center;}


/*
#fnscroll li .btn div {
	display: flex;
	font-size: 150%;
	justify-content: center;
	align-items: center;
}
#fnscroll li .btn span {
	font-size: 150%;
	height: 100%;
	left: 0;
	line-height: 1.25em;
	width: 100%;
}
*/


/*#fn .btn .fnXXX {background-image: url('.svg');}*/
#fn .btn .fn000 {}
#fn .btn .fn001 {background-image: url('light.svg');}
#fn .btn .fn002 {}
#fn .btn .fn003 {background-image: url('bell.svg');}
#fn .btn .fn004 {background-image: url('horn.svg'); background-size: 60%;}
#fn .btn .fn005 {}
#fn .btn .fn006 {background-image: url('panto.svg');}
#fn .btn .fn007 {background-image: url('smoke.svg');}
#fn .btn .fn008 {background-image: url('abv.svg'); background-size: 80%;}
#fn .btn .fn009 {background-image: url('whistle.svg');}
#fn .btn .fn010 {background-image: url('sound.svg');}
#fn .btn .fn012 {background-image: url('speech.svg');}
#fn .btn .fn013 {background-image: url('bell.svg');}
#fn .btn .fn014 {background-image: url('horn.svg'); background-size: 60%;}
/*#fn .btn .fn014 {background-image: url('light1.svg');}*/
#fn .btn .fn015 {background-image: url('light2.svg');}
#fn .btn .fn017 {background-image: url('telex.svg'); background-size: 40%;}

