/* Header */
@media all and (min-width:835px) and (max-width:1919px) {
	.site_additional_info .wp-block-search__inside-wrapper input {
		width: 320px;
	}
}

@media all and (min-width:955px) and (max-width:1919px) {
	.site-brand {
		width: 100%;
	}
}

@media all and (max-width:954px) {
	.wp-site-blocks .site-header {
		flex-wrap: wrap;
		justify-content: center;
	}

	.wp-site-blocks .site_additional_info {
		justify-content: center;
	}
}

@media all and (min-width:600px) and (max-width:834px) {
	.site_additional_info .wp-block-search__inside-wrapper input {
		width: 150px;
	}
}

@media all and (max-width:599px) {
	.wp-site-blocks .site-header .wp-block-site-logo {
		margin-bottom: 0 !important;
		margin-top: 0 !important;
	}

	.wp-site-blocks .site-header {
		text-align: center;
	}

	.wp-site-blocks .site_additional_info {
		gap: 10px;
	}

	.site_additional_info .wp-block-search__inside-wrapper input {
		width: 300px;
	}
}

@media all and (min-width:429px) and(max-width:457px) {
	.site_additional_info .wp-block-buttons {
		width: 170px;
	}
}

@media all and (max-width:457px) {

	.site_additional_info .wp-block-buttons a {
		font-size: 13px !important;
	}

	.site_additional_info .wp-block-search__inside-wrapper input {
		width: 300px;
	}
}

@media all and (max-width:428px) {
	.wp-site-blocks .site_additional_info .wp-block-buttons .wp-block-button.w-191 {
		width: 169px !important;
	}

	.site_additional_info .wp-block-search__inside-wrapper input {
		width: 260px;
	}
}

/* Mega Menu Styling */
@media all and (max-width:1600px) {

	#mega-menu-wrap-primary #mega-menu-primary>li.mega-menu-megamenu>ul.mega-sub-menu>li.mega-menu-item>a.mega-menu-link,
	#mega-menu-wrap-primary #mega-menu-primary>li.mega-menu-megamenu>ul.mega-sub-menu li.mega-menu-column>ul.mega-sub-menu>li.mega-menu-item>a.mega-menu-link {
		font-size: 14px;
	}

	#mega-menu-wrap-primary #mega-menu-primary li.mega-menu-megamenu>ul.mega-sub-menu>li.mega-menu-row .mega-menu-column>ul.mega-sub-menu>li.mega-menu-item {
		padding: 8px;
	}
}


/* Button */
.btn-exerpt a:hover {
	transform: scale(1.05);
	transition: all .25s ease-in-out;
}

#subscribe-submit .wp-block-button__link:hover {
	background: #007cba !important;
}

/* Word Custom */
.word_wrap_custom p {
	word-wrap: break-word;
}

/* Social Logo Customization */
.wp-block-social-links.is-style-logos-only.custom_logo .wp-social-link svg {
	height: auto;
	width: 60px !important;
}

/* Custom Ghostkit Tabs */
.custom_dropdown_tabs {
	width: 100%;
	background: #167ac629;
	border-radius: 10px;
	padding: 15px;
}


/* Upcoming Events */
@media all and (max-width:414px) {
	.home-upcoming-events .tribe-events-widget .tribe-events-widget-events-list__event-row {
		flex-wrap: wrap;
	}
}

/* CUSTOM CALENDAR LAYOUT */
#ecs_main_event_wrapper .ecs-events {
	display: block;
}

#ecs_main_event_wrapper .ecs-event {
	border-bottom: 1px solid #1D1D1D20;
	margin-bottom: 37px !important;
	padding-bottom: 37px;
	display: table;
}

#ecs_main_event_wrapper .ecs-event .date_thumb {
	border-radius: 10px;
	background: transparent !important;
	vertical-align: top !important;
	padding-top: 10px;
	width: 64px;
}

#ecs_main_event_wrapper .ecs-event .date_thumb .month {
	background: #faab42;
	padding: 5px !important;
	border-top-left-radius: 10px;
	border-top-right-radius: 10px;
	font-weight: bold;
	font-size: 15px !important;
	color: #1d1d1d !important;
	padding: 2px;
}

#ecs_main_event_wrapper .ecs-event .date_thumb .day {
	padding: 4px 10px !important;
	background-color: #fff;
	box-shadow: 0px 0px 1px 0px #0000005e;
	border-bottom-right-radius: 10px;
	border-bottom-left-radius: 10px;
}

#ecs_main_event_wrapper .ecs-event .summary {
	padding-left: 20px;
}

#ecs_main_event_wrapper .ecs-event .summary a {
	text-decoration: none;
	font-weight: bold;
	color: #00023e;
	font-size: 22px;
}

#ecs_main_event_wrapper .ecs-event .summary .ecs-time,
#ecs_main_event_wrapper .ecs-event .summary .author-of-events {
	font-size: 20px;
	margin-top: 25px;
}

#ecs_main_event_wrapper .ecs-event .ecs-excerpt {
	display: none;
}

/* CHURCH MENU */
/* .ghostkit-custom-1AWPpE {
	padding-left:0px !important;
	padding-right:0px !important;
} */

.child_page_container {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding-top: 5px;
	/*     background-color: #333; */
	/*     padding: 15px; */
}

.child_page_container .nav-list {
	list-style-type: none;
	justify-content: space-between;
	padding: 0px 60px;
	margin: 0px;
	display: flex;
	width: 100%;
	z-index: 99 !important;
}

.child_page_container .nav-list li {
	margin-right: 20px;
}

.child_page_container .nav-list a {
	text-decoration: none;
	/*     color: white; */
	/*     font-weight: bold; */
}

.child_page_container .menu-toggle {
	cursor: pointer;
	display: none;
	flex-direction: column;
}

.child_page_container .bar {
	background-color: #00063a;
	height: 3px;
	width: 25px;
	margin: 5px 0;
}

.single-tribe_events h1.tribe-events-single-event-title {
	font-size: 48px !important;
	color: #02205f;
}

@media only screen and (max-width: 1280px) {
	#church_main_menu {
		padding-left: 0px !important;
		padding-right: 0px !important;
	}

	.child_page_container {
		padding: 0px;
		margin: 0px;
		position: relative;
	}

	.child_page_container .nav-list {
		display: none;
		flex-direction: column;
		width: 100%;
		text-align: center;
		position: absolute;
		top: 60px;
		left: 0;
		/*         background-color: #333; */
		z-index: 1;
	}

	.child_page_container .nav-list li {
		text-align: left;
	}

	.child_page_container .nav-list.show {
		display: flex;
		position: absolute;
		margin: 0px;
		padding: 20px;
		background: #edf4fd;
	}

	.child_page_container .menu-toggle {
		display: flex;
	}

	#mobile-menu.toggleshow .bar:first-child {
		transform: translate3d(0, 7px, 0) rotate(45deg);
		transition: all ease 250ms;
	}

	#mobile-menu.toggleshow .bar:nth-child(2) {
		opacity: 0;
		transition: all ease 250ms;
	}

	#mobile-menu.toggleshow .bar:nth-child(3) {
		transform: translate3d(0, -19px, 0) rotate(-45deg);
		transition: all ease 250ms;
	}
}

/* .page-template-wp-custom-template-custom-template-2 .wp-block-cover[style="min-height:450px"] img {
    min-height: 450px;
}

@media(max-width:768px) {
	.page-template-wp-custom-template-custom-template-2 .wp-block-cover[style="min-height:450px"] img {
		min-height: 300px;
	}
} */

@media (min-width: 1280px) {
	#mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1 {
		flex-wrap: wrap !important;
		justify-content: center !important;
		column-gap: 40px !important;
		display: flex !important;
		max-width: max-content;
		margin: 0 auto;
	}

	#mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1>li.mega-menu-item>a.mega-menu-link {
		height: auto !important;
		line-height: auto !important;
		font-size: 15px !important;
		padding-left: 0;
		padding-right: 0;
	}

	#mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1 li.mega-menu-item-has-children>a.mega-menu-link>span.mega-indicator:after {
		right: -25px !important;
	}
}

@media screen and (max-width: 1340px) {
	#mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1 {
		column-gap: 25px !important;
	}
}

@media screen and (min-width: 1278px) and (max-width: 1280px) {
	#mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1 {
		column-gap: 25px !important;
	}

	#mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1>li.mega-menu-item>a.mega-menu-link {
		font-size: 14px !important;
	}

	#mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1 li.mega-menu-item-has-children>a.mega-menu-link>span.mega-indicator:after {
		position: absolute;
		right: -10px;
	}
}

/*@media (min-width: 1601px) {
	#mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1 li.mega-menu-item-has-children>a.mega-menu-link>span.mega-indicator:after {
		right: -5px !important;
	}
}*/