@import url('global.css');
@import url('typography.css');
@media screen and (max-width: 980px) {
	#sidebar-header{
		width:100%;	
	}
	form#commentform textarea, form#commentform input{
		width:100%;	
	}
	#inner-content.fullpage{
		width:94%;
		padding:0px 3% 39px
	}
	#featured-video-content{
		width:100%;
	}
	#tv-name{
		width:16%;
	}
	#main-content-header{
		width:100%;	
	}
	#blog-topics-list{
		width:100%;
	}
	textarea{
		width:100%;
	}
	#contact-headquater,#usa-branch{
		width:100%; margin-bottom:10px;
	}
  #slide-holder {width:100%;}
  #sidebar2{
	  display:none;
  }
  
  #menu select { display: none; margin-bottom:19px; height:30px; }
  #menu li{
	  padding:0px 8px 0px 7px;
  }

	#mainbody {
		width: 94%;
	}
	#nav{
		width:95%;
	}
	#content, #footer-layer{
		width: 96%;
	}
	#column2{
		margin-bottom:40px;
	}
	#column3{
		margin-left:50px;
	}
	#column1{
		width:100%; margin-bottom:30px; margin-right:0px; background:none;
	}
	#column1-holder{
		margin-right:20px; width:45%; padding-bottom:25px; min-height:75px;
	}
	#sermon{
		padding-top:10px;
	}
	#service{
		width:auto; padding-top:10px;
	}
	#weekdays{
		margin-top:0px;	
	}
	#column-last-holder{
		width:auto;
	}
	#sidebar,#sidebar-media {
		width: 42%; border-bottom:1px solid #efefef; padding-bottom:20px; background:none; float:left;
	}
	#testimonies, #recent-sermon{
		width:50%; margin-left:20px;
	}
	#desc{
		padding-bottom:39px;
	}

	#shortcut-layer, #inner-page-layer, #main-nav, #footer-top, #footer-middle, #footer-bottom{
		width:100%;
	}

	#prayer-holder, #give-holder, #video-holder, #moment-holder{
		width:18%; margin:0px; padding:0px 20px 0px 20px;
	}
	#inner-content{
		width:auto; padding-right:0px;
	}
	#header{
		width:100%;
	}
	#inner-header{
		width:96%;
	}
	#header-side2{
		width:auto; float:right;
	}
	#header-slogan{
		margin-right:0px;
	}
	#last-header{
		float:right;
	}
	#event-timer{
		display:none;
	}
		.nav a{
			font-size:13x; display:none;
		}
		#main-content{
			float:left; width:45%;
		}

}
@media screen and (max-width: 768px) {
	
			/* Force table to not be like tables anymore */
		

	#tribe-events-content table.tribe-events-calendar{
		content:normal;	
	}
	#links > ul > li
	{
		margin-right:1.5% !important;
	}
	 #tv-name img {
		 display:none;
	 }
	 #days-name{
		 min-height:145px;
	 }
	 
	#inner-content.fullpage{
		width:94%;
	}
	#blog-topics-container{
		min-height:0px; padding-bottom:30px;
	}
	
	#main-content{
		float:left; width:48%;
	}
	#blog-topics-container,#sidebar,#sidebar-media{
		width:46%; float:left;
	}
	#cat-post-right,#cat-post,#cat-post-full{
		width:100%;
	}
	textarea,.wpcf7-text,wpcf7-captchar{
		width:68%;
	}
	#sermon{
		padding-top:0px;
	}
	#nav, .nav a{
		display:inline;
	}
	#column1-holder{
		min-height:87px;
	}
	#menu {
		display:none;
	}
	#prayer-holder, #give-holder{
		margin-bottom:21px;	
	}
	#nav{
		width:98.5%;
	}
	#footer-menu{
		width:100%; text-align:center;
	}
	#social1{
		display:none;
	}
	#footer-nav li{
		width:16%; margin-bottom:15px; padding-left:0px;
	}
	#give-holder{
		border-right:none;
	}
	#prayer-holder, #give-holder, #video-holder, #moment-holder{
		width:44%;	
	}
	
	#testimonies, #recent-sermon{
		min-height:285px; width:100%;
	}
	
}

    
	@media (max-width: 900px) {
      #menu select { display: none; }
	  #menu li{
		  padding:0px 7px;
	  }
    }
	@media (max-width: 909px) {
      #menu select { display: none; }
	  #menu li{
		  padding:0px 6px 0px 6px ;
	  }
    }
	@media (max-width: 890px) {
      #menu select { display: none; }
	  #menu li{
		  padding:0px 5px 0px 6px;
	  }
	  
    }
	 @media (max-width: 868px) {
      #menu select { display: none;  }
	  #menu li{
		  width:18%; text-align:center;
	  }
	  #menu > li:nth-child(1), li:nth-child(2), li:nth-child(3), li:nth-child(4), li:nth-child(5){
		  margin-bottom:20px;
	  }
	  ul#blog-topics-list li{
		  margin:0px;
	  }
	  #links li{
		margin-bottom:0px;  
	  }
	  #column3{
		  margin-left:20px;
	  }
    }
	@media (max-width: 750px) {
		
	
		.epaymenttable{
	width:680px;
	margin:auto;
	padding: 10px;
	margin-top:10px;
	}
.epaymenttable-row{
	width:100%;
	padding:5px;
	float: left;
	}
	
	.epaymentstatus{
	width:680px;
	margin:auto;
	padding: 10px;
	margin-top:10px;
	}
	.epaymenttable-rowdatastatus{
	width:100%;
	margin-right:10px;
	float:left
	}

.epaymenttable-rowdata{
	width:100%;
	margin-right:10px;
	float:left;
	padding: 2px 0;
	}
	.epaymenttable-rowdatabig{
	width:100%;
	margin-right:10px;
	float:left;
	padding: 2px 0;
	}
	.epaymenttable-rowdatahalf{
	width:40%;
	margin-right:10px;
	float:left;
	}
	.epayment-alignleft{
		float:left
		}
		
		.epayment-alignright{
		float:none
		}
		
		#menu li{
		  width:30%; text-align:center; margin-bottom:20px;
	  	}	
		#menu li:last-child{
			margin-bottom:0px;
		}
		
	}
	@media (max-width: 560px) {
		#menu li{
			width:29%;
		}
		
    }

	@media (max-width: 459px) {
		#menu { background:none; border-radius:0px; -moz-box-shadow:0 0px 0px #000;	 -webkit-box-shadow:0 0px 0px #000; float:none; padding:0px;
			box-shadow:0 0px 0px #000;	
		}
      #menu ul     { display: none; }
      #menu select { display: inline-block; margin-bottom:19px; height:30px; width:100%; }
	  #menu li{
		  padding:0px 12px 0px 10px;
	  }
	  #header-side2{
		  width:100%;
	  }
    }
	  #sidebar2{
	  display:none;
  }



@media screen and (max-width: 685px) {
	#nav li{
		margin-bottom:5px; width:100%;
	}
	#prayer-holder, #give-holder, #video-holder, #moment-holder{
		width:42%;
	}
	#testimonies, #recent-sermon{
		width:50%;
	}
	#blog-topics-heading,#blog-topics-list li a{
		width:90%;
	}
	table#broadcast_table td.logo img{
		max-width:100%; display:none;
	}
	#testimonies, #recent-sermon{
		width:100%;
	}
	
}
/* for 700px or less */
@media screen and (max-width: 700px) {
	
	
	

	#content, #inner-content{
		width: auto;
	}
	#inner-page-header {
		width:100%; position:relative;
	}
	#newsletter{
		width:53%; float:left; margin-left:10px;
	}
	input.newsletter{
		width:auto;
	}
	#column3{
		margin-left:0;
	}
	#testimonies, #recent-sermon{
		margin-left:0px;
	}
	#sermon-title{
		float:none;
	}
	#desc{
		width:auto;
	}
	#header-side2{
		width:35%;
	}
	#search{
		float:right; width:160px;
	}
	input.header{
		width:130px;
	}
	#slide-holder {width: 100%; margin:0px; text-align: center;}

	
	#shortcut-layer,  #footer-middle, #footer-links{
		width:auto;
	}
	#column2{
		margin-right:2%; width:45%;
	}
	#column2-header{
		width:80%;
	}
	 #column3-header{
		 width:90%;
	 }
	#column3-text{
		width:95%;
	}
	#column1-holder,#column1-holder2{
		width:47%;
	}

}

/************************************************************************************
smaller than 650
*************************************************************************************/
@media screen and (max-width: 640px) {
	
	
		.epaymenttable{
	width:380px;
	margin:auto;
	padding: 10px;
	margin-top:180px;
	}
.epaymenttable-row{
	width:100%;
	padding:5px;
	float: left;
	}
	
	.epaymentstatus{
	width:380px;
	margin:auto;
	padding: 10px;
	margin-top:180px;
	}
	.epaymenttable-rowdatastatus{
	width:100%;
	margin-right:10px;
	float:left
	}

.epaymenttable-rowdata{
	width:100%;
	margin-right:10px;
	float:left;
	padding: 2px 0;
	}
	.epaymenttable-rowdatabig{
	width:100%;
	margin-right:10px;
	float:left;
	padding: 2px 0;
	}
	.epaymenttable-rowdatahalf{
	width:40%;
	margin-right:10px;
	float:left;
	}
	.epayment-alignleft{
		float:left
		}
		
		.epayment-alignright{
		float:none
		}

	/* header */
	#header {
		height: auto;
	}
	#main-content-header {
		width:100%;
	}
	
	/* main nav */
	#main-nav {
		position: static;
	}
	#newsletter{
		width:50%;
	}
	#footer-nav {
		position: static;
	}
	#main-content-header{
		width:auto;
	}
	#main-content{
		width:45%;	
	}
	#blog-topics-container, #sidebar,#sidebar-media{
		width:41%;	
	}
	#prayer-holder, #give-holder, #video-holder, #moment-holder{
		padding:20px;	
	}
	#testimonies-content{
		width:68%;
	}
	#header-slogan{
		display:none;
	}

}

@media screen and (max-width: 600px) {
	
	
	
		.epaymenttable{
	width:380px;
	margin:auto;
	padding: 10px;
	margin-top:200px;
	}
.epaymenttable-row{
	width:100%;
	padding:5px;
	float: left;
	}
.epaymentstatus{
	width:380px;
	margin:auto;
	padding: 10px;
	margin-top:200px;
	}
	.epaymenttable-rowdatastatus{
	width:100%;
	margin-right:10px;
	float:left
	}

.epaymenttable-rowdata{
	width:100%;
	margin-right:10px;
	float:left;
	padding: 2px 0;
	}
	.epaymenttable-rowdatabig{
	width:100%;
	margin-right:10px;
	float:left;
	padding: 2px 0;
	}
	.epaymenttable-rowdatahalf{
	width:40%;
	margin-right:10px;
	float:left;
	}
	.epayment-alignleft{
		float:left
		}
		
		.epayment-alignright{
		float:none
		}

	#nav li{
		width:100%;
	}
	#text-layer-header{
		display:none;
	}
	#text-layer2-header{
		display:block;
	}
	#newsletter{
		width:45%;
	}
	input.newsletter{
		width:44%;
	}
	#column2, #column3{
		margin-right:0; width:100%;
	}
	#testimonies-content{
		width:69%;
	}
	#sidebar-header{
		width:91%;
	}
	#recent-sermon{
		margin-left:5%;
	}
	#footer-menu{
		display:none;
	}
	#footer-logo{
		display:block;
	}
	#social1{
		display:block; float:right;
	}
	#shortcut-layer,#prayer-holder-header,#give-holder-header,#video-holder-header,#moment-holder-header{
		background:none; width:100%; padding:0px; box-shadow:none;
	}
	#prayer-holder,#video-holder{
		background:url(../PayOnline/shortcut-bg.png) #0375a1 repeat-x; width:40.5%; margin-bottom:0px; border:none; margin-right:4.1%; -moz-box-shadow: 0 0px 10px #878787; -webkit-box-shadow:0 0px 10px #878787;  box-shadow:0 0px 10px #878787;
	}
	#give-holder,#moment-holder{
		background:url(../PayOnline/shortcut-bg.png) #0375a1 repeat-x; width:40.5%; margin-bottom:0px; border:none; -moz-box-shadow: 0 0px 10px #878787; -webkit-box-shadow:0 0px 10px #878787;  box-shadow:0 0px 10px #878787;
	}
	#video-holder,#moment-holder{
		margin-top:4.1%;
	}
	ul#column3-link li{
		width:90%;	
	}
	#main-content{
		width:47%;
	}
	#inner-content.fullpage{
		width:94%;
	}
}
@media screen and (max-width: 568px){
	#nav li:nth-child(10){
		width:23%;
	}
	#contact-form{
		margin-left:8%; width:92%;
	}
	#wpcf7-f322-p7-o1{
		margin-left:8%;
	}
	#prayer-holder,#video-holder{
		margin-right:3%;
	}
	#video-holder,#moment-holder{
		margin-top:3%;
	}
	#footer-address{
		width:50%;
	}
	.subscribe{
		width:45%;
	}

}

/* for 480px or less */
@media screen and (max-width: 480px) {
	
	#footer-holder,#column1-holder2{
		width:auto;
	}
	input.header{
		padding-top:10px; padding-bottom:10px; width:70%;
	}
	#video-holder, #moment-holder,#give-holder,#prayer-holder{
		width:38%; min-height:100px;
	}
	#video-holder, #moment-holder{
		margin-top:5%;
	}
	#prayer-holder, #video-holder{
		margin-right:5%;
	}
	#give-holder-header{
		width:100%;
	}
	#nav select { 
		display: block; text-align:center; width:100%; padding:10px; 
	}
	#nav ul{
		display:none;
	}
	#nav{
		padding:10px 5px;
	}
	footer-top{
		display:none;
	}
	#service{
		width:auto;
	}
	#cat-post{
		width:92%;
	}
	#main-content-text,#cat-post-full{
		padding:0px; width:100%;	
	}
	#footer-top{
		width:100%;
		display:block;
	}
	#footer-middle{
		width:100%;
		text-align:center;
	}
	.church{
		float:none;	
	}
	#footer-address{
		width:98%; margin-bottom:20px;
	}
	#newsletter{
		width:100%; margin-left:0px;
	}
	#main-content-header{
		width:100%; float:left;
	}
	#main-content{
		width:85%;
	}
	#blog-topics-container{
		width:100%;
	}
	#copyright{
		width:200px; margin-bottom:10px;
	}
	#sitemap{
		width:auto;
		float:none;
	}
	#header {
		height: auto;
	}
	
	#main-nav a {
		font-size: 90%;
		padding: 10px 8px;
	}
	#footer-nav a {
		font-size: 90%;
		padding: 10px 8px;
	}
	#column1, #column2, #column3{
		width:auto; margin:0px;
		background:none;
		margin-bottom:30px;
	}
	#column1-holder, #column-last-holder, #new-here{
		width:auto;
	}
	h1 {
		font-size: 24px;
	}
	#content-holder{
		width:auto;
	}
	#sidebar {
		display: none;
	}
	#sidebar-media{
		width:100%;	
	}
	#header-side2{
		background:none;
	}
	#last-header{
		float:none; width:100%; 
	}
	#inner-content{
		width:100%; padding-right:0px;
	}
	#inner-content.fullpage{
		width:94%;
	}
	
	#content{
		width:91%;
	}
	#blog-details, #blog-title, #blog-content{
		width:100%;
	}
	#column2-content, #column3-text{
		width:auto;
	}
	#shortcut-layer{
		width:auto;
	}
	#event-timer{
		display:none;
	}
	#search{
		width:73%; float:left; margin-left:11%;
	}
	#social{
		display:none;
	}
	#header-slogan{
		display:none;
	}
	#column2-header, #column3-header{
		margin-top:20px; width:82%;
	}
	#newsletter-header, #footer-bottom,#newsletter-form,#copyright{
		width:100%; text-align:center;
	}
	input.newsletter{
		margin-left:16%;
	}
	#slide-holder{
	  width:auto;
	}
	.subscribe{
		width:auto;
	}
	


}
@media (max-width: 596px) {
	#video-holder, #moment-holder, #give-holder, #prayer-holder{
		width:38%;	 
	}
}
 @media (max-width: 403px) {
		 #video-holder, #moment-holder, #give-holder, #prayer-holder{
			width:34%;	 
		 }
		 #prayer-holder, #video-holder{
			 margin-right:3%;
		 }
		 
		 
		.epaymenttable{
	width:300px;
	margin:auto;
	padding: 10px;
	margin-top:200px;
	}
.epaymenttable-row{
	width:100%;
	padding:5px;
	float: left;
	}
	
	.epaymentstatus{
	width:300px;
	margin:auto;
	padding: 10px;
	margin-top:200px;
	}
	.epaymenttable-rowdatastatus{
	width:100%;
	margin-right:10px;
	float:left
	}

.epaymenttable-rowdata{
	width:100%;
	margin-right:10px;
	float:left;
	padding: 2px 0;
	}
	.epaymenttable-rowdatabig{
	width:100%;
	margin-right:10px;
	float:left;
	padding: 2px 0;
	}
	.epaymenttable-rowdatahalf{
	width:40%;
	margin-right:10px;
	float:left;
	}
	.epayment-alignleft{
		float:left
		}
		
		.epayment-alignright{
		float:none
		}
		 
 }

@media screen and (max-width:380px) and (min-width:320px){
	#video-holder, #moment-holder,#give-holder,#prayer-holder{
		width:34%; min-height:113px;
	}
	#inner-content.fullpage{
		width:94%;
	}
	#tv-name{
		width:100%; border-bottom:1px solid #eaeaea; border-left:1px solid #eaeaea;
	}
	#days-name{
		width:13.7%;	
	}
	#days-name-header{
		width:13.58%;	
	}
	input.newsletter{
		width:67%;
	}
	input.header{
		width:63%;
	}
	input.subscribe{
		margin-left:28%; margin-top:10px !important; float:none;
	}
}


@media screen and (max-width: 320px) {
	#column1-holder,#column1-holder2,td:before{
		width:auto;
	}
	#header-side2{
		width:100%;
	}
	#inner-content{
		width:100%;
	}
	#header-logo{
		width:100%; text-align:center;
	}
	#header-side2{
		display:none;
	}
	#content{
		width:88%;
	}
	#mainbody {
		width: 92%;
	}
	#nav{
		width:96%;
	}
	#main-content-layer{
		width:99%;
	}
	#video-holder, #moment-holder, #give-holder, #prayer-holder{
		width:86%; min-height:0px;
	}
	#give-holder{
		margin-top:5%;
	}
	#footer-logo{
		width:60%;
	}
	input.subscribe{
		float:none; margin-top:10px !important;
	}
	input.newsletter{
		width:70%; float:none; margin-left:0px; margin-right:0px;
	}

}

@media screen and (max-width:240px){
	ul#column3-link li{
		width:82%;
	}
	#footer-logo{
		width:52%;
	}
	.subscribe{
		margin-left:17%;	
	}
	#video-holder, #moment-holder, #give-holder, #prayer-holder{
		width:80%;
	}
	#column1-holder,#column1-holder2, #column-last-holder, #service-time{
		width:80%;
	}
	input.header{
		width:78%;	
	}
	#column2-header, #column3-header{
		width:75%;
	}
	#column1, #column2, #column3{
		width:100%;
	}
	#service{
		width:87%;
	}
	#content{
		width:83%;
	}
	#mainbody {
		width: 92%;
	}
	#layer-container{
		width:96%;
	}
}


		@media only screen and ( max-width: 62.5em ) /* 1000 */
		{
			#links
			{
				width: 95.83333%;
				position: static;
				margin: 0;
			}
		}

		@media only screen and ( max-width: 40em ) /* 640 */
		{
			#links
			{
				position: relative;
				top: auto;
				left: auto; padding-top:10px; padding-bottom:10px;
			}
				#links > a
				{
					width: 169px; /* 50 */
					height: 35px; /* 50 */
					text-align: left;
					text-indent: -9999px;
					background-color: #e15a1f;
					background:url(../PayOnline/nav.png) no-repeat;
					position: relative;
					margin-left:5%;
				}
					#links > a:before,
					#links > a:after
					{
						position: absolute;
						top: 35%;
						left: 25%;
						right: 25%;
						content: '';
					}
					#links > a:after
					{
						top: 60%;
					}

				#links:not( :target ) > a:first-of-type,
				#links:target > a:last-of-type
				{
					display: block;
				}


			/* first level */

			#links > ul
			{
				height: auto;
				display: inherit;
				position: absolute;
				left: 0;
				right: 0;
				width: 98%;
			}
				#links:target > ul
				{
					display: block;
				}
				#links > ul > li
				{
					width: 98%; margin:0px;  padding:10px 0px 10px 2%;
					
				}
					#links > ul > li > a
					{
						height: auto;
						text-align: left;
						padding: 0 0.833em; /* 20 (24) */
					}
						#links > ul > li:not( :last-child ) > a
						{
							border-right: none;
							border-bottom: 0px solid #cc470d;
						}


				/* second level */

				#links li ul
				{
					position: static;
					padding: 1.25em; /* 20 */
					padding-top: 0;
				}
		}
