body{
	background-color: #fff;
	font-family: "Myriad Pro", Helvetica, Arial, "sans-serif";
	position: relative;
	padding: 0px;
	margin: 0px;
	color: #000;
	font-size: 1em;
	min-height: 1300px; /* needed for portrait iPhones */ 
	}

img {
  -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
     -khtml-user-select: none; /* Konqueror HTML */
       -moz-user-select: none; /* Firefox */
        -ms-user-select: none; /* Internet Explorer/Edge */
            user-select: none; /* Non-prefixed version, currently
                                  supported by Chrome and Opera */
	}	

.noInput{
	pointer-events: none;
	-webkit-user-select: none; /* Safari */        
	-moz-user-select: none; /* Firefox */
	-ms-user-select: none; /* IE10+/Edge */
	user-select: none; /* Standard */
	}

/* main links */ 
a:link, a:visited, .link{
	color: #0097fe;
	font-weight: bold;
	text-decoration: none;
	cursor: pointer;
	}
a:hover, .link:hover{
	color: #6cb9ff;
	}
.link-red{
	color: #b50000;
	font-weight: bold;
	text-decoration: none;
	cursor: pointer;
	}
.link-red:hover{
	color: #ff3333;
	}

hr{
	clear: both;
	padding: 0px;
	margin: 20px 0px 0px 0px;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc; 
	}
h1{
	color: #0097fe;
	padding: 15px 0px 10px 0px;
	margin: 0px 0px 0px 0px;
	font-size: 3.5em;
	text-align: left;
	font-weight: bold;
	}
h2{
	font-weight: bold;
	font-size: 3em;
	line-height: .9em;
	padding: 25px 0px 0px 0px;
	margin: 0px;
	}
h3{
	font-weight: bold;
	font-size: 2.5;
	padding-top: 15px;
	}
p{
	font-size: 2.25em;
	}
#credit-scene li, #howPlay-scene li{
	font-size: 2.25em;
	line-height: 1.25em;
	padding: 8px 0px 8px 0px;
	}

#preload{
	display: none;
	}

.print-only{
	display: none;
	}

/* SCENES ------------------- */
#intro-scene, #howPlay-scene, #credit-scene{
	padding: 10px 20px 30px 20px;
	}

#gameWrapper{
	display: block;
	position: relative;
	text-align: left;
	width: 900px;
	padding: 0px 0px 0px 0px;
	margin: 0px auto 0px auto;
	}

/* FOOTER ------------------- */
#footer{
	margin: 0px auto 10px auto;
	position: relative;
	display: block;
	clear: both;
	text-align: left;
	width: 860px;
	padding: 5px 20px 0px 20px;
	border-top: 1px solid #ccc; 
	}	
#footer p{
	font-weight: normal;
	font-size: 1.5em;
	margin: 0px 0px 5px 0px;
	color: #aaa;
	}	
#footer a{
	font-weight: normal;
	color: #aaa;
	}
#footer a:hover{
	color: #50a8ff;
	text-decoration: underline;
	}	

/* MAIN BUTTONS ------------------- */	
.sceneButton{
	display: inline-block;
	position: relative;
	padding: 0px 5px 0px 5px;
	cursor: pointer;
	font-weight: bold;
	margin-top: 3px;
	margin-left: 0px;
	margin-right: 0px;
	background-color: #AEDAFF;
	border-radius: 2.5em;
	border: 1.5px solid #fff;
	}
/* noinput needed on p so wrapper can use event listeners */	
.sceneButton p, .infoBox .sceneButton p, #gameModeSelectionWrapper .sceneButton p{
	padding: 12px 12px 12px 12px;
	margin: 0px;
	font-size: 2.25em;
	color: #000;
	pointer-events: none;
	-webkit-user-select: none; /* Safari */        
	-moz-user-select: none; /* Firefox */
	-ms-user-select: none; /* IE10+/Edge */
	user-select: none; /* Standard */
	}
.sceneButton:hover{
	background-color: #83CDFF;
	z-index: 50;
	}
.sceneButton a:hover, .sceneButton a:link, .sceneButton a:visited{
	color: #000;
	}				
.clear{
	clear: both;
	padding: 0px;
	margin: 0px;
	line-height: 0px;
	}
/* more games button on Index page */
.sceneButton .more-games{
	background-color: #C5E8FF;
	margin-top: 30px;
}		
/* QUIT BUTTION */
.quit{
	float: right;
	background-color: #ff3333;
	}	
.quit:hover, .quit2:hover{
	background-color: #e50000;
	}
.quit a:hover, .quit a:link, .quit a:visited,
.quit2 a:hover, .quit2 a:link, .quit2 a:visited{
	color: #fff;
	}	
.quit p, .infoBox .quit2 p{
	color: #fff;
	}	

/* BUTTON BACK TO MAIN MENU IN WARNING TEXT OF PLAY GAME PAGE */
.quit2{
	background-color: #ff3333;
	margin: 10px 0px 10px 0px;
	border: none;
	} 

/* ACTIVE BUTTON */		
.button-active{
	background-color: #ffcb92;
	}	
.button-active:hover{
	background-color: #ffb776;
	}		


/* IMAGES ------------------- */
.float-left{
	padding: 0px;
	margin: 0px 15% 0px 0px;
	width: 70%;
	position: relative;
	clear: both;
	}
.float-left-small{
	padding: 0px;
	margin: 0px 15% 0px 0px;
	width: 40%;
	position: relative;
	}		
.float-right{
	padding: 0px;
	margin: 0px 0px 0px 15%;
	width: 70%;
	position: relative;
	clear: both;
	}	
.float-right-small{
	padding: 0px;
	margin: 0px 0px 0px 30%;
	width: 30%;
	position: relative;
	}	
.float-left img, .float-right img, .float-right-small img{
	width: 100%;
	}
.float-left p, .float-right p, .float-right-small p{
	padding: 0px;
	margin: 0px;
	color: #aaa;
	font-size: .825em;
	}	
.top-padding{
	padding-top: 20px;
	}

/* HOW TO PLAY ------------------- */
#howPlay-scene dl{
	clear: both;
	padding: 12px 0px 12px 0px;
	margin: 0px;
	}
#howPlay-scene dd{
	padding: 10px 0px 0px 3px;
	margin-left: 10%;
	font-size: 2.25em;
	}	
#howPlay-scene dt{
	float: left;
	width: 8%;
	padding-right: 20px;
	}
#howPlay-scene dt img{
	width: 100%;
	float: left;
	padding-bottom: 1px;
	}
.icons-img{
	padding:5px;
	border: 1px solid #cccccc;
	display: inline-block;
	}

/* MAIN ICONS ------------------- */
ul.indexIcons{
	text-align: center;
	padding: 0px;
	margin: 0px auto 0px auto;
	display: block;
	}
ul.indexIcons li{
	display: inline-block;
	width: 40%;
	padding: 0px 4% 0px 4%;
	margin: 0px auto 0px auto;
	text-align: center;
	vertical-align: top;
	color: #000;
	}					
ul.indexIcons li img{
	width: 65%;
	display: block;
	margin: 0px auto 10px auto;
	}					
ul.indexIcons p.icon-details{
	line-height: 1.15em;
	padding: 0px 5px 0px 5px;
	margin-top: 5px;
	color: #000000;
	}

/* BACK TO TOP BUTTON ------------------- */
#back-to-top{
	position: fixed;
	width: 6em;
	height: 6em;
	background-color: rgba(0,0,0,0.45);
	right: 0px;
	bottom: 0px;
	border-radius: 50%;
	text-align: center;
	margin-right: 1em;
	margin-bottom: 1em;
	padding-top: 0em;
	z-index: 1000;
	display: none;
	}
#back-to-top:hover{
	background-color: rgba(0,0,0,0.65);
	}
#tri {
  	width: 0; 
  	height: 0;
  	border-left: 2.25em solid transparent;
  	border-right: 2.25em solid transparent;
  	border-bottom: 2.5em solid #fff;
	margin: auto;
	padding-top: 1.4em;
	}	
		
/* INTRO SCENE ------------------- */	
#introScene{
	text-align: center;
	padding: 0px 0px 0px 0px;
	}
#introScene .footprints {
	text-align: center;
	width: 160px;
	margin: 40px auto 60px auto;
	opacity: .7;
	}	
#main-title-wrapper{
	position: relative;
	width: 100%;
	padding: 30px 0px 50px 0px;
	margin: 0px;
	text-align: center;
	display: block;
	}	
#introScene h1{
	font-family: 'Luckiest Guy';
	font-size: 8em;
	line-height: .9em;
	padding: 20px 0px 0px 0px;
	display: block;
	color: #275389;
	font-weight: normal;
	text-align: center;
	}	

#cellFactsWrapper{
	background-color: #d9f1ff;
	padding: 25px 20px 25px 20px;
	margin-top: 30px;
	}
#fact {
	padding-top: 0px;
}	

/* ICONS ------------ */		

/* MENU BUTTON ON PLAY SCREEN */
#mainMenuButton, #mainMenuButton0{
	position: absolute;
	top: 5px;
	right: 10px;
	}
/* HOW TO PLAY BUTTON */		
#howPlayButton{
	cursor: pointer;
	display: block;
	width: 3.5em;
	padding: 0px;
	margin: 0px; 
	top: 12px;
	right: 220px;
	position: absolute;
	z-index: 400;
	}
#soundButton{	
	cursor: pointer;
	display: block;
	width: 3.5em;
	padding: 0px;
	margin: 0px; 
	top: 12px;
	right: 150px;
	position: absolute;
	z-index: 400;
	}	
.closeX{
	width: 3.5em;
	position: absolute;
	right: 20px;
	top: 20px;
	cursor: pointer;
	}
/* INFOBOX (top of screen) */
.infoBox{	
	background-color: #5A5077;
	padding: 40px 110px 35px 30px;
	margin: 0px 0px 0px 0px;
	position: relative;
	display: none;
	clear: both;
	}
.infoBox p{
	color: #ffffff;
	margin: 0px;
	padding: 0px;
	font-size: 2em;
	}	
#menuWarningText{
	background-color: #820000;
	}	

/* PREGAME SCREEN FOR SELECTING GAME OPTIONS */
#gameModeSelectionWrapper{
	margin: 20px;
	}
.gameModeBlock{
	padding: 30px 0px 30px 0px;
	}	
.gameModeBlock.first{
	padding: 0px 0px 25px 0px;
	}
.gameModeBlock.border{
	border-top: 1px dashed #aaaaaa;
	}	
.gameModeBlock h2{
	margin-top: 0px;
	margin-bottom: 10px;
	}				
/* option block */
.optionsBlock{
	padding: 0px 0px 15px 0px;
	}	
.optionsBlock p{
	padding: 0px 0px 3px 0px;
	margin: 0px;
	}			
/* option links */	
p.gameModeOptions{
	font-size: 2em;
	margin: 10px 0px 10px 0px;
	}	
.gameModeOptions strong{
	color: #aaaaaa;
	font-weight: normal;
	}	
.gameModeOptions span{
	cursor: pointer;
	display: inline-block;
	padding: 4px 9px 3px 9px;
	margin: 0px 0px 3px 0px;
	background-color: #eeeeee;
	color: #000000;
	}	
.gameModeOptions span:hover{
	background-color: #dddddd;
	}	
.gameModeOptions span.active{
	background-color: #ffc5f4;
	}
.error{
	background-color: #ffdede;
	color: #ff0000;
	font-weight: bold;
	padding: 10px;
	margin: 5px 0px 5px 0px;
	display: none;
	}


/* WRAPPERS ------------------- */
#playScene, #pregameWrapper{
	padding: 10px 0px 10px 0px;
	}
#playScene h1, #pregameWrapper h1{
	padding-left: 20px;
	padding-right: 20px;
	}
#pregameWrapper ul{
	margin-top: 0px;
	margin-bottom: 0px;
	}
#gameScreenWrapper{
	display: block;
	position: relative;
	width: 900px;
	min-height: 600px;
	}
#sceneWrapper{
	display: block;
	position: absolute;
	top: 0px;
	left: 0px;
	z-index: 0;
	}
.scene{
	padding: 0px;
	width: 900px;
	height: 600px;
	background-repeat: no-repeat;
	background-size: 100%;
	background-position: top left;
	}
/* for main navigation buttons on the pregame screen */	
#navButtonsWrapper{
	padding: 0px 20px 0px 20px;
	}

/* GAME PORTION ------------ */

/* CELL TYPE and TOOL ICONS */
#cellTypeIconsWrapper, #toolWrapper{
	height: 120px;
	margin: 5px auto 0px auto;
	clear: both;
	text-align: center;
	}	
.cellTypeOption{
	width: 7.6em;
	height: 50px;
	position: relative;
	text-align: center;
	margin: 0px auto 0px auto;
	cursor: pointer;
	display: none;
	}
.toolOption{
	width: 7.6em;
	height: 50px;
	position: relative;
	text-align: center;
	margin: 0px auto 0px auto;
	cursor: pointer;
	display: inline-block;
	}	
.cellTypeOption img, .toolOption img{
	position: absolute;
	transform: translate(-50%, 0%);
	left: 50%;
	width: 80px;
	height: 80px;
	}
#cellTypeIconsWrapper .bgCircle{
	position: absolute;
	transform: translate(-50%, 0%);
	left: 50%;
	width: 80px;
	height: 80px;
	border-radius: 50%;
	background-color: #b3dfff;
	cursor: pointer;
	}
#toolWrapper .bgCircle{
	position: absolute;
	transform: translate(-50%, 0%);
	left: 50%;
	width: 80px;
	height: 80px;
	border-radius: 50%;
	background-color: #ddd2ff;
	cursor: pointer;
	}		
.cellTypeOption p, .toolOption p{
	padding: 0px;
	margin: 80px 0px 0px 0px;
	color: #bbbbbb;	
	cursor: pointer;
	font-size: 1.6em;
	}
#cellTypeIconsWrapper .bgCircle:hover{
	background-color: #99ccff;	
	}
#toolWrapper .bgCircle:hover{
	background-color: #d5b8ff;	
	}	
#cellTypeIconsWrapper .active .bgCircle, #cellTypeIconsWrapper .active .bgCircle:hover,
#toolWrapper .active .bgCircle, #toolWrapper .active .bgCircle:hover{
	background-color: #ffaa39;
	}
.cellTypeOption.active p, .cellTypeOption .active p:hover,
.toolOption.active p, .toolOption .active p:hover{
	color: #ff9900;	
	}
	

/* CELL SCREEN WRAPPER */
#cellScreenWrapper{
	width: 500px;
	padding: 0px 25px 0px 25px;
	float: left;
	clear: left;
	text-align: center;
	}	

/* Drag box */
#dragWrapper{
	position: relative;
	display: block;
	clear: left;
	border: 1px solid #cccccc;
	padding: 0px;
	margin-bottom: 20px;
	width: 498px;
	height: 498px;
	overflow: hidden;
	}
#dragWrapper img{
	padding: 0px;
	margin: 0px;
	display: block;
	}
.grab{
	cursor: -webkit-grab; 
	cursor: grab;
	}	
.grab:active{
	cursor: -webkit-grabbing; 
	cursor: grabbing;
	}	
#cellWrapper.smoothMove{
	transition: all 1s;
	}	
#cellWrapper svg, #cellWrapper img{
	-webkit-user-drag: none; 
	-khtml-user-drag: none; 
	-moz-user-drag: none; 
	-o-user-drag: none; 
	user-drag: none; 
	}
#cellWrapper.doubleCell svg, #cellWrapper.doubleCell img {
	width: 1000px;
	height: 1000px;
	}

/* HOTSPOTS */
#cellHotspots{
	display: none;
	}
.hotspotWrapper{
	position: absolute;
	top: 0px;
	left: 0px;
	}
.hotspotWrapper path{
	fill: #000dff;
	fill-opacity: 0;
	transition: all .1s ease-in-out;
	}		
.hotspotWrapper path:hover{
	fill-opacity: .3;
	cursor: pointer;
	}
.hotspotWrapper .active, .hotspotWrapper .active:hover{
	fill-opacity: .5;
	}	



/* INFOBOX */	
#infoBoxWrapper{
	float: right;
	width: 310px;
	padding: 70px 20px 30px 20px;
	min-height: 300px;
	background-color: #b3dfff;
	}
#infoBoxWrapper p{
	font-size: 2em;
	}	

/* PROGRESS BAR */
#progressBarWrapper{
	position: relative;
	display: none;
	background-color: rgba(255, 255, 255, .6);
	width: 100%;
	height: 25px;
	}
#progressBar {
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 0%;
	background-color: #0097fe;
	}

#cellTypeWrapper p, #difficultyWrapper p{
	margin: 0px 0px 5px 0px;
	font-weight: bold;
	}

/* SNAPSHOT FOR PROTEIN PATHWAYS*/

#miniSnapshots{
	margin-top: 10px;
	}

#miniSnapshots img{
	width: 72px;
	height: 72px;
	margin: 0px 3px 10px 0px;
	background-color: #ffffff;
	display: inline-block;
	}

/* feedback for protein pathways */
.wrong{
	font-weight: bold;
	color: #aa0000;
	}
.correct{
	font-weight: bold;
	color: #0051c6;
	}

/* feedback for part ID game */
.partIDNameFeedback{
	color: #0051c6;
	}
.partIDTextFeedback{
	display: none;
	color: #0051c6;
	}	

/* TIMER & ACCURACY */
#accuracyWrapper, #partCounterWrapper{
	display: none;
	width: 100%;
	margin: 0px;
	padding: 0px;
	}
#partCounterWrapper{
	display: none;
	width: 100%;
	margin: 0px;
	padding: 0px;
	}
#timerWrapper{
	text-align: left;
	width: 100%;
	margin: 0px;
	padding: 0px;
	}
#accuracyWrapper p, #partCounterWrapper p{
	font-size: 1.5em;
	padding: 0px;
	margin: 0px;
	}
#timerWrapper p{
	font-size: 1.5em;
	padding: 0px;
	margin: 0px 0px 10px 0px;
	}

/* text which shows the game mode name at top of infobox */
#gameModeWrapper{
	position: absolute;
	top: 15px;
	}
#gameModeWrapper p {
	text-transform: uppercase;
	font-size: 2em;
	padding: 0px;
	margin: 0px;
	color: #ffffff;
	font-weight: bold;
	}

/* EXPLORE ------------------- */ 
#infoBox{
	clear: both;
	}
/* loads cell info text for explore */
#cellInfo p, #partInfo p, #partsWrapper p{
	padding: 0px;
	margin: 0px;
	}
#cellInfo p.title, #partInfo p.title{
	font-weight: bold;
	} 	
#partInfo img{
	float: right;
	margin-left: 5px;
	background-color: #ffffff;
	width: 100px;
	height: 100px;
	}	

/* PARTS ID GAME ------------------- */ 
#feedbackBox{
	clear: both;
	}
.blockWrapper{
	display: block;
	clear: both;
	padding: 15px 0px 40px 0px;
	}
#partsWrapper img{
	float: right;
	margin: 0px 0px 0px 10px;
	background-color: #ffffff;
	width: 80px;
	height: 80px;
	}		

/* BOTH GAMES */
#scoreCard{
	background-color: rgba(255, 255, 255, .6);
	padding: 10px;
	}
#scoreCard p{
	padding: 0px 0px 10px 0px;
    margin: 0px;
    line-height: 1.25em;
	font-size: 1.5em;
	}	
#scoreCard .scoreTitle{
	font-size: 2.5em;
    font-weight: bold;
    padding: 10px 0px 5px 0px;
    margin: 0px;
	}	
#gameFinishedWrapper{
	display: none;
	}
#gameFinishedWrapper p{
	margin-bottom: 0px;
	}	

/* INFOBOX BUTTONS */
/* noinput needed on p so wrapper can use event listeners */	
.sideBoxButtonLarge{
	border-radius: 2.5em;
	background-color: #6d43a8;
	margin: 30px 0px 10px 0px;
	position: relative;
	display: block;
	clear: both;
	padding: 0px 5px 0px 5px;
	cursor: pointer;
	text-align: center;
	}
.sideBoxButtonLarge p{
	padding: 9px 12px 9px 12px;
	margin: 0px;
	font-weight: bold;
	color: #ffffff;
	pointer-events: none;
	-webkit-user-select: none; /* Safari */        
	-moz-user-select: none; /* Firefox */
	-ms-user-select: none; /* IE10+/Edge */
	user-select: none; /* Standard */
	}
.sideBoxButtonLarge:hover{
	background-color: #4e3089;
	}	

/* Player name */
#playerName{
	font-size: 2.5em;
	padding: 5px;	
	width: 100%;
	margin: 0px 0px 5px 0px;
	border: none;
	}		
/* PRINT ------------------- */ 
#printSummary{
	display: none;
	}
#playerPrintSummary{
	display: none;
	}
#printButton{
	margin-bottom: 30px;
}

/* Removes blue highlight when clicked */
a:active, img:active, .sceneButton:active, #howPlayButton:active, #soundButton:active, path:active{
	-webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    outline: none;
}	
