/* Media Queries: Tablet Landscape */

@media screen and (min-width: 1025px) {
	#primary { width:100%; }
    #secondary { width:100%; margin:0; border:none; }	

	#board, #numContainer, #jBoard { 
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
		align-content: flex-start;
		width: 600px;
		overflow: hidden;
	}
	
	.tile{
		border: 1px solid black;
		width: 40px;
		height: 40px;
		text-align: center;
		margin: 0;
		vertical-align: middle;
		font-size: 20pt;
	}	

	.div-table-col {
		float: left;
		display: table-column;
		width: 50px;
		background-color: #fff;
	}
	
	.loginBtn {
		background:url(images/loginBtn-center.jpg) repeat-x;
		background-color: lightgray;
		width:40px;
		height:40px;
		margin:10px auto;
		font-size: 30pt;
		border-radius:10px;
		-webkit-border-radius:10px;
		box-shadow:0 1px 2px #5e5d5b;
		text-align: center;
		line-height: 25px;
	}
}

/* Media Queries: laptops */
@media screen and (max-width: 1024px) {
	#primary { width:100%; }
    #secondary { width:70%; margin:0; border:none; }

	#board, #numContainer, #jBoard { 
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
		align-content: flex-start;
		width: 500px;
		overflow: hidden;
	}
	
	.tile{
		border: 1px solid black;
		width: 40px;
		height: 40px;
		text-align: center;
		margin: 0;
		vertical-align: middle;
		font-size: 18pt;
	}

	.div-table-col {
		float: left;
		display: table-column;
		width: 50px;
		background-color: #fff;
	}
	
	.loginBtn {
		background:url(images/loginBtn-center.jpg) repeat-x;
		background-color: lightgray;
		width:40px;
		height:40px;
		margin:10px auto;
		font-size: 30pt;
		border-radius:10px;
		-webkit-border-radius:10px;
		box-shadow:0 1px 2px #5e5d5b;
		text-align: center;
		line-height: 25px;
	}	
}

/* Media Queries: Tabled Portrait */
@media screen and (max-width: 768px) {
    #primary { width:100%; }
    #secondary { width:100%; margin:0; border:none; }
	
	#board, #numContainer, #jBoard { 
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
		align-content: flex-start;
		width: 400px;
		overflow: hidden;
	}
	
	.tile{
		border: 1px solid black;
		width: 45px;
		height: 45px;
		text-align: center;
		margin: 0;
		vertical-align: middle;
		font-size: 16pt;
	}

	.div-table-col {
		float: left;
		display: table-column;
		width: 45px;
		background-color: #fff;
	}	
}

/* Media Queries: mobile */
@media screen and (max-width: 480px) {
    #primary { width:100%; }
    #secondary { width:100%; margin:0; border:none; }

	#board, #numContainer, #jBoard { 
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
		align-content: flex-start;
		width: 350px;
		overflow: hidden;
	}
	
	.tile{
		border: 1px solid black;
		width: 35px;
		height: 35px;
		text-align: center;
		margin: 0;
		vertical-align: middle;
		font-size: 16pt;
	}
	
	.div-table-col {
		float: left;
		display: table-column;
		width: 35px;
		background-color: #fff;
	}

	.loginBtn {
		background:url(images/loginBtn-center.jpg) repeat-x;
		background-color: lightgray;
		width:30px;
		height:30px;
		margin:10px auto;
		font-size: 14pt;
		border-radius:10px;
		-webkit-border-radius:10px;
		box-shadow:0 1px 2px #5e5d5b;
		text-align: center;
		line-height: 15px;
	}	
}

/* Media Queries: mobile */
@media screen and (max-width: 390px) {
    #primary { width:100%; }
    #secondary { width:100%; margin:0; border:none; }

	#board, #numContainer, #jBoard { 
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
		align-content: flex-start;
		width: 400px;
		overflow: hidden;
	}
		
	.tile{
		border: 1px solid black;
		width: 35px;
		height: 35px;
		text-align: center;
		margin: 0;
		vertical-align: middle;
		font-size: 14pt;
	}
	
	.div-table-col {
		float: left;
		display: table-column;
		width: 35px;
		background-color: #fff;
	}
	
	.loginBtn {
		background:url(images/loginBtn-center.jpg) repeat-x;
		background-color: lightgray;
		width:30px;
		height:30px;
		margin:10px auto;
		font-size: 14pt;
		border-radius:10px;
		-webkit-border-radius:10px;
		box-shadow:0 1px 2px #5e5d5b;
		text-align: center;
		line-height: 15px;
	}
	
}

/* Media Queries: mobile */
@media screen and (max-width: 380px) {
    #primary { width:100%; }
    #secondary { width:100%; margin:0; border:none; }
	
	#board, #numContainer, #jBoard { 
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
		align-content: flex-start;
		width: 300px;
		overflow: hidden;
	}
	
	.tile{
		border: 1px solid black;
		width: 30px;
		height: 30px;
		text-align: center;
		margin: 0;
		vertical-align: middle;
		font-size: 14pt;
	}
	
	.div-table-col {
		float: left;
		display: table-column;
		width: 30px;
		background-color: #fff;
	}
	
	.loginBtn {
		background:url(images/loginBtn-center.jpg) repeat-x;
		background-color: lightgray;
		width:25px;
		height:25px;
		margin:10px auto;
		font-size: 14pt;
		border-radius:10px;
		-webkit-border-radius:10px;
		box-shadow:0 1px 2px #5e5d5b;
		text-align: center;
		line-height: 15px;
	}
}

html { 
	font-size:100%; 
}

.hidden{
	display:none;
}

body {
	//background-color: lightblue;
}

body.dark{
	background-color:#333333;
	color: white;
}

#welcomeText {
	text-align:center;
	padding-right:20px;
}
#setup-game {
	display:flex;
	justify-content: center;
}

#setup-game > *  {
	margin-bottom: 5px;
	padding-left: 50px;
	padding-right: 50px;
	display: flex;
	align-items: center;
}

#livesDisplay {
	display:none;
}

#lives, #livesText,
#timerText, #timer {
	font-size: 16pt;
	color:white;
}

#stats {
	display: none;
	justify-content: center;
	padding-top: 10px;
	background-color: #333;
	overflow: auto;
	white-space: nowrap;
}

#stats > *  {
	margin-bottom: 5px;
	padding-left: 10px;
	padding-right: 10px;
	display: flex;
	align-items: center;
}

#endGameOneDisplay {
	display: none;
	justify-content: center;
	padding-top: 10px;
	background-color: #333;
	overflow: auto;
	white-space: nowrap;
}

#endGameTwoDisplay {
	display: none;
	justify-content: center;
	padding-top: 10px;
	background-color: #fff;
	overflow: auto;
	white-space: nowrap;
}

#endGameThreeDisplay {
	display: none;
	justify-content: center;
	padding-top: 10px;
	background-color: #fff;
	overflow: auto;
	white-space: nowrap;
}

#btnDisplay {
	display:flex;
	justify-content: center;
	padding: 20px 0 10px 0;
	background-color: #fff;
	overflow: auto;
	white-space: nowrap;
}

#output {
	font-size: 16pt;
	text-align: center;
	padding: 10px;
}
	
.btnStatic {
	background-color: #4CAF50;
	border: none;
	color: white;
	padding: 16px 32px;
	text-align: center;
	text-decoration: none;
	display: inline-block;
	font-size: 16px;
	margin: 4px 2px;
	transition-duration: 0.4s;
	cursor: pointer;	
}

.btnHover:hover {
	background-color: #ddd; 
	color: black; 
	border: 2px solid #4CAF50;
}

#brdrDisplay {
	display:flex;
	justify-content: center;
	padding: 10px;
	background-color: #fff;
	overflow: auto;
	white-space: nowrap;
}

#brdrOne {
	border: 2px solid #4CAF50;
}

#brdrTwo {
	border-top: 2px solid #4CAF50;
}
	
#gameOne {
	display:flex;
	justify-content: center;
	padding: 15px;
	background-color: #fff;
	overflow: auto;
	white-space: nowrap;	
}

#gameTwo {
	display:flex;
	justify-content: center;
	padding: 0 15px 15px 15px;
	background-color: #fff;
	overflow: auto;
	white-space: nowrap;
}

#rowOne, #rowTwo,
#rowThree, #rowFour, #rowFive,
#rowSix, #rowSeven, #rowEight, 
#rowNine{
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-content: flex-start;
	min-width: 298px;
}

#hintContainer {
	width: 40%;
}

#padContainer {
	width: 100%;
}
	
	
#hintPad {
	margin-right:25px;
	padding-top:10px;
	display: flex;
	flex-wrap: wrap;
	justify-content: right;
	align-content: flex-start;
	min-width: 200px;	
}

#hintPad > * {
	border: 1px solid black;
	border-radius: 20%;
	width: 65px;
	height: 45px;
	font-size: 20pt;
	margin-left: 10px;
	margin-top: 5px;
	margin-bottom: 5px;
	text-align: center;
}

#numPadOne {
	padding-top:10px;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-content: flex-start;
	min-width: 200px;
}

#numPadTwo {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-content: flex-start;
	min-width: 200px;
}

#numPadThree {	
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-content: flex-start;
	min-width: 200px;
}

#numPadOne > *, #numPadTwo > *, #numPadThree > * {
	border: 1px solid black;
	border-radius: 20%;
	width: 45px;
	height: 45px;
	font-size: 20pt;
	margin-left: 10px;
	margin-top: 5px;
	margin-bottom: 5px;
	text-align: center;
}

div #one.selected, #two.selected, #three.selected,
#four.selected, #five.selected, #six.selected,
#seven.selected, #eight.selected, #nine.selected {
	background-color: lightblue;
}

p.userPick {
	color:#4169e1;	
}

p.selected{
	background-color: lightblue;
}

p.incorrect{
	font-color:red;
	color: red;
}

p.jumble {
	background-color: lightgray;
}

.rightBorder{
	border-right: 4px solid black;
}

.bottomBorder{
	border-bottom: 4px solid black;
}


#gameThree, #jLabel {
	display:flex;
	justify-content: center;
	padding: 15px;
	background-color: #fff;
	overflow: auto;
	white-space: nowrap;
}

.div-table {
	display: table;
	width: auto;
	align-content:center
	background-color: #fff;
}
.div-table-row {
	display: table-row;
	width: auto;
	clear: both;
}


footer {
	background-color: lightgray;
}

#ftInfo {
	color: white;
	display:flex;
	justify-content: center;
	padding: 15px;
	background-color: #333;
	overflow: auto;
	white-space: nowrap;
}

#copyInfo {
	display:block;
	justify-content: center;
	text-align: center;
}
#copyInfo a{
	text-decoration: none;
}

#copyInfo a:hover {
	font-weight:bold;
	background-color: #777;
}

input {
	text-align:center;
}

.inputItem {
	width:40px;
	font-size: 20pt;

}

.charItem{
	width:40px;
	font-size: 20pt;
	margin-top: 20px;
}

