/*---------------------------------------------------------------------------------

Theme Name:   Pioneers Ministry
Theme URI:    https://www.elegantthemes.com/
Description:  This is a child theme of Divi.
Author:       Jonathan Lee
Author URI:   
Template:     Divi
Version:      1.0.0
License:      GNU General Public License v2 or later
License URI:  http://www.gnu.org/licenses/gpl-2.0.html

------------------------------ ADDITIONAL CSS HERE ------------------------------*/

/* GENERAL STYLES */

.et_pb_text li:not(:last-child) {
	margin-bottom: 15px;
}

.et_pb_button {
	line-height: 1.2em !important;
}

.horizontal-line {
	height: 3px;
	width: 172px;
	border: none;
	margin-bottom: 30px;
}

.line-red {
	background-color: #b5372d;
}

.line-white {
	background-color: #fff;
}

.align-left {
	text-align: left;
	margin-left: 0;
}

.align-center {
	text-align: center;
	margin: 0 auto;
}

.align-items-center {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
}

/* LAYOUT STYLES */

@media only screen and (max-width: 980px) {
	.half-mobile .et_pb_column {
		width: 50% !important;
	}
}

@media only screen and (max-width: 980px) {
	.wrap-reverse {
		flex-wrap: wrap-reverse;
	}

	.wrap-reverse .et_pb_column:first-child {
		margin-bottom: 0 !important;
	}

	.wrap-reverse .et_pb_column:last-child {
		margin-bottom: 30px !important;
	}
}

/* MENU STYLES */

.et_pb_menu--with-logo .et_pb_menu__menu>nav>ul>li>a {
	padding: 25px 0;
}

.et-db #et-boc .et-l .et_pb_menu_0_tb_header.et_pb_menu ul li a {
	color: #000;
	transition: all 0.3s;
}

.et-db #et-boc .et-l .et_pb_menu_0_tb_header.et_pb_menu ul li:hover>a:not(.custom-cta), .et-db #et-boc .et-l .et_pb_menu_0_tb_header.et_pb_menu ul li.current-menu-item a:not(.custom-cta), .et-db #et-boc .et-l li.current_page_item > a:not(.contact-cta) {
	color: #B5372D;
}

.et-db #et-boc .et-l li.current_page_item > a {
	font-weight: 700;
}

.custom-cta a:hover {
	transform: scale(1.1);
	color: #fff !important;
}
.custom-cta a {
	background: #B5372D;
	color: #fff !important;
	border-radius: 36px;
	padding: 0 20px !important;
	transition: all 0.3s;
}

.et-db #et-boc .et-l .et_mobile_menu li a:hover, .et-db #et-boc .et-l .nav ul li a:hover {
	background-color: transparent;
}

.et-db #et-boc .et-l .closed #mobile_menu1 {
	opacity: 0;
	pointer-events: none;
	transform: translatex(-100%);
	width: 0px;
	transition-delay: 600ms;
}

/* Link animations */

.et-db #et-boc .et-l #mobile_menu1 a {
	transform: translatex(-90px);
	opacity: 0;
	transition: all cubic-bezier(0.5, 0, 0, 1) 800ms;
	text-align: left;
}



.et-db #et-boc .et-l #mobile_menu1, .et-db #et-boc .et-l .opened #mobile_menu1 {
	position: fixed;
	display: flex !important;
	flex-direction: column;
	justify-content: center;
	min-height: 100%;
	max-height: 100%;
	z-index: 10;
	top: 0;
	border: none;
	overflow-y: auto;
	max-width: 100%;
	float: left;
	transition: all cubic-bezier(0.5, 0, 0, 1) 800ms;
	background: #B5372D !important;
	background-size: cover;
	background-repeat: no-repeat;
}

.et-db #et-boc .et-l .opened #mobile_menu1 {
	transform: none;
}
.et-db #et-boc .et-l .opened #mobile_menu1 a {
	transform: none;
	opacity: 1;
}

.et-db #et-boc .et-l #mobile_menu1 a, .et-db #et-boc .et-l #mobile_menu1 li {
	text-align: center !important;
}

.et-db #et-boc .et-l .opened #mobile_menu1 .menu-item:nth-child(1) a, .et-db #et-boc .et-l .closed #mobile_menu1 .menu-item:nth-last-child(1) a {
	transition-delay: 100ms;
}

.et-db #et-boc .et-l .opened #mobile_menu1 .menu-item:nth-child(2) a, .et-db #et-boc .et-l .closed #mobile_menu1 .menu-item:nth-last-child(2) a {
	transition-delay: 200ms;
}

.et-db #et-boc .et-l .opened #mobile_menu1 .menu-item:nth-child(3) a, .et-db #et-boc .et-l .closed #mobile_menu1 .menu-item:nth-last-child(3) a {
	transition-delay: 300ms;
}

.et-db #et-boc .et-l .opened #mobile_menu1 .menu-item:nth-child(4) a, .et-db #et-boc .et-l .closed #mobile_menu1 .menu-item:nth-last-child(4) a {
	transition-delay: 400ms;
}

.et-db #et-boc .et-l .opened #mobile_menu1 .menu-item:nth-child(5) a, .et-db #et-boc .et-l .closed #mobile_menu1 .menu-item:nth-last-child(5) a {
	transition-delay: 500ms;
}

.et-db #et-boc .et-l .opened #mobile_menu1 .menu-item:nth-child(6) a, .et-db #et-boc .et-l .closed #mobile_menu1 .menu-item:nth-last-child(6) a {
	transition-delay: 600ms;
}

.et-db #et-boc .et-l .mobile_nav.opened .mobile_menu_bar:before {
	content: '\4d';
	color: #fff;
	transition: all ease-in-out 300ms;
	z-index: 100;
}
.et-db #et-boc .et-l .mobile_nav.closed .mobile_menu_bar:before {
	transition: all ease-in-out 300ms;
}

.et-db #et-boc .et-l .et_mobile_menu li a {
	border-bottom: none;
}

.et-db #et-boc .et-l .mobile_menu_bar {
	z-index: 999999;
}

.et-db #et-boc .et-l .et_pb_menu .et_mobile_nav_menu {
	margin: 0;
}

/* FORMS */

.mb-1 {
	margin-bottom: 1em;
}

.wpcf7-form-control {
	width: 100% !important;
}

.wpcf7-text, .wpcf7-number {
	height: 45px;
}

.wpcf7-textarea {
	height: 141px;
}

.wpcf7-text, .wpcf7-textarea, .wpcf7-number {
	padding: 1em !important;
	font-size: 16px;
	letter-spacing: 0.8px;
}

#contact-form .wpcf7-text, #contact-form .wpcf7-textarea, #contact-form .wpcf7-number {
	color: #000 !important;
	border: 1px solid #000 !important;
}

#contact-form ::-webkit-input-placeholder { /* WebKit browsers */
	color: #000 !important;
	opacity: 1;
}

.wpcf7-submit, .btn {
	max-width: 180px;
	font-size: 18px;
	font-weight: 500;
	padding: 10px 35px;
	display: block;
	cursor: pointer;
	transition: all 0.3s;
}

.wpcf7-spinner {
	position: absolute;
	bottom: 0;
}

.btn-red {
	background: #B5372D;
	color: #fff !important;
	border-radius: 36px;
	border: 2px solid #B5372D;
}

.btn-red:hover {
	background: #fff;
	color: #B5372D !important;
}

.btn-white-transparent {
	background: transparent;
	color: #fff !important;
	border-radius: 36px;
	border: 2px solid #fff;
}

.btn-white-transparent:hover {
	background: #fff;
	color: #4F031E !important;
}