.homepage-footer__item:nth-of-type(1){
    /* to make AMEX logo big */
    width: 100%;
}

.social--wideboxes{
    display: none;
}
.homepage-footer__wrapper{
    position: relative;
}
.homepage-footer__item:nth-of-type(4){
    width: 100%;
    height: unset;
    padding: 0;
    margin: 0;
}
.homepage-footer__item:nth-of-type(4) .footer-social-wrapper{
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    height: 180px;
    width: 100%;
    bottom: -210px;
}

.footer-mobile-links{
    position: absolute;
    bottom: 0px;
    display: flex;
    justify-content: center;
    z-index: 1;
    bottom: -10px;
}
.footer-mobile-links a{margin:0 20px;}
.footer-mobile-links img{max-height:40px;}

.homepage-footer__item:nth-of-type(4) .footer-social-wrapper .social-container{
    padding: .9375rem;
}

.footer__bottom-container--responsive .footer__link--copyright {
    color: #000;
}

.responsive-header__top-area{
    padding: 0 1.25rem;
}
.responsive-header__top-area .homepage-header{
    gap: 2.5rem;
}
#responsiveSearch{padding-left: unset;}
.title-bar__logo{max-height: 62px;}
.sticky-container .title-bar__logo{
    visibility: hidden;
    width: 0;
}

.sticky-container .title-bar{
    padding: 0 1.25rem 0 1.875rem;
}

.myaccount-dropdown{
    top: 80px !important;
}
@media screen and (min-width:1040px) {
    .mega-menu__icon--myaccount{
        margin-left: 10px;
    }
    
    .main-header--secure {
        border: 0 solid #004899;
        border-width: 0 0.75rem;
    }
}

/* Mega Menu Alignment */
.mega-menu__bar-wrapper {
    align-items: flex-end;
}

.header-icons {
    height: 5rem;
    position: relative;
}

li.meganav__link:hover .mega-menu__title {
    border-color: #004899;
}

li.meganav__link .mega-menu__title {
    border-color: transparent;
}

.meganav__wrap.js-megamenu-wrap {
    padding-left: 1rem;
    gap: 1.5rem;
}

.main-header__top-area {
    position: absolute;
    width: 100%;
}
.main-header--secure .main-header__top-area{
    position: unset;
}

.main-header__top-area .homepage-header {
    margin-left: 180px;
    border-bottom: 1px solid;
    gap: 2rem;
    padding-right: 164px;
}

.homepageheader-item {
    height: 88px;
}
.homepage-footer{padding: unset;}

.homepage-footer__title{
    padding-bottom: unset;
}

.homepageheader-item__title a:hover,
.homepageheader-item__title a:focus,
.homepage-footer__title .divider span{
    color: white;
}

.homepage-footer__wrapper .homepage-footer__item:nth-of-type(1) img{
    max-width: 620px;
}

.homepage-footer__wrapper .homepage-footer__item:nth-of-type(2) img,
.homepage-footer__wrapper .homepage-footer__item:nth-of-type(3) img{
    filter: invert(1);
}

.homepage-footer__item{
    padding: 10px 0;
}

.homepageheader-item__last {
    position: absolute;
    width: 200px;
    right: 150px;
    top: -12px;
}

.homepageheader-item__last .homepageheader-item__image {
    max-height: 28px;
}

.homepageheader-item__last div:first-child {
    justify-content: flex-end;
    align-items: flex-end;
    height: 12px;
    font-family: "Inter Semi", Helvetica, Arial, sans-serif;
}

.header__extra-content-container--0 {
    display: none;
}

.divider,
.divider--homepage{
    max-width: 768px;
}

.feature-tab-container.dark-background h2 span{
    color: white;
}

/* Footer Changes */
.social-container{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}
.social-container__text{
    color: white;
    font-family: 'Inter Semi', sans-serif;
    font-size: 1rem;
}
.social-container__image img{
    transition: 100ms ease-in;
    width: 68px;
    max-width: unset;
}
.social-container__image:hover img{
    transform: scale(1.02);
}

#follow-us .column-block{
    width: unset;
}

#newsletter-signup-text{
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
}
#newsletter-signup-btn{
    font-size: 1.2rem;
    font-weight: 700;
}

.social__wrapper{
    position: relative;
}
#footer-wrapper{
    background-color: #004899;
}

#footer-wrapper .newsletter{
    margin: 0 auto;
    height: 200px;
    padding-top: unset;
}

#footer-wrapper .social__title{
    max-width: 768px;
    margin: 1rem auto;
    position: relative;
    overflow: hidden;
}

#footer-wrapper .social__title:before {
    right: 65%;
    top: 10px;
}
#footer-wrapper .social__title:after{
    left: 65%;
    top: 10px;
}

#footer-wrapper .social__title:after,
#footer-wrapper .social__title:before{
    content: '';
    position: absolute;
    height: 100%;
    width: 768px;
    border-top-style: solid;
    border-top-width: 2px;
    border-top-color: #1affb0;
    transform: translateY(calc(-2px / 2));
}

.responsive-menu__social{display: none;}
@media screen and (max-width: 1400px) {
    .mega-menu__bar {
        padding: 6px 8rem 0;
    }

    .main-header__top-area {
        padding-right: 8rem;
    }

    .main-header__top-area .homepage-header {
        margin-left: 124px;
    }

    .homepageheader-item {
        height: 78px;
    }

    .homepageheader-item__last {
        right: 130px;
    }

    .main-header__widemenu .logo img {
        max-height: 145px;
    }
}

@media screen and (max-width: 1240px) {
    .header-icons{
        height: 4.5rem;
    }
    .myaccount-dropdown {
        top: 72px !important;
    }
    .meganav__wrap.js-megamenu-wrap{padding-left: unset;height: 4.8rem;}
    .mega-menu__bar {
        padding: 6px 3rem 0;
    }

    .main-header__top-area {
        padding-right: 3rem;
    }

    .main-header__top-area .homepage-header {
        margin-left: 42px;
    }

    .homepageheader-item__last {
        right: 50px;
    }
}

@media screen and (max-width:1039px) {
    .responsive-header__top-area{
        position: fixed;
        z-index: 1;
        box-shadow: 0 -5px 8px 0px #000;
    }
    .sticky-container,
    .sticky.is-stuck.is-at-top{
        margin-top: 62px !important;
        height: 54px;
    }
    .homepageheader-item {
        height: unset;
    }
    .homepageheader-item a{
        color: #b2cde6;
    }
    .homepageheader-item__last{
        display: none;
    }
    .myaccount-dropdown {
        top: 60px !important;
    }
    .social-container__image img{
        width: 48px;
    }
    .mega-menu__icon--myaccount .mega-menu__icon--myaccount-label{
        font-size: 13px;
    }
    .homepage-footer__wrapper .homepage-footer__item:nth-of-type(1) img{
        max-width: 420px !important;
    }
    .newsletter-responsive{
        height: 220px;
    }
    .homepage-footer__item:nth-of-type(4) .footer-social-wrapper{
        top: 150px;
    }
    .social__wrapper{
        padding: unset !important;
    }
    .footer-mobile-links{
        bottom: 0;
    }
}

@media screen and (max-width:768px) {
    .homepage-footer__wrapper .homepage-footer__item:nth-of-type(1) img{
        max-width: 340px !important;
    }
    .homepage-footer__item:nth-of-type(4) .footer-social-wrapper{
        top: 180px;
        justify-content: unset;
        align-items: unset;
        flex-direction: column;
    }
    .newsletter-responsive{
        height: 360px;
        padding-top: unset;
    }
    .footer-mobile-links{
        bottom: -100px;
        width: 100%;
    }
    .footer-mobile-links img{max-height:36px;}
}

@media screen and (max-width:460px) {
    .responsive-header__top-area .homepage-header{
        gap: 2.625rem;
    }
    .homepage-footer__item:nth-of-type(4) .footer-social-wrapper{
        top: 160px;
    }
    .social-container{
        justify-content: unset;
        margin: 0 auto;
        min-width: 320px;
    }
}
