/*
Theme Name: Myers Park Covenant Church
Description: A faith community on a journey seeking a welcoming, loving, and just world.
Author: Woland Web
Author URI: https://www.wolandweb.com
Template: uncode
Version: 1.0.0
Text Domain: uncode
*/

/* ======================================== 
	HEADER & NAVIGATION 
======================================== */
/* HIDE AUDIO & VIDEO UNTIL LIVE */
li#menu-item-2313 {
	display: none;
}

/* HEADER */
.hmenu .menu-container .navbar-nav a {
	transition: color 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
}

@media (min-width: 960px) {
	.menu-wrapper.no-header {
		height: 100px !important;
		min-height: 100px !important;
	}

	.top-menu,
	.top-menu > .row-menu,
	.top-menu > .row-menu > .row-menu-inner,
	.top-menu .topbar-col,
	.top-menu .menu-bloginfo,
	.top-menu .menu-bloginfo-inner {
		height: 50px !important;
		min-height: 50px !important;
	}

	.top-menu > .row-menu,
	.top-menu > .row-menu > .row-menu-inner {
		padding-top: 0 !important;
		padding-bottom: 0 !important;
	}

	.top-menu .topbar-col,
	.top-menu .menu-bloginfo,
	.top-menu .menu-bloginfo-inner {
		display: flex;
		align-items: center;
		justify-content: center;
	}

	header.menu-primary,
	header.menu-primary .menu-container,
	header.menu-primary .row-menu,
	header.menu-primary .row-menu-inner,
	header.menu-primary .logo-container,
	header.menu-primary .main-menu-container,
	header.menu-primary .menu-horizontal,
	header.menu-primary .menu-horizontal-inner {
		height: 100px !important;
		min-height: 100px !important;
	}

	header.menu-primary .menu-container,
	header.menu-primary .row-menu,
	header.menu-primary .row-menu-inner {
		padding-top: 0 !important;
		padding-bottom: 0 !important;
	}

	header.menu-primary .row-menu-inner {
		display: flex !important;
		align-items: center !important;
		width: 100%;
	}

	header.menu-primary .logo-container {
		flex: 0 0 220px;
		width: 220px !important;
		max-width: 220px !important;
	}

	header.menu-primary .main-menu-container {
		flex: 1 1 0;
		width: auto !important;
		min-width: 0;
	}

	header.menu-primary .menu-horizontal,
	header.menu-primary .menu-horizontal-inner {
		width: 100% !important;
	}

	header.menu-primary .menu-horizontal-inner {
		display: flex !important;
		align-items: center !important;
		justify-content: flex-end !important;
	}

	header.menu-primary .menu-horizontal-inner > .nav {
		margin-left: auto !important;
	}

	header.menu-primary .navbar-nav {
		margin-left: auto !important;
		margin-right: 0 !important;
	}

	#logo-container-mobile,
	#main-logo,
	.navbar-header,
	.navbar-brand,
	.logo-image {
		overflow: visible !important;
	}

	#main-logo .logo-image.main-logo {
		height: 100px !important;
		position: relative;
	}

	#main-logo .logo-image.main-logo::before {
		content: "";
		position: absolute;
		top: -44px;
		left: -16px;
		width: 220px;
		height: 220px;
		background: #fff;
		border-radius: 0 0 16px 16px;
		z-index: 0;
	}

	#main-logo .logo-image.main-logo img {
		width: 600px !important;
		height: 541px !important;
		max-width: none !important;
		max-height: none !important;
		position: relative;
		top: -20px;
		left: 0;
		z-index: 1;
		transform: scale(.313);
		transform-origin: top left;
	}
}

@media (max-width: 959px) {
	#main-logo .navbar-brand {
		padding: 0 !important;
		background: transparent !important;
		overflow: visible !important;
	}
	#main-logo .logo-image.main-logo {
		width: 180px !important;
		height: auto !important;
		padding: 14px 18px !important;
		background: #fff !important;
		border-radius: 16px !important;
		box-sizing: border-box;
		overflow: hidden !important;
	}
	#main-logo .logo-image.main-logo img {
		display: block;
		width: 100% !important;
		height: auto !important;
		max-width: 100% !important;
		transform: none !important;
	}
}

@media (max-width: 569px) {
	#main-logo .logo-image.main-logo {
		width: 160px !important;
		padding: 16px 20px !important;
	}
}

/* TOP BAR */
.menu-bloginfo {
	white-space: normal;
	text-align: center;
}
.top-menu a {
	color: #fff !important;
	text-decoration: underline !important;
	text-underline-offset: 2px;
	transition: color 0.2s ease;
}
.top-menu a:hover {
	color: #d1d1d1 !important;
}

/* MEGAMENU */
@media (max-width: 959px) and (max-width: 959px) {
  .menu-mobile-default .menu-smart .btn-container a {
	padding: 9px 0px;
  }
}

/* ======================================== 
	FOOTER
======================================== */
.footer-links-column .unmenu-inner-ul.is-grid {
	gap: 0 !important;
	row-gap: 0 !important;
}
.footer-links-column .menu-smart li.menu-item {
	margin: 0 !important;
	padding: 0 !important;
	line-height: 1.15;
}
.footer-links-column .menu-smart li.menu-item > a {
	display: block;
	margin: 0 !important;
	padding: 4px 0 !important;
	line-height: 1.15 !important;
}
.footer-links-column .menu-smart li.menu-item > a span {
	line-height: inherit;
}
.footer-links-hover .heading-text a {
	transition: color 0.2s ease;
}
.footer-links-hover .heading-text a:hover {
	color: #27AAE1 !important;
}
.address a > span {
	display: block;
}

/* ======================================== 
	UNIVERSAL ELEMENTS
======================================== */

body,
p,
li,
dt,
dd,
dl,
address,
label,
pre,
code,
.text-small,
.text-small > * {
	line-height: 1.5;
}

b,
strong {
	font-weight: 700;
}

.style-dark a,
.style-light a {
	transition: color 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
}

/* ======================================== 
	HOME
======================================== */

/* Overlapping images */
.custom-overlap .uncode-single-media:nth-child(2) {
	transform: translate(35%, 6%);
}
@media (max-width: 640px) {
	.home .main-container .image-card .uncode-single-media + .uncode-single-media .single-wrapper {
		transform: translate(8%, 15%);
	}
}

/* Sunday Worship / Justice Images */
.sunday-worship-image img {
	border-radius: 16px 0 0 16px;
}

/* Logo divider */
.logo-divider {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
}
.logo-divider hr {
	width: 100%;
	margin: 0;
}
.logo-divider::after {
	content: "";
	position: absolute;
	width: 135px;
	height: 95px;
	background-color: #fff;
	background-image: url("/wp-content/uploads/2026/09/MPCC_Logo.png");
	background-position: center;
	background-size: 95px 95px;
	background-repeat: no-repeat;
}


/* Corner watermark */

.mpcc-corner-logo > .uncol > .uncoltable > .uncell {
	position: relative !important;
	overflow: hidden;
}

.mpcc-corner-logo > .uncol > .uncoltable > .uncell::after {
	content: "";
	position: absolute;
	right: 28px;
	bottom: 24px;
	width: 100px;
	height: 100px;
	background: url("/wp-content/uploads/2026/09/MPCC_Logo-light.png") center / contain no-repeat;
	opacity: 0.15;
	pointer-events: none;
	z-index: 1;
}

.mpcc-corner-logo > .uncol > .uncoltable > .uncell > .uncont {
	position: relative;
	z-index: 2;
}

.mpcc-corner-logo .row-child > .wpb_row > .wpb_column:last-child > .uncol > .uncoltable > .uncell {
	padding-top: 36px !important;
	padding-bottom: 72px !important;
}


/* Sunday Worship Card */

.mpcc-worship-card > .uncol {
    border-radius: 16px !important;
    overflow: hidden !important;
}

.mpcc-worship-card > .uncol > .uncoltable > .uncell {
    border-radius: 16px !important;
    overflow: hidden !important;
}

@media (min-width: 960px) {
    .mpcc-worship-card .row-child > .wpb_row.row-inner {
        height: 500px !important;
    }

    .mpcc-worship-card .newsletter-column > .uncol > .uncoltable > .uncell {
        padding-top: 24px !important;
        padding-bottom: 24px !important;
    }

    .mpcc-worship-card .newsletter-column .empty-double,
    .mpcc-worship-card .newsletter-column .empty-triple {
        display: none !important;
    }
}

@media (max-width: 959px) {
    .mpcc-worship-card .row-child > .wpb_row.row-inner {
        height: auto !important;
    }
}

/* Newsletter divider */

/*
.newsletter-column > .uncol > .uncoltable > .uncell {
	border-left: 0 !important;
}

.newsletter-column > .uncol > .uncoltable > .uncell > .uncont {
	position: relative;
}

.newsletter-column > .uncol > .uncoltable > .uncell > .uncont::before {
	content: "";
	position: absolute;
	left: -36px;
	top: 0;
	bottom: 0;
	width: 1px;
	background: rgba(255, 255, 255, 0.18);
}*/

.newsletter-column > .uncol > .uncoltable > .uncell {
    border-left: 0 !important;
}

.newsletter-column > .uncol > .uncoltable > .uncell > .uncont {
    position: relative;
}

.newsletter-column > .uncol > .uncoltable > .uncell > .uncont::before {
    content: "";
    position: absolute;
    left: -36px;
    top: 15px;
    bottom: 15px;
    width: 1px;
    background: rgba(255, 255, 255, 0.18);
}

@media (max-width: 959px) {
    .mpcc-worship-card .newsletter-column > .uncol > .uncoltable > .uncell > .uncont::before {
        left: 0;
        right: 0;
        top: -20px;
        bottom: auto;
        width: 100%;
        height: 1px;
        background: rgba(255, 255, 255, 0.18);
    }
}

/* Tablet */

@media (max-width: 959px) {
	.sunday-worship-image img {
		border-radius: 16px;
	}

	.justice-card .sunday-worship-image img {
		border-radius: 16px 16px 0 0 !important;
	}

	.newsletter-column > .uncol > .uncoltable > .uncell > .uncont::before {
		left: 0;
		right: 0;
		top: -30px;
		bottom: auto;
		width: 100%;
		height: 1px;
	}

	.mpcc-corner-logo > .uncol > .uncoltable > .uncell::after {
		width: 85px;
		height: 85px;
		right: 22px;
		bottom: 20px;
	}

	.mpcc-corner-logo .row-child > .wpb_row > .wpb_column:last-child > .uncol > .uncoltable > .uncell {
		padding-top: 60px !important;
		padding-bottom: 60px !important;
	}
}

@media (min-width: 570px) and (max-width: 1300px) {
	.custom-overlap {
		width: 44vw;
		max-width: 100%;
		margin-left: auto;
		margin-right: auto;
		transform: translateX(-6%);
	}

	.custom-overlap .uncode-single-media {
		width: 100%;
	}

	.custom-overlap .uncode-single-media .single-wrapper {
		width: 100%;
		max-width: 100% !important;
	}

	.custom-overlap .uncode-single-media:nth-child(2) {
		transform: translate(18%, 6%);
	}
	.home .custom-overlap .uncode-single-media:nth-child(2) {
		transform: translate(35%, 6%);
	}
}

/* Mobile */

@media (max-width: 569px) {
	.custom-overlap {
		width: 82%;
		margin-left: auto;
		margin-right: auto;
		transform: translateX(-8%);
	}

	.custom-overlap .uncode-single-media {
		width: 100%;
	}

	.custom-overlap .uncode-single-media .single-wrapper {
		width: 100%;
		max-width: 100% !important;
	}

	.custom-overlap .uncode-single-media:nth-child(2) {
		transform: translate(20%, 6%);
	}

	.mpcc-corner-logo > .uncol > .uncoltable > .uncell::after {
		width: 70px;
		height: 70px;
		right: 18px;
		bottom: 16px;
	}

	.mpcc-corner-logo .row-child > .wpb_row > .wpb_column:last-child > .uncol > .uncoltable > .uncell {
		padding-top: 30px !important;
		padding-bottom: 80px !important;
	}

	.newsletter-column > .uncol > .uncoltable > .uncell > .uncont::before {
		top: -25px;
	}
}

/* ======================================== 
	SECONDARY PAGES
======================================== */

/* FACILITIES */
.js-rotating {
	opacity: 0;
	transition: opacity 0.5s ease-in-out, visibility 0.5s ease-in-out;
	color: #27aae1;
}
.js-rotating .animate__animated {
	animation-duration: 2s;
}

/* IN NEED OF HELP? */
.hotline-card-row .uncell {
	position: relative;
}
.hotline-card-row .uncell > .uncont {
	padding-bottom: 50px;
}
.hotline-card-row .uncell > .uncont > .btn-container:last-child {
	position: absolute;
	bottom: 36px;
}

/* MUSIC MINISTRY */
.mpcc-video-rounded iframe {
	border-radius: 8px;
}
@media (max-width: 600px) {
	.mpcc-video-rounded iframe {
		display: block;
		width: 100%;
		height: auto;
		aspect-ratio: 16 / 9;
	}
}

/* SMALL GROUPS */
.single-wm_group .wm-events {
	--wm-events-columns: 2;
}
.single-wm_group .small-group-events-heading {
	text-align: center;
	padding-top: 16px;
	padding-bottom: 8px;
}
.single-wm_group .wm-events__empty {
	text-align: center;
}

/* ======================================== 
	FORMS
======================================== */

/* REQUIRED FIELDS */
.style-light .gform_wrapper.gravity-theme .gfield_required {
	color: #1c3e71;
}

/* GENERAL FIELD STYLING */
.gform_wrapper.gravity-theme .gfield input::placeholder {
	opacity: .4;
}
@media (min-width: 640px) {
	.gform_wrapper.gravity-theme .ginput_container_address span {
		flex: 0 0 33.33%;
	}
}


/* SUBMIT BUTTONS */
.style-light button[type="submit"] {
	background: #1c3e71;
	color: #FFFFFF;
	border: 1px solid #1c3e71;
}
.style-light button[type="submit"]:hover,
.style-light button[type="submit"]:focus {
	background: transparent;
	color: #1c3e71;
	border: 1px solid #1c3e71;
}