/*
Theme Name: Divi Child Template
Version: 1.0
Description: A customized version of Divi which can add a number of custom features you need.
Template: Divi
*/

/* -----------------------------------------------------------------------
 * Base Style
 * ----------------------------------------------------------------------- */


.custom-menu {
	background-color: transparent!important;
	padding: 0!important;
}

.custom-menu #menu-primary-menu li {
	margin: 0!important;
	padding: 0!important;
}


.custom-menu #menu-primary-menu li a {
	color: #fff;
	padding: 20px;
	font-weight: bold;
}
.custom-menu .current-menu-item a {
	color: #351657!important;
}
.custom-menu #menu-primary-menu li:hover a, .custom-menu .current-menu-item {
	background-color: #fff!important;
	color: #351657!important;
	opacity: 1!important;
}

.custom-menu .mobile_menu_bar {
	background-color: #000!important;
}

.custom-menu .mobile_menu_bar:before {
	color: #fff!important;
}

@media (max-width: 980px) {
	.et_pb_menu .et_mobile_nav_menu {
		margin: 0!important;
		padding: 10px 0px;
	}
	.et_pb_menu__wrap .mobile_menu_bar {
    	transform: translateY(0%);
	}
	.custom-menu .mobile_nav .mobile_menu_bar:before {
        font-size: 34px!important;
    }
}

.et_pb_menu_0_tb_footer.et_pb_menu {
    background-color: transparent!important;
}
.et_pb_menu_0_tb_footer .et_pb_menu__wrap,
.et_pb_menu_0_tb_footer .et_pb_menu__menu,
.et_pb_menu_0_tb_footer .et-menu-nav {
	display: inline!important;
}
.et_pb_menu_0_tb_footer .et_mobile_nav_menu {
	display: none!important;
}

#menu-footer-menu {
	display: block!important;
	width: 100%;
	margin: 0!important;
}
#menu-footer-menu li {
	text-align: center!important;
}
#menu-footer-menu li a {
	width: 100%;
	color: #fff!important;
}

.et_pb_gallery_pagination {
	border: none!important;
}

.et_pb_gallery_pagination ul li {
	padding: 0!important;
	color: #351657!important;
}

.et_pb_gallery_pagination ul li a {
	background-color: #351657;
	background-image: linear-gradient(180deg, #351657 0%, #000000 100% 100%) !important;
	padding: 10px;
	color: #fff!important;
}
.et_pb_gallery_pagination ul li a:hover {
	background-color: #000;
	background-image: linear-gradient(180deg, #000000 0%, #351657 100% 100%) !important;
}

.custom-box-img .et_pb_image_wrap {
	text-align: center;
}

@media only screen and (min-width: 981px ) {
	body:not(.home) .et_pb_team_member_image {
		max-width: 150px;
		width: 100%;
	}
}
@media only screen and (max-width: 980px ) {
	body:not(.home) .et_pb_team_member_image, body:not(.home) .et_pb_team_member_description {
		text-align: center;
		margin: 0 auto;
	}
}


a {
    color: #351657;
}

.post-type-archive-sermons .sermon-wrapper .sermon-title-holder:after, 
.post-type-archive-sermons .sermon-wrapper .sermon-featured-image:after {
	background-image: url("/wp-content/uploads/2025/12/Church-48.jpg");
	background-attachment: fixed;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

.sermon-wrapper .sermon-details {
	background-color: #351657;
}

[class*="sermon"] #et-main-area *,
[class*="tribe_"] #et-main-area * {
	font-family: 'Oswald'!important;
}

[class*="sermon"] #et-main-area .fa {
	font-family: "Font Awesome 5 Free"!important;
}

.tribe-events * {
	--tec-color-accent-primary: #351657!important;
	--tec-color-accent-primary-hover: #351657!important;
	--tec-color-accent-primary-active: #351657!important;
	--tec-color-background-events-bar-submit-button: #351657!important;
    --tec-color-background-events-bar-submit-button-hover: #351657!important;
    --tec-color-background-events-bar-submit-button-active: #351657!important;
	--tec-color-icon-focus: #351657!important;
	--tec-color-event-icon-hover: #351657!important;
	--tec-color-button-primary: #351657!important;
	--tec-color-link-accent: #351657!important;
}
.tribe-events-pg-template {
	--tec-color-link-accent: #351657!important;
    --tec-color-link-accent-hover: #351657!important;
}


.tribe_event_series-template-default #sidebar {
	display: none!important;
}

.tribe_event_series-template-default #main-content .container:before {
	content: none;
}

.tribe_event_series-template-default #left-area {
	padding-right: 0px!important;
	width: 100%!important;
}

.tribe_event_series-template-default #left-area ul, .tribe_event_series-template-default .entry-content ul {
	padding: 0;
}

.tribe_event_series-template-default #left-area .post-meta {
	display: none;
}

.et_pb_menu * {
	animation: none!important;
	transition: none!important;
}

.width-calc-correction .et_pb_column {
	width: 100%;
}