
.wrapper {
	margin: 5px auto 5px auto;
	display: grid;
	grid-gap: 0px;
	grid-template-areas: "header" "mainmenu" "banner"  "carousel" "content1"  "content2"  "news1"  "footer";
	max-width: 1000px;
	width: 100%;
	overflow: hidden;
	text-align: left;
	font-size: 1.4em;
}

.carousel {
	grid-area: carousel;
	position: relative;
	max-width: 1000px;
	width: 100%;
	border-radius: 5px;
	margin-top: 10px;
}
.banner {
	grid-area: banner;
	max-width: 1000px;
	width: 100%;
	overflow: hidden;
	border-radius: 5px;
}
.content1 {
	grid-area: content1;
}
.content2 {
	grid-area: content2;
}
.news1 {
	grid-area: news1;
	margin-bottom: 10px;
}
.content1, .content2, .news1 {
	position: relative;
	width: 100%;
	max-width: 1000px;
	overflow: hidden;
	border: 1px solid #59823F;
	border-radius: 5px;
	border-collapse: collapse;
	background: url(../images/transparent-bg.png) 0 0 repeat;
	color:#00355D;
	font-family: arial, tahoma, sans-serif;
	font-size: .9em;
	padding: 10px;
	margin-top: 10px;
}
#news1-fade {
	visibility: hidden;
	position: absolute;
	bottom: 0px;
	z-index: 999;
	width:100%;
	height: 70px;
	background: url(../images/fade1.png) 0 0 repeat-x;
}
.content1 h2, .content2 h2, .news1 h2 {
	color: #517a37;
	font: bold 1.7em "Trebuchet MS", times;
	margin: 0 0 0 0;
}
.content1 p, .content2 p {
	margin: 15px 0 15px 0;
}
.content1 a, .content2 a, .slide-inner a {
	display:inline-block;
	width: auto;
	min-width: 10px;
	height: auto;
	min-height: 10px;
	overflow: hidden;
	text-decoration: none;
	color: #ffffff;
	background-color:#00325F;
	border: 1px solid #ffffff;
	border-radius: 2px;
	padding: 5px 10px 5px 10px;
	margin: 0px 5px 0px 0px;
}
.content1 a:hover, .content2 a:hover, .slide-inner a:hover {
	cursor: pointer;
	background-color:#129BDD;
}

/* HOMEPAGE NEWS AREA & SCROLLER */
.news1 {
	padding: 0;
	max-width: 1000px;
	height: auto;
	min-height: 10px;
}
#news-slider {
		height: auto;
		min-height: 10px;
		overflow: hidden;
}

.news1 h2 {
	color: #fff;
	display: block;
	height: auto;
	max-width: 100%;
	line-height: 2em;
	text-align: center;
	text-emphasis;
	background-color:#00335E;
}

/* END NEWS */

.header {
	grid-area: header;
	font: bold 1.4em "Trebuchet MS", georgia, times;
	color: #517a37;
	text-align: center;
	border-radius: 0px;
	padding: 0px;
	margin-top: 50px!important;
}
	
	
#logo-1a {
	clear:right;
	margin: 5px auto 5px auto;
}
	.br1 {
		display: inline;
	}
	.br2 {
		display: none;
	}
#pay-button{
	display: block;
	text-decoration: none;
	width:252px;
	height: 69px;
	margin: 10px auto 5px auto;
	background: url(../images/payonline.png) no-repeat 0 0;
	background-size: contain;
}
#banner-img {
	max-width: 100%;
	height: auto;
}
.banner-link {
	cursor: pointer;
	text-decoration: none;
}
	
/* CAROUSEL SLIDE STYLES */
	.slide{
		border-radius: 5px;
		overflow: hidden;
		background: url(../images/slide-bg.jpg) 0 100% repeat-x;
		padding: 0;
		line-height: 1.5em;
		font-weight: normal;
		text-align: center;
	}
	.slide-inner{
		padding: 10px 10px 0 10px;
		color: #00345d;
		font-size: 1.2em;
		text-align: left;
	}
	.slide-img{
		float: none;
		margin: 0 auto 10px auto;
	}
	.slide-h1 {
		color: #ffffff;
		font: bold 1.5em "Trebuchet MS", verdana, times;
		text-transform: capitalize;
		margin-top: 0px;
	}
	.slide-h2 {
		color: #ffff00;
		font: bold 1.3em "Trebuchet MS", times;
		padding: 4px 0 10px 0;
		margin: 20px 0 15px 0;
		border-bottom: 1px solid #999;
	}
	.slide-button {
		display:block;
		height: auto;
		width:auto;
		max-width:300px;
		min-height: 10px;
		overflow: hidden;		
		color: #ffffff;
		text-decoration: none;
		border: 2px #ffffff solid;
		padding: 0 20px 0 20px;
		margin: 10px 10px;
		text-align: center;
		font-size: 1em;
		line-height: 1.2em;
		white-space: nowrap!important;
		background: url(../images/menu-bg.jpg) 0 0 repeat-x;
	}
	.slide-button:hover {
		background: url(../images/menu-over-bg.jpg) 0 100% repeat-x;
		color: #ffffff;
		text-decoration: none;
		cursor: pointer;
	}
	
/*		
.box {
	border-radius: 5px;
	margin: 5px auto 5px auto;
}
*/


@media only screen and (min-width: 500px)  {
	.wrapper{
		grid-template-areas: "header" "mainmenu" "banner" "carousel" "content1"  "content2"  "news1"  "footer";
		font-size: 1.2em;
	}
	.header {
		text-align: left;
	}
	.nav {
		font-size: 1.4em;	
	}
	#logo-1a {
		clear: none;
		margin:0px;
	}
	.br1 {
		display: inline;
	}
	.br2 {
		display: none;
	}
	#pay-button{
		display: block;
		text-decoration: none;
		width:259px;
		height: 74px;
		float: right;
		margin: 0px 0 5px 10px;
		background: url(../images/payonline.png) no-repeat 0 0;
		background-size: contain;
	}
	.slide-h2 {
		margin: 0 0 15px 0;
	}
	.slide-img{
		width: 100%;
		float:right;
		margin: 0 0 0 10px;
		border-radius: 0px;
		border-top-right-radius: 5px;
	}
	.news1{
		height: auto;
		min-height: 10px;		
	}
	.news1 h2 {
		text-align: left;
		padding-left: 20px;
	}
	#news1-fade {
	visibility:hidden;
	}
}

	

@media only screen and (min-width: 768px)  {
	.nav-container {
		max-width: 1000px;
	}
	.nav {
		font-size: 1.4em;	
	}
	.wrapper {
		margin: 5px auto 5px auto;
		grid-template-columns: 250px 250px auto;
		grid-template-areas: "header  header  header" "mainmenu mainmenu mainmenu" "carousel carousel carousel" "banner banner banner" "content1 content2 news1"  "footer  footer  footer";
		font-size: 1.1em;
	}
	.header {
		text-align: left;
		font-size: 1.6em;
		line-height: 1.1em;
		padding-top: 5px;
		position: relative;
	}
	#logo-1a {
		margin: 0px 50px 0px 0px;
		float: left;
	}
	.br1 {
		display: none;
	}
	.br2 {
		display: inline;
	}
	#pay-button{
		display: block;
		text-decoration: none;
		width:259px;
		height: 74px;
		float: right;
		margin: -30px 0 5px 10px;
		background: url(../images/payonline.png) no-repeat 0 0;
		background-size: contain;
	}
	.slide-h2 {
		margin: 0 0 15px 0;
	}

	.slide-img{
		width: none;
		max-width: 365px;
		float:right;
		margin: 0 0 0 10px;
		border-radius: 0px;
		border-top-right-radius: 5px;
	}
	.content1 {
		grid-area: content1;
		float: left;
		max-width: 300px;
		width: 100%;
		height: 280px!important;
		margin-bottom: 10px;
	}
	.content2 {
		grid-area: content2;
		float: left;
		max-width: 300px;
		width: 100%;
		margin-left: 10px;
		height: 280px!important;
		margin-bottom: 10px;
	}
	.banner {
			margin-top: 10px;
	}
	.news1 {
		grid-area: news1;
		float: right;
		max-width: 350px;
		width: 100%;
		margin-left: 10px;
		height: 280px!important;
		margin-bottom: 10px;
	}

	.news1 h2 {
		text-align: left;
		padding-left: 20px;
	}
	#news1-fade {
	visibility:visible;
	}
}

@media only screen and (min-width: 900px)  {
	.wrapper {
		margin: 5px auto 5px auto;
		grid-template-columns: auto auto auto;
		grid-template-areas: "header  header  header" "mainmenu mainmenu mainmenu" "carousel carousel carousel" "banner banner banner" "content1 content2 news1"  "footer  footer  footer";
		font-size: 1em;
	}
	.header {
		text-align: left;
		font-size: 1.8em;
		line-height: 1.2em;
		padding-top: 5px;
		position: relative;
	}
	.nav {
		font-size: 1.4em;	
	}
	#logo-1a {
		margin: 0px 50px 0px 0px;
		float: left;
	}
	.br1 {
		display: none;
	}
	.br2 {
		display: inline;
	}

	#pay-button{
		display: block;
		text-decoration: none;
		width:259px;
		height: 74px;
		float: right;
		margin: -30px 0px 5px 10px;
		background: url(../images/payonline.png) no-repeat 0 0;
		background-size: contain;
	}
	.slide-h2 {
		margin: 0 0 15px 0;
	}
	.slide-img{
		width: none;
		max-width: 365px;
		float:right;
		margin: 0 0 0 10px;
		border-radius: 0px;
		border-top-right-radius: 5px!important;
		border-bottom-right-radius: 5px!important;
	}
	.content1 {
		grid-area: content1;
		float: left;
		max-width: 300px;
		width:100%;
		height: 280px!important;
	}
	.content2 {
		grid-area: content2;
		float: left;
		max-width: 300px;
		width:100%;
		margin-left: 10px;
		height: 280px!important;
	}
	.banner {
			margin-top: 10px;
	}
	.news1 {
		grid-area: news1;
		float: right!important;
		max-width: 380px;
		width:100%;
		height: 280px!important;
		min-height: 10px;
		margin-left: 10px
	}
	.news1 h2 {
		text-align: left;
		padding-left: 20px;
	}
	#news1-fade {
	visibility:visible;
	}
}
