  /*
	Theme Name: Grind Child Theme
	Theme URL: http://themedy.com/themes/grind
	Description: A fully responsive business and portfolio theme from Themedy!
	Author: Themedy
	Author URI: http://www.themedy.com
	Version: 1.2
	Template: genesis
*/

/* Table of Contents

* Defaults
* Hyperlinks
* Body
* Wrap
* Header
* Image Header - Partial Width
* Primary Navigation
* Primary Navigation Extras
* Inner
* Secondary Area
* Homepage
* Breadcrumb
* Taxonomy Description
* Content-Sidebar Wrap
* Content
* Column Classes
* Headlines
* Ordered / Unordered Lists
* Post Info
* Author Box
* Sticky Posts
* Archive Page
* Post Icons
* Images
* Post Navigation
* Primary / Secondary Sidebars
* Dropdowns
* Featured Page / Post
* User Profile
* Buttons
* Search Form
* Widgets
* Footer Widgets
* Comments
* Gravity Forms
* Portfolio Template
* Responsive Design

*/


/* Defaults
------------------------------------------------------------ */

body,
h1,
h2,
h2 a,
h2 a:visited,
h3,
h4,
h5,
h6,
p,
select,
textarea {
	color: #222;
	font-family: "Open Sans", "Helvetica Neue", Arial, Helvetica, sans-serif;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.5625;
	margin: 0;
	padding: 0;
	text-decoration: none;
}

blockquote,
input,
select,
textarea,
.breadcrumb,
.sticky,
.taxonomy-description,
.wp-caption {
	background-color: #fff;
	border: 1px solid #ddd;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
}

input,
label,
select,
textarea {
	color: #333;
	font-family: "Helvetica Neue", Arial, Helvetica, sans-serif;
	font-size: 14px;
	font-weight: 300;
}

li,
ol,
ul {
	margin: 0;
	padding: 0;
}

ol li {
	list-style-type: decimal;
}


/* Hyperlinks
------------------------------------------------------------ */

a {
	color: #0073E6;
	text-decoration: underline;
	-webkit-transition: color .4s ease-in-out;
	-moz-transition: color .4s ease-in-out;
	-ms-transition: color .4s ease-in-out;
	-o-transition: color .4s ease-in-out;
	transition: color .4s ease-in-out;
}

a:hover,
a:focus {
	color: #000;
	text-decoration: none;
}

a img {
	border: none;
}


/* Wrap
------------------------------------------------------------ */

#wrap {
	padding: 0;
}

.wrap {
	width: 1060px;
	margin: 0 auto;
	clear: both;
}


/* Header
------------------------------------------------------------ */

#header {
	margin: 0 auto;
	width: 100%;
	color: #582c83;
	border-bottom: 5px solid #84c900;
	min-height: 75px;
}

#title-area {
	float: left;
	overflow: hidden;
	margin-right: 20px;
}

#title {
	font-size: 30px;
	line-height: 1.25;
	margin: 0;
	font-weight: 600;
}

#title a,
#title a:hover {
	color: #582c83 !important;
	text-decoration: none;
	padding: 20px;
	display: block;
}


#title a,
body.header-image #header #title-area a {
	background-color: #84c900;
	-webkit-transition: background-color .5s ease-in-out;
	-moz-transition: background-color .5s ease-in-out;
	-ms-transition: background-color .5s ease-in-out;
	-o-transition: background-color .5s ease-in-out;
	transition: background-color .5s ease-in-out;
}

#title a:hover,
body.header-image #header #title-area a:hover {
}
	

#description {
	display: none;
}

#header .widget-area {
	display: none;
}


/* Image Header - Partial Width
------------------------------------------------------------ */

.header-image #title-area,
.header-image #title,
.header-image #title a {
	display: block;
	float: left;
	overflow: hidden;
	padding: 0;
	text-indent: -9999px;
}

.header-image #description {
	display: block;
	overflow: hidden;
}


/* Primary Navigation
------------------------------------------------------------ */

#nav {
	color: #dcdcdc;
	font-family: "Open Sans", "Helvetica Neue", Arial, Helvetica, sans-serif;
	font-weight: 600;
	text-transform: uppercase;
}

#nav ul.menu {
	float: right;
	width: auto;
	padding-top: 30px;
}

#nav ul.nav, #nav div.nav, #nav .nav { 
	float: right;
	width: auto;
}

#nav .wrap {
	clear: none;
	padding: 0;
	background: none;
	width: auto;
}

#nav li {
	float: left;
	list-style-type: none;
}

#nav li a {
	color: #ddd;
	display: block;
	font-size: 13px;
	position: relative;
	text-decoration: none;
	line-height: 22px;
	margin-left: 30px;
}

#nav li:first-child a {
	margin-left: 0;
}

#nav li li a {
	margin: 0;
	text-shadow: none;
	line-height: 20px;
	text-transform: none;
	
}

#nav li:hover a,
#nav li a:hover,
#nav li a:active,
#nav .current_page_item a,
#nav .current-cat a,
#nav .current-menu-item a {
	color: #fff;
}


#nav li li a,
#nav li li a:link,
#nav li li a:visited {
	background-color: #fff;
	border: 1px solid #ddd;
	border-top-width: 0;
	color: #888;
	font-size: 10px;
	padding: 5px 10px;
	position: relative;
	width: 158px;
}

#nav li li a:hover,
#nav li li a:active,
#nav li .current_page_item a,
#nav li .current-cat a,
#nav li .current-menu-item a {
	background-color: #f7f7f7;
	color: #333;
	border-color: #e6e6e6;
}

#nav li ul {
	height: auto;
	left: -9999px;
	position: absolute;
	width: 180px;
	z-index: 9999;
}

#nav li ul a {
	width: 160px;
}

#nav li ul ul {
	margin: -31px 0 0 179px;
}

#nav li:hover>ul,
#nav li.sfHover ul {
	left: auto;
}

#nav .sub-menu {
	border-top: 1px solid #e6e6e6;
}

.sf-sub-indicator {
	display: none;
}

#mobile-menu {
	clear: both;
	padding: 20px;
	text-align: center;
	display: none;
}

#mobile-menu select {
	width: 90%;	
	background: #fff;
	border: 3px solid #222;
	padding: 8px 5px;
	display: inline-block;
	-webkit-box-shadow:  0px 3px 0px 0px rgba(0, 0,0, 0.15);
	-mox-box-shadow:  0px 3px 0px 0px rgba(0, 0,0, 0.15);
	box-shadow:  0px 3px 0px 0px rgba(0, 0,0, 0.15);
	-webkit-appearance: none;
	height: 45px;
	font-size: 14px;
}


/* Primary Navigation Extras
------------------------------------------------------------ */

.menu li.right {
	margin-left: 30px;
	font-size: 13px;
    line-height: 22px;
	color: #fff;
}

.menu li.right a {
	background: none;
	border: none;
	color: #333;
	display: inline;
	text-decoration: none;
}

.menu li.right a:hover {
	color: #0d72c7;
	text-decoration: none;
}

.menu li.date {
	font-weight: 300;
}

.menu li.rss {
	margin-left: 0;
}

.menu li.rss a {
	background: url(/giving/wp-content/themes/grind/images/rss.png) no-repeat center left;
	margin: 0 0 0 10px;
	padding: 0 0 0 16px;
	display: inline-block;
	float: left;
}

.menu li.twitter {
	margin-left: 0;
}

.menu li.twitter a {
	background: url(/giving/wp-content/themes/grind/images/twitter-nav.png) no-repeat center left;
	padding: 0 0 0 20px;
}


/* Inner
------------------------------------------------------------ */

#inner {
	margin: 0 auto;
	overflow: hidden;
	clear: both;
}

#inner .wrap {
	padding: 60px 0;
}


/* Secondary Area
------------------------------------------------------------ */

#secondary_area {
	padding: 40px 0;
	background: #fff;
	border-bottom: 1px solid #eee;
	-webkit-box-shadow:  0px 5px 0px 0px rgba(210, 210,210, 0.1);
	-mox-box-shadow:  0px 5px 0px 0px rgba(210, 210,210, 0.1);
	box-shadow:  0px 5px 0px 0px rgba(210, 210,210, 0.1);
}

#secondary_area .wrap h2, 
#secondary_area .wrap h1 {
	margin: 0;
	font-size: 22px;
	font-weight: 600;
}

#secondary_area .content {
	margin-top: 20px;
}

#secondary_area .content,
#secondary_area .content p {
	font-family: Georgia, "Times New Roman", Times, serif;
	font-size: 20px;
    line-height: 36px;
}

/* Homepage
------------------------------------------------------------ */

.homepage_template #inner {
	display: none;
}

.slider_enabled #header {
	z-index: 99999;
	position: absolute;
	background: url(/giving/wp-content/themes/grind/images/bg-header_slider.png) repeat-x top;
	border: none;
	-webkit-box-shadow: none;
	-mox-box-shadow:  none;
	box-shadow: none;
}

#featured-area {
	min-height: 75px;
	width: 100%;
	top: 0;
	z-index: 1;
	background: #222;
}

.homepage-row .widgettitle,
#secondary_area h1,
#secondary_area h2,
.comments-title,
#reply-title,
.flex-caption h1,
.flex-caption h2,
.flex-caption h3 {
	background: #62696f;
	display: inline-block;
	*display: inline;
	zoom: 1;
	padding: 10px 25px;
	color: #fff;
	text-transform: uppercase;
	line-height: 42px;
	margin-bottom: 40px;
	font-weight: 300;
	font-size: 36px;
}

.homepage-row p, 
.homepage-row {
	font-family: Georgia, "Times New Roman", Times, serif;
	font-size: 20px;
	line-height: 36px;
}

.homepage_template .section {
	clear: both;
	padding: 40px 0;
}

.section p {
	margin-bottom: 20px;
}

#section-3 img {
	margin-bottom: 20px;
}

#section-3 h4 {
	font-weight: 300;
}

.section-columns {
	padding-top: 20px;
	margin-top: 50px;
	background: url(/giving/wp-content/themes/grind/images/bg-sectionsep.png) no-repeat top, url(/giving/wp-content/themes/grind/images/bg-sectionsep.png) no-repeat bottom;
}

.portfolio-grid {
  width: 100%;
}

.portfolio-grid li {
  width: 265px;
  margin: 0;
  padding: 0;
  float: left;
  text-align: center;
  height: 200px;
  overflow: hidden;
  list-style: none;
}

.portfolio-grid li img {
  display: block;
}

.portfolio-grid li img:focus {
	border: 1px solid #999;
}

#portfolio-area {
	background: url(/giving/wp-content/themes/grind/images/bg-section.png) repeat;
	color: #fff;
	border: 5px solid #1a1b1d;
	border-width: 5px 0;
}

#portfolio-area .homepage-row .widgettitle,
.flex-caption h1,
.flex-caption h2,
.flex-caption h3 {
	background: #fff;
	color: #272626;
	text-shadow: none;
}

#portfolio-items {
	clear: both;
}

#portfolio-controls {
	margin-top: 20px;
	float: right;
	*display: none;
}

#portfolio-controls li {
	float: left;
	list-style: none; margin: 0 0 0 10px;
}

#portfolio-controls a {
	background: url(/giving/wp-content/themes/grind/images/bg-button_dark.png) repeat-x top;
	display: inline-block;
	color: #1e2021;
	font-family: "Open Sans", "Helvetica Neue", Arial, Helvetica, sans-serif;
	font-weight: 700;
	font-size: 11px;
	line-height: 25px;
	padding: 0 15px;
	text-decoration: none;
	text-shadow: 1px 1px 0 rgba(255,255,255,.15);
	border: 1px solid #282a2c;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	-webkit-box-shadow:  0px 1px 2px 0px rgba(0, 0, 0, .25);
	-mox-box-shadow:  0px 1px 2px 0px rgba(0, 0, 0, .25);
    box-shadow:  0px 1px 2px 0px rgba(0, 0, 0, .25);
}

#portfolio-controls li.selected a, 
#portfolio-controls a:hover {
	background-position: 0 -100px;
}

#portfolio-controls a:active,
#portfolio-controls li.selected a:active {
	background-position: bottom;
}

.flex-caption,
.flex-caption p {
	font-size: 16px;
	font-weight: 600;
}

.flex-caption,
.flex-caption p {
	margin-bottom: 20px;
	line-height: 30px;
	color: #fff;
}

.flex-caption a {
	color: #ddd;
}

.flex-caption a:hover {
	text-decoration: underline;
}


.flex-caption h4,
.flex-caption h5,
.flex-caption h6 {
	color: #fff;
	font-size: 60px;
	line-height: 80px;
	margin-bottom: 20px;
}

.flex-caption h1,
.flex-caption h2,
.flex-caption h3 {
	margin-bottom: 20px;
}

.flex-caption .button {
	padding: 15px 25px;
	text-shadow: none;
	text-transform: uppercase;
	font-size: 16px;
	font-weight: 600;
}


.flexslider .slides .flex-caption img {
	max-width: 50%;
	margin-bottom: 0;
}

.flex-caption img {
	max-width: 50%;
}

.flexslider:hover .flex-direction-nav {
	opacity: 1;
}

.flexslider .flex-direction-nav {
	opacity: 0;
	-webkit-transition: opacity .25s ease-in-out;
	-moz-transition: opacity .25s ease-in-out;
	-ms-transition: opacity .25s ease-in-out;
	-o-transition: opacity .25s ease-in-out;
	transition: opacity .25s ease-in-out;
}

.flexslider .flex-direction-nav li a {
	background-color: #555;
}

.flexslider .flex-direction-nav li a:hover {
	background-color: #84c900;
}

.flex-caption .slider_content {
	/*float: right;*/
	margin: 0 auto;
    position: relative;
    /*width: 45%;*/
    z-index: 1;
}

.flexslider .no-background .flex-caption {
	padding-bottom: 60px;
}
	

/* Breadcrumb
------------------------------------------------------------ */

.breadcrumb {
	font-size: 14px;
	margin: -10px 0 30px;
	padding: 5px 10px;
}


/* Taxonomy Description
------------------------------------------------------------ */

.taxonomy-description {
	background-color: #fff;
	margin: -10px 0 30px;
	padding: 0 0 15px;
}

.taxonomy-description p {
	font-size: 14px;
	padding: 15px 15px 0;
}


/* Content-Sidebar Wrap
------------------------------------------------------------ */

#content-sidebar-wrap {
	float: left;
	width: 790px;
}

.content-sidebar #content-sidebar-wrap,
.full-width-content #content-sidebar-wrap,
.sidebar-content #content-sidebar-wrap {
	width: 100%;
}

.sidebar-content-sidebar #content-sidebar-wrap,
.sidebar-sidebar-content #content-sidebar-wrap {
	float: right;
}


/* Content
------------------------------------------------------------ */

#content {
	float: left;
	width: 510px;
}

.content-sidebar #content,
.sidebar-content #content {
	width: 780px;
}

.sidebar-content #content,
.sidebar-sidebar-content #content {
	float: right;
}

.full-width-content #content {
	width: 100%;
}

.entry-title {
	clear: both;
}

.post,
#wrap .page, 
.hentry {
	margin: 0 0 40px;
	position: relative;
}

.page-template-page_blog-php .hentry, 
.search-results .hentry {
	padding-left: 120px;
}

.post-date {
	position: absolute;
	left: 0; 
	top: 0;
	width: 90px;
	background: #26282B;
	text-transform: uppercase;
	text-align: center;
}

.post-date .container {
	color: #fff;
	font-family: "Open Sans", "Helvetica Neue", Arial, Helvetica, sans-serif;
	padding: 10px 5px;
	font-size: 14px;
}

.post-date .day {
	font-size: 50px;
	line-height: 40px;
}

.entry-content p {
	margin: 0 0 25px;
}

blockquote {
	background: url(/giving/wp-content/themes/grind/images/blockquote.png) left no-repeat;
	border: none;
	margin: 5px 5px 20px;
	padding: 25px 30px 5px 70px;
}

blockquote p {
	color: #999;
	font-style: italic;
}

p.subscribe-to-comments {
	padding: 20px 0 10px;
}

.clear {
	clear: both;
}

.clear-line {
	border-bottom: 1px solid #ddd;
	clear: both;
	margin: 0 0 25px;
}

.clear-line-purple {
	border-bottom: 3px solid #582c83;
	clear: both;
	margin: 0 0 25px;
}



/* Column Classes
------------------------------------------------------------ */

.five-sixths,
.four-fifths,
.four-sixths,
.one-fifth,
.one-fourth,
.one-half,
.one-sixth,
.one-third,
.three-fifths,
.three-fourths,
.three-sixths,
.two-fifths,
.two-fourths,
.two-sixths,
.two-thirds {
	float: left;
	margin: 0 0 20px;
	padding-left: 3%;
}

.one-half,
.three-sixths,
.two-fourths {
	width: 48%;
}

.one-third,
.two-sixths {
	width: 31%;
}

.four-sixths,
.two-thirds {
	width: 65%;
}

.one-fourth {
	width: 22.5%;
}

.three-fourths {
	width: 73.5%;
}

.one-fifth {
	width: 17.4%;
}

.two-fifths {
	width: 37.8%;
}

.three-fifths {
	width: 58.2%;
}

.four-fifths {
	width: 78.6%;
}

.one-sixth {
	width: 14%;
}

.five-sixths {
	width: 82%;
}

.first {
	clear: both;
	padding-left: 0;
}

@media only screen and (max-width: 671px) {
	.column-reverse {
		display: flex;
		flex-direction: column-reverse;
	}
}

/* Headlines
------------------------------------------------------------ */

h1,
h2,
h2 a,
h3,
h4,
h5,
h6 {
	line-height: 1.25;
	margin: 0 0 10px;
	font-family: "Open Sans", "Helvetica Neue", Arial, Helvetica, sans-serif;
	font-weight: 600;
}

h1,
h2,
h2,
h3,
h4,
h5,
h6 {
	color: #333;
}

h1 {
	font-size: 26px;
}

.taxonomy-description h1 {
	margin: 0;
}

h2,
h2 a {
	font-size: 24px;
}

h2 a,
h2 a:visited {
	color: #333;
}

h2 a:hover {
	color: #582c83;
	text-decoration: none;
}

.widget-area h2,
.widget-area h2 a {
	font-size: 14px;
	margin: 0 0 5px;
}

h3 {
	color: #582c83;
	font-size: 22px;
}

h4 {
	font-size: 20px;
}

.taxonomy-description h1 {
	background-color: #f5f5f5;
	border-bottom: 1px solid #ddd;
	font-size: 14px;
	padding: 9px 10px 8px;
}

.widget-area h4 a {
	color: #333;
	text-decoration: none;
}

#footer-widgets h4 {
	background: none;
	border: none;
	padding: 0;
	color: #fff;
	font-weight: 700;
}

h5 {
	font-size: 18px;
}

.icon {
	padding-left: 40px;
	line-height: 36px;
	font-weight: 300;
	margin-bottom: 20px;
	background-position: left center;
	background-repeat: no-repeat;
}

.icon-1 { background-image: url(/giving/wp-content/themes/grind/images/icon-1.png); }
.icon-2 { background-image: url(/giving/wp-content/themes/grind/images/icon-2.png); }
.icon-3 { background-image: url(/giving/wp-content/themes/grind/images/icon-3.png); }
.icon-4 { background-image: url(/giving/wp-content/themes/grind/images/icon-4.png); }
.icon-5 { background-image: url(/giving/wp-content/themes/grind/images/icon-5.png); }
.icon-6 { background-image: url(/giving/wp-content/themes/grind/images/icon-6.png); }
.icon-7 { background-image: url(/giving/wp-content/themes/grind/images/icon-7.png); }
.icon-8 { background-image: url(/giving/wp-content/themes/grind/images/icon-8.png); }
.icon-9 { background-image: url(/giving/wp-content/themes/grind/images/icon-9.png); }
.icon-10 { background-image: url(/giving/wp-content/themes/grind/images/icon-10.png); }


/* Ordered / Unordered Lists
------------------------------------------------------------ */

.entry-content ol,
.entry-content ul {
	margin: 0;
	padding: 0 0 25px;
}

.archive-page ul li,
.entry-content ul li {
	list-style-type: square;
	margin: 0 0 0 30px;
	padding: 0;
}

.entry-content ol li {
	margin: 0 0 0 35px;
}

.archive-page ul ul,
.entry-content ol ol,
.entry-content ul ul {
	padding: 0;
}


/* Post Info
------------------------------------------------------------ */

.post-info,
.post-meta {
	font-size: 12px;
	margin: 0 0 15px;
	padding-bottom: 15px;
	border-bottom: 1px solid #ddd;
	font-family: "Open Sans", "Helvetica Neue", Arial, Helvetica, sans-serif;
	font-weight: 300;
	text-transform: uppercase;
	color: #aaa;
	clear: both;
}

.post-meta {
	border-top: 1px solid #ddd;
	padding: 15px 0 0;
	border-bottom: none;
	margin: 0;
}

.post-info a,
.post-meta a {
	color: #666;
}

.post-info a:hover,
.post-meta a:hover {
	color: #000;	
}


/* Author Box
------------------------------------------------------------ */

.author-box {
	margin: 0 0 80px;
	overflow: hidden;
	padding-top: 15px;
	border-top: 1px solid #ddd;
}

.author-box p {
	font-size: 14px;
}


/* Sticky Posts
------------------------------------------------------------ */

.sticky {
	background-color: #f5f5f5;
	margin: -10px 0 40px;
	padding: 20px;
}


/* Archive Page
------------------------------------------------------------ */

.archive-page {
	float: left;
	padding: 20px 0 0;
	width: 45%;
}


/* Post Icons
------------------------------------------------------------ */

.post-comments,
.tags {
	border-left: 1px solid #ddd;
	margin: 0 0 0 10px;
	padding: 0 0 0 10px;
}


/* Images
------------------------------------------------------------ */

img {
	height: auto;
	max-width: 100%;
}

.featuredpage img,
.featuredpost img {
/*	background-color: #f5f5f5;
	border: 1px solid #ddd; */
	padding: 4px;
}

.author-box .avatar {
	background-color: #fff;
	float: left;
	margin: 0 10px 0 0;
}

.hentry .post-image {
	margin: 0 0 20px 0;
	width: 100%;
	float: none;
}

img.centered,
.aligncenter {
	display: block;
	margin: 0 auto 10px;
}

img.alignnone {
	display: inline;
	margin: 0 0 10px;
}

img.alignleft {
	display: inline;
	margin: 0 15px 10px 0;
}

img.alignright {
	display: inline;
	margin: 0 0 10px 15px;
}

.alignleft {
	float: left;
	margin: 0 15px 10px 0;
}

.alignright {
	float: right;
	margin: 0 0 10px 15px;
}

.alignbottom,
.flexslider .slides .flex-caption img.alignbottom {
	position: absolute;
	bottom: 0;
	max-width: 70%;
}

.wp-caption {
	padding: 5px;
	text-align: center;
}

p.wp-caption-text {
	font-size: 14px;
	margin: 5px 0;
}

.wp-smiley,
.wp-wink {
	border: none;
	float: none;
}

.gallery-caption {
}


/* Post Navigation
------------------------------------------------------------ */

.navigation {
	overflow: hidden;
	width: 100%;
	border-top: 1px solid #ddd;
	padding-top: 60px;
	text-transform: uppercase;
	color: #aaa;
	font-weight: 600;
}

#comments .navigation {
	padding: 0;
	border: none;
}

.navigation a,
.navigation .a,
.navigation li a,
.navigation li.disabled,
.navigation li a:hover,
.navigation li.active a {
	background: #333;
	color: #fff;
	padding: 6px 10px;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	-webkit-transition: background-color .3s ease-in-out;
	-moz-transition: background-color .3s ease-in-out;
	-ms-transition: background-color .3s ease-in-out;
	-o-transition: background-color .3s ease-in-out;
	transition: background-color .3s ease-in-out;
}

.navigation a:hover,
.navigation a:hover,
.navigation li a:hover,
.navigation li.active a {
	background: #84c900;
	color: #fff;
}

.navigation li {
	display: inline;
	line-height:30px;
}

/* Primary / Secondary Sidebars
------------------------------------------------------------ */

.sidebar {
	display: inline;
	float: right;
	font-size: 12px;
	width: 250px;
}

#sidebar-alt {
	float: left;
	width: 240px;
}

.sidebar a {
	color: #222;
}

.sidebar a:hover {
	color: #000;
}

.sidebar-content #sidebar,
.sidebar-sidebar-content #sidebar {
	float: left;
}

.content-sidebar-sidebar #sidebar-alt {
	float: right;
}

.sidebar p {
	font-size: inherit;
}

.sidebar p,
.sidebar h1,
.sidebar h2,
.sidebar h3,
.sidebar h4,
.sidebar h5,
.sidebar h6 {
	color: #666;
}

.sidebar .widget {
	margin: 0 0 50px;
	overflow: hidden;
	clear: both;
}

.sidebar.widget-area ul li,
#footer-widgets .widget-area ul li {
	border-bottom: 1px solid #ddd;
	list-style-type: none;
	margin: 0 0 10px;
	padding: 0 0 10px;
	word-wrap: break-word;
}

.sidebar.widget-area ul ul li {
	border: none;
	margin: 0;
}

.sidebar h4.widgettitle {
	margin-bottom: 15px;
	font-weight: 400;
	text-transform: uppercase;
	font-size: 14px;
	color: #333;
}


/* Dropdowns
------------------------------------------------------------ */

.widget_archive select,
#cat {
	display: inline;
	margin: 5px 0 0 0;
	padding: 3px;
	width: 85%;
}


/* Featured Page / Post
------------------------------------------------------------ */

.featuredpage,
.featuredpost {
	clear: both;
	margin: 0 0 15px;
	overflow: hidden;
}

/*.featuredpage .page,
.featuredpost .post {
	border-bottom: 1px solid #ddd;
	margin: 0 0 5px;
	overflow: hidden;
	padding: 0 15px 10px;
}*/

#footer-widgets .featuredpage .page,
#footer-widgets .featuredpost .post {
	margin: 0 0 10px;
	padding: 0;
}

.more-from-category {
	padding: 5px 15px 0;
}


/* User Profile
------------------------------------------------------------ */

.user-profile {
	overflow: hidden;
}

.user-profile p {
	padding: 5px 15px 0;
}

.user-profile .posts_link {
	padding: 0 15px;
}


/* Buttons
------------------------------------------------------------ */

input[type="button"],
input[type="submit"],
a.button,
.button,
.reply a {
	background: #84c900;
	border: none;
	cursor: pointer;
	line-height: 20px;
	text-decoration: none;
	color: #fff !important;
	padding: 6px 10px;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	-webkit-transition: background-color .3s ease-in-out;
	-moz-transition: background-color .3s ease-in-out;
	-ms-transition: background-color .3s ease-in-out;
	-o-transition: background-color .3s ease-in-out;
	transition: background-color .3s ease-in-out;
	display: inline-block;
}

input:hover[type="button"],
input:hover[type="submit"],
a.button:hover,
.button:hover,
.reply a:hover {
	background: #333;
	text-decoration: none;
}

.center-btn {
	background: #582c83;
  	color: #fff;
  	display: block;
  	margin: 0 auto;
  	padding: 10px 20px;
  	text-align: center;
 	text-decoration: none;
  	text-transform: uppercase;
  	width: fit-content;
}

.center-btn:hover {
  	background: #555;
  	text-decoration: none;
}

.center-btn:visited {
	color: #fff;
}

.center-full-btn {
	background: #582c83;
  	color: #fff;
  	display: block;
  	margin: 0 auto;
  	padding: 10px 20px;
  	text-align: center;
 	text-decoration: none;
  	text-transform: uppercase;
}

.center-full-btn:hover {
  	background: #555;
  	text-decoration: none;
}

.center-full-btn:visited {
	color: #fff;
}


/* Search Form
------------------------------------------------------------ */

.s {
	padding: 6px 5px;
	width: 160px;
	margin-right: -7px;
}

#nav .s {
	background-color: #fff;
	margin: 2px -7px 0 0;
}


/* Widgets
------------------------------------------------------------ */

.enews p {
	padding: 0 0 5px 0;
}

.enews #subbox {
	margin: 5px -7px 0 0;
	padding: 6px 5px;
	width: 75%;
}

#wp-calendar {
	width: 100%;
}

#wp-calendar caption {
	font-size: 12px;
	font-style: italic;
	padding: 2px 5px 0 0;
	text-align: right;
}

#wp-calendar thead {
	background-color: #f5f5f5;
	font-weight: bold;
	margin: 10px 0 0;
}

#wp-calendar td {
	background-color: #f5f5f5;
	padding: 2px;
	text-align: center;
}

.latest-tweets ul {
	margin: 0;
}

.sidebar .latest-tweets ul li {
	list-style: none;
	padding-left: 40px;
	background: url(/giving/wp-content/themes/grind/images/twitter-sidebar.png) 0 5px no-repeat;
	margin-bottom: 10px;
	font-size: 12px;
	border: none;
}

.latest-tweets ul li.last {
	background: none;
	padding: 0;
	border: none;
	margin: 0;
	font-weight: bold;
}

#flickr_badge_wrapper {
	width: 270px;
}

flickr_badge_image {
	width: auto;
}

.flickr_badge_image img {
	width: auto;
	float: left;
	margin: 0 10px 10px 0;
	display: inline-block;
	zoom: 1;
}

.themedy_video_desc {
	margin-top: 10px;
	font-size: 11px;
}


/* Footer Widgets
------------------------------------------------------------ */

#footer-widgets {
	background: url(/giving/wp-content/themes/grind/images/bg-footer.png) #84C900;
	clear: both;
	font-size: 13px;
	margin: 0 auto;
	overflow: hidden;
	width: 100%;
	color: #fff;
	-webkit-box-shadow: inset 0px 5px 0px 0px rgba(50, 50, 50, 0.1);
	-mox-box-shadow:  inset 0px 5px 0px 0px rgba(50, 50, 50, 0.1);
	box-shadow: inset 0px 5px 0px 0px rgba(50, 50, 50, 0.1);
	text-shadow: 0px 2px 0 rgba(0,0,0,.1);
}

#footer-widgets .wrap {
	overflow: hidden;
	padding: 70px 0;
}

#footer-widgets .widget {
	background: none;
	border: none;
	margin: 0 0 15px;
	padding: 0;
	clear: both;
}

#footer-widgets .widget-area ul li {
}

#footer-widgets .textwidget {
	padding: 0;
}

#footer-widgets .widget_tag_cloud div div {
	padding: 0;
}

#footer-widgets p {
	font-size: inherit;
	margin: 0 0 10px;
	line-height: 22px;
}

#footer-widgets h1,
#footer-widgets h2,
#footer-widgets h3,
#footer-widgets h4,
#footer-widgets h5,
#footer-widgets h6,
#footer-widgets p {
	color: #fff;
}

#footer-widgets a {
	padding: 1px 5px;
	display: inline-block;
	text-shadow: none;
	-webkit-box-shadow: 0px 2px 0px 0px rgba(50, 50, 50, 0.1);
	-mox-box-shadow:  0px 2px 0px 0px rgba(50, 50, 50, 0.1);
	box-shadow: 0px 2px 0px 0px rgba(50, 50, 50, 0.1);
}

#footer-widgets .flickr_badge_image a {
	background: none;
	padding: 0;
	display: block;
}

#footer-widgets a:hover {
	text-decoration: none;
}

#footer-widgets ul {
	margin: 0;
}

#footer-widgets ul li {
	margin: 0 0 0 20px;
}

#footer-widgets #wp-calendar thead,
#footer-widgets #wp-calendar td {
	background: none;
}

.footer-widgets-1 {
	float: left;
	width: 31%;
}

.footer-widgets-2 {
	float: left;
	width: 31%;
	margin-left: 3%;
}

.footer-widgets-3 {
	float: left;
	width: 31%;
	margin-left: 3%;
}

/* Comments
------------------------------------------------------------ */

.avatar {
	background: #eee;
	border: none;
	padding: 5px;
	float: right;
	margin: 5px 0 0 10px;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
}

#comments,
#respond {
	margin: 0 0 15px;
	overflow: hidden;
}

#respond {
	margin-top: 60px;
}
	

#author,
#comment,
#email,
#url {
	margin: 10px 5px 0 0;
	padding: 5px;
	width: 250px;
}

#comment {
	height: 150px;
	margin: 10px 0;
	width: 98%;
}

.ping-list {
	margin: 0 0 40px;
}

.comment-list ol,
.ping-list ol {
	padding: 10px;
}

.comment-list li,
.ping-list li {
	font-weight: bold;
	list-style-type: none;
	margin: 15px 0 5px;
	padding: 10px 15px;
}

.comment-list li ul li {
	list-style-type: none;
	margin-right: -16px;
}

.comment-content p {
	font-size: 14px;
	margin: 0 0 20px;
}

.comment-list .comment-author {
	font-weight: 600;
	font-size: 16px;
}

.comment-list cite,
.ping-list cite {
	font-style: normal;
}

.commentmetadata {
	font-size: 12px;
	margin: 0 0 15px;
	color: #aaa;
	font-weight: 300;
	text-transform: uppercase;
}

.commentmetadata a {
	color: #666666;
}

.commentmetadata a:hover {
	color: #000;
}

.reply {
	font-size: 14px;
	font-weight: 300;
}

.nocomments {
	text-align: center;
}

#comments .navigation {
	display: block;
}

.bypostauthor {
}

.thread-alt,
.thread-even {
	background-color: #fff;
	padding: 40px;
	-webkit-box-shadow:  0px 5px 0px 0px rgba(210, 210,210, 0.1);
	-mox-box-shadow:  0px 5px 0px 0px rgba(210, 210,210, 0.1);
	box-shadow:  0px 5px 0px 0px rgba(210, 210,210, 0.1);
}

.alt,
.depth-1,
.even {
	border: 1px solid #eee;
}


/* Gravity Forms
------------------------------------------------------------ */

div.gform_wrapper input,
div.gform_wrapper select,
div.gform_wrapper textarea {
	box-sizing: border-box;
	font-size: 14px !important;
	padding: 4px 5px !important;
}

div.gform_footer input.button {
	color: #333;
}

div.gform_wrapper .ginput_complex label {
	font-size: 14px;
}

div.gform_wrapper li,
div.gform_wrapper form li {
	margin: 0 0 10px;
}

div.gform_wrapper .gform_footer {
	border: none;
	margin: 0;
	padding: 0;
}


/* Portfolio Template
------------------------------------------------------------ */

.portfolio-teaser { 
	float: left; 
	padding-left:0;
	margin-left:3%;
}
	
#content .portfolio-teaser .post-image {
	margin: 0; 
}
	
#content .portfolio-teaser h2 {
	margin: 15px 0;
	font-size: 18px;
	font-weight: bold;
}
	
#content .portfolio-teaser .excerpt {
	font-size: 12px;
	font-family: Georgia, "Times New Roman", Times, serif;
	font-style: italic;
	color: #616161;
	line-height: 24px;
}

.first {
	margin-left: 0;
}

.page-template_portfolio_alt #portfolio-controls {
	margin-bottom: 40px;
	float: left;
}

#portfolio-controls ul li {
	margin-left: 0;
	margin-right: 10px;
}

.page-template_portfolio_alt #portfolio-controls a {
	border-color: #444;
	-webkit-box-shadow:  0px 1px 2px 0px rgba(0, 0, 0, .1);
	-mox-box-shadow:  0px 1px 2px 0px rgba(0, 0, 0, .1);
    box-shadow:  0px 1px 2px 0px rgba(0, 0, 0, .1);
}

.page-template_portfolio_alt #portfolio-controls li.selected a, 
.page-template_portfolio_alt #portfolio-controls a:hover {
	border-color: #888;
}


/* Responsive Design
------------------------------------------------------------ */

@media only screen and (max-width: 1080px) {

	.wrap { 
		width: 940px; 
	}
	
	#content-sidebar-wrap {
		width: 670px;
	}
	
	#content {
		width: 390px;	
	}
	
	.content-sidebar #content, 
	.sidebar-content #content {
    	width: 660px;
	}
	
	#sidebar-alt {
		width: 240px;
	}
		
	.sidebar {
		width: 250px;
	}	

}


@media only screen and (max-width: 960px) {

	body {
		width: 100%;
		margin: 0 auto;
	}
	
	
	.flex-caption h1, 
	.flex-caption h2, 
	.flex-caption h3 {
		font-size: 24px;
		padding: 10px 15px;
	}
	
	.flex-caption h4, 
	.flex-caption h5, 
	.flex-caption h6 {
		font-size: 30px;
		line-height: 40px;
	}
	
	.flex-caption p {
		font-size: 14px;
	}
	
	.flex-caption .button {
		font-size: 14px;
		padding: 10px 20px;
	}
	
	.archive-page,
	.content-sidebar #content,
	.content-sidebar-sidebar #content,
	.footer-widgets-1,
	.footer-widgets-2,
	.footer-widgets-3,
	.full-width-content #content,
	.sidebar,
	.sidebar-content #content,
	.sidebar-content-sidebar #content,
	.sidebar-sidebar-content #content,
	#content-sidebar-wrap,
	#footer .creds,
	#footer .gototop,
	#footer-widgets .wrap,
	#header .widget-area,
	#sidebar-alt,
	#wrap,
	.wrap {
		width: 100%;
	}

	#wrap {
		-moz-box-shadow: none;
		-webkit-box-shadow: none;
		box-shadow: none;
		margin: 0;
	}
	
	#secondary_area .wrap,
	.homepage_template .section .wrap {
		width: auto;
	}
	
	.homepage_template .section {
		padding: 40px 20px;
	}
	
	.page-template-page_portfolio-php #content {
		padding: 0 20px;
		width: auto;
	}
	
	#description,
	#title,
	#title-area {
		text-align: center;
	}

	#title-area {
		margin-left: 20px;
	}
	
	.flex-caption .wrap {
		width: auto;
		padding: 0 20px;
	}
	
	#nav {
		padding-right: 20px;
	}

	.menu li.right {
		display: none;
	}
	
	#sidebar {
		padding-top: 60px;
		border-top: 1px solid #ddd;
		margin-top: 60px;
	}
	
	.page-template-page_blog-php .hentry, 
	.archive .hentry, 
	.search-results .hentry {
		margin-left: 20px;
	}

	.breadcrumb,
	.sidebar .widget,
	.taxonomy-description {
		margin: 0 20px 20px;
	}
	
	.navigation {
		padding-left: 20px;
		padding-right: 20px;
	}
	
	#content {
		padding: 0;
	}

	.page .page,
	.post,
	#comments,
	#respond {
		padding: 0 20px;
	}
	
	#secondary_area {
		padding-left: 20px;
		padding-right: 20px;
	}

	.author-box {
		margin: 0 20px 40px;
	}
	
	#footer-widgets .widget {
		padding: 20px 20px 0;
	}

	.footer-widgets-1,
	.footer-widgets-2,
	.footer-widgets-3 {
		margin: 0;
	}
	
	#footer-widgets .wrap,
	#inner .wrap {
		padding: 40px 0;	
	}

}

@media only screen and (max-width: 800px) {
	
	.portfolio-grid li {
		width: 240px;
		height: auto;
	}
	
}


@media only screen and (max-width: 600px) {
	
	#title-area {
    	margin-left: 0;
		margin-right: 0;
		float: none;
	}
	
	.flexslider .slides .flex-caption img {
		display: none;
	}
	
	#featured-area .flex-caption .wrap {
		margin: 20px 40px;
		width: auto;
	}
	
	#featured-area {
		height: auto;
	}
	
	#featured-area .slide {
		min-height: 300px;
	}
	
	#featured-area .flex-direction-nav li a {
		top: 100px;
	}
	
	#featured-area .slide {
		height: auto !important;
	}
	
	.flexslider .flex-direction-nav {
		opacity: 1;
	}
	
	#portfolio-controls {
		float: none;
		margin: 0 0 40px 0;
	}
	
	#portfolio-controls li {
		float: none;
		display: inline-block;
		margin: 0 10px 0 0;
	}
	
	.portfolio-grid li {
		width: 150px;
		height: auto;
	}
	
	body.header-image #title-area, 
	body.header-image #title, 
	body.header-image #header #title-area a {
		width: 100%;
	}
	
	#nav,
	#header .wrap {
		display: block;
		clear: both;
		width: auto;
	}
	
	#nav {
		padding: 20px 0;
	}
	
	#nav ul.menu {
		float: none;
		padding: 0;
	}
	
	#nav li {
		float: none;
	}
	
	#nav li li a, 
	#nav li li a:link, 
	#nav li li a:visited {
		border-color: #999;
		border-left: none;
		border-right: none;
		padding: 15px 0;
	}
	
	.slider_enabled #header {
		position: static;	
		background: url(/giving/wp-content/themes/grind/images/bg-header.jpg) #3a3a3a;
		-webkit-box-shadow: inset 0px -5px 0px 0px rgba(0, 0, 0, 0.2);
		-mox-box-shadow:  inset 0px -5px 0px 0px rgba(0, 0, 0, 0.2);
		box-shadow: inset 0px -5px 0px 0px rgba(0, 0, 0, 0.2);
	}
	
	.five-sixths,
	.four-fifths,
	.four-sixths,
	.one-fifth,
	.one-fourth,
	.one-half,
	.one-sixth,
	.one-third,
	.three-fifths,
	.three-fourths,
	.three-sixths,
	.two-fifths,
	.two-fourths,
	.two-sixths,
	.two-thirds {
		padding: 0;
		width: 100%;
	}
	
	#nav .menu-primary li,
	#nav .menu-primary li ul,
	#nav .menu-primary li ul a {
		width: 100%;
	}
	
	#nav .menu-primary li a {
		margin: 0;
		padding: 10px 3%;
	}

	#nav .menu li a .sf-sub-indicator,
	#nav .menu li li a .sf-sub-indicator,
	#nav .menu li li li a .sf-sub-indicator {
		background: url(/giving/wp-content/themes/grind/images/icon-plus-white.png) right no-repeat;
		height: 16px;
		position: absolute;
		right: 8px;
		text-indent: -9999px;
		top: 10px;
		width: 16px;
		display: block;
	}

	#nav .menu-primary li li a,
	#nav .menu-primary li li a:link,
	#nav .menu-primary li li a:visited {
		background: none;
		color: #fff;
		padding: 7px 3%;
		width: 94%;
	}
	
	#nav .menu-primary li li a:hover {
		background: #000;
	}

	#nav .menu-primary li ul {
		background: #333;
		clear: both;
		margin: 0;
		padding: 0;
		position: inherit;
	}

	#nav .menu-primary li ul ul {
		background: #666;
	}

	#nav .menu-primary li ul ul ul {
		background: #999;
	}

	#nav .menu-primary li ul ul {
		margin: 0;
	}
	
	.flex-caption .slider_content {
		width: 100%;	
	}
	
	.flexslider .no-background .flex-caption {
		padding-bottom: 0;
	}
	
	#mobile-menu {
		display: block;	
	}
	
	.mobile-menu-enabled #nav {
		display: none;
	}
	
	#header #mobile-menu ul.menu {
		display: block;	
	}

}

@media only screen and (max-width: 360px) {
	
	.post-date {
		display: none;
	}
	
	.page-template-page_blog-php .hentry, 
	.archive .hentry, 
	.search-results .hentry {
    	padding-left: 0;
	}

	.portfolio-grid li {
		width: 140px;
	}

}


/* Self-clearing floats from Dan Cederholm
------------------------------------------------------------ */
#header .wrap:after,
.section-columns:after,
.portfolio-grid:after,
.wrap:after { 
	content: "."; 
	display: block; 
	height: 0; 
	clear: both; 
	visibility: hidden; 
}