.main-header__top-area {
    position: relative;
}

.main-header__mid-area {
    height: 6rem;
    position: relative;
}
.main-header__top-area:after {
    background: url('../img/siteheader.svg') no-repeat 100%;
    background-size: cover;
    content: "";
    height: 105%;
    opacity: 0.5;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    width: 100%;
}

.main-header__mid-area:before,
.responsive-header .sticky-container:before,
.responsive-header .is-stuck:before{
    background: url('../img/siteheader-before.png') no-repeat 50%;
    background-size: cover;
    content: "";
    height: 13px;
    left: 50%;
    position: absolute;
    top: 0;
    transform: translate(-50%);
    width: 120px;
}
.responsive-header .sticky-container:before,
.responsive-header .is-stuck:before{
    height: 10px;
    z-index: 1;
}

.main-header__top-area--secure {
    margin: 0;
}

.main-header__top-area::before {
    display: block;
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 80px;
    background: linear-gradient(90deg, #000, transparent);
    z-index: 0;
}

.responsive-header__top-area {
    position: relative;
    padding-left: 12px;
    padding-right: 12px;
}

.icon-chevron-left {
    width: 5px;
    height: 8px;
    margin-right: 7px;
    fill: #fff;
    display: inline-block;
}

.mega-menu__nav-menu--center-screen {
    top: 9rem !important;
    background: url('../img/navigation.svg') 0px center / cover no-repeat;
}

.sticky-container .is-stuck .mega-menu__nav-menu--center-screen{
    top: 6rem !important;
}
.main-header__top-area--secure{
    height: 6rem;
}

.mega-menu__bar-wrapper .logo {
    width: 160px;
    /* to replicate width of the logo */
    z-index: 2;
}

.mega-menu__bar-wrapper .logo img {
    position: absolute;
    top: 0;
}

.meganav__wrap {
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    -ms-flex-direction: row;
    flex-direction: row;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
}

.meganav__link {
    display: block;
    flex: initial;
}

.title-bar__icon--myaccount {
    transform: translateY(2px);
}

.title-bar__icon--menu {
    transform: translateY(1px);
}

.title-bar__icon--menu svg {
    width: 2rem;
    height: 2rem;
}

.responsive-menu__arrow-icon::before {
    color: #ee2e24 !important;
}

.newsletter-responsive {
    border-top: 7px solid #ff0028;
}

.secure-header-continue-shop {
    padding: 11px 0;
}

.main-header__top-area--secure .logo img {
    position: absolute;
    top: 0px;
}

.tactical-message .grid-container {
    max-width: 79.75rem;
    width: 100%;
    padding: unset;
}

.tactical-message__item-text--secure * {
    line-height: 40px;
}

.featureTab-text {
    background: black;
    color: white;
}

@media screen and (max-width: 639px) {
    .social__wrapper .grid-padding-x>.cell {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
}

@media screen and (min-width: 640px) {
    .social__wrapper .grid-padding-x>.cell {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }
}

#footer {
    padding-top: 0px;
}

#footer-wrapper {
    background-color: #c80028;
}

#footer-wrapper .homepage-footer__container {
    background: url('../img/footer.svg') 50% no-repeat;
    background-size: cover;
    position: relative;
}
.footer-responsive > .grid-x{
    position: absolute;
    margin: 0 auto;
    width: 100%;
    bottom: 5rem;
}
.newsletter.show-for-large {
    position: absolute;
    width: 100%;
    top: -3.75rem;
    background: transparent;
}

/* #footer-wrapper .homepage-footer:before{
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTkwIiBoZWlnaHQ9IjcxOCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZyBmaWxsPSIjQkMwMDI2IiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPjxwYXRoIGQ9Ik0wIDBoMjJ2NzE4SDB6TTQyIDBoMjJ2NzE4SDQyek04NCAwaDIydjcxOEg4NHpNMTI2IDBoMjJ2NzE4aC0yMnpNMTY4IDBoMjJ2NzE4aC0yMnoiLz48L2c+PC9zdmc+) 50% repeat;
    background-size: contain;
    background-repeat: no-repeat;
    content: "";
    height: calc(100% - 100px);
    left: 50%;
    position: absolute;
    transform: translate(-50%);
    width: 190px;
    z-index: 0;
} */
.homepage-footer.grid-container{
    max-width: 80rem;
    margin: 0 auto;
}
.homepage-footer__wrapper {
    border-bottom: 1px solid hsla(0, 0%, 100%, .6);
}

.homepage-footer__item img {
    object-fit: contain;
    width: 120px;
    height: 120px;
}

.homepage-footer__item:nth-of-type(1),
.homepage-footer__item:nth-of-type(2),
.homepage-footer__item:nth-of-type(3) {
    width: 28%;
}

/* DROPDOWN SPECIAL EFFECT */
.dropdown-pane.mega-menu__nav-menu .nav-submenu .dropdown__department-title-link,
.dropdown-pane.mega-menu__nav-menu .nav-submenu .dropdown__subdepartment-title-link 
{
	opacity: 0;
	transition: opacity 1s ease, transform 1s ease; /* Transition for fade-in and movement */
    /* transform: translateY(-30px); */
}
.is-open.dropdown-pane.mega-menu__nav-menu .nav-submenu .dropdown__department-title-link,
.is-open.dropdown-pane.mega-menu__nav-menu .nav-submenu .dropdown__subdepartment-title-link{
    opacity: 1;
}

/* Staggered effect using nth-child for transition delay */
.is-open.dropdown-pane.mega-menu__nav-menu .nav-submenu:nth-child(1) .dropdown__department-title-link,
.is-open.dropdown-pane.mega-menu__nav-menu .nav-submenu:nth-child(1) .dropdown__subdepartment-title-link {
    transition-delay: 0.1s;
}

.is-open.dropdown-pane.mega-menu__nav-menu .nav-submenu:nth-child(2) .dropdown__department-title-link,
.is-open.dropdown-pane.mega-menu__nav-menu .nav-submenu:nth-child(2) .dropdown__subdepartment-title-link {
    transition-delay: 0.3s;
}

.is-open.dropdown-pane.mega-menu__nav-menu .nav-submenu:nth-child(3) .dropdown__department-title-link,
.is-open.dropdown-pane.mega-menu__nav-menu .nav-submenu:nth-child(3) .dropdown__subdepartment-title-link {
    transition-delay: 0.5s;
}

.is-open.dropdown-pane.mega-menu__nav-menu .nav-submenu:nth-child(4) .dropdown__department-title-link,
.is-open.dropdown-pane.mega-menu__nav-menu .nav-submenu:nth-child(4) .dropdown__subdepartment-title-link {
    transition-delay: 0.7s;
}

.is-open.dropdown-pane.mega-menu__nav-menu .nav-submenu:nth-child(5) .dropdown__department-title-link,
.is-open.dropdown-pane.mega-menu__nav-menu .nav-submenu:nth-child(5) .dropdown__subdepartment-title-link {
    transition-delay: 0.9s;
}

.mega-menu__nav-menu a.dropdown__subdepartment-title-link:hover:before {
    opacity: 1;
}
.mega-menu__nav-menu a.dropdown__subdepartment-title-link:before {
    background-image: url('../img/menu-item-prefix.svg');
    background-size: 16px 16px;
    content: "";
    height: 16px;
    width: 16px;
    left: -20px;
    opacity: 0;
    position: absolute;
    top: 6px;
    transition: all .3s ease-in-out;
}
/* END of DROPDOWN EFFECT*/


@media screen and (min-width: 1440px) {
    .mega-menu__title {
        padding-right: 1rem;
        padding-left: 1rem;
    }

    .main-header__top-area .grid-container,
    .mega-menu__bar-wrapper{
        margin-left: calc(50vw - 638px);
        margin-right: calc(50vw - 638px);
        width: 79.75rem;
    }

}

@media screen and (max-width: 1439px) {
    .main-header__top-area:after {
        background: unset;
    }
    .main-header__top-area .grid-container,
    .mega-menu__bar-wrapper{
        margin-left: 82px;
        margin-right: 82px;
    }
    
    .mega-menu__bar-wrapper .logo {
        width: 120px;
    }
}

@media screen and (max-width: 1040px) {
    .main-header__mid-area:before {
        width: 246px;
    }
    
    .main-header__top-area .grid-container,
    .mega-menu__bar-wrapper{
        margin-left: 1rem;
        margin-right: 1rem;
    }
}

@media screen and (min-width: 1040px) {
    .main-header--secure .main-header__top-area:after{
        background: unset;
    }
    .mega-menu__bar-wrapper{
        height: 6rem;
    }
    .mega-menu__title:after {
        background-color: hsla(40, 4%, 85%, .4);
        content: "";
        display: block;
        height: 1px;
        position: absolute;
        bottom: 14px;
        width: 100%;
        left: 0px;
    }

    .mega-menu__title:hover:after {
        background-color: #ff0028;
        height: 3px;
    }

    .featureProductCarousel {
        margin-left: 30%;
        max-width: 70%;
        margin-top: -10px;
        margin-right: -20px;
        top: 70px;
    }

    .product-related-section--featureTab {
        position: relative;
    }

    .product-related-section--featureTab::before {
        content: "";
        display: block;
        height: 100%;
        position: absolute;
        top: 0;
        right: 0;

        width: 75%;
        padding: 0;
        background: linear-gradient(90deg, transparent, rgba(0, 0, 0, .6) 15%, rgba(0, 0, 0, .6));
    }

    .product-related-section--featureTab::after {
        content: "";
        background: url('/inc/resources/southamp/img/scallop.png');
        width: 50px;
        height: 100px;
        display: block;
        position: absolute;
        top: 0;
        right: 13%;
    }

    .featureProductCarousel .slick-dots {
        text-align: left;
        bottom: -30px;
        left: 5px;
    }

    .featureProductCarousel .slick-dots li {
        margin: 0;
    }

    .featureProductCarousel .slick-dots li button::before,
    .featureProductCarousel .slick-dots li.slick-active button::before {
        color: #fff;
        font-size: 12px;
    }

    .featureProductCarousel .slick-slide>div {
        position: relative;
    }

    .featureProductCarousel .slick-slide:not(.slick-active)>div::before {
        position: absolute;
        content: "";
        top: 0;
        right: 0px;
        bottom: 0;
        left: 0px;
        background: rgba(0, 0, 0, .6);
        z-index: 2;
    }

    .product-related-section .featureProductCarousel .carousel__arrow--horizontal.carousel__arrow--next {
        right: 0;
    }
}