body{
	margin: 0px;
	padding: 10px;
	background-color: #ffffff;
	text-align: center;
	display: flex;

	flex-direction: column;

	justify-content: center;

	align-content: center;

	align-items: center;
}

.body-m{
	padding: 0px;
	margin-top: 10px 0px 10px 0px;
	background-color: #ffffff;
	display: flex;

	flex-direction: column;

	justify-content: center;

	align-content: center;

	align-items: center;
}
#app-main-window{

	width: 100%;

	height:100%;
	max-width: 800px;
	min-height: 600px;
	max-height: 800px;

	border-radius: 10px;
	
	background-color: #ffffff;
  	background-image: url("ttbg.jpg");
  	background-repeat: no-repeat;
  	background-position: center top;
	background-size:cover;
	
	padding: 0px;

	display: flex;

	flex-direction: column;

	justify-content: center;

	align-content: center;

	align-items: center;
	
	font-family: Segoe, "Segoe UI", "DejaVu Sans", "Trebuchet MS", Verdana, "sans-serif";

}

#app-main-window-m{

	width: 100%;
	height: 600px;
	min-height: 600px;
	max-height: 800px;

	border-radius: 0px;
	
	background-color: #ffffff;
  	background-image: url("bg1.jpg");
  	background-repeat: no-repeat;
  	background-position: center top;
	background-size:cover;
	
	padding: 0px;

	display: flex;

	flex-direction: column;

	justify-content: flex-start;

	align-content: center;

	align-items: center;
	
	font-family: Segoe, "Segoe UI", "DejaVu Sans", "Trebuchet MS", Verdana, "sans-serif";
}

#app-top{

	width: 100%;
	height: 60%;
	padding: 0px;
	display: flex;

	flex-direction: column;

	justify-content: flex-start;

	align-content: center;

	align-items: center;

}

#app-bottom{

	width: 80%;
	max-width: 900px;
	height: 20%;
	top: 0;
	padding: 10px;
	display: flex;
	flex-direction:row;
	justify-content: space-around;
	align-content: center;
	align-items: center;
	
	background-color: rgba(256,256,256,0.75);
	border-radius: 10px;
	

}
#close-options{
	
	width: 100px;
	background-color:#666666 ;
	text-align: center;
	padding: 10px;
	cursor: pointer;
	margin-right: 40px;

	color:#ffffff;
	border-radius: 3px;
	text-decoration: none;
	font-family:Gotham, "Helvetica Neue", Helvetica, Arial, "sans-serif";
	font-size: 1.2em;

}


#close-options:hover{
	background-color:#888888 ;
}
#options-window{
	width: 80%;
	max-width: 900px;
	background-color: rgba(255,241,228,1);
	border: #ddc3b3 10px solid;
	border-radius: 10px;
	height: 0px;
	margin-bottom: 5%;
	margin-top: -280px;
	padding: 0px 1px 0px 1px;
	
	flex-direction:column;
	justify-content: flex-start;
	align-content: flex-start;
	align-items: flex-start;
	overflow: hidden;
	display: none;
	
}

.options-opt-name{
	width: 40%;
	max-width: 900px;
	text-align: right;
	font-size: 1.5em;
	line-height: 100px;
	
}


.options-opt-name-m{
	width: 40%;
	max-width: 900px;
	text-align: right;
	font-size: 1.0em;
	line-height: 25px;

	
}

#game-window{
	width: 100%;
	height: 100%;
	padding: 20px;
	
	flex-direction:column;
	justify-content: flex-start;
	align-content: center;
	align-items: center;
	text-align: center;
	display: none;
	
}
.options-dig-text{
	text-align: center;
	display: inline-block;
	width: 40px;
	padding: 0px;
	border: #009900 1px solid;
	font-size: 1.5em;
	line-height:40px;
	cursor: pointer;
	border-radius: 20px;
	margin: 5px 0px 5px 10px;
	font-weight: bold;
	color:#009900;
}

.options-dig-text-m{
	text-align: center;
	display: inline-block;
	width: 24px;
	padding: 0px;
	border: #009900 1px solid;
	font-size: 1.0em;
	line-height:24px;
	cursor: pointer;
	border-radius: 13px;
	margin: 5px 0px 5px 1px;
	font-weight: bold;
	color:#009900;
}


.options-dig-text-not{
	text-align: center;
	display: inline-block;
	width: 40px;
	padding: 0px;
	border: rgba(1,1,1,0) 1px solid;
	font-size: 1.5em;
	line-height: 40px;
	cursor: pointer;
	border-radius: 20px;
	margin: 5px 0px 5px 10px;
	font-weight: bold;
	color:#999999;
}


.options-dig-text-not-m{
	text-align: center;
	display: inline-block;
	width: 24px;
	padding: 0px;
	border: rgba(1,1,1,0) 1px solid;
	font-size: 1.0em;
	line-height: 24px;
	cursor: pointer;
	border-radius: 12px;
	margin: 5px 0px 5px 1px;
	font-weight: bold;
	color:#999999;
}

.options-time-text{
	text-align: center;
	display: inline-block;
	width: 40px;
	padding: 0px;
	border: #009900 1px solid;
	font-size: 1.5em;
	line-height: 40px;
	height:40px;
	cursor: pointer;
	border-radius: 21px;
	margin: 5px 0px 5px 10px;
	font-weight: bold;
	color:#009900;
}

.options-time-text-m{
	text-align: center;
	display: inline-block;
	width: 24px;
	padding: 0px;
	border: #009900 1px solid;
	font-size: 1.0em;
	line-height: 24px;
	height:24px;
	cursor: pointer;
	border-radius: 13px;
	margin: 5px 0px 5px 1px;
	font-weight: bold;
	color:#009900;
}

.options-time-text-not{
	text-align: center;
	display: inline-block;
	width: 42px;
	padding: 0px;
	border: 0px;
	font-size: 1.5em;
	line-height: 42px;
	height:42px;
	cursor: pointer;
	border-radius: 21px;
	margin: 5px 0px 5px 10px;
	font-weight: bold;
	color:#999999;
}




.options-time-text-not-m{
	text-align: center;
	display: inline-block;
	width: 24px;
	height: 24px;
	padding: 0px;
	border: rgba(255,255,255,0) 1px solid;
	font-size: 1.0em;
	line-height: 24px;
	cursor: pointer;
	border-radius: 12px;
	margin: 5px 0px 5px 1px;
	font-weight: bold;
	color:#999999;
}


#game-message{
	width: 100%;
	height: 100%;
	padding: 0px;
	flex-direction:column;
	justify-content: center;
	align-content: center;
	align-items: center;
	display: flex;

	
}



#time-out{
	width: 50%;
	height: 60%;
	padding: 20px;
	margin-top: 40px;
	flex-direction:column;
	justify-content: center;
	align-content: center;
	align-items: center;
	display: none;
	background-color: rgba(255,255,255,.95);
	border-radius: 10px;

	
}

#question-text{
	width: 90%;
	text-align: center;
	height: 100px;
	line-height: 100px;
	color: #000000;
	font-size: 3em;
	display: flex;
	flex-direction:row;
	justify-content: center;
	align-content: center;
	align-items: center;
}

.question-answer{
	width: 112px;
	text-align: center;
	height: 112px;
	line-height: 107px;
	color: #000000;
	font-size: 4em;
	display: flex;
	flex-direction:row;
	justify-content: center;
	align-content: center;
	align-items: center;
	border: #000000 4px solid;
	border-radius:63px; 
	margin: 0px 20px 40px 20px;
	cursor: pointer;
	padding-bottom: 0px 3px 6px 3px;
}

.question-answer-correct{
	width: 112px;
	text-align: center;
	height: 112px;
	line-height: 107px;
	font-size: 4em;
	display: flex;
	flex-direction:row;
	justify-content: center;
	align-content: center;
	align-items: center;
	border: #009900 4px solid;
	border-radius:63px; 
	margin: 0px 20px 40px 20px;
	cursor: pointer;
	padding-bottom: 0px 3px 6px 3px;
	background-color: #009900;
	color: #ffffff;
}

.question-answer-wrong{
	width: 112px;
	text-align: center;
	height: 112px;
	line-height: 107px;
	font-size: 4em;
	display: flex;
	flex-direction:row;
	justify-content: center;
	align-content: center;
	align-items: center;
	border: #990000 4px solid;
	border-radius:63px; 
	margin: 0px 20px 40px 20px;
	cursor: pointer;
	padding-bottom: 0px 3px 6px 3px;
	background-color: #990000;
	color: #ffffff;
}

.question-answer-wrong-correct{
	width: 112px;
	text-align: center;
	height: 112px;
	line-height: 107px;
	font-size: 4em;
	display: flex;
	flex-direction:row;
	justify-content: center;
	align-content: center;
	align-items: center;
	border: #009900 4px solid;
	border-radius:63px; 
	margin: 0px 20px 40px 20px;
	cursor: pointer;
	padding-bottom: 0px 3px 6px 3px;
	background-color: #ffffff;
	color: #009900;
}

.question-answer:hover{
	border: #999999 4px solid;
	background-color: #999999;
	color: #ffffff;
}


#question-container{
	width: 100%;
	text-align: center;
	flex-direction:column;
	justify-content: center;
	align-content: center;
	align-items: center;
	font-weight: bold;
	display: none;
}

#answer-container{
	width: 100%;
	text-align: center;
	flex-direction:row;
	justify-content: center;
	align-content: center;
	align-items: center;
	font-weight: bold;
	display: none;
}


#question-numbers{
	width: 90%;
	text-align: center;
	height: 100px;
	line-height: 100px;
	color: #000000;
	font-size: 5em;
	display: flex;
	flex-direction:row;
	justify-content: center;
	align-content: center;
	align-items: center;
	font-weight: bold;
}



#question-text-m{
	width: 90%;
	text-align: center;
	height: 60px;
	line-height: 60px;
	color: #000000;
	font-size: 1.5em;
	display: flex;
	flex-direction:row;
	justify-content: center;
	align-content: center;
	align-items: center;
}

.question-answer-m{
	width: 64px;
	text-align: center;
	height: 64px;
	line-height: 61px;
	color: #000000;
	font-size: 2.0em;
	display: flex;
	flex-direction:row;
	justify-content: center;
	align-content: center;
	align-items: center;
	border: #000000 2px solid;
	border-radius:36px; 
	margin: 0px 10px 20px 10px;
	cursor: pointer;
	padding: 0px 2px 4px 2px;
}

.question-answer-correct-m{
	width: 64px;
	text-align: center;
	height: 64px;
	line-height: 61px;
	font-size: 2.0em;
	display: flex;
	flex-direction:row;
	justify-content: center;
	align-content: center;
	align-items: center;
	border: #009900 2px solid;
	border-radius:36px; 
	margin: 0px 10px 20px 10px;
	cursor: pointer;
	padding: 0px 2px 4px 2px;
	background-color: #009900;
	color: #ffffff;
}

.question-answer-wrong-m{
	width: 64px;
	text-align: center;
	height: 64px;
	line-height: 61px;
	font-size: 2.0em;
	display: flex;
	flex-direction:row;
	justify-content: center;
	align-content: center;
	align-items: center;
	border: #990000 2px solid;
	border-radius:36px; 
	margin: 0px 10px 20px 10px;
	cursor: pointer;
	padding: 0px 2px 4px 2px;
	background-color: #990000;
	color: #ffffff;
}

.question-answer-wrong-correct-m{
	width: 64px;
	text-align: center;
	height: 64px;
	line-height: 61px;
	font-size: 2.0em;
	display: flex;
	flex-direction:row;
	justify-content: center;
	align-content: center;
	align-items: center;
	border: #009900 2px solid;
	border-radius:36px; 
	margin: 0px 10px 20px 10px;
	cursor: pointer;
	padding: 0px 2px 4px 2px;
	background-color: #ffffff;
	color: #009900;
}

.question-answer:hover-m{
	border: #999999 2px solid;
	background-color: #999999;
	color: #ffffff;
}


#question-container-m{
	width: 100%;
	text-align: center;
	flex-direction:column;
	justify-content: center;
	align-content: center;
	align-items: center;
	font-weight: bold;
	display: none;
}

#answer-container-m{
	width: 100%;
	text-align: center;
	flex-direction:row;
	justify-content: center;
	align-content: center;
	align-items: center;
	font-weight: bold;
	display: none;
}


#question-numbers-m{
	width: 90%;
	text-align: center;
	height: 80px;
	line-height: 80px;
	color: #000000;
	font-size: 3em;
	display: flex;
	flex-direction:row;
	justify-content: center;
	align-content: center;
	align-items: center;
	font-weight: bold;
}


#wrong{
	width: 100%;
	padding: 0px;
	position: relative;
	margin-top: -200px;
	margin-left: 0;
	
}

#wrong-again{
	width: 80%;
	height: 50px;
	padding: 20px;
	flex-direction:row;
	justify-content: center;
	align-content: center;
	align-items: center;
	text-align: center;
	display: none;
	border-radius: 10px;
	background-color: rgba(255,255,255,.9);
}

#wrong-again-button{
	width: 200px;;
	height: 50px;
	padding: 0px;
	line-height: 50px;
	background-color: rgba(99,99,99);
	border-radius: 10px;
	cursor: pointer;
	color: #ffffff;
	font-size: 1.2em;
	margin-right: 40px;
}

#wrong-again-button:hover{
	
	background-color: rgba(123,123,123,1);
	
}


#correct{
	width: 100%;
	padding: 0px;
	position: relative;
	margin-top: -200px;
	margin-left: 0;
	
}

#timeup-again{
	width: 200px;;
	height: 50px;
	padding: 0px;
	line-height: 50px;
	background-color: rgba(99,99,99);
	border-radius: 10px;
	cursor: pointer;
	color: #ffffff;
	font-size: 1.2em;	
}

#timeup-again:hover{
	
	background-color: rgba(123,123,123,1);
	
}

#game-message img{
	width: 0%;
	padding: 0px;
	border-radius: 10px;
}


#game-top{
	width: 80%;
	height: 50px;
	padding: 20px;
	background-color: rgba(255,255,255,0.95);
	display: flex;
	flex-direction:row;
	justify-content: center;
	align-content: center;
	align-items: center;
	border-radius: 10px;
	
}

#game-main{
	width: 80%;
	padding: 5px 0px 5px 0px;
	height: 100%;
	margin-top: 10px;
	background-color: rgba(255,255,255,0);
	display: none;
	flex-direction:column;
	justify-content: flex-start;
	align-content: center;
	align-items: center;
	text-align: center;
	
}

.game-main-m{
	width: 100% !important;
	margin:10px 0px 0px 0px !important;

	
}

#first-number, #second-number, #result, #line, #number1,#number2{
	width: 100%;
	
	padding: 5px;
	display: flex;
	flex-direction:row;
	justify-content: center;
	align-content: center;
	align-items: center;
	text-align: center;
	
}


#app-name{
	width: 80%;
	height: 180px;
	background-color: rgba(255,255,255,0.9);
	display: flex;
	flex-direction:column;
	justify-content: center;
	align-content: center;
	align-items: center;
	text-align: center;
	
	font-family: Segoe, "Segoe UI", "DejaVu Sans", "Trebuchet MS", Verdana, "sans-serif";
	padding: 50px 10px 50px 10px;
	border-radius: 10px;
}


.app-name-m{

	margin-top: -40px  !important;

}


#highest-score-head-m{
	font-size: 1.1em;
	color:red;
	padding: 20px;
}
#highest-score-number-m{
	font-size: 1.5em;
	color:black;
	font-weight: bold;
}




#first-number img, #second-number img, #result img,#line img{
	max-width: 6%;		
}

#number1 div, #number2 div{
	max-width: 8%;		
}

#numbers{
	width: 100%;
	height: 100%;
	padding: 20px;
	display: flex;
	flex-direction:column;
	justify-content: center;
	align-content: center;
	align-items: center;
	text-align: center;
	background-color: rgba(255,255,255,.95);
	border-radius: 10px;
	
	
}



.numbers-m{
	
	padding: 10px !important;
	
}

.numbers-m div div{
	max-width: 18% !important;
	
}

#number1 img, #number2 img{
	width: 100%;
}
#number1 div, #number2 div{
	border: 1px #666666 solid;
	background-color: rgba(255,255,255,1);
	border-radius: 10px;
	margin-right: 10px;
	cursor: pointer;
	padding: 10px;
}

#number1 div:hover, #number2 div:hover{
	background-color: #e9e9ff;
}

.numbers-m{
	
}



#game-back-button{
	width: 40px;
	text-align: center;
	height: 40px;
	padding: 0px;
	line-height: 20px;
	background-color: rgba(99,99,99);
	cursor: pointer;
	color: #ffffff;
	font-size: 1.5em;
	display: flex;
	flex-direction:row;
	justify-content: center;
	align-content: center;
	align-items: center;
	border-radius: 20px;
	font-weight: bold;
}

#game-back-button:hover{
	
	background-color: rgba(123,123,123,1);
	
}


#game-score{
	border-radius: 3px;
	height: 40px;
	padding: 0px;
	line-height: 40px;
	color:#666666;
	font-size: 1.2em;
	display: flex;
	flex-direction:row;
	justify-content: center;
	align-content: center;
	align-items: center;
	text-align: center;
}


.game-score-m{
	
	font-size: 0.8em !important;

}

#hi-score{
	border-radius: 3px;
	height: 40px;
	padding: 0px;
	line-height: 40px;
	color:#666666;
	background-color: rgba(255,255,255,0.75);
	font-size: 1.2em;
	flex-direction:row;
	justify-content: center;
	align-content: center;
	align-items: center;
	text-align: center;
	position: absolute;
	display: none;
	font-family: Segoe, "Segoe UI", "DejaVu Sans", "Trebuchet MS", Verdana, "sans-serif";
}

#game-time{
	width: 44px;
	padding: 0px;
	display: flex;
	flex-direction:row;
	justify-content: center;
	align-content: center;
	align-items: center;
	text-align: center;
	border: #009900 2px solid;
	font-size: 1.5em;
	line-height: 44px;
	height:44px;
	border-radius: 24px;
	margin: 5px 0px 5px 10px;
	font-weight: bold;
	color:#009900;
	
	
}


.game-time-m{
	
	font-size: 0.8em !important;
	margin-left: 10px !important;
	
	
}

#game-score-input{
	height: 40px;
	width: 200px;
	padding-left: 10px;
	border:2px #666666 solid;
	border-radius: 10px;
	line-height: 40px;
	color:#000000;
	font-size: 1.5em;
	
	
}

#hi-score-input{
	height: 40px;
	width: 200px;
	padding-left: 10px;
	border:0px;
	border-radius: 3px;
	line-height: 40px;
	color:#000000;
	font-size: 1.5em;
	background-color: rgba(0,0,0,0);
	
	
}

.game-score-input-m{
	height: 40px !important;
	width: 100px !important;
	padding-right: 10px !important;
	font-size: 1.2em !important;
	
	
}

.hi-score-input-m{
	height: 40px !important;
	width: 100px !important;
	padding-right: 10px !important;
	font-size: 1em !important;
	
	
}



#game-time-input{
	height: 40px;
	text-align: center;
	margin: 0px 15px 0px 15px;
	width: 70px;
	border:0px;
	line-height: 40px;
	color:#000066;
	font-size: 1.5em;
	background-color: rgba(0,0,0,0);
	
	
}


#game-time-input-m{
	margin: 0px 5px 0px 5px !important;
	width: 30px !important;
	font-size: 1em !important;
	
	
	
}

#num-digits{
	width: 100%;
	display: flex;
	flex-direction:row;
	justify-content: flex-start;
	align-content: center;
	align-items: center;
}

#time-limit{
	width: 100%;
	display: flex;
	flex-direction:row;
	justify-content: flex-start;
	align-content: center;
	align-items: center;
	margin-top: 10px;
}


#time-limit-times{
	width: 100%;
	display: flex;
	flex-direction:row;
	justify-content: flex-start;
	align-content: center;
	align-items: center;
	flex-wrap: wrap;
}


#inc-carry-options{
	width: 100%;
	display: flex;
	flex-direction:row;
	justify-content: flex-start;
	align-content: center;
	align-items: center;
	flex-wrap: wrap;
}


#inc-carry{
	width: 100%;
	display: flex;
	flex-direction:row;
	justify-content: flex-start;
	align-content: center;
	align-items: center;
	margin-top: 40px;
}

#close-button{
	width: 100%;
	display: flex;
	flex-direction:row;
	justify-content: flex-end;
	align-content: center;
	align-items: center;
	margin-top: 40px;
}



/*



@media only screen and (max-width:460px) {

	.app-mix-input-box{flex-direction: column; font-size: 0.9em;}

	.app-input{	width: 75px; height: 30px;font-size: 0.9em;	padding:1px; line-height: 30px;}

	.app-input-unit{	width: 35px; height: 30px;font-size: 0.9em;	padding:1px; line-height: 30px;}

	.app-input-passive{	width: 75px; height: 30px;font-size: 0.9em;	padding:1px; line-height: 30px;}

	.app-mix-input-box div{line-height: 24px; margin-bottom: 10px;}

	#show-answer{line-height: 24px;}

	.app-mix-input-box div span{width: 100%; height:25px;line-height: 25px;}







}



*/



