/*
 Theme Name: aireversemortgage Child Theme
 Theme URI: 
 Description: Divi Child Theme for aireversemortgage
 Author: Mico Palencia
 Author URI:
 Template: Divi
 Version: 1.0.0
*/
/*fonts start*/
@font-face {
    font-family: 'Oswald-Regular';
    src: url('assets/fonts/Oswald-Regular.eot');
    src: url('assets/fonts/Oswald-Regular.eot?#iefix') format('embedded-opentype'),
        url('assets/fonts/Oswald-Regular.woff2') format('woff2'),
        url('assets/fonts/Oswald-Regular.woff') format('woff'),
        url('assets/fonts/Oswald-Regular.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Roboto-Regular';
    src: url('assets/fonts/RobotoCondensed-Regular.eot');
    src: url('assets/fonts/RobotoCondensed-Regular.eot?#iefix') format('embedded-opentype'),
        url('assets/fonts/RobotoCondensed-Regular.woff2') format('woff2'),
        url('assets/fonts/RobotoCondensed-Regular.woff') format('woff'),
        url('assets/fonts/RobotoCondensed-Regular.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Roboto-Medium';
    src: url('assets/fonts/RobotoCondensed-Medium.eot');
    src: url('assets/fonts/RobotoCondensed-Medium.eot?#iefix') format('embedded-opentype'),
        url('assets/fonts/RobotoCondensed-Medium.woff2') format('woff2'),
        url('assets/fonts/RobotoCondensed-Medium.woff') format('woff'),
        url('assets/fonts/RobotoCondensed-Medium.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}
body {
	font-family: 'Roboto-Regular';
	font-size:18px;
	color:#404040;
}
.subtitle {
	font-family: 'Roboto-Medium';
	font-size:22px;
	margin-top: 0;
    margin-bottom: 20px;
    font-size: 1.375em;
    line-height: 1.3em;
    font-weight: 500;
    color: #000;
    margin-right: 20px;
}
h1, h2, h3, h4, h5, h6 {
	font-family: 'Roboto-Medium';
}
h1 {
	margin-top: 0px;
    margin-bottom: 20px;
    font-size: 4em;
    line-height: 1em;
    font-weight: 400;
    color: #000;
    max-width: 600px;
    margin-right: 20px;
}
h2 {
	font-size: 2em;
	color:#000;
}
h3 {
	font-size: 1.7em;
	color:#000;
}
h4 {
	font-size: 1em;
	color:#000;
}


/*fonts end*/
.btn-get-funded>a, .et-fixed-header .btn-get-funded>a {
	color:#ffffff !important;
}
.btn-get-funded {
	position: relative;
	background:#d97706;
}
.btn-get-funded:hover {
	background:#f59e0b;
	/*
	transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
	*/
}

.btn-get-funded a::before {
	content: '';
    position: absolute;
    top: -33px;
    right: 0;
    width: 100px;
    height: 100px;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    clip-path: polygon(100% 0, 100% 80%, 50% 100%, 0 80%, 0 0);
    padding-left: 10px;
    padding-right: 30px;
    background-color: #d97706;
    z-index: -1;
	opacity: 1;
}

.btn-get-funded:hover a::before {
    background-color: #f59e0b;
}
/* Hide the ribbon when fixed header is shown */
.et-fixed-header .btn-get-funded a::before {
    opacity: 0;
    transform: translateX(-50%) translateY(15px);
	visibility: hidden;
}
.et-fixed-header  #top-menu li {
    padding: 20px 20px;
}
.et-fixed-header  #top-menu li  ul li {
	padding: 15px;
}
.et-fixed-header  #top-menu li  ul {
	
}
#et-top-navigation {
	padding-top:unset !important;
	padding-left: 79px !important;
}
#top-menu .menu-item-has-children>a:first-child:after, #et-secondary-nav .menu-item-has-children>a:first-child:after {
	content:'';
}
#top-menu li {
    padding: 33px 20px;
}
#top-menu li a {
	padding:unset !important;
}
#top-menu li ul.sub-menu {
	border-top-width: 0px;
    padding: 0px;
	width: auto;
	margin-top: 33px;
}
.et-fixed-header #top-menu li ul.sub-menu {
	margin-top: 15px;
}
#top-menu li ul.sub-menu li {
    padding: 10px;
	background:#d97706;
}
#top-menu li ul.sub-menu li:hover {
	background:#f59e0b;
	
}
.mobile_menu_bar:before, .mobile_menu_bar:after, #top-menu li.current-menu-ancestor>a, #top-menu li.current-menu-item>a {
	color:#000;
}
#top-menu-nav>ul>li>a, .et_pb_button.et_pb_promo_button {
	font-family: 'Oswald-Regular';
}
#top-menu-nav>ul>li>a:hover {
	color:#182d48;
	opacity:unset !important;
}
.wrapper {
    width: 100%;
    background: #065f46;
    text-align: center;
    color: #fff;
    font-family: 'Oswald-Regular';
    text-transform: uppercase;
    padding: 10px;
	transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
	opacity:1;
}
.et-fixed-header .wrapper {
    opacity: 0;
    transform: translateX(-50%) translateY(15px);
	visibility: hidden;
}
.alert-copy {
    margin-right: 10px;
    display: inline-block;
    font-size: 1.125em;
}
.alert-button {
    font-size: 1.20em;
    line-height: 1.250em;
    text-align: center;
    display: inline-block;
    margin-left: auto;
    margin-right: auto;
    transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
}
.alert-button a {
    padding: 5px 10px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    background-color: #d97706;
    color: #fff;
}
.alert-button a:hover {
    background-color: #f59e0b;
}
.et_pb_promo_description h2.et_pb_module_header {
	font-size: 32px;
    font-family: 'Roboto-Regular';
    text-transform: UPPERCASE;
    text-align: left;
    margin-bottom: 5px;
}
.col-3-wrapper .et_pb_promo_description ul li {
	color: #fff;
    font-family: Roboto-Regular;
    font-size: 18px;
    text-align: left;
    text-transform: none;
    padding-bottom: 5px;
}
.et_pb_promo_description ul li {
	color: #404040;
    font-family: Roboto-Regular;
    font-size: 18px;
    text-align: left;
    text-transform: none;
    padding-bottom: 5px;
}
.et_pb_promo_description {
	padding-bottom: 0px;
	font-size: 28px;
    color: #ffffff;
    font-family: "Roboto-Medium";
	text-transform:none;
}
.et_pb_promo_description p {
	font-size: 24px;
    color: #ffffff;
    font-family: "Roboto-Medium";
	margin-bottom:5%;
}
.et_pb_promo_description div {
	font-size: 20px;
    color: #ffffff;
    font-family: "Roboto-Medium";
}

.col-3-wrapper .et_pb_button.et_pb_promo_button {
    font-size: 16px;
    line-height: 20px;
    color: #ffffff;
    padding: 8px 50px 8px 50px;
    border-radius: 0px 0px 0px 0px;
    background: #d97706;
    z-index: 2 !important;
    display: block;
    font-family: "Roboto-Medium";
    text-transform: uppercase;
    letter-spacing: 1px;
	visibility:hidden;
	 transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
	
}
.col-3-wrapper:hover .et_pb_button.et_pb_promo_button {
	visibility:visible;
} 
.col-3-wrapper:hover .et_pb_promo_description {
	
}
.col-3-wrapper .et_pb_button.et_pb_promo_button:hover{
	background:#d97706;
	color:#ffffff;
}
.approach-wrapper .et_pb_promo_description h2.et_pb_module_header, .approach-wrapper .et_pb_promo_description h2 {
	font-size: 2em;
	text-transform:none;
    color: #000000 !important;
    font-family: "Roboto-Medium";
}
.approach-wrapper .et_pb_promo_description p {
	color: #404040;
    font-family: Roboto-Regular;
    font-size: 18px;
    font-weight: 500;
    line-height: 27.2px;
    text-align: left;
    text-transform: none;
	padding-bottom:1em;
}
.approach-wrapper .et_pb_promo_description div {
	color: #404040;
    font-family: Roboto-Regular;
    font-size: 18px;
    font-weight: 500;
    line-height: 27.2px;
    text-align: left;
    text-transform: none;
	padding-bottom:1em;
}
.et_pb_row.et_pb_row_10.before-footer-wrapper h2 {
    font-size: 42px;
    text-align: center;
    text-transform: none;
    font-family: 'Roboto-Medium';
    margin-bottom: 2%;
}
.et_pb_row.et_pb_row_10.before-footer-wrapper .et_pb_promo_description p {
   	font-size: 26px;
    font-family: 'Roboto-Regular';
    display: block;
   
    margin: 0 auto;
	text-transform:none;
	text-align:center;
}
.parallax-section .et_pb_promo_description h2 {
    font-size: 40px;
    font-weight: 400;
    line-height: 1.3em;
    font-family: 'Oswald-Regular';
    text-transform: uppercase;
    text-shadow: 1px 1px 3px #383838;
	text-align:center;
    margin: 0px;
}
.parallax-section .et_pb_promo_description p {
 	font-family:'Roboto-Regular';
	font-size: 18px;
	text-align:center;
	text-transform:none;
	display:block;
	margin:0 auto
}
.parallax-section .et_pb_promo_description p:before, .text-footer-wrapper .et_pb_promo_description p:before, .approach-wrapper .et_pb_promo_description p:after, .approach-wrapper .et_pb_promo_description p:before {
    background: unset;
    top: unset;
}
.et_pb_row.et_pb_row_10.before-footer-wrapper .et_pb_promo_description p:before {
    background: unset;
    top: unset;
}
.parallax-section-2 .et_pb_promo_description h2 {
   	max-width: 550px;
    margin: 0px auto;
    font-size: 24px;
    line-height: 30px;
    font-weight: 500;
    text-align: center;
    text-transform: uppercase;
    font-family: 'Oswald-Regular';
    color: #000;
    padding-bottom: 20px;
}
.address-wrapper-left .et_pb_promo_description .text-brand, .address-wrapper-right .et_pb_promo_description .text-signup {
	font-family: 'Oswald-Regular';
	font-size: 14px;
	color:#000;
	line-height:21px;
}
.address-wrapper-right .et_pb_promo_description .text-signup {
	text-align:left;
}
.address-wrapper-left .et_pb_promo_description .text-brand, .address-wrapper-left .et_pb_promo_description .text-address, .address-wrapper-left .et_pb_promo_description .text-contactno {
	text-align: center;
    margin-bottom: 0;
    padding-bottom: 0;
    margin-top: 0;
}
.address-wrapper-left .et_pb_promo_description .text-address, .address-wrapper-left .et_pb_promo_description .text-contactno, .address-wrapper-right {
	font-family:'Roboto-Regular';
	font-size: 14px;
	color:#000;
}
#posts-wrapper .et_pb_promo_description h2 {
	font-size: 14px;
    line-height: 20px;
    color: #000000;
    font-family: 'Roboto-Regular';
    text-align: left;
    margin-bottom: 5px;
}
#posts-wrapper .et_pb_promo_description p {
	font-size: 30px;
    line-height: 36px;
    color: #000000;
	font-family: 'Roboto-Medium';
    text-align: left;
}
#posts-wrapper .et_pb_promo_description p:before {
	background: none repeat scroll 0 0 #182d48;
    top: -10px;
    content: "";
    display: block;
    height: 2px;
    position: relative;
    width: 175px;
}
.form-wrapper .wpforms-container.inline-fields .wpforms-form {
    display: flex;
    justify-content: start;
    width: 300px;
}
/*Footer css adjustments*/
.et_pb_divider_0:before, .et_pb_divider_1:before {
	border: unset
}
.text-footer-wrapper .et_pb_promo_description .text-footer {
	font-size: 14px;
    color: #fff;
    line-height: 18px;
    text-align: center;
    text-transform: none;
    margin-bottom: 20px;
}
#main-footer {
    height: 0 !important;
    overflow: hidden;
}
@media (min-width: 981px) {
	.et_header_style_left .et-fixed-header #et-top-navigation {
        padding-left: 20px !important;
    }
}
@media all and (max-width: 980px) {
	/*** wrap row in a flex box ***/
	.custom_row {
	  display: -webkit-box;
	  display: -moz-box;
	  display: -ms-flexbox;
	  display: -webkit-flex;
	  display: flex;
	-webkit-flex-wrap: wrap; /* Safari 6.1+ */
	flex-wrap: wrap;
	}

	/*** custom classes that will designate the order of columns in the flex box row ***/
	.first-on-mobile {
	-webkit-order: 1;
	order: 1;
	}

	.second-on-mobile {
	-webkit-order: 2;
	order: 2;
	}

	.third-on-mobile {
	-webkit-order: 3;
	order: 3;
	}

	.fourth-on-mobile {
	-webkit-order: 4;
	order: 4;
	}
	/*** add margin to last column ***/
	.custom_row:last-child .et_pb_column:last-child {
	margin-bottom: 30px;
	}
 
}
/*Post CSS Adjustments (News Page)*/
.et_pb_gutters3 .et_pb_column_4_4 .et_pb_blog_grid .column.size-1of3, .et_pb_gutters3.et_pb_row .et_pb_column_4_4 .et_pb_blog_grid .column.size-1of3 {
	width: 32.8%;
    margin-right: .5%;
}
.et_pb_gutters3 .et_pb_column_4_4 .et_pb_blog_grid .column.size-1of3 .et_pb_post, .et_pb_gutters3.et_pb_row .et_pb_column_4_4 .et_pb_blog_grid .column.size-1of3 .et_pb_post {
	 margin-bottom: 2% !important;
}
.read-more-wrapper .et_pb_salvattore_content article {
	margin-bottom:2%;
}
.et_pb_tab_content article, .read-more-wrapper .et_pb_salvattore_content article {
	display: flex;
  	flex-direction: column;
	overflow: hidden; /* Essential for hiding the slid-out element */
	transition: all 0.3s ease;
	height: 300px;
	justify-content: center;
}
h2.entry-title {
	order: 2;
	font-size: 30px;
    line-height: 36px;
    color: #000000;
    display: block;
    text-align: left;
    clear: both;
    margin: 0px 30px 0px 30px;
    background: transparent;
    text-transform: uppercase;
	padding-top:15px;
	transition: transform 0.3s ease;
}
p.post-meta {
	font-family: 'Roboto-Medium';
	order: 1;
	font-size: 14px;
    line-height: 20px;
    display: block;
    text-align: left;
    clear: both;
    margin: 0px 30px 0px 30px;
    background: transparent;
    text-transform: uppercase;
	transition: transform 0.3s ease;
}
p.post-meta:after {
	background: none repeat scroll 0 0 #182d48;
    top: 10px;
    content: "";
    display: block;
    height: 2px;
    position: relative;
    width: 175px;
}
.post-content {
	font-family:'Oswald-Regular';
	order:3;
	color:#fff;
	background:#379431;
	margin:0 auto;
	padding:5px 50px 5px 50px;
	text-transform:uppercase;
	transition: opacity 0.3s ease;
	opacity: 0;
	visibility: hidden; /* Completely remove from layout */

}
article:hover > h2 {
	transform: translateX(-120%);
	opacity: 0;
	visibility: hidden;
	display:none;
}
article:hover > p.post-meta {
	transform: translateX(-120%);
	opacity: 0;
	visibility: hidden;
	display:none;
}
article:hover > .post-content {
  /* Expand to fill the full article space for perfect centering */
	opacity: 1;	
	visibility:visible;
  	order: 1;
  	transition: opacity 0.3s ease;
  	display: flex;
  	align-items: center;
  	justify-content: center;
  	text-align: center;
	color:#fff;
}
article:hover {
	background-color: #fefdf8 !important;
}
/*Posts CSS Adjustments*/
.post .et_pb_pagebuilder_layout.single.et_full_width_page:not(.et-tb-has-body) #main-content .et_pb_row {
	width:100%;
}
.single .post {
	padding-bottom:0px;
	margin-bottom:0px;
}
.post .et_post_meta_wrapper {
    display: none;
    visibility: hidden;
}
.post .main-content-block .et_pb_promo_description h2 {
	font-size: 34px;
    line-height: 1.2em;
    font-family: 'Roboto-Regular';
    text-transform: UPPERCASE;
    text-align: left;
    margin-bottom: 5px;
    color: #000000 !important;
}
.post .main-content-block .et_pb_promo_description h3 {
	font-family: 'Roboto-Regular';
	text-align: left;
	margin-bottom: 5px;
    color: #000 !important;
}
.post .main-content-block .et_pb_promo_description p, .post .main-content-block .et_pb_text_inner p {
	color:#646464;
	font-family: Roboto-Regular;
	font-size: 18px;
	line-height: 27.2px;
    line-height: 32px;
    text-transform: none;
    text-align: left;
    margin-bottom: 10px;
    padding-bottom: 0px;
}
.post .main-content-block .et_pb_promo_description p:before {
	background: unset;
    top: unset;
}

.post .main-content-block .et_pb_promo_description div {
	color:#646464;
	font-family: Roboto-Regular;
	font-size: 18px;
	line-height: 27.2px;
    line-height: 32px;
    text-transform: none;
    text-align: left;
    margin-bottom: 10px;
    padding-bottom: 0px;
}

.post .main-content-block .et_pb_promo_description div ul li, .post .main-content-block .et_pb_promo_description div ol li {
	color:#646464;
	font-family: Roboto-Regular;
	font-size: 18px;
	line-height: 27.2px;
    line-height: 32px;
    text-transform: none;
    text-align: left;
    margin-bottom: 10px;
    padding-bottom: 0px;
}
.et_pb_blog_grid .et_pb_post:hover, .et_pb_posts .et_pb_post:hover {
	cursor: pointer;
}
/*mobile css adjustments**/
.et_mobile_menu .btn-get-funded a::before {
	content:unset;
}
.nav li ul, .et_mobile_menu {
	border-color: #fff;
}
@media (min-width: 981px) {
    .et_fullwidth_nav #main-header .container {
        width: 100%;
        max-width: 100%;
        padding-right: 20px;
        padding-left: 20px;
    }
	#top-menu li {
    	padding: 33px 10px;
	}
	.et-fixed-header #top-menu li {
    	padding: 20px 10px;
	}
}
/*unset clip when column stacks*/
@media (max-width: 980px) {
	.et_pb_column {
		clip-path:unset !important;
	}
}

/*Newsletter css Adjustments*/
#wpforms-form-1495 {
	flex-wrap:wrap;
	justify-content: center;
}
#wpforms-form-1495 .wpforms-field-container {
    display: inline-block;
    width: 75%;
	vertical-align: top;
}

#wpforms-1495 .wpforms-submit-container {
    display: inline-block;
    width: 25%;
	vertical-align: top;
}

/* Style the actual form elements */
#wpforms-1495-field_1 {
    border-radius: 0;
    width: 100%;
    margin: 0;
    box-sizing: border-box;
}

#wpforms-submit-1495, #wpforms-submit-180 {
    border-radius: 0;
    width: 100%;
    margin: 0;
    box-sizing: border-box;
	background:#182d48;
}
#wpforms-submit-1495:hover, #wpforms-submit-180:hover {
	background:#244066;
}
/* Reset font size for the actual form elements */
#wpforms-1495-field_1,
#wpforms-submit-1495 {
    font-size: 16px; /* or whatever size you prefer */
}

/* Error message styling - position below the entire form row */
#wpforms-1495-field_1-error {
    display: block !important;
    width: 100% !important;
    color: #dc3545;
    font-size: 14px;
    position: absolute;
    top: 100%; /* Position below the form */
    left: 0;
    right: 0;
    margin-top: 5px;
    background: rgba(248, 215, 218, 0.95);
    padding: 10px 12px;
    border-left: 3px solid #dc3545;
    z-index: 10;
}

/* Make sure the field container has relative positioning */
#wpforms-1495-field_1-container {
    position: static; /* Reset to static */
	padding-left:unset;
}
/*wpforms margin*/
.wpforms-container {
	margin-top:0px !important;
	margin-bottom:0px !important;
}