html {
	width: 100%;
	/* height: 101%;*/ /* vertical scroll bar should be visible */

	font-size: 16px;   /* 1rem = 16px */
}

body {
	width: 100%;
	overflow-y: scroll;
	background-color:	#EEE;
}

a {
	font-size: 1rem;
	line-height: 1.5rem;
	font-family: Open Sans;
}

#container {
	width:	100%;
	height: 100%;

	margin: 0 auto;
}

#main {
	width:	100%;
	height:	100%;

	margin: 0 auto;
	position: relative;
}

#main > div {
	color: #333;
	background-color: #FFF;

	position: absolute;
	text-align: center;
	/*font-size: 14px;*/


	width: 260px;
	padding-top: 10px;
	border: 1px solid #CCC;

	overflow: hidden;
}

#main > div img {
	display: block;
	margin: 0 auto;
	cursor: zoom-in;
}

#main > div.adv img {
	cursor: pointer;
}

#main > div div {
	width: 240px;
	margin: 0 auto;

	padding-top:		3px;
	padding-bottom: 4px;

	background-color: #FFF;
}

#main > div div:empty {
	padding: 0px;
	height: 10px;
}

#overlay {
	width:	100%;
	height:	100%;
	z-index: 20;
	position: fixed;
	background-color: rgba(0, 0, 0, 0.75);
}

#substrate {
	width: 100%;
	height: 100%;

	position: absolute;
	overflow-y: scroll;
	z-index: 2;
}

.hidden {
	display: none;
}

.visible {
	display: block;
}

.scroll {
	overflow-y: scroll;
}

.noscroll {
	overflow-y: hidden;
}

#main > div {
	/*visibility: hidden;*/
}

#spacer {
	width: 1px;
	height: 100px;
	background-color: pink;
	position: absolute;
	visibility: hidden;
}

#bottom {
	width: 1000px;
	width: 100%;
	height: 100px;
	position: absolute;
	background-color: lightgreen;

	color: #000;
	font-family: arial;
	font-size: 32px;
}