* {
    box-sizing: border-box;
}
img {
    max-width: 100%;
}
body {
    margin-top: 0;
    font-family: arial, sans-serif;
}
p{
	text-align: justify;
}
/***************** page Header ****************/
.pageHeader {
    padding: 10px;
    text-align: center;
    overflow: hidden;
}
.pageHeader #logo {
    max-width: 100%;
}
h1 {
    color: #4B82C0;
    font-family: 'Roboto slab', serif;
    margin: 0;
}
#headertext h2 {
    margin: 0;
    color: #4B82C0;
}
nav {
    text-align: center;
}
/******** Main Navigation ************/
nav ul {
    padding: 0;
    margin: 0;
    display: none;
    list-style-type: none;
}
nav a {
    text-decoration: none;
    line-height: 45px;
    color: #2978D0;
    display: block;
    width: 100%;
    font-size: 1.2em;
    font-weight: bold;
    transition: all 0.2s ease;
}
nav ul li {
    margin-bottom: 1px
}
#pull {
    text-align: left;
    line-height: 45px;
    color: #4B82C0;
    padding-top: 10px;
    font-size: 2em;
}
nav a:hover {
    color: #000;
}
/************** Banner *************/
#banner {
    background: url(images/baneer1.jpg)no-repeat center center;
    padding-top: 32.25%;
    clear: both;
    background-size: cover;
    position: relative;
}
#banner p {
    color: aliceblue;
    text-align: center;
    max-width: 55%;
    font-size: 3.2vw;
    position: absolute;
    top: 5%;
    font-style: italic;
    font-family: Georgia, serif;
}
#left_index{
    background-color: #4B82C0;
    color: #FFFFFF;
    padding: 10px 50px 25px;
}
#left{
	background-color: #4B82C0;
	margin: auto;
	overflow: hidden;
	padding-bottom: 10px;
}
#left p{
	padding-left: 10%;
	padding-right: 10%;
	text-align: center;
	color: #fff;
	font-size: 1.2em;
}
form {
    /*display: block;
	margin: auto;*/
    text-align: center;
}
#right {
    background-color: aliceblue;
    padding: 10px 0;
    margin-top: -20px;
}
#right address {
    padding-left: 50px;
    font-style: normal;
}
#right i {
    padding: 7px;
    box-sizing: border-box;
    background-color: #4B82C0;
    color: #fff;
    border-radius: 50%;
    margin-right: 1em;
    font-size: 0.8em;
}
a[href^=tel] {
    font-family: Georgia, seif;
    color: #000;
    text-decoration: none;
}
a[href^=mailto] {
    color: #000;
    text-decoration: none;
}
/*********** Main Column ************/
main {
    max-width: 1280px;
    margin: auto;
    line-height: 150%;
    clear: both;
    padding-top: 20px;
}
main p {
    font-family: Helvetica, Arial, "sans-serif";
}
/****** index page ******/
.left {
    margin-right: 12px;
    float: left;
}
.current {
    background-color: #4B82C0;
    color: #fff;
}
/******* Fourcards *******/
main .fourcards a {
    display: block;
    text-decoration: none;
    color: #4B82C0;
    float: right;
    margin-right: 10px;
    margin-bottom: 10px;
    font-size: 1em;
}
.fourcards a i {
    font-size: 1.4em;
    vertical-align: middle;
}
.fourcards {
    margin: 0;
    padding: 20px 0 0 0;
    list-style-type: none;
}
.fourcards li {
    text-align: center;
    clear: both;
    padding: 15px;
    margin-bottom: 5px;
}
.fourcards h3 {
    font-size: 1.5em;
    font-family: 'Roboto slab', serif;
    color: #4B82C0;
    margin: 0;
}
.fourcards h4 {
    font-family: 'Roboto slab', serif;
    color: #4B82C0;
    margin: 0;
    padding-top: 5px
}
.fourcards p {
    text-align: left;
    font-family: Helvetica, Arial, "sans-serif";
}
.fourcards a:hover {
    color: #000;
}
/*********** footer **********/
footer {
    clear: both;
    padding: 15px 0 5px;
    background-color: #4B82C0;
    color: #fff;
    text-align: center;
}
footer p{
	text-align: center !important;
}
/*********** About page **********/
.about_img {
    display: block;
    margin: auto;
}
main h2 {
    color: #4B82C0;
    font-family: 'Roboto slab', serif;
    text-align: center;
}
.about p {
    padding: 10px;
}
/***************Services Page*****************/
.eightcards {
    margin: 0;
    padding: 20px 0 0 0;
    list-style-type: none;
}
.eightcards i {
    font-size: 3em;
    vertical-align: middle;
    color: #4B82C0;
    margin-bottom: 10px;
}
.eightcards li {
    text-align: center;
    /* clear: both;*/
    padding: 15px;
    margin-bottom: 5px;
}
.eightcards h3 {
    font-size: 1.2em;
    font-family: 'Roboto slab', serif;
    color: #4B82C0;
    margin: 0;
}
.eightcards p {
    text-align: left;
    font-family: Helvetica, Arial, "sans-serif";
}
aside {
    background-color: aliceblue;
    padding-bottom: 10px;
    padding-top: 10px;
    margin-bottom: 10px;
}
aside h3 {
    color: #4B82C0;
    text-align: center;
}
aside ul {
    margin: 0;
    padding: 0 25px;
}
aside ul li {
    list-style: square;
	line-height: 30px;
}
aside ul li a {
    text-decoration: none;
    color: #000;
    line-height: 30px;
    width: 50%;
}
aside a:hover{
    color: #4B82C0;
}
/******** Volunteer page *******/
#volunteer h2 {
    text-align: center;
    color: #4B82C0;
    font-family: Helvetica, Arial, "sans-serif";
}
#volunteer p {
    text-align: justify;
    padding: 0 10px;
}
.threecards p {
    text-align: justify;
    margin: 0;
    padding: 5px 10px;
}
.threecards {
    margin: 0;
    padding: 20px 0 0 0;
    list-style-type: none;
}
.threecards li {
    margin: 5px 0 20px 0;
}
.threecards img {
    display: block;
    margin: auto;
}
aside img {
    display: block;
    margin: 10px auto 0;
}
.v_aside a:hover,#e_aside a:hover, #events_aside a:hover{
    color: #000;
}

/***********Event Page**************/
.news p:nth-child(3), p:nth-child(7) {
    text-align: right;
    font-style: italic;
    font-size: 14px;
}
.news p:nth-child(5), p:nth-child(8) {
    font-weight: bold;
}
.strong {
    font-weight: bold;
}
#cal-container {
    position: relative;
    padding-bottom: 75%;
    height: 0;
    overflow: hidden;
	margin-bottom: 10px;
}
#cal-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
	
}
#eventsLayout{
    display: flex;
    flex-direction: row;
    clear:both;
    margin: 0;
    padding: 0;
}
.eventcards p {
    text-align: justify;
    margin: 0;
    padding: 5px 10px;
}
.eventcards {
    margin: 0;
    padding: 20px 0 0 0;
}
#events_aside a{
	color: #4B82C0;
	text-decoration: none;
}
#events_aside p{
	padding: 0 4%;
	font-weight: bold;
}
	h2.stats-head {
			clear:both;
			padding-top:1em;
			margin-bottom:0;
		}
#eventsLayout table.stats {
    width: 100%;
	border-collapse:collapse;
	border:1px solid #eee;
	margin:0.75em auto 2em auto;
	font-size:0.9em;
}
table.stats td, table.stats th {
	border:1px solid #eee;
	padding:6px;
	text-align:center;
}
table.stats tr:nth-child(2n+1) {
			background:#f2f2f2;
		}
		
table.stats td:first-child {
			text-align:left;
			font-weight:700;
		}


/***********Heritage Page **********/
h2 {
    text-align: center;
    color: #4B82C0;
}
.threecards h3 {
    padding: 5px;
}
h3 {
    text-align: center;
}
.h_aside li {
    list-style: none;
}
.h_aside p {
    padding: 5px 15px;
    text-align: justify;
}
.h_aside img {
    border: 1px solid #fff;
    border-radius: 80px;
}
.heritage {
    font-weight: bold;
}
#contact {
    margin: auto;
}
#contact p {
    text-align: justify;
    padding: 5px;
}
/***************** Media query for 768px *******************/
@media only screen and (min-width:768px) {
    /***** Fourcards *******/
    .fourcards {
        margin: 0;
        overflow-y: hidden;
        float: left;
    }
    .fourcards li {
        text-align: center;
        clear: none;
        margin-bottom: 5px;
        float: left;
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
        width: 46%;
        /*	height: 450px;*/
        border: 1px solid #eee;
        margin: 5px 2% 20px 2%;
    }
    .fourcards li:nth-child(3), .fourcards li:nth-child(5) {
        clear: left;
    }
    #right address {
        width: 480px;
        margin: auto;
    }
}
/************** Media Query for 960px ****************/
@media only screen and (min-width:960px) {
    /*** About page ***/
    .about img {
        display: block;
        float: left;
        margin-right: 10px;
        margin-bottom: 10px;
    }
    main h2 {
        text-align: left;
    }
    .about p {
        padding: 0;
    }
    /**********Service Page***********/
    .eightcards {
        float: left;
        width: 65%;
        padding: 0;
    }
    .eightcards li {
        text-align: center;
        float: left;
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
        width: 47.5%;
        border: 1px solid #EEE;
        margin: 5px 5px 20px 5px;
    }
    /*.eightcards li:nth-child(2){
		height: 465px;
}*/
    .eightcards li:nth-child(3), .eightcards li:nth-child(5), .eightcards li:nth-child(7) {
        clear: left;
    }
    
    aside:not(#events_aside) {
        float: left;
        width: 33.3%;
    }

    aside {
        margin: 5px 0 0 15px;
        padding: 10px 10px 25px 10px;
    }

    /********* volunteer page Style *********/
    #volunteer {
        width: 1280px;
        margin: auto;
    }
    #volunteer h2 {
        text-align: left;
    }
    #volunteer p {
        padding: 0;
		line-height: 30px;
      
    }
    /***Three cards for heritage page and volunteers page***/
    .threecards {
        float: left;
        width: 55%;
    }
    .threecards li {
        display: inline-block;
    }
    .threecards img {
        float: left;
        display: block;
        margin: 5px 10px 0 0;
    }
    .threecards p {
        margin-top: -5px;
    }
    .v_aside {
        width: 40.33%;
        margin: 25px 0px 0 20px;
    }
    /**** heritage page style *****/
    .h_aside {
        margin: 100px 0 0 20px;
    }
    
    /**** conatact page style ****/
    #contact img {
        display: block;
        margin: 10px auto;
    }
    .h_aside p {
        padding-top: 15px;
    }
	#e_aside{
		width: 40.33%;
		margin: 98px 0 0 20px;
	}
		table.stats {
				width:768px;
			}

    /**** events page style *****/
    #eventsLayout #events_aside {
        float: none;
        width: auto;
        margin: 5px 0 0 15px;
        padding: 10px 10px 25px 10px;
    }
   
}
/********************* Meadia Query for 1280px ***********************/
@media only screen and (min-width:1280px) {
    .pageHeader nav {
        margin-top: 50px;
        text-align: center;
    }
    .pageHeader ul {
        display: block
    }
    nav li {
        /*float: left*/
        display: inline-block;
    }
    nav a {
        text-align: center;
        padding: 10px 10px;
        display: inline
    }
    #pull {
        display: none;
    }
    #banner p {
        color: aliceblue;
        text-align: center;
        max-width: 55%;
        font-size: 3vw;
        position: absolute;
        top: 7%;
        right: 50%;
        font-style: italic;
    }
    .intro {
        overflow: auto;
        background: linear-gradient(to right, #4b82c0 64%, aliceblue 64%);
    }
   	
    #left_index {
        float: left;
        width: 64%;
    }
    #left_index p {
        padding-left: 10%;
        padding-right: 10%;
    }
    #right {
        float: right;
        width: 35.55%;
    }
    #right h2 {
        margin: 0;
        text-align: center;
    }
    #right address {
        text-align: left;
        line-height: 1;
        width: 100%;
        padding-left: 10px;
    }
    #right p {
        display: block;
    }
    /****Heritage style****/
    .h_aside img {
        display: block;
        float: left;
        margin-right: 10px;
    }
}
@media only screen and (min-width:1666px) {
    #logo {
        float: left;
    }
    #headertext {
        float: left;
        margin-top: 20px;
        margin-left: 10px
    }
    .pageHeader nav {
        margin-top: 50px;
        float: right;
        text-align: center;
    }
    nav a {
        font-size: 0.9em;
    }
}
