/*
Theme Name: Teching for Change
Description: A <a href='http://codex.wordpress.org/Child_Themes'>Child Theme</a> for the Organic Nonprofit WordPress Theme.
Version: 1.0.1
Author: SiteCare.com
Author URI: https://sitecare.com/
Template: organic-nonprofit
*/

h1 {
	font-weight: bold;
}

ul li {
    list-style: outside;
    list-style-type: disc;
    margin: 6px 0px 6px 12px;
    padding: 0px 0px 0px;
}

/** Single Post Date */

body.single-post .post-date {
    border-bottom: 0;
}

/** Search display on mobile */

@media (max-width: 767px) {
    #contact-info .align-right {
        display: block !important;
        float: none;
    }
    #contact-info .header-search {
        text-align: right;
        float: left;
        margin: 0 auto;
        max-width: 220px;
        background: transparent;
    }
    #contact-info .align-left {
        display: none !important;
    }
}

/** Logo */

.organic-nonprofit-logo-center #logo a {
    margin: 24px auto;
}

@media screen and (max-width: 650px) {
    .site-logo .custom-logo {
        height: auto;
        width: 100%;
    }
}

/** Navigation Menu */

.menu a, .menu a:link,
.menu a:visited {
	color: #033d6b;
}

.organic-nonprofit-bg-light .menu li:hover::after {
	color: #d24c13;
	background: #d24c13;
}

.organic-nonprofit-bg-light #navigation .menu .current_page_item a,
.organic-nonprofit-bg-light #navigation .menu li.current-menu-ancestor a,
.organic-nonprofit-bg-light #navigation .menu li.current_page_ancestor a {
	color: #d24c13;
}

/** Headers */

h1, h2, h3, h4, h5, h6 {
	color: #033d6b;
}

/** Button styles */

button,
.button,
a.button,
a.button:link,
a.button:visited,
a.more-link,
a.more-link:link,
a.more-link:visited,
.reply a,
.reply a:link,
.reply a:visited,
#infinite-handle span button,
#searchsubmit, #prevLink a,
#nextLink a, #submit,
input[type=submit],
input#submit,
input.button,
.woocommerce #respond input#submit,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.sidr-class-site-header-cart a.sidr-class-button,
.sidr-class-site-header-cart a.sidr-class-button:link,
.sidr-class-site-header-cart a.sidr-class-button:visited {
	color: #FFF;
}

.featured-donation .button.large:hover {
	background: #d24c13;
}

/** Home - Donation section */

.featured-donation .default-donation {
	padding: 48px 0;
}

/** Footer logos */

.footer-logos {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-bottom: 24px;
}

.logo-left,
.logo-center,
.logo-right {
    flex-basis: 31.333%;
}

.logo-left img,
.logo-center img,
.logo-right img {
    max-height: 130px;
}

.logo-center {
    text-align: center;
}

.logo-right {
    text-align: right;
}

/** Footer widgets */

.footer-widgets table {
    border: 0;
    padding: 0;
    background: transparent;
    box-shadow: none;
}

.footer-widgets table tbody tr:nth-child(odd) {
    background: transparent;
}

.footer-widgets table td {
	border-top: 0;
	text-align: center;
}

.footer-widgets table img.alignnone,
.footer-widgets table img.alignleft,
.footer-widgets table img.alignright,
.footer-widgets table img.aligncenter {
    padding: 0;
    margin: 0;
}

/** Tables */

table,
.wp-block-table table {
    border: 0;
    box-shadow: none;
}

table tbody tr:nth-child(odd) {
    background: transparent;
}

table td,
.wp-block-table td {
    border: 0;
    background: transparent;
}

/** Image captions */

.wp-caption figcaption,
.wp-block-image figcaption,
.wp-caption-text {
    text-align: left;
    border-bottom: 0;
    margin: 0;
    display: block;
    font-size: 0.7em;
    color: #787676;
}

/** Blog template */

.page-template-template-blog .blog-holder {
    margin-bottom: 2px;
}

.page-template-template-blog .blog-holder h2 {
    font-size: 30px;
}

.page-template-template-blog .blog-holder .entry p {
    margin-bottom: 0;
}

/** Archive - Press */

article.press.type-press {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

body.post-type-archive-press .archive-holder {
    background: transparent;
    padding: 0;
    margin-bottom: 36px;
}

body.post-type-archive-press .feature-img {
    display: inline;
}

body.post-type-archive-press .feature-img img.alignleft {
    margin-top: 12px;
}

article.press.type-press img.alignleft {
    float: none;
    display: inline-block;
    width: 200px;
    height: 200px;
    margin-right: 0;
}

article.press.type-press p:last-of-type {
    margin: 9px 0;
}

.press-details {
    display: inline-block;
    color: #008000;
    margin: 12px 0 0px 0;
}

div.press-content {
    flex-basis: 68%;
}

@media screen and (max-width: 767px) {
	article.press.type-press {
		flex-direction: column;
	}
	article.press.type-press img.alignleft {
		margin: 0 auto;
	}
	div.press-content {
		flex-basis: 100%;
	}
}


/** Post/page content link color */

.container a,
.container a:link,
.container a:visited,
.container a:focus,
.container a:active {
	color: #1e6398 !important;
}

.container a:hover {
    color: #d24c13 !important;
}

.container a.more-link,
.container a.more-link:link,
.container a:visited,
.container a:focus,
.container a:active,
.container a:hover {
    color: #FFF !important;
}

/** Hide featured image on Press page & category archives */

body.post-type-archive-press .custom-header-active,
body.archive.category .custom-header-active {
    display: none;
}

/** Archive - tags */

body.archive.tag .archive-holder {
    background: transparent;
    padding: 0;
    margin-bottom: 36px;
}

body.archive.tag .feature-img {
    display: inline;
}

body.archive.tag .feature-img img.alignleft {
    margin-top: 12px;
}

body.archive.tag img.alignleft {
    float: none;
    display: inline-block;
    width: 200px;
    height: 200px;
    margin-right: 0;
}

body.archive.tag p:last-of-type {
    margin: 9px 0;
}