/*
Theme Name: CSC
Theme URI: http://agingmattersbrevard.org
Description: Custom theme for Aging Matters Brevard
Author: Brandt Ronat and Company
Version: 1.0
*/

@import url("reset.css");

/***** TESTING *****/


/***** Structure *****/

body {}

.container {
	max-width: 1520px;
	width: 100%;
	margin-left: auto;
	margin-right: auto;
	position: relative;
}


#header {
	border-bottom: 24px solid #74b74a;
}
.home #header {
	border-bottom: none;
}

#header-logo {
	float: left;
	margin: 10px 25px 10px 0;
}
#header-logo img {
	width: 150px;
}

#header-tagline {
	float: right;
	margin: 20px 0 20px 0;
	text-align: right;
	font-family: adobe-text-pro, 'times new roman', serif;
	font-size: 1.2em;
	color: #74b74a;
	font-style: italic;
}
#header-tagline p {
	display: inline;
}

.header-social-link {
	margin: 0 0 0 20px;
}
.header-social-logo {
	vertical-align: text-bottom;
	max-width: 29px;
}
#header-phone {
    position: absolute;
    right: 0;
    top: 65px;
    font-size: 1.3em;
    font-weight: 500;
    font-family: museo;
	color: #008ca0;
}

.search-form {
    position: absolute;
    right: 0;
    top: 100px;
}

.search-field {
    border: 2px solid #008ca0;
    padding: 4px;
    line-height: 1.2em;
    vertical-align: middle;
}

.search-submit {
	border: none;
	background: #008ca0;
	color: white;
	padding: 3px 5px;
	font-weight: bold;
	font-family: museo;
	font-size: 1.2em;
	vertical-align: middle;
}

#header-navigation {
	float: left;
	margin-top: 10px;
}
.header-navigation-item {
	margin-right: 15px;
}
#header-search {}

/** Home Page **/
#masthead {	
	background: #77b84e;
	margin-bottom: 30px;
}
#masthead-slider {
	width: 80%;
	float: left;
}
#masthead-buttons {
	width: 20%;
	padding: 5px 0;
	float: left;
}
#masthead-buttons-message {
	margin: 4px 0;
    padding: 0 10px;
    text-align: center;
	color: #eaf4e4;
	font-size: .85em;
	font-family: museo, helvetica, arial, sans-serif;
}
#masthead-buttons a,
#masthead-buttons input {
	margin: 1px auto 7px;
	display: block;
}

#home-content {
	margin-bottom: 30px;
}
#home-content-message {
	line-height: 1.1em;
	font-size: 2.3em;
	color: #008ca0;
	font-family: "baskerville-urw";
	text-align: center;
	margin: 0 0 30px;
}
#home-content-features {
	width: 65%;
	margin-right: 5%;
	float: left;
}
#home-content-news {
	width: 30%;
	float: right;
}

/** General Page **/
#page-content {	
	padding: 20px 0 0;
	margin: 0 0 50px;
}
#page-content-sidebar {
	width: 20%;
	float: left;
	margin: 0 5% 0 0;
}
#page-content-main {
	width: 75%;	
	float: left;
}
#page-content-main h1 {
	color: #74b74a;
	margin: 0 0 20px;
	font-family: "museo";
	font-weight: 500;
}
#page-content-main p {}
#page-content-main > img.alignleft {
	margin-left: 10px;
	margin-right: 10px;
}

/** Full-Width Page **/

#page-content-main.full {
	width: 100%;	
	float: none;
}

/*Address Formatting*/
div.address-item {
	float: left;
	margin: 20px;
	min-height: 150px;
	width: 200px;
}


/** Services Overview **/
.service-card {
	width: 100%;
	margin: 10px 0;
	border-bottom: 1px solid #74B74A;
	padding: 10px 0;
	min-height: 100px;
}
.service-card img {
	float: left;
	margin: 0 50px 0 0;
}

/** Services Page **/
#service-content {
	padding: 20px 0 0;
	margin: 0 0 20px;
}
#service-content-navigation {
	width: 170px;
	float: left;
	padding: 0 30px 0 0;
}
#service-content-main {
	width: 760px;
	float: left;
	padding: 0 20px 0 0;
}
#service-content-main h1 {
	margin: 10px 0 20px;
}
#service-content-main hr {
	border: 1px solid #008ca0;
}
#service-content-sidebar {
	width: 220px;
	float: left;
}
#service-content-sidebar-donate {
	width: 235px;
	padding: 5px 0;
	margin-bottom: 10px;
}
#service-content-sidebar-donate p {
	margin: 4px 0;
    padding: 0 10px;
    text-align: center;
	color: #eaf4e4;
	font-size: .9em;
	font-family: museo, helvetica, arial, sans-serif;
}
#service-content-sidebar-meta {
	padding: 20px 10px;
	color: #eaf4e4;
	background: #77b84e;
	font-weight: 500;
}


/** Board Directory Page **/
#page-content-main-board-featured {
	min-height: 200px;
}
.page-content-main-board-featured-bio {
	float: left;
    margin: 10px 2px;
    text-align: center;
    width: 180px;
}
.page-content-main-board-regular-bio {
	float: left;
    margin: 10px 10px 20px;
    text-align: center;
    width: 230px;
	min-height: 200px;
}

/** Staff Directory Page **/
.page-content-main-staff-bio {
	float: left;
    margin: 10px 10px 20px;
    text-align: center;
    width: 230px;
	min-height: 200px;
}


/** Blog **/

.page-content-main-article {
	margin: 0 0 50px;
}

/** Footer **/
#footer {}
#footer-programs {
	margin-bottom: 20px;
}

#footer-programs h2 {
	color: #77b84e;
	font-size: 1.6em;
	font-weight: 300;
	font-family: "museo";
	border-bottom: 1px solid #77b84e;
	margin: 0 0 15px;
	padding: 0 0 5px;
}
.page-id-6712 #footer-programs h2 {
    display: none;
}

#footer-programs .service-box {
	width: 22%;
	margin: 0 1% 25px 1%;
	display: inline-block;
	vertical-align: top;
}

#footer-programs .service-box h3 {
	background: #008ca0;	
	text-align: center;
	color: white;
	font-family: museo, helvetica, arial, sans-serif;
	margin-bottom: 0px;
	font-size: 1.3em;
	min-height: 42px;
}
#footer-programs .service-box h3 a {	
	color: white;
	font-weight: 300;
	padding: 15px 2%;
	display: block;	
	min-height: 42px;
}
#footer-programs .service-box h3 a:hover {
	background: #74b74a;
	text-decoration: none;
}

#footer-programs .service-box p {
	font-family: museo-sans, helvetica, arial, sans-serif;
	font-size: 1.2em;
	font-style: italic;
	text-align: center;
	color: #666;
}

.program-logo {
	margin: 0 9px;
}
#footer-partners {
	text-align: center;
}

#footer-partners h2 {
	color: #77b84e;
	font-size: 1.6em;
	font-weight: 300;
	font-family: "museo";
	border-bottom: 1px solid #77b84e;
	margin: 0 0 15px;
	padding: 0 0 5px;
	text-align: center;
	text-transform: uppercase;
}

#footer-partners-grid {
	text-align: center;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
}

#footer-partners-grid a {
	width: 19%;
	margin: 0 3%;
}

#tail {
	padding: 30px 2% 70px;
	background: #77b84e;
}
#tail p {
	color: white;
	margin: 0 0 1em;
	padding: 0;
	font-family: "museo";
	font-weight: 300;
	font-size: 1em;
}
#tail p:last-of-type {
	margin: 0;
}
#tail p strong {
	font-weight: 500;
}
#tail a {
	color: white;
	text-decoration: underline;
}

#tail-logo {
	width: 128px;
	float: left;
	padding: 15px 30px 15px 0;
	margin: 0 30px 0 0;
	border-right: 2px solid #008ca0;
}

/** Home Page Features Module **/

#home-content-features-top {
	margin: 5px 0 15px;
	padding: 0 0 5px;
	border-bottom: 1px solid #77b84e;
}
#home-content-features-top h2 {
	color: #77b84e;
    display: inline;
    font-size: 1.6em;
    font-weight: 300;
	font-family: "museo";
}
#home-current-features-tabs {
	display: inline;
	float: right;
	list-style: none;
	margin: 0;
}
#home-current-features-tabs li {
    float: left;
	font-family: museo, helvetica, arial, sans-serif;
    font-size: 1.3em;
    font-weight: 300;
    margin: 0 1px;
    padding: 3px 6px 2px;
    text-align: center;
    width: 20px;
	cursor: default;
	line-height: 1em;
}
.feature-tab-inactive {
    color: #777;
}
#home-current-features-tabs li:hover, .feature-tab-active {
	color: #777;
	background: #deeed3;
}
#home-content-features-bottom {
	height: 255px;
}

#home-content-features-bottom img {
	float: left;
	margin-right: 5px;
	margin-right: 2%;
	width: 28%;
	height: auto;
}

.home-content-features-bottom-page-text {
	width: 66%;
	min-height: 195px;
	float: right;
	background: #deeed3;
	padding: 30px 2%;
}

.home-content-features-bottom-page-text h3 {
	color: #008ca0;
	font-size: 1.2em;
	margin: 0 0 15px 0;
	font-weight: 700;
	font-family: "museo";
}
.home-content-features-bottom-page-text p {
	font-size: 1em;
	margin: 0 0 15px 0;
}
.home-content-features-bottom-page-text a {
	font-family: "museo";
	font-weight: 500;
	font-size: .9em;
}

.home-content-features-bottom-page-text-link {
	margin: 0;
}

/** Home Page News Module **/

#home-content-news-top {
	margin: 5px 0 15px;
	padding: 0 0 5px;
	border-bottom: 1px solid #77b84e;
}
#home-content-news-tabs {
	display: inline;
	float: left;	
	list-style: none;
	margin: 0;
}
#home-content-news-tabs li {
	float: left;
	font-family: "museo";
    font-size: 1.6em;
    font-weight: 300;
    margin: 0;
	padding: 0 5px;
    text-align: center;
	cursor: default;
	line-height: 1em;
}
#home-content-news-tabs li:first-of-type {
	border-right: 2px solid #77b84e;
}
.news-tab-inactive {
	color: #77b84e;
}
#home-content-news-tabs li:hover, .news-tab-active {
	color: #77b84e;
	background: #deeed3;
}
#home-content-news-bottom {
	height: 255px;
	overflow:auto;
}
#home-content-news-bottom h3 {
	font-family: "museo";
	font-weight: 700;
	font-size: 1em;
}
#home-content-news-bottom p.news-summary {
	font-size: .9em;
	margin: 0 0 5px;
}
#home-content-news-bottom p.news-meta {
	margin: 0 0 15px;
	color: #777777; 
	font-family: "museo-sans";
}

#home-content-news-bottom .news-archive {
	font-family: "museo-sans"
}


/** Events **/

#tribe-events-content-wrapper {
	margin: 10px 0 20px;
}

.single-tribe_events .tribe-events-single-event-title,
.single-tribe_events .tribe-events-schedule,
.single-tribe_events .tribe-events-single-event-description p,
.tribe-events-sub-nav,
.tribe-events-back,
.tribe-events-cal-links {
	padding: 0 10px !important;
}

.tribe-events-ical {
	margin: 0 10px 0 0;
}

/* Sunflower House Sidebar Widget */

li.tribe-events-adv-list-widget {
	padding: 0px !important;
	font-size: 1em !important;
	margin-left: 5px;
}

.tribe-events-adv-list-widget h3 {
	font-size: 1.3em;
	margin: 15px;
}

.tribe-events-adv-list-widget li {
	margin: 0 0 10px 10px !important;
}

#service-content-sidebar-widget .recurringinfo {
	display: none;
}
			
/***** Menus *****/

.current-menu-item,
.current-menu-item > a, 
#header-navigation-menu .current-menu-item > a  {
	color: #74b74a;
}

/** Main Menu **/

#header-navigation-menu {
	color: #74b74a;
	position: relative;
}
#menu-main {
	list-style: none;
	margin: 0;
	font-size: 1.1em;
	width: 100%;
	text-align: center;
}
#menu-main > li {
	float: none;
	font-size: 1em;
	margin-bottom: 10px;
	display: inline-block;
}
#menu-main > li:first-of-type {
	margin-left: 0px;
}
#menu-main > li > ul {
	display: none;
	position: absolute;
	background: white;
	margin: 0;
	padding:10px;
	white-space:nowrap;
	list-style: none;
	font-size: 1.1em;
	z-index: 100;
	/* width: 500px;
	left: 20px; */
}
#menu-main > li:hover > ul, #menu-main > li > ul:hover {
	display: block;
}

#menu-main > li > ul > li {
	margin: 0 0 20px;
}
#menu-main > li > ul > li:last-of-type {
	margin: 0;
}

#header-navigation-menu a {
	font-style: normal;
	margin: 0 20px;
	padding-bottom: 10px;
	color: #008CA0;
	font-weight: 300;
	font-size: 1.3em;
	font-family: museo, helvetica, arial, sans-serif;
}
#header-navigation-menu a:hover {
	text-decoration: none;
	color: #74b74a;
}
#header-navigation-menu li:first-of-type a {}

#header-navigation-menu .sub-menu a {
	font-size: .9em;
}




/***** Type Styles ****/

body {
	font-family: "museo-sans";
}

h1 {
	color: #74b74a;
	margin: 0 0 20px;
	font-family: "museo";
	font-weight: 500;
	font-size: 2.5em;;
}
h1 a {
	color: #74b74a;
}
h2 {
	font-size: 2.2em;
	margin: 0 0 10px;
	font-family: museo;
	color: #008ca0;
}
h2 a {
	color: #008ca0;
}

h3 {
	font-size: 1.9em;
	font-family: museo;
	margin: 0 0 10px;
}
h4 {
	font-size: 1.4em;
	font-weight: bold;
}
h5 {}
h6 {}
	
p {
	font-size: 1.2em;
	margin: 0 0 1em;
	line-height: 1.4em;
}

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

a:hover {
	text-decoration: underline;
}

blockquote {}

.white-text * {
	color: white;
}
.white-text a {
	color: white;
}
.white-text a:hover {
	color: white;
	text-decoration: underline;
}


/***** Lists *****/

/* Primary */

ul {
	list-style: disc;
	margin: 0px 0 20px 0px;
}

ul ul {
	list-style: square;
	margin: 2px 0 4px 40px;
}

ul ul ul {
	list-style: circle;
}

ol {
	list-style: decimal;
	margin: 0px 0 20px 0px;
}

ol ol {
	list-style: lower-alpha;
	margin: 2px 0 4px 40px;
}

ol ol ol {
	list-style: lower-roman;
}

li {
	margin-left: 25px;
	line-height: 1.5em;
}


/***** Buttons *****/

.cta-button {
	height: 70px;
	width: 220px;
	display: block;
}
.cta-button:hover {
	opacity: .8;
	text-decoration: none;
}
.cta-button img {
    width: 100%;
}

.cta-button-small {
	height: 31px;
	width: 220px;
	display: block;
	margin-bottom: 7px;
}
.cta-button-small:hover {
	opacity: .8;
	text-decoration: none;
}
.cta-button-small img {
    width: 100%;
}

input#paypal {
	background-color: transparent;
	border: 0;
	height: 70px;
	width: 220px;
	display: block;
	text-indent: -9999em;
	overflow: hidden;
}

input#paypal:hover {
	opacity: .8;
}

#service-content-sidebar input#paypal {
	height: 31px;
}




/***** Widgets and Plugins *****/

.widget {
	list-style: none;
}

/*** Page Sidebar ***/

#page-content-sidebar .widget {
    margin: 0 0 20px;
}

#page-content-sidebar .widget h3 {
	font-family: museo;
	color: #008ca0;
	font-weight: 500;
}

#page-content-sidebar .widget ul,
#page-content-sidebar .widget ul ul,
#page-content-sidebar .widget ul ul ul {
	list-style: disc;
	margin: 0;
}

#page-content-sidebar .widget li {
    margin-left: 15px;
	color: #008CA0;
	font-family: "museo";
	font-weight: 300;
}

#page-content-sidebar li.current-menu-item,
#page-content-sidebar .current-menu-item > a {
	color: #74b74a;
}

/*** Services Sidebar ***/

#service-content-navigation .widget {}

#service-content-navigation .widget h3 {
	font-family: museo;
	color: #008ca0;
	font-weight: 500;
	font-size: 1.3em;
}

#service-content-navigation .widget ul,
#service-content-navigation .widget ul ul,
#service-content-navigation .widget ul ul ul {
	list-style: disc;
	margin: 0;
}

#service-content-navigation .widget li {
    margin-left: 15px;
	color: #008CA0;
	font-family: "museo";
	font-weight: 300;
}

#service-content-navigation li.current-menu-item,
#service-content-navigation .current-menu-item > a {
	color: #74b74a;
}

/*** Services Sidebar ***/

li.widget {
	padding: 0;
	margin: 0;
}


/*** Ninja Forms ***/

/* Input and Textarea Styling */

.nf-form-content .list-select-wrap .nf-field-element > div, .nf-form-content input:not([type="button"]), .nf-form-content textarea {
    border-color: #74b74a !important;
}

.nf-form-content .listselect-wrap .nf-field-element div, .nf-form-content input.ninja-forms-field, .nf-form-content select.ninja-forms-field:not([multiple]) {
	height: 30px !important;
}

/* Input Error */

.nf-error.field-wrap .nf-field-element::after {
	font-size: 17px !important;
	height: 28px !important;
	line-height: 30px !important;
}

/* Checkbox Styling */

.checkbox-wrap .nf-field-element label::after, .checkbox-wrap .nf-field-label label::after, .listcheckbox-wrap .nf-field-element label::after, .listcheckbox-wrap .nf-field-label label::after {
	border-color: #74b74a !important;
}

/* Submit Button */

.nf-form-content button, .nf-form-content input[type="button"], .nf-form-content input[type="submit"] {
	background: #008ca0 !important;
	height: 50px !important;
}

.nf-form-content button:hover, .nf-form-content input[type="button"]:hover, .nf-form-content input[type="submit"]:hover {
	background: #74b74a !important;
	cursor: pointer;
	color: white !important;
}



.form-half {
	width: 49%;
	display: inline-block;
	vertical-align: top;
}
.form-half.second {
	margin-left: .5%;
}

.form-third {
	width: 32%;
	display: inline-block;
	vertical-align: top;
	margin-bottom: 0px !important;
}
.form-third.second {
	margin-left: 1%;
	margin-right: 1%;
}

.form-twothirds {
	width: 65%;
	display: inline-block;
	vertical-align: top;
	margin-right: 1%;
	margin-bottom: 0px !important;
}

.form-third-remainder {
	width: 32%;
	display: inline-block;
	vertical-align: top;
	margin-bottom: 0px !important;
}

.form-columns .nf-field-element {	
	columns: 300px 3;
	-webkit-columns: 300px  3;
	-moz-columns: 300px  3;
}

.short-textarea .nf-field-element textarea {
	height: 4em;
}

.field-wrap .nf-field-element input[type="button"] {
	display: inline-block;
	width: 96%;
	height: 4em;
	font-size: 1.3em;
	text-align: center;
	padding: 1% 2%;
	font-weight: 600;
	background: #43632E;
	color: white;
	border: none;
	cursor: pointer;
	margin: 0 2%;
}
.nf-field-element [type="button"]:hover {
	color: #def1f9;
}

.nf-form-fields-required {
    font-size: .9em;
    margin-bottom: 30px;
}

.nf-field-container {
    margin-bottom: 10px !important;
}

.label-above .nf-field-label {
    margin-bottom: 0 !important;
}

.form-tworow {
	height: 4em !important;
}

/*** Feed Them Social ***/

.fts-jal-fb-header {
	display: none;
}



/*** Pagination ***/

.pagination {
clear:both;
padding:20px 0;
position:relative;
font-size:1em;
line-height:1.5em;
float: right;
}
 
.pagination span, .pagination a {
display:block;
float:left;
margin: 2px 5px 2px 0;
padding:6px 9px 5px 9px;
text-decoration:none;
width:auto;
color:#888;
background: #fff;
font-family: museo, helvetica, arial, sans-serif;
font-style: normal;
}
 
.pagination a:hover{
color:#fff;
background: #74B74A;
}
 
.pagination .current{
padding:6px 15px 5px 15px;
background: #008CA0;
color:#fff;
}

/* Utility Classes */

.bold, b, strong {
	font-weight: 700;
}

.italic, i, em {
	font-style: italic;
}

hr {
	color: #eaf4e4;
	background-color: #eaf4e4;
	height: 2px;
	border: #eaf4e4 1px solid;
}

.screen-reader-text {
	position: absolute;
	left: -9000px;
}

.hidden {
	display: none;
}

.alignright,
img.alignright {
	display: inline;
	float: right;
	margin-left: 24px;
	margin-top: 4px;
}
.aligncenter,
img.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.alignleft,
img.alignleft {
	display: inline;
	float: left;
	margin-right: 24px;
	margin-top: 4px;
}

.clear {
	clear: both;
	display: block;
	overflow: hidden;
	visibility: hidden;
	width: 0;
	height: 0;
}


/***** RESPONSIVE *****/

@viewport{
    zoom: 1.0;
    width: device-width;
}

img {
	max-width: 100%;
	height: auto;
}

/*** Set Up Hidden Content ***/

.mobileonly {
	display: none;
}

#header-menubutton {
    width: 20%;
}

#back-to-top-button {
	display: none;
	position: fixed;
	z-index: 999;
	left: 20px;
	bottom: 20px;
	background: #008ca0;
	color: white;
	border: 1px solid white;
	padding: 15px 5px;
	opacity: 0;
}

/* ----------- 1520px ----------- */
@media screen and (max-width: 1520px) {

	/* BASE SETTING: Expand width and remove floating */
	
		.container {
			max-width: 96%;
			margin-left: 2%;
			margin-right: 2%;
		}

	/* Header Fixes */

	/* Home Fixes */

	/* Page Fixes */	

	/* Footer Fixes */

	/* Misc. Style Changes */

}

/* ----------- 1120px ----------- */
@media screen and (max-width: 1120px) {

	/* Hide Stuff */

	/* Header Fixes */

	/* Home Fixes */

	/* Page Fixes */	

	/* Footer Fixes */
	
		#tail p {
			font-size: .8em;
		}

	/* Misc. Style Changes */

}

/* ----------- 950px ----------- */
@media screen and (max-width: 950px) {

	/* Hide Stuff */

	/* Header Fixes */

	/* Home Fixes */

	/* Page Fixes */	

	/* Footer Fixes */
	
		#footer-programs .service-box {
			width: 47%;
		}
		
		#tail-logo {
			float: none;
			margin: 0 auto 20px;
			display: block;
			border: none;
			padding: 0;
		}

	/* Misc. Style Changes */

}

/* ----------- 750px ----------- */
@media screen and (max-width: 750px) {

	/* Hide Stuff */
	
		#header-tagline p {
			display: none;
		}

	/* Header Fixes */

	/* Home Fixes */

	/* Page Fixes */
	
	.field-wrap .nf-field-element input[type="button"] {
		margin: 0;
		width: 100%;
	}	
	
	#page-content-sidebar {
		float: none;
		width: 100%;
		text-align: center;
	}
	
	#page-content-sidebar .widget_nav_menu li {
		padding: 0;
		margin: 0;
		list-style: none;
		font-size: 1.3em;
	}
	
	#page-content-main {
		float: none;
		width: 100%;
	}

	/* Footer Fixes */

	/* Misc. Style Changes */

}

/* ----------- 640px ----------- */
@media screen and (max-width: 640px) {

	/* Hide/reveal Stuff */
	
	.mobileonly {
		display: block;
	}

	/* Header Fixes */
	
	.search-form {
		width: 35%;
	}
	
	.search-field {
		display: block;		
		width: 100%;
	}

	.search-submit {
		display: block;
		width: 100%;
	}
	
	#header-navigation-menu {
		display: none;
	}
	
	#menu-main > li {
		display: block;
		margin: 0 0 20px;
	}
	
	#menu-main > li > ul {
		display: block;
		position: relative;
		padding: 0;
	}
	
	#menu-main > li > ul > li {
		margin: 0 0 10px;
	}

	/* Home Fixes */

	/* Page Fixes */	

	/* Footer Fixes */
	
	#footer-programs .service-box p {
		font-size: 1em;
	}
	
	#footer-partners-grid a {
		width: 33%;
	}

	#back-to-top-button {
		opacity: 1;
	}

	/* Misc. Style Changes */

}
