﻿div, img, ul, p, ol, li, table, tr, th, td, h1, form, body {
	margin: 0;
	padding: 0;
	border: none;
}
table, 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;
}
@font-face
{
	font-family:'Abhaya_Medium';
	src: url('content/abhaya-libre-medium.woff') format('woff');
}

#vw_element {
	width: 1px;
	width: 50vw; 
}
#outer_wrapper {
	width: 45%;
	margin: auto;
	background-color: #7f8595;
	background: -webkit-radial-gradient(center bottom, rgba(214, 219, 234, 0.8) 0%, rgba(105, 107, 109, 0) 70%), -webkit-linear-gradient(top, #535763 0%,#7f8595 6%,#848ca4 52%,#9fa8c3 91%,#636a7d 100%);
	background: -o-radial-gradient(center bottom, rgba(214, 219, 234, 0.8) 0%, rgba(105, 107, 109, 0) 70%), -o-linear-gradient(top, #535763 0%,#7f8595 6%,#848ca4 52%,#9fa8c3 91%,#636a7d 100%);
	background: -moz-radial-gradient(center bottom, rgba(214, 219, 234, 0.8) 0%, rgba(105, 107, 109, 0) 70%), -moz-linear-gradient(top, #535763 0%,#7f8595 6%,#848ca4 52%,#9fa8c3 91%,#636a7d 100%);
	background: radial-gradient(at center bottom, rgba(214, 219, 234, 0.8) 0%, rgba(105, 107, 109, 0) 70%), linear-gradient(to top, #535763 0%,#7f8595 6%,#848ca4 52%,#9fa8c3 91%,#636a7d 100%);
	padding-bottom: 30px;
	padding-top: 10px;
}
.title {
	text-align: center;
}
.title h1  {
	color: #ffffff;
	font-size: 180%;
	font-weight: normal;
	font-family: "Trebuchet MS", "Lucida Sans Unicode", "Lucida Grande", "Lucida Sans", Arial, sans-serif;
	margin: 0 auto 10px auto;
	padding: 5px 2% 10px 2%;
	background-color: #9fa8c3;
	-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;
	border-radius: 25px;
	width: 95%;
	text-shadow: 0 1px 0 #ccc, 0 2px 0 #c9c9c9, rgba(0,0,0,.1) 0 5px 5px;
	box-sizing: border-box;
}

.title a  {
   	color: #ffffff;
	text-decoration:none;	
}
.title h1 span {
    font-family: "Iskoola Pota", "SinhalaSangamMN", sans-serif;
}
.title img {
 width:1em;
 position:relative;
 top:0.20em;
}
.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: 2px #9fa8c3 solid;
	border-top: 1px #bbc2d5 solid;
	border: 2px rgba(159,168,195,0.6) solid;
	border-top: 1px rgba(187,194,213,0.6) solid;
	border-radius: 5px;
	padding: 1px;
}
#menu_btn:hover {
	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 );
	cursor: pointer;
}
/*  menu  */
#menu_cnt {
	background-color: #ffffff;
	position: absolute;
	top: 0;
	left: 0;
	display: none;  
	z-index: 4;
}
.menu-outer-wrapper {
	padding: 3px;
	background-color: #cfdceb;
	background: -webkit-linear-gradient(right, #cfdceb, #9fb8d7);
	background: -o-linear-gradient(right, #cfdceb, #9fb8d7);
	background: -moz-linear-gradient(right, #cfdceb, #9fb8d7);
	background: linear-gradient(to right, #cfdceb, #9fb8d7);
	box-sizing: border-box;
}
.menu_wrapper {
	padding: 10px;
	background-color: #B0C4DE;
	background: -webkit-linear-gradient(#B0C4DE 2%, #d4dfec 85%, #B0C4DE);
	background: -o-linear-gradient(#B0C4DE 2%, #d4dfec 85%, #B0C4DE);
	background: -moz-linear-gradient(#B0C4DE 2%, #d4dfec 85%, #B0C4DE);
	background: linear-gradient(#B0C4DE 2%, #d4dfec 85%, #B0C4DE);
	box-sizing: border-box;
}
.menu_wrapper .menu_header {
	font-size: 110%;
	font-family: Geneva, Verdana, sans-serif;
}
.menu_wrapper .menu_desc {
	margin: 5px 0;
	background-color: #dbe5ef;
	padding: 8px 2%;
	box-sizing: border-box;
}
.menu-subheader {
	margin: 15px 0 5px 0;
	text-decoration: underline;
	font-weight: bold;
}
.menu-text1 {
	margin: 8px 0;
}
.menu_controls tr td:first-child {
	width: 10%;
	min-width: 35px;
}
.menu_controls tr td:first-child img {
	width: 70%;
	margin: auto;
}
.menu_controls tr td {
	padding: 4px 0;
}
.menu-about-cnt a, .menu-troubleshooting-cnt a, .menu-quickstart-cnt a {
	color: #000000;
	text-decoration: underline;
}
#audio_cnt {
	position: absolute;
	left: 0;
	top: -300px;
}
#cnt1, #cnt2 {
	width: 100%;
	height: 100%;
	background-repeat: no-repeat;
	background-position: left top;
	background-size: 200% 100%;
	-webkit-transition: background-position 2s ease,opacity 2s ease;
	-moz-transition: background-position 2s ease,opacity 2s ease;
	-o-transition: background-position 2s ease,opacity 2s ease;
	transition: background-position 2s ease,opacity 2s ease;
	position: absolute;
	left: 0;
	top: 0;
	border: 0px rgba(159, 168, 195, 0.8) solid;
	box-sizing: border-box;
}
.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%);  */
	background-color: #ffffff;
	box-shadow: 5px 5px 5px #777777;
	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);
	cursor:pointer;
}
/* loading dots  */

.loading-animation {
	color:#888888;
}
.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 {
	background-image: url(content/1vowels.jpg);
}
/* inital settings second container    */
#cnt1 {
	opacity: 0;
	background-image: url(content/8consonants.jpg);
	background-position: top right;
	background-size: 300% 100%;
}
.controls-cnt {
	margin: 10px auto 20px auto;
	text-align: center;
	width: 50%;
	padding: 10px 0;
}
.controls-cnt table {
	width: 90%;
	margin: auto;
}
.controls-cnt .spacer1 {
	width: 10%;
}
.controls-cnt .spacer2 {
	width: 25%;
}
.controls-cnt .nav-control {
	width: 25%;
	width: 24.5%;
}
.controls-cnt .vol-control {
	width: 16%;
}
.controls-cnt div {
	position: relative;
	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: 1px #888888 solid;
	border-radius: 8px;
	box-shadow: 2px 2px #777777;
	-webkit-box-shadow: 0px 0px 10px rgba(105,132,151,0.7) inset;
	-moz-box-shadow: 0px 0px 10px rgba(105,132,151,0.7) inset;  
      box-shadow: 0px 0px 10px rgba(105,132,151,0.7) inset;
}
.controls-cnt div:before {
	content: "";
	width: 99.5%;
	height: 50%;
	display: block;
	position: absolute;
	left: 0;
	top: 0;
	border-radius: 8px;
	background: -webkit-linear-gradient(top, rgba(255,255,255,1) 0%,rgba(255,255,255,0.7) 8%,rgba(255,255,255,0) 100%);
	background: -o-linear-gradient(top, rgba(255,255,255,1) 0%,rgba(255,255,255,0.7) 8%,rgba(255,255,255,0) 100%);
	background: -moz-linear-gradient(top, rgba(255,255,255,1) 0%, rgba(255,255,255,0.7) 8%, rgba(255,255,255,0) 100%);
	background: linear-gradient(to bottom, rgba(255,255,255,1) 0%,rgba(255,255,255,0.7) 8%,rgba(255,255,255,0) 100%);
}
.controls-cnt div:hover {
	background-color: #94c4fe;
	background: -webkit-linear-gradient(top, #94c4fe 31%,#d3f6fe 100%);
	background: -moz-linear-gradient(top, #94c4fe 31%, #d3f6fe 100%);
	background: -o-linear-gradient(top, #94c4fe 31%,#d3f6fe 100%);
	background: linear-gradient(to bottom, #94c4fe 31%,#d3f6fe 100%);
	-ms-transform: scale(1.2,1.2);
	-webkit-transform: scale(1.2,1.2);
	transform: scale(1.2,1.2);
	cursor: pointer;
}
.letters-wrapper {
	background-color: #ffffff;
	padding: 20px;
	box-sizing: border-box;
	width: 95%;
	margin: auto;
	-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;
}
#lettersContainer {
	margin-bottom: 10px;
	width: 100%;
	font-family: 'Abhaya_Medium', Times, "Times New Roman", serif;
}
#lettersContainer table {
	 width: 2.5em;
	height: 2.5em; 
	margin: 5px;
	position: relative;
	min-width: 35px;
	min-height: 35px;
}
#lettersContainer table div {
	border-radius: 50%;
	 width: 2.5em;
	height: 2.5em; 
	min-width: 35px;
	min-height: 35px;
	background: -webkit-radial-gradient(50% 120%, circle, #81e8f6, #76deef 10%, #055194 80%, #062745 100%);
	background: -o-radial-gradient(50% 120%, circle, #81e8f6, #76deef 10%, #055194 80%, #062745 100%);
	background: -moz-radial-gradient(50% 120%, circle, #81e8f6, #76deef 10%, #055194 80%, #062745 100%);
	background: radial-gradient(circle at 50% 120%, #81e8f6, #76deef 10%, #055194 80%, #062745 100%);
}
#lettersContainer table p {
	 width: 2.5em;
	height: 2.5em; 	
	min-width: 35px;
	min-height: 35px;
	border-radius: 50%;
	text-align: center;
}
#lettersContainer table div:before {
	content: "";
	position: absolute;
	top: 1%;
	left: 5%;
	width: 90%;
	height: 90%;
	border-radius: 50%;
	background: -webkit-radial-gradient(50% 0, circle, #ffffff, rgba(255, 255, 255, 0) 58%);
	background: -o-radial-gradient (50% 0, circle, #ffffff, rgba(255, 255, 255, 0) 58%);
	background: -moz-radial-gradient(50% 0, circle, #ffffff, rgba(255, 255, 255, 0) 58%);
	background: radial-gradient(circle at 50% 0, #ffffff, rgba(255, 255, 255, 0) 58%);
	filter: blur(5px);
}
#lettersContainer table p a {
	font-size: 200%;
	bottom: 0;
	position: relative;
	z-index: 1;
	font-family: 'Abhaya_Medium', Times, "Times New Roman", serif;
	color: #ffffff;
}
#lettersContainer table div:hover {
	background: -webkit-radial-gradient(50% 120%, circle, #282F44, #afb7c7 10%, #354262 80%, #050C54 100%);
	background: -o-radial-gradient(50% 120%, circle, #282F44, #afb7c7 10%, #354262 80%, #050C54 100%);
	background: -moz-radial-gradient(50% 120%, circle, #282F44, #afb7c7 10%, #354262 80%, #050C54 100%);
	background: radial-gradient(circle at 50% 120%, #282F44, #afb7c7 10%, #354262 80%, #050C54 100%);
	cursor: pointer;
}
.copyright-notice {
	color: #ffffff;
	font-size: 90%;
	text-align: center;
	padding: 50px 0 15px 0;
}
.copyright-notice a {
	color: #ffffff;
}
/*  query styles */

@media only screen and (max-width: 1400px) {
body {
	font-size: 16px;
}
#outer_wrapper {
	width: 60%;
}
.image_wrapper {
	width: 45vw;
	height: 30vw;
}
}
@media only screen and (max-width: 1000px) {
#outer_wrapper {
	width: 80%;
}
.title h1 {
	font-size: 150%;
}
.image_wrapper {
	width: 60vw;
	height: 40vw;
}
}
@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%;
}
.title h1 {
	font-size: 140%;
}
.image_wrapper {
	width: 75vw;
	height: 50vw;
}
.letters-wrapper {
	padding: 2vw;
}
}
/*  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) {
.title h1 {
	font-size: 120%;
}
.title-cnt-left-side {
	width: 0;
	min-width: 0;
	padding-right: 0;
}
.image_wrapper {
	border-width: 5px;
}
.controls-cnt {
	width: 100%;
}
}
@media only screen and (max-width: 150px) {
#outer_wrapper {
	font-size: 12px;
}
}
