/* 
Theme Name: AG Excellence
Theme URI: http://agex.org.au
Description: Custom WordPress theme for AG Excellence
Author: Dave Wilkinson
Author URI: http://www.thinkdave.com
Version: 1.0
*/

/* Changelog

	30/08/2012 PF	added new social media icons img
	18/12/2012 PF	updates to support custom forms, new menus
	02/07/2013 PF	updates for video filters (#5567)
*/


/* Clearfix
--------------------------------------------- */	

.group:after {
	visibility: hidden;
	display: block;
	font-size: 0;
	content: " ";
	clear: both;
	height: 0;
}

* html .group {zoom: 1;}

*:first-child+html .group {zoom: 1;}


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

* {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box; 
	box-sizing: border-box; 
}

body {
	background: #40af49 url(images/body_bg.jpg) center top no-repeat;
	/* DEV background: cornsilk; */
	font-size: 12px;
	font-family: Helvetica, Arial, sans-serif;
	color: #696969;
}

a {
	color: #008f4c;
	text-decoration: none;
}

a:hover {
	color: #7fc7a5;
	text-decoration: none;
}
#sidebar a:hover {
	color: #008F4C;
}

.wrapper {
	margin: 0 auto;
}

#container {
	-webkit-box-shadow:  0px 0px 10px 2px rgba(0, 0, 0, 0.2);
    box-shadow:  0px 0px 10px 2px rgba(0, 0, 0, 0.2);
    margin-bottom: 20px;
}

#main {
	background: #fff;
}

#main.page {background: #fff url(images/content_bg.png) 0 0 repeat-y}

.no-sidebars {background-image: none !important;}

.last {margin-right: 0 !important;}

.centered {text-align: center;}


/* Header
--------------------------------------------- */

#header {
	background: url(images/header_bg.png) 0 0 no-repeat;
	position: relative;
	height: 133px;
}

#logo a {
	width: 222px;
	height: 128px;
}

#logo {
	float: left;
	margin-left: 40px;
}

#logo a {
	display: block;
}

#tagline {
	font-style: italic;
	color: #fff;
	font-size: 19px;
	font-weight: normal;
	position: absolute;
	top: 60px;
	left: 333px;
}

#banner {
	height: 146px;
	line-height: 1;
}


/* Search form
--------------------------------------------- */

#header #searchform {
	float: right;
	margin: 52px 45px 0 0;
	display: none;
}

#searchform input[type=text] {
	background: url(images/searchbox.png) 0 0 no-repeat;
	width: 218px;
	height: 33px;
	border: 0;
	padding: 0 40px 0 10px;
	font-family: 'Dosis', sans-serif;
	color: #008f4c;
	font-size: 14px;
	-webkit-border-radius: 3px;
    border-radius: 3px;
}

#searchform input[type=text]:focus {
	outline: none;
}

#searchform .hidden {display: none;}

.relevanssi-query-term { background: yellow;}

/* Main Menu
--------------------------------------------- */

#header-nav {
	background: #fff;
}

.menu_control { display: none; }

.menu { 
	position: relative; 
	list-style: none; 
	z-index: 50; 
	font-family: 'Dosis', sans-serif;
}

.menu li { 
	position: relative; 
	float: left; 
}

.menu ul { 
	position: absolute; 
	visibility: hidden; 
	list-style: none; 
	z-index: 110; 
	background: white;
	padding: 10px 20px;
}

.menu ul li { 
	clear: both; 
}

.menu ul, .menu ul li { width: 200px; }

.menu ul ul, .menu :hover ul :hover ul { left: 199px; }

.menu li:hover ul, .menu a:hover ul { left: -1px; }

.menu a { 
	display: block; 
	font-size: 16px;
}

.menu table { 
	position: absolute; 
	left: 0; 
	border-collapse: collapse; 
}

.menu table table { 
	top: 0 !important; 
}

.menu ul ul { 
	position: absolute; 
	top: 0; 
}

.menu li:hover ul, .menu a:hover ul, .menu :hover ul :hover ul, .menu :hover ul :hover ul :hover ul { 
	visibility: visible;
}

.menu :hover ul ul, .menu :hover ul :hover ul ul { 
	visibility: hidden;
}

.menu > li > a {
	padding: 10px 10px;
}

.menu > li.current-menu-item > a {
	background: #d9e6de;
}


/* Sidebar
--------------------------------------------- */

#sidebar {
	padding: 30px 0 20px;
}

#sidebar .widget {
	background: #b4c8b4;
	padding: 10px;
	color: #fff;
	margin-bottom: 20px;
	-webkit-border-radius: 4px 4px 4px 4px;
	border-radius: 4px 4px 4px 4px;
	line-height: 1.5em;
}

#sidebar h3.widget-title {
	font-size: 20px;
	line-height: 1.3em;
	margin-bottom: 10px;
	font-family: 'Dosis', sans-serif;
	color: #4D8A67;
}

#sidebar a {color: #fff;}

/* SIDEBAR FORMS 
--------------------------------------------- */
input, 
input[type="password"], 
input[type="search"],
textarea {
	border-radius: 4px;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	color: dimGray;
	padding: 3px;
	border-color: #B4C8B4;
	border-width: 1px;
	-moz-box-shadow: 1px 1px 4px #F4F4F4 inset;
	-webkit-box-shadow: 1px 1px 4px #F4F4F4 inset;
	box-shadow: 1px 1px 4px #F4F4F4 inset;
}
input[type="email"] {
	margin-left: 2px;
	width: 80%;
}
#content input[type="button"], 
#content input[type="submit"], 
#content input[type="reset"],
#footer input[type="button"], 
#footer input[type="submit"], 
#footer input[type="reset"],
#sidebar input[type="button"], 
#sidebar input[type="submit"], 
#sidebar input[type="reset"] {
	background: #FCFCFC;
	color: #4D8A67;
	font-family: 'Dosis', sans-serif;
	text-align: center;
	font-size: 14px;
	border: 1px solid #4D8A67;
	-webkit-border-radius: 4px 4px 4px 4px;
	border-radius: 4px 4px 4px 4px;
	height: 25px;
	padding: 4px 10px;
}
#content input[type="button"]:hover, 
#content input[type="submit"]:hover, 
#content input[type="reset"]:hover,
#footer input[type="button"]:hover, 
#footer input[type="submit"]:hover, 
#footer input[type="reset"]:hover,
#sidebar input[type="button"]:hover, 
#sidebar input[type="submit"]:hover, 
#sidebar input[type="reset"]:hover {
	border:1px solid #BFD5C8;
	cursor:pointer;
}

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

#comments {
	padding: 20px 45px 0;
}

#comments h3 {
    text-transform: uppercase;
    border-bottom: 3px double #ebebeb;
    padding: 15px 0 5px;
    margin-bottom: 15px;
    font-size: 14px;
    font-weight: bold;
}

ol.commentlist {
    margin: 30px 0 40px 0;
    list-style-type: none;
}

li.comment {
    margin: 0 0 20px 0;
    padding-bottom: 6px;
}

li.comment .comment-body {
    margin: 0 0 0 75px;
    position: relative;
    min-height: 70px;
    padding-bottom: 10px;
}

li.comment .comment-meta {
    overflow: hidden;
    float: left;
    display: block;
    width: 50%;
}

li.comment .comment-text { padding-bottom: 1px }

.comment .avatar {
    position: absolute;
    left: -75px;
    padding: 2px;
    background: #fcfcfc;
    border: 1px solid #c8c8c2;
    -moz-box-shadow: 0 0 3px rgba(0,0,0,0.1);
    -webkit-box-shadow: 0 0 3px rgba(0,0,0,0.1);
    box-shadow: 0 0 3px rgba(0,0,0,0.1);
}

li.comment p {
    clear: both;
    margin-bottom: 15px;
}

li.comment cite {
    font-weight: bold;
    font-style: normal;
    margin: 0 8px 0 0;
    float: left;
}

li.comment cite a {
    color: #444;
    padding-right: 10px;
}

li.comment cite a:hover {
    text-decoration: none;
    color: #A0410D;
}

.commentmetadata,
.commentmetadata a {
    font-size: 10px;
    text-transform: uppercase;
    color: #aaa;
}

.commentmetadata a:hover { color: #777 }

.says { display: none }

.comment-meta {
    margin: 0 0 5px;
    line-height: 22px;
    position: relative;
}

li.comment .comment-body a.comment-reply-link {
    display: block;
    position: absolute;
    right: 0;
    top: 0px;
    color: #aaa;
    padding: 0 10px 0 0;
    font-size: 11px;
    font-style: italic;
}

li.comment .comment-body a.comment-reply-link:hover { color: #777 }

.moderation {
    font-size: 11px;
    font-style: italic;
    color: #c88865;
}

ul.children {
    list-style-type: none;
    margin: 0 0 0 75px;
}

ul.children li.comment {
    background: none;
    border-top: 1px solid #ebebeb;
    padding: 15px 0 0 0;
    margin: 0;
}

ul.children .avatar {
    width: 30px;
    height: 30px;
    left: -50px;
}

ul.children li.comment .comment-body { margin: 0 0 0 50px }

/* -- Respond --*/

#commentform {
    padding-top: 20px;
    margin-bottom: 50px;
}

#commentform p { margin-bottom: 15px; font-size: 12px; }

#commentform input[type=text],
#commentform textarea {
    border: 1px solid #ddd;
    background: #fcfcfc;
    -moz-box-shadow: 1px 1px 4px #F4F4F4 inset;
    -webkit-box-shadow: 1px 1px 4px #F4F4F4 inset;
    box-shadow: 1px 1px 4px #F4F4F4 inset;
}

#commentform input[type=text] {
    margin-right: 10px;
    padding: 7px;
    border: 1px solid #ddd;
    width: 180px;
}

#commentform textarea {
    width: 95%;
    height: 150px;
    padding: 7px;
    border: 1px solid #ddd;
}

#commentform input:focus,
#commentform textarea:focus { border-color: #c0c0c0 }

#commentform #submit {
    display: block;
    padding: 0;
    margin: 0;
    border: none;
    height: 30px;
    width: 140px;
    color: #fff;
    font-size: 12px;
    font-weight: bold;
    background: #008f4c;
	-webkit-border-radius: 4px 4px 4px 4px;
    border-radius: 4px 4px 4px 4px;
}

#commentform #submit:hover {
	background: #b4c8b4;
	color: #111;
	cursor: pointer;
}
.nocomments { display:none; }

/* 
----------------------------------------
xx. Body copy
---------------------------------------- 
*/	

.headline {
	margin-bottom: 20px;
	padding-top: 20px;
}

.archive-headline {
	background: #fff;
	padding: 5px 0;
}

h1.entry-title,
h1.archive_intro {
	color: #4d8a67;
	font-size: 28px;
	line-height: 1.25em;
	font-family: 'Dosis', sans-serif;
	letter-spacing: 0px;
}

.archive_intro {
	padding: 20px 45px 0;
}

.archive-headline h1.archive_intro {padding-top: 0;}

.archive-description {
	padding: 5px 45px 10px;
}

h2.section-title {
	font-family: 'Dosis', sans-serif;
	font-size: 28px;
	line-height: 1.2em;
	color: #4d8a67;
	font-weight: 200;
}

h2.entry-title {
	font-size: 24px;
	line-height: 1.5em;
	font-family: 'Dosis', sans-serif;
}

h3.entry-title {
	font-size: 16px;
	line-height: 1.5em;
	color: #111;
}

h3.entry-title a {
	color: #111;
}

p.byline {
	font-size: 11px;
	line-height: 1.5em;
}

.entry {
	line-height: 1.5em;
	padding-bottom: 20px;
}

.entry h2 {
	margin: 20px 0 10px;
	font-weight: bold;
	font-size: 16px;
}

.entry h3 {
	margin: 20px 0 10px;
	font-weight: bold;
	font-size: 14px;
}

.entry h4 {

}

.entry h5 {

}

.entry h6 {

}

.entry p {
	margin-bottom: 20px;
}

.entry ul {
	margin-bottom: 20px;
}

.entry ul li {
	list-style: disc;
	margin-left: 16px;
}

.entry ol {
	margin-bottom: 20px;
}

.entry ol li {
	list-style: decimal;
	margin-left: 18px;
}

.entry a {

}

.entry a:hover {

}


/* Page Navigation
--------------------------------------------- */

.navigation {padding: 40px 44px 20px;}

.single-page-navigation {padding-top: 20px;}

.single-page-navigation div {margin-bottom: 10px;}

.page-nav a {
	background: #fff;
	color: #4d8a67;
	font-family: 'Dosis', sans-serif;
	text-align: center;
	font-size: 14px;
	border: 1px solid #bfd5c8;
	-webkit-border-radius: 4px 4px 4px 4px;
    	border-radius: 4px 4px 4px 4px;
    	height: 25px;
    	padding: 4px 30px;
    	line-height: 25px;
}

.page-nav a:hover {
	color: #4d8a67;
	border-color: #4d8a67;
}

.page-nav .nav-previous {
	float: right;
	width: auto;
}

.page-nav .nav-next {
	float: left;
	width: auto;
}


/* Social media icons
--------------------------------------------- */

#social-box {
	float: right;
	width: 386px;
	height: 48px;
	background: #008f4c;
	-webkit-border-radius: 0px 0px 4px 4px;
    border-radius: 0px 0px 4px 4px;
    margin-bottom: 19px;
    position: relative;
}

ul.social {
	list-style: none;
	margin: 0;
	padding: 0;
	overflow: hidden;
}

#social-box ul.social {
	position: absolute;
	top: 7px;
	right: 13px;
	width: 364px;
}

ul.social li {
	float: left;
	margin-left: 5px;
}

ul.social li.call {
	color: #fff;
	font-family: 'Dosis', sans-serif;
	font-size: 18px;
	line-height: 32px;
	margin-right: 15px;
}

ul.social li.indent {
	width: 33px;
	height: 32px;
	
}

ul.social li a {
	width: 33px;
	height: 32px;
	display: block;
	background: url(images/social_icons_v2.png) no-repeat;
	text-indent: -999em;
}

ul.social li.facebook {margin-left:3px;}

ul.social li.rss-news a {background-position: -114px 0;}
ul.social li.rss-news a:hover {background-position: -114px 1px;}

ul.social li.rss-video a {background-position: -152px 0;}
ul.social li.rss-video a:hover {background-position: -152px 1px;}

ul.social li.facebook a {background-position: 0 0;}
ul.social li.facebook a:hover {background-position: 0 1px;}

ul.social li.twitter a {background-position: -40px 0;}
ul.social li.twitter a:hover {background-position: -40px 1px;}

ul.social li.youtube a {background-position: -78px 0;}
ul.social li.youtube a:hover {background-position: -78px 1px;}

/* Footer
--------------------------------------------- */

#hatch {
	background: url(images/footer_hatch.png) 0 0 repeat-x;
	height: 19px;
}

#footer {
	background: #008f4c;
	color: #fff;
	padding: 25px 55px;
	line-height: 1.5em;
}

#footer a {
	color: #fff;
	text-decoration:underline;
}

#footer a:hover {
	color: #111;
}

#footer .footer_cta {
	margin-top:0.6em;
}

/* Copyright / Back to top
--------------------------------------------- */

#bottom-area {
	padding-bottom: 20px;
}

#bottom-area .left {
	float: left;
	width: 450px;
	line-height: 30px;
	color: #fff;
}

#bottom-area .left a {
	color: #fff;
	text-decoration:underline;
}

#footer-widgets .widget {
	margin-bottom: 20px;
}

#footer-widgets h3.widget-title {
	color: #fff;
	font-family: 'Dosis', sans-serif;
	font-size: 20px;
	line-height: 1.25em;
	margin-bottom: 10px;
	font-weight: 600;
}

#footer-widgets .button-holder {
	margin: 10px 0;
	display: block;
}

#bottom-area .right {
	float: right;
	width: 125px;
}

#bottom-area .right a {
	background: #008f4c;
	-webkit-border-radius: 4px 4px 4px 4px;
    border-radius: 4px 4px 4px 4px;
    width: 125px;
    height: 30px;
    line-height: 30px;
    color: #fff;
    text-align: center;
    font-size: 12px;
    display: block;
}

/* Gravity Forms
--------------------------------------------- */
.gfield {
	padding-top: 5px;
}
#content .gfield {
	margin-bottom: 10px;
}
#content input[type="email"] {
	width: 40%;
}
.gform_body ul li {
	list-style: none;
	margin-left:0;
}

.gform_footer {
	margin-top: 8px;
}
.gfield_error {
	margin-bottom: 10px;
	padding-left: 2px;
	border: 1px solid #D9E6DE;
	border-radius: 3px;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
}
.validation_error {
	font-weight: bold;
	background: #D9E6DE;
	padding-left: 4px;
	margin-bottom: 10px;
	color: darkRed;
}
.validation_message {
	background: #D9E6DE;
	margin-left: -2px;
	padding-left:4px;
	color: darkRed;
}

/* Community Event form mods
--------------------------------------------- */
#wp-tcepostcontent-wrap {margin-top: 5px;}
#tribe-community-events .wp-editor-tools { 
	visibility: hidden !important; /* hide Visual and HTML */
}

#tribe-events #tribe-events-content{
background-color: #fff;
padding: 20px !important;
}
/* Gravity Forms - User Forms (class public-forms)
--------------------------------------------- */
.public-forms .wp-editor-tools {
	display:none !important; /* hide Visual and HTML */
}
.public-forms .wp_themeSkin iframe { background: white;}

.public-forms a.mce_wp_more,
.public-forms a.mce_fullscreen,
.public-forms a.mce_wp_help,
.public-forms a.mce_wp_adv{ display:none !important;} /*hide buttons*/

#input_7_2_forecolor {display:none!important;} /*hide font colours*/

.public-forms .gfield_label {
	font-weight: normal;
	font-family: 'Dosis', sans-serif;
	font-size: 16px;
	color: #4D8A67;
}
.public-forms .gsection_title {
	font-weight:normal;
	font-family: 'Dosis', sans-serif;
	font-size:20px;
	border-bottom: 1px solid #E5E5E5;
	padding: 10px 0px;
	}

/* Events Calendar
--------------------------------------------- */

#tribe-events-content {margin-bottom: 0 !important;}

#tribe-events-content {
	padding: 1px 0px !important;
}

#tribe-events-calendar-header {
	background: #f5f8f6 !important;
	text-align: center !important;
	padding: 10px 45px;
	margin-left: -45px;
	margin-right: -45px;
	
}

#center-this.tribe-events-month-nav {
	position: relative !important;
	left: auto !important;
	top: 15px !important;
	width: auto !important;
	font-family: 'Dosis', sans-serif;
	font-size: 14px;
	margin: 0 auto !important;
	display: block !important;
}
/*#tribe-events-calendar-header .tribe-events-prev-month {float:left;}
#tribe-events-calendar-header .tribe-events-next-month {float:right;}*/

.tribe-events-events .tribe-events-event-list-meta {
	border-left: 0px !important;
	padding-left: 2%;
	margin-top: 10px;
	width: auto;
}

.tribe-events-month-nav a, .tribe-events-nav a, .back a, .eventsListWidget .dig-in a, .eventsAdvancedListWidget .dig-in a {
	color: #4d8a67 !important;
}


.daynum, .daynum > a {
	color: #4d8a67 !important;
	font-family: 'Dosis', sans-serif;
	font-size: 14px !important;
}

.tribe-events-calendar .daynum, .tribe-events-calendar .daynum a {
	background-color: #fff !important;
	font-weight: normal !important;
}

table.tribe-events-calendar {background:white !important;}

table.tribe-events-calendar, .tribe-events-calendar td {
border: 1px solid #cdded4 !important;
}

.tribe-events-calendar th {
	background: #f5f8f6 !important;
	color: #4d8a67 !important;
	font-family: 'Dosis', sans-serif;
	font-size: 14px;
}

h3#current-month {
	color: #4d8a67;
	font-size: 30px;
	line-height: 1.25em;
	font-family: 'Dosis', sans-serif;
	letter-spacing: 1px;
	text-align: center;
}

/* Events Calendar - Community forms */
#tribe-community-events input[type="submit"], 
#tribe-community-events .button {
	background: #FCFCFC;
	color: #4D8A67;
	font-family: 'Dosis', sans-serif;
	text-align: center;
	font-size: 14px;
	border: 1px solid #4D8A67;
	-webkit-border-radius: 4px 4px 4px 4px;
	border-radius: 4px 4px 4px 4px;
	height: 25px;
	padding: 4px 10px;
}

/* Events Widget */
#sidebar .event a {font-weight:bold;}
#sidebar li.tribe_events {margin-bottom:0.6em;}



/* Home page
--------------------------------------------- */

/* Slider */

#slider {
	position: relative;
	height: 384px;
}

#home-content {
	position: absolute;
	bottom: 0;
	left: 0;
	height: 125px;
	z-index: 50;
	background: url(images/slider_bg.png) 0 0 repeat;
	color: #fff;
	font-size: 14px;
	line-height: 1.3em;
	width: 100%;
}

#home-content h1 {
	font-family: 'Dosis', sans-serif;
	font-size: 40px;
	line-height: 1.25em;
	margin-bottom: 5px;
	padding: 7px 5% 0;
}

#home-content p {
	padding: 0 5%;
}


#home-content a {
	color: #ffdf4f;
	text-decoration: underline;
}

#home-content a:hover {
	color: #fff;
	text-decoration: underline;
}

/* Browser Resets */
.flex-container a:active,
.flexslider a:active,
.flex-container a:focus,
.flexslider a:focus  {outline: none;}
.slides,
.flex-control-nav,
.flex-direction-nav {margin: 0; padding: 0; list-style: none;}

/* FlexSlider Necessary Styles
*********************************/
.flexslider {margin: 0; padding: 0;}
.flexslider .slides > li {display: none; -webkit-backface-visibility: hidden;} /* Hide the slides before the JS is loaded. Avoids image jumping */
.flexslider .slides img {max-width: 100%; display: block;}
.flex-pauseplay span {text-transform: capitalize;}

/* Clearfix for the .slides element */
.slides:after {content: "."; display: block; clear: both; visibility: hidden; line-height: 0; height: 0;}
html[xmlns] .slides {display: block;}
* html .slides {height: 1%;}

/* No JavaScript Fallback */
/* If you are not using another script, such as Modernizr, make sure you
 * include js that eliminates this class on page load */
.no-js .slides > li:first-child {display: block;}


/* FlexSlider Default Theme
*********************************/
.flexslider {background: #fff; position: relative; zoom: 1;}
.flexslider .slides {zoom: 1;}
.flexslider .slides > li {position: relative;}
/* Suggested container for "Slide" animation setups. Can replace this with your own, if you wish */
.flex-container {zoom: 1; position: relative;}

/* Caption style */
/* IE rgba() hack */
.flex-caption {background:none; -ms-filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#4C000000,endColorstr=#4C000000);
filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#4C000000,endColorstr=#4C000000); zoom: 1;}
.flex-caption {width: 96%; padding: 2%; margin: 0; position: absolute; left: 0; bottom: 0; background: rgba(0,0,0,.3); color: #fff; text-shadow: 0 -1px 0 rgba(0,0,0,.3); font-size: 14px; line-height: 18px;}


/* Grower Groups banner */

#groups {
	text-align: center;
	margin: 40px auto 0;
	background: #fff;
	padding: 10px 0 0;
	overflow: hidden;
}

#groups .brand {
	display: inline-block;
	width: 110px;
	margin-bottom: 20px;
	text-align: center;
}

#groups .brand a {
	display: block;
}

/* Apps */

#apps {
	background: #4fb048;
	margin-bottom: 0px;
	padding: 17px;
}

#apps .app {
	float: left;
	width: 32%;
	margin-right: 2%;
}

#apps .app.last {
	margin-right: 0;
}

#apps img {border: 0; width: 100%; height: auto;}

/* Div structure */

#latest-videos .post-box,
#latest-news .post-box,
#upcoming-events .post-box {
	position: relative;
	padding-top: 10px;
	padding-bottom: 10px;
}

#latest-videos .section-title,
#latest-news .section-title,
#upcoming-events .section-title {
	margin-bottom: 10px;
}

/* Archive links */

.dig {
	position: absolute;
	bottom: 0;
	left: 45px;
}

.dig a {
	background: #fff;
	color: #4d8a67;
	font-family: 'Dosis', sans-serif;
	text-align: center;
	font-size: 14px;
	border: 1px solid #bfd5c8;
	-webkit-border-radius: 4px 4px 4px 4px;
    border-radius: 4px 4px 4px 4px;
    display: inline-block;
    width: 160px;
    height: 25px;
    line-height: 25px;
}

.dig a:hover {
	color: #4d8a67;
	border-color: #4d8a67;
}

/* Videos */
.video-container {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 30px; height: 0; 
    overflow: hidden;
}
 
.video-container iframe,
.video-container object,
.video-container embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.col-library.half h3 {
	text-align: right;
	line-height: 30px;
	font-size: 22px;
	font-family: 'Dosis', sans-serif;
	position: relative;
	top: 5px;
}

.col-library.half h3 a {
	background: url(images/ico-discuss.png) 0 4px no-repeat;
	color: #000;
	padding-left: 40px;
	display: inline-block;
}

#latest-videos {margin-bottom: 20px;}

#latest-videos .post-box { overflow: hidden; }

.col-library h3 {
	font-size: 1.2em;
	padding: 5px 0px;
}
.col-library h3 a { color: #111;}
.col-library h3 a:hover {color: #4d8a67;}

/* News */

#latest-news {
	background: #f5f8f6;
	border-top: 1px solid #bfd5c8;
	border-bottom: 1px solid #bfd5c8;
	margin-bottom: 20px;
}

.col-news {
	background: #fff;
	margin-bottom: 20px;
}

.col-news .entry {
	padding: 10px;
	height: 120px;
}

.col-news .entry h3 {
	margin: 0 0 5px 0;
	color: #111;
}

.col-news .entry h3 a {color: #111;}

.col-news .entry h3 a:hover {color: #4d8a67;}

/* Events */

#upcoming-events {}

.col-event .entry {
}

.col-event .entry h3 {
	margin: 0;
	color: #111;
}

.col-event .entry h3 a {color: #111;}

.col-event .entry h3 a:hover {color: #4d8a67;}

.col-event .meta {margin: 5px 0;}

.col-event .meta p {
	margin: 0;
	color: #bfd5c8;
	font-style: italic;
}

/* ---Mods - November 2013 ~dw--- */
.excerpt-section {
	padding: 40px 0;
}

.excerpt-section .col {
	float: left;
	width: 190px;
	margin-right: 37px;
	line-height: 1.5;
	margin-bottom: 20px;
}

.excerpt-section .col.last {
	margin-right: 0;
}

.excerpt-section h2 {
	font-size: 40px;
	line-height: 48px;
	padding-bottom: 10px;
}

.excerpt-section h3 {
	font-weight: bold;
	margin-bottom: 10px;
}

.excerpt-section h3 a {
	color: #111;
}

.excerpt-section h3 a:hover {
	color: #4d8a67;
}

.excerpt-section a.button {
	clear: both;
	background: #fff;
	color: #4d8a67;
	font-family: 'Dosis', sans-serif;
	text-align: center;
	font-size: 14px;
	border: 1px solid #bfd5c8;
	-webkit-border-radius: 4px 4px 4px 4px;
    border-radius: 4px 4px 4px 4px;
    display: block;
    width: 160px;
    height: 25px;
    line-height: 25px;
}

.excerpt-section a.button:hover {
	color: #4d8a67;
	border-color: #4d8a67;
}

.icon-camera, 
.icon-event, 
.icon-money, 
.icon-news,
.icon-speech {
	background: url(images/sprite-icons.png) no-repeat;
	display: inline-block;
}

.icon-camera {
	background-position: -1px -63px ;
	width: 40px;
	height: 28px;
}

.icon-event {
	background-position: -50px 0;
	width: 58px;
	height: 48px;
	position: relative;
	top: 7px;
}

.icon-money {
	background-position: -51px -58px ;
	width: 40px;
	height: 40px;
}

.icon-news {
	background-position: 0 0;
	width: 50px;
	height: 48px;
	position: relative;
	top: 12px;
}

.icon-speech {
	background-position: 0 -107px ;
	width: 30px;
	height: 26px;
}


/* Teasers
--------------------------------------------- */

.teaser {
	border-bottom: 1px solid #bfd5c8;
	padding: 15px 0 10px 45px;
	background: #f5f8f6;
}

.teaser.alt {
	background: #fff;
}

.teaser .entry {
	float: right;
	width: 455px;
	padding-right: 55px;
}

.teaser-thumb {
	float: left;
	width: 160px;
}

.teaser .entry {
	padding-bottom: 0;
}

.teaser h2 {
	margin: -3px 0 0;
	color: #111;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
}

.teaser h2 a {
	color: #111;
}

.teaser p {
	margin-bottom: 5px;
}

.teaser .readmore {
	float: left;
	width: 140px;
}

.teaser .branding {
	float: right;
	width: 120px;
	line-height: 25px;
	font-size: 11px;
	font-style: italic;
	text-align: right;
}

.teaser .readmore a {
	background: #fff;
	color: #4d8a67;
	font-family: 'Dosis', sans-serif;
	text-align: center;
	font-size: 14px;
	border: 1px solid #bfd5c8;
	-webkit-border-radius: 4px 4px 4px 4px;
    	border-radius: 4px 4px 4px 4px;
    	height: 25px;
    	padding: 4px 10px;
    	line-height: 25px;
}

.teaser .readmore a:hover {
	color: #4d8a67;
	border-color: #4d8a67;
}

/* Library Post Type
--------------------------------------------- */

#filter-box {
	padding: 10px 20px 8px 20px;
	background: #f5f8f6;
	border-top: 0px solid #bfd5c8;
	border-bottom: 1px solid #bfd5c8;
}

/*
ul.filter {
	float: left;
	width: 376px;
	list-style: none;
	padding-top: 3px;
}

ul.filter li {
	float: left;
}

ul.filter li a {
	padding: 5px 10px 5px 5px;
	display: block;
	font-family: 'Dosis', sans-serif;
	font-size: 14px;
}

#filter-box #searchform {
	float: left;
	width: 224px;
}
*/

#filter-box .filter {
	float: left;
	padding-right: 20px;
	padding-top: 7px;
}
#filter-box .filter select {
	margin: 0;
	height: 31px;
	padding: 5px;
	max-width: 200px;
}
#filter-box #subjects-filter select {
	width: 190px;
}
#filter-box #series-filter select {
	width: 180px;
}

#filter-box #searchform {
	float: right;
}
/* Application Directory CSS
--------------------------------------------- */

.apps{}

.app-intro{display: inline-block; position: relative;}
.app-icon, .app-meta{float:left;}
.app-meta{padding-left: 25px;}
.app-meta h2{margin-top: 0;}

.app-intro .app-meta a{
		width: 100%;
	}

.app-link{
	display: inline-block;
	text-indent: -9999px;
	margin-bottom: 9px;
}

.blackberryworld, .google_play, .itunes, .windows{
	background: url('images/app_icons/sprites.png') no-repeat;
}

.blackberryworld{
	background-position: 0 -102px ;
	width: 100px;
	height: 35px;
}

.google_play{
	background-position: 0 -64px ;
	width: 100px;
	height: 35px;
}

.itunes{
	background-position: 0 -28px ;
	width: 100px;
	height: 33px;
}

.windows{
	background-position: 0 0;
	width: 100px;
	height: 26px;
}


/* Star rating
--------------------------------------------- */

.star-rating{
	padding: 20px 0;
}


/* Grower Groups single post
--------------------------------------------- */

.group-details {
	margin: 0 0 20px;
	width: 100%;
}

.group-details tr {
	background: #f5f8f6; 
}

.group-details tr.alt {
	background: #fff;
}

.group-details th {
	width: 150px;
	font-weight: bold;
	text-align: left;
	padding: 10px;
}

.group-details td {
	padding: 10px;
}

#transcript {
	background: #f5f8f6;
	padding: 5px 10px 10px;
	margin: 20px 0;
}

@media only screen and (min-width: 1025px) {
	.wrapper {width: 1000px;}
	
	.half {
		float: left;
		width: 440px;
		margin-right: 30px;
	}
	
	.third {
		float: left;
		width: 270px;
		margin-right: 40px;
	}
	
	.quarter {
		float: left;
		width: 205px;
		margin-right: 30px;
	}
	
	#sidebar {
		float: left;
		width: 215px;
		margin-left: 55px;
		margin-right: 50px;
	}
	
	#content {
		float: right;
		width: 680px;
	}
	
	.no-sidebars #content {
		float: none;
		width: 1000px;
	}
	
	.post-box {
		padding-left: 45px;
		padding-right: 45px;
	}

	#header #searchform {display: block;}

}

@media screen and (max-width: 1024px) {
	
	body {
		width: 95%;
		padding: 0;
		margin: auto;
	}

	.wrapper {
		width: 95%;
		margin: 0 auto;
	}
	
	#main.page {background-image: none;}
	
	#banner {display: none;}

	.menu > li > a { padding: 10px 10px;}

	#home-content p {font-size: 12px;}
	
	#content {
		width: 100%;
	}
	
	.post-box {
		padding-left: 10px;
		padding-right: 10px;
	}
	
	.no-sidebars #content {
		width: 100%;
	}
	
	#tagline {font-size: 15px;}
	
	#apps {display: none;}
	
	.col-library {margin-bottom: 10px;}
	
	.quarter {
		float: left;
		width: 24%;
		margin-right: 1%;
	}
	
	.quarter img {
		max-width: 100%;
	}
	
	#sidebar {padding: 0 45px 20px;}
	
	.grid #tribe-events-calendar-header {width: 810px; }
	
	#tribe-events-calendar-header {margin-left: 0; margin-right: 0;}

}


@media screen and (max-width: 768px) {
	.grid #tribe-events-calendar-header {width: 580px; }
}

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

	.wrapper {
		width: 95%;
		margin: 0 auto;
	}
	
	#main.page {background-image: none;}
	
	
	#header {height: 160px; background: #008f4c; text-align: center;}
	
	#logo {float: none; text-align: center; margin-left: 0;}
	
	#logo a {text-align: center; width: 222px; margin: 0 auto;}
	
	#tagline {font-size: 13px;position: static; text-align: center;}
	
	.half,
	.third,
	.quarter {
		float: none;
		width: 100%;
		margin-right: 0;
	}
	
	.quarter img {width: 100%;}

	#home-content p {font-size: 12px;}
	
	#content {
		width: 100%;
	}
	
	.post-box {
		padding-left: 10px;
		padding-right: 10px;
	}
	
	.no-sidebars #content {
		width: 100%;
	}

	#sidebar {
		float: none;
		width: 90%;
		margin-left: auto;
		margin-right: auto;
		padding-left: 0;
	}
	
	#top-area, #apps {display: none;}
	
	#slider {height: auto;}
	
	
	.flexslider {
		display: none;
	}
	
	#home-content {
		position: static;
		height: auto;
		width: 100%;
		margin-bottom: 0;
		padding: 0 0 10px;
	}
	
	#home-content h1 {
		font-size: 20px;
		padding: 10px;
	}
	
	#home-content p {
		padding: 0 10px;
		margin-bottom: 10px;
	}

	.excerpt-section .col {
		float: none;
		width: 100%;
		margin-right: 0;
	}

	.col-library {
		margin-bottom: 10px;
	}
	.col-news .entry {
		height: auto;	
	}

	.col-library.half h3 {
		text-align: left;
	}

	.dig {
		position: relative;
		left: 0;
		top: 0;
		margin: 0 auto 10px;
		text-align: center;
	}

	#groups .brand {
		-moz-box-sizing: border-box;
		-webkit-box-sizing: border-box;
		box-sizing: border-box;
		width: 28%;
		padding: 2%;
	}

	#groups .brand img {
		width: 100%;
		height: auto;
	}
	
	#footer {
		padding-left: 0px;
		padding-right: 0px;
	}
	
	#footer .third {
		-moz-box-sizing: border-box;
		-webkit-box-sizing: border-box;
		box-sizing: border-box;
		padding-left: 10px;
		padding-right: 10px;
		width: 100%;
	}

	#footer-widgets .button-holder img {
		width: 100%;
		height: auto;
	}
	
	#text-6 {display: none;}
	
	#bottom-area .left {
		float: none;
		width: 100%;
		margin: 10px;
		text-align: center;
	}
	
	p.copyright {text-align: center;}
	
	#bottom-area .right {
		display: none;
	}
	
	ul.social {
		margin: 0 0 10px;
	}
	
	
	/* Inner Pages */
	
	#banner {display: none;}
	
	.teaser-thumb {
		float: none;
		width: 264px;
	}
	
	.teaser .entry {
		float: none;
		width: 264px;
		padding-right: 0;
	}
	
	ul.filter li {
		float: left;
	}
	
	.grid #tribe-events-calendar-header {width: 250px !important;}
	
	#tribe-events-calendar-header {margin-left: 0; margin-right: 0;padding: 10px 10px;}
	.grid #tribe-events-calendar-header { width: 180px !important; }

	textarea { width: 90%; }

	.apps #gallery-1 .gallery-item{float: none; display: inline;}

	.app-intro,
	.app-icon,
	.app-meta{
		width: 100%;
	}

	.app-intro .app-icon{
		text-align: center;
	}

	.app-intro .app-icon img{
		width: 80%;
		height: auto;
	}

	.app-intro .app-meta a{
		width: 49%;
	}

	.star-rating{
		text-align: center;
	}
	
}

/* Mobile Menu Media Query
---------------------------------------- */
@media only screen and (max-width: 767px) {
	#header-nav {margin: 10px 0px 0;}
	
	.menu_control { 
		-webkit-box-sizing: border-box;
		-moz-box-sizing: border-box; 
		box-sizing: border-box; 
		display: block; 
		width: 100%; 
		border-width: 0; 
		background: #000; 
		color: #fff; 
		padding: 10px; 
		cursor: pointer; 
		font-weight: bold; 
	}
	
	#header-nav ul { display: none; padding: 0; }
	#header-nav ul.show_menu { display: block; }
	
	#header-nav ul,
	#header-nav ul li,
	#header-nav ul li a { float: none; background: transparent; border: none; }
	#header-nav ul > li { border-bottom: 1px solid #666; }
	#header-nav ul li a,
	#header-nav ul li.active a,
	#header-nav ul li a:hover,
	#header-nav ul li:hover a { border: none; padding: 5px 10px; line-height: 150%; background: transparent; background-image: none; }
	#header-nav ul li:hover a {	color: #008F4D; }
	
	/* Initial reset and hide sublevels in mobile view */
	#header-nav ul.sub-menu,
	#header-nav ul.sub-menu li,
	#header-nav ul.sub-menu li:hover,
	#header-nav ul.sub-menu li a,
	#header-nav ul.sub-menu li a:hover { 
		display: none;
		position: relative; 
		width: 94%;
		left: 0px; 
		line-height: 100%; 
		background: none; 
		border: none; 
		border-style: none; 
		box-shadow:none; 
		padding: 0 3%; 
		margin: 0; 
		height: auto; 
		background-image: none; 
		background-color: #fff;
	}
	
	#header-nav ul.sub-menu li a,
	#header-nav ul.sub-menu li a:hover { padding: 6px 0px 6px 0px; }
	
	#header-nav li:hover ul.sub-menu,
	#header-nav li:hover ul.sub-menu li,
	#header-nav li:hover ul.sub-menu li a { display: inline-block; }
	
	#header-nav ul > li.current-menu-item > a { background-color: #d9e6de; color: #008F4D; }

	#header {
		overflow: hidden;
		height: auto;
	}

	#header #searchform {
		float: none;
		margin: 10px 0 20px;
		display: block;
		text-align: center;
	}

	#filter-box .filter {
		float: none;
		padding-right: 0;
		padding-top: 7px;
		display: block;
		width: 100%;
		text-align: center;
	}

	#filter-box #searchform {
		float: none;
		width: 100%;
		text-align: center;
		margin: 10px 0;
	}

	.teaser { padding: 10px; }

	#bottom-area .left { margin: 10px 0; }

	.copyright { line-height: 1; }
}