@font-face
{font-family: Tamil;
font-weight: bolder;
src:url("../fonts/Tamil-classical.ttf") format("truetype");
}
@font-face
{font-family: myTamil;
font-weight: bolder;
src:url("../fonts/agaram.ttf") format("truetype");
}

body
{
 font-family: Tamil;
 font-size: 18px;
 background-color: white;
 background-image: none;
 background-repeat: repeat;
 background-attachment: scroll;
 background-position: 0% 50%;
 color: #241515;
 line-height: 1.6em;
}

.flex {
	display: -webkit-flex;
	display: flex;
}

h1, h2
{
 font-family: Tamil;
 margin-top: 3px;
 margin-right: 0px;
 margin-bottom: 3px;
 margin-left: 0px;
 font-size: 28px;
 font-weight: 400;
 text-align: center;
 color: #120606;
 line-height: 1.5em;
}

h3 {
 font-family: Tamil;
 font-size: 24px;
 text-align: center;
 line-height: 1.4em;
 color: darkred;
}

h4
{
 font-family: Tamil;
 font-size:22px;
 margin-top: 2px;
 margin-right: 0px;
 margin-bottom: 2px;
 margin-left: 0px;
 font-weight: 200;
 line-height: 1.4em;
 color: #9E0404;
}

h5
{
 font-family: Tamil;
 font-size:20px;
 margin-top: 2px;
 margin-right: 0px;
 margin-bottom: 2px;
 margin-left: 0px;
 color: #CA0707;
 line-height: 1.4em;
 font-weight: 200;
}

h6
{
 font-family: Tamil;
 font-size:20px;
 margin-top: 3px;
 margin-right: 0px;
 margin-bottom: 3px;
 margin-left: 0px;
 color: #720404;
 line-height: 1.3em;
 font-weight: 200;
}

#banner
{
 border-top-style: none;
 border-right-style: none;
 border-bottom-style: none;
 border-left-style: none;
 border-top-color: black;
 border-right-color: black;
 border-bottom-color: black;
 border-left-color: black;
 border-top-width: 0pt;
 border-right-width: 0pt;
 border-bottom-width: 0pt;
 border-left-width: 0pt;
 background-color: white;
 background-image: none;
 background-repeat: repeat;
 background-attachment: scroll;
 background-position: 0% 50%;
 clear: both;
 display: block;
}

#leftcontent
{
 border-top-width: 0px;
 border-top-style: solid;
 border-top-color: darkblue;
 border-right-width: 0px;
 border-right-style: solid;
 border-right-color: darkblue;
 border-bottom-width: 0px;
 border-bottom-style: solid;
 border-bottom-color: darkblue;
 border-left-width: 0px;
 border-left-style: solid;
 border-left-color: darkblue;
 background-color: #FFEBEB;
 background-image: none;
 background-repeat: repeat;
 background-attachment: scroll;
 margin-top: 24px;
 float: left;
 width: 21%;
 font-size: 16px;
 font-weight: bold;
}

#centercontent
{
 border-top-color: #ffffcc;
 border-right-color: #ffffcc;
 border-bottom-color: #ffffcc;
 border-left-color: #ffffcc;
 border-top-width: 1px;
 border-right-width: 1px;
 border-bottom-width: 1px;
 border-left-width: 1px;
 border-top-style: hidden;
 border-right-style: hidden;
 border-bottom-style: hidden;
 border-left-style: hidden;
 background-image: none;
 background-repeat: repeat;
 background-attachment: scroll;
 background-position: 0% 50%;
 margin-top: 12px;
 margin-right: 0px;
/* max-height: 100%;
 min-height: 80%; */
 width: 78%;
 height: 100%;
 float: right;
 line-height: 1.6em;
}

#para
{
 font-family: Tamil;
 border-top-style: hidden;
 border-right-style: hidden;
 border-bottom-style: inset;
 border-left-style: hidden;
 background-color: transparent;
 color: black;
 margin-left: auto;
 line-height: 1.6em;
}

/* Pager (prev/next links) navigation */
.pager
{
	-webkit-justify-content: space-between;
	justify-content: space-between;
	padding-top: 25px;
	padding-bottom: 25px;
	margin-bottom: 25px;
	border-bottom: 1px solid #ebebeb;
}

.pager-subtitle
{
	display: block;
	margin-bottom: 5px;
	font-weight: 700;
	line-height: 1;
}

.pager-title
{
	margin-bottom: 0;
	overflow: hidden;
	font-size: 13px;
	font-size: 1.125rem;
}

.pager-item
{
   -webkit-flex: 1 1 50%;
	flex: 1 1 50%;
	max-width: 48%;
}

.pager-item--next
{
 	margin-left: auto;
	text-align: right;
}

.pager-item--prev
{
 	margin-right: auto;
	text-align: left;
}

.pager-link
{
	display: block;
}

#footer
{
 clear:both;
 color: black;
 font-size: medium;
 width: 100%;
 font-style: normal;
 background-color: #CBD9F1;
 font-weight: bold;
 line-height: normal;
 margin-right: 2px;
 margin-left: 2px;
}

#side-menu
{
 clear:left;
 width: 100%;
 text-align: left;
 font-family: Tamil;
/* background-color: #141414; */
}

#side-menu ul
{
 position: relative;
 z-index: 597;
 width: 100%;
 margin: 0;
 padding: 0;
 list-style-type: none;
 list-style-position: outside;
 list-style-image: none;
}

#side-menu li
{
   margin: 0 ;
	padding: 0 ;
	padding-bottom: 6px;
	display: block;
	list-style: none;
	color: #2B539C;
}

#side-menu li a
{
	color: #FFFFFF;
	background-color: #1766A5;
	border: 1px outset #00f;
	text-decoration: none;
	font-weight: bolder;
	display: block;
	padding-top: 8px;
	padding-right: 8px;
	padding-bottom: 8px;
	padding-left: 8px;
	font-family: Tamil;
	font-weight: 600;
	line-height: 120%;
	text-decoration: bold;
	font-size: 20px;
}


#side-menu li a:hover
{
	border-top-width: 5px;
	border-top-style: solid;
	border-top-color: transparent;
	border-right-width: 5px;
	border-right-style: solid;
	border-right-color: #FF0000;
	border-bottom-width: 5px;
	border-bottom-style: solid;
	border-bottom-color: #000000;
	color: #FFF000;
	background-color: #0000C0;
}

.topmenubar {
 clear:both;
 text-align: center;
}

.top-menu ul
{
 margin-top: 2px;
 margin-right: 2px;
 margin-bottom: 2px;
 margin-left: 2px;
 padding-top: 2pt;
 padding-right: 0px;
 padding-bottom: 0px;
 padding-left: 0px;
 list-style-type: none;
 list-style-position: outside;
 list-style-image: none;
 display: inline;
}

.top-menu ul li
{
 margin-top: 0px;
 margin-right: 0px;
 margin-bottom: 0px;
 margin-left: 0px;
 padding-top: 0px;
 padding-right: 0px;
 padding-bottom: 0px;
 padding-left: 0px;
 display: inline;
 text-align: center;
 list-style-type: none;
 list-style-position: outside;
 list-style-image: none;
 font-size: 110%;
}

.top-menu li a
{
	border-top-color: #b3a000;
	border-right-color: #b3a000;
	border-bottom-color: #FFFFFF;
	border-left-color: #b3a000;
	border-top-width: 1px;
	border-right-width: 1px;
	border-bottom-width: 1px;
	border-left-width: 1px;
	border-top-style: outset;
	border-right-style: outset;
	border-bottom-style: outset;
	border-left-style: outset;
	padding-top: 1px;
	padding-right: 1px;
	padding-bottom: 1px;
	padding-left: 1px;
	color: red;
	background-color: #ffffcc;
	text-decoration: none;
	display: inline;
}

.top-menu li a:hover
{
 background-color: #ffff33;
 color: black;
}

/* Add a black background color to the top navigation bar */
* {box-sizing: border-box;}

.topnav {
  overflow: hidden;
  background-color: #F8FD8F;
}

.topnav ul {
	display: inline;
	padding-left:1px;
	padding-top: 0px;
	padding-bottom: 0px;
	}

.topnav ul li {
	display: inline-block;
	list-style-type: none;
	padding-right: 0px;
	font-weight: bolder;
	background-color: #7C89EF;
}

/* Style the links inside the navigation bar */
.topnav a {
  float: left;
  display: block;
  color: black;
  text-align: center;
  padding: 0px 2px 0px 2px;
  text-decoration: none;
  font-size: 18px;
}

/* Change the color of links on hover */
.topnav a:hover {
  background-color: #F80823;
  color: black;
}

/* Style the "active" element to highlight the current page */
.topnav a.active {
  background-color: #2196F3;
  color: white;
}

/* Style the search box inside the navigation bar */
.topnav input[type=text] {
  position:relative;
  display:inline;
  float: right;
  padding: 2px 2px 2px 2px;
  border: none;
  border-radius: 2px 2px 2px 2px;
  margin-top: 2px;
  margin-right: 16px;
  font-size: 16px;
}

#sub-menu
{
 clear:left;
 width: 100%;
 text-align: left;
 font-family: Tamil;
 background-color: #FDF8F8;
}

#sub-menu ul
{
 position: relative;
 z-index: 597;
 width: 100%;
 margin: 0 ;
 padding: 5px;
 list-style-type: none;
 list-style-position: outside;
 list-style-image: none;
}

#sub-menu li
{
  margin: 0 ;
	padding: 0 ;
	display: block ;
	list-style: none ;
}

#sub-menu li a
{
	color: #000000;
	background-color: #FCFAC3;
   border: 1px outset #00000F;
	text-decoration: none;
	display: block;
	padding-top: 4px;
	padding-right: 4px;
	padding-bottom: 4px;
	padding-left: 4px;
	font-family: Tamil;
	font-weight: 200;
	line-height: 120%;
	text-decoration: none;
	font-size: 18px;
}


#sub-menu li a:hover
{
	border-top-width: 5px;
	border-top-style: solid;
	border-top-color: transparent;
	border-right-width: 5px;
	border-right-style: solid;
	border-right-color: #FF0000;
	border-bottom-width: 5px;
	border-bottom-style: solid;
	border-bottom-color: #000000;
	color: #18120C;
	background-color: #F80823;
}



@media only screen and (max-width: 629px) {
  /* for widths less than or equal to 629 pixels */
  #centercontent {
    float: none ;
    width: 100% ;
  }
  #leftcontent {
    float: none;
    width: 100%;
    }
  #side-menu {
    float: none ;
    width: 100% ;
  }
  #notes {
    width: 100%;
  }
  #notes1 {
    width: 100%;
  }

/* When the screen is less than 600px wide, stack the links and the search field vertically instead of horizontally */

  .topnav a, .topnav input[type=text] {
    float: none;
    display: inline-block;
    text-align: left;
    width: 100%;
    margin: 2px;
    padding: 5px;
  }
  .topnav input[type=text] {
    border: 2px solid #BDA8A8;
    font-size: 12px;
  }
}
