﻿html {
  height:100%;
  width:100%;
  overflow:hidden;
} 
body {
   height:100%;
   overflow:auto;
   -webkit-overflow-scrolling: touch; 
}
div, img, ul, p, ol, li, table, tr, th, td, h1, form, body {
	margin: 0;
	padding: 0;
	border: none;
    position:relative;
	box-sizing: border-box;
}
div {
	 width:100%;
}
table {
	border-collapse: collapse;
}
body {
	font-family: Arial, Helvetica, sans-serif;
	color: #000000;	
	font-size: 16px;  
	font-size: 1.1vw;
	background-color: #fdfdfd;	
}
a {
	color: #000000;
	text-decoration: underline;
	border: none;
	cursor:pointer;
}

/* new fonts */

#vw_element {
	width: 1px;
	width: 50vw;
}
#outer_wrapper {
    width:70%;
	min-width:200px;
	margin: 10px auto;
}
#header_cnt {
	background-color: #c7d0d5;
	background: -webkit-radial-gradient(#e5ecef 10%, #c7d0d5);
	background: -o-radial-gradient(#e5ecef 10%, #c7d0d5);
	background: -moz-radial-gradient(#e5ecef 10%, #c7d0d5);
	background: radial-gradient(#e5ecef 10%, #c7d0d5);
	-webkit-box-shadow: 0px 0px 15px rgba(33,62,83,0.7) inset;
	-moz-box-shadow: 0px 0px 15px rgba(33,62,83,0.7) inset;
	box-shadow: 0px 0px 15px rgba(33,62,83,0.7) inset;   
	z-index:20;	
}
#header_cnt table {
	width:100%;   
}
.title-logo {
	width:80%;
}
.title-logo h1  {
	margin:0;
	font-weight:normal;
	font-size:150%;
	text-align:center;
	color:#000000;
	text-shadow: 0 1px 0 #ccc, 0 2px 0 #c9c9c9, #cccccc 0 5px 5px;
}
.title-logo a  {
	color:#000000;
	text-decoration:none;	
}
.title-logo img {
 width:1em;
 position:relative;
 top:0.15em;
}
.header-functions-cnt {
	width:18%;
	min-width:150px;
}
.header-functions-cnt  table td{
	width:23%;
	padding:1px;
}
.header-btns {
	padding:1px;
   	-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-top:2px #E8E8E8 solid;
	border-left:2px #E8E8E8 solid;
	border-bottom:2px #A0A0A0 solid;
	border-right:2px #A0A0A0 solid;	
}
.header-btns:hover {
    background-color:#ecf0f2;
}
.header-btns span {
	display:none;
	font-size: 76%;
	border: 1px #cccccc solid;
	background-color:#ffffff;
	background: -webkit-linear-gradient(#ffffff, #B0C4DE);
	background: -o-linear-gradient(#ffffff, #B0C4DE);
	background: -moz-linear-gradient(#ffffff, #B0C4DE);
	background: linear-gradient(#ffffff, #B0C4DE); 
	color: #000000;
	opacity: 0.9;
	text-align: center;
	position: absolute;
	top: 45px;
	top:2.5vw;
	left: -30px;
	width: 80px;
	padding: 5px;
	z-index:50;  
}
.header-btns:hover span {
   display:block;
}
.header-functions-cnt  table .spacer {
    width:8%;
}
.header-functions-cnt  table td img{
 width:100%;
}
.settings-btn {
    width:6%;
	padding:1px;
	min-width:50px;
}
.settings-btn div {
  padding:2px;
  -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:1px solid rgb(176,189,198);
	border-radius:5px;
}
.settings-btn div:hover {
    background-color:#ecf0f2;
	cursor:pointer;
}
.settings-btn img{
    width:100%;
}
#content_cnt {
	z-index:20;
}
#wkspcfm, #stngfrm, #crntvsncnt, #help_cnt  {
	position:absolute;
	top:0;
	display:none;
	z-index:20;
}
#wkspcfm {
  right:0;
  width:30%;
  background-color: #dbe5ef;
  -webkit-box-shadow: 0px 0px 15px #91a9bd inset; 
  -moz-box-shadow: 0px 0px 15px #91a9bd inset; 
  box-shadow: 0px 0px 15px #91a9bd inset; 
  min-width:200px;
}
#wkspcfm ul li {
   list-style:none;
    padding:5px 5%;	
}
#wkspwdth, #wksphgt, #wksptxtsz {
     width:90%;
}
#wkspcfm  input {
  font-size:110%;
}
#stngfrm {
   right:0;
   width:30%;
	background-color: #dbe5ef;
	-webkit-box-shadow: 0px 0px 15px #91a9bd inset; 
	-moz-box-shadow: 0px 0px 15px #91a9bd inset; 
    box-shadow: 0px 0px 15px #91a9bd inset;	
	min-width:200px;
	font-size:120%;
}
#stngfrm ul  li{
    list-style:none;
    padding:5px 5%;	
	cursor:pointer;
}
#stngfrm ul  li:hover {
	-webkit-box-shadow: 0px 0px 15px #91a9bd; 
	-moz-box-shadow: 0px 0px 15px #91a9bd; 
	box-shadow: 0px 0px 15px #91a9bd;
   	-webkit-box-shadow: 0px 0px 15px #91a9bd inset; 
	-moz-box-shadow: 0px 0px 15px #91a9bd inset; 
	box-shadow: 0px 0px 15px #91a9bd inset;	
}
#stngfrm .menu-btns {
   display:none;
}
#crntvsncnt {
	left:0;
	background-color: #dbe5ef;
	-webkit-box-shadow: 0px 0px 15px #91a9bd inset; 
	-moz-box-shadow: 0px 0px 15px #91a9bd inset; 
	box-shadow: 0px 0px 15px #91a9bd inset; 
	padding:5px 2%;	
}
.header-type1 {
	font-size: 110%;
	font-family: Geneva, Verdana, sans-serif;
	font-weight:bold;
}
.header-type2 {
   	margin: 15px 0 5px 0;
	text-decoration: underline;
	font-weight: bold;
}
.header-type3 {
   font-size: 100%;
   font-weight:bold;
   margin:10px 0;
}
.text-type1 {
	margin: 8px 0;
}


/*  help */

#help_cnt {
	left:0;
	display:none;
	font-family: "Iskoola Pota", "SinhalaSangamMN", sans-serif;
}
#enghelp, #sinhelp {
	position: absolute;
	top: 0;
	left: 0;
	clear: both;
	background-color: #dbe5ef;
	-webkit-box-shadow: 0px 0px 15px #91a9bd inset; 
	-moz-box-shadow: 0px 0px 15px #91a9bd inset; 
	box-shadow: 0px 0px 15px #91a9bd inset;	
	padding:5px 2%;	
	z-index:20;
}
#sinhelp {
	display: none;  
}
.help-inner {
  background-color: #ffffff;
 width:100%;
}
#help_cnt .tabs-cnt {
   width:30%;
   margin:10px 2% 0 2%;
   min-width:200px;
}
#tbm3b1, #tbm3b2 {
  background-color: #f3f8fb;
  width:45%; 
  text-align:center;
  padding:10px 0;
   border-radius:10px 10px 0 0 ;
   	-webkit-box-shadow: 0px 0px 5px #91a9bd inset; 
	-moz-box-shadow: 0px 0px 5px #91a9bd inset; 
	box-shadow: 0px 0px 5px #91a9bd inset;	
 cursor:pointer;
}
#tbm3b1 {
 background-color: #dbe5ef;
}
#help_cnt .help-spacer {
 width:10%;
 background-color:none;
}
#help_cnt .list-type1 li {
   width:90%;
   margin:5px auto;
}
#help_cnt .header-type1 span {
  font-size: 100%;
  font-weight:normal;
}
#help_cnt img {
   width:1.5em;
}
#help_cnt img, #help_cnt input {
	background-repeat:no-repeat;
	background-position: center center;
 	-webkit-box-shadow: 0px 0px 80px rgba(176,189,198,0.7) inset;
	-moz-box-shadow: 0px 0px 80px rgba(176,189,198,0.7) inset;
	box-shadow: 0px 0px 80px rgba(176,189,198,0.7) inset;
	border-top:2px #E8E8E8 solid;
	border-left:2px #E8E8E8 solid;
	border-bottom:2px #A0A0A0  solid;
	border-right:2px #A0A0A0  solid;
}

/* keyboard */
.segment-cnt {
   margin:2px 1px;
}
.segment-cnt  td p{
	font-family:  "Iskoola Pota", "SinhalaSangamMN", sans-serif;
}
.segment-cnt td .keyboard-btns, #backspacebtn, #spacebtn, .second-charset, .first-charset, .num-charset  {
	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 );  
	color:#000000;
	font-size:200%;
	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;
	cursor:default;
	padding-left:5px;
	padding-right:5px;
	min-width:40px;
	text-align:center;
		/* new */
	-o-user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
	user-select: none;
}
#keyboardcontainer table:nth-child(50) td .keyboard-btns {
  overflow:hidden;
}
.segment-cnt td .keyboard-btns:hover, .num-charset: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); 
}
.modfied-character {
   padding-left:15px;
   padding-right:15px;
}
.modfied-character2 {
   padding-left:10px;
   padding-right:10px;
}

#backspacebtn, #spacebtn, .first-charset, .second-charset {
  background-repeat:no-repeat;
  background-position: center center;
  /* creates pseudo background color in white space  */
 	-webkit-box-shadow: 0px 0px 80px rgba(176,189,198,0.7) inset;
	-moz-box-shadow: 0px 0px 80px rgba(176,189,198,0.7) inset;
	box-shadow: 0px 0px 80px rgba(176,189,198,0.7) inset;
}
#backspacebtn:hover, #spacebtn:hover, .first-charset:hover, .second-charset:hover {
	-webkit-box-shadow: 0px 0px 80px rgba(236,240,242,0.7) inset;
	-moz-box-shadow: 0px 0px 80px rgba(236,240,242,0.7) inset;
  box-shadow: 0px 0px 80px rgba(236,240,242,0.7) inset;
}
#backspacebtn {
  background-image:url(images/backspace.png);
  background-size: 60%;
}
#spacebtn {
  background-image:url(images/space.png);
  background-size: 40%;  
}
.first-charset {
  background-image:url(images/1st.png);
  background-size: 80%;
}
.second-charset {
  background-image:url(images/2nd.png);
  background-size: 80%;
}
#sritext {
	font-size: 200%;
	width: 100%;
	height:  100px;
	border: 1px #e0ebf4 solid;	
	background-color: #f1f6f9;
	font-family:  "Iskoola Pota", "SinhalaSangamMN", sans-serif;
	margin: 10px 0;
}
#sritext::placeholder  {
     font-size:80%;
	 color:#bbbbbb;
	 font-family: Arial, Helvetica, sans-serif;
}
#sritext:-ms-input-placeholder{
     font-size:140%;
	 color:#bbbbbb;
	 font-family: Arial, Helvetica, sans-serif;
}
#sritext::-ms-input-placeholder{
     font-size:80%;
	 color:#bbbbbb;
	 font-family: Arial, Helvetica, sans-serif;
}
.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); 
}
#help_cnt .topmenubtn3, #crntvsncnt .topmenubtn3 {
    font-size:110%;
	text-align:center;
	margin:10px auto;
	min-width:40px;
}

/*  query styles */
@media only screen and (max-width: 1400px) {
body {
	font-size: 16px;
}
#outer_wrapper {
	width: 80%;
}
.header-btns span {
	top: 3vw;
	left: -30px;
	width: 70px;
	padding: 5px;
}
#stngfrm , #wkspcfm, #help_cnt .tabs-cnt {
    width:40%;
}
}
@media only screen and (max-width: 1000px) {
#outer_wrapper {
	width: 90%;	
}
#stngfrm , #wkspcfm, #help_cnt .tabs-cnt  {
    width:50%;
}

}
@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) {
body {
	font-size: 16px;
}
#outer_wrapper {
	width: 100%;
	margin: 1vw auto;
}
.title-logo h1{
    font-size:125%;
}
.header-functions-cnt {
  display:none;
}
#stngfrm  .menu-btns {
   display:block;
}
#sritext {
 margin: 1vw 0;
}
#stngfrm ul  li, #wkspcfm ul li  {
       padding:8px 5%;	
}
#stngfrm ul li {
	padding: 15px 15%;
}
}
/*  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) {

#help_cnt .tabs-cnt {
    width: 70%;	
}
#stngfrm {
	width:80%;
}
}
@media only screen and (max-width: 150px) {
#outer_wrapper {
	font-size: 12px;
}

}









