/*
 Steroidogenesis Game 
 Designed by Sara Freeman and Matt Gilbert
 Programming by Matt Gilbert
 HHMI Howard Hughes Medical Institute Grant No. 52005873
 Copyright 2012 Emory University
*/

/* 
   HTML RESET
   To reduce browser inconsistencies.

   http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
	line-height: 1.4em;
}
strong {
  font-weight:bold;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
html{
  overflow-y:scroll;
  background-color:#fff;
}
body {
	line-height: 1; 
}
ul {
	list-style: none;
}
ol{
  list-style-type: decimal;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

/* Type */

h1{
  font-size: 150%;
  font-weight:bold;
  text-align:center;
  margin: 10px;
}
h2{
  font-size: 150%;
  font-weight:bold;
  padding: 10px 10px 5px 30px;
}
h3, h4{
  font-size: 100%;
  font-weight:bold;
  padding-bottom: 5px;
  text-align: center;
  height: 15px;
}
ul{
list-style-type: disc;
  margin-left: 2em;
}
li{
  padding-bottom: 5px;
}
p{
margin: 0 0 1em 0;
}
a, #view-instructions{
  color:#1B7EAF;
  text-decoration:underline;
}



/* Layout */

html{
display: block;
font-family: Helvetica, Arial, sans-serif;
font-size:.8em;
}
#page {
margin-left: auto;
margin-right: auto;
  max-width: 950px;
}

#header,
#main,
#footer {
  *position: relative;
  *zoom: 1;
}

#header:before, #header:after,
#main:before, #main:after,
#footer:before, #footer:after {
  content: "";
  display: table;
}
#header:after,
#main:after,
#footer:after {
  clear: both;
}

#header{
padding:0;
margin:0;
 width:100%;
}

#molecule{
  width: 610px;
  float:left;
  position:relative;
}

select{
  margin-top:0;
}
#stats{
  float:left;
  width: 100%;
}
#stats-inner{
  margin-top: 10px;
}

#footer{
  float: left;
  margin: 10px 15% 40px;
}
  
.ui-dialog p{
  margin: 1 em 0;
}


.enzymeoptions{
  position:absolute;
  border: solid #aaa;
  border-width:2px 2px 1px 2px;
}
.enzymeoption{
  border-bottom: 1px solid #aaa;
  background-color:#BDC7D4;
}
.enzymeoption.unavailable{
  font-style:italic;
  color:#888;
}
g.unavailable{
  visibility:hidden;
}

#options-5{
  left: 220px;
  top: 330px;
}
#options-benzene{
  top: 220px;
  left: 80px;
}
#options-17{
  top: 190px;
  left: 480px;
}
#options-18{
top: 110px;
left: 140px;
}
#options-21{
  top: 70px;
  left: 220px;
}
#options-20{
top: 40px;
left: 350px;
}
#options-11{
top: 150px;
left: 70px;
}
#options-3{
top: 370px;
left: 30px;
}
#options-16{
top: 250px;
left: 400px;
}
#enzymes-used{
  float:left;
  width: 200px;
}
#enzymes-used-inner{
  margin-right: 10px;
}
#map{
  float:left;
  position:relative;
}
#map, #map-front, #map-back{
  width:750px;
  height:415px;
  top:0;
  left:0;
}
#map-front{
  position:absolute;
  background-image:url(images/map-front.png);
  z-index: 2;
}
#map-back{
  position:absolute;
  background-image:url(images/map-back.png);
  z-index: -3;
}
#map-goal,#map-user{
  position: absolute;
  width: 10px;
  height: 10px;
}
#map-goal{
  background: #85FF88;
  z-index: -1;
}
#map-user{
  background:#9FD4FF;
  z-index: -2;
}

#goal-molecule-inner{
  border:solid 2px #85FF88; 
  margin-left: 42px;
}
#user-molecule-inner{
  border:solid 2px #9FD4FF; 
}
#goal-molecule-inner h2{
  background:#85FF88; 
}
#user-molecule-inner h2{
  background:#9FD4FF;
}
#enzymes-used-list{
  border: solid 1px #999;
  display: block;
  padding: 5px 5px 20px 5px;
  list-style:none;
}
#enzymes-used-list li{
  background-color: #476782;
  color: white;
  padding: 3px;
  border-bottom: 1px white solid;
}
#undo-enzyme, #reset, #newgoal{
  text-decoration:underline;
  color:#1B7EAF;
  cursor:pointer;
}
*.unselectable {
   -moz-user-select: -moz-none;
   -khtml-user-select: none;
   -webkit-user-select: none;
   -o-user-select: none;
   -ms-user-select: none;
   user-select: none;
}
#m-user-holder{
  border:2px solid #ff9;
  background:#FFFDDC;
}
#m-goal-holder{
  border:2px solid #9f9;
  background:#EEFFEE;
}

#user-molecule, #goal-molecule{
float: left;
}
.goodjob{
text-align: center;
font-size: 1.5em;
font-weight: bold;
}
.pop-close{
width: 100%;
clear: both;
}
.pop-close-button{
float: right;
border: 1px solid;
padding: 5px 15px;
margin: 10px;
margin-top: 0;
font-weight: bold;
background-color: #DDD;
}
.pop-close-button:hover{
  cursor:pointer;
background-color: #eee;
}
