/*
Theme Name: Campbell Foundation
Theme URI: http://www.campbellfoundation.org/
Author: Pongos Interactive
Author URI: http://www.pongos.com
Description: The Campbell Foundation WordPress theme.
Version: 1.1
*/

/* =Normalize
--------------------------------------------------------------*/
html {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust:     100%;
}

body {
	margin: 0;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
menu,
nav,
section,
summary {
	display: block;
}

audio,
canvas,
progress,
video {
	display: inline-block;
	vertical-align: baseline;
}

audio:not([controls]) {
	display: none;
	height: 0;
}

[hidden],
template {
	display: none;
}

a {
	background-color: transparent;
	color:#319bcf;
}

a:active,
a:hover {
	outline: 0;
}

abbr[title] {
	border-bottom: 1px dotted;
}

b,
strong {
	font-weight: bold;
}

strong.secondary {
	color:#666666;
}

dfn {
	font-style: italic;
}

h1 {
	font-size: 2em;
	margin: 0.67em 0;
}

mark {
	background: #ff0;
	color: #000;
}

small {
	font-size: 80%;
}

sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sup {
	top: -0.5em;
}

sub {
	bottom: -0.25em;
}

img {
	border: 0;
}

svg:not(:root) {
	overflow: hidden;
}

figure {
	margin: 1em 40px;
}

hr {
	box-sizing: content-box;
	height: 0;
}

pre {
	overflow: auto;
}

code,
kbd,
pre,
samp {
	font-family: monospace, monospace;
	font-size: 1em;
}

button,
optgroup,
textarea {
	color: inherit;
	font: inherit;
	margin: 0;
}

button {
	overflow: visible;
}

button,
select {
	text-transform: none;
}

button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
	-webkit-appearance: button;
	cursor: pointer;
}

button[disabled],
html input[disabled] {
	cursor: default;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
	border: 0;
	padding: 0;
}

input {
	line-height: normal;
}

input[type="checkbox"],
input[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

input[type="search"] {
	-webkit-appearance: textfield;
	box-sizing: content-box;
}

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

fieldset {
	border: 1px solid #c0c0c0;
	margin: 0 2px;
	padding: 0.35em 0.625em 0.75em;
}

legend {
	border: 0;
	padding: 0;
}

textarea {
	overflow: auto;
}

optgroup {
	font-weight: bold;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

td,
th {
	padding: 0;
}

::-webkit-input-placeholder { /* WebKit browsers */
	color:#777;
}
:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
	color:#777;
	opacity:1;
}
::-moz-placeholder { /* Mozilla Firefox 19+ */
	color:#777;
	opacity:1;
}
:-ms-input-placeholder { /* Internet Explorer 10+ */
	color:#777;
}

/* =Typography
--------------------------------------------------------------*/
body,
button,
textarea {
	color: #000;
	font-size: 12px;
	line-height: 22px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear:both;
	margin-top:0;
}

h3,
.inline-heading {
	font-weight:normal;
	font-size:17.5px;
	line-height:29px;
	color:#b4d17d;
	text-shadow:0 1px 5px #000;
}

.inline-heading {
	display:inline;
	font-size:20px;
}

p {
	margin:0 0 1.5em;
}

.tight {
	margin:0 0 .5em;
}

dfn,
cite,
em,
i {
	font-style: italic;
}

blockquote {
	margin: 0 1.5em;
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: #eee;
	font-family: "Courier 10 Pitch", Courier, monospace;
	font-size: 15px;
	font-size: 0.9375rem;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

code,
kbd,
tt,
var {
	font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
	font-size: 15px;
	font-size: 0.9375rem;
}

abbr,
acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

mark,
ins {
	background: #fff9c0;
	text-decoration: none;
}

big {
	font-size: 125%;
}

.screen-reader-text {
	display:none;
}

/* =Elements
--------------------------------------------------------------*/
html {
	/* box-sizing: border-box; */
}

*,
*:before,
*:after { /* Inherit box-sizing to make it easier to change the property for components that leverage other behavior; see http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
	box-sizing: inherit;
}

body {
	background: #fff; /* Fallback for when there is no custom background color defined. */
}

blockquote:before,
blockquote:after,
q:before,
q:after {
	content: "";
}

blockquote,
q {
	quotes: "" "";
}

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

ul,
ol {
	margin: 0 0 1.5em 0;
	padding:0 0 0 1.5em;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}

dt {
	font-weight: bold;
}

dd {
	margin: 0 1.5em 1.5em;
}

img {
	/* height: auto; */ /* Make sure images are scaled correctly. */
	max-width: 100%; /* Adhere to container width. */
}

table {
	margin: 0 0 1.5em;
	width: 100%;
}

/* =Alignments
--------------------------------------------------------------*/
.alignleft {
	display: inline;
	float: left;
	margin-right: .8em;
}

.alignright {
	display: inline;
	float: right;
	margin-left: .8em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
}

/* =Clearings
--------------------------------------------------------------*/
.clear:before,
.clear:after,
.entry-content:before,
.entry-content:after,
.comment-content:before,
.comment-content:after,
#header:before,
#header:after,
#content:before,
#content:after,
#footer:before,
#footer:after {
	content: "";
	display: table;
}

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

.clear {
	clear:both;
}

/* =Posts and pages
--------------------------------------------------------------*/
.sticky {
	display: block;
}

.hentry {
	margin: 0 0 1.5em;
}

.byline,
.updated:not(.published) {
	display: none;
}

.single .byline,
.group-blog .byline {
	display: inline;
}

.page-links {
	clear: both;
	margin: 0 0 1.5em;
}

/* =Comments
--------------------------------------------------------------*/
.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}

/* =Media
--------------------------------------------------------------*/
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

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

/* =Captions
--------------------------------------------------------------*/
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin: 0 auto;
}

.wp-caption-text {
	text-align: center;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

/* =Galleries
--------------------------------------------------------------*/
.gallery {
	margin-bottom: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	vertical-align: top;
	width: 100%;
}

.gallery-columns-2 .gallery-item {
	max-width: 50%;
}

.gallery-columns-3 .gallery-item {
	max-width: 33.33%;
}

.gallery-columns-4 .gallery-item {
	max-width: 25%;
}

.gallery-columns-5 .gallery-item {
	max-width: 20%;
}

.gallery-columns-6 .gallery-item {
	max-width: 16.66%;
}

.gallery-columns-7 .gallery-item {
	max-width: 14.28%;
}

.gallery-columns-8 .gallery-item {
	max-width: 12.5%;
}

.gallery-columns-9 .gallery-item {
	max-width: 11.11%;
}

.gallery-caption {
	display: block;
}

/* =Pagination (WP-Pagenavi)
--------------------------------------------------------------*/

.wp-pagenavi {
	float:right;
	overflow:visible;
}

.entry-content .wp-pagenavi a {
	text-decoration:underline;
}

.wp-pagenavi a,
.wp-pagenavi span {
	border:0;
	border-left:1px solid #000;
	padding:0 0 0 5px;
	position:relative;
}

.wp-pagenavi :first-child {
	border-left:0;
}

.wp-pagenavi .page, .current {
	font-weight:bold;
}

.wp-pagenavi .first,
.wp-pagenavi .previouspostslink,
.arrow-before {
	padding-left:18px;
	position:relative;
}

.wp-pagenavi .first:before,
.wp-pagenavi .previouspostslink:before,
.arrow-before:before {
	content:' ';
	position:absolute;
	top:3px;
	left:5px;
	border-right:8px solid #319bcf;
	border-top:5px solid transparent;
	border-bottom:5px solid transparent;
}

.wp-pagenavi .last,
.wp-pagenavi .nextpostslink,
.arrow-after {
	padding-right:18px;
	position:relative;
}

.wp-pagenavi .last:after,
.wp-pagenavi .nextpostslink:after,
.arrow-after:after {
	content:' ';
	position:absolute;
	top:3px;
	right:5px;
	border-left:8px solid #319bcf;
	border-top:5px solid transparent;
	border-bottom:5px solid transparent;
}

/* =Structure
--------------------------------------------------------------*/

#page {
	width:940px;
	margin:0 auto;
}

#container {
	min-height:500px;
	position:relative;
}

.page-template-landing-page.no-featured-image #content {
	background:#4b84b9;
	border-radius:5px;
}

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

body {
	background-color:#004889;
	background-position:bottom center !important;
	background-attachment:fixed !important;
	height:100%;
}

.header-image {
	width:229px;
	height:134px;
	margin-top:16px;
	margin-bottom:3px;
}

/* =Menu
--------------------------------------------------------------*/

#menu {
	overflow:visible;
	float:right;
	margin:76px 3px 0 0;
}

.menu-before,
.menu-after {
	width:8px;
}

.menu-before,
.menu-after,
#menu .menu,
#menu li {
	float:left;
	height:33px;
}

.menu-before {
	background:url( 'images/menu-before.gif' ) no-repeat;
}

#menu .menu {
	background:url( 'images/menu-bg.gif' );
	margin:0;
	padding:0;
}

.menu-after {
	background:url( 'images/menu-after.gif' ) top right no-repeat;
}

#menu .menu > li {
	list-style-type:none;
	position:relative;
	height:33px;
}

#menu .menu > li:before {
	content:' ';
	position:absolute;
	background:url( 'images/bar.png' );
	width:1px;
	height:96px;
	margin-top:-31px;
}

#menu .menu > li:first-child:before {
	content:'';
	background:none;
}

#menu .sub-menu {
	display:none;
	position:absolute;
	z-index:1;
	padding:0;
	margin:-1px 0 0;
}

#menu .sub-menu li {
	float:none;
	line-height:18px;
	list-style-type:none;
	width:165px;
	background:#669933;
	border-top:1px solid #94B871;
}

#menu li:hover > .sub-menu {
	display:block;
}

#menu a {
	border-top:1px solid rgba( 255, 255, 255, 0.2 );
	display:block;
	width:76px;
	font-size:11px;
	color:#fff;
	line-height:15px;
	text-decoration:none;
	padding:8px 12px 9px 11px;
	margin-left:1px;
	text-transform:lowercase;
	text-align:center;
}

#menu a:hover,
#menu .current_page_item {
	color:#87bad1;
	background:#3d7217;
}

#menu .sub-menu a {
	text-align:left;
	width:143px;
	line-height:33px;
	height:100%;
	border-top:0;
	padding:0 11px;
}

/* =Basic Page
--------------------------------------------------------------*/

.page-template-default #banner {
	position:absolute;
	top:0;
	z-index:-1;
}

.page-template-default #content,
.error404 #content,
.archive #content,
.post #content,
.search #content {
	background:#fff;
	border-radius:5px;
	box-shadow:1px 1px 3px #222;
	padding:20px 40px;
}

.page-template-default #content {
	margin-top:71px;
}

.has-sidebar .entry-container {
	float:right;
	width:640px;
	margin-left:27px;
}

.entry-title {
	color:#346702;
	font-weight:normal;
	font-size:19px;
	padding-bottom:10px;
	border-bottom:1px solid #ccc;
	margin-top:10px;
	margin-bottom:7px;
}

.entry-content {
	color:#333;
	font-size:12px;
	line-height:18px;
}

.entry-content a {
	text-decoration:none;
}

.entry-content .img_padding {
	padding-bottom:300px;
}

.hide-title .entry-container > .entry-title {
	display:none;
}

.staff-toggle {
	display:none;
}

.staff-toggle-image {
	text-align:center;
	margin-bottom:20px;
}

.staff-toggle-image img:hover {
	cursor:pointer;
}

/* Holdover classes that may or may not remain useful */

.article_right{
	width:528px;
	float:left;
}

.article_left1{
	width:101px;
	margin-top: 5px;
	float:left;
	margin-right:10px;
}

.article_left2{
	width:101px;
	margin-top:-10px;
	float:left;
	margin-right:10px;
}

.article_right1{
	float:left;
	width:475px; /* reduced width */
}

.article_right1_1{
	float:left;
	width:480px;
}

.listforarrow {
	list-style:url( 'images/arrow_left_2.png' );
}

.body_text_h1 {
	font-family:Verdana, Arial, Helvetica, sans-serif;
	line-height:18px;
	color:#666666;
	font-weight:bold;
	font-size:12px;
	text-align:left;
	margin:0 0 0 0;
	padding:0 0 0 0;
}

/* =Grantee Search
--------------------------------------------------------------*/

/* Form */

#grantee_search-form .simian-param-container label,
#grantee_search-form .simian-form-item .simian-clear {
	display:none;
}

#grantee_search-form .simian-form-item-location-2 label,
#grantee_search-form .simian-form-item-location-2 .simian-form-item-inner,
#location-2-radio-group,
#grantee_search-form .simian-form-item,
#grantee_search-form .simian-form-item-inner {
	display:inline;
}

#location-2-radio-group input {
	margin:0 0 0 5px;
}

#grantee_search-form .simian-form-item-location-2 {
	display:block;
	margin:20px 0 8px;
}

#grantee_search-form input[type="text"] {
	width:216px;
	font-size:11px;
}

#grantee_search-form #keywords {
	width:262px;
}

#grantee_search-form #year-2,
#grantee_search-form #amount_range {
	width:222px;
}

#grantee_search-form input[type="text"],
#grantee_search-form select {
	margin:5px 5px 5px 0;
}

input[value="Search"] {
	background:url( 'images/search.png' ) no-repeat;
	color:#fff;
	width:91px;
	height:38px;
	border:0;
	padding:0;
	font-family:Verdana, Arial, sans-serif;
	font-size:13px;
	margin:20px 0;
}

/* Results Header */

.grantee-edit a {
	text-decoration:none;
	font-size:11px;
}
.grantee-params,
.grantee-total,
.grantee-pagenum,
.grantee-ppp {
	padding:6px 0;
}

.grantee-params {
	margin-top:5px;
}

.grantee-params > span:first-of-type {
	text-transform:uppercase;
}

.grantee-params,
.grantee-total {
	border-bottom:1px solid #bcbcbc;
}

.grantee-param,
.total {
	font-size:11px;
	color:#060;
}

.total {
	font-weight:bold;
}

.grantee-pagenum {
	float:left;
}

.grantee-ppp {
	float:right;
}

.grantee-ppp .current {
	text-decoration:none;
	font-weight:bold;
	color:#000;
}

.grantee-no-results {
	margin-bottom:30px;
}

/* Results Table */

.data-table {
	border:1px solid #bcbcbc;
	border-right-width:2px;
	border-bottom-width:2px;
	width:860px;
	margin:auto;
	padding:0;
}

.data-table td,
.data-table th {
	border-right:1px solid #bcbcbc;
	border-bottom:1px solid #bcbcbc;
	font-size:11px;
	line-height:13px;
	padding:5px 10px 10px 20px;
}

.data-table th {
	background:#dddbdc;
	color:#319bcf;
}

.data-table th a {
	color:#319bcf;
	text-decoration:none;
	position:relative;
}

.data-table th:first-child {
	width:147px;
}

.data-table th .current-asc,
.data-table th .current-desc {
	padding-right:14px;
}

.data-table th .current-asc:after,
.data-table th .current-desc:after {
	content:' ';
	position:absolute;
	top:4px;
	right:0;
}

.data-table th .current-asc:after {
	border-left:4px solid transparent;
	border-right:4px solid transparent;
	border-bottom:6px solid #319bcf;
}

.data-table th .current-desc:after {
	border-left:4px solid transparent;
	border-right:4px solid transparent;
	border-top:6px solid #319bcf;
}

.data-table td {
	background:#f3f3f3;
	color:#333;
}


/* =Landing Page
--------------------------------------------------------------*/

.landing-page-content {
	margin:5px 31px 0 56px;
	color:#fff;
	text-shadow:0 1px 5px #000;
}

.landing-page-images {
	padding:18px 0 0 25px;
	float:right;
}

.landing-page-images img {
	box-shadow:0 0 2px #555;
}

.learn-more-button {
	text-indent:-999px;
	overflow:hidden;
	background-image:url( 'images/learnmore.png' );
	display:block;
	width:122px;
	height:50px;
	margin:-2px 0 0 -5px;
}

.learn-more-button:hover,
.learn-more-button:active {
	background-image:url( 'images/learnmore_hover.png' );
}

.update-button-2016{
	text-indent:-999px;
	overflow:hidden;
	background-image:url( 'images/2016_update.png' );
	display:block;
	width:122px;
	height:40px;
	margin:-2px 0 0 -5px;
}

.update-button-2016:hover,
.update-button-2016:active {
	background-image:url( 'images/2016_update_hover.png' );
}



.update-button-2017{
	text-indent:-999px;
	overflow:hidden;
	background-image:url( 'images/2017_update.png' );
	display:block;
	width:122px;
	height:40px;
	margin:-2px 0 0 -5px;
}

.update-button-2017:hover,
.update-button-2017:active {
	background-image:url( 'images/2017_update_hover.png' );
}

.update-button-2018{
	text-indent:-999px;
	overflow:hidden;
	background-image:url( 'http://www.campbellfoundation.org/2018_update/' );
	display:block;
	width:122px;
	height:40px;
	margin:-2px 0 0 -5px;
}

.update-button-2018:hover,
.update-button-2018:active {
	background-image:url( 'http://www.campbellfoundation.org/2018_update_hover/' );
}
/* =Home (Landing Page template with some tweaks)
--------------------------------------------------------------*/

.home .landing-page-content {
	margin:0 175px 0 56px;
}

.home .header-image {
	margin-top:19px;
	margin-bottom:0;
}

.home #footer {
	margin:6px 0;
}

.home-images {
	float:right;
	margin-right:-118px;
	margin-top:-26px;
}

.home-images > div {
	background-repeat:no-repeat;
	width:140px;
	height:140px;
	/* border:30px solid transparent; */
	border: 1px solid rgba(100,100,100,0.3);
	-moz-background-clip: padding;
  	-webkit-background-clip: padding;
  	background-clip: padding-box;
	box-shadow:0 0 8px #444;
	float:left;
	margin-left:19px;
}

.home-images img {
	display:block;
	margin:50px auto 0;
}

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

#sidebar-menu {
	float:left;
	width:180px;
	margin-left:-12px;
}

#sidebar-menu .menu {
	margin:0;
	padding:15px 0 17px;
	list-style-type:none;
	background:#609132;
	border-radius:4px;
	overflow:visible;
}

#sidebar-menu .menu li {
	border-bottom:1px solid #94b871;
	margin:0 -20px 0 -23px;
	padding:0 20px 0 23px;
}

#sidebar-menu .menu li:first-child {
	border-top:1px solid #94b871;
}

#sidebar-menu .menu li a {
	color:#fff;
	font-size:11px;
	line-height:15px;
	text-decoration:none;
	text-transform:lowercase;
	padding:6px 20px 10px;
	display:block;
}

#sidebar-menu .menu li a:hover {
	background:#3d7217;
	color:#87bad1;
}

#sidebar-menu .menu .current-menu-item a,
#sidebar-menu .menu .current-menu-item a:hover {
	background:#3d7217;
	color:#9cf;
}


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

#footer {
	font-size:9px;
	color:#4b84b9;
	line-height:13px;
	margin:8px 0;
}

.menu-and-copyright {
	float:left;
}

.menu-and-copyright .menu {
	padding:0;
	margin:0;
	float:left;
}

.menu-and-copyright .menu li {
	list-style-type:none;
	float:left;
	border-left:1px solid #4b84b9;
	padding:0 5px;
}

.menu-and-copyright .menu li:first-child {
	border-left:0;
	padding-left:0;
}

.menu-and-copyright .menu a {
	color:#fff;
	text-transform:lowercase;
	text-decoration:none;
}

.menu-and-copyright .menu a:hover {
	color:#ccc;
}

.copyright {
	padding-left:8px;
}

.photos-credit {
	font-family:Arial, sans-serif;
	float:right;
	color:#fff;
}

/* WP CUrve task #94538 begin */
.inline-button {
    display: inline-block;
    vertical-align: middle;
    margin: 0;
    padding: 0;
}
/* WP CUrve task #94538 end */

/* WPPS CM13688697 - TA - Start */
.update-button-2017 {
    text-indent: -999px;
    overflow: hidden;
    background-image: url(//www.campbellfoundation.org/wp-content/uploads/2017/07/2017_update.png);
    width: 122px;
    height: 40px;
}
.update-button-2017:hover, .update-button-2017:active {
    background-image: url(//www.campbellfoundation.org/wp-content/uploads/2017/07/2017_update_hover.png);
}
/* WPPS CM13688697 - TA - End */

/* WPPS CM13688697 - TA - Start */
.update-button-2018 {
    text-indent: -999px;
    overflow: hidden;
    background-image: url(//www.campbellfoundation.org/wp-content/uploads/2018/04/2018_update.png);
    width: 122px;
    height: 40px;
}
.update-button-2018:hover, .update-button-2018:active {
    background-image: url(//www.campbellfoundation.org/wp-content/uploads/2018/04/2018_update_hover.png);
}
/* WPPS CM13688697 - TA - End */