
:root {
  --body-font: 16;
  --body-font2: 16px;
  --animation-speed1: .3s;
  --animation-speed2: var(--animation-speed1);
  --animation-speed3: var(--animation-speed2);
  --general-padding: 20px;
  --border-radius1: 5px;
  --border-radius2: 20px;
  --border-radius3: var(--border-radius1);
  --icon-type-1: solid;
  --icon-type-2: var(--icon-type-1);
  --icon-type-3: var(--icon-type-1);
  --font-1: "Karla", sans-serif;
  --font-2: "Karla", serif;
  --font-3: "Fira Sans", sans-serif;
}

:root {
  --white-hue: 0;
  --white-sat:0%;
  --white-light: 100%;
  --white: hsla(var(--white-hue),var(--white-sat),calc(var(--white-light) + 0%),calc(0% + 100%));
  --black-hue:0;
  --black-sat:0%;
  --black-light: 0%;
  --black: hsla(var(--black-hue),var(--black-sat),calc(var(--black-light) + 0%),calc(0% + 100%));
  --color-dark1-hue: 209;
  --color-dark1-sat: 100%;
  --color-dark1-light: 28%;
  --color-dark1: hsla(var(--color-dark1-hue),var(--color-dark1-sat),calc(var(--color-dark1-light) + 0%),calc(0% + 100%));
  --color-dark2-hue: 345;
  --color-dark2-sat: 86%;
  --color-dark2-light: 51%;
  --color-dark2: hsla(var(--color-dark2-hue),var(--color-dark2-sat),calc(var(--color-dark2-light) + 0%),calc(0% + 100%));
  --color-dark3-hue: 215;
  --color-dark3-sat: 34%;
  --color-dark3-light: 47%;
  --color-dark3: hsla(var(--color-dark3-hue),var(--color-dark3-sat),calc(var(--color-dark3-light) + 0%),calc(0% + 100%));
  --color-dark4-hue: 208;
  --color-dark4-sat: 100%;
  --color-dark4-light: 18%;
  --color-dark4: hsla(var(--color-dark4-hue),var(--color-dark4-sat),calc(var(--color-dark4-light) + 0%),calc(0% + 100%));
  --color-dark5-hue: var(--color-dark1-hue);
  --color-dark5-sat: var(--color-dark1-sat);
  --color-dark5-light: var(--color-dark1-light);
  --color-dark5: hsla(var(--color-dark5-hue),var(--color-dark5-sat),calc(var(--color-dark5-light) + 0%),calc(0% + 100%));
  --color-dark6-hue:var(--color-dark1-hue);
  --color-dark6-sat:var(--color-dark1-sat);
  --color-dark6-light:var(--color-dark1-light);
  --color-dark6: hsla(var(--color-dark6-hue),var(--color-dark6-sat),calc(var(--color-dark6-light) + 0%),calc(0% + 100%));
  --color-light1-hue: 0;
  --color-light1-sat: 0%;
  --color-light1-light: 100%;
  --color-light2-hue: var(--color-light1-hue);
  --color-light2-sat: var(--color-light1-sat);
  --color-light2-light: var(--color-light1-light);
  --color-light3-hue: var(--color-light1-hue);
  --color-light3-sat: var(--color-light1-sat);
  --color-light3-light: var(--color-light1-light);
  --color-light4-hue: var(--color-light1-hue);
  --color-light4-sat: var(--color-light1-sat);
  --color-light4-light: var(--color-light1-light);
  --color-light5-hue: var(--color-light1-hue);
  --color-light5-sat: var(--color-light1-sat);
  --color-light5-light:var( --color-light1-light);
  --color-light6-hue: var(--color-light1-hue);
  --color-light6-sat: var(--color-light1-sat);
  --color-light6-light: var(--color-light1-light);
  --color-text-dark1-hue: 0;
  --color-text-dark1-sat: 0%;
  --color-text-dark1-light: 18%;
  --color-text-dark2-hue: 210;
  --color-text-dark2-sat: 1%;
  --color-text-dark2-light: 42%;
  --color-text-dark3-hue: 0;
  --color-text-dark3-sat: 0;
  --color-text-dark3-light:46%;
  --color-text-dark4-hue: var(--color-text-dark1-hue);
  --color-text-dark4-sat: var(--color-text-dark1-sat);
  --color-text-dark4-light: var(--color-text-dark1-light);
  --color-text-dark5-hue: var(--color-text-dark1-hue);
  --color-text-dark5-sat: var(--color-text-dark1-sat);
  --color-text-dark5-light: var(--color-text-dark1-light);
  --color-text-dark6-hue: var(--color-text-dark1-hue);
  --color-text-dark6-sat: var(--color-text-dark1-sat);
  --color-text-dark6-light: var(--color-text-dark1-light);
  --color-text-light1-hue: 0;
  --color-text-light1-sat: 0%;
  --color-text-light1-light: 100%;
  --color-text-light2-hue: var(--color-text-light1-hue);
  --color-text-light2-sat: var(--color-text-light1-sat);
  --color-text-light2-light: var(--color-text-light1-light);
  --color-text-light3-hue: var(--color-text-light1-hue);
  --color-text-light3-sat: var(--color-text-light1-sat);
  --color-text-light3-light: var(--color-text-light1-light);
  --color-text-light4-hue: var(--color-text-light1-hue);
  --color-text-light4-sat: var(--color-text-light1-sat);
  --color-text-light4-light: var(--color-text-light1-light);
  --color-text-light5-hue: var(--color-text-light1-hue);
  --color-text-light5-sat: var(--color-text-light1-sat);
  --color-text-light5-light: var(--color-text-light1-light);
  --color-text-light6-hue: --color-text-light1-hue;
  --color-text-light6-sat: --color-text-light1-sat;
  --color-text-light6-light: --color-text-light1-light;
  --color-text-link: hsla(var(--color-dark2-hue),var(--color-dark2-sat),calc(var(--color-dark2-light) + 0%),calc(0% + 100%));
  --color-text-link-on: hsla(var(--color-dark1-hue),var(--color-dark1-sat),calc(var(--color-dark1-light) + -10%),calc(0% + 100%));
}

:root {
  --main-width: 1260px;
  --main-1col-padding: calc(var(--general-padding)*2);
  --main-1col-padding-1200: calc(var(--general-padding)*2);
  --main-1col-padding-900: calc(var(--general-padding));
  --main-1col-padding-600: calc(var(--general-padding));
  --main-max-width: 75%;
  --inner-col-padding: 50px;
  --side-width: 37%;
  --side-max-width: 780px;
  --full-width-padding: calc(var(--general-padding));
  --break-padding: 0 calc(var(--general-padding));
}

:root {
  --color-alert1: hsla(var(--color-dark1-hue),var(--color-dark1-sat),calc(var(--color-dark1-light) + 0%),calc(0% + 100%));
  --color-alert2: hsla(var(--color-dark2-hue),var(--color-dark2-sat),calc(var(--color-dark2-light) + 0%),calc(0% + 100%));
  --color-alert3: hsla(var(--color-dark3-hue),var(--color-dark3-sat),calc(var(--color-dark3-light) + 0%),calc(0% + 100%));
  --alert-top-1-background:var(--color-alert1);
  --alert-top-1-close-btn-text: hsla(var(--color-dark1-hue),var(--color-dark1-sat),calc(var(--color-dark1-light) + 0%),calc(0% + 100%));
  --alert-top-1-close-btn-bg: var(--white);
  --alert-top-1-cta-text: hsla(var(--color-dark1-hue),var(--color-dark1-sat),calc(var(--color-dark1-light) + 0%),calc(0% + 100%));
  --alert-top-1-cta-bg: var(--white);
  --alert-top-1-title: hsla(var(--white-hue),var(--white-sat),calc(var(--white-light) + 0%),calc(0% + 100%));
  --alert-top-1-text: hsla(var(--white-hue),var(--white-sat),calc(var(--white-light) + 0%),calc(0% + 100%));
  --alert-top-1-a: hsla(var(--white-hue),var(--white-sat),calc(var(--white-light) + 0%),calc(0% + 100%));
  --alert-top-2-background: var(--color-alert2);
  --alert-top-2-close-btn-text: hsla(var(--white-hue),var(--white-sat),calc(var(--white-light) + 0%),calc(0% + 100%));
  --alert-top-2-close-btn-bg: hsla(var(--color-dark1-hue),var(--color-dark1-sat),calc(var(--color-dark1-light) + 0%),calc(0% + 100%));
  --alert-top-2-cta-text: hsla(var(--white-hue),var(--white-sat),calc(var(--white-light) + 0%),calc(0% + 100%));
  --alert-top-2-cta-bg: hsla(var(--color-dark1-hue),var(--color-dark1-sat),calc(var(--color-dark1-light) + 0%),calc(0% + 100%));
  --alert-top-2-title: hsla(var(--white-hue),var(--white-sat),calc(var(--white-light) + 0%),calc(0% + 100%));
  --alert-top-2-text: hsla(var(--white-hue),var(--white-sat),calc(var(--white-light) + 0%),calc(0% + 100%));
  --alert-top-2-a: hsla(var(--white-hue),var(--white-sat),calc(var(--white-light) + 0%),calc(0% + 100%));
  --alert-top-3-background: var(--color-alert3);
  --alert-top-3-close-btn-text: hsla(var(--color-dark1-hue),var(--color-dark1-sat),calc(var(--color-dark1-light) + 0%),calc(0% + 100%));
  --alert-top-3-close-btn-bg: hsla(var(--white-hue),var(--white-sat),calc(var(--white-light) + 0%),calc(0% + 100%));
  --alert-top-3-cta-text: hsla(var(--color-dark1-hue),var(--color-dark1-sat),calc(var(--color-dark1-light) + 0%),calc(0% + 100%));
  --alert-top-3-cta-bg: hsla(var(--white-hue),var(--white-sat),calc(var(--white-light) + 0%),calc(0% + 100%));
  --alert-top-3-title: hsla(var(--white-hue),var(--white-sat),calc(var(--white-light) + 0%),calc(0% + 100%));
  --alert-top-3-text: hsla(var(--white-hue),var(--white-sat),calc(var(--white-light) + 0%),calc(0% + 100%));
  --alert-top-3-a: hsla(var(--white-hue),var(--white-sat),calc(var(--white-light) + 0%),calc(0% + 100%));
  --alert-pop-1-background: hsla(var(--white-hue),var(--white-sat),calc(var(--white-light) + 0%),calc(0% + 100%));
  --alert-popout-1-bg: hsla(var(--white-hue),var(--white-sat),calc(var(--white-light) + 0%),calc(0% + 70%));
  --alert-pop-1-close-btn: hsla(var(--color-dark1-hue),var(--color-dark1-sat),calc(var(--color-dark1-light) + 0%),calc(0% + 100%));
  --alert-pop-1-close-btn-bg: hsla(var(--color-dark1-hue),var(--color-dark1-sat),calc(var(--color-dark1-light) + 0%),calc(0% + 100%));
  --alert-pop-1-cta: hsla(var(--white-hue),var(--white-sat),calc(var(--white-light) + 0%),calc(0% + 100%));
  --alert-pop-1-title: hsla(var(--color-dark1-hue),var(--color-dark1-sat),calc(var(--color-dark1-light) + 0%),calc(0% + 100%));
  --alert-pop-1-text: hsla(var(--color-dark1-hue),var(--color-dark1-sat),calc(var(--color-dark1-light) + 0%),calc(0% + 100%));
  --alert-pop-1-a: hsla(var(--color-dark1-hue),var(--color-dark1-sat),calc(var(--color-dark1-light) + 0%),calc(0% + 100%));
}

:root {
  --button-font-weight: 700;
  --button-padding: 10px 20px;
  --button-font-family: var(--font-1);
  --button-border-radius: var(--border-radius1);
  --big-padding: 20px;
  --big-border-multiplier: 1.3;
  --button-border-size: 1px;
  --btn-border-size: var(--button-border-size);
  --btn-border-type: solid;
  --btn-border-color: auto;
  --button-outline-background: var(--white);
  --button-outline-background-text: var(--black);
  --btn-1-background: hsla(var(--color-dark1-hue),var(--color-dark1-sat),calc(var(--color-dark1-light) + 0%),calc(0% + 100%));
  --btn-1-text: hsla(var(--white-hue),var(--white-sat),calc(var(--white-light) + 0%),calc(0% + 100%));
  --btn-1-border-size: var(--button-border-size);
  --btn-1-border-radius: var(var(--button-border-radius));
  --btn-1-border-color: hsla(var(--color-dark1-hue),var(--color-dark1-sat),calc(var(--color-dark1-light) + 0%),calc(0% + 100%));
  --btn-1-color-hover: hsla(var(--color-dark1-hue),var(--color-dark1-sat),calc(var(--color-dark1-light) + -10%),calc(0% + 100%));
  --btn-1-color-text-hover: hsla(var(--white-hue),var(--white-sat),calc(var(--white-light) + 0%),calc(0% + 100%));
  --btn-2-background: hsla(var(--color-dark2-hue),var(--color-dark2-sat),calc(var(--color-dark2-light) + 0%),calc(0% + 100%));
  --btn-2-text: hsla(var(--white-hue),var(--white-sat),calc(var(--white-light) + 0%),calc(0% + 100%));
  --btn-2-border-size: var(--button-border-size);
  --btn-2-border-radius: var(var(--button-border-radius));
  --btn-2-border-color: hsla(var(--color-dark2-hue),var(--color-dark2-sat),calc(var(--color-dark2-light) + 0%),calc(0% + 100%));
  --btn-2-color-hover: hsla(var(--color-dark2-hue),var(--color-dark2-sat),calc(var(--color-dark2-light) + -10%),calc(0% + 100%));
  --btn-2-color-text-hover: hsla(var(--white-hue),var(--white-sat),calc(var(--white-light) + 0%),calc(0% + 100%));
  --btn-3-background: hsla(var(--color-dark3-hue),var(--color-dark3-sat),calc(var(--color-dark3-light) + 0%),calc(0% + 100%));
  --btn-3-text: hsla(var(--white-hue),var(--white-sat),calc(var(--white-light) + 0%),calc(0% + 100%));
  --btn-3-border-size: var(--button-border-size);
  --btn-3-border-radius: var(var(--button-border-radius));
  --btn-3-border-color: hsla(var(--color-dark3-hue),var(--color-dark3-sat),calc(var(--color-dark3-light) + 0%),calc(0% + 100%));
  --btn-3-color-hover: hsla(var(--color-dark3-hue),var(--color-dark3-sat),calc(var(--color-dark3-light) + -10%),calc(0% + 100%));
  --btn-3-color-text-hover: hsla(var(--white-hue),var(--white-sat),calc(var(--white-light) + 0%),calc(0% + 100%));
}



.alert-section{
    background: hsla(209,100%,calc(28% + 0%),calc(0% + 100%));color:#fff;
    font-size:18px;
    line-height:1.5em;padding:0px 0; margin-bottom: 20px;position:relative;}
.alert-section a{color:#fff;text-decoration:underline}
.alert-section a:hover{color:#fff;text-decoration:none}
.alert-section .alert-warning{background:transparent;color:#fff; border: none;}
.alert-section .btn-close{color:#fff;opacity:1;font-size:20px;line-height:1.5em;position:absolute;top:10px;right:10px;cursor:pointer; background-color: #f5f5f5;padding: 10px;}
.alert-section .sp-module .alert{padding: 10px;}

/* Header Styles */
#sp-header{height: auto; box-shadow: none;}

#sp-header .logo{height: auto;max-width: 100%;}
#sp-logo .logo-image{max-width: 90%;height: auto;}

#sp-menu{}

#sp-menu ul{list-style:none;margin:0;padding:0;}
#sp-menu ul > li{display:inline-block !important;margin-right:20px; }
#sp-menu ul li a{
    font-size: 14px;
    font-weight: 700;
    color:hsla(208, 100%, calc(18% + 0%), calc(0% + 100%)) !important;
    text-decoration:none;
}
#sp-menu ul > li:last-child > a{padding-right: 15px;}
#sp-menu ul li:hover{background:transparent !important; color:hsla(208, 100%, calc(18% + 0%), calc(0% + 100%)) !important;}
#sp-menu ul li a:hover{color:hsla(208, 100%, calc(18% + 0%), calc(0% + 100%)) !important;text-decoration:none;}
#sp-menu ul li a span{font-size: 17px; font-weight: 700; color:hsla(208, 100%, calc(18% + 0%), calc(0% + 100%)) !important; text-decoration:none;}


/* Mega menu */
.cvmega-grid{
   display: block;
   column-count: 2;
}

.cvmega-grid .cvmega-group{
    display: block;
    width: 100%;
    margin-bottom: 20px;

}



/* feature-hero */
.feature-hero{
    border-radius: var(--border-radius2);
    border: 3px solid hsla(var(--color-dark2-hue), var(--color-dark2-sat), calc(var(--color-dark2-light) + 0%), calc(0% + 100%));
    border-bottom: 14px solid hsla(var(--color-dark2-hue), var(--color-dark2-sat), calc(var(--color-dark2-light) + 0%), calc(0% + 100%));
    border-right: 14px solid hsla(var(--color-dark2-hue), var(--color-dark2-sat), calc(var(--color-dark2-light) + 0%), calc(0% + 100%));
    box-shadow: inset 0 0 19px hsla(var(--black-hue), var(--black-sat), calc(var(--black-light) + 0%), calc(0% + 50%));
    overflow: hidden;
    margin-left: 10px !important;
    margin-right: 10px !important;
}


/* sp-title */
#sp-section-1 .sp-page-title{
    border-radius: var(--border-radius2);
    border: 3px solid hsla(var(--color-dark2-hue), var(--color-dark2-sat), calc(var(--color-dark2-light) + 0%), calc(0% + 100%));
    border-bottom: 14px solid hsla(var(--color-dark2-hue), var(--color-dark2-sat), calc(var(--color-dark2-light) + 0%), calc(0% + 100%));
    border-right: 14px solid hsla(var(--color-dark2-hue), var(--color-dark2-sat), calc(var(--color-dark2-light) + 0%), calc(0% + 100%));
    box-shadow: inset 0 0 19px hsla(var(--black-hue), var(--black-sat), calc(var(--black-light) + 0%), calc(0% + 50%));
    overflow: hidden;
    margin-left: 10px !important;
    margin-right: 10px !important;
    min-height: 550px;
}
#sp-section-1 .sp-page-title{
    min-height: 550px;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}

#sp-section-1 .breadcrumb {background: transparent;margin-top: 20px;}



#sp-bottom{
 text-align: center;
}
#sp-bottom .sp-module{margin-bottom: 0px;}
#sp-bottom ul{list-style:none;margin:0;padding:0;}
#sp-bottom  ul > li{display:inline-block !important;margin-right:20px;}
#sp-bottom ul li a{
    font-size: 17px;
    font-weight: 700;
    color:hsla(208, 100%, calc(18% + 0%), calc(0% + 100%)) !important;
    text-decoration:none;
}



/* Footer Styles */
.footer-bottom-info ul{list-style:none;margin:0;padding:0;}
.footer-bottom-info ul > li{
    display:inline-block !important;
    margin-right:20px;
    font-size: 17px;
    font-weight: 700;
    color: hsla(208, 100%, calc(18% + 0%), calc(0% + 100%));
}
.footer-bottom-info ul li a{
    font-size: 17px;
    font-weight: 700;
    color: hsla(208, 100%, calc(18% + 0%), calc(0% + 100%));
    text-decoration:none;}
.footer-bottom-info ul li a:hover{color:hsla(208, 100%, calc(18% + 0%), calc(0% + 100%)) !important;text-decoration:underline;}

.pre-footer{
    overflow: hidden;
    position: relative;
    color: hsla(208, 100%, calc(18% + 0%), calc(0% + 100%));
    background: #eef3f6 !important;
    z-index: 1;
}

/* Add Left Background image from template images folder */
.pre-footer::after{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("../images/bg-foot-left.png");
    background-repeat: no-repeat;
    background-position: left center;
    background-size: contain;
    z-index: -1;
}
/* Add Right Background image from template images folder bg-foot-right.png */
.pre-footer:before{
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-image: url("../images/bg-foot-right.png");
    background-repeat: no-repeat;
    background-position: right center;
    background-size: contain;
    z-index: -1;
}

.pre-footer img{display:inline-block;}

#sp-bottom .social-icons{
    display: inline-block;
    list-style: none;
    justify-content: center;
    align-items: center;
    margin: 0px;
}
#sp-bottom .social-icons li{margin: 0 10px;}
#sp-bottom .social-icons li a{color: hsla(208, 100%, calc(18% + 0%), calc(0% + 100%));}
#sp-bottom .social-icons li a:hover{color: hsla(208, 100%, calc(18% + 0%), calc(0% + 100%));}
#sp-bottom .social-icons li a span{font-size: 24px;}


















.custom-login-module {
    width: 100%;
    max-width: 390px;
}

.custom-login-form {
    margin: 0;
    padding: 0;
}

/* Top row */
.custom-login-module .login-fields {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Username + Password */
.custom-login-module .login-input {
    width: 116px;
    height: 47px;
    padding: 0 10px;

    border: 1px solid #c7c7c7;
    border-radius: 4px;

    background: #fff;
    color: #444;

    font-size: 16px;
    line-height: 47px;

    box-sizing: border-box;
    outline: none;

    transition: border-color 0.15s ease,
                box-shadow 0.15s ease;
}

.custom-login-module .login-input::placeholder {
    color: #555;
    opacity: 1;
}

/* Focus */
.custom-login-module .login-input:focus {
    border-color: #006cff;
    box-shadow: 0 0 0 1px #006cff;
}

/* Login Button */
.custom-login-module .login-submit {
    width: 44px;
    height: 45px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0 10px;
    border: 0;
    border-radius: 3px;

    background: #005b94;
    color: #fff;

    font-size: 20px;
    cursor: pointer;

    transition: background 0.2s ease;
}

.custom-login-module .login-submit:hover {
    background: #004875;
}

/* Bottom links */
.custom-login-module .login-links {
    display: flex;
    align-items: center;
    gap: 24px;

    margin-top: 12px;
}

.custom-login-module .login-links a {
    display: inline-flex;
    align-items: center;
    gap: 5px;

    color: #333;
    text-decoration: none;

    font-size: 16px;
    line-height: 1;
}

.custom-login-module .login-links a i {
    color: #666;
    font-size: 16px;
}

.custom-login-module .login-links a:hover {
    color: #005b94;
    text-decoration: none;
}

.custom-login-module .login-links a:hover i {
    color: #005b94;
}

/* Mobile */
@media (max-width: 380px) {
    .custom-login-module .login-fields {
        flex-wrap: wrap;
    }

    .custom-login-module .login-input {
        flex: 1 1 120px;
        width: auto;
    }
}





/* =====================================================
   Footer Feature Logos
   ===================================================== */

.footer-feature-logos {
    display:inline-block;
    width: 100%;
    min-height: 70px;
    text-align: center;
}

/* Each logo column */
.footer-feature-logos .footer-feature {
    min-height: 70px;

    display: inline-block;
    align-items: center;
    justify-content: center;

    padding: 10px 20px;
    box-sizing: border-box;
}

/* Links */
.footer-feature-logos .footer-feature a {
    display: flex;
    align-items: center;
    justify-content: center;

    text-decoration: none;
}

/* Normal images */
.footer-feature-logos .footer-feature img {
    display: block;

    width: auto;
    height: auto;

    max-width: 100%;
    max-height: 45px;
}

/* Candescent */
.footer-feature-logos .footer-feature-candescent a {
    width: 100%;
    max-width: 230px;
}

.footer-feature-logos .candescent-logo {
    display: block;

    width: 100%;
    height: auto;

    color: #00549a;
}

/* Logo hover animation */
.footer-feature-logos .footer-feature img,
.footer-feature-logos .footer-feature .candescent-logo {
    transition: transform 0.3s ease;
}

.footer-feature-logos .footer-feature:hover img,
.footer-feature-logos .footer-feature:hover .candescent-logo {
    transform: scale(1.1);
}


/* =====================================================
   Tablet
   ===================================================== */

@media (max-width: 767px) {

    .footer-feature-logos {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-feature-logos .footer-feature {
        min-height: 80px;
    }
}


/* =====================================================
   Mobile
   ===================================================== */

@media (max-width: 480px) {

    .footer-feature-logos {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-feature-logos .footer-feature {
        padding: 15px 10px;
    }

    .footer-feature-logos .footer-feature img {
        max-height: 38px;
    }

    .footer-feature-logos .footer-feature-candescent a {
        max-width: 170px;
    }
}

/* =====================================================
   Mobile header, online banking and navigation
   ===================================================== */
@media (max-width: 700px) {
    #sp-header {
        height: 97px;
        border-top: 2px solid #005596;
        border-bottom: 1px solid #b8cee2;
        background: #fff;
    }

    #sp-header > .container-fluid,
    #sp-header .container-inner,
    #sp-header .container-inner > .row {
        height: 100%;
    }

    #sp-header > .container-fluid {
        padding: 0 8px 0 24px;
    }

    #sp-header .container-inner > .row {
        --bs-gutter-x: 0;
        flex-wrap: nowrap !important;
        justify-content: space-between;
    }

    #sp-logo {
        flex: 1 1 auto;
        min-width: 0;
        padding: 0;
    }

    #sp-header #sp-logo .logo {
        width: 100%;
        height: 95px;
    }

    #sp-logo .logo-image {
        width: 185px;
        max-width: 100%;
        height: auto;
    }

    #sp-menu {
        flex: 0 0 auto;
        padding: 0;
    }

    #sp-menu > .sp-column {
        gap: 7px;
    }

    #sp-header #sp-menu .sp-module,
    #sp-header .login-module {
        margin: 0;
        padding: 0;
    }

    /* The custom mega-menu replaces Helix's second mobile hamburger. */
    #sp-header #offcanvas-toggler {
        display: none !important;
    }

    #sp-header .cvmega-toggle {
        width: 80px;
        height: 82px;
        gap: 6px;
        border: 1px solid #b8cee2;
        border-radius: 4px;
        background: #e5edf4;
    }

    #sp-header .cvmega-toggle span {
        width: 27px;
        height: 4px;
        background: #1768a8;
    }

    /* Compact Log In control. Focusing it reveals the existing form. */
    #sp-header .login-module {
        position: relative;
        flex: 0 0 81px;
        width: 81px;
        height: 54px;
        z-index: 1002;
    }

    #sp-header .custom-login-module,
    #sp-header .custom-login-form {
        width: 81px;
        height: 54px;
    }

    #sp-header .login-module::before {
        content: "\f023  Log\A In";
        white-space: pre;
        position: absolute;
        inset: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 7px;
        border-radius: 4px;
        background: #005596;
        color: #fff;
        font-family: "Font Awesome 6 Free", "FontAwesome", sans-serif;
        font-size: 13px;
        font-weight: 700;
        line-height: 1.05;
        text-align: center;
        pointer-events: none;
        z-index: 2;
    }

    #sp-header .custom-login-module .login-fields {
        display: block;
    }

    #sp-header .custom-login-module .login-input {
        position: absolute;
        inset: 0;
        width: 81px;
        height: 54px;
        opacity: 0;
        cursor: pointer;
        z-index: 3;
    }

    #sp-header .custom-login-module .login-input + .login-input,
    #sp-header .custom-login-module .login-submit,
    #sp-header .custom-login-module .login-links {
        display: none;
    }

    #sp-header .login-module:focus-within .custom-login-form {
        position: absolute;
        top: 75px;
        right: -87px;
        width: 100vw;
        height: 260px;
        padding: 18px 66px 25px;
        border-bottom: 1px solid #b8cee2;
        background: #fff;
        box-shadow: 0 5px 10px rgba(0, 0, 0, .08);
        z-index: 1001;
    }

    #sp-header .login-module:focus-within .custom-login-module {
        width: 100%;
        max-width: 100%;
    }

    #sp-header .login-module:focus-within .custom-login-form {
        max-width: none;
    }

    #sp-header .login-module:focus-within .custom-login-form::before {
        content: "Online Banking";
        position: static;
        display: block;
        margin-bottom: 9px;
        background: transparent;
        color: #111;
        font-family: inherit;
        font-size: 16px;
        font-weight: 400;
        line-height: 1.4;
    }

    #sp-header .login-module:focus-within .custom-login-module .login-fields {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    #sp-header .login-module:focus-within .custom-login-module .login-input,
    #sp-header .login-module:focus-within .custom-login-module .login-submit {
        position: static;
        display: block;
        width: 100%;
        height: 41px;
        opacity: 1;
        cursor: text;
    }

    #sp-header .login-module:focus-within .custom-login-module .login-submit {
        cursor: pointer;
        font-size: 0;
        box-shadow: 0 2px 5px rgba(0, 0, 0, .35);
    }

    #sp-header .login-module:focus-within .custom-login-module .login-submit::after {
        content: "Go";
        font-size: 12px;
    }

    #sp-header .login-module:focus-within .custom-login-module .login-links {
        display: flex;
        justify-content: center;
        margin-top: 13px;
    }

    /* Full-width mobile mega-menu. */
    #sp-header .cvmega-panel {
        position: absolute;
        top: calc(100% + 8px);
        right: 0;
        bottom: auto;
        left: auto;
        width: 100vw;
        max-height: none;
        border: 1px solid #1768a8;
        border-top: 0;
        box-shadow: none;
    }

    #sp-header .cvmega-inner {
        padding: 15px 37px 0;
    }

    #sp-header .cvmega-search {
        margin-bottom: 96px;
    }

    #sp-header .cvmega-search .search-input {
        height: 44px;
        border-right: 0;
        border-radius: 5px 0 0 5px;
    }

    #sp-header .cvmega-search .search-btn {
        min-width: 48px;
        height: 44px;
        padding: 0 12px;
        border-left: 0;
        border-radius: 0 5px 5px 0;
        background: #fff;
        color: #1768a8;
    }

    #sp-header .cvmega-search .text-1,
    #sp-header .cvmega-search .text-2 {
        display: none;
    }

    #sp-header .cvmega-grid {
        display: flex;
        flex-direction: column;
        gap: 0;
        margin: 0 -37px;
    }

    #sp-header .cvmega-group:nth-child(1) { order: 1; }
    #sp-header .cvmega-group:nth-child(3) { order: 2; }
    #sp-header .cvmega-group:nth-child(5) { order: 3; }
    #sp-header .cvmega-group:nth-child(2) { order: 4; }
    #sp-header .cvmega-group:nth-child(4) { order: 5; }

    #sp-header .cvmega-group h3 {
        position: relative;
        min-height: 49px;
        margin: 0;
        padding: 14px 18px;
        font-size: 16px;
        color: #003f73;
    }

    #sp-header .cvmega-group h3::after {
        content: "\f078";
        position: absolute;
        top: 5px;
        right: 18px;
        width: 38px;
        height: 40px;
        border-radius: 5px;
        background: #d4e2ef;
        color: #005596;
        font: 900 14px/40px "Font Awesome 6 Free", "FontAwesome";
        text-align: center;
    }

    #sp-header .cvmega-group.is-expanded h3::after {
        content: "\f077";
    }

    #sp-header .cvmega-group.is-expanded ul {
        display: block;
        padding: 0 20px 8px;
        background: #f4f4f4;
    }

    #sp-header .cvmega-group.is-expanded li {
        margin: 0;
        padding: 10px 0;
    }

    #sp-header .cvmega-group:not(.is-expanded) ul {
        display: none;
    }

    /* Show the existing Join/Apply navigation in the open custom menu. */
    #sp-menu > .sp-column:has(.cvmega.is-open) > .sp-megamenu-wrapper {
        position: absolute;
        top: 188px;
        right: 90px;
        z-index: 1002;
        display: flex !important;
    }

    #sp-menu > .sp-column:has(.cvmega.is-open) .sp-megamenu-parent {
        display: flex !important;
        gap: 27px;
    }

    #sp-menu > .sp-column:has(.cvmega.is-open) .sp-megamenu-parent > li {
        display: block !important;
        margin: 0;
    }

    #sp-menu > .sp-column:has(.cvmega.is-open) .sp-megamenu-parent > li > a {
        padding: 0;
        font-size: 18px;
        line-height: 28px;
        color: #004d91 !important;
    }
}

/* =====================================================
   Mobile footer
   ===================================================== */
@media (max-width: 600px) {
    #sp-bottom.pre-footer {
        padding: 38px 0 24px;
        overflow: hidden;
        background: #eef3f6 !important;
        color: #002f57;
        font-size: 15px;
        line-height: 1.45;
        text-align: center;
    }

    .pre-footer::after,
    .pre-footer::before {
        display: none;
    }

    #sp-bottom > .container {
        width: 100%;
        max-width: 100%;
        padding-right: 24px;
        padding-left: 24px;
    }

    #sp-bottom .container-inner,
    #sp-bottom1,
    #sp-bottom1 > .sp-column {
        width: 100%;
    }

    #sp-bottom .sp-module {
        position: relative;
        z-index: 1;
        margin: 0;
    }

    /* Footer navigation */
    #sp-bottom .sp-module:first-child ul.menu {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        gap: 10px 22px;
        margin: 0 auto 25px;
        padding: 0 0 24px;
        border-bottom: 1px solid rgba(0, 63, 115, .18);
    }

    #sp-bottom .sp-module:first-child ul.menu > li {
        display: block !important;
        flex: 0 1 auto;
        margin: 0;
        padding: 0;
    }

    #sp-bottom .sp-module:first-child ul.menu > li > a {
        display: inline-block;
        padding: 3px 0;
        color: #002f57 !important;
        font-size: 15px;
        font-weight: 700;
        line-height: 1.35;
    }

    /* Regulatory and contact information */
    #sp-bottom .footer-bottom-info {
        margin-bottom: 18px;
    }

    #sp-bottom .footer-info {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 7px;
    }

    #sp-bottom .footer-info > li {
        display: block !important;
        margin: 0;
        color: #002f57;
        font-size: 14px;
        font-weight: 600;
        line-height: 1.4;
    }

    #sp-bottom .footer-info a {
        display: inline-block;
        color: #002f57 !important;
        font-size: inherit;
        font-weight: inherit;
        overflow-wrap: anywhere;
    }

    /* Social links */
    #sp-bottom .social-icons {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 22px;
        margin: 0 0 22px;
        padding: 0;
    }

    #sp-bottom .social-icons > li {
        display: block !important;
        margin: 0;
    }

    #sp-bottom .social-icons li a {
        display: flex;
        width: 36px;
        height: 36px;
        align-items: center;
        justify-content: center;
        border: 1px solid #005596;
        border-radius: 50%;
        color: #005596 !important;
        background: rgba(255, 255, 255, .72);
    }

    #sp-bottom .social-icons li a span {
        font-size: 19px;
    }

    /* Certification and partner logos */
    #sp-bottom .footer-feature-logos {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: center;
        gap: 14px 20px;
        width: min(100%, 330px);
        min-height: 0;
        margin: 0 auto;
    }

    #sp-bottom .footer-feature-logos .footer-feature {
        display: flex;
        min-width: 0;
        min-height: 58px;
        align-items: center;
        justify-content: center;
        margin: 0;
        padding: 6px;
    }

    #sp-bottom .footer-feature-logos .footer-feature a {
        width: 100%;
        min-width: 0;
        max-width: 135px;
    }

    #sp-bottom .footer-feature-logos .footer-feature img {
        width: auto;
        max-width: 100%;
        height: auto;
        max-height: 42px;
        object-fit: contain;
    }

    #sp-bottom .footer-feature-logos .footer-feature-candescent a {
        max-width: 145px;
    }

    /* Keep the reference site's decorative edge artwork subtle on phones. */
    #sp-bottom.pre-footer::before,
    #sp-bottom.pre-footer::after {
        top: auto;
        bottom: 0;
        width: 55%;
        height: 55%;
        background-size: contain;
        opacity: .32;
    }

    #sp-bottom.pre-footer::before {
        background-position: right bottom;
    }

    #sp-bottom.pre-footer::after {
        background-position: left bottom;
    }
}
