/*
 * HTML5 Boilerplate
 *
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Font-Face Kit Generated by Font Squirrel (http://www.fontsquirrel.com) on April 1, 2013
   ========================================================================== */

@font-face {
    font-family: 'LeagueGothicRegular';
    src: url('../fonts/LeagueGothic-Regular.eot');
    src: url('../fonts/LeagueGothic-Regular.eot?#iefix') format('embedded-opentype'),
         url('../fonts/LeagueGothic-Regular.woff') format('woff'),
         url('../fonts/LeagueGothic-Regular.ttf') format('truetype'),
         url('../fonts/LeagueGothic-Regular.svg#LeagueGothic-Regular') format('svg');
    font-weight: normal;
    font-style: normal;
}

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html,
button,
input,
select,
textarea {
    color: #222;
    -webkit-font-smoothing: antialiased;
}

body {
    font-size: 1em;
    line-height: 1.4;
    background: #DFDFD0 url(../img/bg_site.jpg) repeat-x 0 0;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection declarations have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between images and the bottom of their containers: h5bp.com/i/440
 */

img {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Chrome Frame prompt
   ========================================================================== */

.chromeframe {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

h1,h2,h3,h4 {
	color: #575746;
	font-family: 'LeagueGothicRegular';
	font-weight: normal;
	text-transform: uppercase;
	text-decoration: none;
}

h1 {
	margin: 0;
	letter-spacing: -1px;
	line-height: 1em;
}

address {
	font-style: normal;
}

address p {
	margin: 0;
}

.headshot {
    width: 120px;
    height: 120px;
}

#page {
	margin: 40px auto 20px;
	width: 950px;
	background: #516A78 url(../img/bg_page.gif) repeat-y 0 0;
	box-shadow: 0 0 60px #333325;
}

#header {
	background: #516A78;
}

#logo, .logo {
	margin: 40px auto 40px;
	width: 300px;
	height: 70px;
	display: block;
}

#home #logo {
	display: none;
}

#navbar {
	background: #000;
}

#nav, #snav {
	margin: 0;
	padding: 0;
	list-style-type: none;
	font: 2em/1em 'LeagueGothicRegular';
	text-transform: uppercase;
}

#nav li, #snav li {
	float: left;
}

#nav li a, #snav li a, .callout h2 {
	padding: 15px 28px;
	color: #FFF;
	text-decoration: none;
	background: #000;
	display: block;
}

#nav li a:hover, #snav li a:hover {
	background: #333325;
}

#nav li a.active, #nav li a.active:hover, #snav li a, #snav {
	background: #575748;
}

#snav {
	clear: left;
	font-size: 1.5em;
	display: block;
}

#snav li a {
	padding: 12px 20px;
}

.callout {
	margin: 40px 0 0;
	padding: 15px 28px;
	background: #333325;
	color: #FFF;
}

.callout h2 {
	margin: -15px -28px 0;
}

.callout strong, #main .callout a {
	color: #DFDFD0;
	font-weight: 700;
}

#main .callout a:hover {
	color: #575748;
}

.callout img {
	margin: 20px 0 !important;
	padding: 20px;
	background: #575748;
	width: 100%;
	height: auto;
	display: block;
	box-sizing: border-box;
}

.callout .buttonish {
	margin-bottom: 20px;
}

.captioverlay {
	position: relative;
}

.captioverlay strong {
	padding: 1em;
	position: absolute;
	top: 70%;
	left: 0;
	background: rgba(0,0,0,0.8);
	color: #FFF;
}

#sidebar {
	padding: 0 40px 40px;
	width: 280px;
	float: left;
	color: #FFF;
	background: #516A78;
}

#sidebar h2 {
	margin: 0 -40px 0;
	padding: 15px 40px;
	color: #FFF;
	text-shadow: 0 1px 0 #000;
	text-transform: uppercase;
	font-size: 1.75em;
	line-height: 1em;
	background: #6F8298;
}

#sidebar a {
	padding: 15px 40px 15px 25px;
	color: #FFF;
	font-size: .875em;
	font-weight: bold;
	text-transform: uppercase;
	text-decoration: none;
	background: #6F8298 url(../img/sidebar_go.png) no-repeat 92% 50%;
	-webkit-border-radius: 40px;
	-moz-border-radius: 40px;
	border-radius: 40px;
	display: inline-block;
}

#sidebar a.promo {
	margin: 0 0 0 -40px;
	padding: 0;
	border: 0;
}

#home a.promo {
	margin: 0 -40px;
}

#sidebar h2 a {
	font-size: 1em;
	font-weight: normal;
	padding: 0;
	margin: 0;
	background-image: none;
}

#sidebar h2 a:hover {
	background: none;
}

#sidebar img {
	width: 100%;
	
}

#sidebar a:hover {
	background-color: #7D91A9;
}

#contactus #sidebar a {
	background: none;
	padding: 0;
	text-transform: none;
	color: #CEC9BA;
}

#contactus #sidebar a:hover {
	background: none;
	color: #DFDFD0;
}
	
#organiq #sidebar ul {
	padding-left: 0;
	list-style-type: square;
}

#main {
	float: left;
	width: 510px;
	height: 100%;
	padding: 40px;
	background: #FFF;
}

#main a {
	color: #516A78;
}

#main a:hover {
	color: #6F8298;
	text-decoration: none;
}

#main ul {
	padding: 0 20px;
}

#main li {
	padding: 0 0 0 12px;
	list-style-type: none;
	background: url(../img/bullet.gif) no-repeat 0 .5em;
}

#main ul#dealers, #main ul#dealers ul, ul.contactList {
	margin: 0;
	padding: 0;
}

#home #main img {
	margin: -40px -40px 40px;
}

#home #main .homePromo img {
	margin: 40px -40px -40px;
}

#CaliforniaCounties, #OregonCounties, #states, #categories, #mediCategories {
	margin: 0 -25px 20px;
	padding-left: 20px;
	float: left;
}

#CaliforniaCounties li, #OregonCounties li, #states li, #categories li, #mediCategories li {
	margin: 0 0 .25em .25em;
	float: left;
	background: #516A78;
	color: #FFF;
	list-style-type: none;
	border-radius: 1em;
}

#CaliforniaCounties li a, #OregonCounties li a, #states li a, #categories li a, #mediCategories li a {
	padding: .3em 1em .3em .4em;
	color: #FFF;
	text-decoration: none;
	display: block;
}

#CaliforniaCounties li:hover, #OregonCounties li:hover, #states li:hover, #categories li:hover, #mediCategories li:hover {
	background: #6F8298;
	color: #FFF;
}

#CaliforniaCounties li a:hover, #OregonCounties li a:hover, #states li a:hover, #categories li a:hover, #mediCategories li a:hover {
	color: #FFF;
}

#CaliforniaCounties :last-child, #OregonCounties :last-child, #states :last-child, #categories :last-child, #mediCategories :last-child {
	border: none;
}

#states, #dealers, #categories, #mediCategories {
	clear: left;
}

#dealers li ul li, #dealers li {
	margin: 0;
	padding: 0 30px 0 0;
	width: auto;
	min-width: 240px;
	height: 100px;
	float: left;
	font-size: 1.25em;
	line-height: 125%;
	font-weight: normal;
	display: table-cell;
	border: none;
	box-shadow: none;
	letter-spacing: normal;
	color: #000;
}

#dealers li ul :last-child {
	margin-right: 0;
}

#dealers ul li a {
	font-weight: bold;
	text-decoration: none;
}

#dealers li, #main ul.contactList li {
	margin: 0 10px 10px 0;
	padding: 0 10px 10px;
	width: auto;
	height: auto;
	background: #DFDFD0;
	color: #575748;
	font-size: .75em;
	line-height: 2.75em;
	text-transform: uppercase;
    overflow: auto;
    display: table;
    box-shadow: 0 0 5px #DFDFD0;
    letter-spacing: 1px;
}

.regionName {
	padding-top: .25em;
	font-weight: bold;
	font-size: 3em;
	line-height: .9em;
	letter-spacing: -1px;
	display: inline-block;
}

#main ul.contactList li {
	float: left;
	line-height: 1.25em;
	padding: 10px;
	text-transform: none;
	font-size: 1em;
	letter-spacing: normal;
}

#main ul.contactList {
	margin: 0 -40px 40px -20px;
}

#main ul.contactList li {
	width: 210px;
}

#main ul.contactList li:hover {
	background: #CEC9BA;
}

#slideshow {
    position:relative;
    height:390px;
    width: 960px;
}

#slideshow > div {
	position:absolute;
    top:0;
    left:0;
    height:390px;
    width: 960px;
    z-index:8;
}

#sidebar #slideshow, #sidebar #slideshow > div {
	width: 320px;
	height: 183px;
	padding: 0;
}

#slideshow div.active {
    z-index:10;
}

#slideshow div.last-active {
    z-index:9;
}

#slideshow .wmain {	
	background: url(../img/header_wmain.jpg) no-repeat 0 0;
}

#slideshow .sgt {	
	background: url(../img/header_sgt.jpg) no-repeat 0 0;
}

#slideshow .sgt2 {	
	background: url(../img/header_sgt2.jpg) no-repeat 0 0;
}


#slideshow .tegner {	
	background: url(../img/header_tegner.jpg) no-repeat 0 0;
}

#slideshow .organic {	
	background: url(../img/header_organiq.jpg) no-repeat 0 0;
}

#slideshow .turlockcomm {
	background: url(../img/header_turlockcomm.jpg) no-repeat 0 0;
}

#slideshow .traver {
	background: url(../img/header_traver.jpg) no-repeat 0 0;
}

.locInfo {
	padding: 15px 30px;
	width: 140px;
	background: url(../img/go_home.png) no-repeat 100% 50% #333; /* The Fallback */
	background: url(../img/go_home.png) no-repeat 100% 50%  rgba(0, 0, 0, 0.8); 
	color: #FFF;
	font-family: 'LeagueGothicRegular';
	font-weight: normal;
	text-transform: uppercase;
	position: absolute;
	bottom: 0;
	font-size: 1.25em;
	line-height: 1em;
}

.locInfo h1, .locInfo p {
	margin: 0;
	color: #FFF;
}

.locInfo a {
	color: #FFF;
	text-decoration: none;
}

.locInfo:hover {
	background: url(../img/go_homeOV.png) no-repeat 100% 50% #555; /* The Fallback */
	background: url(../img/go_homeOV.png) no-repeat 100% 50%  rgba(0, 0, 0, 0.7);
}

#mobileImg img {
	display: none;
}

#products #main {
	padding-bottom: 0;
}

#dealersPage #main, #sdsPage #main {
	width: auto;
}

#organiq #main {
	padding-top: 0;
	padding-bottom: 0;
}

footer {
	padding: 20px 40px;
	clear: left;
	color: #79796A;
	background: #333325;
	font-size: .875em;
}

footer a {
	color: #8A8A7B;
	text-decoration: none;
}

footer a:hover {
	color: #9B9B8C;
	text-decoration: underline;
}

footer div {
	margin-right: 20px;
	display: inline-block;
}

.supp {
	margin: 0 0 5px 20px;
	padding: 20px 20px 12px;
	width: 220px;
	background: #DFDFD0;
	color: #575746;
	float: right;
	font-size: .675em;
	font-style: italic;
	box-shadow: 0 5px 15px #DFDFD0;
}

.supp img {
	margin: 0 0 8px;
	width: 100%;
	height: auto;
	border: 1px solid #BDBDAE;
}



/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Image replacement
 */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    /* IE 6/7 fallback */
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

.hidden {
    display: none !important;
    visibility: hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screenreaders, but maintain layout
 */

.invisible {
    visibility: hidden;
}

.biggie {
	margin: 0;
	font-size: 3em;
	font-weight: 100;
	line-height: 1em;
}

label.error { 
	display: block;
	color: red;                              
	font-size: 11px; 
	font-weight: bold;
}

/*-------------------------------------
FORM CORE
------------------------------------------*/

form#contact input[type="text"], input[type="url"], 
input[type="email"], input[type="tel"], textarea {
	margin: 3px 0 0 0;
	padding: 6px; 
	width: 260px; 
	font-family: arial, sans-serif;
	border: 1px solid #ccc;
    background: -webkit-gradient(linear, left top, left 15, from(#FFFFFF), color-stop(4%, #f4f4f4), to(#FFFFFF));
    background: -moz-linear-gradient(top, #FFFFFF, #f4f4f4 1px, #FFFFFF 15px);
}

form#contact textarea {
	width: 275px; 
	height: 150px;
}

form#contact label {
	display: block;
	color: #666;
	margin-top: 10px;
	font-weight: bold;
}

form#contact label.error { 
	width: 270px;
	margin: 3px 0 0 0;
	display: block;
	color: #cf0101;                              
	font-size: 11px; 
	text-align: right;
}

form#contact .placeholder {
	color: #aaa;
}

form#contact .button {
	margin: 15px 0 0;
	padding: 15px 20px;
	display: block;
	background: #6F8298;
	border: none;
	color: #fff;
	-webkit-border-radius: 40px;
	-moz-border-radius: 40px;
	border-radius: 40px;
}

form#contact .button:hover {
	background: #516A78;
	cursor: pointer;
}

.buttonish {
	padding: 15px 25px;
	color: #575746 !important;
	font-weight: bold;
	text-decoration: none;
	background: #DFDFD0;
	-webkit-border-radius: 40px;
	-moz-border-radius: 40px;
	border-radius: 40px;
	display: inline-block;
	border-top: 1px solid #FFF;
}

.buttonish:hover {
	border-top: 1px solid #BDBDAE;
	background: #CECEBF;
}

.benefits {
	padding: 0.1em 1em 0.5em;
	font-size: .875em;
	background: #CECEBF;
}

.description {
	margin-top: 0;
	font-size: .75em;
	text-transform: uppercase;
	letter-spacing: .2em;
}

.productLineup {
	margin: 0 -40px;
	padding: 15px 40px 25px;
}

#products #main h3 {
	margin: 0;
	font-size: 1.5em;
	font-weight: normal;
}

#products #main h4 {
	font-size: 1.5em;
	font-weight: normal;
	margin: .5em 0;
}

#productsEquus {
	background: #CECEBF url(../img/products_equus.jpg) no-repeat 100% 100%;
}

#productsEquus h2 {
	width: 150px;
	height: 72px;
	overflow: hidden;
	display: block;
	text-indent: -3000px;
	background: url(../img/logo_equus.png) no-repeat 0 0;
}

#productsShowrite {
	background: #EED9FF url(../img/products_showrite.jpg) no-repeat 100% 100%;
}

#productsShowrite a {
	text-decoration: none;
}

#productsShowrite h2 {
	width: 180px;
	height: 59px;
	overflow: hidden;
	display: block;
	text-indent: -3000px;
	background: url(../img/logo_showrite.png) no-repeat 0 0;
}

#productsShowrite a.buttonish {
	background: #7738c3;
	color: #FFF !important;
	border-top: 1px solid #8954f5;
}

#productsShowrite a.buttonish:hover {
	background: #642EAA;
	border-top: 1px solid #5A2A96;
}

#productsShowrite .benefits {
	color: #FFF;
	background: #7738c3;
}

#productsShowrite h3 {
	color: #531998;
}

#productsShowrite h3:hover {
	color: #7738c3;
}

#productsShowrite h4 a {
	padding: 0.5em 1em;
	background: #D6257E;
	color: #FFF;
	text-shadow: 0 1px 0 #000;
}

#productsShowrite h4 a:hover {
	color: #FFF;
	background: #AE005D;
}

#productsShowmaker {
	color: #FFF;
	background: #402000 url(../img/products_showmaker.jpg) no-repeat 100% 100%;
}

#productsShowmaker h2 {
	margin-bottom: -15px;
	width: 235px;
	height: 65px;
	overflow: hidden;
	display: block;
	text-indent: -3000px;
	background: url(../img/logo_showmaker.png) no-repeat 0 0;
}

#productsOrganiq {
	padding-bottom: 260px;
	background: #BDBDAE url(../img/products_organiq.jpg) no-repeat 100% 100%;
}

#productsOrganiq h2 {
	width: 180px;
	height: 59px;
	overflow: hidden;
	display: block;
	text-indent: -3000px;
	background: url(../img/logo_organiq.png) no-repeat 0 0;
}

#productsOrganiq a.buttonish {
	background: #5E813D;
	color: #FFF !important;
	border-top: 1px solid #75A14D;
}

#productsOrganiq a.buttonish:hover {
	background: #48652D;
	border-top: 1px solid #364A32;
}

#productsMeatmaker {
	color: #FFF;
	background: #1C3A76 url(../img/products_meatmaker.jpg) no-repeat 100% 100%;
}

#productsMeatmaker h2 {
	width: 220px;
	height: 56px;
	overflow: hidden;
	display: block;
	text-indent: -3000px;
	background: url(../img/logo_meatmaker.png) no-repeat 0 0;
}

#productsMeatmaker h3 {
	color: #FFF;
	text-shadow: 0 1px 0 #183059;
}

#productsMeatmaker h3 span {
	color: #ADC6EB;
}

#productsMeatmaker a, #productsAFS a {
	text-decoration: none;
}

#productsAFS h2 {
	width: 220px;
	height: 51px;
	overflow: hidden;
	display: block;
	text-indent: -3000px;
	background: url(../img/logo_afs.png) no-repeat 0 0;	
}

#productsAFS h3 {
	color: #575748;
	text-shadow: 0 1px 0 #FFF;
}

#productsAFS h3:hover {
	color: #333325;
}

#productsAFS h4 a {
	padding: 0.5em 1em;
	background: #575748;
	color: #FFF;
	text-shadow: 0 1px 0 #000;
}

#productsAFS h4 a:hover {
	color: #FFF;
	background: #333325;
}

#productsZbong {
	background: #000 url(../img/products_zbong.jpg) no-repeat 100% 100%;
}

#productsZbong h2 {
	width: 200px;
	height: 45px;
	overflow: hidden;
	display: block;
	text-indent: -3000px;
	background: url(../img/logo_zbong.png) no-repeat 0 0;	
}

#productsZbong a, #productsZbong a h3 {
	color: #FFF;
	text-decoration: none;
}

#productsZbong h3:hover {
	color: #FFDFBE;
}

#productsSwanson {
	background: #B4ABA4 url(../img/products_swanson.jpg) no-repeat 100% 100%;
}

#productsSwanson h2 {
	width: 213px;
	height: 38px;
	overflow: hidden;
	display: block;
	text-indent: -3000px;
	background: url(../img/logo_swanson.png) no-repeat 0 0;	
}

#productsSwanson a {
	text-decoration: none;
}

#productsSwanson h3 {
	color: #7D2322;
	text-shadow: 0 1px 0 #CDC0B6;
}

#productsSwanson h3:hover {
	color: #AC3D37;
}
	
#company #main, #contactus #main, #employment #main {
	padding-bottom: 350px;
	background-image: url(../img/wmain.jpg);
	background-repeat:no-repeat;
	background-size: contain;
	background-position: center bottom;
}

#contactus #main {
	background-image: url(../img/sgt2.jpg);
}

#employment #main {
}

#bulkSalesMap {
	margin-bottom: 30px;
}

.accordion h1 {
	margin-bottom: 30px;
}

.accordion h2 a {
	color: #575746 !important;
	text-decoration: none;
	text-shadow: 0 1px 0 #FFF;
	display: block;
}

.accordion h2 {
	margin: 0 -40px;
	padding: 15px 40px 10px;
	border-top: 1px solid #D0C6B7;
}

.accordion h2:hover {
	background: #DFDFD0;
}

.analysis {
	margin: 0 0 18px;
	color: #2c211b;
	font-size: .75em;
}

.analysis tr td, .analysis tr th {
	padding: 6px 12px;
	border-bottom: 1px solid #C96;
	text-align: left;
}

.analysis tr th {
	color: #C96;
	text-transform: uppercase;
	background: #2c211b;
}

.analysis tr {
	background: #d6b390;
}

.analysis tr:nth-child(odd) {
	background: #e0c5aa;
}

.analysis tr td:nth-child(even), .analysis tr th:nth-child(even) {
	text-align: right;
}

.feeding tr td:nth-child(even) {
	text-align: left;
}

.column {
	margin: 0 0 30px;
	float: left;
	width: 240px;
}

.left {
	margin-right: 30px;
}

.column h2 {
	margin: 0;
}

.column img {
	width: 100%;
	height: auto;
	box-sizing: border-box;
}

.homePromo img {
	max-width: 590px;
	box-sizing: border-box;
}

.white-popup {
  position: relative;
  background: #FFF;
  padding: 20px;
  width: auto;
  max-width: 500px;
  margin: 20px auto;
}

.white-popup h4 {
	margin: 0;
	font-size: 2em;
	color: #000;
	line-height: 1em;
}

.white-popup address h4 {
	font-size: 3em;
}

.white-popup .analysis, #sdsPage .analysis {
	width: 100% !important;
}

.white-popup .analysis tr th, #sdsPage .analysis tr th {
	color: #FFF;
	background: #000;
}

.white-popup .analysis tr td, .white-popup .analysis tr th, #sdsPage .analysis tr td, #sdsPage .analysis tr th {
	border-color: #000;
}

.white-popup .analysis tr, #sdsPage .analysis tr {
	background: #EEE;
}

.white-popup .analysis tr:nth-child(odd), #sdsPage .analysis tr:nth-child(odd) {
	background: #DDD;
}

.white-popup ul {
	margin-bottom: 18px;
}

.white-popup a {
	color: #516A78;
}

.white-popup img {
	margin: 0 20px 0 0;
	padding: 15px;
	background: #DFDFD0;
	float: left;
}

.white-popup .buttonish {
	position: absolute;
	left: 15px;
	top: -15px;
	padding: 5px 15px;
}

.legend {
	margin: 0 0 -80px;
	padding: 18px 20px;
	width: 140px;
	background: #EEE;
	background: rgba(0,0,0, 0.1);
	position: relative;
	top: 110px;
	left: 240px;
	border-radius: 25px;
}

/*
 * cf: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `cf` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.cf:before,
.cf:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.cf:after {
    clear: both;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.cf {
    *zoom: 1;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   Theses examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
	
}

@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links for images, or javascript/internal links
     */

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}


@media all and (max-width: 900px) {
	#page {
		margin: 0;
		width: 100%;
		background-image: none;
	}
	
	#logo {
		margin: 15px auto;
		width: 300px;
		height: 70px;
		display: block;
	}
	
	#home #logo {
		display: block;
	}
	
	#slideshow {
		display: none;
	}
	
	#nav {
		font-size: 1.5em;
	}
	
	#nav li a {
		padding: 10px 15px;
	}
	
	#main img {
		margin: 0 0 40px !important;
		width: 100%;
		height: auto;
		box-sizing: border-box;
	}
	
	#main a.homePromo {
		display: block;
		margin: 40px -40px -40px;
	}
	
	#main .homePromo img {
		max-width: none;
		margin: 0 !important;
	}
	
	#mobileImg img {
		display: block;
		width: 100%;
		height: auto;
		box-sizing: border-box;
	}
	
	#sidebar {
		padding: 0;
		width: 100%;
		float: none;
	}
	
	#sidebar p, #sidebar h2 {
		margin: 0;
		padding-left: 40px;
		padding-right: 40px;
	}
	
	#sidebar p {
		margin-top: 20px;
		margin-bottom: 20px;
	}
	
	#sidebar a.promo {
		margin: 0;
	}
	
	.column {
		width: 350px;
	}
	
	.column p {
		margin: -20px 0 20px;
	}
	
	#organiq #sidebar ul {
		padding-left: 60px;
	}
	
	#main {
		float: none;
		width: auto;
	}
	
	#company #main {
		padding-bottom: 60%;
	}
	
	#organiq .productLineup {
		padding-bottom: 300px;
	}
	
	#productsZbong, #productsSwanson {
		padding-bottom: 300px;
	}
	
	.btn {
		margin: 0 20px 20px;
	}
	#main .supp img {
		margin: 0 0 8px !important;
	}
	
	#dealers li ul li {
		width: auto;
	}
	
	.white-popup img {
		margin-left:-15px;
		width: 100%;
		height: auto;
	}
}

@media all and (max-width: 479px) {
	.biggie {
		font-size: 2.5em;
	}
	
	.legend {
		margin: 10px 0 15px;
		width: auto;
		top: 0;
		left: 0;
	}
	.column {
		padding: 0;
		width: 100%;
		float: none;
	}
	.supp {
		margin: 0 -40px;
		width: auto;
		float: none;
		box-shadow: none;
	}
}