/*
 Theme Name:   Lily's Promise Homes Theme
 Description:  A custom Divi child theme built by Green Tree Media.
 Author:       Green Tree Media, LLC
 Author URI:   http://greentreemediallc.com
 Template:     Divi
 Version:      2.5.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags: responsive-layout, one-column, two-columns, three-columns, four-columns, left-sidebar, right-sidebar, custom-background, custom-colors, featured-images, full-width-template, post-formats, rtl-language-support, theme-options, threaded-comments, translation-ready
 Text Domain:  divi-child-theme
*/

/* ---------- HEADER ----------------------------- */

/* App style mobile menu */
@media (max-width: 980px) {
  .container.et_menu_container { 
    width: calc( 100% - 60px);
  }
}
.et_mobile_menu {
  margin-left: -30px;
  padding: 5%;
  width: calc( 100% + 60px);
}
.mobile_nav.opened .mobile_menu_bar:before {content: "\4d"}
/* END App style mobile menu */

.et_pb_section--with-menu .mobile_nav .mobile_menu_bar::before {
  content: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' version='1.1' width='32' height='32' viewBox='0 0 32 32'><path d='M29,6H3A1,1,0,0,0,3,8H29a1,1,0,0,0,0-2Z' fill='rgb(0,0,0)'/><path d='M3,17H16a1,1,0,0,0,0-2H3a1,1,0,0,0,0,2Z' fill='rgb(0,0,0)'/><path d='M25,24H3a1,1,0,0,0,0,2H25a1,1,0,0,0,0-2Z' fill='rgb(0,0,0)'/></svg>");
}

.et_pb_section--with-menu .mobile_nav.opened .mobile_menu_bar::before {
  content: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' version='1.1' width='24' height='24' viewBox='0 0 32 32'><path d='M4,29a1,1,0,0,1-.71-.29,1,1,0,0,1,0-1.42l24-24a1,1,0,1,1,1.42,1.42l-24,24A1,1,0,0,1,4,29Z' fill='rgb(0,0,0)'/><path d='M28,29a1,1,0,0,1-.71-.29l-24-24A1,1,0,0,1,4.71,3.29l24,24a1,1,0,0,1,0,1.42A1,1,0,0,1,28,29Z' fill='rgb(0,0,0)'/></svg>");
}

.nav li li {
	display: block;
	padding: 0;
}

.et-menu li li a {
	line-height: 1.3em;
	padding: 10px 20px;
	width: 100%;
}

/* ---------- COLLAPSABLE MOBILE SUBMENUS -------- */
.et_pb_menu .et_mobile_menu .menu-item-has-children > a,
.et_pb_section--with-menu .et_mobile_menu .menu-item-has-children > a {
  background-color: transparent;
  position: relative;
}

.et_pb_menu .et_mobile_menu .menu-item-has-children > a::after,
.et_pb_section--with-menu .et_mobile_menu .menu-item-has-children > a::after {
  font-family: 'ETmodules';
  text-align: center;
  speak: none;
  font-weight: 600;
  font-variant: normal;
  text-transform: none;
  -webkit-font-smoothing: antialiased;
  position: absolute;
  font-size: 18px;
  content: '\4c';
  top: 11px;
  right: 13px;
}

.et_pb_menu .et_mobile_menu .menu-item-has-children.visible > a::after,
.et_pb_section--with-menu .et_mobile_menu .menu-item-has-children.visible > a::after {
  content: '\4d';
}

.et_pb_menu .et_mobile_menu ul.sub-menu,
.et_pb_section--with-menu .et_mobile_menu ul.sub-menu,
.et-db #et-boc .et-l .et_pb_menu .et_mobile_menu li ul.sub-menu {
  display: none !important;
  visibility: hidden !important;
  transition: all 1.5s ease-in-out;
}

.et_pb_menu .et_mobile_menu li.visible > ul.sub-menu,
.et_pb_section--with-menu .et_mobile_menu li.visible > ul.sub-menu,
.et-db #et-boc .et-l .et_pb_section--with-menu .et_mobile_menu li.visible > ul.sub-menu,
.et-db #et-boc .et-l .et_pb_fullwidth_menu .et_mobile_menu li.visible > ul.sub-menu,
.et-db #et-boc .et-l .et_pb_menu .et_mobile_menu li.visible > ul.sub-menu {
  display: block !important;
  visibility: visible !important;
}

/* ---------- GALLERIES -------------------------- */
.customGallery--landscape .et_pb_gallery_image {
  padding-top: 56.25%;
  display: block;
}

.customGallery--landscape .et_pb_gallery_image img {
  position: absolute;
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  object-fit: cover;
}

/* Hide gallery image titles */
.mfp-figure .mfp-title {display:none;}

/* ---------- BLURBS ----------------------------- */
.fullwidthBlurb .et_pb_blurb_description {
	padding: 1em 2vw;
}

/* ---------- GRAVITY FORMS ---------------------- */
.gform_body input:not([type="submit"]),
.gform_body select,
.gform_body textarea {
  background-color: #eeeeee;
  border: 0;
  border-radius: 3px;
  font-size: 16px !important;
  padding: 15px !important;
}

.gform_next_button {
	background-color: #181818;
	border: 0;
	border-radius: 4px;
	color: #fefefe;
	font-size: 18px;
	line-height: 1em;
	padding: 0.75em 2em;
}

.gform_previous_button {
	border: 0;
	color: #181818;
	font-size: 18px;
	line-height: 1em;
}

.multiColumn .gfield_checkbox {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
}

.multiColumn.multiColumn--4 .gchoice {width:25%;}
.multiColumn.multiColumn--3 .gchoice {width:33%;}
.multiColumn.multiColumn--2 .gchoice {width:50%;}

.gform_footer .gform_button.button {
  background-color: #181818;
  border: 1px solid #181818;
  color: #fefefe;
  cursor:pointer;
  padding: 1em 1.5em;
}

.lightForm .gform_heading {display:none;}

.lightForm .gfield_label,
.lightForm .ginput_complex label {
	color: #ffffff!important;
}

.lightForm .gform_footer .gform_button.button {
  background-color: #ffffff;
  border: 1px solid #ffffff;
  color: #181818;
  font-family: 'Barlow',Helvetica,Arial,Lucida,sans-serif!important;
  font-size: 17px;
}

/* ---------- FOOTER ----------------------------- */
#footer-info {
  width:100%;
  text-align:center;
}

.footerMenu .fwidget.et_pb_widget.widget_nav_menu {width: 100%;}


footer .et_pb_widget_area h4.title {
	margin-bottom:10px;
	position:relative;
}

footer .et_pb_widget_area h4.title::before,
footer .et_pb_widget_area h4.title::after {
	content: '';
	position: absolute;
	left:0;
}

footer .et_pb_widget_area h4.title::before {
	background-color: rgba(255,255,255,0.5);
	height: 1px;
	width: 100%;
	bottom: -1px;
	z-index: 2;
}

footer .et_pb_widget_area h4.title::after {
	background-color: #cd5a91;
	height: 3px;
	width: 100px;
	bottom: -2px;
	z-index: 3;
}

.footerMenu ul.menu {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: center;
}

.footerMenu ul.menu > li {}

.footerMenu ul.menu > li:not(last-child) {margin-right: 1em;}

/* ---------- HELPERS ---------------------------- */
.scrolloff {pointer-events:none}
#page-container {overflow:hidden}

.disableLightbox a {pointer-events: none;}
.disableLightbox .et_overlay {display: none !important;}

.backgroundPosition--topLeft .et_parallax_bg {background-position:top left;}
.backgroundPosition--centerLeft .et_parallax_bg {background-position:center left;}
.backgroundPosition--bottomLeft .et_parallax_bg {background-position:bottom left;}
.backgroundPosition--topRight .et_parallax_bg {background-position:top right;}
.backgroundPosition--centerRight .et_parallax_bg {background-position:center right;}
.backgroundPosition--bottomRight .et_parallax_bg {background-position:bottom right;}
.backgroundPosition--topCenter .et_parallax_bg {background-position:top center;}
.backgroundPosition--centerCenter .et_parallax_bg {background-position:center center;}
.backgroundPosition--bottomCenter .et_parallax_bg {background-position:bottom center;}

/* ---------- CUSTOM LIST BULLETS ---------------- */
.custom_list ul li {
	padding-left: 30px;
	list-style:none;
	margin-bottom: 10px;
}

.custom_list ul li::before {
  content: '';
	display: inline-block;
  margin-right: 7px;
	margin-left: -30px;
	padding-right: 5px;
  font-family:'ETmodules';
  font-size: 1.2em;
  vertical-align: middle;
}

.custom_list--check ul li::before {content: '\5a';}