
#layout {
	position: relative;
	width: 100%;
}
#wrapper {
	position: relative;
}
.mobile_only {
	display: none;
}

#nav_wrapper, #slideshow_wrapper, #top_wrapper {
	width: 100% !important;
	max-width: 980px !important;
}
#content_wrapper {
	width: 95% !important;
}
#top {
	width: 95%;
	max-width: 980px;
	margin: 0 auto;
	height: 109px;
}
#content_wrapper {
	width: 95%;
	max-width: 980px;
	margin: 0 auto;
}
#content {
	padding-left: 0;
	padding-right: 0;
}
#content img {
	max-width: 100%;
	height: auto;
}

#nav_wrapper {
	width: 95% !important;
	max-width: 980px;
}
#nav_bar {
	width: 100% !important;
	max-width: 980px;
}

#bottom {
	width: 95% !important;
	max-width: 980px;
}





/* HOME */
#brands_wrapper {
	display: inline-block;
	vertical-align: top;
	/*width: 19.1836% !important;*/
	width: 12.73% !important;
	margin-right: 3.0204% !important;
}
#brands_wrapper img {
	width: 100%;
}
#featured_product_wrapper {
	display: inline-block;
	vertical-align: top;
	width: 45.9183% !important;
	margin-left: -4px !important;
	margin-right: 3.3265% !important;
}
#social_wrapper {
	display: inline-block;
	vertical-align: top;
	width: 30.1020% !important;
	margin-left: -4px !important;
}



/* HOME */
 #slideshow_wrapper {
 	height: auto !important;
 	padding-bottom: 30.6122%;
 }
 #ss_panel1,
 #ss_panel2 {
 	width: 100% !important;
 	max-width: 980px;
 }
 #slideshow_wrapper img {
 	max-width: 100%;
 }
 
 
 /* MOBILE NAV */
 .mobile_nav {
	position: absolute;
	top: 10px;
	left: 10px;
	font-size: 25px;
	color: #16637b !important;
	z-index: 49999;
}
.mobile_nav:hover {
	color: #f4e567;
}

#mobile_menu {
	display: none;
	position: relative;
	position: fixed;
	top: 0;
	left: 0;
	z-index: 20000;
	width: 0;
	min-height: 100%;
	background: #333;
	overflow: hidden;
	
	-webkit-box-shadow: inset -5px 0px 20px 0px rgba(0, 0, 0, 0.75);
	-moz-box-shadow:    inset -5px 0px 20px 0px rgba(0, 0, 0, 0.75);
	box-shadow:         inset -5px 0px 20px 0px rgba(0, 0, 0, 0.75);		
}
#mobile_menu .inner {
	width: 180px;
	padding: 10px;
}
#mobile_menu_bg {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 19999;
}
#mobile_menu a:not(.exempt) {
	display: block;
	padding: 7px 0 7px 3px;
	color: #fff !important;
	font-size: 14px;
	line-height: 16px;
	font-weight: bold;
	text-decoration: none;
	text-transform: uppercase;
	border-top: 1px solid #3c3c3c;
}
#mobile_menu a.donate {
	background: #e90101;
	height: 22px;
	line-height: 22px;
	text-align: center;
	margin-top: 10px;
	border-radius: 1px;
}
#mobile_menu a.social {
	display: inline-block;
	font-size: 24px;
	margin: 10px 12px 0 0;
	color: #fff !important;
}
#mobile_menu a.media {
	font-size: 14px;
	line-height: 16px;
	font-weight: bold;
	text-transform: uppercase;
	color: #fff !important;
	text-decoration: none;
	margin: 14px 15px 5px 0;
}
#input_mobile_search {
	margin: 0 0 12px -1px;
	width: 95%;
	height: 25px;
	line-height: 25px;
	padding: 0 0 0 5%;
	border: 0;
	outline: none;
	background: #6d6d6d;
	color: #fff;
	font-size: 14px;
	border-radius: 15px;
}
#mobile_menu #mobile_submenu a {
	font-weight: normal;
	font-size: 12px;
	line-height: 14px;
	color: #f2f2f2 !important;
	border-top: none;
	padding: 4px 0 4px 20px;
}
#mobile_menu #mobile_submenu a.selected {
	color: #f4e57d !important;
}
#mobile_menu #mobile_submenu {
	margin: 0 0 8px 0;
}



 
 
 
 @media screen and (max-width:980px) {
	 
	#home_content_wrapper {
		margin-top: 0 !important;
	}
	 
	#email_box {
		display: none;
	}
	#email_box_copy {
		display: block !important;
	}
	 
	/* EMAIL BOX */
	#email_box_copy {
		width: auto !important;
		height: auto !important;
		text-align: center !important;
		margin-top: 20px;
		
		/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#17637b+0,466c77+50,17637b+100 */
		background: #17637b !important; /* Old browsers */
		background: -moz-linear-gradient(45deg,  #17637b 0%, #466c77 50%, #17637b 100%) !important; /* FF3.6+ */
		background: -webkit-gradient(linear, left bottom, right top, color-stop(0%,#17637b), color-stop(50%,#466c77), color-stop(100%,#17637b)) !important; /* Chrome,Safari4+ */
		background: -webkit-linear-gradient(45deg,  #17637b 0%,#466c77 50%,#17637b 100%) !important; /* Chrome10+,Safari5.1+ */
		background: -o-linear-gradient(45deg,  #17637b 0%,#466c77 50%,#17637b 100%) !important; /* Opera 11.10+ */
		background: -ms-linear-gradient(45deg,  #17637b 0%,#466c77 50%,#17637b 100%) !important; /* IE10+ */
		background: linear-gradient(45deg,  #17637b 0%,#466c77 50%,#17637b 100%) !important; /* W3C */
		filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#17637b', endColorstr='#17637b',GradientType=1 ) !important; /* IE6-9 fallback on horizontal gradient */
		
	}	 
	#email_box_desc, #email_box_copy_desc {
		position: relative !important;
		top: auto !important;
		left: auto !important;
		width: 100% !important;
	}
	#email_box_first_name, #email_box_copy_first_name,
	#email_box_last_name, #email_box_copy_last_name,
	#email_box_email, #email_box_copy_email,
	#email_box_submit, #email_box_copy_submit {
		display: inline-block !important;
		vertical-align: middle !important;
		position: relative !important;
		top: auto !important;
		left: auto !important;
		margin: 5px !important;
		color: #fff !important;
	}
	#email_box_submit, #email_box_copy_submit {
		display: block !important;
		margin: 5px auto !important;
		background: #3898c4 !important;
	}
	
	#social_mobile {
		display: block !important;
		text-align: center;
		padding: 14px 0;
	}
	#social_mobile a {
		display: inline-block;
		vertical-align: middle;
		margin: 0 5px;
		font-size: 32px;
		line-height: 34px;
	}
	
	#content {
		min-height: 0;
		width: 100% !important;
	}
	#sidebar1 {
		margin: 0 !important;
		width: 100% !important;
		max-width: 980px !important;
		padding: 15px 0 0 0 !important;
		border-top: 1px solid #ccc;
	}
	
	/* PRODUCTS */
	#hpla_store_category_wrapper .col1,
	#hpla_store_category_wrapper .col2 {
		display: block;
		width: 100%;
		margin-left: 0;
		margin-right: 0;
		margin-bottom: 20px;
		padding-bottom: 0;
	}
	#hpla_store_product_grid {
		border: none !important;
		padding: 0 !important;
	}
	#hpla_store_category_wrapper .col1 a {
		border: none;
	}
	 
 }
 
 
@media screen and (max-width:980px) {
	.mobile_only {
		display: block;
	}
	
	#top_right {
		display: none;
	}
	#top_wrapper, #top {
		height: auto;
	}
	#top {
		text-align: center;
		width: 100% !important;
		padding: 14px 0 !important;
		margin-bottom: 20px;
	}
	.top_right {
		background: #23667a;
		padding: 8px 0;
	}
	.top_right span,
	.top_right strong {
		color: #fff !important;
	}
	#site_logo {
		float: none !important;
		max-width: 75%;
		margin: 0 !important;
	}
	.top_right {
		float: none !important;
		width: 100% !important;
		height: auto !important;		
		margin: 10px auto !important;
		border-top: 1px solid #23667a;
		text-align: center;
		border-bottom: 1px solid #23667a;
	}
	.top_right div {
		margin-bottom: 0 !important;
	}
	
	#nav_wrapper {
		display: none;
		height: auto !important;
	}
	#nav_wrapper {
		width: 100% !important;
	}
	#nav_bar {
		height: auto;
	}
	.nav {
		text-align: center;
	}
	.nav li {
		display: inline-block;
		vertical-align: middle;
		float: none;
		text-align: center;
	}
	.nav li a {
		display: block;
		font-size: 12px;
		height: 30px;
		line-height: 30px;
		padding: 0 8px;
	}
	.nav li ul {
		display: none !important;
	}	
	
	#brands_wrapper {
		/*display: block !important;*/
		display: none !important;
		width: 100% !important;
	}
	#brands_wrapper img {
		width: auto !important;
	}
	
	#featured_product_wrapper {
		display: block !important;
		width: 100% !important;
		height: 100% !important;
		margin-left: 0 !important;
		margin-right: 0 !important;
		-webkit-box-shadow: none !important;
		-moz-box-shadow: none !important;
		box-shadow: none !important;
		
		text-align: center;
	}
	#featured_product_wrapper img {
		max-width: 100%;
	}
	
	#social_wrapper {
		display: none !important;
	}
	
	#hpla_footer_right {
		display: none;
	}
}

@media screen and (max-width:770px) {
	#content {
		width: 100% !important;
		margin-left: 0;
		margin-right: 0;
	}
	#sidebar1 {
		display: block;
		width: 100% !important;
		max-width: 500px;
		margin: 0 auto;
	}
	

	
	#wrapper #content_wrapper h1 {
		font-size: 35px !important;
		line-height: 35px;
	}
	#wrapper #content_wrapper h3 {
		font-size: 23px;
		line-height: 23px;
	}
}

@media screen and (max-width:590px) {
	/*
	#content_wrapper {
		width: 95% !important;
		padding: 2.5% !important;
	}
	*/

	#wrapper #content_wrapper .hpla_store_h1 {
		font-size: 25px !important;
		line-height: 27px;
	}
	
	
}

@media screen and (max-width:550px) {
	#content {
		display: block;
		width: 100% !important;
		min-height: 0;
		margin-left: 0;
		margin-right: 0;
	}
	#sidebar1 {
		display: block;
		width: 90% !important;
		min-height: 0;
	}
} 

@media screen and (max-width:450px) {
	#frmSiteLogin table {
		width: 100%;
	}
	#frmSiteLogin table td {
		display: block;
		width: 100%;
		padding: 0;
	}
	#frmSiteLogin input[type=text], #frmSiteLogin input[type=password] {
		width: 94% !important;
		padding: 0 2.5% !important;
	}
	#frmSiteLogin input[type=submit] {
		display: block;
		width: 100%;
		padding: 10px 0 !important;
		text-align: center;
	}
}

@media screen and (max-width:400px) {
	#hpla_store_product_wrapper .col1,
	#hpla_store_product_wrapper .col2 {
		display: block;
		float: none;
		width: 100%;
		height: auto;
		margin-left: 0;
		margin-right: 0;
		margin-bottom: 20px !important;
		padding-bottom: 0;
	}	
	
	.hpla_store_product_grid li {
		width: 44%;
		margin: 0 2.5% 20px 2.5%;
	}
	.hpla_store_product_grid li img {
		display: block;
		width: 100%;
	}
}