/**
Theme Name: Astra Child
Author: Brainstorm Force
Author URI: http://wpastra.com/about/
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: astra-child
Template: astra
*/

/*-----------------------
 * GLOBAL
------------------------*/
:root {
/*---Body Text Size CSS Code---*/
/*---https://www.fluid-type-scale.com/calculate?minFontSize=14&minWidth=320&minRatio=1.125&maxFontSize=16&maxWidth=1400&maxRatio=1.2&steps=xs%2Cs%2Cm%2Cl%2Cxl%2C2xl%2C3xl%2C4xl&baseStep=m&prefix=text&decimals=2&useRems=on&remValue=16&previewFont=Inter&previewText=Almost+before+we+knew+it%2C+we+had+left+the+ground&previewWidth=1400---*/
	
	--text-xs: clamp(0.69rem, 0vw + 0.69rem, 0.69rem);
	--text-s: clamp(0.78rem, 0.08vw + 0.76rem, 0.83rem);
	--text-m: clamp(0.88rem, 0.19vw + 0.84rem, 1rem);
	--text-l: clamp(0.98rem, 0.32vw + 0.92rem, 1.2rem);
	--text-xl: clamp(1.11rem, 0.49vw + 1.01rem, 1.44rem);
	--text-2xl: clamp(1.25rem, 0.71vw + 1.1rem, 1.73rem);
	--text-3xl: clamp(1.4rem, 1vw + 1.2rem, 2.07rem);
	--text-4xl: clamp(1.58rem, 1.35vw + 1.31rem, 2.49rem);

/*---Heading Size CSS Code---*/
/*---https://www.fluid-type-scale.com/calculate?minFontSize=20&minWidth=320&minRatio=1.25&maxFontSize=22&maxWidth=1400&maxRatio=1.333&steps=h6%2Ch5%2Ch4%2Ch3%2Ch2%2Ch1%2Ctitle&baseStep=h4&prefix=heading&decimals=2&useRems=on&remValue=16&previewFont=Inter&previewText=Almost+before+we+knew+it%2C+we+had+left+the+ground&previewWidth=1400---*/

	--h6: clamp(0.64rem, 0.09vw + 0.62rem, 0.7rem);
	--h5: clamp(0.8rem, 0.2vw + 0.76rem, 0.94rem);
	--h4: clamp(1rem, 0.37vw + 0.93rem, 1.25rem);
	--h3: clamp(1.56rem, 0.4vw + 1.48rem, 1.83rem);
	--h2: clamp(1.95rem, 0.73vw + 1.81rem, 2.44rem);
	--h1: clamp(2.44rem, 1.21vw + 2.2rem, 3.26rem);
	--title: clamp(3.05rem, 1.91vw + 2.67rem, 4.34rem);

/*---Leadership Variables---*/
	--leadership-name: clamp(1.375rem, 1.147rem + 0.475vw, 1.563rem);
	--leadership-title: clamp(0.875rem, 0.875rem + 0vw, 0.875rem);
	
}

/*---Heading Size Utility Classes---*/
.h-title {
    font-size: var(--title);
    line-height: 1.05em;
}

h1, .h1, .entry-content h1 {
    font-size: var(--h1);
    line-height: 1.1em;
}

h2, .h2, .entry-content h2 {
    font-size: var(--h2);
    line-height: 1.2em;
}

h3, .h3, .entry-content h3 {
    font-size: var(--h3);
    line-height: 1.2em;
}

h4, .h4, .entry-content h4 {
    font-size: var(--h4);
    line-height: 1.4em;
}

h5, .h5, .entry-content h5 {
    font-size: var(--h5);
    line-height: 1.5em;
}

h6, .h6, .entry-content h6 {
    font-size: var(--h6);
    line-height: 1.6em;
}

/*---Text Utility Classes---*/

.text-xl {
    font-size: var(--text-xl);
    line-height: 1.4;
}

.text-l {
    font-size: var(--text-l);
    line-height: 1.5;
}

body, .text-m {
    font-size: var(--text-m);
    line-height: 1.5;
}

.text-s {
    font-size: var(--text-s);
    line-height: 1.6;
}

.text-xs {
    font-size: var(--text-xs);
    line-height: 1.7;
}

button {
	transition: .3s ease;
}

/*----------------------
 * HEADER
----------------------*/
.mainnav-loginbtn .menu-item-text .before-menu-image-icons {
	font-size: 13px;
}

.mainnav-loginbtn .menu-item-text {
	background-color: #CF4B09;
	color: #FFFFFF !important;
	margin-top: 15px !important;
	padding: 9px 65px 8px 65px;
	/*+border-radius: 30px;*/
	-moz-border-radius: 30px;
	-webkit-border-radius: 30px;
	-khtml-border-radius: 30px;
	border-radius: 30px;
	transition: 0.5s ease;
}

.mainnav-loginbtn .menu-item-text:hover {
	background-color: rgb(167,68,27);
	color: #FFFFFF !important;
}

li.mainnav-loginbtn {
	margin-top: 15px;
}

/*#mega-menu-wrap-primary #mega-menu-primary li#mega-menu-item-86 > a.mega-menu-link:before {
    margin-top: 9px;
}*/


/* REMOVE BACKGROUND FROM THE LOGO */
/*#mega-menu-item-119 .mega-menu-logo a, a:hover, a:active, a:visited, a:focus {
	background: transparent !important;
}*/

#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item > a.mega-menu-link {
	transition: all .5s ease;
}

.top-nav-button .fl-button-wrap .fl-button-icon {
	font-size: 14px;
}



/*----------------------------
 * STICK HEADER
----------------------------*/
#mega-menu-wrap-primary.mega-sticky {
	background: rgba(0, 60, 113, 0);
}

#mega-menu-wrap-primary.mega-sticky #mega-menu-primary {
	padding-top: 0;
	padding-bottom: 15;
	background: rgba(0, 60, 113, 1);
}

#mega-menu-wrap-primary.mega-sticky #mega-menu-primary .mega-menu-logo {
	padding-top: 5px;
	padding-bottom: 5px;
}

/*-----------------------------
 * OFF CANVAS MENU
-----------------------------*/


/*---------------------------
 * HOMEPAGE
---------------------------*/
.amm-iconbox .uabb-module-content {
	/*+border-radius: 30px;*/
	-moz-border-radius: 30px;
	-webkit-border-radius: 30px;
	-khtml-border-radius: 30px;
	border-radius: 30px;
	transition: 0.5s ease;
}

.amm-iconbox .uabb-infobox-title-wrap h3 {
	font-size: var(--h4);
}

.amm-iconbox .uabb-infobox-text-wrap .uabb-infobox-text p {
	font-size: var(--text-xs);
}

.amm-iconbox .uabb-module-content H3 {
	transition: 0.5s ease;
}

.amm-iconbox .uabb-module-content P {
	transition: 0.5s ease;
}

.loan-products__iconlist p {
	margin-bottom: 0;
	margin-top: 4px;
}

.loan-products {
	position: relative;
}

.loan-products .loan-products__button {
	position: relative;
}

/*-----------------------------
 * Testimonial Global Element
-------------------------------*/
.ammtestimonials .slick-slide {
    display: block;
    /*background-color: #ededed;
    margin-inline: 15px;
    -moz-border-radius: 30px;
	-webkit-border-radius: 30px;
	-khtml-border-radius: 30px;
	border-radius: 30px;
	box-shadow: 1px 1px 10px 0 #C6C6C6;*/
}

/* .ammtestimonials .slick-slide:nth-child(even) {
    background-color: #003c71;
    color: white;
}*/

.ammtestimonials__wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    /*height: 245px;*/
    font-size: 1.2rem;
    line-height: 1.4em;
    padding-bottom: 35px;
    padding-top: 35px
}

.ammtestimonials__icon {
    font-size: 45px;
    color: rgb(39,37,31);
}


.ammtestimonials__text p {
    max-width: 65ch;
    text-align: center;
}

.testimonial {
    position: relative;
    overflow: hidden;
}

.testimonial__icon {
    position: absolute;
    bottom: -375px;
    left: 200px;
    filter: opacity(.08);
    z-index: -1;
}
.testimonial-carousel__heading h3 {
	font-size: var(--h2);
}

.ammtestimonials .slick-dots {
	padding-left: 0;
}

/*--------------------------
 * PAGES
-------------------------*/
H1.page-headertxt .page-beforetxt {
	color: #FFFFFF;
}

.amm-infobox H5 {
	color: #003C71;
	text-transform: uppercase;
}

/*-----------------------------
 * DOWNLOADS
-------------------------------*/
.w3eden h3 {
    font-size: 1.2rem;
}

.w3eden .pull-left {
    margin-right: 8px;
}

.w3eden .row {
    gap: 25px;
}

.w3eden .media {
    padding-bottom: 15px;
    border-bottom: solid 2px #ebebeb;
}

/*--------------------------
 * LOAN OFFICERS - See Code Snippet "Loan Officer Details"
--------------------------*/


/*----------------------
Loan Officer Advanced Posts
---------------------*/
.loan-officer__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}
.findofficer {
	display: flex;
	background-color: #ffffff;
	box-shadow: 0px 0px 10px rgba(102,102,102, .5);
}

.fo-column-left {
    display: flex;
	flex-basis: 35%;
}

.fo-column-right {
    display: flex;
	flex-basis: 65%;
	padding: 20px;
}

.fo-featuredimg {
    display: flex;
}

.fo-featuredimg img{
        position: relative;
        flex-grow: 1;
        object-fit: cover;
}

.fo-info {
	text-align: left;
	align-content: flex-start;
	line-height: 1.2em;
}

.fo-info h2 {
	font-size: 30px;
}

.fo-info h4 {
	font-size: 12px;
	color: rgb(39,37,31);
	text-transform: uppercase;
	margin-bottom: 10px;
}

.fo-designator {
	color: rgb(39,37,31);
	font-size: 13px;
	font-weight: 700;
	margin-right: 6px;
}

.fo-officerinfo {
	font-size: 13px;
	font-weight: bold;
}

.fo-buttonbox {
    text-align: left;
    margin-top: 30px;
}

.fo-button a {
    font-weight: 600;
    font-size: 16px;
    color: #ffffff;
    background-color: rgb(207,75,9);
    padding: 8px 25px;
    border-radius: 50px;
}

.fo-button a:hover {
    color: #ffffff;
    background-color: rgb(167,68,27);
}

/*----------------------------
 * LOAN OFFICER STATES
------------------------------*/
.state .entry-header {
    display: none;
}

.lo-service-headline h3 {
    font-size: 2rem;
}

/*----------------------------
 * LEADERSHIP
---------------------------*/
.leadership-grid .fl-module-content .fl-post-grid {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: stretch;
}

.leadership-grid__wrapper {
    display: flex;
    height: 100%;

}

.drop-shadow {
    box-shadow: 0 3px 10px rgb(0 0 0 / 0.2);
}


/*-----------------------------
 * Join Our Team Form
-----------------------------*/
.amm-gravityform .fl-module-content .uabb-gf-style .gform-body .gform_fields INPUT {
	margin-top: 0 !important;
	margin-bottom: 0 !important;
}

/*-----------------------------
 * FOOTER CTA
-----------------------------*/
.footer-cta__heading h2 {
	font-size: var(--h1);
}

/*----EXIT NOTIFIER---*/
#popup-warning {
    font-family: Arial, sans-serif;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
	padding: 25px 25px 25px 25px;
	width: 75ch;
	text-align: center;
}
#popup-warning button {
    margin: 5px;
    padding: 10px 20px;
    cursor: pointer;
}


/*----Mobile Styles 960----*/

@media screen and (max-width: 960px) {
    .loan-officer__grid {
        grid-template-columns: repeat(1, 1fr);
    }
    .fo-column-left {
	    flex-basis: 25%;
    }
    .fo-column-right {
	    flex-basis: 65%;
	    align-content: center;
        padding-left: 20px;
        padding-bottom:25px;
    }
}

/*----Mobile Styles 550 ----*/
@media screen and (max-width: 550px) {
        .fo-info h2 {
        font-size: 20px;
    }
    .fo-info h4 {
        font-size: 10px;
        margin-bottom: 0;
    }
    .fo-designator {
        font-size: 11px;
    }
    .fo-officerinfo {
        font-size: 11px;
    }
    .fo-buttonbox {
        margin-top: 15px;
    }
    .fo-button a {
        font-size: 13px;
    }
}

/*----Mobile Styles 330----*/

@media screen and (max-width: 330px) {
    .loan-officer__grid {
		width: 100%;
        grid-template-columns: repeat(1, 1fr);
    }
    .fo-column-left {
	    display: none;
    }
    .fo-column-right {
	    flex-basis: 65%;
	    align-content: center;
        padding-left: 20px;
        padding-bottom:25px;
    }
}


