﻿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: #ee5c30;
	background: -webkit-radial-gradient(#ee5c30 10%, #e14c1f);
	background: -o-radial-gradient(#ee5c30 10%, #e14c1f);
	background: -moz-radial-gradient(#ee5c30 10%, #e14c1f);
	background: radial-gradient(#ee5c30 10%, #e14c1f);
	-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:before {
content: "";
	width: 100%;
	height: 1.5em;
	display: block;
	position: absolute;
	left: 0;
	top: 0;	
	background: -webkit-linear-gradient(top, rgba(255,255,255,0.8) 0%,rgba(255,255,255,0.6) 8%, rgba(255,255,255,0) 100%);
	background: -o-linear-gradient(top, rgba(255,255,255,0.8) 0%,rgba(255,255,255,0.6) 8%, rgba(255,255,255,0) 100%);
	background: -moz-linear-gradient(top, rgba(255,255,255,0.8) 0%,rgba(255,255,255,0.6) 8%, rgba(255,255,255,0) 100%);
	background: linear-gradient(to bottom, rgba(255,255,255,0.8) 0%,rgba(255,255,255,0.6) 8%, rgba(255,255,255,0) 100%); 
}
#header_cnt table {
	width:100%;   
}
.title-logo {
	width:95%;
	background-image:url(images/brick-texture.png);
	background-size: 12em 7.5em;
	background-repeat:repeat;
}
.title-logo h1 {
	margin:0;
	font-weight:normal;
	text-align:center;
	color:#000000;
	text-shadow: 0 1px 0 #ccc, 0 2px 0 #c9c9c9, #cccccc 0 5px 5px;
	font-size:150%;
}
.title-logo a  {
	color:#ffffff;
	text-decoration:none;	
}
.title-logo img {
 width:1em;
 position:relative;
 top:0.15em;
}
.settings-btn {
	padding:1px;
	min-width:50px;
}
.settings-btn div {
    width:95%;
	margin:auto;
  -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;
	background-color:#e8dcd8;
}
.settings-btn div:hover {
    background-color:#ecf0f2;
	cursor:pointer;
}
.settings-btn img{
    width:90%;
	margin-left:5%;
}
#content_cnt {
	z-index:20;
}
#crntvsncnt  {
	position:absolute;
	top:0;
	display:none;
	z-index:20;
}
#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;
}
.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); 
	cursor:pointer;
}

#crntvsncnt .topmenubtn3{
    font-size:110%;
	text-align:center;
	margin:10px auto;
	min-width:40px;
} 

/* new */

#txtinput, #txtHint input {
	width: 100%;
	font-family: "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS", sans-serif;
	min-height: 35px;
	-webkit-transition: all 0.5s ease;
	-moz-transition: all 0.5s ease;
	-o-transition: all 0.5s ease;
	transition: all 0.5s ease;
}
#txtinput {
  width:46%;
  margin-left:2%;
  padding-left:1%;
  font-size: 180%;
  border: 1px #e0ebf4 solid;	
	background-color: #f1f6f9;
}
#txtinput:hover, #txtinput:focus {
	background-color: #ffffff;
}
#txtinput::-ms-clear,  #txtinput::-ms-reveal {
  display:none;
  width:0;
  height:0;
}
::placeholder  {
     font-size:90%;
	 color:#bbbbbb;
}
:-ms-input-placeholder{
     font-size:90%;
	 color:#bbbbbb;
}
::-ms-input-placeholder{
     font-size:90%;
	 color:#bbbbbb;
}




.new-search-icon {
   position:relative;
  right:2em;
   top:0.25em;
   width:1.5em;
   opacity:0.5;
}
.new-search-icon:hover {
  opacity:1;
  cursor:pointer;
}
.word-not-found {
   padding:10px 1%;
   color:#b22222;
   font-size: 110%;
   font-family: "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS", sans-serif; 
}
#txtHint {
	width: 100%;
	z-index: 3;
	border: 1px #e0ebf4 solid;
}
#txtHint li {
	list-style: none;
}
#txtHint input {
	background-color: #ffffff;
	border: none;
	width: 100%;
	text-align: left;
	margin: 0;
	color: rgb(251, 158, 37);
	font-size:150%;
}
#txtHint input:hover {
	background-color: #F5F5F5;
	color: #FF6347;
	cursor: pointer;
}
#translateResults {
  	border: 1px #e0ebf4 solid;
	background-color: #f1f6f9;
	padding:5px 2% 1em 2%; 
	margin-top:0px;
	font-family:  "Iskoola Pota", "SinhalaSangamMN", sans-serif;
	font-size:150%;
}
#translateResults li {
    list-style: disc;
	width:90%;
	margin-left:8%;
}
#translateResults  .topmenubtn3 {
    font-size:90%;
	text-align:center;
	margin:1em auto 0.25em 8%;
	min-width:40px;
	font-family: Arial, Helvetica, sans-serif; 
	padding:0.1em 1em;
}

.Search-container {
  width:100%;
  margin:15px auto;
}
.Search-container table {
  width:47%;
  margin-left:2%;
}
.show-search-hint, .hide-search-hint {
  display:block;
}
/*  initial settings */

.Search-container table  div {
  display:none;   
  width:100%;
}
/* loading animation */
.loading-animation {
	font-size:120%;
    font-family: "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS", sans-serif;   
}
.loading-animation:after {
  overflow: hidden;
  display: inline-block;
  vertical-align: middle;
  -webkit-animation: ellipsis steps(10,end) 2000ms infinite;      
  animation: ellipsis steps(10,end) 2000ms infinite;
  content: "\2026"; /* ascii code for the ellipsis character */
  width: 0px;
  font-size:120%;
}
@keyframes ellipsis {
  to {
    width: 3em;    
  }
}

@-webkit-keyframes ellipsis {
  to {
    width: 3em;    
  }
}

/* connection status  */

.status-window-mask {
	background-color: #483429;
	background-color: rgba(72,52,41,0.5);  
	width:100%;
	height:100%;
	position:fixed;
	left:0;
	top:0;
	z-index:1500;
}
.status-warning-wrapper {
   position:absolute;
}
.status-warning-wrapper div{
     max-width:70%;
	 margin:auto;
	 padding:1em 2em;
	 background-color:#ffffff;
	 border:1px #cccccc solid;
	z-index:1600;
	text-align:center;
	position:relative;
	top:10em;
}
.status-warning-wrapper div p:last-child {
   margin:1em auto 0.5em auto;
   	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;
	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;
	width:8em;
}
.status-warning-wrapper div p:last-child: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); 
	cursor:pointer;
}


/*  query styles */
@media only screen and (max-width: 1400px) {
body {
	font-size: 16px;
}
#outer_wrapper {
	width: 80%;
}
#stngfrm  {
    width:40%;
}
}
@media only screen and (max-width: 1000px) {
#outer_wrapper {
	width: 90%;	
}
#stngfrm  {
    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%;
}
#stngfrm  .menu-btns {
   display:block;
}
#stngfrm ul  li {
       padding:8px 5%;	
}

}
/*  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 {
}
.Search-container table, #txtinput {
  width:95%;
  margin-left:2%; 
}
.hide-search-hint {
  display:none;
}
.show-search-hint {
  display:block;
}
#translateResults {
  margin-top:10px;
}
.new-search-icon {
   position:absolute;
   right:0.75em;
   top:0.5em;
   width:1.5em;
}
}
@media only screen and (max-width: 150px) {
#outer_wrapper {
	font-size: 12px;
}

}









