/*
 Theme Name:     Divine Child
 Theme URI:      https://www.elegantthemes.com/gallery/divi/
 Description:    Divi Child Theme
 Author:         Toby Dai
 Author URI:     https://www.tobydai.com
 Template:       Divi
 Version:        1.0.0
*/


/*------------------------------------------------*/
/*-----------------NAV CTA----------------*/
/*------------------------------------------------*/

/* style the get started cta button */
.nav-cta {
	border-radius: 0;
}
.nav-cta a {
	color: #fff !important;
}
li.nav-cta {
	background-color: #ffb837;
	font-weight: 700;
	text-transform: uppercase;
	text-align: center;
	padding: 12px 13px 10px 10px !important;
	border-radius: 3px;
	-moz-transition: all 0.5s;
	-webkit-transition: all 0.5s;
	transition: all 0.5s;
}
li.nav-cta:hover {
	background-color: #c99028;
}

/* fixed header button text color */
.et-fixed-header #top-menu .nav-cta a {
	color: #fff !important;
}
.nav-cta li.current-menu-ancestor > a,
.nav-cta li.current-menu-item > a {
	color: #fff !important;
}
@media only screen and (min-width: 981px) {
	li.nav-cta {
		height: 33px;
		padding: 17px 17px 27px 16px !important;
	}
	#et_top_search {
		margin: 18px 0 0 22px !important;
	}

}
/*------------------------------------------------*/
/*-----------------Social Icon Size----------------*/
/*------------------------------------------------*/
.social-icons-bigger.et_pb_social_media_follow li a.icon::before {
	width: 50px;
	line-height: 50px;
	font-size: 30px;
}
.social-icons-bigger.et_pb_social_media_follow li a.icon {
	width: 50px;
	height: 50px;
}

@media only screen and (min-width: 981px) {
	#hero--event--title { /*hero position*/
		margin-left: 0 !important;
	}
	#main-header {
		top: 0 !important;
	}
	#top-header {
		top: 97px !important;
	}
}
@media only screen and (max-width: 768px) {
	.social-icons-bigger.et_pb_social_media_follow li a.icon::before {
		width: 35px;
		line-height: 35px;
		font-size: 25px;
	}
	.social-icons-bigger.et_pb_social_media_follow li a.icon {
		width: 35px;
		height: 35px;
	}
}
/* Secondary menu alignment */
#et-secondary-menu {
	float: none !important;
	text-align: center;
}
/*------------------------------------------------*/
/*-----------------Btn inline----------------*/
/*------------------------------------------------*/
.btn-inline .et_pb_button_module_wrapper {
	display: inline-block;
	margin: 0 5px;
}

.btn-inline {
	text-align: center !important;
}

/* get help give help style */
@media only screen and ( max-width: 768px ) {
	.et_pb_image_0 {
		margin-top: -65px !important;
	}
	div.et_pb_section.et_pb_section_1 {
		background-position: center !important;
	}
}

/*------------------------------------------------*/
/*-----------------blog page normalize----------------*/
/*------------------------------------------------*/
.single .et_pb_post {
	margin-bottom: 0 !important;
}
.single .post {
	padding-bottom: 0 !important;
}
@media (min-width: 981px) {
	#left-area {
		padding-bottom: 0 !important;
	}
}

/*------------------
/*----Featured Links
--------------------*/
#featured_links .et_pb_salvattore_content {
	display: flex;
	flex-direction: row;
}
#featured_links .column {
	display: flex;
	flex-direction: column;
}
#featured_links .column article {
	display: flex;
	flex-direction: column;
	flex: 1 0 auto;
	justify-content: space-between;
	background: rgb(234, 248, 252);
}
#featured_links .column article .post-content a {
	display: block;
	text-align: center;
	margin-top: 1em;
}

/*---------------------
----Mission Moments----
---------------------*/
#mission_moments .et_pb_salvattore_content {
	display: flex;
	flex-direction: row;
}
#mission_moments .column {
	display: flex;
	flex-direction: column;
}
#mission_moments .column article {
	display: flex;
	flex-direction: column;
	flex: 1 0 auto;
	justify-content: space-between;
}
#mission_moments .column article .post-content a {
	margin-top: 1em;
}

/*-------------------------
---Anniversary Accordion---
-------------------------*/
.et_pb_accordion .et_pb_accordion_item .et_pb_toggle_content {
	max-width: 960px;
	width: 95%;
	margin: 0 auto;
}
.et_pb_accordion .et_pb_accordion_item .et_pb_toggle_title {
	max-width: 960px;
	width: 95%;
	margin: 0 auto;
	font-size: 2em;
	color: #005596;
}
.et_pb_accordion .et_pb_accordion_item .et_pb_toggle_content .entry .date {
	font-weight: 900;
	transition: .3s ease-in-out;
}
.et_pb_accordion .et_pb_accordion_item .et_pb_toggle_content .entry .date-content {
	margin-left: 4em;
}
.et_pb_accordion .et_pb_accordion_item .et_pb_toggle_content .entry {
	display: flex;
	flex-direction: row;
	padding: 3em;
	transition: .3s ease-in-out;
}
.et_pb_accordion .et_pb_accordion_item .et_pb_toggle_content .entry:hover {
	background: white;
	border-radius: 10px;
	padding: 3em;
	box-shadow: 0 8px 10px -8px grey;
	transform: scale(1.025);
	transition: .3s ease-in-out;
}
.et_pb_accordion .et_pb_accordion_item .et_pb_toggle_content .entry:hover .date {
	color: #005596;
	font-size: 1.1em;
	transition: .3s ease-in-out;
}

/*----------
----Header Mod----
------------*/

#et-secondary-nav li {
	margin-right: 28px !important;
}

#et-secondary-nav li li {
	margin-right: 0 !important;
	padding: 0;
}

#staffs a {
	color: white !important;
}

#et-secondary-nav li.menu-item-10032 > ul {
	width: 265px;
}

/*
#et-secondary-nav li ul {
	right: auto;
	left: -132px;
}

#et-secondary-nav li .menu-item-has-children > a:first-child::after {
  top: .67em;
  left: auto;
  right: 0.2em;
}
 */

#et-secondary-nav li ul ul {
	right: auto;
	left: 220px;
}

/*-----------------
-----Inner Nav-----
-----------------*/
#inner-nav a {
	color: white;
	margin: 0;
}

/*-----------------------
------Service Page-------
-----------------------*/
.service-button {
	background: #005596;
	color: white;
	padding: 0.5em 1em;
	border: none;
	border-radius: 5px;
	transition: 1s ease;
}
.service-button:hover {
	background: white;
	color: #005596;
	transition: 1s ease;
}
@media (min-width: 45em) {
	.specialties-list {
		columns: 3;
	}
	.wishlist {
		columns: 2;
	}
}


/*=======================================================
 * fixed h1 tags - eg. /giving/
 *======================================================*/

/*
.et_pb_row_3 h1 {
	color: #fff;
	padding: 0;
	margin: 0;
	font-weight: 700;
	font-size: 28px;
}
*/

/*=======================================================
 * Enable search on mobile
 *======================================================*/

@media only screen and (max-width: 980px) {

	#et_top_search {
		display: block !important;
	}

	span.et_close_search_field {
		margin-right: 15px;
	}
}

/*=======================================================
 * Fix Google Lighthouse "Tap targets are not sized appropriately" issues
 *======================================================*/

@media only screen and (max-width: 980px) {
	.et_pb_text_inner a {
		margin: 0 0 10px 0;
		display: inline-block;
	}

	#et-footer-nav li {
		padding-bottom: 5px;
	}
}
