
@font-face {
  font-family: 'Simonetta';
  font-style: normal;
  font-weight: 400;
  src: local('Simonetta'), local('Simonetta-Regular'), url(../media/fonts/simonetta.woff) format('woff');
}
@font-face {
  font-family: 'IM Fell DW Pica';
  font-style: normal;
  font-weight: 400;
  src: local('IM FELL DW Pica Roman'), local('IM_FELL_DW_Pica_Roman'),  url(../media/fonts/IMFellDWPica.woff) format('woff');
}

html, body { height: 99%; }
body { margin:0; padding:0; background: #ddd; 
	-moz-user-select: none;
  -khtml-user-select: none;
  -webkit-user-select: none;
  user-select: none;
	font-size: 12pt;
}	
body {
	background: url(../media/tabletop1.jpg) no-repeat center center fixed; 
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
}


div#sources { height:205px; width:99%; z-index: 5; position:fixed; }

div#fridge { height:99%; width:99%; z-index: 4; }

#fridgeDragHelper { border: 10px dotted black; width: 75%; height: 50%; left: 12%; bottom: 10%; position: absolute; background: white; opacity: 0.0; text-align: center; }
#fridgeDragHelper p { opacity: 0; font-size:150%; font-family: 'IM Fell DW Pica', sans-serif; }

.sourceNode:hover { background:url(../media/newsprint2.jpg); }

.fragment {
	background-image:url(../media/newsprint2.jpg);
	padding: 2px 5px 2px 5px;
	position:absolute !important;
	max-width: 30em;
	-webkit-box-shadow: 1px 2px 4px 2px #333; 
	box-shadow: 1px 2px 4px 2px #333; 
	writing-mode: lr-tb; 
	border: 1px solid grey;
	z-index:100;
}
.fragment:hover, .sourceNode:hover {cursor:move;}

.agedNewsprint {
	width:100%;
	height:100%;
	position:absolute;
	top:0;
	left:0;
	background-image: url(../media/yellow5.png);
	z-index:101;
}

.fragment .contents {
	font-family: 'IM Fell DW Pica', sans-serif;
	font-size:105%;
	position:relative;
	width:100%;
	height:100%;
	top:0;
	left:0;
	z-index:102;
}


.shadowed {
	-webkit-box-shadow: 3px 6px 14px 8px #333; 
	box-shadow: 3px 6px 14px 8px #333; 
	z-index:99;
}

.sourceNode.ui-draggable-dragging {
	border: thick dashed #111;
}
.ui-draggable-dragging {
	z-index: 99;
}

#debug {  position:absolute; right:0; top:0; width: 100%; height: 50px; }

div#bookImage {
	width: 99.5%; height:220px; 
	overflow: visible;
	position:fixed; top:0px; left: 0px;
	background: url(../media/oldbook1.png) no-repeat center bottom; 
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
}

#map {
	position: absolute;
	top: 10px; left: 40px;
	width: 220px; height: 158px;
	background-image: url(../media/map_base.png);
}

#map div.map_room {
	font-size: 14px;
	font-variant: small-caps;
	text-align:center;
	position: absolute;
	cursor: pointer;
}
.map_room .label { position: absolute; width:100%; height:100%; }
.map_room .map_bg { position: absolute; }

#map div.map_room div.map_bg {
	width: 100%;
	height: 100%;
	background-color:rgba(255,255,255,0.5);
}

#map_MasterBedroom {
	top: 69px; left: 3px;
	width: 75px; height: 67px; 
}
#map_MasterBedroom .label { padding-top: 15px; }
#map_MasterBedroom .map_bg { display: none; }

#map #map_CornerBedroom {
	top: 3px; left: 2px;
	width: 75px; height: 49px;	
}
#map_CornerBedroom .label { padding-top: 6px; }
#map_CornerBedroom .map_bg { display:none; }

#map #map_LivingRoom {
	top: 48px; left: 78px;
	width: 140px; height: 88px;		
}
#map_LivingRoom .label { padding-top: 35px; }
#map_LivingRoom .map_bg { display:none; }

#map #map_Kitchen {
	top: 3px; left: 75px;
	width: 142px; height: 40px;	
}
#map_Kitchen .label { padding-top: 10px;  }
#map_Kitchen .map_bg { display:none;}

#map #map_Porch {
	top: 135px; left: 108px;
	width: 96px; height: 20px;
	z-index: 10;
}
#map_Porch .label { padding-top: 2px; }
#map_Porch .map_bg { display:none;}

#timeControls {
	width: 50px;
	height: 158px;
	position: absolute;
	top: 10px; left: 271px;
	background: url(../media/time_hourglass2.png);
}
#timeFuture {
	position: absolute;
	top: 0px;
	-webkit-touch-callout: none !important; /* prevents click-and-hold menu from appearing on iPad. */
	cursor: pointer;
}
#timePast {
	position: absolute;
	bottom: 0px;
	-webkit-touch-callout: none !important; 
	cursor: pointer;
}
#timeHourglassError {
	display:none;
}
#ghostYear {
	top: 46px;
	height: 35px;
	width: 60px;
	left:4px;
	position: absolute;
	font-family: 'Simonetta', serif;
	font-size:140%;
	font-style: italic;
}

#thingsWrapper {
	width:300px;
	height:184px;
	background: url(../media/indexcard2.png);
	z-index: 20;
	position:fixed;
	right:5px;
	top:-5px;
	font-size: 95%;
}
#things {
	position: relative;
	top: 3px;
	left: -15px;
	height: 152px;
	width: 292px;
-webkit-transform: rotate(-3deg);-moz-transform:  rotate(-3deg);-o-transform:  rotate(-3deg);
}
#things ul {
	list-style-type: none;
}
#things ul li {
	text-indent: -15px;
	padding-left: 15px;
	
}

#thingsWrapper, #scenedescription {
	font-family: 'Simonetta', serif;
}

#scenedescription {
	position: absolute;
	top: 10px;
	height: 155px;
	left: 331px;
	right: 292px;
	cursor: default;
}

#dateTime {
	font-size:150%;
}

#event { font-size: 110% }

#actors {
	position:fixed;
	left: 331px;
	top: 150px;
	right: 292px;
}

.nameNode {
	color: gray;
	font-size: 80%;
	width: 25.5%;
	max-width: 145px;
	height: 30px;
	float:left;
	margin-left: -5px;
	letter-spacing: -0.05em;
	position:relative;
	background-image: url(../media/tab_unselected_full.png);
	background-repeat: no-repeat;
	background-position: center;
	-webkit-background-size: 100% 100%;
	-moz-background-size: 100% 100%;
	-o-background-size: 100% 100%;
	background-size: 100% 100%;	
	text-align:center;
}
.highlightedActor {
	background-image: url(../media/tab_selected_full.png) !important;
	top: 3px;
}
.highlightedActor .txtNode {
	color: black !important;
	top: -3px !important;
}
.nameNode:hover {
	background-image: url(../media/tab_selected_full.png) !important;
	background-repeat: no-repeat;
	background-position: center;
	-webkit-background-size: 100% 100%;
	-moz-background-size: 100% 100%;
	-o-background-size: 100% 100%;
	background-size: 100% 100%;		
}

/* For fragments held over other fragments. */
.heldOver {
	background-image: none !important;
	background-color: #acdea2;
}
.heldOverTrash {
	background-image: none !important;
	background-color: white;
	opacity: 0.35 !important;
	
}

.fragBlink {
	background-image: none !important;
	background-color: white;
}

#razorblade {
	position: fixed;
	z-index: 100;
	top: 130px;
	left: -210px;
	width:154px;
	height:100px;
	cursor: move;
}

.goodposition {
	border: thin solid red;
}

#console {
	position:fixed;
	overflow: auto;
	font-size:10pt;
	font-weight:bold;
	color:white;
	bottom:0;
	right:0;
	width:35em;
	height:75%;
	background-color: black;
	opacity:0.75;
	font-family: Arial;
	z-index: 999;
}


#futureFeelie, #pastFeelie { display:none; }


#titleScreen, #aboutScreen {
	width: 45%;
	height: 90%;
	position: absolute;
	top: 5%;
	left: 27.5%;
	text-align: center;
	z-index: 99;
	background: #26262E;
	color: white;
	display:none;
	border: 1px dotted grey;
}
#aboutScreen { z-index: 10000; }
#titleScreen h1 {
	font-size: 450%;
	font-family: 'Simonetta', sans-serif;
}
#titleScreen h2 { 
	font-family: 'Simonetta', sans-serif;
	font-size: 160%;
	top: -40px;
	text-transform: lowercase;
	position:relative
}
#titleScreen #quote, #aboutScreen p {
	width: 80%;
	margin: 0 auto;
	text-align: left;
	font-family: 'Simonetta', sans-serif;
	font-weight: normal;
	font-size: 110%; 
}
#aboutScreen p {
	padding-top: 45px;
}
#quoteAttribution { 
	display:block;
	text-align: right;
	margin-top: 4%;
}
#menu {
	margin-top: 6%; 
	height:40%;
	text-align: center;
	font-family: 'IM Fell DW Pica', sans-serif;	
	font-size: 125%;
}
#menu div {
	border: 3px double #ccc;
	width: 90%;
	height: 10%; 
	padding: 3% 0 1% 0;
	margin:  4% auto 4% auto;
	
}

#ribbon {
	position: fixed;
	bottom: -15px;
	right: -900px;
	z-index: 101;
}
#optionsBar {
	z-index: 5;
	font-family: 'IM Fell DW Pica', sans-serif;	
	font-size:130%;
	position:absolute;
	top:20px;
}
#optarrows { font-weight:bold; font-size:80%; }
#optionsBar span {
	padding: 20px 12px 20px 12px;
}
#options { color: #333; margin-right: -20px !important; }

#link18c { color: #A8B4FF; }

.highlightedDot { color: #A8B4FF; }

#userMsg {
	display: none;
	position: fixed;
	bottom: 50px;
	right: 10px;
	width: 250px;
	height: 80px;
	opacity: 0.75;
	background: black;
	color: white;
	font-family: 'IM Fell DW Pica', sans-serif;	
	font-size:120%;
	text-align:center;
	padding: 20px;
	z-index: 600;
}

input {
	width: 330px;
    border: 2px dashed rgb(162, 51, 51); 
    padding: 5px;
	font-size: 120%;
	font-family: "IM Fell DW Pica";
	font-style: italic;
	background: black;
	color: white;
}
#doShare { text-decoration:underline; }
#shareNeverMind { color: #bbb; }

#loadScreen {
	z-index: 500;
	background: #222;
	color: #ccc;
	width: 100%;
	height: 100%;
	text-align: center;
	position: fixed;
	margin: 0 auto;
}
#loadScreen img { 
	position: fixed;
	top: 50%;
	left: 40%;
}

.tester { border: thin solid red; }

#kioskTitle {
	display: none;
	font-family: 'IM Fell DW Pica', sans-serif;	
	font-size:250%;
	background: black;
	opacity: 0.66;
	position: fixed;
	bottom: 0;
	left: 0;
	height: 60px;
	width: 210px;
	font-style: italic;
	color: white;
	padding: 10px 0 0 20px;
}

body { overflow:hidden; } /* ensure no scroll bars */

.tempBox { position:fixed; z-index: 9999; background: white; border: thin solid green; }

#storyLink, #storyLinkHeader { font-size: 80%; }
#storyLink a { color:white; }
#shareOnFB { text-decoration: underline; color: #A8B4FF; padding: 12px; border: thin dotted gray; }
#noFB { font-size: 80%; text-align:center; color: #ccc; }

#nudgehint { margin-top: 20%; }

#mystoriestable {
}
#mystoriestable td {
	padding: 10px 0 10px 0;
	border-bottom: thin solid #A8B4FF; 
}
#mystoriestablelarge {
	font-size: 80%;
}
#mystoriestablelarge td {
	padding: 10px 0 10px 0;
	border-bottom: thin solid #A8B4FF; 
}

.deletestory {
	color: red;
	font-size: 150%;
	padding-left: 40px;
}

#closeAbout { 
	color: #777;
	position: absolute;
	font-size: 200%;
	font-family: "Arial" sans-serif;
	top: 5px;
	right: 15px;
}

#razortracker {
	display: none;
/*	z-index: 9999; position:fixed; top: 201px; left: 40px; color: rgb(0, 255, 0);*/
}
