/*
Theme Name: DuncanCRC_BS4
Theme URI: 
Description: Understrap child theme
Author: <a href="http://www.holgerkoenemann.de">Holger Koenemann</a>
Author URI: 
Template: understrap
Version: 0.9.3
*/

/* Generated by Orbisius Child Theme Creator (http://orbisius.com/products/wordpress-plugins/orbisius-child-theme-creator/) on Sun, 12 May 2019 04:10:38 +0000 */ 
/* The plugin now uses the recommended approach for loading the css files.*/

body {
	font-family: 'Source Sans 3', sans-serif;
	color: #1f2d34;
	background-color: #f6f3ee;
	line-height: 1.55;
}

a {
	color: #1d5d78;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: 'Fraunces', serif;
	color: #1f2d34;
}

:root {
	--dcrc-primary: #24627d;
	--dcrc-primary-dark: #174e66;
	--dcrc-accent: #d8a64a;
	--dcrc-accent-dark: #be8f3a;
	--dcrc-text: #1f2d34;
	--dcrc-muted: #475a64;
	--dcrc-bg-warm: #f3efe7;
	--dcrc-bg-panel: #ffffff;
	--dcrc-bg-soft: #e5eee8;
	--dcrc-nav-bg: #274a5b;
	--dcrc-nav-hover: #38647a;
	--dcrc-focus: #2d7da6;
	--dcrc-radius: 12px;
}

a:focus,
button:focus,
.btn:focus {
	outline: 3px solid var(--dcrc-focus);
	outline-offset: 2px;
}

.dcrc-btn {
	font-weight: 700;
	padding: 0.8rem 1.2rem;
	border-radius: 8px;
	border: 2px solid transparent;
	display: inline-block;
}

.dcrc-btn-primary {
	color: #ffffff;
	background-color: var(--dcrc-primary);
	border-color: var(--dcrc-primary);
}

.dcrc-btn-primary:hover,
.dcrc-btn-primary:focus {
	color: #ffffff;
	background-color: var(--dcrc-primary-dark);
	border-color: var(--dcrc-primary-dark);
	text-decoration: none;
}

.dcrc-btn-secondary {
	color: var(--dcrc-primary);
	background-color: #ffffff;
	border-color: var(--dcrc-primary);
}

.dcrc-btn-secondary:hover,
.dcrc-btn-secondary:focus {
	color: #ffffff;
	background-color: var(--dcrc-primary);
	border-color: var(--dcrc-primary);
	text-decoration: none;
}

.clear {
	clear: both;
}

.masthead {
	position: relative;
	background: linear-gradient(180deg, #f7f4ee 0%, #efe9dc 100%);
}

.masthead .header-background {
	background-color: #ffffff;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
}

.masthead .card-overlay {
	opacity: 0.90;
}

.masthead a.navbar-brand {
	max-width: 280px;
	display: block;
	margin: 0 auto;
	position: relative;
}

nav.navbar {
	background: rgba(39, 74, 91, 0.92);
	z-index: 50;
	text-transform: none;
	padding: 0;
	box-shadow: 0 8px 20px rgba(20, 42, 52, 0.18);
	position: sticky;
	top: 0;
}

nav.navbar .navbar-collapse {
	background: rgba(39, 74, 91, 1);
}

.navbar-dark .navbar-nav .nav-link {
	color: #f8fbfc;
	font-weight: 600;
	letter-spacing: 0.01em;
}

nav.navbar .menu-item {
	padding: 8px 10px;
	border-radius: 8px;
}

.nav-visit-cta {
	margin: 0.5rem 0;
	width: 100%;
	text-align: center;
	background-color: var(--dcrc-accent);
	border-color: var(--dcrc-accent);
	color: #1f2d34;
}

.nav-visit-cta:hover,
.nav-visit-cta:focus {
	background-color: var(--dcrc-accent-dark);
	border-color: var(--dcrc-accent-dark);
	color: #17252c;
}

nav .current_page_item, nav.navbar .navbar-nav > .menu-item:hover {
	background-color: var(--dcrc-nav-hover);
}

.navbar-dark .navbar-nav .nav-link:focus, .navbar-dark .navbar-nav .nav-link:hover {
	color: white;
}

nav.navbar .dropdown-menu {
	background: #f7f9fa;
	border: 1px solid #d7e0e4;
}

nav.navbar .dropdown-item {
	color: #1f2d34;
}

nav.navbar .dropdown-item:hover,
nav.navbar .dropdown-item:focus {
	background-color: #dde8ed;
	color: #1f2d34;
}

nav.navbar .dropdown-menu .current-menu-item > a,
nav.navbar .dropdown-menu .current_page_item > a,
nav.navbar .dropdown-item.active,
nav.navbar .dropdown-item:active {
	background-color: var(--dcrc-nav-hover);
	color: #ffffff;
}

nav.navbar .dropdown-menu .current-menu-item > a:hover,
nav.navbar .dropdown-menu .current_page_item > a:hover,
nav.navbar .dropdown-menu .current-menu-item > a:focus,
nav.navbar .dropdown-menu .current_page_item > a:focus {
	color: #ffffff;
}


.masthead header {
	padding-top: 30px;
	padding-bottom: 20px;
	color: var(--dcrc-text);
	text-transform: none;
	position: relative;
}

.masthead h1, .masthead h2 {
	font-weight: 700;
	text-shadow: none;
	letter-spacing: 0;
}

.masthead h1 {
	font-size: 2em;
}

.masthead h2 {
	padding-top: 15px;
	font-size: 1.75em;
}

.site .wrapper {
	background-color: var(--dcrc-bg-warm);
}

.page-template-cardpage .site .wrapper {
	background-color: #4f6470;
}

.card-img {
}

.card-overlay {
	opacity: 0.2;
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
}

.card-container {
	position: relative;
}

.first .card-body {
	padding-left: 20px;
	padding-right: 20px;
}

.first .card-container {
	max-height: 300px;
	overflow: hidden;
}

.home .sermons #seriesengine .enmse-links-cell {
	/* hide watch now button
		display: none !important;
		*/
}

.home .sermons #seriesengine tr.enmse-message-row .enmse-info-cell {
	padding: 10px 0 10px 10px;
}
.home .sermons #seriesengine tr.enmse-message-row .enmse-info-cell h5, 
.home .sermons #seriesengine.se-medium td.enmse-info-cell h5 {
	padding: 0 0 4px 0 !important;
	text-align: left;
}
.home .sermons #seriesengine tr.enmse-message-row .enmse-info-cell h6, .home .sermons #seriesengine.se-medium td.enmse-info-cell h6 {
	padding: 0 15px 0 15px !important;
	text-align: left;
}

.home .sermons #seriesengine tr.enmse-message-row td.enmse-links-cell {
	min-width: inherit;
}

.home .sermons #seriesengine.se-medium tr.enmse-message-row td.enmse-image-cell {
	display: none;
}

.home .sermons #seriesengine.se-medium tr.enmse-message-row {
	width: 100% !important;
	margin: 0;
}

.home .sermons #seriesengine.se-medium tr.enmse-message-row td.enmse-info-cell {
	width: 45% !important;
	display: table-cell;
}

.home .sermons #seriesengine.se-medium tr.enmse-message-row td.enmse-links-cell {
	width: 35% !important;
	display: table-cell;
}
.home .sermons #seriesengine.se-medium .enmse-related-area.row-view {
	padding: 20px 0 0 0;
}
.home .sermons #seriesengine.se-medium td.enmse-info-cell p.enmse-scripture-info {
	padding: 8px 15px 0 15px !important;
	text-align: left;
}

.home .sermons .se-pagination {
	display: none; 
}

.home .sermons #seriesengine .enmse-image-cell {
	display: none;
}

.home .sermons #seriesengine .enmse-image-cell {
	display: none;
}

#seriesengine .enmse-message-card {
	padding-top: 20px;
}

.enmse-message-card img {
	display: none;
}

.home .sermons #seriesengine .enmse-ajax-row-link {
	background-color: var(--dcrc-primary);
    border-color: var(--dcrc-primary);
    padding: .25rem 0.25rem;
    font-size: 1.25rem !important;
    line-height: 1.5;
    border-radius: .3rem;
    color: #fff;
    display: inline-block;
    font-weight: 400;
    text-align: center;
    vertical-align: middle;
}


@media (max-width: 700px) {
	.home .sermons #seriesengine .enmse-info-cell {
		padding-bottom: 10px;
	}
	.home .sermons #seriesengine tr.enmse-message-row {
		width: 100%;
	}
	.home .sermons .enmse-related-area tbody {
		width: 100%;
	}
}

.card.nolink.bg-white {
	box-shadow: inset 0px 0px 0px 4px #294b5c;
}

#content h2 {
	text-transform: none;
	font-size: 2em;
	font-weight: 700;
	padding-top: 20px;
}

#content h3 {
	text-transform: none;
	font-size: 1.5em;
	padding-top: 15px;
}

.page-template-default #content {
	max-width: 95%;
	font-size: 1.1em;
}

.page-template-default #content h2, .page-template-default #content h3 {
	color: #2e4f5f;
}

#wrapper-footer-full {
	background-color: var(--dcrc-nav-bg);
	color: #ffffff;
	border-top: 4px solid #355f74;
}

#wrapper-footer-full a {
	color: #ffffff;
}

#wrapper-footer-full img {
	width: 50%;
}

#wrapper-footer-full div.col-md-auto {
	margin-bottom: 20px;
}

#wrapper-footer-full .footer-resource-menu {
	list-style: none;
	padding-left: 0;
	margin: 0;
}

#wrapper-footer-full .footer-resource-menu li {
	margin-bottom: 6px;
}

.navbar-toggler {
	width: 100%;
}

@media (min-width: 576px) {
	.masthead h1 {
		font-size: 2.5em;
	}
	
	.masthead h2 {
		font-size: 2em;
	}
}

@media (min-width: 768px) {
	.masthead h2 {
		padding-top: 30px;
	}
	
	nav.navbar .navbar-collapse {
		background: rgba(39, 74, 91, 0);
	}
	
	.page-template-default #content {
		max-width: 70%;
	}
	
	.nav-visit-cta {
		margin: 0 0 0 1rem;
		width: auto;
		white-space: nowrap;
	}
}

@media (min-width: 992px) {
	
}

@media (min-width: 1200px) {
	.masthead h1 {
		font-size: 4em;
	}
	
	.masthead h2 {
		padding-top: 40px;
		font-size: 3em;
	}
}

#main {
	width: 100%;
}

.newsletters-with-images ul {
	list-style-type: none;
	margin: 0;
	padding: 0;
	display: flex;
	justify-content: space-around;
	flex-wrap: wrap;
}

.newsletters-with-images ul li {
	text-align: center;
	padding: 15px 25px;
	margin-bottom: 15px;
}

.newsletters-with-images ul li h3 {
	padding: 0;
}

.newsletters-with-images li img {
	margin-bottom: 10px;
	margin-right: 0;
}

.card-page-content-wrapper {
	background-color: #edf2ee;
	margin-bottom: 10px;
}

.wpcf7 input[type=submit] {
	background-color: var(--dcrc-primary);
	border-color: var(--dcrc-primary);
	color: #ffffff;
}

.wpcf7 input:hover[type=submit] {
	background-color: var(--dcrc-primary-dark);
}

.grecaptcha-badge { visibility: hidden; }

.btn-success {
	background-color: var(--dcrc-primary);
	border-color: var(--dcrc-primary);
}

.wp-block-quote {
	border-left: .15em solid;
	margin: 0 0 1.75em;
	padding-left: 1em;
	margin-left: 320px;
}

.wp-block-quote cite {
	font-size: 90%;
	margin-left: 25px;
}

@media (max-width: 576px) {
	.staff-picture figure {
		float: none !important;
	}

	.wp-block-quote {
		margin-left: 0;
	}
}

.programs .card-img {
	padding: 15px;
}

@media (min-width: 768px) {
	.event-cards .card {
		max-width: 313px;
	}
}

.event-cards .card .card-body {
	cursor: pointer;
}

.event-cards .card .card-footer {
	background-color: #ffffff;
	border-top: 0;
}

#eventModal .modal-header {
	border-bottom: 0;
	padding-bottom: 0;
}
#eventModal .modal-body {
	padding-top: 0;
}
#eventModal h2 {
	text-align: center;
}
#eventModal .datetime {
	margin-bottom: 10px;
	text-align: center;
	font-weight: bold;
}

.foobar a {
	text-decoration: underline;
}

.home-refresh .site-main {
	max-width: 980px;
	margin: 0 auto;
}

.home-refresh .home-section {
	background: var(--dcrc-bg-panel);
	padding: 1.5rem;
	margin: 1.25rem 0;
	border-radius: var(--dcrc-radius);
	box-shadow: 0 6px 24px rgba(0, 0, 0, 0.06);
}

.home-refresh .home-hero {
	background-color: #f5f2ec;
	position: relative;
}

.home-refresh .home-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(246, 243, 238, 0.88);
	border-radius: var(--dcrc-radius);
}

.home-refresh .home-hero-content {
	position: relative;
	z-index: 1;
}

.home-refresh h1 {
	font-size: 2rem;
	line-height: 1.2;
	text-transform: none;
	letter-spacing: 0;
	margin-bottom: 0.75rem;
}

.home-refresh h2 {
	font-size: 1.6rem;
	text-transform: none;
	color: var(--dcrc-text);
	margin-bottom: 0.75rem;
}

.home-refresh .home-lead {
	font-size: 1.15rem;
	color: var(--dcrc-muted);
}

.home-refresh .hero-meta {
	font-size: 1rem;
	margin-bottom: 0.75rem;
}

.home-cta-row {
	display: flex;
	flex-wrap: wrap;
	gap: 0.8rem;
	margin-top: 1rem;
}

.home-refresh .essentials-list {
	list-style: none;
	padding-left: 0;
	margin: 0;
}

.home-refresh .essentials-list li {
	padding: 0.5rem 0;
	border-bottom: 1px solid #e4e1dc;
}

.home-refresh .essentials-list li:last-child {
	border-bottom: 0;
}

.home-refresh .sermon-highlight {
	background: var(--dcrc-bg-soft);
	padding: 1rem;
	border-radius: 10px;
}

.home-refresh .sermon-date {
	color: var(--dcrc-muted);
	font-size: 0.95rem;
	margin-bottom: 0.75rem;
}

.home-refresh .sermon-series {
	color: var(--dcrc-muted);
	margin-bottom: 0.25rem;
}

.home-refresh .sermon-series-inline {
	color: var(--dcrc-muted);
	font-size: 0.88em;
	font-weight: 500;
	margin-left: 0.35rem;
}

.home-refresh .church-photo {
	margin: 0;
}

.home-refresh .church-photo img {
	width: 100%;
	height: auto;
	max-height: 420px;
	object-fit: cover;
	border-radius: 10px;
}

.home-refresh .home-essentials-split {
	display: grid;
	gap: 1rem;
	align-items: center;
}

.home-refresh .church-photo-inline img {
	max-height: 320px;
}

.home-refresh .home-community-tools {
	background: #edf1ef;
	box-shadow: none;
	border: 1px solid #dde5e1;
}

.home-refresh .community-links {
	display: grid;
	grid-template-columns: 1fr;
	gap: 0.9rem;
}

.home-refresh .community-card {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 0.95rem 1rem;
	background: #ffffff;
	border: 1px solid #d9e1dd;
	border-radius: 10px;
	color: var(--dcrc-text);
	font-weight: 600;
	text-decoration: none;
}

.home-refresh .community-card:hover,
.home-refresh .community-card:focus {
	background: #f7f9f8;
	color: var(--dcrc-primary-dark);
	text-decoration: none;
}

.home-refresh .community-icon {
	font-size: 1.15rem;
	color: var(--dcrc-primary);
}

.visit-page .visit-content {
	max-width: 800px;
	margin: 0 auto;
	background: #ffffff;
	padding: 1.5rem;
	border-radius: var(--dcrc-radius);
	box-shadow: 0 6px 24px rgba(0, 0, 0, 0.06);
}

.visit-page .visit-section + .visit-section {
	padding-top: 1rem;
	border-top: 1px solid #e4e1dc;
	margin-top: 1rem;
}

.visit-page .visit-cta-row {
	display: flex;
	flex-wrap: wrap;
	gap: 0.8rem;
}

@media (min-width: 768px) {
	.home-refresh .home-section,
	.visit-page .visit-content {
		padding: 2rem;
	}

	.home-refresh h1 {
		font-size: 2.5rem;
	}

	.home-refresh .home-essentials-split {
		grid-template-columns: 1fr 1fr;
	}

	.home-refresh .community-links {
		grid-template-columns: 1fr 1fr;
	}
}

/* =============================================
   Programs Page
   ============================================= */

.programs-page {
	max-width: 1100px;
	margin: 0 auto;
	padding: 1.1rem 1rem 2.25rem;
}

.programs-header {
	margin-bottom: 0.9rem;
}

.programs-intro {
	font-size: 1.05rem;
	color: var(--dcrc-muted);
	max-width: none;
	width: 100%;
	margin: 0;
	line-height: 1.65;
	background: #f8f4ec;
	border: 1px solid #ebe3d4;
	border-radius: 10px;
	padding: 1rem 1.2rem;
}

.programs-category {
	margin-bottom: 2.5rem;
}

.programs-category-title {
	font-size: 1.5rem;
	margin-bottom: 1rem;
	padding-bottom: 0.5rem;
	border-bottom: 2px solid #e0e0e0;
}

.programs-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
	gap: 1rem;
}

.program-card {
	background: #ffffff;
	border: 1px solid #e7e7e7;
	border-radius: 12px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
	transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.program-card:hover {
	box-shadow: 0 6px 16px rgba(0, 0, 0, 0.07);
	border-color: #dedede;
}

.program-card-image {
	padding: 1rem 1rem 0;
	display: flex;
	align-items: center;
	justify-content: center;
}

.program-card-image img {
	max-height: 80px;
	width: auto;
	object-fit: contain;
}

.program-card-content {
	padding: 1.15rem 1.2rem 1.2rem;
	flex: 1;
	display: flex;
	flex-direction: column;
}

.program-card-title {
	font-size: 1.15rem;
	margin: 0 0 0.5rem;
	line-height: 1.3;
}

.program-card-title-link {
	color: inherit;
	text-decoration: none;
}

.program-card-title-link:hover,
.program-card-title-link:focus {
	color: var(--dcrc-primary-dark);
	text-decoration: underline;
}

.program-card-audience {
	font-weight: normal;
	font-size: 0.95rem;
	color: var(--dcrc-muted);
}

.program-card-description {
	font-size: 0.96rem;
	color: #3e3e3e;
	line-height: 1.55;
	margin-bottom: 0.75rem;
}

.program-card-schedule {
	font-size: 0.9rem;
	color: var(--dcrc-muted);
	margin-bottom: 0.5rem;
	font-style: italic;
}

.program-card-contact {
	font-size: 0.9rem;
	color: var(--dcrc-muted);
	margin-bottom: 0.75rem;
}

.program-card-contact a {
	color: var(--dcrc-primary);
	text-decoration: none;
}

.program-card-contact a:hover {
	text-decoration: underline;
}

.program-card-link {
	margin-top: auto;
	font-size: 0.95rem;
	font-weight: 600;
	color: var(--dcrc-primary);
	text-decoration: none;
}

.program-card-link:hover {
	text-decoration: underline;
}

.programs-contact-footer {
	padding: 0.95rem 1rem;
	margin: 0 0 1.35rem;
	background: #f3f6f4;
	border: 1px solid #e3ebe6;
	border-left: 4px solid #b8cbc0;
	border-radius: 10px;
}

.programs-contact-footer p {
	font-size: 0.98rem;
	color: #444444;
	margin-bottom: 0;
	line-height: 1.55;
}

.programs-contact-footer a {
	color: var(--dcrc-primary);
	text-decoration: none;
}

.programs-contact-footer a:hover {
	text-decoration: underline;
}

.programs-empty-state {
	text-align: center;
	padding: 1rem;
	border: 1px dashed #d1d1d1;
	border-radius: 8px;
	background: #fafafa;
}

@media (max-width: 700px) {
	.programs-grid {
		grid-template-columns: 1fr;
	}

	.programs-header {
		margin-bottom: 1rem;
	}

	.programs-intro {
		padding: 0.9rem 1rem;
	}
}
