/*
Theme Name: Payne's Nurseries
Author: David O. Dabney
Description: Custom Theme for Payne's Nurseries, Based on underscores.me
Version: .5
License: GNU General Public License
License URI: license.txt
Text Domain: paynes
Domain Path: /languages/
Tags:

paynes is based on Underscores http://underscores.me/, (C) 2012-2013 Automattic, Inc.

Resetting and rebuilding styles have been helped along thanks to the fine work of
Eric Meyer http://meyerweb.com/eric/tools/css/reset/index.html
along with Nicolas Gallagher and Jonathan Neal http://necolas.github.com/normalize.css/
and Blueprint http://www.blueprintcss.org/
*/


/* =Reset
-------------------------------------------------------------- */

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	border: 0;
	font-family: inherit;
	font-size: 100%;
	font-style: inherit;
	font-weight: inherit;
	margin: 0;
	outline: 0;
	padding: 0;
	vertical-align: baseline;
}

html {
	font-size: 62.5%; /* Corrects text resizing oddly in IE6/7 when body font-size is set using em units http://clagnut.com/blog/348/#c790 */
	overflow-y: scroll; /* Keeps page centred in all browsers regardless of content height */
	-webkit-text-size-adjust: 100%; /* Prevents iOS text size adjust after orientation change, without disabling user zoom */
	-ms-text-size-adjust:     100%; /* www.456bereastreet.com/archive/201012/controlling_text_size_in_safari_for_ios_without_disabling_user_zoom/ */
}
body {
	background-color: white;
	background-image: url(images/background-2.jpg);
	background-position: center top;
	background-repeat: repeat-x;
}
article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
nav,
section {
	display: block;
}
ol, ul {
	list-style: none;
}
table { /* tables still need 'cellspacing="0"' in the markup */
	border-collapse: separate;
	border-spacing: 0;
}
caption, th, td {
	font-weight: normal;
	text-align: left;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: "";
}
blockquote, q {
	quotes: "" "";
}
a:focus {
	outline: thin dotted;
}
a:hover,
a:active { /* Improves readability when focused and also mouse hovered in all browsers people.opera.com/patrickl/experiments/keyboard/test */
	outline: 0;
}
a img {
	border: 0;
}


*, *:before, *:after {
  -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box;
 }


/* =Global
----------------------------------------------- */

body,
button,
input,
select,
textarea {
	color: #404040;
	font-family: sans-serif;
	font-size: 16px;
	font-size: 1.6rem;
	line-height: 1.5;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
}

hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

hr.small {
	margin-bottom: .5em !important;
}

/* Text elements */
p {
	margin-bottom: .5em;
}
ul, ol {
	margin: 0 0 1.5em 3em;
}
ul {
	list-style: disc;
}
ol {
	list-style: decimal;
}
li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}
dt {
	font-weight: bold;
}
dd {
	margin: 0 1.5em 1.5em;
}
b, strong {
	font-weight: 700;
}
dfn, cite, em, i {
	font-style: italic;
}
blockquote {
	margin: 0 2em;
	font-size: .9em;
}
address {
	margin: 0 0 1.5em;
}
pre {
	background: #eee;
	font-family: "Courier 10 Pitch", Courier, monospace;
	font-size: 15px;
	font-size: 1.5rem;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}
code, kbd, tt, var {
	font: 15px Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}
abbr, acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}
mark, ins {
	background: #fff9c0;
	text-decoration: none;
}
sup,
sub {
	font-size: 75%;
	height: 0;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}
sup {
	bottom: 1ex;
}
sub {
	top: .5ex;
}
small {
	font-size: 75%;
}
big {
	font-size: 125%;
}
figure {
	margin: 0;
}
table {
	margin: 0 0 1.5em;
	width: 100%;
}
th {
	font-weight: bold;
}
img {
	height: auto; /* Make sure images are scaled correctly. */
	max-width: 100%; /* Adhere to container width. */
}
button,
input,
select,
textarea {
	font-size: 100%; /* Corrects font size not being inherited in all browsers */
	margin: 0; /* Addresses margins set differently in IE6/7, F3/4, S5, Chrome */
	vertical-align: baseline; /* Improves appearance and consistency in all browsers */
	*vertical-align: middle; /* Improves appearance and consistency in all browsers */
}
button,
input {
	line-height: normal; /* Addresses FF3/4 setting line-height using !important in the UA stylesheet */
}
button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 1px solid #ccc;
	border-color: #ccc #ccc #bbb #ccc;
	border-radius: 3px;
	background: #e6e6e6;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), inset 0 15px 17px rgba(255, 255, 255, 0.5), inset 0 -5px 12px rgba(0, 0, 0, 0.05);
	color: rgba(0, 0, 0, .8);
	cursor: pointer; /* Improves usability and consistency of cursor style between image-type 'input' and others */
	-webkit-appearance: button; /* Corrects inability to style clickable 'input' types in iOS */
	font-size: 12px;
	font-size: 1.2rem;
	line-height: 1;
	padding: .6em 1em .4em;
	text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
}
button:hover,
html input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	border-color: #ccc #bbb #aaa #bbb;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), inset 0 15px 17px rgba(255, 255, 255, 0.8), inset 0 -5px 12px rgba(0, 0, 0, 0.02);
}
button:focus,
html input[type="button"]:focus,
input[type="reset"]:focus,
input[type="submit"]:focus,
button:active,
html input[type="button"]:active,
input[type="reset"]:active,
input[type="submit"]:active {
	border-color: #aaa #bbb #bbb #bbb;
	box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.5), inset 0 2px 5px rgba(0, 0, 0, 0.15);
}
input[type="checkbox"],
input[type="radio"] {
	box-sizing: border-box; /* Addresses box sizing set to content-box in IE8/9 */
	padding: 0; /* Addresses excess padding in IE8/9 */
}
input[type="search"] {
	-webkit-appearance: textfield; /* Addresses appearance set to searchfield in S5, Chrome */
	-webkit-box-sizing: content-box; /* Addresses box sizing set to border-box in S5, Chrome (include -moz to future-proof) */
	-moz-box-sizing:    content-box;
	box-sizing:         content-box;
}
input[type="search"]::-webkit-search-decoration { /* Corrects inner padding displayed oddly in S5, Chrome on OSX */
	-webkit-appearance: none;
}
button::-moz-focus-inner,
input::-moz-focus-inner { /* Corrects inner padding and border displayed oddly in FF3/4 www.sitepen.com/blog/2008/05/14/the-devils-in-the-details-fixing-dojos-toolbar-buttons/ */
	border: 0;
	padding: 0;
}
input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
textarea {
	color: #666;
	border: 1px solid #ccc;
	border-radius: 3px;
}
input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
textarea:focus {
	color: #111;
}
input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"] {
	/*padding: 3px;*/
}
textarea {
	overflow: auto; /* Removes default vertical scrollbar in IE6/7/8/9 */
	padding-left: 3px;
	vertical-align: top; /* Improves readability and alignment in all browsers */
	width: 98%;
}

/* Links */
a {
	color: #0e9104;
	text-decoration: none;
}

a:visited {
	color: #0e9104;
}
a:hover,
a:focus,
a:active {
	color: #0e9104;
}

a:hover {
	text-decoration: underline;
}

/* Alignment */
.alignleft {
	display: inline;
	float: left;
	margin-right: 1.5em;
}
.alignright {
	display: inline;
	float: right;
	margin-left: 1.5em;
}
.aligncenter {
	clear: both;
	display: block;
	margin: 0 auto;
}

/* Text meant only for screen readers */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
	display: none;
}

.screen-reader-text:hover,
.screen-reader-text:active,
.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	color: #21759b;
	display: none;
	font-size: 14px;
	font-weight: bold;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000; /* Above WP toolbar */
}

/* Clearing */
.clear:before,
.clear:after,
.entry-content:before,
.entry-content:after,
.comment-content:before,
.comment-content:after,
.site-header:before,
.site-header:after,
.site-content:before,
.site-content:after,
.site-footer:before,
.site-footer:after {
	content: '';
	display: table;
}

.clear:after,
.entry-content:after,
.comment-content:after,
.site-header:after,
.site-content:after,
.site-footer:after {
	clear: both;
}

#site-navigation input[type="search"] {
	float: right;
	width: 70%;
}

/* =CONTENT STRUCTURE
----------------------------------------------- */


#page {
	width: 960px;
	margin: 0 auto;
	
	font-family: 'Open Sans', sans-serif;
	font-weight: 400;
	font-size: .9em;
	color: #434343;
}

#content {
	background-color: white;
}

#masthead {
}

#site-header { /* background image is determined by code in the header.php */
	width:960px;
	height:265px;
	position:relative;
}

#primary {
	width: 720px;
	float: left;
	padding: 15px;
}

#right-sidebar{ /*right sidebar */
	width:240px;
	float: right;
	padding: 0 15px 15px 15px;
}

	#right-sidebar .widget {
			font-size: .9em;
			margin-top: 15px;
		}

#right-sidebar h2 {
	font-size: 100%;
}

#right-sidebar h1 {
	font-size: 115%;
}

#right-sidebar .textwidget p {
	font-size: 12px;
}




/*Home page items*/

#primary-home {
	width: 670px;
	float: right;
	padding: 15px 25px 15px 15px;

}

#home-sidebar{ /*right sidebar */
	width:290px;
	float: left;
	padding: 0 15px 15px 20px;
	font-size: 16px;
}

	#home-sidebar .widget {
			font-size: .9em;
			margin-top: 15px;
		}
		
	#home-sidebar .widget h1.widget-title {
		font-weight: 700;
		font-size: 1.1em;
		border-bottom: 1px solid #00673E;
		margin-bottom: 4px;
	}

#home-sidebar h2 {
	font-size: 100%;
}

#home-sidebar h1 {
	font-size: 115%;
}

#home-sidebar .textwidget p {
	font-size: 12px;
}

#home-sidebar .alignright {
	margin-left: 3px;
}



#primary-interior { /* center content section and left sidebar for interior pages */
	width:720px;
	float: left;
}

	.page-header { /* individual headers for interior pages */
		overflow:hidden;
		width:960px;
		height:120px;
		position: relative;
	}
		
	.header-title {
		font-weight: 700;
		font-size: 1.7em;
		padding: 1px 8px;
		position:absolute;
		top:40px;
		left:40px;
		color:#4c1712;
		background-color: white;
		-webkit-border-radius: 7px;
		border-radius: 7px;
		background-color: rgba(255, 255, 255, .7);
   	}

	#tertiary { /* left sidebar */
		width:210px;
		float:left;
		padding: 0 15px 40px 15px;
	}
	
	
		#tertiary .widget {
			font-size: .9em;
			margin-top: 15px;
		}
		
		#tertiary .widget h1.widget-title {
			font-weight: 700;
			font-size: 1.1em;
			border-bottom: 1px solid #00673E;
			margin-bottom: 4px;
		}
		

	#main-interior { /* main interior content area */
		float:right;
		width: 510px;
		padding: 15px 10px 15px 10px;
		
	}
	
	.site-main article {
		border-bottom: 1px solid black; /* home page article separator */
	}

	.site-main article:last-of-type {
		border-bottom: none; /*kill last */
	}
	
	div.entry-summary .wp-caption-text {
		display: none;
	}
	
	.page-title {
		margin-bottom: 15px;
	}
	
	div.entry-content {
		margin-bottom: 10px;
	}
	
	h1.entry-title {
		margin-bottom: 0;
		font-size: 180%;
	}
	
	div.entry-meta, footer.entry-meta {
		font-size: 70%;
		text-transform: uppercase;
		font-weight: 700;
		margin-bottom: 10px;
	}
	
	.page-content .widget { /* spacing for 404 page */
		margin-top: 1.5em;
	}
	
	div.mejs-container { /* audio container */
		margin-top: 15px;
	}
	
	.sharedaddy {
		margin-top: 25px;
	}
	
	a.moretag {
		padding-right: 20px;
		background: url(images/right-point.png) no-repeat center right;
		font-size: 90%;
		text-transform: uppercase;
		font-weight: 700;
	}
	
	
/* FOOTER */

.site-footer {
	color: white;
	height: 79px;
	margin: 0 auto;
	width: 960px;
	background-color: white;
	position:relative;
/* 	margin-top: -50px; */
}

	.site-footer-bkgrnd {
		background-image: url(images/background-960.png);
		background-repeat: no-repeat;
		position:absolute;
		top: 0;
		z-index: 1;
		width: 960px;
		height: 79px;
	}
	
	/*Footer Social Flowers and Pots*/

	a.fb-flower {
		position: absolute;
		width: 75px;
		bottom: 20px;
		height: 162px;
		right: 25px;
		z-index: 0;
		background-image: url(images/facebook-pot.png);
	}

	a.fb-flower:hover {
		background-image: url(images/facebook.png);
	}

	a.fb-flower span {
		display:none;
	}
	
	a.twit-flower {
		position: absolute;
		width: 75px;
		bottom: 23px;
		height: 162px;
		right: 120px;
		z-index: 0;
		background-image: url(images/twitter-pot.png);
	}

	a.twit-flower:hover {
		background-image: url(images/twitter.png);
	}

	a.twit-flower span {
		display:none;
	}


	

.menu-footer-container {
	z-index: 10;
	position: absolute;
	top:55px;
}

.menu-footer-container ul {
	list-style: none;
}

.menu-footer-container li {
	float: left;
	position: relative;
}

.menu-footer-container a {
	text-transform: uppercase;
	color: white;
	display: block;
	text-decoration: none;
	font-weight: 700;
	margin-left: 17px;
	letter-spacing: 1px;
	font-size: .7em;
}

ul#menu-footer {
	margin: 0;
}

.menu-footer-container a:hover {
	text-decoration: underline;
}


h1, h2, h3, h4, h5, h6 {
	font-weight: 700;
	color: #00673E;
}

.main-interior h1 {
	font-size: 140%;
}

.main-interior h2 {
	font-size: 125%;
}

.main-interior h3 {
	font-size: 115%;
}

.main-interior h4 {
	font-size: 105%;
}



.sticky {
}
.hentry {
	margin: 0 0 1.5em;
}
.byline,
.updated {
	display: none;
}
.single .byline,
.group-blog .byline {
	display: inline;
}
.page-content,
.entry-content,
.entry-summary {
	margin: 0;
}
.page-links {
	clear: both;
	margin: 0 0 .5em;
}


/* emails
The ^= specifies that we want to match links that begin with the mailto:
*/
a[href^="mailto:"]{
	padding-right: 20px;
	background: url(images/mail.png) no-repeat center right;
}
 
/* pdfs
The $= specifies that we want to match links whose hrefs end with ".pdf".
*/
a[href$=".pdf"]{
	padding-right: 20px;
	background: url(images/pdf.png) no-repeat center right;
}


/**********************************************************************
 * 
 * Plant Library CSS
 * 
 **********************************************************************/

/*Category Listings Page*/

ul.plantdbcategories, ul.plantdbcategories ul {
	list-style-type: none;
	font-size: 22px;
}

ul.plantdbcategories {
	margin-left: 10px;
}

ul.plantdbcategories li {
	padding-bottom: 8px;
}

ul.plantdbcategories ul.children {
	font-size: 18px;
}

ul.plant_type_list {
	list-style-type: none;
	font-size: 25px;
}

li.plant-cat {

}

p.plant-botanicalname {
	font-style: italic;
	text-align: center;
}

div.plantarchivephoto {
	width: 200px;
}

div.plantmainimage {
	margin-bottom: 10px;
}

/*main area for plant lib*/

#primary-library-interior { /* center content section and left sidebar for interior pages */
	width:960px;
	float: left;
}

#main-library-interior { /* main interior content area */
	float:right;
	width: 680px;
	padding: 20px 0 25px 0;
}

.libsummary {
	float: left;
	position: relative;
	margin: 0 20px 20px 0;
	width: 320px;
	height: 185px;
	border: 1px solid #ddd;
	background-color: #fafbfc;
	box-shadow: 1px 2px 4px #dfdfdf;
}

div.plant-summary p {
	font-size: 13px;
}

h2.plant-name { /*used on single plant pages*/
	font-size: 20px;
	clear: none;
	text-align: center;
	margin-bottom: 20px;
}

h3.plant-name { /*used on plant library listings*/
	font-size: 15px;
	clear: none;
	text-align: center;
}

.plantlibthumb {
	width:320px;
	height:130px;
	overflow: hidden;
	margin-bottom: 5px;
} 

.plantlibthumb img {
	width: 100%;
}

/*Sidebar for plant library*/

#library-sidebar { /* left sidebar */
	width:280px;
	float:left;
	padding: 15px 25px 40px 25px;
}

		#library-sidebar h1 {
			font-size: 25px;
			margin-bottom: 5px;
		}

		#library-sidebar .facetwp-search {
			margin-top: 5px;
		}

		#reset-facet {
			background-color: #0e9104;
			color: white;
			text-decoration: none;
			font-weight: bold;
			-webkit-border-radius: 3px;
			-moz-border-radius: 3px;
			border-radius: 3px;
			padding: 3px 5px;
		}

		#reset-facet:hover {
			background-color: #1a7213;
			-webkit-box-shadow: 0px 0px 6px 2px rgba(0,0,0,0.5);
			-moz-box-shadow: 0px 0px 6px 2px rgba(0,0,0,0.5);
			box-shadow: 0px 0px 6px 2px rgba(0,0,0,0.5);
		}

		.facetwp-selections li { /*controls the 'selected' display*/
			font-size: 18px !important;
			font-weight: bold;
			color: #0e9104;
		}

		#library-sidebar .facetwp-facet {
			margin-bottom: 15px !important;
		}
		
		#library-sidebar .facetwp-type-checkboxes, #library .facetwp-type-hierarchy {
			max-height: none !important;
			margin: 5px 10px 5px 10px;
		}
	
		#library-sidebar .widget {
			font-size: .9em;
			margin-top: 15px;
		}
		
		#library-sidebar .widget h1.widget-title {
			font-weight: 700;
			font-size: 1.1em;
			border-bottom: 1px solid #00673E;
			margin-bottom: 4px;
		}

h2.libheaders {
	background-color: #fc9c06;
	color:white;
	padding: 3px 5px;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
}




/**********************************************************************
 * 
 * Plant Library sidebar
 * 
 **********************************************************************/

.facetwp-type-checkboxes, .facetwp-type-hierarchy {
	max-height: none !important;
	margin: 20px 10px 10px 10px;
}

.facetwp-facet {
font-size: 15px !important;
margin-bottom: 30px;
}


/* =Asides
----------------------------------------------- */

.blog .format-aside .entry-title,
.archive .format-aside .entry-title {
	display: none;
}


/* =Media
----------------------------------------------- */

.page-content img.wp-smiley,
.entry-content img.wp-smiley,
.comment-content img.wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}
.wp-caption {
	border: 1px solid #ccc;
	margin-bottom: 1.5em;
	max-width: 100%;
}
.wp-caption img[class*="wp-image-"] {
	display: block;
	margin: 1.2% auto 0;
	max-width: 98%;
}
.wp-caption-text {
	text-align: center;
}
.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
	font-size: .8em;
}
.site-main .gallery {
	margin-bottom: 1.5em;
}
.gallery-caption {
}
.site-main .gallery a img {
	border: none;
	height: auto;
	max-width: 90%;
}
.site-main .gallery dd {
	margin: 0;
}
.site-main .gallery-columns-4 .gallery-item {
}
.site-main .gallery-columns-4 .gallery-item img {
}

/* Make sure embeds and iframes fit their containers */
embed,
iframe,
object {
	max-width: 100%;
}


/* =Navigation
----------------------------------------------- */

.site-main [class*="navigation"] {
	margin: 0 0 1.5em;
	overflow: hidden;
}
[class*="navigation"] .nav-previous {
	float: left;
	width: 50%;
}
[class*="navigation"] .nav-next {
	float: right;
	text-align: right;
	width: 50%;
}


/* =Comments
----------------------------------------------- */

.comment-content a {
	word-wrap: break-word;
}
.bypostauthor {
}


/* =Widgets
----------------------------------------------- */

.widget {
	margin: 0 0 1.5em;
}

/* Make sure select elements fit in widgets */
.widget select {
	max-width: 100%;
}

/* Search widget */
.widget_search .search-submit {
	display: none;
}

ul#menu-plant-categories, ul#menu-plant-library-home {
	list-style: none;
	font-size: 14px;
	margin-left: 1em;
}

ul#menu-plant-categories li, ul#menu-plant-library-home li {
	text-indent: -1em;
	padding-bottom: 2px;
}

ul#menu-plant-categories ul.sub-menu, ul#menu-plant-library-home ul.sub-menu {
	font-size: 14px;
	margin-left: 10px;
	font-weight: normal;
}

ul#menu-plant-categories li.current-menu-item, ul#menu-plant-library-home li.current-menu-item {
	font-weight: 700;
	font-weight: bold;
}



/* =Infinite Scroll
----------------------------------------------- */

/* Globally hidden elements when Infinite Scroll is supported and in use. */
.infinite-scroll .paging-navigation, /* Older / Newer Posts Navigation (always hidden) */
.infinite-scroll.neverending .site-footer { /* Theme Footer (when set to scrolling) */
	display: none;
}

/* When Infinite Scroll has reached its end we need to re-display elements that were hidden (via .neverending) before */
.infinity-end.neverending .site-footer {
	display: block;
}


/**********************************************************************
 * 
 *  SUPERFISH CSS
 *
 **********************************************************************/

/*** ESSENTIAL STYLES ***/

/*nav.site-navigation {
	
}

ul.menu-top-navigation {
	width:960px;
	height:50px;
}*/

.menu-top-navigation-container {
	background-color: #069C24;
	width:960px;
	height:40px;
}
.sf-menu, .sf-menu * {
	margin: 0;
	padding: 0;
	list-style: none;
}
.sf-menu li {
	position: relative;
}
.sf-menu ul {
	position: absolute;
	display: none;
	top: 100%;
	left: 0;
	z-index: 99;
}
.sf-menu > li {
	float: left;
}
.sf-menu li:hover > ul,
.sf-menu li.sfHover > ul {
	display: block;
}

.sf-menu a {
	display: block;
	position: relative;
}
.sf-menu ul ul {
	top: 0;
	left: 100%;
}


/*** DEMO SKIN ***/
.sf-menu {
	float: left;
	font-size: 13px;
}

.sf-menu ul {
	/*box-shadow: 2px 2px 6px rgba(0,0,0,.2);*/
	min-width: 12em; /* allow long menu items to determine submenu width */
	*width: 12em; /* no auto sub width for IE7, see white-space comment below */
}
.sf-menu a {
	padding: .75em 1.15em;
	text-decoration: none;
	zoom: 1; /* IEF7 */
}
.sf-menu a {
	color: yellow;
	font-weight: bold;
}
.sf-menu li {
	background: #069C24;
	white-space: nowrap; /* no need for Supersubs plugin */
	*white-space: normal; /* ...unless you support IE7 (let it wrap) */
	-webkit-transition: background .2s;
	transition: background .2s;
}
.sf-menu ul li {
	background: #069C24;
}
.sf-menu ul ul li {
	background: #069C24;
}
.sf-menu li:hover,
.sf-menu li.sfHover {
	background: #0a661c;
	/* only transition out, not in */
	-webkit-transition: none;
	transition: none;
}

/*** arrows (for all except IE7) **/
.sf-arrows .sf-with-ul {
	padding-right: 2.1em;
	*padding-right: .8em; /* no CSS arrows for IE7 (lack pseudo-elements) */
}
/* styling for both css and generated arrows */
.sf-arrows .sf-with-ul:after {
	content: '';
	position: absolute;
	top: 50%;
	right: .5em;
	margin-top: -3px;
	height: 0;
	width: 0;
	/* order of following 3 rules important for fallbacks to work */
	border: 5px solid transparent;
	border-top-color: white; 
}
.sf-arrows > li > .sf-with-ul:focus:after,
.sf-arrows > li:hover > .sf-with-ul:after,
.sf-arrows > .sfHover > .sf-with-ul:after {
	border-top-color: white; /* IE8 fallback colour */
}
/* styling for right-facing arrows */
.sf-arrows ul .sf-with-ul:after {
	margin-top: -5px;
	margin-right: -3px;
	border-color: transparent;
	border-left-color: white;
}
.sf-arrows ul li > .sf-with-ul:focus:after,
.sf-arrows ul li:hover > .sf-with-ul:after,
.sf-arrows ul .sfHover > .sf-with-ul:after {
	border-left-color: white;
}


/**********************************************************************
 * 
 * CUSTOM CSS for main menu search box
 * 
 **********************************************************************/

.search-submit {
	display: none;
}

/**********************************************************************
 * 
 * CUSTOM CSS for Secondary Nav
 * 
 **********************************************************************/

#top-navigation {
	position: relative;
	width:510px;
	height:35px;
	float:right;
	padding-top: 8px;
	display: inline;
	background-color:#68a268;
	-webkit-border-radius: 0px 0px 10px 10px;
    border-radius: 0px 0px 10px 10px;
    -webkit-box-shadow:  0px 3px 8px 3px rgba(4, 4, 4, .1);
    box-shadow:  0px 3px 8px 3px rgba(4, 4, 4, .1);
    z-index: 1000;
    font-size: .9em;
    }

.secondary-navigation {
	clear: both;
	display: block;
	float: left;
	width: 100%;
}
.secondary-navigation ul {
	list-style: none;
	margin: 0;
	padding-left: 4px;
}
.secondary-navigation li {
	float: left;
	position: relative;
}
.secondary-navigation a {
	/* font-size: .9em; */
	text-transform: uppercase;
	color: white;
	display: block;
	text-decoration: none;
	font-weight: 700;
	margin-left: 17px;
	letter-spacing: 1px;
}

.secondary-navigation a:hover {
	
}

.secondary-navigation ul ul {
	box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
	display: none;
	float: left;
	left: 0;
	position: absolute;
	top: 1.5em;
	z-index: 99999;
}
.secondary-navigation ul ul ul {
	left: 100%;
	top: 0;
}
.secondary-navigation ul ul a {
	width: 200px;
}
.secondary-navigation ul ul li {
}
.secondary-navigation li:hover > a {
	color: #fff5b4;
}
.secondary-navigation ul ul :hover > a {
}
.secondary-navigation ul ul a:hover {
}
.secondary-navigation ul li:hover > ul {
	display: block;
}
.secondary-navigation li.current_page_item a,
.secondary-navigation li.current-menu-item a {
	color: #fff5b4;
}

/**********************************************************************
 * 
 * CUSTOM CSS for Sidebar SubNav
 * 
 **********************************************************************/

ul#sidebar-menu, ul.sub-menu {
	list-style: none;
	margin: 0;
	font-weight: 700;
	color: #0E914a;
	background: none;
}

ul#sidebar-menu li a { /* first level and general stuff for list*/
	background-color: #ffffa6;
	display: block;
	padding: 5px 0 5px 7px;
	margin-top: 10px;
}

ul#sidebar-menu li.current-menu-item a {
	background-color: #14a43b;
	padding: 5px 5px 5px 25px;
	margin: 4px 0 0 0;
	background-image: url(images/current-page.png);
	background-repeat: no-repeat;
	background-position: 5px center;
	color: white;
}

ul#sidebar-menu ul { /* border for outside of first levels */
	border: 2px solid #ffffa6;
	padding: 0 0 5px 5px;
}

ul#sidebar-menu ul ul { /* remove border for lower levels */
	border: none; 
	padding: 0;
}


/* 2nd Level Formatting */

ul#sidebar-menu li li.menu-item a { /* 2nd level header formatting */
	font-weight: 700;
	font-size: 90%;
	background-color: transparent;
	margin: 4px 0 0 0;
	padding:0;
	color: #0E914a;
	background-image: none;
}

ul#sidebar-menu li li.current-menu-item a { /* 2nd level current page formatting */
	background-color: #14a43b;
	padding: 5px 5px 5px 25px;
	margin: 4px 0;
	background-image: url(images/current-page.png);
	background-repeat: no-repeat;
	background-position: 5px center;
	color: white;
}


/* 3rd Level */

ul#sidebar-menu li li li { /* 3rd level sub item formatting */
	font-size: 90%;
	padding-left: 10px;
	border: none;
} 

ul#sidebar-menu li li li.menu-item a { /* 3rd level formatting and reset from formatting above */
	margin: 0;
	padding: 0;
	font-weight: normal;
	background-color: transparent;
	color: #0E914a;
	background-image: none;
}

ul#sidebar-menu li li li.current-menu-item a { /* 3rd level current page formatting */
	background-color: #14a43b;
	padding: 5px 5px 5px 25px;
	margin: 4px 0;
	background-image: url(images/current-page.png);
	background-repeat: no-repeat;
	background-position: 5px center;
}

ul#sidebar-menu li li li.current-menu-item a { /* 3rd level current page link formatting */
	color: white;
}

/* constant contact form tweaks */
.ctct-inline-form #gdpr_text {display:none!important;}
div.ctct-form-embed div.ctct-form-defaults {padding:0px!important;}


