/*
Theme Name: American Heritage Lending
Theme URI: https://www.museintermedia.com/
Template: Divi
Author: Muse Intermedia LLC
Author URI: https://www.museintermedia.com/
Description: Divi child theme.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

/* Fonts & Buttons */

.et_button_no_icon .et_pb_button, .et_button_no_icon .et_pb_button:hover {
	padding: 20px 30px !important;
	line-height: 1em !important;
}

.et_button_no_icon .et_pb_button.light-blue {
	background: #007bff !important;
}

.et_button_no_icon .et_pb_button.light-blue:hover {
	background: #052354 !important;
}

.custom-icon-btn {
    padding: 0;
    background: transparent;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.1rem;
    border: 0;
    color: #052354;
    display: inline-block;
    font-size: 1rem;
	height: 40px;
	margin-left: 10px;
}

.custom-icon-btn.white {
	color: #ffffff;
}

.custom-icon-btn .fa {
    display: inline-block;
    border: 2px solid #052354;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 0.5rem;
    -webkit-transition: all 0.15s ease-in-out;
    transition: all 0.15s ease-in-out;
	align-content: center;
}

.custom-icon-btn.white .fa {
	border: 2px solid #ffffff;
}

.custom-icon-btn .fa:before {
	margin-left: 10px;
}

.custom-icon-btn span.btn-label {
	display: inline-block;
	line-height: 40px;
}

.custom-icon-btn:hover .fa {
	border-color: #d52441;
	background: #d52441;
	color: #ffffff;
}

a.tpo-link {
    color: #fff;
    text-decoration: none;
    padding: 12px 14px;
    border: 1px solid #fff;
    font-size: 14px;
    background: #0a4cb4;
	margin-right: 10px;
	cursor: pointer;
}

a.tpo-link:hover {
    background: #D52441;
}

.small-pill-btn {
    padding: 12px 16px;
    background: #052354;
    color: #fff;
    border-radius: 20px;
    text-decoration: none;
    -webkit-transition: 0.25s allease;
    transition: 0.25s allease;
    font-size: 15px;
	margin-right: 10px;
}

.small-pill-btn:hover {
    background: #d52441;
}

.small-pill-btn.red {
    background: #d52441;
	margin-right: 0px;
}

.small-pill-btn.red:hover {
    background: #007bff;
}

.resources a {
    padding: 12px 16px;
    background: #0a4cb4;
    color: #fff;
    border-radius: 20px;
    text-decoration: none;
    -webkit-transition: 0.25s allease;
    transition: 0.25s allease;
}

.resources a:hover {
	background: #d52441;
}

/* Tables */

.blue-table {
    background: #09429c;
    padding: 20px;
    box-shadow: 0px 40px 20px -20px rgba(0, 0, 0, 0.15);
}

.blue-table table {
    border: none !important;
    margin: 0px !important;
    text-align: left;
    width: 100%;	
}

.blue-table tr {
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
}

.blue-table tr td:first-child {
    font-weight: 600;
    color: white !important;
    border-right: 1px solid rgba(255, 255, 255, 0.5);
}

.blue-table tr td {
    color: white;
    padding: 10px;
	border-top: none !important;
}

.blue-table tr td:last-child {
    padding-left: 20px;
}

.blue-table tr:last-child {
    border-bottom: none;
}

/* Images */

.offset-image {
	margin-top: -200px;
}

.wing-boxes:after {
    content: url("https://ahlendtpo.museintermedia.com/wp-content/uploads/2025/02/wing-2.webp");
    position: absolute;
    bottom: -48px;
    right: -15px;
}

/* Criteria Box */

.criteria-box:before {
    content: "";
    height: 1px;
    width: 100%;
    background: #052354;
    position: absolute;
    left: 0;
    top: 20px;
    opacity: 0.5;
}

.number {
    display: flex;
    margin: 0px auto 20px auto;
    height: 45px;
    width: 45px;
    background: #052354;
    color: #fbfcfd;
    border-radius: 50%;
    font-weight: 700;
    font-size: 16px;
    line-height: 1;
    align-items: center;
    webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    text-align: center;
}

/* Lists */

.cb-icon-list--vertical {
    padding: 0em 0em 3em 0em !important;
    list-style-type: none !important;
}

.cb-icon-list__item {
    padding-left: 110px;
	padding-bottom: 20px;
    position: relative;
}

.cb-icon-list__item:before {
    content: "";
    position: absolute;
    left: 45px;
    top: 40%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    height: 40px;
    width: 40px;
    background: #052354;
    border-radius: 50%;
    opacity: 0.25;
    display: block;
}

.cb-icon-list__item .cb-icon-list__icon {
    display: block;
	height: 40px;
    position: absolute;
    left: 20px;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}

.cb-icon-list--vertical.white .cb-icon-list__item img.cb-icon-list__icon.cb-icon-list__icon--image {
    -webkit-filter: invert(100%) saturate(100%) !important;
    filter: invert(100%) saturate(100%) !important;
}

.cb-icon-list--vertical.white .cb-icon-list__item:before {
    background: white !important;
}

/* Header */

#et-top-navigation {
	display: block !important;
	width: 100% !important;
    float: left;
	padding: 16px 0px 16px 237px !important;
}

#top-nav-lp {
	display: inline-block !important;
	width: auto !important;
    float: right;	
}

#top-menu {
	width: 100% !important;
}

#top-menu-nav {
	width: 100% !important;
	padding: 0px 40px 0px 40px;
	margin: 0px 40px 0px 40px;
	border-left: 1px solid rgba(5,35,84,.5);	
}

#top-menu-nav li a, #menu-main-menu-landing-pages li a {
	font-weight: 500 !important;
	padding-top: 16px !important;
	padding-bottom: 16px !important;
	opacity: 1 !important;
}

#top-menu-nav li a:hover, #menu-main-menu-landing-pages li a:hover {
	color: #d52441;
}

#top-menu-nav li.header-button-right, #menu-main-menu-landing-pages li.header-button-right {
	font-size: 16px;
    font-family: "Questrial", sans-serif;
    font-weight: 500;
    padding: 13px 24px;
    border-radius: 0px;
    letter-spacing: 1px;
    text-transform: capitalize;
    background: #d52441;
    cursor: pointer;
    line-height: 1.25;
    text-align: center;
    display: inline-block;
    white-space: normal;
    word-break: break-word;
	float: right;
}

#top-menu-nav li.header-button-right:hover, #menu-main-menu-landing-pages li.header-button-right:hover {
	background: #052354;
}

#top-menu-nav li.header-button-right a, #menu-main-menu-landing-pages li.header-button-right a {
	padding-top: 0px !important;
	padding-bottom: 0px !important;
	color: #ffffff !important;
}

#top-menu .menu-item-has-children>a:first-child:after, #menu-main-menu-landing-pages .menu-item-has-children>a:first-child:after {
	top: 14px !important;
}

.nav li ul {
	border-top: 0px !important;
	padding: 0px 0px 0px 0px !important;
	box-shadow: 0 3px 10px rgba(0, 0, 0, 0.25);
}

#top-menu li li {
	padding: 0px 0px 0px 0px !important;
	line-height: 1em !important;
	width: 280px !important;
}

#menu-main-menu-landing-pages li li {
	padding: 0px 0px 0px 0px !important;
	line-height: 1em !important;
	width: 280px !important;
	background: #ffffff;
}

#top-menu li.current-menu-ancestor li>a, #top-menu li.current-menu-item li>a, #top-menu li.current_page_item li>a {
    color: #292b2c;
}

#menu-main-menu-landing-pages li.current-menu-ancestor li>a, #menu-main-menu-landing-pages li.current-menu-item li>a, #menu-main-menu-landing-pages li.current_page_item li>a {
    color: #292b2c;
}

#top-menu li ul, #menu-main-menu-landing-pages li ul {
	width: 280px !important;
}

#top-menu li li a, #menu-main-menu-landing-pages li li a {
	width: 280px !important;
}

#top-menu li li a:hover, #menu-main-menu-landing-pages li li a:hover {
	background: #052354 !important;
	color: #ffffff !important;
}

/* Footer */

#menu-program-menu li, #menu-quick-links-menu li, #menu-legal-menu li, #menu-investor-mortgage-menu li, #menu-non-qm-mortgages-menu li, #menu-conventional-menu li {
	display: block !important;
    width: 100% !important;
	margin: 0px 0px 10px 0px !important;
}

#menu-program-menu li a, #menu-quick-links-menu li a, #menu-legal-menu li a, #menu-investor-mortgage-menu li a, #menu-non-qm-mortgages-menu li a, #menu-conventional-menu li a, #menu-footer-bottom li a {
	opacity: 1 !important;
}

#menu-program-menu li a:hover, #menu-quick-links-menu li a:hover, #menu-legal-menu li a:hover, #menu-investor-mortgage-menu li a:hover, #menu-non-qm-mortgages-menu li a:hover, #menu-conventional-menu li a:hover, #menu-footer-bottom li a:hover {
	color: #007bff !important;
}

/* Homepage */

.homepage-slider .broker-buttons, .homepage-slider .correspondent-buttons {
	display: none;
    -webkit-transition: all 0.15s ease-in-out;
    transition: all 0.15s ease-in-out;
}

.homepage-slider .et_pb_column_0:hover .broker-buttons {
	display: block;
}

.homepage-slider .et_pb_column_1:hover .correspondent-buttons {
	display: block;
}

/* Gravity Forms */

.gform_wrapper.gravity-theme .gform_footer, .gform_wrapper.gravity-theme .gform_page_footer {
    margin: 0px 0 0 !important;
}

.gform_wrapper.gravity-theme .gform_footer button, .gform_wrapper.gravity-theme .gform_footer input, .gform_wrapper.gravity-theme .gform_page_footer button, .gform_wrapper.gravity-theme .gform_page_footer input {
    font-weight: 400 !important;
    font-size: 15px !important;
	background: #69beff !important;
    color: #ffffff !important;
    border: none !important;
    box-shadow: none !important;
    padding: 10px 15px !important;
    cursor: pointer !important;
}

/* Posts */

.widget_recent_entries li a {
    font-size: 16px;
    line-height: 19px;
    letter-spacing: 0em;
    color: #09429c !important;
}

.widget_recent_entries li .post-date {
	display: block;
}

.widget_search input#searchsubmit {
    background-color: #09429c;
    border: 1px solid #09429c;
    color: #ffffff;
}

/* Single Post */

.single #left-area {
	padding-bottom: 0px !important;
}

.et_pb_pagebuilder_layout.single-post:not(.et-tb-has-body) #main-content .et_pb_row {
    width: 80%;
}

h3.comment-reply-title {
	font-size: 0; 
	margin-bottom: 10px;
}

#commentform {
    padding-bottom: 0px !important;
}

.et_pb_comments_module.et_pb_no_comments_count #comments {
	display: block;
	font-size: 18px;
    letter-spacing: 1.8px;
    line-height: 24px;
	text-transform: uppercase;
	margin-bottom: 10px;
}

h3.comment-reply-title:before {
	content: "Leave a Reply";
	font-size: 18px;
    letter-spacing: 1.8px;
    line-height: 24px;
	text-transform: uppercase;	
}

.comment .children {
    margin-left: 100px;
    padding-left: 20px !important;
    border-left: 3px solid #09429c;
}

#commentform .et_pb_button {
    font-size: 16px;
	font-weight: 400;
    background-color: #09429c;
	border-radius: 0px !important;
    border-width: 0px !important;
}

blockquote {
    border-color: #09429c;
}

span.fn, span.fn a {
	text-transform: uppercase;	
}

.single .et_pb_text_inner h2, .single .et_pb_text_inner h3, .single .et_pb_text_inner h4, .single .et_pb_text_inner h5, .single .et_pb_text_inner h6 {
	line-height: 1.25em;
	text-transform: uppercase;
}

.single .et_pb_text_inner h2, .single .et_pb_text_inner h3, .single .et_pb_text_inner h4, .single .et_pb_text_inner h5, .single .et_pb_text_inner h6 {
    line-height: auto !important;
    text-transform: none !important;
}

/* Case Studies */

.case-study-item {
	display: inline-block;
	width: 32.3333%;
	height: auto;
	min-height: 440px;
	overflow: hidden;
	float: left;
	margin: 0% 1.5% 1.5% 0%;
}

.case-study-item:nth-of-type(3n) {
	margin: 0% 0% 1.5% 0%;
}

.case-study-image {
	display: block;
	width: 100%;
	height: auto;
	overflow: hidden;
}

.case-study-image img {
	display: block;
	width: 100%;
	height: auto;
	overflow: hidden;
    max-height: 325px;
    object-fit: cover;
    max-width: 100%;
}

.case-study-content {
	display: block;
	width: 100%;
	height: auto;
	overflow: hidden;
}

.case-study-content h3 {
	display: block;
    width: 100%;
    height: auto;
    overflow: visible;
	line-height: 1.25em;
    padding: 10px 0px 0px 0px;
}

.case-study-content h3 a {
	display: block;
	width: 100%;
	height: auto;
	overflow: visible;
}

/* Single Case Study */

.single-casestudy #main-content .container {
	width: 100%;
	max-width: 100%;
}

.single-casestudy #left-area .post-meta {
	display: none;
}

.single-casestudy .entry-title, .single-casestudy .et_post_meta_wrapper {
	display: none;
}

.single-casestudy #main-content .container {
	padding-top: 0 !important;
}

.single-casestudy .container.et_menu_container {
	max-width: 1440px;
}


/*** Responsive Styles Large Desktop And Above ***/
@media all and (min-width: 1700px) {	
	

  
}
 
/*** Responsive Styles Standard Desktop Only ***/
@media all and (min-width: 1100px) and (max-width: 1695px) {

.case-study-item {
    min-height: 340px;
}
	
.case-study-image img {
	max-height: 275px;	
}
	
}
 
/*** Responsive Styles Tablet And Below ***/
@media only screen and (max-width: 980px) {
	
.case-study-item {
    min-height: 260px;
}
	
.case-study-image img {
	max-height: 175px;	
}
	
}

/*** Responsive Styles Smartphone Only ***/
@media all and (max-width: 767px) {
	
.case-study-item {
    min-height: 240px;
}
	
.case-study-image img {
	max-height: 130px;	
}	
	
}

/*** Responsive Styles Smartphone Portrait ***/

@media all and (max-width: 479px) {	

/* Case Studies */

.case-study-item {
	display: block;
	width: 100%;
	height: auto;
	overflow: hidden;
	float: none;
	min-height: auto !important;
	margin-bottom: 40px;
}	
	
.case-study-item:nth-of-type(3n) {
    margin: 0px 0px 40px 0px;
}	
	
.case-study-image img {
	max-height: 200px;	
}	
	
}