﻿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;
	background:#d0cccd;

}
@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;
	padding-bottom: 30px;
	padding-top: 10px;
	background-color:#bdbbb9;
}
.title {
	text-align: center;
}
.title h1  {	
	color: #ffffff;
	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%;
	background-color: #a1878b;
	-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 #cccccc, 0 2px 0 #c9c9c9, rgba(0,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;	
	background-color:#ada5a6;
}
#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: #aa9497;
	cursor: pointer;
}
/*  menu  */
#menu_cnt {
	position: absolute;
	top: 0;
	left: 0;
	display: none;
	z-index: 4;
}
.menu-outer-wrapper {
	padding: 3px;
	background-color: #decccf;
	box-sizing: border-box;	
}
.menu_wrapper {
	padding: 10px;
	box-sizing: border-box;
}
.menu_wrapper .menu_header {
	font-size: 110%;
	font-family: Geneva, Verdana, sans-serif;
}
.menu_wrapper .menu_desc {
	margin: 5px 0;
	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;
}
.menu-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: 1em;
	margin-bottom: 10px;
}
.menu-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);
}
#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/family1.jpg); 
	background-position: top left;
	background-size: 300% 100%;

}
/* inital settings second container    */
#cnt1 {
	opacity: 0;
	background-image: url(content/colour4.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;
	border: 1px #aa9497 solid;
	border-radius: 8px;
	background-color: #ada5a6;   
}
.controls-cnt div:hover {
	background-color: #aa9497;
	-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: #b22222;
	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;
	background: -webkit-radial-gradient(50% 120%, circle, #ad2326, #ef7376 10%, #b22222 80%, #a62023 100%);
	background: -o-radial-gradient(50% 120%, circle, #ad2326, #ef7376 10%, #b22222 80%, #a62023 100%);
	background: -moz-radial-gradient(50% 120%, circle, #ad2326, #ef7376 10%, #b22222 80%, #a62023 100%);
	background: radial-gradient(circle at 50% 120%, #ad2326, #ef7376 10%, #b22222 80%, #a62023 100%); 	
}
#categoryContainer table {
   width:17%;
   margin:10px 20px;
   min-width:60px;
}
#categoryContainer table div {
     border:5px #cccccc solid;
	 cursor:pointer;	 
}
#categoryContainer table div {
    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;
	padding:10px;
}
#categoryContainer table div:hover {
	background-color: #c7c5c6;
	background: -webkit-linear-gradient(top, #c7c5c6 31%,#ada5a6 100%);
	background: -moz-linear-gradient(top, #c7c5c6 31%,#ada5a6 100%);
	background: -o-linear-gradient(top, #c7c5c6 31%,#ada5a6 100%);
	background: linear-gradient(to bottom, #c7c5c6 31%,#ada5a6 100%);
	-ms-transform: scale(1.1,1.1);
	-webkit-transform: scale(1.1,1.1);
	transform: scale(1.1,1.1);
	cursor: pointer;
}
#categoryContainer .selectedCategory {
	background-color: #aa9497;
	background: -webkit-linear-gradient(#aa9497, #aa9497);
	background: -o-linear-gradient(#aa9497, #aa9497);
	background: -moz-linear-gradient(#aa9497, #aa9497);
	background: linear-gradient(#aa9497, #aa9497);
}
#categoryContainer .nonSelectedCategory {
   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 );
}
#categoryContainer table div img {
	border-radius: 8px;
}
#categoryIndex {
	margin-top:10px;
}
#categoryIndex  li{
	list-style:none;
	display: inline;
}
#categoryIndex  li input{
	background-color:#a1878b;
	width:25px;
	height:25px;
	border:1px #aaaaaa solid;
	margin:0 10px 10px 10px; 
    padding:1px;
}
#categoryIndex  li input:hover{
	-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;
	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%;
	max-width:20em;
}
#categoryContainer table {
   margin:10px 15px;
}
#categoryContainer table div {
   padding:5px;
}
#categoryIndex  li input{
	width:20px;
	height:20px;
	margin:0 10px 10px 10px;
}

}
@media only screen and (max-width: 150px) {
#outer_wrapper {
	font-size: 12px;
}
}
