/*--------------------------------------------*/
/*-------------BASIC SETUP--------------------*/
/*--------------------------------------------*/

* {
    margin: 0;
    padding: 0;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

html {
    background-color: #ffffff;
    color: #555;
    /*font-family: 'Lato', 'Arial', 'sans-serif';*/
    font-weight: 300;
    font-size: 20px;
    text-rendering: optimizeLegibility;
}

h1 {
    padding-top: 10px;
    padding-left: 5px;
    margin-top: 5px;
    margin-bottom: 10px;
    color: #00cc00;
    font-weight: 400;
    /*font-weight: 1000px;*/
    font-size: 2.4rem;
    font-family: 'Meera Inimai', sans-serif;
   

}
h2{
    font-weight: 500;
    /*font-family: 'Meera Inimai', sans-serif;*/

}

p{
    color: rgba(36, 37, 39, 0.91);
    font-weight: 200;
}


/*--------------------------------------------*/
/*-------------HEADER--------------------*/
/*--------------------------------------------*/
.logo {
    margin-top:5px;
    margin-left:5px;
    height: 80px;
    width: auto;
    float: left;
    border-radius: 50%;
   /* background-size: cover;
    background-image:-webkit-gradient(linear,left top, left bottom,from(rgba(0, 0, 0, 0.7)),to(rgba(0, 0, 0, 0.7)));
    background-image: linear-gradient(0deg, transparent 90%, rgba(255,255,255,.5) 50%);*/
}

/**Sticky**/




nav {   
  display: block;
  text-align: center;
  
}
nav ul {
  margin: 0;
  padding:0;
  list-style: none;
  
}

.nav-bar ul{
	list-style: none;
}

.nav-bar a {
  display:block; 
  background: #00cc00; 
  color: #ffffff; 
  text-decoration: none;
  font-weight: bold;
  padding: 10px 10px;
  /*padding: 0.8em 1.8em;*/
  font-size: 14px;
  letter-spacing: 0.5px;
  text-shadow: 0 -1px 0 #000;
  /*position: relative;*/
}
.nav-bar{  
  vertical-align: top; 
  display: inline-block;
  box-shadow: 1px -1px -1px 1px #7edd90, -1px 1px -1px 1px #fff, 0 0 6px 3px #fff;
  border-radius:2px;
}
.nav-bar li {
  position: relative;
  
}
.nav-bar > li { 
  float: left; 
  border-bottom: 2px #cbcaca solid; 
  margin-right: 1px; 
}
.nav-bar > li > a { 
  margin-bottom: 1px;
  box-shadow: inset 0 2em .33em -0.5em #04af11; 
    /*#28e268*/
}
.nav-bar > li:hover, 
.nav-bar > li:hover > a { 
  border-bottom-color: #00cc00;
}
.nav-bar li:hover > a { 
  color:rgb(253, 199, 0); 
}
.nav-bar > li:first-child { 
  border-radius: 1px 0 0 1px;
} 
.nav-bar > li:first-child > a { 
  border-radius: 1px 0 0 0;
}
.nav-bar > li:last-child { 
  border-radius: 0 0 1px 0; 
  margin-right: 0;
} 
.nav-bar > li:last-child > a { 
  border-radius: 0 1px 0 0;
}
.nav-bar li li a { 
  margin-top: 1px;
}

.nav-bar li a:first-child:nth-last-child(2):before { 
  content: ""; 
  /*position: absolute;*/
  height: 0; 
  width: 0; 
  border: 1px solid transparent; 
  top: 25% ;
  right:1px;  
 }

/* submenu positioning*/
.nav-bar ul {
  position: absolute;
  white-space: nowrap;
  border-bottom: 1px solid  #00cc00;
  z-index: 1;
  left: -99999em;
}
.nav-bar > li:hover > ul {
  left: auto;
  margin-top: 1px;
  min-width: 100%;
}
.nav-bar > li li:hover > ul { 
  left: 100%;
  margin-left: 1px;
  top: -1px;
}
/* arrow hover styling */
.nav-bar > li > a:first-child:nth-last-child(2):before { 
  border-top-color: #fff; 
}
.nav-bar > li:hover > a:first-child:nth-last-child(2):before {
  border: 1px solid transparent; 
  border-bottom-color: #00cc00; 
  margin-top:-5px
}
.nav-bar li li > a:first-child:nth-last-child(2):before {  
  border-left-color: #aaa; 
  margin-top: -5px
}
.nav-bar li li:hover > a:first-child:nth-last-child(2):before {
  border: 1px solid transparent; 
  border-right-color: #00cc00;
  right: 10px; 
}


.sticky {
	position: fixed;
	display:block;
	top:0;
	text-align: center;
	/*background-color:fff;*/
}

.sticky .nav-bar{  
  vertical-align: top; 
  display: inline-block;
  box-shadow: 
    1px -1px -1px 1px #7edd90, 
    -1px 1px -1px 1px #fff, 
    0 0 6px 3px #fff;
  border-radius:2px;
}


.sticky .nav-bar a {
  display:block; 
  background: #00cc00; 
  color: #ffffff; 
  font-weight: bold;
  padding: 10px 10px;
  /*padding: 0.8em 1.8em;*/
  font-size: 14px;
  letter-spacing: 0.5px;
  text-shadow: 0 -1px 0 #000;
  position: center;
}


.sticky .nav-bar li {
  position: relative;
}

.sticky .logo{
	display: none;
}
.sticky .nav-bar > li { 
  border-bottom: 2px #cbcaca solid; 
  margin-right: 1px; 
} 


/*.main-nav{
    float: right;
    list-style: none;
    margin-top: 20px;
    padding-right: 20px;
}

.main-nav ul{
	list-style-type: none;

}

.main-nav li {
    display: inline;
    margin-left: 10px;
    width: 135px;
    text-align: center;
    border: 1.5px solid #00cc00;
    border-radius: 2em 2em;
}

.main-nav li a {
    margin-top: 0px;
    display: inline;
    width: 135px;
    color: #394a39;
    color: #00cc00;
    text-align: center;
    text-decoration:none;
    font-family: 'Arima Madurai', cursive;
    font-size: 18px;
    font-weight: bold;
}

.main-nav li a:hover,
.main-nav a:focus{
    margin-top: 0px;
    width: 135px;
    color: #fff;
    border-radius: 2em 2em;
    background-color: #00cc00;
    font-family: 'Arima Madurai', cursive;
    transition: 0.5s;
}*/
/*.main-nav li a:hover,
.main-nav li a:focus{
  margin-top: 0px;
  padding-right: 20px;
  color: #fff;
  border: 1px solid #00cc00;
  background-color: #00cc00;
  border-radius: 1em 1em;
  font-weight: bold;
  transition: border-radius 2s;
}*/
.banner-image{
   margin-top:0px;
   margin-left:0px;
   margin-right:0px;
   width: auto;
   background: rgba(255, 255, 255, 0.13);
   background-size: cover;
   background-position: center;
   background-attachment: fixed;
   opacity: 0.9;
/*   backdrop-filter: blur(20px) saturate(160%) contrast(45%) brightness(140%);
  -webkit-backdrop-filter: blur(20px) saturate(160%) contrast(45%) brightness(140%);


  moz-box-shadow: 0px 0px 0px rgba(0,0,0,1), inset 0px 0px 0px rgba(0,0,0,1);
   -webkit-box-shadow: 1px 1px 1px rgba(0,0,0,1), inset 1px 1px 1px rgba(0,0,0,1);*/
   
}
.center-image{
    margin-top:80px;
    margin-left:600px;
    height: 500px;
    background-position: center;
    /*width: auto;*/
    float: center;
    border-radius: 60%; 
    /*-moz-box-shadow: 0px 0px 0px rgba(0,0,0,1), inset 0px 0px 0px rgba(0,0,0,1);
    -webkit-box-shadow: 0px 0px 0px rgba(0,0,0,1), inset 0px 0px 0px rgba(0,0,0,1);*/
    
}
.right-image{
  margin-top:80px; 
  margin-left:100px;
  height: 500px;
  background-position: right;
}

.left-image{
 margin-top:80px;
 margin-left:100px;
 height: 500px;
 background-position: right;
}
#about{
    margin-top: 90px;
    padding-bottom: 50px;
    /*padding-top: 100px;
	
	color: #101;
	font-size: 17px;*/

}
#abouth2, #sivalayangalh2, #thirumalayangalh2, #karpakavinayagarh2, #muruganalayangalh2,#tenderh2, #cppeanuth2, #cpsesameh2, #contact2, #reddelapple2
{
		color: #00cc00;
	/* color: #228B22; */
	/* color: #6A9F1B */
	padding-left: 10px;
}
.about-content
{
	padding-top: 20px;
	padding-left: 80px;
	padding-right: 80px;
	/*font-family: 'Meera Inimai', sans-serif;
	font-family: 'Pavanam', sans-serif;*/
	font-family: 'Mukta Malar', sans-serif;
	font-family: sans-serif;
	text-align: justify;
    letter-spacing: 1px;
    font-size: 18px;
    font-weight: 600;
}

.clearfix {zoom: 1}
.clearfix:after {
    content:'.';
    clear: both;
    display: block;
    height: 0;
    visibility: hidden;
}

/*------------------------*/
/*TEMPLE*/
/*------------------------*/


.section-temple {
    padding: 0;
    padding-top: 75px;
}

.temple-showcase
{
    list-style: none;
    width: 100%;
}

.temple-showcase li {
    display: block;
    float: left;
    width: 25%;
}
.temple-photo{
       width: 100%;
       height:250px;
       margin: 0;
       overflow: hidden;
       background-color: #000;
}
.temple-photo img{
       opacity: 0.7;
       width: 100%;
       height: auto;
       -webkit-transform: scale(1.15);
       transform: scale(1.15);
       -webkit-transition: -webkit-transform 0.5s;
       transition: -webkit-transform 0.5s;
       transition: transform 0.5s;
       transition: transform 0.5s, -webkit-transform 0.5s;
}

.temple-photo img:hover{
       -webkit-transform: scale(1.03);
       transform: scale(1.03);
}

/*------------------sivalayangal--------------*/
#sivalayangal
{
    padding-top: 50px;
    padding-bottom:20px;
    background: #FFFFFF;
}
.sivalayangal-content 
{
	color: #555;
	padding-top: 20px;
    padding-left: 20px;
}
#table
{
	padding: 10px;
	margin-top: 10px;
	margin-bottom: 30px;
	/*margin-right: 10px;*/
	/*border-collapse: collapse;*/
	width: auto;
    table-layout: fixed;
    letter-spacing: 1px;
   /* border: 3px solid purple;*/
    font-size: 12px;
    font-weight: 600;
    /*min-width: 400px;*/
    box-shadow: 0 0 20px rgba(11, 11, 11, 0.15);
	
}

.table thead tr{
    background-color: #00cc00;
    color: #ffffff;
    text-align: left;
}

.table th,
.table td{
    padding: 5px 5px;
}

.table tbody tr{
    border-bottom: 1px solid #dddddd;
}

.table tbody tr:nth-of-type(even) {
    background-color: rgba(244, 244, 244, 0.85);
}

.table tbody tr:last-of-type {
    border-bottom: 2px solid #ffffff;
}

.table tbody tr
.active-row {
    font-weight: bold;
    color: #f04d04;
}


/*------------------thirumalayangal--------------*/
#thirumalayangal
{
    padding-top: 50px;
    padding-bottom:20px;
    background: #FFFFFF;
}
.thirumalayangal-content 
{
	color: #555;
	padding-top: 20px;
    padding-left: 20px;
}

.sivalayangal-image
{
    margin-top: 0px;
    padding-top: 0px;
    padding-left: 30px;
    padding-right: -20px;
    float:center;
    background-size: cover; 
}

.sivalayangal-image img:hover{
	padding-left: 20px;
	padding-right:0px;
       -webkit-transform: scale(1.05);
       transform: scale(1.05);
	   padding-right:0px;
}

.thirumalayangal-image
{
    margin-top: 0px;
    padding-top: 0px;
    padding-left: 150px;
    float:center;
    
    box-shadow: 150px 150px 3px red, -1em 0 .4em rgb(208, 207, 204);
    background-size: cover; 
}

/*.thirumalayangal-image img:hover{
	padding-left: 150px;
	padding-right:-150px;
       -webkit-transform: scale(1.05);
       transform: scale(1.05);

}*/

#muruganalayangal
{
    padding-top: 50px;
    padding-bottom:20px;
    background: #FFFFFF;
}
.muruganalayangal-content 
{
	color: #555;
	padding-top: 20px;
    padding-left: 20px;
}

.footer {
  position: fixed;
  padding-top: 20px;
  left: 0px;
  bottom: 0px;
  width: 100%;  
  background: red;
  color: white;
  
}
#footer-content{
	height: 30px;
	bottom: -1px;
	padding-top: 5px;
	text-align: center;
	background: #00cc00;
}