*{
	margin:0px;
	padding:0px;
	box-sizing: border-box;
	font-family: 'SangathamizhClassicTamil';
}

@font-face {
	font-family: 'SangathamizhClassicTamil';
	src: url(../../fonts/Sangathamizh-ClassicTamilRegular.ttf) format(truetype);
}

/* ====================== Code START for HEADER IMAGE ====================== */

.head-image{
	width: 100%;
	height: 450px;
	object-fit: cover;
}

.head-image-white{
	display: none;
	width: 100%;
	height: auto;
	object-fit: cover;
}

/* ====================== Code START for SCROLL TO TOP ====================== */

#scrollToTop{
	padding: 0.5rem;
	position: fixed;
	bottom: 20px;
	right: 20px;
	cursor: pointer;	
	z-index: 10;
}

/* ====================== Code START for TOP NAVIGATION ====================== */

.navbar{
	margin-top: -9px;
	background-color:#883419;
	padding:0 15px;
	position: sticky;
	top: 0;
	z-index:9998;
}

.nav-container{
	max-width: 1170px;
	margin: auto;
}

.row{
	display: flex;
	flex-wrap: wrap;
}

.justify-content-between{
	justify-content: space-between;
}

.align-items-center{
	align-items: center;
}

.navbar .logo .brand-name{
	font-size:22px;
	color:rgb(214, 214, 214);
	text-decoration: none;
}

.navbar .navbar-nav-toggle{
	height:32px;
	width: 40px;
	background-color: transparent;
	border:1px solid rgb(214, 214, 214);
	border-radius:5px;
	display: none;
	align-items: center;
	justify-content: center;
	cursor: pointer;
}

.navbar .navbar-nav-toggle:focus{
	outline: none;
}

.navbar .navbar-nav-toggle span{
	height: 2px;
	width: 16px;
	display: inline-block;
	background-color: rgb(214, 214, 214);
	position: relative;
	transition: all .3s ease;
}

.navbar .navbar-nav-toggle.close span{
	background-color: transparent;
}

.navbar .navbar-nav-toggle span::before{
	content: '';
	position: absolute;
	left:0;
	top:0;
	height: 2px;
	width: 100%;
	background-color: rgb(214, 214, 214);
	transform: translateY(-6px);
	transition: all .3s ease;
}

.navbar .navbar-nav-toggle span::after{
	content: '';
	position: absolute;
	left:0;
	top:0;
	height: 2px;
	width: 100%;
	background-color: rgb(214, 214, 214);
	transform: translateY(6px);
	transition: all .3s ease;
}

.navbar .navbar-nav-toggle.close span::before{
	transform: translateY(0) rotate(45deg);
}

.navbar .navbar-nav-toggle.close span::after{
	transform: translateY(0) rotate(-45deg);
}

.navbar .navbar-nav ul{
	list-style: none;
	margin:0;
	padding:0;
}

.navbar .navbar-nav ul > li{
	display: inline-block;
	margin:0 25px;
	position: relative;
}

.navbar .navbar-nav ul > li:last-child{
 	margin-right:0;	
}

.navbar .navbar-nav ul > li > a{
	padding:28px 0;
	display: block;
	color:rgb(218, 218, 218);
	font-size:16px;
	text-decoration: none;
	position: relative;
	transition: color 0.3s ease;
}

.navbar .navbar-nav ul > li > a::before{
	content:'';
	position: absolute;
	left:0;
	top:0;
	height: 3px;
	width:0%;
	background-color:#ffc226; 
	transition: width 0.3s ease;
}

.navbar .navbar-nav ul > li > a:hover::before{
	width: 100%;
}

.navbar .navbar-nav ul > li > a:hover{
	color:#ffc226;
}

.navbar .navbar-nav ul > li > .sub-menu{
	position: absolute;
	background-color: #662813;
	box-shadow: 0 0 10px rgba(0,0,0,0.1);
	width: 210px;
	top:100%;
	left:0;
	border-top:3px solid #ffc226;
	margin:20px 0 0 0;
	padding:0;
	list-style: none;
	/* z-index: 9999; */
	opacity:0;
	visibility: hidden;
	transition: all 0.3s ease;
}

.navbar .navbar-nav ul > li:hover > .sub-menu{
    opacity:1;
	visibility:visible;	
	margin:0;
}

.navbar .navbar-nav ul > li > .sub-menu > li{
	display: block;
	margin:0;
}

.navbar .navbar-nav ul > li > .sub-menu > li > a::before{
	content: none;
}

.navbar .navbar-nav ul > li > .sub-menu > li > a{
	color:rgb(214, 214, 214);
	transition: all 0.3s ease;
	/* padding:14px 20px; */
	padding:8px 20px;
	text-decoration: none;
	margin:0;
}

.navbar .navbar-nav ul > li > .sub-menu > li > a:hover{
	background-color: #ffc226;
	color:black;
}

/* ====================== Code START for Soacial Media Buttons ====================== */

.media{
	float: right;
	margin-top: -25px;
}

.media ul li{
	list-style: none;
	position: absolute;
}

.media ul li a{
	position: relative;
	width: 50px;
	height: 50px;
	display: block;
	text-align: center;
	border-radius: 50%;
	padding: 6px;
	box-sizing: border-box;
	text-decoration: none;
	/* background: linear-gradient(0deg, #ddd, #fff); */
	transition: .5s;
	z-index: 9999;	
}

.media ul li a .fab{
	width: 100%;
	height: 100%;
	display: block;
	/* background: linear-gradient(0deg, #fff, #ddd); */
	background-color: gray;
	border-radius: 50%;
	line-height: calc(50px - 12px);
	font-size: 25px;
	color: #262626;
	transition: .5s;
}

.media ul li a .fas{
	width: 100%;
	height: 100%;
	line-height: calc(50px - 12px);
	font-size: 25px;
	color:rgb(218, 218, 218);
	list-style: none;
	background-color:#883419;
}

.media ul li:nth-child(1) a:hover .fab{
	color: #4267B2;
}

.media ul li:nth-child(2) a:hover .fab{
	color: #00aced;
}

.media ul li:nth-child(3) a:hover .fab{
	color: #bc2a8d;
}

.media ul li:nth-child(4) a:hover .fab{
	color: #cb2027;
}

.media ul li:nth-child(5) a:hover .fab{
	color: #007bb6;
}

.media ul li:nth-child(6) a:hover .fab{
	color: #25D366;
}

.media ul:hover li:nth-child(1) a{
	transform: translateX(44px) rotate(360deg);
}

.media ul:hover li:nth-child(2) a{
	transform: translateX(88px) rotate(360deg);
}

.media ul:hover li:nth-child(3) a{
	transform: translateX(132px) rotate(360deg);
}

.media ul:hover li:nth-child(4) a{
	transform: translateX(176px) rotate(360deg);
}

.media ul:hover li:nth-child(5) a{
	transform: translateX(220px) rotate(360deg);
}

.media ul:hover li:nth-child(6) a{
	transform: translateX(264px) rotate(360deg);
}

/* ====================== Code END for TOP NAVIGATION ====================== */

body{
	background-color: rgb(255, 248, 226);
    background-image: url(../../images/bg1.png);
	background-repeat: repeat;
}

/* ====================== Code START for MAIN WRAPPER ====================== */

#mainwrapper {
	/* Container of all content */
	width: 100%;
	overflow: auto;
	margin-left: 20%;
}


/* ====================== Code START for LEFT SECTION ====================== */

#leftSection{
	margin-top:20px;
	height: auto;
	width: 20%;
	float: left;
	/* overflow:scroll; */
}

#leftContent{
	width: 100%;
	height: 102px;
	border-width: 0.1px;
	border-style: solid;
	border-color:rgb(196, 196, 196);
	align-items: center;
	background-color: white;
	margin-bottom: 10px;
}

#leftImageContainer{
	float: left;
	height: auto;
}

.lefSideImage{
	align-items: center;
	width: 125px;
	height: 80px;
	border-style: solid;
	border-width: 0.1px;
	border-color: rgb(196, 196, 196);
	/* box-shadow: 0 1px 3px rgba(0,0,0,0.5); */
	margin-left: 8px;
	margin-top: 10px;
}

.leftText{
	font-size: 11px;
	float: left;
	width: 55%;
	height: 80px;
	margin-top: 5px;
	margin-left: 5px;
    overflow: hidden;
    color: rgb(82, 82, 82);
}

.leftText h1{
	text-decoration: none;
	font-weight: bold;
	font-size: 16px;
}

#leftContent .leftText a{
	text-decoration: none;
	color: black;
}

#leftContent .leftText a:hover{
	color: orange;
}

#leftContent .leftText a:visited{
	color:blue;
}

.leftText h2{
	font-size: 15px;
	font-weight: 100;
	line-height: 18px;
}

/* ====================== Code START for CENTER SECTION ====================== */

#centerSection{
	margin-top: 20px;
	margin-left: 10px;
	height: auto;
	width: 40%;
	float: left;
}

.head-back-grnd{
	text-align: center;
	float: left;
    padding: 8px;
    width: 230px;
    background-color: #883419;
	color: white;
}

.head-back-grnd h1{
	font-size: 18px;
	font-weight: 600;
}

hr{
    background-color: #883419;
	width: 100%;
	margin-top: 35px;
    padding: 0.5px;
    border: solid;
    border-width: 0px;
}

#imgDiv{
	width: 100%;
	height: auto;
	margin-top: 20px;
}

#imgDiv .center-img{
	width: 75%;
	height: auto;
	margin-top: 10px;
	margin-left: 13%;
	border: 0.5px;
	border-style: solid;
	border-color:rgb(196, 196, 196);
}

#centerContent-top .head-title2 h1{
	color: #883419;
	font-size: 18px;
	margin-bottom: 10px;
	margin-top: 20px;
}

#centerContent-top .head-title2 h2{
	color: black;
	font-size: 18px;
	margin-bottom: 10px;
}

#centerContent {
	width:100%;
	float: left;
	border-style: solid;
	border-color:rgb(196, 196, 196);
	border-width: 0.1px;
	margin-bottom: 10px;
	background-color: white;
}

#p1{
	color: rgb(206, 0, 0);
	font-size: 18px;
	font-weight: 100;
	line-height: 25px;
	margin: 10px;
}

#centerContent h4 {
	font-style: normal;
	font-size:18px;
	color: black;
	margin-left: 10px;
}

#centerContent p {
	color:rgb(82, 82, 82);
	font-size:18px;
	font-style: normal;
	text-align: justify;
	line-height:25px;
	margin: 10px;
}


#next-previous-buttons{
	margin-top: 25px;
	width: 100%;
}

#index .index-title{
	text-align: left;
	font-size: 20px;
	color: rgb(206, 0, 0);
	font-weight: bold;
	margin-bottom: 10px;
}

.PgBtn{
	margin-right: 5px;
	padding: 5px;
	color: rgb(82, 82, 82);
	border-color: rgb(196, 196, 196);
	border-width: 1px;
	margin-bottom: 10px;
	font-size: 18px;
}

.buttonIcon{
	height: 10px;
	width: 10px;
}

#index{
	display: none; 
	width:100%;
	float: left;
	text-align: center;
}

#index a{
	text-decoration: none;
	color: rgb(82, 82, 82);
	font-size: 14px;
	font-family:Arial, Helvetica, sans-serif;
	font-weight: 300;
}

#index a:visited{
	color:blue;
}

.index-list{
	width:65px;
	height:auto;
	float: left;
	border-style: solid;
	border-color:rgb(196, 196, 196);
	border-width: 0.5px;
	margin-top: 1px;
	margin-right: 1px;
}

#index-list-bg{
	background-color:gold;
}

/* ====================== Code START for FOOTER INFORMATION ====================== */

#footer{
	max-width: 100%;
	height: auto;
}
.footertxt {
	width: 100%;
	background-color: black;
	color: white;
	text-align: center;
	padding: 10px;
	line-height: 30px;
	font-size: 18px;
	margin-top: 15px;
}

/* ====================== Code START for POPUP WINDOW ====================== */

.clickHere {
    margin-left: 10px;
    margin-bottom: 10px;
	font-size: 18px;
    padding: 5px;
    color: rgb(82, 82, 82);
}

.modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    transition: 200ms ease-in-out;
    border: 1px solid black;
    /* border-radius: 10px; */
    z-index: 10;
    background-color: white;
    width: 500px;
	max-width: 80%;
	max-height: 80%;
	overflow: scroll;
  }
  
.modal.active {
    transform: translate(-50%, -50%) scale(1);
  }
  
.modal-header {
    padding: 10px 15px;
    display: flex;
    justify-content: space-between;
	background-color:#883419;
    border-bottom: 1px solid black;
    /* border-radius: 10px 10px 0px 0px;    */
    text-align: center;
  }
  
.modal-header .title {
    font-size: 18px;
    font-weight: 600;
    color:white;
  }

.modal-header .close-button {
    cursor: pointer;
    border: none;
    outline: none;
    background: none;
    font-size: 1rem;
    font-weight: bold;
    color: white;
  }
  
.modal-body {
    font-size: 18px;
	font-weight: 100;
	line-height: 22px;
    padding: 10px 10px 20px 10px;
    color: rgb(92, 92, 92);
  }
  
#overlay {
    position: fixed;
    opacity: 0;
    transition: 200ms ease-in-out;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, .5);
    pointer-events: none;
  }
  
#overlay.active {
    opacity: 1;
    pointer-events: all;
  }

/* ====================== Code START for FOOTER INFORMATION ====================== */

#footer{
	max-width: 100%;
	height: auto;
}
.footertxt {
	width: 100%;
	background-color: black;
	color: white;
	text-align: center;
	padding: 10px;
	line-height: 30px;
	font-size: 18px;
	margin-top: 15px;
}


/* ====================== Code for max-width:1550px ====================== */
@media(max-width: 1560px){
	#mainwrapper {
		margin-left: 12.5%;
		padding: 10px;
	}
	#leftSection{
		width: 25%;
		margin-top: 5px;
	}
	#centerSection{
		margin-left: 8px;
		width: 50%;
		margin-top: 5px;		
	}	
}

/* ====================== Code for max-width:1255px ====================== */
@media(max-width: 1260px){
	#leftSection{
		width: 29.3%;
	}
	#centerSection{
		width: 44%;
	}	
}

/* ====================== Code for max-width:1150px ====================== */
@media(max-width: 1150px){
	.head-image{
		height: 350px;
	}
	
	#mainwrapper {
		margin-left: 5%;
	}

	#leftSection{
		width: 30%;
	}
	#centerSection{
		width: 60%;
	}

	#scrollToTop{
		padding: 0.1rem;
		bottom: 2px;
		right: 2px;
	}
	
	.scrollToTop-size{
		height: 50px;
		width: 50px;
	}			
}

/* ====================== Code for max-width:1050px ====================== */
@media(max-width: 1050px){
	#mainwrapper {
		margin-left: 0px;
	}

	#leftSection{
		width: 39%;
	}

	#centerSection{
		width: 60%;
	}	
}

/* ====================== Code for max-width:991px ====================== */
@media(max-width: 991px){
	.navbar .navbar-nav ul > li{
		margin:0 15px;
	}
}

/* ====================== Code for max-width:860px ====================== */
@media(max-width: 860px){
	.head-image{
		height: 250px;
	}	

	.navbar{
		padding:15px;
	}

	.navbar .navbar-nav-toggle{
		display: flex;
	}

	.navbar .navbar-nav{
		max-height: 0;
		flex-basis: 100%;
		max-width: 100%;
		overflow: hidden;
		transition: all 0.5s ease;
	}

	.navbar .navbar-nav ul{
		background-color: #662813;
		margin-top:12px;
	}

	.navbar .navbar-nav ul > li{
		display: block;
		margin:0;
	}

	.navbar .navbar-nav ul > li > a::before{
		content: none;
	}

	.navbar .navbar-nav ul > li > a {
		padding: 12px 15px;
		border-bottom:1px solid rgba(255,255,255,0.2);
	}

	.navbar .navbar-nav ul > li > .sub-menu{
		max-height: 0;
		overflow: hidden;
		position: relative;
		width: 100%;
		box-shadow: none;
		margin:0;
		visibility: visible;
		opacity: 1;
		background-color: transparent;
		border: none;
	}

	.navbar .navbar-nav ul > li > .sub-menu > li > a{
		color: #ffffff;
		padding:14px 20px 12px 40px;
	}

	#leftSection{
		width: 42%;
	}
	#centerSection{
		width: 56.5%;
	}	

	#imgDiv .center-img{
		margin-left: 13%;
	}

	hr{
		margin-top: 30px;
	}

}

/* ====================== Code for max-width:765px ====================== */
@media(max-width: 765px){

	.head-back-grnd{
		margin-top: 20px;
	}

	#imgDiv .center-img{
		margin-left: 0px;
		width: 100%;
	}

	.head-image{
		display: none;
	}

	.head-image-white{
		display: inline;
	}

	#leftSection{
		display: none;
	}

	#centerSection{
		width: 100%;
		padding: 0px;
		margin: 0px;
	}

	#centerContent p {
		text-align: left;
	}
}	


/* ====================== Code for max-width:414px ====================== */
@media(max-width: 414px){
	.head-image{
		height: 150px;
	}
	
	.navbar{
		position: relative;
	}

	.media ul:hover li:nth-child(1) a{
		transform: translateY(44px) rotate(360deg);
	}
	
	.media ul:hover li:nth-child(2) a{
		transform: translateY(88px) rotate(360deg);
	}
	
	.media ul:hover li:nth-child(3) a{
		transform: translateY(132px) rotate(360deg);
	}
	
	.media ul:hover li:nth-child(4) a{
		transform: translateY(176px) rotate(360deg);
	}
	
	.media ul:hover li:nth-child(5) a{
		transform: translateY(220px) rotate(360deg);
	}
	
	.media ul:hover li:nth-child(6) a{
		transform: translateY(264px) rotate(360deg);
	}
}


