﻿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: #595959;
}
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 {
	z-index: 20;
}
#header_cnt table {
	width: 100%;
}
.title-logo {
	width: 80%;
}
.title-logo h1 {
	font-size: 150%;
	text-align: center;
	color: #ffffff;
	text-shadow: 0 1px 0 #ccc, 0 2px 0 #c9c9c9, #cccccc 0 5px 5px;
	font-weight:normal;
}
.title-logo a {
	color: #e8e8e8;
	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 {
	background-color: #8a8a8a;
	border: 2px #8a8a8a solid;
	padding: 5px;
	border-radius: 5px;
	min-width: 40px;
}
.header-btns:hover {
	background-color: #bfbdbe;
	border: 2px #bfbdbe solid;
}
.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;
	border-radius: 0.25em;
}
.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;
	border-radius: 5px;
	background-color: #8a8a8a;
	border: 1px solid #8a8a8a;
}
.settings-btn div:hover {
	background-color: #bfbdbe;
	border: 1px solid #bfbdbe;
	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: #dedcdd;
	-webkit-box-shadow: 0px 0px 15px #bab8b8 inset;
	-moz-box-shadow: 0px 0px 15px #bab8b8 inset;
	box-shadow: 0px 0px 15px #bab8b8 inset;
	min-width: 200px;
	border-radius: 0.5em 0 0.5em 0.5em;
}
#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: #dedcdd;
	-webkit-box-shadow: 0px 0px 15px #bab8b8 inset;
	-moz-box-shadow: 0px 0px 15px #bab8b8 inset;
	box-shadow: 0px 0px 15px #bab8b8 inset;
	min-width: 200px;
	border-radius: 0.5em 0 0.5em 0.5em;
	font-size:120%;
}
#stngfrm ul li {
	list-style: none;
	padding: 5px 5%;
	cursor: pointer;
	
	
}
#stngfrm ul li:hover {
	-webkit-box-shadow: 0px 0px 15px #bab8b8;
	-moz-box-shadow: 0px 0px 15px #bab8b8;
	box-shadow: 0px 0px 15px #bab8b8;
	-webkit-box-shadow: 0px 0px 15px #bab8b8 inset;
	-moz-box-shadow: 0px 0px 15px #bab8b8 inset;
	box-shadow: 0px 0px 15px #bab8b8 inset;

}
#stngfrm .menu-btns {
	display: none;
}
#crntvsncnt {
	left: 0;
	background-color: #dedcdd;
	-webkit-box-shadow: 0px 0px 15px #bab8b8 inset;
	-moz-box-shadow: 0px 0px 15px #bab8b8 inset;
	box-shadow: 0px 0px 15px #bab8b8 inset;
	padding: 5px 2%;
	font-family: Georgia, "Times New Roman", Times, serif;
	border-radius: 0.5em 0 0.5em 0.5em;
}
.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;
	font-family: Georgia, "Times New Roman", Times, serif;
}
#enghelp {
	position: absolute;
	top: 0;
	left: 0;
	clear: both;
	background-color: #dedcdd;
	-webkit-box-shadow: 0px 0px 15px #bab8b8 inset;
	-moz-box-shadow: 0px 0px 15px #bab8b8 inset;
	box-shadow: 0px 0px 15px #bab8b8 inset;
	padding: 5px 2%;
	z-index: 20;
	border-radius: 0.5em 0 0.5em 0.5em;
}
.help-inner {
	background-color: #ffffff;
	width: 100%;
}
#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;
	background-color: #afadad;
	border: 2px #afadad solid;
	border-bottom: 2px #949090 solid;
	color: #ffffff;
}
#help_cnt input:hover {
	background-color: #bfbdbe;
	border: 2px #bfbdbe solid;
	border-bottom: 2px #949090 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 {
	color: #ffffff;
	font-size: 200%;
	background-color: #8a8a8a;
	border: 2px #8a8a8a solid;
	border-radius: 5px;
	margin: 0 2px;
	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: #bfbdbe;
	border: 2px #bfbdbe solid;
}
.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;
}
#convtext {
	width: 100%;
	height: 100px;
	border: 1px #e0ebf4 solid;
	background-color: #f1f6f9;
	font-size: 100%;
	margin-bottom: 10px;
	font-family: Arial, Helvetica, sans-serif;
}
.topmenubtn3 {
	background-color: #afadad;
	border: 2px #afadad solid;
	border-bottom: 2px #949090 solid;
	border-radius: 0.25em;
	min-width: 40px;
}
.topmenubtn3:hover {
	border: 2px #c4c2c3 solid;
	border-bottom: 2px #949090 solid;
	background-color: #c4c2c3;
}
#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 {
	width: 40%;
}
}
@media only screen and (max-width: 1000px) {
#outer_wrapper {
	width: 90%;
}
#stngfrm, #wkspcfm {
	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;
}
#convtext {
	margin: 1vw 0;
}
#wkspcfm {
	width: 75%;
}
#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) {
#wkspcfm {
	width: 100%;
}
#stngfrm {
	width:80%;
}
}
@media only screen and (max-width: 150px) {
#outer_wrapper {
	font-size: 12px;
}
}
