
body {
background: white;
font-family: sans-serif;

}

.pagearea {
  position:absolute;
  left:20px;
  top:20px;
  right:20px;
  bottom:20px;
    

  
  
        user-select: none;
        -moz-user-select: none;
        -khtml-user-select: none;
        -webkit-user-select: none;
        -o-user-select: none;
}

.game {
    width:820px;
    -ms-transform-origin: top left;
    -webkit-transform-origin: top left;
    transform-origin: top left;
    -webkit-transition: all 500ms ease-in-out !important;
    transition: all 500ms ease-in-out !important;
    position: absolute;
    border-radius: 15px;
    border: solid 2px black;
    background-image: url(images/attic_wall.png);
    background-repeat: no-repeat;
    background-size: contain;

}

#Game_Area {
	width:820px;
	height:450px;
	z-index:1;
}

.g_id_signin {
    display: flex;
    bottom: 5px;
    position: absolute;
    right: 5px;
    z-index: inherit;
}

.nsm7Bb-HzV7m-LgbsSe {
    height: 28px !important;
}


#copyright {
    font-size: 0.7em;
    position:absolute;
    right: 10px;
    bottom: -20px;
	color: gray    ;
    padding: 3px;
}

form {
    height: 44px;
	right:0px;
    position:relative;
    width: 300px;
    float:right;
    margin-block-end: 10px;
}

fieldset p {
	margin-block-start: 11px;
    margin-block-end: 11px;
}

fieldset {
    padding: 0 3px 6px 1px;
  	border-color: white;
  	border-radius: 15px;
  	border-width: 5px;
  	border-style: double;
}

legend {
 	color:white;
      font-weight: bold;
}

select {
 	font-size:14px; 
}

#myform input {
    width: 45px;
}


#topicbox{
  	position:relative;
    width : 430px;
float: left;
    clear: both;
}

#topicbox h1 {
    height: 44px;
    margin: 0;
    padding: 0 10px;
}


#question {

    font-family: 'Fira Mono';
    font-weight:normal;    
    white-space:pre;
    /* 
    background-color: rgba(255,255,255,0.5); 
    border: 5px double white;
    border-radius: 15px;
    */

}

h1, h2, h3 {
color: white;
padding: 7px 20px;
margin: 5px 0;
text-align: center;
}



#gamearea{
    margin: 20px 13px 10px 13px;
    clear: both;
    overflow-y: auto;
    height: 400px;
    border: solid 2px white;
    padding: 2px;
    background: rgba(255,255,255,0.7);
    border-radius: 7px;
}

#quest {
    width: 100%;
    box-sizing: border-box;
    height: 145px;
    font-size: 1.6em;
    font-family: 'Fira Mono';
    font-weight: normal;
    background-color: rgba(255,255,255,0.7);
    border: 5px solid white;
    border-radius: 15px;
    position: relative;
    float: left;
    margin-top: 10px;
    padding: 2px 10px;
  
}


.textarea,
[contenteditable] {
    -webkit-user-select: text;
    user-select: text;
}


.greenlight {
	background-color: 88ff88;
}

.pinklight {
	background-color: #ff8888;
}

#Instruction_Score {
	z-index:3;
}

.box{
background: #eee;
height: 65px;
width: 75px;
float: left;
margin: 10px 10px;
text-align: center;
padding-top: 20px;
font-size: 36pt;
cursor: pointer;
}

.box:empty {
	background-color:rgba(240, 240, 240, 0.3);
}

.nonbox{
background: #eee;
height: 65px;
width: 125px;
float: left;
margin: 10px 15px;
text-align: center;
padding-top: 20px;
font-size: 36pt;
cursor: pointer;
}


#question, #title{
	width: 430px;
	float: left;
}



#feedback {
width: 380px;
height: 77px;
float: left;
text-align:center;
padding: 5px;
  border:5px double white;
  border-radius:15px;
  background-color: rgba(255,255,255,0.7);
  margin: 10px 0;
}


#score_col{
  column-count: 2;  
  column-fill: balance;
}

h4 {
	margin-block-start: 2px;
    margin-block-end: 3px;
}

#instructions{
	margin: 80px;
}

#separator {
clear: both;
border-top: solid 1px #ccc;
}


#number1, #number2, #answer, #line, #start, #remainder {
	display:block;
	float:left;
}

#number1 {
	border-left: solid 3px black;
	border-top: solid 3px black;
}

#answer{
	margin-left: 193px;
}

#u4{
	float:right;
}

#remainder{
	font-size: 36pt;
}

#line{
	width:100%;
}

hr{
	border: 2px solid #e0e0e0;
	margin:0px;
}

#checkbutton {
float:right;
width: 210px;
margin-top: 10px;
text-align:center;
}

#checkbutton h1 {
	padding: 5px 20px;
	margin: 2px auto;
	cursor: pointer;
border: double white 5px;
border-radius: 15px;
  background-color: rgba(0,0,0,0.3);
}

#embedcode, #embedcode a {
	color:lightgray;
	clear:right;
  	font-size: 9pt; 
}

p {
 	margin: 0 20px; 
}

#meaningbox h4{
    color: white;
    background-color: black;
    position: relative;
    float: left;
    width: 320px;
    margin: 5 0 25 0;
    padding: 4 0 0 30;
}

.options {
    width: 280px;
    height: 22px;
    float: left;
    text-align:center;
    padding: 0 5px 5px 5px;
    border:5px double white;
    border-radius:15px;
    /* background-color: rgba(255,255,255,0.5); */
    margin: 0px 0px 0 12px;
}

#optionsbox{
    margin-top: 5px;
    height: 35px;
    position: relative; 
    float:right;
    display:block;  
}

#optionsbox legend {
    text-align: left;
}

#genrebox {
    padding: 13px 0 16px 0;
}

#genrebox select {
    margin-left: 30px;
}

.options h3 {
    display: inline;
    padding: 0px 10px;
}


.spacer {
    user-select: text;
    display:inline;
}

#scorezone {
    font-size: 12px;
    color: black;
    float: right;
    margin: 5px 5px 0 0;
    position: relative;
}

#spagreturn{

    margin: -3px 0 0 -3px;
    float: left;
    
}

#pictureframe{
    text-align: center;
    width: 148px;
    padding: 28px 0;
    position: absolute;
    left: 340px;
    top: 114px;
    

    
    
}

#desk{
    position: absolute;
    height: 180;
    bottom: 40;
    left: 110;
}

#desk img{
  height: 180px;  
}



#deskchair {
    bottom: 0px;
    left: 157px;
    position: absolute;
}

#deskchair img{
  height: 230px;  
}





#chair {
    left: 550;
    position: absolute;
    bottom: 45;
}

#chair img {
    height: 200px;
}

#basket {
   bottom: 45;
    left: 20;
    position: absolute;
}

#basket img {
    height:120px;
}

#floor {
   bottom: 0;
    left: 0;
    position: absolute;
}

#floorImg {
    border-radius: 15px;
}

#wall {
   top: 0;
    left: 0;
    position: absolute;
}

#wallImg {
    border-radius: 15px;
}

#plant {
    bottom: 70;
    position: absolute;
    left: 450;
}

#plant img{
    height: 180px;
}

#lamp {
    bottom: 195px;
    left: 120px !important;
    position: absolute;
}

#lamp img {
    height: 100px;
}

#pad {
    bottom: 195px;
    left: 255px !important;
    position: absolute;
}

#pad img {
    height: 25px;
    width: 60px;
}

#picture {
    bottom: 245px;
    left: 333px !important;
    position: absolute;
    height: 110px;
    width: 158px;
    background: white;
    border: 2px solid white;
    outline: 3px solid black;
    text-align: center;
    
    
    background: url(images/gramattic.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position-y: center;
    background-color: white;
    
    
}

#picture img {
    height: 110px;
    max-width: 158px;
}

#toy {
    bottom: 35px;
    left: 350px !important;
    position: absolute;
}

#toy img {
    height: 100px;
}









#logo {
    vertical-align: top;
    top: 10;
    position: absolute;
    left: 10;
}

#logo img{
    height: 70px;
    margin-left: -180px;
    margin-top: -6;
}

#logo span {
    float: left;
    margin-left: 55;
    font-size:13px;
}

.grow { transition: all .2s ease-in-out; }
.grow:hover { transform: scale(1.1); }

.button{
    background-image: url(images/button.png);
    background-size: 100% 100%;
    min-height:15px;
    padding: 5 20;
    text-align: center;
    margin: 5;
}

#menu  {
    position: absolute;
    bottom: 270;
    left: 550px;
    font-family: "Bradley Hand","Comic Sans",monospace;
    color: saddlebrown;
    text-decoration: none;
}

#menu a {
    color: saddlebrown;
    text-decoration: none;
}


.shopItem { 
    width: 140px;
    height: 140px;
    margin: 5px;
    background: rgba(255,255,255,0.8);
    border: solid 1px #222222;
    border-radius: 10px;
    float: left;
    position: relative;
}


.shopItem p {
    bottom: 5px;
    position: absolute;
    font-size: 12px;
    text-align: center;
    width: 100;
    background: #d8e1ff;
    padding: 2;
    border-radius: 7px;
    border: solid 1px gray;
}


#gamearea div img {
        max-height: 60%;  
        max-width: 90%; 
        position: absolute;  
        top: 0;  
        bottom: 0;  
        left: 0;  
        right: 0;  
        margin: auto;
}

.shopItem span img {
    display: inline;
    position: relative !important;
    margin-top: 2px !important;
}

.shopItem span {
    padding: 2px 5 !important;
    margin: 5px;
    position: absolute;
    background-color: rgba(255,255,255,0.7);
    padding: 0 3px;
    border-radius: 7px;
    border: solid 1px gray;
    font-size: 13px;
}

.state img {
    height:24px;
    position: relative !important;
    float: right;
    margin: 5 !important;
}

#pig {
    position: absolute;
    bottom: 195px;
    left: 320px;
}

#pig img {
    height: 44px;
}

#SpagReturn {
    top: 4px;
    position: absolute;
    left: 4px;
}

#help {
    visibility: hidden;
    background: rgba(255,255,255,1);
    border: solid 10px rgba(30,144,255,0.3);
    border-radius: 15px;
    height: 405px;
    width: 774px;
    position: absolute;
    top: 3px;
    left: 3px;
    text-align: left;
    scrollbar-width: thin;
    padding: 10;
    z-index: 999;
}


div::-webkit-scrollbar {
    background: rgba(255,255,255,0);
    width: 12px;
    height:260px;
    
}

div::-webkit-scrollbar-track {
  box-shadow: inset 0 0 5px #cdd2ff; 
  border-radius: 10px;
    width:12px;
    height: 200px;
}
 
div::-webkit-scrollbar-thumb {
  background-color: #cdd2ff; 
  border-radius: 8px;
    width:8px;
}

iframe {
    width: 100%;
    border: none;
    height: 100%;
}


#innerHelp {
    margin: 0 auto;
    border-radius: 15px;
    box-shadow: 0px 0px 15px white;
}

#closeHelp {
    padding: 5px;
    position: fixed;
    top: 15;
    right: 35;
}


#openHelp {
    height: 15;
    width: 30;
    position: relative;
    float: left;
    margin: 71px 0 0 18px;
}

#openHelp span {
    text-align:center;
    margin-left:2px;
}
