
/* Top Level */

.clear {
	clear: both;
}

html {
    padding: 0;
    margin: 0;
}

body {
    margin: 0;
    padding: 0;
	position: relative;
	width: 100%;
	height: 100%;
}
	
#background {
	background-color: rgb(255,255,255);
	position: absolute;
	left: 0;
	top: 0;
	right: 3px;
	bottom: 3px;
	background-image: 
		url(BackgroundTexture.png), 
		-webkit-gradient(radial, 50% 0, 300, 50% 20, 1000, 
			from(rgba(255,255,255,0)), to(rgba(0,0,0,0.1)) );
	background-repeat: repeat;
	-webkit-border-radius:8px;
	border: 15px solid #333;
	-webkit-border-image:url(BorderImage.png) 31 31 stretch;
}

#content {
	position: absolute;
	left: 2%;
	top: 40px;
	right: 2%;
	bottom: 40px;
	z-index: 1;
}

/* Row Layout */

#rowcontainer {
	position: relative;
	overflow: visible;
	padding: 0;
	margin: 0;
}

/* Facets */

.facet {
	position: relative;
	margin: 0;
    margin-top:5px;
    padding: 0;
	height: 50%;
	overflow: visible;
	border: solid 2px green;
    border-color: transparent;
    background-color: transparent;
    -webkit-border-radius: 6px;
}

.facetborder {
	position: absolute;
	bottom: 0;
	height: 20px;
	width: 100%;
	opacity: 0.7;
}

.choicelabel {
	position: absolute;
    visibility: hidden;
	height: 30px;
	-webkit-transform: rotate(0deg);
	left: 10px;
	top: 10px;
}

/* Facet Text */

.facettextarea {
	position: absolute;
	left: 35%;
	right: 10px;
	bottom: 0;
	top: 0;
}

.columnlayouttextarea {
    left:15%;
	right:15%;
	top:82%;
	bottom: 0;
}

.facettext {
	position: absolute;
	text-align: left;
	font-family: Helvetica;
	font-size: 100%;
    line-height: 150%;
    width: 100%;
	color: black;
	overflow: hidden;
    text-rendering: optimizeLegibility;
}

.facettext img, .facettext video, .facettext object {
    display: none;
}

/* Facet Images */

.facetimages {
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	right: 68%;
	overflow: visible;
}

.columnlayoutimages {
	left:0;
	right:0;
	top:0;
	bottom: 22%;
}

.imagearea {
	position: relative;
	width: 100%;
	overflow: visible;
}

.oneimagearea {
	height: 100%;
}

.facetimages .contentimage {
    position: absolute;
    right:0;
    bottom:0;
	background-color: white;
	border:8px solid white; 
	-webkit-box-shadow:0 0 5px rgba(0,0,0,0.7);
}

img.singlefacetimage {
	max-height: 85%;
	max-width: 95%;
}

/* Stamps and Labels */

#rolearea {
	position: absolute;
	top: 10px;
	right: 10px;
    text-align:right;
}

.role {
    text-decoration: none;
/*	font: normal 12px "Zapfino", "Snell Roundhand", "Edwardian Script ITC";*/
	font:  small-caps 16px "TimesNewRoman";
	letter-spacing: 3px;
	color: #555;
    text-shadow: #fff 0 1px 0; 
    line-height: 22px;
}

#currentrole {
}

/* Resize Grip */

#resizegrip {
    position: absolute;
    right: -17px;
    bottom: -20px;
}

/* These are a fix webkit truncating list numbers */

ol { 
    margin-left: 1.5em;
}

ul {
    margin-left: 1.5em;
}

li { 
    margin-left: 0; 
}