/**
* NOTE: Styles for the Datatrac slider is located in /wp-content/scripts/css/styles.css
**/

/* Color Variables
------------------------------------------------------- */
:root {
    --primary-color: #3e68ae;
    --secondary-color: #d5384d;
    --button-radius: 10px;
    --img-radius: 20px;
    --img-shadow: 2px 2px 6px 0px rgba(0, 0, 0, .25);
    --button-shadow: 5px 5px 10px 0 rgba(0, 0, 0, 0.5);
    --button-hover-shadow: 3px 3px 5px 0 rgba(0, 0, 0, 0.75);
    --thumbnail-shadow: 4px 4px 8px 0 rgba(0, 0, 0, 0.25);
    --thumbnail-hover-shadow: 2px 2px 4px 0 rgba(0, 0, 0, 0.5);
    --text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
    --box-shadow: 0 3px 6px -4px rgba(0, 0, 0, .20), 0 3px 6px rgba(0, 0, 0, .25);
    --special-rate-shadow: 2px 2px 1px rgb(255 255 255 / 1);
}

/* Flatsome Tooltip
  ------------------------------------------------------- */
.tooltipster-base {
    /* display: none; */
}

/* General Styles
  ------------------------------------------------------- */
html {
    font-size: 16px;
    scroll-behavior: smooth;
    scroll-margin-block-start: 145px;
    text-wrap: pretty;
    transition-behavior: allow-discrete;
}

.clear {
    clear: both;
    height: 1rem;
}

.hide {
    display: none;
}

.mb-0 {
    margin-bottom: 0 !important;
}

.mb-1 {
    margin-bottom: 1rem;
}

.mb-2 {
    margin-bottom: 2rem;
}

.mb-3 {
    margin-bottom: 3rem;
}

div.col:not(.post-item) {
    padding: 0 15px;
}

.row-large>.col {
    padding: 0 30px !important;
}

div.col.pb-1 {
    padding: 0 15px 30px;
}

.columns-2 {
    columns: 2;
}

.columns-3 {
    columns: 18rem auto;
}

.columns-4 {
    columns: 12.5rem auto;
}

sup {
    font-size: 0.5em;
}

.bold {
    font-weight: 800;
}

.pretty {
    text-wrap: pretty;
}

.balance {
    text-wrap: balance;
}


/* captions
------------------------------ */
.wp-caption {
    margin-bottom: .5rem;
}

.wp-caption .wp-caption-text {
    background-color: transparent;
}

/* headlines
------------------------------ */

body h1,
.h1,
body h2,
.h2,
body h3,
.h3,
body h4,
.h4,
body h5,
.h5,
body h6,
.h6 {
    text-transform: uppercase;
    letter-spacing: 0 !important;
    /* text-wrap: balance; */
    margin-bottom: .5rem;
    line-height: 1.1;
    /* font-weight: 800; */
    
}

body h2:has(+ h3), 
body h3:has(+ h4), 
body h4:has(+ h5), 
body h5:has(+ h6) {
    margin-bottom: 1.5rem;
}

/* body h4,
.h4,
body h5,
.h5,
body h6,
.h6 {
    font-family: "Open Sans", sans-serif;
} */

body:not(.home) h3,
.h3,
body h5,
.h5 {
    color: var(--secondary-color);
}

.inverse h1,
.inverse .h1,
.inverse h2,
.inverse .h2,
.inverse h3,
.inverse .h3,
.inverse h4,
.inverse .h4,
.inverse h5,
.inverse .h5,
.inverse h6,
.inverse .h6,
.inverse .banner h1,
.inverse .banner h2 {
    color: #fff;
}

body h1,
body .h1 {
    font-size:3.25em !important;
}

h2,
.h2 {
    font-size: 2em !important;
}

h3,
.h3,
.banner h3 {
    font-size: 1.5em;
}

h4,
.h4,
body h3.accordion_title {
    font-size: 1.25em;
}

.box-text-inner h1,
.box-text-inner h2,
.box-text-inner h3,
.box-text-inner h4,
.box-text-inner h5,
.box-text-inner h6 {
    text-wrap: pretty;
}

body .inverse {
    color: #fff;
}

body .preheadline {
    display: block;
    font-size: 0.7em !important;
    margin-bottom: 1rem !important;
    font-weight: 800 !important;
    color: var(--secondary-color);
    line-height: .85;
} 

body .preheadline.mb-0 {
    margin-bottom: 0 !important;
}

body .inverse .preheadline {
    color: #fff;
} 

/* colors
------------------------------ */

.primary-color {
    color: var(--primary-color) !important;
}

.secondary-color {
    color: var(--secondary-color) !important;
}

.primary-background {
    background-color: var(--primary-color) !important;
}

.secondary-background {
    background-color: var(--secondary-color) !important;
}

/* buttons
------------------------------ */

.button, button, .gform_button {
    border-radius: var(--button-radius);
}

/* .button.secondary:not(.is-link) {
    color: var(--primary-color);
} */

.button.white:not(.is-link), button.white:not(.is-link) {
    color: var(--primary-color) !important;
}

.button.white:hover:not(.is-link), button.white:hover:not(.is-link) {
    background-color: var(--primary-color) !important;
    color: var(--secondary-color) !important;
}

.button.is-link {
    margin-bottom: 0;
    line-height: 1;
    min-height: unset;
    text-align: left;
}

body .button.gform_button {
    background-color: var(--primary-color) !important;
    color: #fff !important;
    font-weight: bold !important;
    text-transform: uppercase !important;
    border-radius: var(--button-radius) !important;
    font-size: 1rem !important;
}

.button i[class^=icon-] {
    font-size: 1.2em;
    font-weight: 900 !important;
    color: var(--primary-color) !important;
}

.button:hover i[class^=icon-] {
    color: inherit !important;
}

/* Bulletins
--------------------------------------------- */
.bulletinwp-bulletin-content {
    font-weight: bold;
}

/* Header
--------------------------------------------- */
#masthead {
    border-bottom: 3px solid var(--secondary-color);
    
}

/* Top Bar
-------------------------------- */
#top-bar .nav.nav-small > li > a {
    text-transform: uppercase;
    font-weight: 800;
    font-size: .9rem;
}

#top-bar .social-icons {
    font-size: 1.35em;
}

/* Banner
------------------------------- */

.banner h2 {
    text-shadow: 1px 1px 1px #000;
    color: var(--primary-color);
}

.banner h2 .preheadline, {
    color: var(--primary-color);
    font-size: 0.525em !important;
        text-shadow: 1px 1px 1px #000;

}

.home .banner p {
    font-size: 1rem;
}

.banner p.breadcrumbs {
    text-shadow: 1px 1px 1px #000;
    /* text-shadow: 2px 2px 2px #fff; */
}

.nav.nav-vertical>li>a:hover, .nav.nav-vertical>li.active>a  {
    color: var(--primary-color);
}

/* Cards 
--------------------------------------------- */
.card {
    margin-bottom: 2rem;
}

.card .col-inner {
    display: flex;
    flex-direction: column;
    padding-bottom: 1rem !important;
    height: 100%;
    box-shadow: var(--box-shadow);
    border-radius: var(--img-radius);
}

.card .box {
    padding: 10px;
}

.card .box-image {
    border-radius: var(--img-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    margin-bottom: 1rem !important;
}

.card .button {
    margin-inline: auto !important;
    margin-block-start: auto !important;
}

/* .card, .card .box, .card .box-image, .card .image-cover {
    overflow: visible;
} */

.card .image-cover img {
    border-radius: var(--img-radius);
    box-shadow: var(--img-shadow);
}

/* Tables
--------------------------------------------- */
tr > td {
    color: var(--primary-color);
}

table tr, table td {
    font-size: 1rem;
    font-variant-numeric: tabular-nums;
}

tr td:first-of-type, tr th:first-of-type {
    padding-left: 10px;
}

table caption {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--primary-color);
}


/* Footer
--------------------------------------------- */
.footer .button.white.is-link:hover {
    color: var(--secondary-color) !important;
}

.footer .button.white.is-link i {
    margin-right: 7px;
}

.footer .follow-icons a:first-of-type {
    margin-left: 0;
}

.absolute-footer {
    display: none;
}

/* breadcrumbs
  ------------------------------------------------------- */
.banner p.breadcrumbs {
    font-size: 1.25rem;
    color: var(--primary-color);
    /* text-transform: uppercase; */
    margin: 10px 0 0;
}

.banner p.breadcrumbs,
.banner p.breadcrumbs a {
    color: var(--primary-color);
    opacity: 1;
    font-weight: 800;
    font-size: 1.25rem;
}

.banner p.breadcrumbs a:hover {
    color: #fff !important;
}

/* Images
--------------------------------------------- */
.image {
    border-radius: var(--img-radius);
    box-shadow: var(--img-shadow);
    overflow: hidden;
}

/* Forms
--------------------------------------------- */
.gform-theme--foundation .gform_fields {
    row-gap: 1rem;
}

body .gform-theme--foundation .gfield input,
body .gform-theme--foundation .gfield textarea {
    border-radius: var(--button-radius);
    border: none !important;
    border: 1px solid hsl(from var(--primary-color) h s 80%) !important;

}

input::placeholder, textarea::placeholder {
    color: var(--primary-color) !important;
    font-weight: bold;
    text-transform: uppercase;
}

/* Home Page
--------------------------------------------- */
.banner.home-hero-banner {
        font-size: 1.25rem;
}

.hero-banner .flickity-page-dots {
    bottom: 30px;
}

.quick-links .col-inner {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.quick-links .button {
    margin: 0;
    min-width: 291.22px;
}

/* Testimonials
--------------------------------- */
.row .section.testimonial-section {
    padding-left: 0;
    padding-right: 0;
}



/* Rates 
--------------------------------------------- */
body .special-rate {
    text-shadow: var(--special-rate-shadow);
    font-size: 3rem;
    color: var(--secondary-color);
}

table.rates-table {
    width: 100%;
    border-collapse: collapse;
}

table.rates-table tr, table.loan-table tr {
    height: 2rem;
}

table.rates-table tr:last-of-type > td {
    border-bottom: 0;
}

table.rates-table td {
    /* vertical-align: top; */
    /* font-size: 1.15rem; */
    /* font-weight: 700; */
    /* color: var(--secondary-color); */
    min-height: 73px;
}

table.rates-table tr .small {
    font-size: .8rem;
    font-weight: normal;
    font-style: italic;
    color: var(--primary-color);
}

table.loan-table td[rowspan="3"] {
    border-left: 1px solid rgb(236, 236, 236);
}

/* sidebar menu link */
.ux-menu-link__link {
    align-items: center;
    color: #000;
    font-size: .8em;
    font-weight: bolder;
    margin-top: 5px;
    min-height: 3.125em;
    padding-bottom: .3em;
    padding-top: .3em;
    text-transform: uppercase;
}

/* Calculators
--------------------------------------------- */
.accordion-inner {
    padding: 1em;
}

#KJEAllContent {
    position: relative;
}

/* Zelle
---------------------------------------------- */
#f92-wrapper .f92-header>.f92-content {
    
    @media (width > 768px) {
        padding-top: 24px !important;
    }
    
    @media (width > 992px) {
        padding-top: 48px !important;
    }
}

#f92-wrapper .f92-header>.f92-content h1 {
    font-weight: 700;
    color: #fff;
        font-size: 5.0vw !important;
        width: 75% !important;

    @media (width > 575px) {
        font-size: 5.0vw !important;
    }
    
    @media (width > 768px) {
        width:75% !important;
        font-size: 5vw !important;
        letter-spacing: -0.33vw !important;
    }
    
    @media (width > 992px) {
        width:80% !important;
        font-size: 50px !important;
        letter-spacing: -3px !important;
    }

}

/* Posts
--------------------------------------------- */
.post-sidebar
.widget-title {
    font-size: 120%;
    font-weight: 800;
    color: var(--primary-color);
}

.post-sidebar .is-divider {
    display: none;
}

body.single-post h1.entry-title {
    font-size: 2.5rem !important;   
} 

body.single-post .title-overlay {
   background-color: transparent !important;
}

    /* Media Queries
------------------------------------------------------------------- */
/* @media screen and (min-width: 850px) {
    .gallery-columns-1 .gallery-item, .large-12, .large-columns-1 .flickity-slider>.col, .large-columns-1>.col {
        flex-basis: unset;
        max-width: unset;
    }
    .large-4 {
        flex-basis: unset;
        max-width: unset;
    }
        .medium-6 {
        flex-basis: 50%;
        max-width: 50%;
    }
} */

/* @media (min-width: 1035px) {

    /* resettin nav breakpoint */
    /* .show-for-medium {
        display: none !important;
    }

    .gallery-columns-1 .gallery-item, .large-12, .large-columns-1 .flickity-slider>.col, .large-columns-1>.col {
        flex-basis: 100%;
        max-width: 100%;
    }
    .large-4 {
        flex-basis: 33.3333333333%;
        max-width: 33.3333333333%;
    }  */
    /* END resettin nav breakpoint */
/* } */

/* @media screen and (max-width: 1035px) { */

    /* resettin nav breakpoint */
    /* .hide-for-medium {
        display: none !important;
    }

    .show-for-medium {
        display: block !important;
    }

    .medium-logo-center .logo {
        -webkit-box-ordinal-group: 3;
        -ms-flex-order: 2;
        order: 2;
        text-align: center;
        margin: 0 15px;
    }

    .medium-logo-center .flex-left {
        -webkit-box-ordinal-group: 2;
        -ms-flex-order: 1;
        order: 1;
        -webkit-box-flex: 1;
        -ms-flex: 1 1 0px;
        flex: 1 1 0;
    }

    .medium-logo-center .flex-right {
        -webkit-box-flex: 1;
        -ms-flex: 1 1 0px;
        flex: 1 1 0;
        -webkit-box-ordinal-group: 4;
        -ms-flex-order: 3;
        order: 3;
    }
 */
    /* END resettin nav breakpoint */

/* } */

/* @media screen and (width < 550px) {
    .show-for-medium:not(.flex-left):not(.flex-grow) {
        display: none !important;
    }

    .accordion-inner {
    padding: 1em 0;
}
} */