/*
* Skeleton V1.1
* Copyright 2011, Dave Gamache
* www.getskeleton.com
* Free to use under the MIT license.
* http://www.opensource.org/licenses/mit-license.php
* 8/17/2011
*/

/* Table of Content
==================================================
	#Site Styles
	#Page Styles
	#Media Queries
	#Font-Face */

/* #Site Styles // rewrite original
================================================== */
	img{ max-width: 100%; height: auto; }
	div.top-navigation-wrapper{ min-width: 0; }


/* #Page Styles
================================================== */
	
/* #Media Queries
================================================== */

	/* Normal Size with no sidebar */
	div.slider-wrapper.fullwidth, 
	div.navigation-wrapper{ width: 980px; margin-left: -20px; }
	div.stunning-text-wrapper{ width: 960px; margin-left: -20px; padding-left: 10px; padding-right: 10px; }
	
	div.top-navigation-wrapper{ min-width: 980px; }
	
	div.footer-wrapper,
	div.container .top-navigation-wrapper-gimmick{ width: 980px; margin-left: -10px; }
		
	/* Normal Size with one sidebar */
	div.sidebar-included.left-sidebar .stunning-text-wrapper{ width: 660px; margin-left:-20px; }
	div.sidebar-included.right-sidebar .stunning-text-wrapper{ width: 660px; margin-left: -20px; }
	
	/* Normal Size with both sidebar */
	div.both-sidebar-included .stunning-text-wrapper{ width: 460px; margin-left: 0px; }	
	div.both-sidebar-included .stunning-text-button-wrapper{ float: none; display: block; margin: auto; }
	div.both-sidebar-included a.stunning-text-button{ float: none; display: inline-block; margin-right: 0px; }
	
	
	
	
	
/* Custom home stuff ----------------------------------------------------- */

#custom_homepage_block {
	width: 980px;
	background-color: #FFF;
	overflow: auto;
	margin-left: -20px;
}

#custom_homepage_block #custom_homeone {
	float: left;
	height: 155px;
	background-image: url(http://www.jbpierce.org/wpbuild/wp-content/uploads/custom/custom_homepage_top_bar_bg.jpg);
	background-repeat: repeat-x;
	width: 950px;
	padding-left: 30px;
}
#custom_homepage_block #custom_hometwo {
	float: left;
	width: 547px;
	padding-left: 48px;
	padding-right: 40px;
	padding-top: 43px;
	background-image: url(http://www.jbpierce.org/wpbuild/wp-content/uploads/custom/custom_homepage_hometwo_top.jpg);
	background-repeat: repeat-x;
	background-position: left top;
	background-color: #FFF;
}

#custom_homepage_block #custom_hometwo p {
	font-size: 15px;
	font-family: Open Sans;
	line-height:21px;
	margin-bottom: 60px;
}

#custom_homepage_block #custom_homethree {
	float: left;
	width: 295px;
	background-color: #666666;
	padding: 20px 30px 20px 20px;
	color: #EEE;
	background-image: url(http://www.jbpierce.org/wpbuild/wp-content/uploads/custom/custom_homepage_homethree_bg.jpg);
	background-repeat: repeat-y;
	background-position: left;
    min-height: 449px;
}
#custom_homepage_block #custom_homethree .newslink {
	color: #EEE;
	background-image: url(http://www.jbpierce.org/wpbuild/wp-content/uploads/custom/custom_home_a2-trans.png);
	background-repeat: no-repeat;
	background-position: left 3px;
	display: block;
	text-decoration: none;
	padding-top: 0px;
	padding-right: 0px;
	padding-bottom: 0px;
	padding-left: 20px;
}

#custom_homepage_block #custom_homethree .cta {
	background-color: #555;
	color: #FFF;
	background-image: url(http://www.jbpierce.org/wpbuild/wp-content/uploads/custom/custom_homepage_home3_link_bg.jpg);
	background-repeat: no-repeat;
	background-position: left top;
	display: block;
	margin-bottom: 0px;
	text-decoration: none;
	padding-top: 5px;
	padding-right: 0px;
	padding-bottom: 0px;
	padding-left: 25px;
	height: 24px;
	width: 248px;
}



#custom_homepage_block #custom_homethree H1 {
		color: #FFF;
}

#custom_homepage_block #custom_homeone .custom_home_p_block1 {
	width: 270px;
	float: left;
	margin-right: 30px;
	padding-left: 20px;
	background-image: url(http://www.jbpierce.org/wpbuild/wp-content/uploads/custom/custom_home_p_block-trans.png);
	background-repeat: no-repeat;
	background-position: left top;
}



#custom_homepage_block #custom_homeone .custom_home_p_block1end {
	width: 270px;
	float: left;
	padding-left: 20px;
	background-image: url(http://www.jbpierce.org/wpbuild/wp-content/uploads/custom/custom_home_p_block-trans.png);
	background-repeat: no-repeat;
	background-position: left top;
}

#custom_homepage_block #custom_homeone .custom_home_p_block1 #footer a {
	background-image: url(http://www.jbpierce.org/wpbuild/wp-content/uploads/custom/custom_home_a-trans.png);
	background-repeat: no-repeat;
	padding-left: 22px;
	text-decoration:none;
	background-position: 2px;
}

#custom_homepage_block #custom_homeone .custom_home_p_block1end #footer a {
	background-image: url(http://www.jbpierce.org/wpbuild/wp-content/uploads/custom/custom_home_a-trans.png);
	background-repeat: no-repeat;
	padding-left: 22px;
	text-decoration:none;
	background-position: 2px;
}

#custom_homepage_block #custom_homeone .custom_home_p_block1end a {
	text-decoration:none;
	background-position: 2px;
}

#custom_homepage_block #custom_hometwo  a {
	background-image: url(http://www.jbpierce.org/wpbuild/wp-content/uploads/custom/custom_home_a-trans.png);
	background-repeat: no-repeat;
	padding-left: 22px;
	margin-top: 20px;
	text-decoration:none;
	font-size:12px;
	background-position: 2px;
}

custom_three_images{overflow:auto}


/* BTN ------------------- */


.custom_home_btn {
	-moz-box-shadow:inset 0px 1px 0px 0px #97dcff;
	-webkit-box-shadow:inset 0px 1px 0px 0px #97dcff;
	box-shadow:inset 0px 1px 0px 0px #97dcff;
	background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #71d0ff), color-stop(1, #4cc0ff) );
	background:-moz-linear-gradient( center top, #71d0ff 5%, #4cc0ff 100% );
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#71d0ff', endColorstr='#4cc0ff');
	background-color:#71d0ff;
	-moz-border-radius:3px;
	-webkit-border-radius:3px;
	border-radius:3px;
	border:1px solid #3fa8dc;
	display:inline-block;
	color:#4d4d4d;
	font-family:arial;
	font-size:13px;
	font-weight:normal;
	padding:6px 24px;
	text-decoration:none;
	text-shadow:1px 1px 0px #97dcff;
}.custom_home_btn:hover {
	background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #4cc0ff), color-stop(1, #71d0ff) );
	background:-moz-linear-gradient( center top, #4cc0ff 5%, #71d0ff 100% );
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#4cc0ff', endColorstr='#71d0ff');
	background-color:#4cc0ff;
}.custom_home_btn:active {
	position:relative;
	top:1px;
}
/* This imageless css button was generated by CSSButtonGenerator.com */


/* BTN ------------------- */


/* Custom home stuff ----------------------------------------------------- */

	
	
	
	
	
	
	
	
	
	
	/* Smaller than standard 960 (devices and browsers) */
	@media only screen and (max-width: 959px) {}

	/* Tablet Portrait size to standard 960 (devices and browsers) */	
	@media only screen and (min-width: 768px) and (max-width: 959px) {
		
		
		
	#custom_homepage_block {
	width: 768px;
	background-color: #FFF;
	overflow: auto;
	margin-left: -10px;
}
#custom_homepage_block #custom_homeone .custom_home_p_block1 {
	width: 200px;
	float: left;
	margin-right: 30px;
	padding-left: 20px;
	background-image: url(http://www.jbpierce.org/wpbuild/wp-content/uploads/custom/custom_home_p_block-trans.png);
	background-repeat: no-repeat;
	background-position: left top;
	font-size:11px;

}
#custom_homepage_block #custom_homeone .custom_home_p_block1 h1 {
	font-size:15px;
}

#custom_homepage_block #custom_homeone .custom_home_p_block1end h1 {
	font-size:15px;
}
#custom_homepage_block #custom_homeone .custom_home_p_block1end {
	width: 200px;
	float: left;
	padding-left: 20px;
	background-image: url(http://www.jbpierce.org/wpbuild/wp-content/uploads/custom/custom_home_p_block-trans.png);
	background-repeat: no-repeat;
	background-position: left top;
	font-size:11px;
}
#custom_homepage_block #custom_homeone {
	float: left;
	height: 155px;
	background-image: url(http://www.jbpierce.org/wpbuild/wp-content/uploads/custom/custom_homepage_top_bar_bg.jpg);
	background-repeat: repeat-x;
	width: 738px;
	padding-left: 30px;
}
#custom_homepage_block #custom_hometwo {
	float: left;
	width: 335px;
	padding-left: 48px;
	padding-right: 40px;
	padding-top: 43px;
	background-image: url(http://www.jbpierce.org/wpbuild/wp-content/uploads/custom/custom_homepage_hometwo_top.jpg);
	background-repeat: repeat-x;
	background-position: left top;
	background-color: #FFF;
}	

#custom_three_images {
	display:none;
}
		div.slider-wrapper.fullwidth, 
		div.navigation-wrapper{ width: 788px; margin-left: -20px; }	
		div.stunning-text-wrapper{ width: 788px; margin-left: -20px; padding-left: 10px; padding-right: 10px; }
		
		div.top-navigation-wrapper{ min-width: 788px; }
		
		div.footer-wrapper,
		div.container .top-navigation-wrapper-gimmick{ width: 788px; margin-left: -10px; }	

		/* portfolio */
		div.sixteen.columns.portfolio-item .portfolio-thumbnail-image, 
		div.sixteen.columns.portfolio-item .portfolio-thumbnail-video, 
		div.sixteen.columns.portfolio-item .portfolio-thumbnail-slider { width: 400px !important; }
		div.sidebar-included .sixteen.columns.portfolio-item .portfolio-thumbnail-image,
		div.sidebar-included .sixteen.columns.portfolio-item .portfolio-thumbnail-video,
		div.sidebar-included .sixteen.columns.portfolio-item .portfolio-thumbnail-slider{ float: left; width: 220px !important; }
		div.both-sidebar-included .sixteen.columns.portfolio-item .portfolio-thumbnail-image,
		div.both-sidebar-included .sixteen.columns.portfolio-item .portfolio-thumbnail-video,
		div.both-sidebar-included .sixteen.columns.portfolio-item .portfolio-thumbnail-slider{ float: none; width: auto !important; }		
		div.both-sidebar-included .sixteen.columns.portfolio-item .portfolio-thumbnail-context { padding-left: 0px !important; margin-top: 5px; }

		div.both-sidebar-included .comment-wrapper input[type="text"], input[type="password"] { width: 220px; }
		div.both-sidebar-included .comment-wrapper .comment-form-captcha input{ width: 105px; }
		
		/* Normal Size with one sidebar */
		div.sidebar-included.left-sidebar .stunning-text-wrapper{ width: 538px; margin-left: -20px; }
		div.sidebar-included.right-sidebar .stunning-text-wrapper{ width: 538px; margin-left: -10px; }
		
		/* Normal Size with both sidebar */
		div.both-sidebar-included .stunning-text-wrapper{ width: 404px; margin-left: -20px; }			
	}
	
	/* reduce padding */
	@media only screen and (min-width: 768px) and (max-width: 959px) {
		div.container { padding-left: 0px !important; padding-right: 0px !important; }
		div.slider-wrapper.fullwidth, 
		div.navigation-wrapper{ width: 768px; margin-left: -10px; }	
		div.stunning-text-wrapper{ width: 768px; margin-left: -10px; padding-left: 0px; padding-right: 0px; }
		
		div.top-navigation-wrapper{ min-width: 768px; }
		
		div.footer-wrapper,
		div.container .top-navigation-wrapper-gimmick{ width: 768px; margin-left: 0px; }			
		
		div.top-navigation-left{ margin-left: 0px; }
		div.top-navigation-right{ margin-right: 0px; }
	} 

	/* All Mobile Sizes (devices and browser) */
	@media only screen and (max-width: 767px) {
		
		
		#custom_homepage_block {
	width: 430px;
	background-color: #FFF;
	overflow: auto;
	margin-left: -10px;
}
		
#custom_homepage_block #custom_homeone {
display:none;
}

#custom_homepage_block #custom_hometwo {
	float: left;
	width: 335px;
	padding-left: 48px;
	padding-right: 40px;
	padding-top: 43px;
	background-image: url(http://www.jbpierce.org/wpbuild/wp-content/uploads/custom/custom_homepage_hometwo_top.jpg);
	background-repeat: repeat-x;
	background-position: left top;
	background-color: #FFF;
}
#custom_homepage_block #custom_homethree {
	display:none;
}

#custom_three_images {
	display:none;
}


		
		div.top-navigation-left{ float: none; margin-left: 0px; }
		div.top-navigation-right{ float: none; margin-top: 5px; margin-right: 0px}
		div.menu-top-menu-container{ display: inline-block; }
		
		div.top-navigation-wrapper{ min-width: 0px; }
		
		div.header-wrapper{ text-align: center;	background:none; }
		div.logo-wrapper{ display: inline-block; margin-top: 30px; margin-bottom: 0px; } 
		div.social-wrapper{ 
			display: inline-block; margin: 20px 0px; text-align: center; float: none; }
			
		div.navigation-wrapper{ display: none; }	
		div.responsive-menu-wrapper{ display: block; }
		
		div.flex-caption{ display: none; }
		
		div.stunning-text-wrapper{ text-align: center; }
		a.stunning-text-button{ display: inline-block; float: none; }
		
		/* blog */
		div.blog-item-holder .blog-item1 .blog-thumbnail-image, 
		div.blog-item-holder .blog-item1 .blog-thumbnail-video, 
		div.blog-item-holder .blog-item1 .blog-thumbnail-slider {	float: none !important; width: auto !important; }	
		div.blog-item-holder .blog-item1 .blog-thumbnail-context { padding-left: 0px; }
		div.blog-item-holder .blog-item2 .blog-thumbnail-comment { float: none; display: inline-block; margin-left: 15px; }	
		
		/* portfolio */
		div.sixteen.columns.portfolio-item .portfolio-thumbnail-image, 
		div.sixteen.columns.portfolio-item .portfolio-thumbnail-video, 
		div.sixteen.columns.portfolio-item .portfolio-thumbnail-slider { float: none !important; width: auto !important; }
		div.sixteen.columns.portfolio-item .portfolio-thumbnail-context { padding-left: 0px !important; margin-top: 5px; }
		
		/* Slider*/
		div.anythingSlider,
		div.nivoSlider{ display: none !important; }
		
		/* Sidebar */
		div.left-sidebar-wrapper,
		div.right-sidebar-wrapper{ 
			border: none; padding: 20px 0px 0px 0px; padding-left: 0px; height: auto !important; 
			-moz-box-shadow: none !important; -webkit-box-shadow: none !important; box-shadow: none !important; }
		
		/* for shortcode */
		.shortcode1-4,
		.shortcode1-3,
		.shortcode1-2,
		.shortcode2-3,
		.shortcode3-4,
		.shortcode1{ width: 100%; margin-bottom: 10px; float: none; }
		
		/* for price table */
		.percent-column1-6,
		.percent-column1-5,
		.percent-column1-4,
		.percent-column1-3,
		.percent-column1-2,
		.percent-column1-1{ width: 50% !important; }
		div.gdl-price-item .price-item.active { padding-bottom: 30px !important; margin-top: 0px; }

			
	}

	/* Mobile Landscape Size to Tablet Portrait (devices and browsers) */
	@media only screen and (min-width: 480px) and (max-width: 767px) {
		
	
		div.slider-wrapper.fullwidth{ width: 440px; margin-left: -20px; }	 
		div.stunning-text-wrapper{ width: 420px; margin-left: -20px; padding-left: 10px; padding-right: 10px; }
		
		div.footer-wrapper,
		div.container .top-navigation-wrapper-gimmick{ width: 440px; margin-left: -10px; }	

		div.comment-wrapper input[type="text"], input[type="password"] { width: 270px !important; }
		div.comment-wrapper .comment-form-captcha input{ width: 155px !important; }		
	}

	/* Mobile Portrait Size to Mobile Landscape Size (devices and browsers) */
	@media only screen and (max-width: 479px) {
	
#custom_homepage_block {
width: 310px;
background-color: #FFF;
overflow: auto;
margin-left: -10px;
}
	
#custom_homepage_block #custom_homeone {
display:none;
}


#custom_homepage_block #custom_hometwo {
	float: left;
	width: 214px;
	padding-left: 48px;
	padding-right: 40px;
	padding-top: 43px;
	background-image: url(http://www.jbpierce.org/wpbuild/wp-content/uploads/custom/custom_homepage_hometwo_top.jpg);
	background-repeat: repeat-x;
	background-position: left top;
	background-color: #FFF;
}

#custom_homepage_block #custom_homethree {
	display:none;
}
		div.top-navigation-wrapper{ min-width: 320px; }
		
		div.slider-wrapper.fullwidth{ width: 320px; margin-left: -20px; }
		div.stunning-text-wrapper{ width: 320px; margin-left: -20px; padding-left: 10px; padding-right: 10px; }
		
		div.footer-wrapper,
		div.container .top-navigation-wrapper-gimmick{ width: 320px; margin-left: -10px; }	

		div.comment-wrapper input[type="text"], input[type="password"] { width: 180px !important; }

		div.comment-wrapper .comment-form-captcha input{ width: 65px !important; }				
	}	
	
