﻿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;
}
body {
	font-family: Arial, Helvetica, sans-serif;
	color: #000000;
	font-size: 16px;
	font-size: 1.1vw;
	background-color: #585454;
}
#vw_element {
	width: 1px;
	width: 50vw;
}
#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;
}
/* custom mode  */
#customMode_cnt li {
	list-style: none;
	padding: 15px 15%;
}
#customMode_cnt {
	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%;
}
#customMode_cnt input {
	font-size:100%;
}
#customModeValue {
	width:100%;
}
.topmenubtn3 {
   	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 ); 
	border-top:2px #E8E8E8 solid;
	border-left:2px #E8E8E8 solid;
	border-bottom:2px #A0A0A0  solid;
	border-right:2px #A0A0A0  solid;
	-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;
	min-width:40px;
}
.topmenubtn3:hover {
      background-color:#ecf0f2;
	background: -webkit-linear-gradient(#ecf0f2, #ecf0f2, #ecf0f2);
	background: -o-linear-gradient(#ecf0f2, #ecf0f2, #ecf0f2);
	background: -moz-linear-gradient(#ecf0f2, #ecf0f2, #ecf0f2);
	background: linear-gradient(#ecf0f2, #ecf0f2, #ecf0f2); 
}
#customModeValue::placeholder  {
     font-size:80%;
	 color:#bbbbbb;
	 font-family: Arial, Helvetica, sans-serif;
}
#customModeValue:-ms-input-placeholder{
     font-size:140%;
	 color:#bbbbbb;
	 font-family: Arial, Helvetica, sans-serif;
}
#customModeValue::-ms-input-placeholder{
     font-size:80%;
	 color:#bbbbbb;
	 font-family: Arial, Helvetica, sans-serif;
}


/*  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 {
	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 .help-segment-header {
	color: #008000;
	font-size: 120%;
	font-family: "Trebuchet MS", "Lucida Sans Unicode", "Lucida Grande", "Lucida Sans", Arial, sans-serif;
}
#hlpcnt .help-segment-header: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 {
	visibility: hidden;
}
#gameModeList li:nth-child(1), #gameModeList li:nth-child(3), #gameModeList li:nth-child(4){
 display:none;
}
#audio_cnt {
	position: absolute;
	left: 0;
	top: -300px;
}
/* screen  */
#cnt1, #cnt2, #cnt3 {
	width: 100%;
	height: 100%;
	background-repeat: no-repeat;
	background-position: left top;
	background-size: 200% 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;
	background-color: #ffffff;
}
/* front page */
#cnt3 {
	-webkit-transition: all 2s ease;
	-moz-transition: all 2s ease;
	-o-transition: all 2s ease;
	transition: all 2s ease;
	background-color: #726d3e;
	background: -webkit-radial-gradient(50% 120%, circle, #9c9348, #726d3e 10%, #5d572b 80%, #5d572b 100%);
	background: -o-radial-gradient(50% 120%, circle, #9c9348, #726d3e 10%, #5d572b 80%, #5d572b 100%);
	background: -moz-radial-gradient(50% 120%, circle, #9c9348, #726d3e 10%, #5d572b 80%, #5d572b 100%);
	background: radial-gradient(circle at 50% 120%, #9c9348, #726d3e 10%, #5d572b 80%, #5d572b 100%); 
	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.20em;
}

.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 3.5;
	animation: image_flip 10s linear 0s 3.5;
}
#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 3;
	animation: image_flip 10s linear 5s 3;
}
#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: 0.75em 5% 5px 5%;
	text-align: center;
}
.intro-screen-button-cnt input {
	font-size: 200%;
	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: 0.5em;
}
.intro-screen-button-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);
}
.intro-screen-button-cnt p span {
	font-size: 130%;
	color: #ffffff;
	padding: 2px 5%;
}
.intro-screen-button-cnt p span:hover {
	background-color: #9d954d;
	background-color: rgba(157,149,77,0.3);
	border: #9d954d 1px solid;
	border: rgba(157,149,77,0.2) 1px solid;
	box-shadow: 0px 0px 15px #9d954d 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: #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%;
}
.final-screen 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);
}
.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: #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%;
}
.stats-screen 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);
}
/* game screen */
.image_wrapper {
	width: 36.75vw;
	height: 24.5vw;
	margin: auto;
	background: #ffffff;
/*	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 rgba(107, 115, 137, 0.3);
	border-top: 15px solid rgba(122, 132, 160, 0.5);
	border-bottom: 15px solid rgba(137, 151, 191, 0.3);
	border-right: 15px solid rgba(159, 168, 195, 0.8);
}
/* loading dots  */

.loading-animation {
	color:#888888;
	position: absolute;
	left: 0;
	top: 0;
}
.loading-animation:after {
  overflow: hidden;
  display: inline-block;
  vertical-align: bottom;
  -webkit-animation: ellipsis steps(4,end) 900ms infinite;      
  animation: ellipsis steps(4,end) 900ms infinite;
  content: "\2026"; /* ascii code for the ellipsis character */ 
  width: 0px;
}
@keyframes ellipsis {
  to {
    width: 2em;    
  }
}
@-webkit-keyframes ellipsis {
  to {
    width: 2em;    
  }
}

#cnt2 {
}
/* inital settings second container */
#cnt1 {
	opacity: 0;
}

#cnt2, #cnt1, #fontWidthButtons  input:last-child  {
	font-size: 350%;
	font-size: 4vw; 
	background: #ffffff;
}
.image_wrapper_small {
	height: 12.25vw;
} 
.question-word {
  padding:0.1em 0 0.1em 0.2em;
}
.image-word {
	-webkit-transition: opacity 2s ease;
	-moz-transition: opacity 2s ease;
	-o-transition: opacity 2s ease;
	transition: opacity 2s ease;
	opacity: 0;
	font-family: "Iskoola Pota", "SinhalaSangamMN", sans-serif;
	padding-left:0.2em;
}
.letters-wrapper {
	padding: 0 20px;
	box-sizing: border-box;
	width: 100%;
	margin: auto;
}
.word-abbrv {
  font-size:60%;
  font-style:italic;
  padding-left:0.15em;
}

/* input text box */
.input-container {
	width: 95%;
	margin-top: 10px;
	margin-left: 7.5%;
	display: none;
	height: 4em;
	font-size: 100%;
	min-height: 60px;
}
.text-input-container {
	height: 3em;
	width: 50%;
	min-height: 50px;
}
#sritext {
	border: none;
	font-size: 250%;
	color: #000000;
	background-color: #f7f6e7;
	box-sizing: border-box;
	width: 100%;
	font-family: "Iskoola Pota", "SinhalaSangamMN", sans-serif;
}
.input-result-container {
	width: 8%;
	margin-left: 10px;
	min-width: 50px;
	max-width: 4em;
}
.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: 15%;
	max-width: 6em;
	min-width: 75px;
	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%;
}
#scoreBoard table {
	width: 100%;
}
#scoreBoard table td:last-child {
	width: 25%;
}
#starScore img {
	width: 8%;
	min-width: 20px;
}
#starScore .comet-star {
	width: 12%;
	min-width: 30px;
}
/* keyboard */

#fontWidthButtons input:first-child {
	font-family:  "Iskoola Pota", "SinhalaSangamMN", sans-serif;
	font-size:250%;
}
#fontWidthButtons  input:last-child {
   font-family: "Iskoola Pota", "SinhalaSangamMN", sans-serif;
}

/*  query styles */
@media only screen and (max-width: 1400px) {
body {
	font-size: 16px;
}
#outer_wrapper {
	width: 60%;
}
.image_wrapper {
	width: 45vw;
	height: 30vw;
}
.image_wrapper_small {
	height:15vw;
}
#cnt2, #cnt1, #fontWidthButtons  input:last-child  {
	font-size: 350%;
	font-size: 4.5vw;
}
#hlpcnt li div {
	font-size: 110%;
}
.title {
	font-size: 150%;
}
.intro-screen-button-cnt {
/*	margin: 10px 5% 2px 5%;
	margin: 1.5vw 5% 0.5vw 5%;  */
}
.animation-container p {
	font-size: 250%;
}
.final-screen {
	font-size: 90%;
}
.final-screen input {
	margin-top: 20px;
}
.stats-screen {
	font-size: 90%;
}
.input-container {
	margin-left:10%;
}
}
@media only screen and (max-width: 1000px) {
#outer_wrapper {
	width: 80%;
}
.title p {
	font-size: 150%;
}
.image_wrapper {
	width: 60vw;
	height: 40vw;
}
#cnt2, #cnt1, #fontWidthButtons  input:last-child  {
	font-size: 400%;
	font-size: 6vw;
} 
.image_wrapper_small {
	height:20vw;
}

}
@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;
}
.image_wrapper_small {
	height:25vw;
}
.letters-wrapper {
	padding: 0 2vw;
}
#cnt2, #cnt1, #fontWidthButtons  input:last-child  {
	font-size: 350%;
	font-size: 8vw;
}
#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%;
	margin-bottom:0;
}
.intro-screen-button-cnt {
/*	margin: 5px 5% 2px 5%;
	margin: 1.5vw 5% 0.5vw 5%;  */
}
.animation-container p {
	font-size: 200%;
	bottom: 10px;
}
.intro-screen-button-cnt {
/*	margin: 1em 5% 0.5em 5%;  */
	margin-top:0.3em;
}
.intro-screen-button-cnt input {
	font-size: 160%;
}
.intro-screen-button-cnt p span {
	font-size: 130%;
}
.copyright-notice {
	font-size: 80%;
	bottom: 5px;
}
#scoreBoard {
	font-size: 120%;
}
#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;
}
.image_wrapper_small {
	min-height: 100px;
}
#cnt2, #cnt1, #fontWidthButtons  input:last-child  {
	font-size: 200%;
    font-size: 2em;
}
#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%;
/*	margin-top: 0.5px;  */
}
.intro-screen-button-cnt p span {
	font-size: 100%;
}
.copyright-notice {
	font-size: 60%;
	bottom: 5px;
}
#sritext {
	font-size: 200%;
}
.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;
}
}
