/*
Theme Name: WDA
Theme URI: http://www.westerndairyassociation.org/
Description: Custom WordPress theme for the Western Dairy Association to use as a CMS.
Version: 1.0
Author: Ben Hays
Author URI: http://eighthfloorcreative.com/


.linkset - A div with a floated left image with paragraphs or bullets to the right
.mediaitem - A div for media items
.downloads - A UL with items and images, need to clear images
.whatsnew - A UL with items, headers and images, clear large images, separate with line
ul.links - a list of links with optional paragraphs

*/
body {
	background: #fff url(images/bg_body.png) 0 100px repeat-x;
}
body.home, body.home #header, body.home #headerimg, body.home #content, body.home #sidebar {
	background-image: none;
}
body.home {
	background: #fff url(images/bg_body_rounded.jpg) center -5px no-repeat;
}
body.home .container {
	width: 830px;
}
body.home #header {
	background: url(images/logo_large.png) center 30px no-repeat;
}
body.home #sidebar, body.home #images, body.home #new-features {
	float: left;
	padding-top: 40px; 
}
body.home #sidebar, body.home #new-features {
	width: 214px;
	margin: 0;
}
body.home #sidebar ul {
	margin: 0;
}
body.home #images {
	position: relative;
	width: 402px;
}
a {
	color: #2e3192;
}
a:hover {
	color: #bf1f2e;
}
a:visited {
	color: #2e3192;
}
#pnav {
	left: 130px;
	position: absolute;
	top: 25px;
}
#pnav a {
	background: #ccc;
	display: block;
	float: left;
	height: 10px;
	margin: 0 3px;
	text-indent: -9999px;
	outline: none;
	width: 10px;
}
#pnav a.activeSlide { 
	background: #BF1F2E; 
}
#pnav a:focus { 
	outline: none; 
}
#imagerotate {
	height: 370px;
	overflow: hidden;
	width: 394px;
}
.imagewrap {
	background: url(images/bg_white_trans.png) left top repeat;
	border: 1px solid #999;
	padding: 4px;
	text-align: center;
}
.imagewrap img {
	border: 1px solid #ccc;
	margin-bottom: 5px;
}
#breaking-message {
	background: #fff;
	height: 360px;
	overflow: auto;
	text-align: left;
}
#breaking-message h3 {
	text-align: center;
	padding: 0 10px 5px 10px;
}
#breaking-message p {
	padding: 0 5px;
}
h3.blue {
	border-bottom: 1px solid;
	color: #212485;
	font-weight: bold;
	margin-bottom: 8px;
	padding-bottom: 3px;
	text-align: center;
}
body.home #new-features .item, body.home #sidebar ul {
	background: url(images/bg_white_trans.png) left top repeat;
       line-height:15px;
}
body.home #new-features h3 {
	background: #f8f3ed url(images/bg_nav_red.png) left top repeat-x;
	margin: 0;
	padding: 0;
}
body.home #new-features h3 a {
	background: url(images/bullet_white.png) 10px 50% no-repeat;
	color: #fff;
	display: block;
	font-size: 11px;
	padding: 6px 0 6px 22px;
	text-decoration: none;
	text-transform: uppercase;
}
body.home #new-features p {
	padding: 10px 5px 15px 55px;
	margin-bottom: 0;
}
#resources p {
	background: url(images/bg_new_resource.png) left center no-repeat;
}
#whatsnew p {
	background: url(images/bg_whatsnew.png) left center no-repeat;
}
#featured-recipe p {
	background: url(images/bg_featured_recipe.png) left center no-repeat;
}
#dairy-family p {
	background: url(images/bg_dairy_family.png) left center no-repeat;
}
#edusection {
	clear: left;
	padding: 17px 50px 5px 50px;
	text-align: center;
}
#edusection h3, #edusection p {
	display: inline;
}
#edusection h3 {
	margin-right: 10px;
	text-transform: uppercase;
}
#moocow {
	background: url(images/bg_cow.png) 75px top no-repeat;
	float: left;
	height: 85px;
	width: 200px;
}
#homewrap {
	background: url(images/bg_education_section_top.png) left bottom repeat-x;
}
#wrap {
	background: #fff url(images/bg_footer.png) left top repeat-x;
}
.container {
	position: relative;
}
#header {
	background: url(images/headers/contact-us.jpg) right top no-repeat;
	height: 100px;
}
#headerimg {
	background: url(images/logo_small.png) 30px top no-repeat;
}
body.page-id-3 #headerimg, 
body.page-id-5 #headerimg, 
body.parent-pageid-3 #headerimg,
body.parent-pageid-5 #headerimg {
	background: url(images/logo_small_dc.png) 30px top no-repeat;
}
#headerimg h1 {
	text-indent: -9999px;
}
#headerimg h1 a {
	display: block;
	height: 100px;
	width: 230px;
}
#header h2 {
	color: #fff;
	font-size: 30px;
	font-weight: bold;
	line-height: 30px;
	margin: 0;
	position: absolute;
	text-align: right;
	text-transform: uppercase;
	right: 30px;
	top: 97px;
	width: 750px;
}
#nav {
	background: url(images/bg_body.png) 0 -26px repeat-x;
	margin-bottom: 2px;
	margin-top: 27px;
	padding-left: 170px;
}
#nav ul {
	list-style: none;
}
#nav ul li {
	float: left;
}
#nav ul li a {
	border-right: 1px solid #2e3192;
	color: #2e3192;
	display: block;
	margin-top: 1px;
	padding: 0 5px;
	text-decoration: none;
}
#nav ul li:last-child a {
	border: 0;
}
#nav ul li a:hover {
	color: #bf1f2e;
	text-decoration: underline;
}
#content {
	background: url(images/bg_content.png) 13px top repeat-y;
	clear: both;
}
#sidebar {
	background: url(images/bg_sidebar_top.png) center top no-repeat;
	float: left;
	overflow: hidden;
	padding-top: 20px;
	width: 230px;
}
#sidebar ul, #sidebar #search_form, #sidebar h3.title {
	list-style: none;
	margin-left: 25px;
	margin-right: 25px;
}
#sidebar h3.title {
	margin-bottom: .5em;
}
#sidebar #search_form {
	margin-bottom: 1.5em;
}
#sidebar ul li {
	background: #212485 url(images/bg_nav_blue.png) left top repeat-x;
	margin-bottom: 2px;
	
}
#sidebar ul li a, #sidebar li.search span {
	background: url(images/bullet_white.png) 10px 50% no-repeat;
	color: #fff;
	display: block;
	font-size: 11px;
	padding: 3px 0 4px 22px;
	text-decoration: none;
	text-transform: uppercase;
}
#sidebar a:hover, #sidebar li.current_page_item a {
	color: #bf1f2e;
}
#sidebar ul li.newsletter {
	background: #f8f3ed url(images/bg_nav_red.png) left top repeat-x;
	margin-bottom: 0;
}
#sidebar ul li.newsletter ul {
	background: url(images/bg_newsletter_top.png) top left repeat-x;
	list-style: none;
	margin: 0;
	margin-top: -4px;
	padding: 10px 22px;
}
#sidebar ul li.newsletter a:hover {
	color: #212485;
}
#sidebar ul li.newsletter ul li, #sidebar ul li.newsletter ul li a {
	color: #000;
	background: none;
	margin: 0;
	padding: 0;
	text-transform: none;
}
#sidebar ul li.shopping a {
	background: url(images/bg_online_catalog.png) 5px 50% no-repeat;
	font-size: 16px;
	font-weight: bold;
	line-height: 32px;
	padding-left: 40px;
	text-align: center;
	text-transform: none;
}
#sidebar ul li.shopping a span {
	color: #bf1e2e;
}
#sidebar li.search ul, #sidebar li.search li {
	background: none;
}

#sidebar #socialhome ul {
	background: none;
	margin-left: 3em;
	margin-top: 1em;
}
#sidebar #socialhome li {
	background: none;
}
#sidebar #socialhome li a {
	background: none;
	display: block;
	float: left;
}
#widgetshoppingcart {
	position: relative;
	width: 160px;
}
#widgetshoppingcart.fixed {
	position: fixed;
	top: 10px;
}
div#widgetshoppingcart {
	background: #212485 url(images/bg_shopping_cart.png) 5px 5px no-repeat !important;
}
#widgetshoppingcart h3 {
	font-weight: 500;
	padding-bottom: 10px;
	padding-left: 32px;
}
#widgetshoppingcart h3 a {
	color: inherit;
	text-decoration: none; 
}
#search_form_home {

}
.post {
	float: left;
	padding: 40px 0 40px 40px;
	width: 680px;
}
.product-results, .page-results {
	float: left;
	margin-right: 20px;
	width: 320px;
}
li.search_product {
	color: #666;
}
.recipe {
	border-bottom: 1px solid #ccc;
	margin-bottom: 1.5em;
}
.recipe h4, .recipe ul, .recipe ol, .recipe p {
	margin-left: 220px;
}
.recipe ul, .recipe ol {
	margin-left: 240px;
}
.recipe p img {
	margin-left: -220px !important;
}
#store {
	list-style: none;
	margin-left: 0;
	overflow: auto;
}
#store li {
	float: left;
	margin: 0 5px;
}
#footer {
	background: #fff url(images/bg_footer.png) top left repeat-x;
	text-align: center;
}
#footer .tagline {
	font-size: 13px;
	padding-top: 5px;
}
#footer ul.social li { 
	border: 0;
	padding: 0;
}
#footer ul.social li img {
	float: none;
	margin: 0 .5em;
}
#footer ul {
	list-style: none;
	margin-bottom: 1em;
}
#footer ul li {
	border-right: 1px solid #999;
	display: inline;
	margin: 0;
	padding: 0 10px;
}
#footer ul li:last-child {
	border: 0;
}
#footer a {
	color: #666;
	text-decoration: none;
}
#footer a:hover {
	color: #000;
	text-decoration: underline;
}
#footer a:visited {
	color: #666;
}
hr.footer {
	height: 0;
	margin: 0;
	padding: 0;
}
.tagline {
	color: #fff;
}
.invalid {
	color: #bf1f2e;
	font-weight: bold;
}
.valid {
	background: #efefef;
	font-weight: bold;
	padding: 5px;
}
hr {
	clear: both;
}
.entry h2 , .post h2 {
	border-bottom: 1px solid #212485;
	clear: both;
	color: #212485;
}
h2.name, h2.prodtitles {
	border: 0;
	font-size: 18px;
	margin-bottom: 5px;
}
h3, .post h3 a, td h4 {
	color: #bf1f2e;
}
h3.alt {
	color: #212485;
}
.post h3 {
	clear: left;
}
td h3 {
	margin-top: 1.5em;
}
li img, img.alignleft, div.alignleft { 
	float: left;
	margin-left: 0 !important;
}
div.alignright {
	float: right;
	margin-right: 0 !important;
}
img.alignright {
	float: right;
	margin-left: 15px;
	margin-bottom: 15px;
	margin-right: 0 !important;
}
img.alignnone {
	float: none;
	margin: .5em 1em;
}

.mediaitem img {
	float: left;
}
}
.mediaitem ul {
	margin-left: 20px;
}
.downloads, .whatsnew {
	list-style: none;
	margin-left: 0;
}
.downloads li, .whatsnew li {
	clear: left;
}
.whatsnew li, .links li, .mediaitem {
	border-bottom: 1px solid #e3e3e3;
	margin-bottom: 1.5em;
	overflow: hidden;
}
.downloads li h3, .whatsnew li h3 {
	clear: none;
}
.buttons li {
	clear: none;
	float: left;
}
.linkset {
	clear: left;
}
.linkset ul, .linkset ol, .linkset p, .linkset h3 {
	margin-left: 160px;
}
.linkset p img {
	margin-left: -160px !important;
}
.linkset p img.aligncenter {
	margin-left: 0 !important;
}
.linkset ul, .linkset ol {
	margin-left: 180px;
}
.linkset h3 {
	clear: none;
}
.linkset ul ul {
	list-style: circle;
	margin-left: 1em;
}
.linkset ul p {
	margin-left: 0;
}
.item p a, #edusection p a {
	color: #000;
	text-decoration: none;
}
.item p a:hover, #edusection p a:hover {
	color: #bf1f2e;
	text-decoration: underline;
}
div.halfbox {
	float: left;
	margin-right: 20px;
	overflow: auto;
	width: 330px;
}
div.last {
	margin-right: 0;
}
.disclaimer {
	border-top: 1px solid #999;
	clear: both; 
	color: #666;
	font-size: 10px;
	padding: 5px 5px 0 5px;
}
#edusection h3 a {
	color: #bf1f2e;
	text-decoration: none;
}
table.wpsc_checkout_table td {
	border-bottom: 1px solid #e3e3e3;
}
table.wpsc_checkout_table td.payment {
	border: 0;
}
table.wpsc_checkout_table td p {
	margin-bottom: 0;
}
table.wpsc_checkout_table td label {
	margin-right: 1.5em;
}
tr.wda_discount td {
	color: #bf1f2e;
}
table.topcart td {
	text-align: center;
}
table.checkout_forms_hidden td {
	padding: 5px;
}
div.custom_gateway {
	margin-bottom: .5em;
}
a.post-edit-link {
	margin-left: 25px;
}
.clear {
	clear: both;
}
hr {
	border: 0;
	margin-bottom: 18px;
}
address {
	font-style: normal;
	font-weight: bold;
}
/* Captions */
.aligncenter, div.aligncenter {
	display: block;
	float: none;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption {
	background-color: #f3f3f3;
	border: 1px solid #ddd;
	margin: 1.5em;
	padding-top: 4px;
	text-align: center;
	-moz-border-radius: 3px;
	-khtml-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
}

.wp-caption img {
	margin: 0;
	padding: 0;
	border: 0 none;
}

.wp-caption p.wp-caption-text {
	font-size: 11px;
	line-height: 17px;
	padding: 0 4px 5px;
	margin: 0;
}
.center {
	display: block;
	text-align: center;
}

/**** FORM SAVE & LOAD ****/
#formActionButtons {
	position: absolute;
	right: 0;
	z-index: 9999;
}
#formActionButtons div {
	display: inline;
	float: left;
	margin-left: 5px;
	margin-bottom: 5px;
}
#formActionButtons a {
	background: #e3e3e3;
	border: 1px solid #ccc;
	color: #000;
	display: block;
	padding: 3px 8px;
	text-decoration: none;
}
#formActionButtons #formSave a {
	background: #FFF6BF;
	border-color: #FFD324;
	color: #514721;
}
#formActionButtons #formLoad a {
	background: #E6EFC2;
	border-color: #C6D880;
	color: #264409;
}
#formActionButtons #formLoaded, 
#formActionButtons #formSaved {
	background-image: url(images/icon_tick.png);
	background-position: 5px center;
	background-repeat: no-repeat;
	padding-left: 25px;
}
#formActionButtons #formNotice {
	clear: both;
}
#formActionButtons #formNotice div {
	background: #FBE3E4;
	border: 1px solid #FBC2C4;
	color: #8a1f11;
	display: none;
	margin-left: 5px;
	padding: 3px 8px;
}

#formActionButtons p {
	clear: both;
	color: #333;
	display: block;
	font-size: 10px;
	margin: 0;
	width: 125px;
}


/**** SHOP FRONTPAGE ****/
#shop {
	list-style: none;
	margin: 0;
}
#shop li {
	float: left;
	margin: 10px !important;
}
#shop li span a {
	display: block;
	height: 150px;
	overflow: hidden;
	text-indent: -9999px;
	width: 200px;
}
#shop li#copy-masters {
	background: url(images/bg_shop_copy_masters.jpg) left -16px no-repeat !important;
}
#shop li#calcium-and-dairy-education {
	background: url(images/bg_shop_calcium-and-dairy.jpg) left -16px no-repeat !important;
}
#shop li#general-nutrition {
	background: url(images/bg_shop_general-nutrition.jpg) left -16px no-repeat !important;
}
#shop li#health-fair-resources {
	background: url(images/bg_shop_health-fair-resources.jpg) left -16px no-repeat !important;
}
#shop li#school-nutrition {
	background: url(images/bg_shop_school-nutrition.jpg) left -16px no-repeat !important;
}
#shop li#spanish {
	background: url(images/bg_shop_spanish.jpg) left -16px no-repeat !important;
}
#shop li#other {
	background: url(images/bg_shop_other.jpg) left -16px no-repeat !important;
	margin-left: 232px !important;
}
/* Add to cart button */
#shopp form .addtocart { 
	background: url(images/atc.gif) no-repeat top left; 
	border: 0; 
	cursor: pointer; /* hand-shaped cursor */ cursor: hand; /* for IE 5.x */
	height: 50px; 
	margin: 3px 0 0;
	overflow: hidden; 
	padding: 0;
	text-indent: -9999px;
	width: 152px; 
}
form>.addtocart { /* For non-IE browsers*/ height: 0px;}
form.product, .download {
	float: left;
}
.productdetails {
	margin-left: 260px;
}
/* Cart Widget */
div#shoppingcartwidget {
	background: #212485 url(images/bg_nav_blue.png) repeat-x left top;
	color: #fff;
	margin: 0 25px 10px;
	padding: 10px;
	position: relative;
	width: 160px;
}
#shoppingcartwidget a {
	color: #fff;
	text-decoration: none;
}
#shoppingcartwidget h3 {
	margin-bottom: 5px;
}
#shoppingcartwidget table {
	font-size: 8pt;
}
#shoppingcartwidget th {
	border-bottom: 1px solid #999;
	font-weight: bold;
}
#shoppingcartwidget td {
	border-bottom: 1px solid #999;
}
#shoppingcartwidget tr.total td {
	border: 0;
	text-align: right;
}
#shoppingcartwidget .cartcontents {
	display: block;
	text-align: left;
}
#shoppingcartwidget p {
	margin-bottom: 5px;
}
p.checkout {
	background: #212485 url(images/bg_nav_red.png) repeat-x left top;
	color: #fff;
	display: block;
}
p.checkout a {
	background: url(images/bullet_white.png) no-repeat 10px 50%;
	display: block;
	margin-top: 5px;
	padding: 1px 0 4px 22px;
	text-decoration: none;
	text-transform: uppercase;
}
#page404 {
	margin-left: 250px;
	height: 300px;
	width: 400px;
}
table h5 {
	margin-bottom: 0;
	padding: 5px 0;
}

/**** FORM ELEMENTS ****/
form.wpcf7-form {
	overflow: auto;
}
form.wpcf7-form fieldset {
	border: 0;
	padding: 0;
}
form.wpcf7-form label {
	display: block;
	float: left;
	width: 180px;
}
form.wpcf7-form label.wide {
	width: auto;
}
form.wpcf7-form input {
	float: left;
	margin: 0;
	margin-left: 20px;
	width: 200px;
}
form.wpcf7-form div.blockate label {
	width: 200px;
}
form.wpcf7-form td label,
form.wpcf7-form td input {
	margin: 0;
	width: auto !important;
}
form.wpcf7-form div.blockate input {
	margin-left: 0;
	width: 190px;
}
form.wpcf7-form span.your-name input,  
form.wpcf7-form span.your-email input,  
form.wpcf7-form span.your-phone input {
	margin-left: 0;
} 

form.wpcf7-form span.wpcf7-radio input,
form.wpcf7-form span.wpcf7-checkbox input {
	float: none;
	width: auto;
}
form.wpcf7-form select {
	margin-left: 40px;
}
form.wpcf7-form textarea {
	height: 120px;
}
form ol {
	list-style: none;
	margin-left: 0;
}
form ol li {
	border-bottom: 1px solid #e3e3e3;
	clear: left;
	overflow: hidden;
	padding: 8px 0;
}
form.wpcf7-form ol li span.wpcf7-list-item {
	display: block;
	margin-left: 200px;
}
.wpsc_product_quantity {
	float: left;
	padding: 1.5em .5em 0 0;
}

/* ERRATA */
div.default_product_display div.textcol { margin-left:106px!important; min-height:96px; _height:96px; }
div.default_product_display div.textcol div.imagecol { position:absolute; top:0; left:0; margin-left:-106px!important; }
div.default_product_display div.textcol div.imagecol a img { width:96px; height:96px; }
div.default_product_display div.item_no_image { width:94px; height:94px; }
div.default_product_display div.item_no_image a { width:94px; }
div.single_product_display div.item_no_image { width:126px; height:126px; }
div.single_product_display div.item_no_image a { width:126px; }
div.single_product_display div.textcol { margin-left:138px!important; min-height:128px; _height:128px; }
div.single_product_display div.textcol div.imagecol { position:absolute; top:0; left:0; margin-left:-138px!important; }
div.single_product_display div.textcol div.imagecol a img { width:128px; height:128px; }
div#categorydisplay { display:block; }
div#branddisplay { display:none; }