/*
Customizations to r3417 theme

Colors:

Logo Green		#84bd00		PMS 376 U
Black			#191919
Brick Red		#a84316
Tan				#e4e6d5
Light Green		#b8da89
VL Green		#e6f1d4
Cream			#f6f6ed
Orange			#ed9536
Light Orange	#f4dab8
Mid Green		#408c49
Dark Green		#005338

*/


/* STANDARD HTML */

body * {
	font-family: adobe-text-pro, Georgia, serif;
}

b, strong { font-weight: 600; }

h1, h2, h3, h4, h5, h6, .button, button, input, select, textarea {
	font-family: gill-sans-nova, sans-serif;
}

.button, button, input[type=submit] { font-weight: 900 !important; }

h1, h2, h3 {
	font-weight: 600 !important;
	line-height: 1.1em;
}

h4, h5, h6 {
	font-weight: 600 !important;
	line-height: 1.2em;
}

h1 span, h2 span, h3 span, h4 span, h5 span, h6 span {
	color: inherit !important;
	font: inherit !important;
}


/* CUSTOM CSS CLASSES */

.csa-directory-filters {
	margin: 1.5rem 0 3rem 0;
}

.csa-directory-results { }

	.csa-directory-results article {
		margin: 0 0 3rem 0;
	}

.entry-meta, .podcast_meta, .entry-meta *, .podcast_meta * {
	color: rgba(0,0,0,0.7);
	font-family: gill-sans-nova, sans-serif !important;
	font-size: 0.8rem;
	font-weight: 400;
	line-height: 1.5em;
}
.entry-meta, .podcast_meta {
	padding: 0.25em 0;
}

.farmland-clearinghouse-filters {
	margin: 1.5rem 0 3rem 0;
}

.podcast_player {
	margin: 0.5rem 0 !important;
}
	
.podcast_meta > aside > p > * { display: inline-block; }

.tiles .tile .description .entry-meta:first-child { margin-top: 0 !important; }

.shop_table .product-thumbnail img {
	height: auto !important;
	width: 90px !important;
}

.rm34-woocommerce-header {
	position: relative;
	z-index: 3 !important;
}

	.rm34-woocommerce-header > * {
		display: inline-block;
		margin: 0 1em 0 0;
		padding: 0;
		text-align: left;
		vertical-align: top;
	}

	.rm34-woocommerce-header + * {
		padding-top: 0;
	}

		.rm34-woocommerce-header svg path {
			fill: #3c725a;
		}
		.rm34-woocommerce-header a:hover svg path {
			fill: #8cc63f;
		}

		.rm34-woocommerce-header select {
			max-width: calc(100% - 200px) !important;
			min-width: 100px !important;
		}
	
		.rm34-woocommerce-cart-link { height: 44px; margin: 0; position: absolute; top: 2.5rem; right: 7.5%; width: 44px; }
		.rm34-woocommerce-cart-link a { display: block; height: 100%; width: 100%; text-decoration: none; }
		.rm34-woocommerce-cart-link a .cart_icon, .rm34-woocommerce-cart-link a .cart_icon svg
		{ display: block; height: 100%; width: 100%; }

		.rm34-woocommerce-cart-link a .cart_count {
			color: white !important;
			display: inline-block;
			font-size: 12px;
			font-weight: bold;
			position: absolute; top: 40%; left: 60%;
			transform: translate(-50%, -50%);
		}
	
		.rm34-woocommerce-hover-bubble {
			background: #ffffff;
			border: 2px solid #f1973f;
			border-radius: 0.5em;
			display: block;
			font-size: 85%;
			line-height: 1.3em;
			opacity: 0;
			padding: 0.75em;
			position: absolute; top: calc(100% + 32px); right: -2px; bottom: auto; left: auto;
			white-space: nowrap;
			transition: all 0.3s ease;
		}

			.rm34-woocommerce-hover-bubble-wedge {
				border-bottom: 10px solid #f1973f;
				border-left: 10px solid transparent;
				border-right: 10px solid transparent;
				height: 0;
				position: absolute; top: -10px; right: 10px; bottom: auto; left: auto;
				width: 0; 
			}

		*:hover > .rm34-woocommerce-hover-bubble {
			opacity: 1;
			top: calc(100% + 12px);
		}


/* DOM ELEMENTS */

#header {
	box-shadow: 0 1px 1px rgba(0,0,0,0.15), 0 3px 12px rgba(0,0,0,0.1);
}

#header * {
	font-family: gill-sans-nova, 'Arial Narrow', sans-serif;
	font-weight: 400 !important;
}

#header:not(.menu_align_below) .menu > li:last-of-type:hover > ul {
	text-align: left;
}

#header .search input[type=text] {
	background: rgba(0,0,0,0.1);
	border: none !important;
	border-radius: 0;
	font-weight: normal !important;
	outline: 1px solid #b8da89;
}
#header .search input[type=text]::placeholder {
	color: #ffffff;
}

#header .search .search_fields_wrapper .svg_wrapper:hover {
	background-color: transparent !important;
}

#header .search_open .search { margin-top: 1px; }

#page a { font-weight: 600; }

#page a[href^='tel:'], #page a[href^='tel:']:hover {
	color: inherit !important;
	font-weight: inherit !important;
	text-decoration: none !important;
}

#modular_sidebar * {
	/*font-family: franklin-gothic-urw, sans-serif;*/
	font-family: gill-sans-nova, sans-serif;
}

#modular_sidebar > .widget:not(:first-child) {
	margin-top: 1.5rem;
}

#modular_sidebar h2, #modular_sidebar h3, #modular_sidebar h4 {
	color: #a84316;
	font-size: 1.5rem;
	font-weight: 600;
	line-height: 1.1em;
}

#modular_sidebar .ics-calendar h3 {
	font-size: 1.2rem;
	line-height: 1.3em;
	margin-bottom: 0 !important;
}

#modular_sidebar .ics-calendar h4 {
	font-size: 1rem;
	line-height: 1.5em;
	margin-bottom: 0 !important;
}

#modular_sidebar .ics-calendar dl.events {
	margin-bottom: 0.5rem;
}

#section_navigation .menu > li > a {
	border-bottom: 1px solid #a84316;
	display: block !important;
	padding-bottom: 0.25em !important;
}

#section_navigation .menu a {
	line-height: 1.25em;
	margin-top: 0.25em;
}

#section_navigation .sub-menu li.menu-item-has-children:before {
	top: 0.6em;
}

#footer {
	border-bottom: 15px solid #a84316;
}

#footer * {
	font-family: gill-sans-nova, sans-serif;
}

/* PLUGINS */

/* EveryAction embedded form elements */

.multistep-layout.split-layout .HeaderHtml, .multistep-layout.split-layout form
{ width: 100% !important; }

.multistep-layout.split-layout .HeaderHtml img {
	display: block;
	float: none !important;
	margin: 1.5rem auto;
	text-align: center;
}

.at form .label-amount input {
	padding-left: 24px !important;
	text-align: right;
}

/* CSS3 MEDIA QUERIES */


/* NON-PHONE NAVIGATION (content area over 783 pixels) */
@media screen and (min-width: 783px) {

	body.logo_flush_left #header.logo_align_ #logo,
	body.logo_flush_left #header.logo_align_left #logo,
	body.logo_flush_left.locking_header.scrolled #header #logo,
	body.logo_flush_left.locking_header.scrolled_alt #logo,
	body.logo_flush_left.locking_header.scrolled #logo.background_image
	{
		max-width: 33.333% !important;
	}
	
	#primary_navigation .menu > li:hover > a {
		border-top-right-radius: 5px;
		border-top-left-radius: 5px;
	}
	
	#auxiliary_navigation {
		font-size: 85%;
		margin-top: 5px;
	}
	
	#header #auxiliary_navigation .menu a {
		border: 2px solid transparent !important;
		border-radius: 5px;
	}
	#header #auxiliary_navigation .menu a:hover {
		border: 2px solid #84bd00 !important;
	}

	#header #auxiliary_navigation .menu a[href*=join] {
		border: 2px solid #84bd00 !important;
		font-weight: 900 !important;
		margin-right: 5px;
		text-transform: uppercase;
	}
	
	.csa-directory-results .two-column {
		display: grid;
		grid-template-columns: 16em calc(100% - 16em);
		width: calc(100% - 3rem);
	}
	
		.csa-directory-results .two-column > *:first-child {
			padding-right: 1.5em;
		}
		
		.csa-directory-results .two-column > *:first-child, .csa-directory-results .two-column > *:first-child * {
			font-family: gill-sans-nova, sans-serif !important;
		}
		
}


/* LARGE SCREENS (content area over 1600 pixels) */
/*
@media screen and (min-width: 1600px) {

}
*/


/* SMALLER COMPUTERS (content area under 1200 pixels) */
/*
@media screen and (max-width: 1200px) {

}
*/
@media screen and (max-width: 1200px) and (min-width: 783px) {

	#header .menu > li {
		margin-left: -5px;
	}

}


/* TABLETS (content area under 1024 pixels) */

@media screen and (max-width: 1024px) {

	#header .menu > li {
		margin-left: -5px;
	}

}



/* PHONES (content area under 782 pixels) */

@media screen and (max-width: 782px) {

	body.nav_open #nav_wrapper {
		margin-top: 80px !important;
	}

	#header #auxiliary_navigation .menu a[href*=join] {
		border: 2px solid #84bd00 !important;
		border-radius: 5px;
		font-weight: 900 !important;
		margin-right: 5px;
		padding: 5px 12px !important;
		text-transform: uppercase;
	}
	
	#header .search {
		margin: 1.5em 20px !important;
	}
	
}
