﻿div, img, ul, p, ol, li, table, tr, th, td, form, body {
	margin: 0;
	padding: 0;
	border: none;
}
div, img {
	width: 100%;
}
img {
	border: none;
}
table {
	border-collapse: collapse;
}
@font-face
{
	font-family:raleway regular;
	src: url(content/raleway-regular.woff);
}
body {
	font-family: Arial, Helvetica, sans-serif;
	color: #000000;
	font-size: 16px;
	font-size: 1.1vw;
	background-color:#404240;
}
#vw_element {
	width: 1px;
	width: 50vw;
}
html, body {
	height:100%;
}
.inner-wrapper {
  height:100%;
  -webkit-transition: background-color 2s ease;
	-moz-transition: background-color 2s ease;
	-o-transition: background-color 2s ease;
	transition: background-color 2s ease;
}
#outer_wrapper {
	width: 45%;
	margin: auto;
	padding-bottom: 30px;
	padding-top: 10px;
}
.title-cnt-left-side, .title-cnt-right-side {
	width: 7%;
	min-width: 40px;
	padding-right: 3px;
}
#menu_btn {
	text-align: center;
	border-radius: 5px;
	margin: 2px;
	box-sizing: border-box;
}
#menu_btn div {
	box-sizing: border-box;
	border-radius: 5px;
	padding: 1px;
	border: none;
	border: 1px #b7b1b1 solid;
	border: 1px rgba(183,177,177,0.5) solid;
	padding: 2px;
}
#menu_btn div:hover {
	background-color: #827e7e;
	cursor: pointer;
}
/*  menu  */
#ngmnu li {
	list-style: none;
	padding: 15px 15%;
}
#ngmnu li p:hover {
	cursor: pointer;
	text-decoration: underline;
}
#ngmnu {
	padding: 0;
	margin: 0;
	display: none;
	position: absolute;
	right: 0;
	top: 0;
	z-index: 30;
	width: 40%;
	min-width: 100px;
	background: #e8f2f2;
	-webkit-box-shadow: 0px 0px 15px #cccccc inset;
	-moz-box-shadow: 0px 0px 15px #cccccc inset;
	box-shadow: 0px 0px 15px #cccccc inset;
	font-size: 120%;
}
#ngmnu label, #ngmnu input {
	cursor: pointer;
}
/*  about page */
#about_cnt {
	display: none;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 50;
	font-family: Arial, Helvetica, sans-serif;
	color: #000000;
	text-align: center;
	background: #e8f2f2;
	-webkit-box-shadow: 0px 0px 15px #cccccc inset;
	-moz-box-shadow: 0px 0px 15px #cccccc inset;
	box-shadow: 0px 0px 15px #cccccc inset;
	border-radius: 15px;
	padding-bottom: 10px;
}
.about-title {
	color: #000000;
	font-size: 180%;
	font-weight: bold;
	font-family: "Trebuchet MS", "Lucida Sans Unicode", "Lucida Grande", "Lucida Sans", Arial, sans-serif;
	margin: 0 auto 10px auto;
	padding: 5px 2% 10px 2%;
	text-align: center;
	width: 95%;
	text-shadow: 0 1px 0 #cccccc, 0 2px 0 #c9c9c9, rgba(0,0,0,0.1) 0 5px 5px;
	box-sizing: border-box;
}
.about-title img {
	width: 1em;
	position: relative;
	top: 0.20em;
	border: none;
}
#about_cnt .about_info {
	width: 96%;
	margin: 0 2%;
	text-align: left;
}
#about_cnt strong {
	color: #008000;
}
#about_cnt p {
	padding: 10px 0;
}
#about_cnt a, #about_cnt span {
	color: #000000;
	text-decoration: underline;
	cursor: pointer;
}
#hlpcnt input, #about_cnt input {
	font-size: 160%;
	background-color: #28bc28;
	background: -webkit-radial-gradient(#28bc28, #5dcc5c);
	background: -o-radial-gradient(#28bc28, #5dcc5c);
	background: -moz-radial-gradient(#28bc28, #5dcc5c);
	background: radial-gradient(#28bc28, #5dcc5c);
	border: none;
	box-shadow: 3px 3px 3px #686868;
	border-radius: 5px;
	color: #ffffff;
	padding: 1px 3%;
	margin-top: 10px;
	margin-bottom: 10px;
}
#hlpcnt input:hover, #about_cnt input:hover {
	background-color: #69da68;
	background: -webkit-radial-gradient(#69da68,#69da68);
	background: -o-radial-gradient(#69da68,#69da68);
	background: -moz-radial-gradient(#69da68,#69da68);
	background: radial-gradient(#69da68,#69da68);
	cursor: pointer;
	-ms-transform: scale(1.2,1.2);
	-webkit-transform: scale(1.2,1.2);
	transform: scale(1.2,1.2);
}
/*  help  */
#hlpcnt {
	position: absolute;
	left: 0;
	top: 0;
	display: none;
	background: #e8f2f2;
	-webkit-box-shadow: 0px 0px 15px #cccccc inset;
	-moz-box-shadow: 0px 0px 15px #cccccc inset;
	box-shadow: 0px 0px 15px #cccccc inset;
	color: #000000;
	border-radius: 15px;
	z-index: 50;
	padding: 5px 2%;
	box-sizing: border-box;
	font-family: "Iskoola Pota", "SinhalaSangamMN", sans-serif;
}
#hlpcnt li {
	list-style: none;
	margin: 10px 0;
}
#hlpcnt li span {
	color: #008000;
	font-size: 120%;
	font-family: "Trebuchet MS", "Lucida Sans Unicode", "Lucida Grande", "Lucida Sans", Arial, sans-serif;
}
#hlpcnt li span:hover {
	text-decoration: underline;
	cursor: pointer;
}
#hlpcnt li div {
	display: none;
	margin: 10px 0;
	text-decoration: none;
}
#hlpcnt li div p {
	margin: 8px 0;
}
#hlpcnt img {
	width: 1.5em;
	position: relative;
	top: 0.25em;
}
/*
#hlpcnt .help-sinhala-typing li {
	list-style: disc;
	width: 95%;
	margin-left: 5%;
}
#hlpcnt .help-star-unit-table {
	background-color: #ffffff;
	width: 30%;
	margin: auto;
	padding: 5px 2%;
}
#hlpcnt .help-star-unit-table li img {
	width: 15%;
	position: relative;
	top: 0.25em;
}
#hlpcnt .help-star-unit-table li:last-child img:last-child {
	width: 25%;
}
*/
#hlpcnt .additional-preload-images img {
   width:1px;
   visibility:hidden;
}

/* game settings */

#gameModeList li input, #gameSignsList li input, #gameDifficultyList li input{
	visibility: hidden;
}
#gameModeList li:nth-child(1), #gameModeList li:nth-child(3), #gameSignsList li:nth-child(2), #gameDifficultyList li:nth-child(2), #gameDifficultyList li:nth-child(3) {
 display:none;
}
#audio_cnt {
	position: absolute;
	left: 0;
	top: -300px;
}
/* screen  */
#cnt1, #cnt2, #cnt3 {
	width: 100%;
	height: 100%;
	-webkit-transition: opacity 2s ease;
	-moz-transition: opacity 2s ease;
	-o-transition: opacity 2s ease;
	transition: opacity 2s ease;
	position: absolute;
	left: 0;
	top: 0;
	border: 0px rgba(159, 168, 195, 0.8) solid;
	box-sizing: border-box;	
}
/* front page */
#cnt3 {
	-webkit-transition: all 2s ease;
	-moz-transition: all 2s ease;
	-o-transition: all 2s ease;
	transition: all 2s ease;	
	background-color:#a42225;
	position: relative;
}
.title {
	color: #ffffff;
	font-size: 180%;
	font-weight: bold;
	margin: 0 auto 10px auto;
	padding: 5px 2% 10px 2%;
	text-align: center;
	width: 95%;
	box-sizing: border-box;	
}
.title a {
	color: #ffffff;
	text-decoration: none;
}
.title img {
	width: 94%;
	position: relative;
	top: 0.10em;
}
/* front screen animation */
.animation-container {
	width: 100%;
}
.animation-container td {
	position: relative;
}
.template-size-image {
	width: 40%;
	opacity: 0;
	visibility: hidden;
}
#wincrd {
	position: relative;
	transform-style: preserve-3d;
	perspective: 1000px;
	width: 40%;
	margin: 0 auto;
	background-color: #000000;
}
#wincrd img {
	width: 100%;
	position: absolute;
	left: 0;
	top: 0;
}
#wincrd img:first-child {
	-webkit-transform:translate3D(0,0,-100px) rotateY(0deg);
	transform:translate3D(0,0,-100px) rotateY(0deg);
	-webkit-animation: image_flip 10s linear 0s infinite;
	animation: image_flip 10s linear 0s infinite;
}
#wincrd img:nth-child(2) {
	-webkit-transform:translate3D(0,0,-100px) rotateY(90deg);
	transform:translate3D(0,0,-100px) rotateY(90deg);
	-webkit-animation: image_flip 10s linear 5s infinite;
	animation: image_flip 10s linear 5s infinite;
}
#wincrd img:nth-child(3) {
	-webkit-transition: all 1.5s ease;
	-moz-transition: all 1.5s ease;
	-o-transition: all 1.5s ease;
	transition: all 1.5s ease;
	opacity: 0;
	-webkit-transform:translate3D(0,0,-100px) rotateY(0deg);
	transform:translate3D(0,0,-100px) rotateY(0deg);
} 
@-webkit-keyframes image_flip
{
0% {
-webkit-transform: translate3D(0,0,-100px) rotateY(-90deg);
 transform:translate3D(0,0,-100px) rotateY(-90deg);
}
25% {
-webkit-transform:translate3D(0,0,-100px) rotateY(-90deg);
transform:translate3D(0,0,-100px) rotateY(-90deg);
}
35%  {
-webkit-transform:translate3D(0,0,-100px) rotateY(0deg);
  transform:translate3D(0,0,-100px) rotateY(0deg);
}
65% {
-webkit-transform:translate3D(0,0,-100px) rotateY(0deg);
transform:translate3D(0,0,-100px) rotateY(0deg);
}
75% {
-webkit-transform:translate3D(0,0,-100px) rotateY(90deg);
transform:translate3D(0,0,-100px) rotateY(90deg);
}
100% {
-webkit-transform:translate3D(0,0,-100px) rotateY(90deg);
transform:translate3D(0,0,-100px) rotateY(90deg);
}
}
@keyframes image_flip {
0% {
-webkit-transform:translate3D(0,0,-100px) rotateY(-90deg);
 transform:translate3D(0,0,-100px) rotateY(-90deg);
}
25% {
-webkit-transform:translate3D(0,0,-100px) rotateY(-90deg);
transform:translate3D(0,0,-100px) rotateY(-90deg);
}
35%  {
-webkit-transform:translate3D(0,0,-100px) rotateY(0deg);
  transform:translate3D(0,0,-100px) rotateY(0deg);
}
65% {
-webkit-transform:translate3D(0,0,-100px) rotateY(0deg);
transform:translate3D(0,0,-100px) rotateY(0deg);
}
75% {
-webkit-transform:translate3D(0,0,-100px) rotateY(90deg);
transform:translate3D(0,0,-100px) rotateY(90deg);
}
100% {
-webkit-transform:translate3D(0,0,-100px) rotateY(90deg);
transform:translate3D(0,0,-100px) rotateY(90deg);
}
}
.intro-screen-button-cnt {
	width: 90%;
	margin: 1em 5% 5px 5%;
	text-align: center;	
}
.intro-screen-button-cnt input {
	font-size: 200%;	
	background-color: #d2691e;
	background: -webkit-radial-gradient(#d2691e, #d2610e);
	background: -o-radial-gradient(#d2691e, #d2610e);
	background: -moz-radial-gradient(#d2691e, #d2610e);
	background: radial-gradient(#d2691e, #d2610e); 
	border: none;
	box-shadow: 3px 3px 3px #224c22;
	border-radius: 5px;
	color: #ffffff;
	padding: 1px 3%;
	margin-top: 0.5em;
}
.intro-screen-button-cnt input:hover {
	background-color: #f08638;
	background: -webkit-radial-gradient(#f08638,#f08638);
	background: -o-radial-gradient(#f08638,#f08638);
	background: -moz-radial-gradient(#f08638,#f08638);
	background: radial-gradient(#f08638,#f08638);
	cursor: pointer;
	-ms-transform: scale(1.2,1.2);
	-webkit-transform: scale(1.2,1.2);
	transform: scale(1.2,1.2);
}
.intro-screen-button-cnt p span {
	font-size: 130%;
	color: #ffffff;
	padding: 2px 5%;
}
.intro-screen-button-cnt p span:hover {
	background-color: #d75153;
	background-color: rgba(215,81,83,0.3);
	border: #d75153 1px solid;
	border: rgba(215,81,83,0.2) 1px solid;
	box-shadow: 0px 0px 15px #d75153 inset;
	cursor: pointer;
}
.copyright-notice {
	color: #ffffff;
	font-size: 90%;
	text-align: center;
	position: absolute;
	bottom: 10px;
	left: 0;
}
.copyright-notice a {
	color: #ffffff;
}
/* final screen  */
.final-screen {
	padding: 10px 0;
	color: #ffffff;
	width: 96%;
	margin-left: 2%;
}
.final-screen p {
	text-align: center;
}
.final-intro {
	color: #ffffff;
	font-size: 130%;
	font-family: Verdana, Geneva, Tahoma, sans-serif;
	margin: 0 0 20px 0;
	color: #f0f0f0;
}
.final-intro img {
	width: 1em;
	position: relative;
	top: 0.15em;
}
.final-screen p:nth-child(2) {
	font-size:130%;
	padding-bottom:5px;
	font-family:Verdana, Geneva, Tahoma, sans-serif; 
	background-color:#ffffff;
	color:#000000;
    width:80%;
   margin:auto;
}
.final-score img {
	width: 15%;
}
.final-score .final-comet-star {
	width: 25%;
}
.final-screen table {
	width: 80%;
	margin: auto;
}
.final-screen table tr td {
	padding: 10px 2%;
	color: #000000;
}
.final-screen table tr td:first-child {
	width: 40%;
	font-size: 130%;
	color: #777777;
}
.final-screen table tr {
	background-color: #f9f9eb;
	border-bottom: 1px #ffffff solid;
}
.overall-result {
	font-size: 170%;
	font-weight: bold;
}
.final-screen input {
	margin-top: 30px;
	margin-top: 10px;
	font-size: 200%;
	background-color: #d2691e;
	background: -webkit-radial-gradient(#d2691e, #d2610e);
	background: -o-radial-gradient(#d2691e, #d2610e);
	background: -moz-radial-gradient(#d2691e, #d2610e);
	background: radial-gradient(#d2691e, #d2610e); 
	border: none;
	box-shadow: 3px 3px 3px #224c22;
	border-radius: 5px;
	color: #ffffff;
	padding: 1px 3%;
}
.final-screen input:hover {
	background-color: #f08638;
	background: -webkit-radial-gradient(#f08638,#f08638);
	background: -o-radial-gradient(#f08638,#f08638);
	background: -moz-radial-gradient(#f08638,#f08638);
	background: radial-gradient(#f08638,#f08638);
	cursor: pointer;
	-ms-transform: scale(1.2,1.2);
	-webkit-transform: scale(1.2,1.2);
	transform: scale(1.2,1.2);
}
.stats-screen {
	padding: 5px 0;
	color: #ffffff;
	width: 96%;
	margin-left: 2%;
}
.stats-screen p {
	text-align: center;
}
.stats-title {
	color: #ffffff;
	font-size: 130%;
	font-family: Verdana, Geneva, Tahoma, sans-serif;
	margin: 0 0 1vw 0;
	color: #f0f0f0;
}
.stats-screen table:first-child {
	width: 100%;
	margin: 0 auto 5px auto;
	background-color: #f9f9eb;
}
.stats-screen table:first-child td:first-child {
	width: 50%;
}
.stats-screen table:first-child td {
	border-bottom: 1px solid #ffffff;
	padding: 3px 2%;
}
.stats-screen div {
	background-color: #ffffff;
	color: #000000;
	margin: auto;
	padding: 10px 2%;
	width: 95%;
}
.stats-screen table:nth-child(2){
	width:100%;
	margin:10px auto;
}
.stats-screen table img {
	width: 25%;
}
.stats-screen table:nth-child(2) {
	background-color:#ffffff;
	color:#000000;
}
.stats-screen table:nth-child(2) tr:first-child {
  border-bottom:1px #000000 solid;
}
.stats-screen table:nth-child(2) tr:nth-child(even) {
    background-color:#f9f9eb;
}
.stats-screen table:nth-child(2) tr:last-child {
   border-top:2px #000000 solid;
   border-bottom:2px #000 solid;
}
.stats-screen table:nth-child(2) tr td:nth-child(1) {
  width:30%;
}
.stats-screen table:nth-child(2) tr td:nth-child(2), .stats-screen table:nth-child(2) tr td:nth-child(3){
  width:20%;
  text-align:center;
}
.stats-screen table:nth-child(2) tr td:nth-child(4) {
  text-align:center;
}
.stats-screen input {
	margin-top: 10px;
	font-size: 150%;
	background-color: #d2691e;
	background: -webkit-radial-gradient(#d2691e, #d2610e);
	background: -o-radial-gradient(#d2691e, #d2610e);
	background: -moz-radial-gradient(#d2691e, #d2610e);
	background: radial-gradient(#d2691e, #d2610e); 
	border: none;
	box-shadow: 3px 3px 3px #224c22;
	border-radius: 5px;
	color: #ffffff;
	padding: 1px 3%;
}
.stats-screen input:hover {
	background-color: #f08638;
	background: -webkit-radial-gradient(#f08638,#f08638);
	background: -o-radial-gradient(#f08638,#f08638);
	background: -moz-radial-gradient(#f08638,#f08638);
	background: radial-gradient(#f08638,#f08638);
	cursor: pointer;
	-ms-transform: scale(1.2,1.2);
	-webkit-transform: scale(1.2,1.2);
	transform: scale(1.2,1.2);
}
/* game screen */
.image_wrapper {
	width: 36.75vw;
	height: 24.5vw;
	margin: auto;	
	background: -webkit-linear-gradient(left, rgba(0, 0, 0, 0.5) 0%, rgba(255, 255, 255, 1) 70%, rgba(0, 0, 0, 0.5) 100%);
	background: -o-linear-gradient(right, rgba(0, 0, 0, 0.5) 0%, rgba(255, 255, 255, 1) 70%, rgba(0, 0, 0, 0.5) 100%);
	background: -moz-linear-gradient(right, rgba(0, 0, 0, 0.5) 0%, rgba(255, 255, 255, 1) 70%, rgba(0, 0, 0, 0.5) 100%);
	background: linear-gradient(to right, rgba(0, 0, 0, 0.5) 0%, rgba(255, 255, 255, 1) 70%, rgba(0, 0, 0, 0.5) 100%);  
	box-shadow: 5px 5px 5px #2e302e;
	border-left: 15px solid hsla(224, 12%, 48%, 0.3);
	border-top: 15px solid hsla(224, 17%, 55%, 0.5);
	border-bottom: 15px solid hsla(224, 30%, 64%, 0.3);
	border-right: 15px solid hsla(225, 23%, 69%, 0.8); 	
}
#cnt2, #cnt1  {
	font-size: 500%;
	font-size: 6vw;
	background:#ffffff;
}
#cnt1 table, #cnt2 table{  
	margin:auto;
	text-align:right;
}
#cnt1 table tr:last-child td:last-child , #cnt2 table tr:last-child td:last-child{
  border-top: 0.05em #000000 solid;
 }
#cnt1 table tr:last-child td:last-child  div, #cnt2 table tr:last-child td:last-child div{
	-webkit-transition: opacity 2s ease;
	-moz-transition: opacity 2s ease;
	-o-transition: opacity 2s ease;
	transition: opacity 2s ease;
	opacity: 0;
}

/* input text box */
.input-container {
	width: 80%;
	margin-top: 10px;
	margin-left: 10%;
	display: none;
	height: 4em;
	font-size: 100%;
	min-height: 60px;
}
.text-input-container {
	height: 3em;
	width: 40%;
	min-height: 50px;
}
#sritext {
	border: none;
	font-size: 300%;
	color: #000000;
	background-color: #f7f6e7;
	box-sizing: border-box;
	width: 100%;

}
.input-result-container {
	width: 10%;
	margin-left: 10px;
	min-width: 50px;
	max-width: 3.5em;
}
.input-result-container div {
	position: relative;
}
.input-result-container img {
	width: 100%;
}
.button-size-template-image {
	opacity: 0;
	visibility: hidden;
}
#inputTextButton, .input-result-button {
	position: absolute;
	left: 0;
	top: 0;
	background-color: #c7d0d5;
	background: -webkit-linear-gradient(#c7d0d5,#e5ecef,#c7d0d5);
	background: -o-linear-gradient(#c7d0d5,#e5ecef,#c7d0d5);
	background: -moz-linear-gradient(#c7d0d5,#e5ecef,#c7d0d5);
	background: linear-gradient(#c7d0d5,#e5ecef,#c7d0d5);
	-webkit-box-shadow: 0px 0px 8px rgba(176,189,198,0.5) inset;
	-moz-box-shadow: 0px 0px 8px rgba(176,189,198,0.5) inset;
	box-shadow: 0px 0px 8px rgba(176,189,198,0.5) inset; 
	border-radius:5px;
}
#inputTextButton {
	z-index: 20;
}
.input-result-button {
	-webkit-transition: opacity 2s ease;
	-moz-transition: opacity 2s ease;
	-o-transition: opacity 2s ease;
	transition: opacity 2s ease;
	z-index: 10;
	opacity: 0;
}
#inputTextButton:hover {
	background-color: #f5f9f9;
	background: -webkit-linear-gradient(#f5f9f9,#f5f9f9,#f5f9f9);
	background: -o-linear-gradient(#f5f9f9,#f5f9f9,#f5f9f9);
	background: -moz-linear-gradient(#f5f9f9,#f5f9f9,#f5f9f9);
	background: linear-gradient(#f5f9f9,#f5f9f9,#f5f9f9);
	cursor: pointer;
	-ms-transform: scale(1.1,1.1);
	-webkit-transform: scale(1.1,1.1);
	transform: scale(1.1,1.1);
}
.next-button-container {
	width: 20%;
	max-width: 6em;
	min-width: 70px;
	margin-left: 10px;
}
#nxtradbtn {
	width: 84%;
	padding: 0 8%;
	-webkit-box-shadow: 0px 0px 8px rgba(176,189,198,0.5) inset;
	-moz-box-shadow: 0px 0px 8px rgba(176,189,198,0.5) inset;
	box-shadow: 0px 0px 8px rgba(176,189,198,0.5) inset;
	display: none;
	border-radius: 5px;
	background-color:#a1cbcb;
}
#nxtradbtn:hover {
	cursor: pointer;
	background-color: #bfe1e0;
	-ms-transform: scale(1.1,1.1);
	-webkit-transform: scale(1.1,1.1);
	transform: scale(1.1,1.1);
}
/* scoreboard */
#scoreBoard {
	color: #ffffff;
	font-size: 130%;
	font-family: "raleway regular", Arial, Helvetica, sans-serif;
}
#scoreBoard table {
	width: 100%;
}
#scoreBoard td {
  
	text-align: center;
}
#scoreBoard td:first-child {
    width:50%;
	font-size:150%;
	font-family:  Arial, Helvetica, sans-serif;
	text-align: left;
	padding-left:2em;
}
#scoreBoard td:last-child {
 width:25%;
} 
/* keyboard */
.letters-wrapper {
	padding: 0 20px;
	box-sizing: border-box;
	width: 100%;
	margin: auto;
}
.segment-cnt {
	margin: 2px 1px;
}
.segment-cnt td .keyboard-btns, #clearbtn {
	color: #cccccc;
	font-size:250%;
	background-color: #404240;
	border: #838181 1px solid;
	-webkit-transition: background-color 1s ease;
	-moz-transition: background-color 1s ease;
	-o-transition: background-color 1s ease;
	transition: background-color 1s ease;
	cursor:default;
	padding-left:0.45em;
	padding-right:0.45em;
	border-radius:0.45em;
	min-width:40px;	
	text-align:center;
}
.segment-cnt td .keyboard-btns:hover {
	background-color: #ecf0f2;
	color: #333333;
}
#keyboardcontainer table:nth-child(50) td .keyboard-btns {
  overflow:hidden;
}
#clearbtn {
	background-image: url(images/clear.png);
	background-size: 30%;
	background-repeat: no-repeat;
	background-position: center center;
}
#clearbtn:hover {
	background-color: #ecf0f2;
}
#textDirBtn {
	background-image: url(images/right.png);
	background-size: 40%;
	background-repeat: no-repeat;
	background-position: center center;
}
#textDirBtn :hover {
	background-color: #ecf0f2;
}

/*  query styles */
@media only screen and (max-width: 1400px) {
body {
	font-size: 16px;
}
#outer_wrapper {
	width: 60%;
}
.image_wrapper {
	width: 45vw;
	height: 30vw;
}
#cnt2, #cnt1  {
	font-size: 500%;
	font-size: 7vw;

}
#hlpcnt li div {
	font-size: 110%;
}
.title {
	font-size: 150%;
}
.animation-container p {
	font-size: 250%;
}
.final-screen {
	font-size: 90%;
}
.final-screen input {
	margin-top: 20px;
}
.stats-screen {
	font-size: 90%;
}
}
@media only screen and (max-width: 1000px) {
#outer_wrapper {
	width: 80%;
}
.title p {
	font-size: 150%;
}
.image_wrapper {
	width: 60vw;
	height: 40vw;
}
#cnt2,  #cnt1  {
	font-size: 500%;
	font-size: 9vw;
}
}
@media only screen and (max-width: 800px), (max-width: 900px) and (min-resolution: 115dpi), (max-width: 1025px) and (min-resolution: 128dpi), (max-width: 1150px) and (min-resolution: 146dpi), (max-width: 1300px) and (min-resolution: 165dpi), (max-width: 1500px) and (min-resolution: 185dpi), (min-resolution: 215dpi) {
#outer_wrapper {
	width: 100%;
}
.image_wrapper {
	width: 75vw;
	height: 50vw;
}
.letters-wrapper {
	padding: 0 2vw;
}
#cnt2, #cnt1  {
	font-size: 500%;
	font-size: 12vw;
}
#ngmnu {
	width: 55%;
}
#ngmnu li {
	list-style: none;
	padding: 10px 15%;
}
.about-title {
	font-size: 130%;
}
#about_cnt p {
	padding: 5px 0;
	padding: 1vw 0;
}
.title {
	font-size: 130%;
}
.intro-screen-button-cnt {
	margin-top:0.3em;
}
.animation-container p {
	font-size: 200%;
	bottom: 10px;
}
.intro-screen-button-cnt input {
	font-size: 170%;
}
.intro-screen-button-cnt p span {
	font-size: 130%;
}
.copyright-notice {
	font-size: 80%;
	bottom: 5px;
}
#scoreBoard {
	font-size: 130%;
}
#scoreBoard table td:last-child {
	width: 35%;
}
.final-intro {
	font-size: 120%;
	margin-bottom: 10px;
	margin-bottom: 1vw;
}
.final-screen table {
	font-size: 85%;
}
.final-screen table tr td:first-child {
	width: 35%;
}
.final-screen p:nth-child(2), .final-screen table {
  width:95%;
}
.final-score img {
	width: 12.5%;
}
.final-score .final-comet-star {
	width: 20%;
}
.final-screen input {
	margin-top: 10px;
	margin-top: 2vw;
	font-size: 150%;
}
.stats-screen table {
	font-size: 85%;
}
.stats-screen table:first-child td {
	padding: 2px 2%;
	padding: 0.5vw 2%;
}
.stats-screen div {
	padding: 5px 2%;
	padding: 2vw 2%;
}
.stats-screen input {
	margin-top: 5px;
	margin-top: 1vw;
	font-size: 130%;
}
}
/*  small screen */
@media (max-width: 500px), (max-width: 600px) and (min-resolution: 100dpi), (max-width: 700px) and (min-resolution: 120dpi), (max-width: 850px) and (min-resolution: 140dpi),(max-width: 1000px) and (min-resolution: 170dpi), (max-width: 1200px) and (min-resolution: 200dpi) {
#outer_wrapper {
	width: 100%;
	min-width: 350px;
}
.title {
	font-size: 100%;
	padding: 2px 2% 5px 2%;
}
.title-cnt-left-side {
	width: 0;
	min-width: 0;
	padding-right: 0;
}
.image_wrapper {
	border-width: 5px;
	min-width: 300px;
	min-height: 200px;
}
#cnt2, #cnt1 {
	font-size: 300%;
    font-size: 12vw;
}
.segment-cnt td .keyboard-btns, #clearbtn {
		font-size: 200%;	
}
#ngmnu {
	width: 80%;
}
#hlpcnt .help-star-unit-table {
	width: 40%;
}
#hlpcnt .help-star-unit-table li img {
	top: 0.2em;
}
.animation-container p {
	font-size: 150%;
}
.intro-screen-button-cnt input {
	font-size: 120%;
}
.intro-screen-button-cnt p span {
	font-size: 100%;
}
.copyright-notice {
	font-size: 60%;
	bottom: 5px;
}
#sritext {
	font-size: 250%;
}
.next-button-container {
	width: 22.5%;
}
.final-intro {
	font-size: 100%;
}
.final-screen p:nth-child(2) {
   font-size:110%;
}
.final-screen table {
	font-size: 70%;
}
.final-screen table tr td {
	padding: 5px 2%;
}
.final-screen input {
	font-size: 130%;
}
.stats-screen {
	padding: 2px 0;
}
.stats-title {
	font-size: 120%;
}
.stats-screen table {
	font-size: 75%;
}
.stats-screen div {
	padding: 1px 2% 1px 2%;
}
.stats-screen input {
	margin-top: 2px;
	margin-top: 1vw;
	font-size: 120%;
}
}
@media only screen and (max-width: 150px) {
#outer_wrapper {
	font-size: 12px;
}
}
