* {
	-ms-box-sizing: border-box;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;

/*	user-select: none;
	-moz-user-select: -moz-none;
	-webkit-user-select: none;
*/
}

html, body, div, span,
h1, h2, h3, h4, h5, h6, p, blockquote,
a, img, strong, sub, sup, 
dd, dl, dt, li, ol, ul, form, label,
table, caption, tbody, tfoot, thead, tr, th, td {
	margin: 0;
	padding: 0;
	border: 0;
	font-weight: inherit;
	font-style: inherit;
	font-size: 100%;
	line-height: 1;
	font-family: inherit;
	text-align: left;
	vertical-align: baseline;

	overflow: hidden; 
	position: relative;

    --ms-overflow-style: none;
    -webkit-touch-callout: none;
}

/* Adjust label positions */
label {
    left: -9px;
    top: -2px;
}


ol, ul {
	list-style: none;
}

html {
	font-family: "HelveticaNeue","Helvetica Neue",Helvetica,Arial,sans-serif!important;
	font-weight: 300;
	font-style: normal;
    -webkit-text-size-adjust: 100%;

	/* this is base font size, we use rem/em units on EVERYTHING ELSE! */
	font-size: 10px;

    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  	-ms-touch-action: none;
  	-ms-content-zooming: none;
}

html, body {
	overflow: hidden;
	height: 100%;
}


body {
	background: #ccc;
}

a:link,a:visited,a:active {
    text-decoration: none;  
    color: black;
}

a:hover {
    text-decoration: none;
    color: red;
}

/* labels for "and" and "or" */
#ors {
    margin: 0 0 0 0;
	font-size: 1.2em;
}
#ands {
    margin: .75em 0 0 0;
	font-size: 1.2em;
}

#topbar {
	height: 6em;
	margin: 1em 0 0 1em;
}

#filter,
#list {
	top: 6em;
	position: absolute;
	left: 1em;
	right: 1em;
	bottom: 1em;
}

#filter {
	background: #d7d7d7;
	border: 1px #999 solid;
	padding-left: 0.2em;
	width: 14.5em;
}

#filter-modhand, #filter-tradscript , #filter-funhead, #filter-outhead, #filter-slabserif {
	margin-left: .8em;
}

#list {
	padding: 0.3em;
	background: #fff;
	border: 1px #999 solid;
	position: absolute;
	left: 16em;
}

#filter ul {
	font-size: 1.1em;
}

#filter li {
	cursor: pointer;
	padding: 0.3em 0 0 0.3em;
}

#filter input {
	cursor: pointer;
	margin-right: 1em;
}

label {
	cursor: pointer;
}

#title {
	float:left;
	font-size:21px;
	width:150px;
	padding:3px 0 0 0;
}

#search {
	float:left;
}

#searchtext {
	width: 165px;
	padding: 4px;
	border: 1px #999999 solid;
	font-size: 1.2em;
	outline: none;
}

#resultcount {
	margin-top:5px;
	font-size:12px;
}

#fontslider {
	float:left;
}

/* sort dropdown TBD: sort this css */

#sorttext {
    font-size:12px;
	position: relative;
	left:30px;
    top:1px;
	line-height:20px;
	float:left;
    margin: 3px 0 0 3px; 
}
#sort {
	position: relative;
	left:30px;
	float:left;
    margin: 4px 0 0 3px; 
}

#pxsize {
 margin:15px 0 0 90px;
 font-size:12px;
}

#list ul {
	-webkit-overflow-scrolling: touch;
	position: absolute;
	top: 0px;
	left:0px;
	right: 0px;
	bottom: 0px;
	overflow-x: hidden;
	overflow-y: scroll;
	display: block;
}

#list li {
	/*display: none;*/
	min-height: 3em; /* adjusted font size from 6em */
	min-width: 1em;
}

#list .variant-icon {
	display: block;
	width: 1em;
	min-width: 10px;
	height: 3em; /* adjusted font size from 6em */
	margin: 0 0.5em;
	background: url(filter_arrow.png) 0 50% no-repeat;
	float: left;
	visibility: hidden;
}
#list .show .variant-icon {
	background: url(filter_arrow_down.png) 0 50% no-repeat;
}
#list .variants .variant-icon {
	visibility: visible;
	cursor: pointer;
}

#list p {
	font-size: 2em; /* adjusted font size 3em */
	height: 1.6em; /* adjusted font size from 2em */
	line-height: 1.6em; /* adjusted font size from 2em */
	float: left;
}

#list p.variant {
	float: none;
	clear: left;
	padding-left: 2.2em; /* adjusted font size from 1.2 em*/
	display: none;
}

#list li.show p.variant {
	display: block;
}

/* filter classes */

#list .hidden {
	display: none!important;
}

/* slider */

.pp-slider {

	position: relative;
	overflow: visible;
	height: 8px;
	display: inline-block;
	top: 6px;
	margin: 4px 7px 0px;
	width: 200px;
	border:none;
	background:#dddddd;
	
	-webkit-box-shadow: inset 0px 1px 2px #777777;
	-moz-box-shadow: inset 0px 1px 2px #777777;
	box-shadow: inset 0px 1px 2px #777777;
	-webkit-border-radius:4px;
	-moz-border-radius:4px;
	border-radius:4px;
	
}

.pp-slider-range {
	position: absolute;
	top:0px;
	left:0px;
	border: 0;
	margin: 0;
	padding: 0;
	height:100%;
	background:#999999;
	-webkit-box-shadow: inset 0px 1px 2px #555555;
	-moz-box-shadow: inset 0px 1px 2px #555555;
	box-shadow: inset 0px 1px 2px #555555;
	-webkit-border-radius:4px;
	-moz-border-radius:4px;
	border-radius:4px;
	
}

.pp-slider-thumb {
	position:absolute;
	margin-left: -8px;
	top: -3px;
	left: 0px;
	
	background: -moz-linear-gradient(top, #ddd 0%, #fff 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ddd), color-stop(100%,#fff));
/*	not working right in IE, replace with simple background:
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ddd', endColorstr='#fff',GradientType=0 );*/
	background: #dddddd;

	border:2px solid #52B2E0;
	height:14px;
	width:14px;
	-webkit-border-radius:4px;
	-moz-border-radius:4px;
	border-radius:4px;

	cursor: pointer;
}
