/* CSS Document */
*{
	padding:0;
	margin:0;
}
body{
	font-family:Arial, Helvetica, sans-serif;
	font-size:13px;
}
.clear{
	clear:both;
}
.wrapper{
	width:1084px;
	margin:0 auto;
}
.wrapper1{
	width:90%;
	margin:0 auto;
}
ul{
	list-style:none;
}
.tcenter{
	text-align:center;
}
.tleft{
	text-align:left;
}
.tright{
	text-align:right;
}
.fleft{
	float:left;
}
.fright{
	float:right;
}

#header{
	background:url(../images/header-bg.png) repeat-x;
	width:100%;
	height:284px;
}
#headerinner{
	background:url(../images/header-bg-inner.png) no-repeat top center;
	width:100%;
	height:284px;
}
#pastor{
	width:280px;
	float:right;
	top:0;
}
#logo{
	width:800px;
	float:left;
	margin:40px 0 0 0;
}
#logo img{
	float:left;
}
#topaddress{
	float:left;
	margin:50px 0 0 0;
}

/* Navigation Style */
nav {
	float:left;
	padding:10px 20px;
	margin-top:20px;
}
#menu-icon {
	display: hidden;
	width: 40px;
	height: 40px;
	background: #001b7a url(../images/menu-icon.png) center;
}
a:hover#menu-icon {
	background-color: #001b7a;
	border-radius: 4px 4px 0 0;
}
nav ul {
	list-style: none;
}
nav li {
	display: inline-block;
	float: left;
}
nav li a{
	color:#555555;
	text-decoration:none;
	font-weight:bold;
	border-top:5px solid #fff54d;
	padding:15px 18px;
}
nav li a:hover{
	color:#000;
	border-top:5px solid #ffd24d;
	padding:15px 18px;
}
nav li .current {
	color: #555555;
	border-top:5px solid #ffd24d;
	padding:15px 18px;
}


#rotator{
	width:100%;
}
#fourblocks{
	width:100%;
	height:335px;

}
#fourblocks img{
	margin:15px 0;
}
#fourblocks p{
	width:80%;
	margin:0 10%;
}
#fourblocks .block1{
	background:url(../images/block1-bg.png) no-repeat;
	width:260px;
	height:410px;
	margin-top:-80px;
	padding-top:50px;
	z-index:9;
	position:relative;
	display:inline-block;
}
#fourblocks .block2{
	background:url(../images/block2-bg.png) no-repeat;
	width:260px;
	height:410px;
	margin-top:-80px;
	padding-top:50px;
	z-index:9;
	position:relative;
	display:inline-block;

}
#fourblocks .block3{
	background:url(../images/block3-bg.png) no-repeat;
	width:260px;
	height:410px;
	margin-top:-80px;
	padding-top:50px;
		z-index:9;
		position:relative;
	display:inline-block;

}
#fourblocks .block4{
	background:url(../images/block4-bg.png) no-repeat;
	width:260px;
	height:410px;	
	margin-top:-80px;
	padding-top:50px;	
		position:relative;
		z-index:9;
	display:inline-block;

}
#giving{
	background:url(../images/egiving-bg.png) repeat-x #ffd24d;
	width:100%;
}
#givingbg{
	width:100%;
	background:url(../images/egiving-main-bg.png) no-repeat center;
	padding:40px 0;
}
#givingbg h3{
	padding-bottom:10px;
}
#givingbg p{
	width:50%;
	line-height:20px;
	color:#444444;
}
#givingbg a{
	background:#ffff73;
	font-size:17px;
	border-radius:5px;
	-webkit-border-radius:5px;
	-moz-border-radius:5px;
	padding:10px 20px;
	color:#000;
	text-decoration:none;
	text-transform:uppercase;
	float:right;
}
#givingbg .arrow{
	margin-top:-80px;
	position:absolute;
	z-index:99;
}
#ourpastor{
	background:url(../images/ourpastor.png) repeat-x #002953;
	width:100%;
}
#ourpastorcontent{
	background:url(../images/ourpastor-img.png) no-repeat left;
	padding-left:480px;
	min-height:302px;
	color:#bfdfff;
}
#ourpastorcontent h3{
	padding:60px 0 0 0;
}
#ourpastorcontent p{
	padding:15px 0;
}
#ourpastorcontent a{
	background:#051b32;
	padding:10px 20px;
	border:2px solid #01557a;
	text-transform:uppercase;
	color:#FFF;
	text-decoration:none;
	border-radius:10px;
	-webkit-border-radius:10px;
	-moz-border-radius:10px;
}
#churchactivities{
	width:100%;
	padding:20px 0;
}
#churchactivities .actiiviti1{
	width:50%;
}
#churchactivities li{
	width:50%;
}
#churchactivities h3{
	padding-left:20px;
}
#churchactivities p{
	padding-left:20px;
	padding-bottom:10px;
	padding-top:10px;
}
#churchactivities img{
	padding:20px 0;
}
#churchactivities .shadow{
	background:url(../images/activities-shadow.png) no-repeat left;
}
#churchactivities a{
	padding:10px 20px;
	background:none;
	border:1px solid #999;
	margin-top:60px;
	border-radius:5px;
	-webkit-border-radius:5px;
	-moz-border-radius:5px;
	cursor:pointer;
	color:#444444;
	text-decoration:none;
}
#churchactivities a:hover{
	background:#CCC;
}

#services{
	padding:20px 0 40px 0;
	width:100%;
	background:#FFF;
	font-size:14px;
	line-height:22px;
}
#services h3{
	padding:10px 0;
	margin-bottom:20px;
}
#servicestime{
	width:100%;
	color:#444444;
}
#servicestime h3{
	border-bottom:1px solid #ffdc73;
}
#servicestime .cols{
	width:50%;
}
#servicestime .servicedetails{
	width:200px;
	margin:0 10px;
}



#footerlinks{
	background:url(../images/footerlinks-bg.png) repeat-x top #001758;
	width:100%;
}
#footerlinks .flinks{
	background:url(../images/flinks-bg.png) no-repeat bottom center;
	padding-bottom:50px;
	min-height:300px;
}
#footerlinks ul{
	padding-right:40px;
	display:inline-block;
	vertical-align:top;
}
#footerlinks li{
	padding:5px 0;
	text-align:left;
}
#footerlinks li h3{
	line-height:60px;
	margin-bottom:30px;
	text-transform:uppercase;
}
#footerlinks li h3 a{
	color:#444444;
}
#footerlinks li a{
	color:#bfbfbf;
	text-decoration:none;
}

#footeraddress{
	background:#1a306f;
	line-height:56px;
	width:100%;
	color:#d1d672;
}
#footeraddress a{
	color:#d1d672;
	text-decoration:none;
}
#footeraddress li{
	display:inline-block;
	padding:0 7px;
}
#footersocial{
	padding:20px 0;
	background:#fdfdff;
	display:block;
}
#footersocial ul{
	width:100%;
}
#footersocial li{
	width:271px;
	float:left;
}
#footersocial li a{
	color:#df6565;
	font-size:24px;
	padding:13px;
	display:block;
	float:left;
}
#footersocial li a:hover{
	color:#a1a1a1;
}
#footersocial button{
	width:220px;
	background:#ffd24d;
	line-height:50px;
	border:0;
	border-radius:5px;
	-moz-border-radius:5px;
	-webkit-border-radius:5px;
	text-transform:uppercase;
	font-size:18px;
	cursor:pointer;
}
#footerlogo{
	width:100%;
	background:#eeeeee;
	padding:38px 0;
	display:block;
}

@media only screen and ( min-width: 300px) and ( max-width: 1083px ) {
	.wrapper{
	width:98%;
	margin:0 auto;
}
#menu-icon {
		display:inline-block;
	}
nav{
	padding:10px 20px;
	margin-top:10px;
}
	nav ul, nav:active ul { 

		display: none;
		position: absolute;
		padding: 20px;
		background: #001b7a;
		right:10px;
		top:280px;
		width: 50%;
		border-radius:4px;
	}

	nav li {
		width: 100%;
		padding:0;
		margin: 0;
	}
nav li a{
	color:#555555;
	text-decoration:none;
	font-weight:bold;
	border-top:0;
	border-bottom:1px solid #ffd24d;
	padding:10px;
	display:block;
}
nav li a:hover{
	color:#555555;
	border-top:0;
	border-bottom:1px solid #ffd24d;
	padding:10px;
}
nav li .current {
	color: #555555;
	border-top:0;
	border-bottom:1px solid #ffd24d;
	padding:10px;
}
	
	nav li a{
		color:#FFF;
	}

	nav:hover ul {
		display: block;
	}
	
	#footerlinks .flinks{
	background:url(../images/flinks-bg.png) no-repeat bottom center;
	padding-bottom:50px;
	min-height:0;
	height:auto;
}
}


@media only screen and ( min-width:280px) and ( max-width: 768px ) {
.wrapper{
	width:100%;
	margin:0 auto;
}
#header{
	background:url(../images/header-bg.png) repeat-x bottom;
	width:100%;
	height:auto;
}
#headerinner{
	background:url(../images/header-bg-inner.png) no-repeat top center;
	width:100%;
	height:auto;
}
#topaddress{
	float:left;
	margin:50px 0 0 0;
	width:100%;
}
#pastor{
	width:100%;
	float:left;
	text-align:center;
}
#logo{
	width:100%;
	float:left;
	margin:40px 0 0 0;
	text-align:center;
}
#logo img{
	float:none;
}
#fourblocks{
	width:100%;
	height:auto;
}
#fourblocks .block1{
	background:#fff;
	border:1px solid #000;
	width:90%;
	margin:5%;
	height:auto;
	padding-top:30px;
	padding-bottom:30px;
}
#fourblocks .block2{
	background:#fff;
	border:1px solid #000;
	width:90%;
	margin:5%;
	height:auto;
	padding-top:30px;
	padding-bottom:30px;
}
#fourblocks .block3{
	background:#fff;
	border:1px solid #000;
	width:90%;
	margin:5%;
	height:auto;
	padding-top:30px;
	padding-bottom:30px;
}
#fourblocks .block4{
	background:#fff;
	border:1px solid #000;
	width:90%;
	height:auto;
	margin:5%;
	padding-top:30px;
	padding-bottom:30px;
}
#ourpastorcontent{
	background:url(../images/ourpastor-img.png) no-repeat center top #002953;
	padding-left:0px;
	padding-top:302px;
	color:#bfdfff;
}
#ourpastorcontent h3{
	padding:0 20px;
}
#ourpastorcontent h3 img{
	width:80%;
	height:auto;
}
#ourpastorcontent p{
	padding:20px;
}
#churchactivities .actiiviti1{
	width:100%;
}
#churchactivities li{
	width:100%;
}
#footerlinks li h3{
	line-height:60px;
	margin-bottom:30px;
	text-transform:uppercase;
	background:#ffe84d;
	padding:0 1%;
}
#footerlinks ul{
	padding-right:0px;
	display:block;
	float:left;
	width:100%;
	vertical-align:top;
}
#footerlinks li a{
	color:#bfbfbf;
	text-decoration:none;
	padding-left:30px;
}
#footersocial li{
	width:50%;
	text-align:center;
	float:left;
	padding:20px 0;
}
#footersocial li a{
	display:inline-block;
	float:none;
}
#footersocial button{
	width:100%;
}
#givingbg{
	width:100%;
	background:url(../images/egiving-main-bg.png) no-repeat center;
	background-size:cover;
	padding:40px 0;
}
#givingbg p{
	width:90%;
	padding:5%;
	float:left;
	display:block;
}
#givingbg h3{
	padding:0 5%;
}
#givingbg a{
	width:80%;
	float:left;
	display:block;
	margin:5%;
	text-align:center;
}
	
}

@media only screen and ( min-width:280px) and ( max-width:415px ) {
	#logo img{
	float:none;
	width:80%;
	height:auto;
}
#footerlogo img{
	width:80%;
	height:auto;
}
#footersocial li{
	width:100%;
}
#givingbg a{
	width:60%;
	padding:5%;
}
#servicestime .cols{
	width:100%;
}
#servicestime .servicedetails{
	width:80%;
	margin:0 10%;
}
}