html {
    height: 100%;
}

body {
	color: #000;
}

label {
	font-weight: normal;
}



/*hide the sort by date on search pages*/
.sortDate, .sort-date {
	display: none;
}

label input[type="checkbox"] {
	position: relative;
	top: -3px;
}

.label {
	color: #000;
}

.formatted h1, .formatted h2, .formatted h3, .formatted h4, .formatted h5, .formatted h6 {
	color: #59523A;
}

a {
	color: #b56f17;
}
a:hover, a:active, a:focus, .item-title a:hover, a.hovered, .more:hover {
	color: #756f32;
	text-decoration: none;
}
a.more {
	margin-top: 20px;
	color: #82763A;
}
a.more .disclose {
	margin-top: -5px;
}

h1.page-logo {
	max-width: 100%;
	height: auto;
}

/*SHADOW COLORS*/
.content-box{
	box-shadow: 0 4px 14px rgba(166, 138, 101, 0.25);
}
.content-box.alt{ 
	box-shadow: 0 4px 14px rgba(166, 138, 101, 0.25);
}
.page-container {
	position: relative;
	box-shadow: 0 0 70px rgba(166, 138, 101, 0.25);
	box-sizing: border-box;
	padding-bottom: 131px; /*height of the footer*/
	overflow: hidden;
}
.page-footer {
	position: absolute;
	bottom: 0;
	width: 100%;
}

.hover-box.hovered {
  background: #fff;
}

.subtitle {
	color: #5d5038;
}

.home-actions {
	background: #5c5036;
	background: -moz-linear-gradient(top,  #5c5036 0%, #5d5646 100%);
	background: -webkit-linear-gradient(top,  #5c5036 0%,#5d5646 100%);
	background: linear-gradient(to bottom,  #5c5036 0%,#5d5646 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#5c5036', endColorstr='#5d5646',GradientType=0 );
}
.select-container, .select-container select, .button {
	background: #7d6e28;
}
.select-container:hover, .select-container:hover > select, .button:hover, .button:active, 
.supplier-search-nav a.button:active, .supplier-search-nav a.button:hover .disclose.light
,.supplier-search-nav a.button:hover .disclose.light:before {
	background: #B6AF88;
	border: none;
	box-shadow: none;
}

.disclose, a.disclose:before , a.disclose:after, .csstransforms .disclose:before {
	border-color: #756f32;
	color: #756f32;
}
.disclose:hover, a:hover .disclose, .hovered .disclose {
	border-color: #756f32;
	background-color: #756f32;
}

/*HEADER AND FOOTER BORDERS*/
.rd-page-header:before, .page-footer:before  {
  background: rgba(92, 80, 54, 0.3);
}

@media all and (min-width: 960px) {
  	body {
  		height: 100%;
  		margin: 0;
		background: rgb(170,150,120);
		background-image: -moz-linear-gradient(top,  rgba(170,150,120,1) 0%, rgba(255,255,255,1) 100%);
		background-image: -ms-linear-gradient(top,  rgba(170,150,120,1) 0%, rgba(255,255,255,1) 100%);
		background-image: -webkit-linear-gradient(top,  rgba(170,150,120,1) 0%,rgba(255,255,255,1) 100%);
		background-image: linear-gradient(to bottom,  rgba(170,150,120,1) 0%,rgba(255,255,255,1) 100%);
		background-repeat: no-repeat;
		background-attachment: fixed;
	}
	/* center non-wrapped titles*/
	.page-nav > ul > li:nth-child(1) a,
	.page-nav > ul > li:nth-child(4) a,
	.page-nav > ul > li:nth-child(5) a,
	.page-nav > ul > li:nth-child(6) a
	{ 
		margin-top: 11px;
	}
}


@media all and (min-width: 720px) {
	.page-nav {
		border-color: #cbc3b8;
		margin-bottom: 25px;
	}
	.page-nav > ul {
		padding: 0;
	}
	.page-nav > ul.list-large {
		margin-right: -1px;
	}
	.page-nav > ul > li {
		position: relative;
		width: 14.28%;
		height: 70px;
	}
	.page-nav > ul > li:hover > a {
	    background: transparent;
	    box-shadow: none;

	}
	.page-nav > ul > li:hover {
		border: 0px solid transparent;
	}
	.page-nav > ul > li {
		background-repeat: no-repeat;
  		transition: background .15s ease;
  		background-position: left -5px;
	}

	/* center non-wrapped titles*/
	.page-nav > ul > li:nth-child(1) a,
	.page-nav > ul > li:nth-child(6) a
	{ 
		margin-top: 11px;
	}

	/*page nav colors TODO*/
	/* Blue */
	.page-nav > ul > li:nth-child(1) { 
		background: -moz-linear-gradient(top,  #fff 0%, #fff 50%, #405867 50%, #96a3ac 100%);
		background: -webkit-linear-gradient(top,  #fff 0%,#fff 50%,#405867 50%,#96a3ac 100%);
		background: linear-gradient(to bottom,  #fff 0%,#fff 50%,#405867 50%,#96a3ac 100%);
		background-size: 100% 200%;
		background-position: left -6px;
	}
	.page-nav > ul > li:nth-child(1):hover, .page-nav > ul > li:nth-child(1).current { 
		background: -moz-linear-gradient(top,  #fff 0%, #fff 50%, #96a3ac 50%, #405867 100%);
		background: -webkit-linear-gradient(top,  #fff 0%,#fff 50%,#96a3ac 50%,#405867 100%);
		background: linear-gradient(to bottom,  #fff 0%,#fff 50%,#96a3ac 50%,#405867 100%);
		background-size: 100% 200%;
		background-position: left bottom;
	}
	/* GOLD */
	.page-nav > ul > li:nth-child(2) { 
		background: -moz-linear-gradient(top,  #fff 0%, #fff 50%, #f4cd80 50%, #b56f17 100%);
		background: -webkit-linear-gradient(top,  #fff 0%,#fff 50%,#f4cd80 50%,#b56f17 100%);
		background: linear-gradient(to bottom,  #fff 0%,#fff 50%,#f4cd80 50%,#b56f17 100%);
		background-size: 100% 200%;
		background-position: left -6px;
	}
	/* DARK BROWN */
	.page-nav > ul > li:nth-child(3) {
		background: -moz-linear-gradient(top,  #fff 0%, #fff 50%, #5c5036 50%, #3c3421 100%);
		background: -webkit-linear-gradient(top,  #fff 0%,#fff 50%,#5c5036 50%,#3c3421 100%);
		background: linear-gradient(to bottom,  #fff 0%,#fff 50%,#5c5036 50%,#3c3421 100%);
		background-size: 100% 200%;
		background-position: left -6px;
	}
	/* DARK RED */
	.page-nav > ul > li:nth-child(4) { 
		background: -moz-linear-gradient(top,  #fff 0%, #fff 50%, #b53417 50%, #772717 100%);
		background: -webkit-linear-gradient(top,  #fff 0%,#fff 50%,#b53417 50%,#772717 100%);
		background: linear-gradient(to bottom,  #fff 0%,#fff 50%,#b53417 50%,#772717 100%);
		background-size: 100% 200%;
		background-position: left -6px;
	}
	/* LIGHT BROWN */
	.page-nav > ul > li:nth-child(5) {
		background: -moz-linear-gradient(top,  #fff 0%, #fff 50%, #7b6f27 50%, #433d1b 100%);
		background: -webkit-linear-gradient(top,  #fff 0%,#fff 50%,#7b6f27 50%,#433d1b 100%);
		background: linear-gradient(to bottom,  #fff 0%,#fff 50%,#7b6f27 50%,#433d1b 100%);
		background-size: 100% 200%;
		background-position: left -6px;
	}
	/* TAN */
	.page-nav > ul > li:nth-child(6) {
		/*width: 16.75%;*/
		background: -moz-linear-gradient(top,  #fff 0%, #fff 50%, #b09b7e 50%, #b09b7e 100%);
		background: -webkit-linear-gradient(top,  #fff 0%,#fff 50%,#b09b7e 50%,#b09b7e 100%);
		background: linear-gradient(to bottom,  #fff 0%,#fff 50%,#b09b7e 50%,#b09b7e 100%);
		background-size: 100% 200%;
		background-position: left -6px;
	}

	/* DARK RED */
	.page-nav > ul > li:nth-child(7) { 
		background: -moz-linear-gradient(top,  #fff 0%, #fff 50%, #b53417 50%, #772717 100%);
		background: -webkit-linear-gradient(top,  #fff 0%,#fff 50%,#b53417 50%,#772717 100%);
		background: linear-gradient(to bottom,  #fff 0%,#fff 50%,#b53417 50%,#772717 100%);
		background-size: 100% 200%;
		background-position: left -6px;
	}
	/*BUTTON HOVER STATE*/
	.page-nav > ul > li:hover, .page-nav > ul > li.current {
		background-position: left bottom;
	}
	/*CURRENT STATE OVERRRIDES*/
	.page-nav > ul > li.current > a {
		border-top: 0;
		font-weight: normal;
		color: #fff;
	}
	.page-nav > ul > li.current:before {
		display: none;
	}

	.page-nav > ul > li:hover > a {color: #fff;}
	.page-nav > ul > li > a {color: #574e37;}

	.home-actions, .slideshow, .hero-image {
		position: relative;
    	/*left: -30px;
    	right: -30px;*/
    	width: 1025px;
	}

	/*pagination*/
	span.pagerPage, a.pagerPage:hover {
		border-color: #EBE6DF;
		background: #EBE6DF;
		color: #9A805C;
	}
	a.pagerPage {
		color: #82763A;
	}
}

.generic-slideshow .tabs-nav {
	bottom: 20px;
}
.generic-slideshow .tab, .item-slider-dot {
  width: 10px;
  height: 10px;
  margin: 0 3px;
  background: rgba(255,255,255,.2);
  border-color: rgba(255,255,255,.2);
  border: none;
}
.generic-slideshow .tab.active, .item-slider-dot.current {
  background: #fff;
}
.generic-slideshow .tabs-prev, .item-slider-prev {
	left: 20px;
}
.generic-slideshow .tabs-next, .item-slider-next {
	right: 20px;
}
.page-nav > ul > li.current:before, .page-subnav .current > a {
	background: #EBE6DF;
	color: #8F805C;
	font-weight: bold;
}

.page-footer {
	background-color: #5c5036;
	background-size: auto;
}

/*button styles*/
.page-search-submit {
	background: #7b6f27;
}

/* LIGHT BROWN CONTENT BACKGROUND BOX */
.solid-box {
	background: #EAE6DD;
	padding: 30px 20px 0px 20px;
	margin-bottom: 40px;
}
.solid-box .pagePresentationLayoutColumn {
	margin-bottom: 30px;
}
.bounds-1 {
	background: #EAE6DD;
}

.padded-container {
	padding: 15px;
}

.find-suppliers form, .find-suppliers p, .find-suppliers a {
	display: inline-block;
}
.find-suppliers h2 {
	margin-top: 20px;
}
.home-actions.standalone .find-suppliers {
	padding-bottom: 0;
}

.formatted table {
	border: none;
	border-bottom: 2px solid #BBA78C;
	margin: 10px auto;
}
.formatted table th, .formatted table td {
	border: none;
	padding: 10px 0;
}

.formatted table tr {
	border: none;
	border-top: 1px solid #E1E1E1;
}
.formatted table thead tr, .DGNbluetitlerow {
	background: #EDF1F4;
}

.list-large .dropdown {
	display: none!important;
}

.dairy-event-list .item-title {
	background: #EBE6E0;
	color: #AF4D2F;
	border-bottom: 1px solid #D3D0CA;
	padding: 15px;
	margin: 10px 0;
}
.dairy-event-list .item-title a {
	color: #AF4D2F;
}


/*MEDUIM SCREEN STYLES*/
@media (min-width: 720px) and (max-width: 990px) {
	
	.page-nav > ul {
		display: table;
		width: 100%;
	}
	.page-nav > ul > li {
		display: table-cell;
		/*text-align: center;*/
		vertical-align: middle;
		min-height: 70px;
	}
	.page-logo {
		max-width: 45%!important;
		height: auto;
		margin: 0;
		padding: 0;
	}

}

/* SMALLER SCREEN STYLES */
@media (max-width: 719px) {

	.slideshow, .container-fluid {
		width: 100%;
		/*margin: -2rem -1.3rem 0 -1.3rem!important;*/
		max-width: 100%;
	}


	.mobile-menu-toggle {
		background: #4D422C;
	}

	.page-nav {
		box-shadow: none;
		
	}
	.page-nav, .page-nav .dropdown.group, .page-nav .dropdown.group.active {
		background: #fff;
		border-left: 1px solid #E1E1E1;
	}

	.page-nav li {
		border-bottom: 1px solid #E1E1E1;
	}

	.page-nav a, .page-nav li.current a {
		color: #5A574D;
	}

	.page-nav li.current ul li a {
		background: #fff;
	}

	.page-nav li.current  a, .page-nav li.current ul li.current a {
		background: #EBE6E0;
	}

	.csstransforms .page-nav .drilldown:before, .csstransforms .page-nav .back a:before {
		border-color: #5A574D;;
	}

	.page-footer {
		background-size: 100vw;
    	padding-top: 150px!important;
    	position: relative;
    	margin: 0 -20px;
    	width: 100vw;
	}

	.page-container {
		padding-bottom: 0!important;
	}
}
/* LARGER SCREEN STYLES */
@media (min-width: 720px) {
	.search-refine-toggle {
		display: none;
	}
	.search-refine-items.toggle-target, .search-refine-cats ul.toggle-target {
		display: block;
	}
	.refine-title {
		margin: 2px 0 7px 0;
		font-weight: bold;
	}
	.search-refine-items li {
		margin-bottom: 5px;
		padding-left: 12px;
	}

}
@media all and (min-width: 1020px) {
	.find-suppliers {
		padding-top: 4px;
		height: 60px;
	}
}

.tanrule {
	border-bottom: #d0c3b2 solid 1px;
    margin: 3px 0 20px 0;
    padding: 0;
}

/*fluid container overrides*/
.container-fluid, .container-fluid.row {
	margin: 0!important;
	position: relative;
	width: 100%;
	left: -30px;
}

.container-fluid .pagePresentationLayoutColumn {
	padding: 0;
}

@media all and (max-width: 1020px) {
	.hero-image img, .home-actions {
    	width: 125%!important;
	}

	.home-actions {
		padding-left: 30px;
	}
	.home-actions a {
		padding: 10px 30px 10px 10px;
	}
}
@media all and (max-width: 985px) {
	.home-actions a, .find-suppliers form, .find-suppliers p, .find-suppliers a {
		display: block;
	}
}

.home-actions a.button, .home-actions .button {
	padding: 5px 20px;
	margin-top: 5px;
}