﻿
.fixedHeaderWrapper {

    z-index: 102;
    top: 0;
    margin: 0 auto;
    width: 100%;
    max-width: 1400px;
    display: grid;
    grid-template-columns: auto auto;
    grid-template-rows: auto auto;
    transition: top 2.2s ease-in-out;

    position: -webkit-sticky; /* Safari */
    position: sticky;
    top: 0;
}


/* SHOW & HIDE HEADER CLASS*/
.nav-up {
    position: relative;
 
}

.nav-down {
    position: fixed;
    top: 0px;
}



/*#region -- ADMIN HEADER BAR */
.admin-header-links {
    grid-column: 1 /span 2;
    grid-row: 1;

    background-color: #444;
    text-align: center;
    color: #eee;
    border-bottom: 1px solid #767676;
}

    .admin-header-links * {
        display: inline-block;
        margin: 0 10px;
        line-height: 35px;
        font-size: 12px;
        font-weight: bold;
    }

    .admin-header-links a {
        color: #eee;
    }

        .admin-header-links a:hover {
            color: #fff;
        }

    .admin-header-links .impersonate .manualPriceOverride {
        display: none;
    }

        .admin-header-links .impersonate .manualPriceOverride.visible {
            display: inline-block;
        }
        .admin-header-links .impersonate .manualPriceOverride.visible:hover {
            text-decoration:underline;
            cursor:pointer;
        }

            .admin-header-links .impersonate span,
            .admin-header-links .impersonate .manualPriceOverride.visible.active {
                background: #ffb32c;
                padding: 0 15px;
                color: #333;
            }


.fixedHeaderWrapper > .html-widget {}
.html-widget .FreeShippingHeaderBanner {display: flex; justify-content: space-between; background: #e59911; height: 35px;}
.html-widget .FreeShippingHeaderBanner .divFreeShippingHeaderImageWrapper {display: inline-block; margin: 0px 10px; font-size: 16px; font-weight: 500; line-height: 35px;}
.html-widget .FreeShippingHeaderBanner .divFreeShippingHeaderImageWrapper img {}
.html-widget .FreeShippingHeaderBanner .divFreeShippingHeaderTextWrapper {display: inline-block; margin: 0px 10px; font-size: 16px; font-weight: 500; line-height: 35px;}

.html-widget .SisterSitesHeaderBanner {display: flex; justify-content: space-between; background: #474747; height: 35px;}
.html-widget .SisterSitesHeaderBanner .divFreeShippingHeaderImageWrapper {display: inline-block; margin: 0px 10px; font-size: 16px; font-weight: 500; line-height: 35px;}
.html-widget .SisterSitesHeaderBanner .divFreeShippingHeaderImageWrapper img {border: none; margin-top: 5px;}
.html-widget .SisterSitesHeaderBanner .divFreeShippingHeaderTextWrapper {display: inline-block; margin: 0px 10px; font-size: 16px; font-weight: 500; line-height: 35px; color: #fff;}

/*#endregion*/


header {
    background: #005596;
    background: var(--main-color);

    grid-column: 1 /span 2;
    grid-row: 3;

    display: grid;
    grid-template-columns: auto 1fr auto;
    grid-template-rows: auto auto;

    width: 100%;

    text-align: left;
    position: relative;
}

/*#region -- LOGO WRAPPER */
.logoWrapper {
    grid-column: 1;
    grid-row: 2;

    max-width: 260px;
    min-width: 220px;
    padding: 0 2rem;

    display: flex;
    padding: 0 2rem;
    flex-direction: column;
    height: 100px;
    justify-content: space-around;
}

    .logoWrapper a {
        display: block;
    }

    .logoWrapper img {
        width: 100%;
        border: 0;
    }
/*#endregion*/

/*#region -- SEARCH BAR WRAPPER */
.searchBoxWrapper {
    grid-column: 2;
    grid-row: 2;

   

    display: flex;
    padding: 0 2rem;
    flex-direction: column;
    justify-content: space-around;
}

#search-input-wrapper {
    max-width: 450px;
    position: relative;
    line-height: 0px;
}

.search-autocomplete {
    margin-top: 0;
}

#search-box {
    position: absolute;
    display: flex;
    flex-direction: row;
    z-index: 102;
    border: 1px solid #cccccc;
    border-top: none;
    overflow: hidden;
    background-color: #fff;
    border-radius: 5px;
    -moz-box-shadow: 1px 4px 6px -2px rgba(0,0,0,0.3);
    -webkit-box-shadow: 1px 4px 6px -2px rgba(0,0,0,0.3);
    box-shadow: 1px 4px 6px -2px rgba(0,0,0,0.3);
    width: 900px;
    max-height: 450px;
    margin-top: -5px;
}


#search-box-details {
    display: flex;
    padding: 20px;
    flex-wrap: wrap;
    justify-content: space-around;
    width: 50%;
    background-color: #f7f7f7;
}

.divSearchSuggestionsTitle {
text-transform: uppercase;
font-weight: 800;
flex: 0 1 100%
}

.CloseSearchIcon {
    background: url('/Themes/Cokesbury/Content/images/search_dropdown_close_x.svg') center no-repeat;
    background-position-x: right;
    width: 20px;
    height: 20px;
    margin: auto;
    cursor: pointer;
    position: absolute;
    top: 10px;
    right: 10px;
}

#search-box-details a {
    display: inline-block;
    flex: 1 1 30%;
    text-align: center;
    height: 180px;
    overflow: Hidden;
    margin: 10px 0px;
    position: relative;
}

@keyframes imageIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

#search-box-details a img {
    width: 100%;
    height: auto;
    max-width: 100px;
    border: none;
    margin: auto;
    position: absolute; 
    top:0;
    bottom:0;
    left:0;
    right:0;
}

    #search-box-details a img[src=''] {
        visibility: hidden;
    }

#search-box ul {
    width: 50%;
    padding: 20px;
    text-align: left;
}

#search-box #search-box-list a {
    padding: 15px;
    font-size: 1.6rem;
    margin: 0;
    border: none;
    background: none;
    padding-left: 0;
    line-height: 2;
    color: #333333;
}

#search-box #search-box-list li {
max-width: 100%;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}

    #search-box #search-box-list a:hover,
    #search-box #search-box-list a.ui-state-focus {
        text-decoration: underline;
    }

/*#endregion*/

/*#region -- HEADER LINKS MEGA MENU */

 /*#region -- HEADER LINKS WRAPPER */

.headerLinks {

}
.headerLinks > ul {
}
    .headerLinks > ul > li {
        display: inline-block;
        vertical-align: top;
        z-index:999;
        padding: 0px;
        margin: 0px;
    }

.headerLinksWrapper {
    grid-column: 3;
    grid-row: 2;
    white-space: nowrap;
    display: flex;
    padding: 0 2rem;
    flex-direction: column;
    height: 100px;
    justify-content: space-around;
    text-align: right;
    margin-right: 30px;
}

.HeaderLinksContainer {
    display: inline-block;
    position: relative;
    list-style: none;
    margin: 0;
    padding: 0;
    text-align: left;
    display: inline-block;
    vertical-align: top;
}

    .HeaderLinksContainer > .HeaderNavMenu {
        list-style: none;
        margin: 0px;
        padding: 0px;
        text-align: left;
        display: inline-block;
        background: none;
        position: relative;
        width: auto;
        -webkit-box-shadow: none;
        -moz-box-shadow: none;
        box-shadow: none;
    }

        .HeaderLinksContainer > .HeaderNavMenu > li {
            display: inline-block;
            padding: 0px 0;
            margin: 0px;
            height: 1rem;
            vertical-align: bottom;
            border-bottom: none;
        }

            .HeaderLinksContainer > .HeaderNavMenu > li > a > span {
                font-size: 1.4rem;
                font-weight: 600;
                display: block;
                text-align: left;
                text-decoration: none;
                text-transform: uppercase;
                cursor: pointer;
                margin: 0px 15px;
            }

    .HeaderLinksContainer > .HeaderNavMenu {
    }



            .HeaderLinksContainer > .HeaderNavMenu > li.has-sublist > a.with-subcategories {
                display: inline-block;
            }

        .HeaderLinksContainer > .HeaderNavMenu > li.has-sublist > .plus-button {
            display: inline-block;
            color: #fff;
            font-family: 'Material Icons Outlined';
            font-weight: normal;
            font-style: normal;
            font-size: 24px;
            line-height: 1;
            letter-spacing: normal;
            text-transform: none;
            display: inline-block;
            white-space: nowrap;
            word-wrap: normal;
            direction: ltr;
            -webkit-font-smoothing: antialiased;
            content: "expand_more";
            vertical-align: middle;
        }
            .HeaderLinksContainer > .HeaderNavMenu > li.has-sublist > .plus-button::after {
                content: "expand_more";
            }

            .HeaderLinksContainer > .HeaderNavMenu > li.has-sublist > div.sublist-wrap {
                display: none;
            }

        .HeaderLinksContainer > .HeaderNavMenu > li.has-sublist > div.sublist-wrap {
            background: #FFFFFF;
            min-width: 100%;
            width: auto;
            padding: 0px;
            left: 0;
            position: absolute;
            opacity: 0;
            top: 1rem;
            visibility: hidden;
            z-index: 99999;
            border: 1px solid #ccc;
            border-radius: 5px;
            -webkit-box-shadow: 1px 4px 6px -2px rgba(0,0,0,0.3);
            -moz-box-shadow: 1px 4px 6px -2px rgba(0,0,0,0.3);
            box-shadow: 1px 4px 6px -2px rgba(0,0,0,0.3);
            transition: all 0.3s ease;
            padding: 1rem 0;
        }

            .HeaderLinksContainer > .HeaderNavMenu > li.has-sublist > div.sublist-wrap.active {
                opacity: 1;
                top: 5rem;
                visibility: visible;
                display: block;
            }

            .HeaderLinksContainer > .HeaderNavMenu > li.has-sublist > div.sublist-wrap ul.sublist {
                padding: 0px;
                margin: 0px;
            }

        .HeaderLinksContainer > .HeaderNavMenu > li.has-sublist > div.sublist-wrap ul.sublist li {
            
        }
            .HeaderLinksContainer > .HeaderNavMenu > li.has-sublist > div.sublist-wrap.active li:hover {
                background-color: #efefef;
            }

            .HeaderLinksContainer > .HeaderNavMenu > li.has-sublist > div.sublist-wrap.active a {
                display: block;
                padding: 1rem 4rem 1rem 2rem;
            }
            .HeaderLinksContainer > .HeaderNavMenu > li.has-sublist > div.sublist-wrap.active a,
            .HeaderLinksContainer > .HeaderNavMenu > li.has-sublist > div.sublist-wrap.active a span {
                
                color: #333333;
                margin: 0px;
                font-size: 14px;
                line-height: 22.5px;
                font-weight: 600;
                text-align: left;
                text-decoration: none;
                text-transform: uppercase;
                
            }

                    .HeaderLinksContainer > .HeaderNavMenu > li.has-sublist > div.sublist-wrap.active a:hover {
                        color: #333333;
                        text-decoration: underline;
                    }

/*


.headerLinks > ul {
    list-style: none;
    margin: 0px;
    padding: 0px;
    text-align: left;
    display: inline-block;
}

    .headerLinks > ul > li {
        display: inline-block;
        margin: 1rem 1rem 0;
        padding: 0;
        position: relative;
        height: 30px;
        vertical-align: top;
    }

.headerLinks a {
    font-size: 1.4rem;
    font-weight: 600;
    display: block;
    text-align: left;
    text-decoration: none;
    text-transform: uppercase;
    cursor: pointer;
}

    .headerLinks a.dropdown {
        pointer-events: none;
        cursor: default;
    }

.headerLinks > ul > li > a.dropDown svg {
    vertical-align: bottom;
}

.headerLinks > ul > li > a.dropDown .icon {
    fill: #FFFFFF;
}

.headerLinks > ul > li > a.dropDown:hover .icon {
    fill: #CDCDCD;
}

.headerLinks > ul > li:active > a {
    color: #CDCDCD;
}

.headerLinks > ul > li > ul {
    background: #FFFFFF;
    min-width: 100%;
    padding: 0px;
    left: 0;
    position: absolute;
    opacity:0;
    top: 1rem;
    visibility:hidden;
    z-index: 99999;
    border: 1px solid #ccc;
    border-radius: 5px;
    -webkit-box-shadow: 1px 4px 6px -2px rgba(0,0,0,0.3);
    -moz-box-shadow: 1px 4px 6px -2px rgba(0,0,0,0.3);
    box-shadow: 1px 4px 6px -2px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
    padding: 1rem 0;
}


.headerLinks > ul > li.active ul {
    opacity:1;
    top: 3rem;
    visibility: visible;
}
.headerLinks > ul > li.fade ul {
    top: 3rem;
}

.headerLinks li ul li {
    width: 100%;
    display: block;
    padding: 1rem 4rem 1rem 2rem;
}

    .headerLinks li ul li:hover {
        background: #eeeeee;
    }

.headerLinks li ul a,
.headerLinks li ul span.wishlist-qty {
    color: #333333;
    margin: 0px;
    text-align: left;
    text-decoration: none;
    text-transform: uppercase;
}

    .headerLinks li ul a:hover {
        color: #333333;
        text-decoration: underline;
    }


.headerLinks > ul > li > ul.mega-menu {
    background: #FFFFFF;
    min-width: 200px;
    padding: 0px;
    left: 0;
    position: absolute;
    opacity: 0;
    top: 1rem;
    visibility: hidden;
    z-index: 99999;
    border: 1px solid #ccc;
    border-radius: 5px;
    -webkit-box-shadow: 1px 4px 6px -2px rgba(0,0,0,0.3);
    -moz-box-shadow: 1px 4px 6px -2px rgba(0,0,0,0.3);
    box-shadow: 1px 4px 6px -2px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
    padding: 1rem 0;
    display: block;
}

.headerLinks > ul > li.active ul.mega-menu {
    opacity: 1;
    top: 3rem;
    visibility: visible;
}

.headerLinks > ul > li.fade ul.mega-menu {
    top: 3rem;
}

.headerLinks li ul.mega-menu li {
    width: 100%;
    display: block;
    padding: 1rem 4rem 1rem 2rem;
}

    .headerLinks li ul.mega-menu li span {
        color: inherit;
        font-size: inherit;
        font-weight: inherit;
        display: inherit;
        padding: inherit;
        white-space: inherit;
    }*/
/*#endregion*/
nav {
    grid-column: 1 /span 2;
    grid-row: 4;
}




















/*#region -- RESPONSIVE 1700px */
@media (max-width: 1700px) {}
/*#endregion*/
/*#region -- RESPONSIVE 1400px */
@media (max-width: 1400px) {}
/*#endregion*/
/*#region -- RESPONSIVE 1200px */
@media (max-width: 1199px) {}
/*#endregion*/

/*#region -- RESPONSIVE 991px */
@media (max-width: 991px) {
    .logoWrapper {height: 70px;}
    .logoWrapper img {width: 175px;}
    .searchBoxWrapper {padding: 5px 0px 0px 0px;}
    .headerLinksWrapper {height: 70px; padding-right: 0px;}
    .headerLinks > ul > li {margin: 1rem 0 0;}
     #topcartlink {padding-top: 1rem;}
}
/*#endregion*/

/*#region -- RESPONSIVE 767px */
@media screen and (max-width: 767px) {
.fixedHeaderWrapper {
    grid-template-columns: auto 1fr;
    grid-template-rows: auto;
}

header {
    grid-column: 2;
    grid-row: 1;
}

nav {
    grid-column: 1;
    grid-row: 1;
    background: #005596;
    background: var(--main-color);
}

.fixedHeaderWrapper > .html-widget {}
.html-widget .FreeShippingHeaderBanner {display: block; justify-content: normal; height: auto;}
.html-widget .FreeShippingHeaderBanner .divFreeShippingHeaderImageWrapper {display: block; margin: 0px 10px; font-size: 14px; font-weight: 500; line-height: 24px;}
.html-widget .FreeShippingHeaderBanner .divFreeShippingHeaderImageWrapper img {}
.html-widget .FreeShippingHeaderBanner .divFreeShippingHeaderTextWrapper {display: block; margin: 0px 10px; font-size: 14px; font-weight: 500; line-height: 24px;}

.html-widget .SisterSitesHeaderBanner {display: block; justify-content: normal; height: auto;}
.html-widget .SisterSitesHeaderBanner .divFreeShippingHeaderImageWrapper {display: block; margin: 0px 10px; font-size: 14px; font-weight: 500; line-height: 24px;}
.html-widget .SisterSitesHeaderBanner .divFreeShippingHeaderImageWrapper img {}
.html-widget .SisterSitesHeaderBanner .divFreeShippingHeaderTextWrapper {display: block; margin: 0px 10px; font-size: 14px; font-weight: 500; line-height: 24px;}


}
/*#endregion*/



