/* ==========================================================
   HERRINGTON'S EVOX FLYOUT / MEGA MENU
   Desktop: 769px+
   ========================================================== */

@media only screen and (min-width: 769px) {

    /* ------------------------------------------------------
       MAIN DROPDOWN CONTAINER
       ------------------------------------------------------ */

    header .cd-dropdown-content {
        z-index: 9998 !important;
    }


    /* ------------------------------------------------------
       SECONDARY FLYOUT
       ------------------------------------------------------ */

    header .cd-dropdown-content .cd-secondary-dropdown {

        /* Position */
        top: 0 !important;
        bottom: auto !important;

        /* Larger panel so more categories are visible */
        width: 620px !important;
        max-width: calc(100vw - 320px) !important;

        /* Allow menu to grow naturally */
        height: auto !important;
        min-height: 100% !important;

        /* Prevent categories from disappearing below screen */
        max-height: calc(100vh - 120px) !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;

        /* Layout */
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        align-content: start !important;
        gap: 0 !important;

        /* Appearance */
        background: #ffffff !important;

        padding: 10px !important;

        border: 1px solid #e4e4e4 !important;
        border-left: 4px solid #a8072a !important;

        border-radius: 0 8px 8px 0 !important;

        box-sizing: border-box !important;

        /* Nice depth without looking heavy */
        box-shadow:
            0 12px 30px rgba(0, 0, 0, 0.14),
            0 3px 8px rgba(0, 0, 0, 0.06) !important;

        z-index: 9999 !important;
    }


    /* ------------------------------------------------------
       INDIVIDUAL CATEGORY
       ------------------------------------------------------ */

    header .cd-dropdown-content .cd-secondary-dropdown > li {

        display: block !important;

        width: auto !important;

        height: auto !important;
        min-height: 0 !important;

        margin: 0 !important;
        padding: 2px 4px !important;

        box-sizing: border-box !important;
    }


    /* ------------------------------------------------------
       CATEGORY LINKS
       ------------------------------------------------------ */

    header .cd-dropdown-content .cd-secondary-dropdown > li > a {

        position: relative !important;

        display: flex !important;
        align-items: center !important;

        width: 100% !important;
        min-height: 42px !important;

        box-sizing: border-box !important;

        margin: 0 !important;

        padding: 9px 34px 9px 14px !important;

        background: transparent !important;

        border: 0 !important;
        border-bottom: 1px solid #eeeeee !important;
        border-radius: 5px !important;

        color: #333333 !important;

        font-size: 14px !important;
        font-weight: 500 !important;

        line-height: 1.25 !important;

        text-decoration: none !important;

        transition:
            background-color 0.15s ease,
            color 0.15s ease,
            padding-left 0.15s ease !important;
    }


    /* ------------------------------------------------------
       HOVER
       ------------------------------------------------------ */

    header .cd-dropdown-content .cd-secondary-dropdown > li > a:hover,
    header .cd-dropdown-content .cd-secondary-dropdown > li:hover > a {

        background: #f8f5f3 !important;

        color: #a8072a !important;

        padding-left: 18px !important;
    }


    /* Red accent on hover */

    header .cd-dropdown-content .cd-secondary-dropdown > li > a::before {

        content: "" !important;

        position: absolute !important;

        left: 0 !important;
        top: 9px !important;
        bottom: 9px !important;

        width: 3px !important;

        background: #a8072a !important;

        border-radius: 3px !important;

        opacity: 0 !important;

        transition: opacity 0.15s ease !important;
    }


    header .cd-dropdown-content .cd-secondary-dropdown > li > a:hover::before,
    header .cd-dropdown-content .cd-secondary-dropdown > li:hover > a::before {

        opacity: 1 !important;
    }


    /* ------------------------------------------------------
       REMOVE EVOX BACK / SEE ALL ROWS
       ------------------------------------------------------ */

    header .cd-dropdown-content .cd-secondary-dropdown > li.go-back,
    header .cd-dropdown-content .cd-secondary-dropdown > li.see-all {

        display: none !important;
    }


    /* ------------------------------------------------------
       SCROLLBAR
       Useful when a department contains many categories
       ------------------------------------------------------ */

    header .cd-dropdown-content .cd-secondary-dropdown::-webkit-scrollbar {

        width: 7px !important;
    }


    header .cd-dropdown-content .cd-secondary-dropdown::-webkit-scrollbar-track {

        background: #f5f5f5 !important;
    }


    header .cd-dropdown-content .cd-secondary-dropdown::-webkit-scrollbar-thumb {

        background: #cccccc !important;

        border-radius: 10px !important;
    }


    header .cd-dropdown-content .cd-secondary-dropdown::-webkit-scrollbar-thumb:hover {

        background: #a8072a !important;
    }


    /* ------------------------------------------------------
       KEEP MENU ABOVE HOMEPAGE HERO / CONTENT
       ------------------------------------------------------ */

    header,
    header .cd-dropdown,
    header .cd-dropdown-content,
    header .cd-dropdown-content .cd-secondary-dropdown {

        z-index: 9999 !important;
    }

}


/* ==========================================================
   TABLET ADJUSTMENT
   ========================================================== */

@media only screen and (min-width: 769px) and (max-width: 1100px) {

    header .cd-dropdown-content .cd-secondary-dropdown {

        width: 500px !important;

        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }


    header .cd-dropdown-content .cd-secondary-dropdown > li > a {

        font-size: 13px !important;

        padding: 8px 28px 8px 12px !important;
    }

}

/* ==========================================================
   END OF HERRINGTON'S EVOX FLYOUT / MEGA MENU
   Desktop: 769px+
   ========================================================== */

:root {
  --evo-brand-primary: #a8072a;
  --evo-brand-secondary: #53453d;
  --evo-brand-accent: #666666;
  --evo-header-background: #fff;
}

.header-mobile .logo img {content:url('https://us.evocdn.io/dealer/1514/content/media/My_Theme/Herrington_s_1r_w_B_passion_new_white_img.png')};

.hero-new .hero-box:before { background: linear-gradient(180deg,rgba(255,255,255,.1),transparent); }
div.singlebanner_container > div.singlebanner_wrapper > div.overlay-white > div.banner_content { background-color: rgba(255,255,255,.5); }
.hero-new .hero-box .inner { margin-right: 100px; }
.hero-new .hero-box .background { transform: none; }
/* Theme 2 Account changes */
#cdash_address h4 {
    align-items: center;
    color: #000 !important;
    display: flex;
    gap: 10px;
}
#cdash_address .with-padding-trl {
    background-color: #fff;
    padding: 15px;
}
div.customertools .nav {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    margin: 20px 0px;
    overflow: hidden scroll;
    color: black;
}
div.customertools .switch-account-new {
    border-bottom: 1px solid rgb(211, 211, 211);
    padding: 15px 0px;
    display: block !important;
    visibility: visible !important;
    color: black;
}
div.customertools .your-account {
    background: none;
    color: black;
    display: flex;
    margin: 0px;
    padding: 0px;
    position: relative;
    text-shadow: none;
}
div.customertools .customertools-container {
    background: #f2f2f2;
    color: var(--evo-text-col);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 20px 24px 40px;
}

footer.footer a:hover { color:#f6f8fb; }
footer.footer .newsletters_container .subscr-widget.hide-nldesc .desc-wrapper { display:none; }
.productspecs_container .tech-specs .item:nth-child(odd) { background-color: #f6f8fb !important; }

.productsummary_container .productdetails .prod-code span {
background-color: #f6f8fb !important;
 color: var(--evo-text-col);
 font-weight: 400;
}

.bg-black { background-color: black; }
.extend-width .row .col.singlebanner_container { width:25% !important; }
.extend-width .row .col.singlebanner_container h2 { font-size:1.5rem; color:black !important; }
.extend-width .row .col.singlebanner_container h3 { font-size:1.25rem; color:black !important; }



.img-fit-center .evogallery-widget-box img {
 object-fit:none;
  object-position: 50% 70% !important;
}
.text-white a.cd-dropdown-trigger, .text-cta.text-white a {color: white !important;}
.text-white a.cd-dropdown-trigger:after, .text-white a.cd-dropdown-trigger:before {background: white !important;}

.current-branch-banner .container a {
  font-weight: bold;
  color: black;
}
 
.current-branch-banner {
    background: #8a0000;
    font-size: 18px;
    padding: 10px 0;
  }
 
.current-branch-banner .container {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0px;
  height: 12px;
}

.ex-searchresult .quoteme-wrapper,
.ex-category .quoteme-wrapper {
display: block !important;
}

@media screen and (min-width: 768px) {
  .stretch-height .row { display:flex; align-items:stretch;}
}

.merchandisingcontent_container .product div.product-sku .product-sku-label, .merchandisingcontent_container .tile div.product-sku .product-sku-label, .merchandisingcontent_container .item-merchandising .owl-nav>div { background-color: white; }

/* Prevent stretching or distortion of brand logos in carousels */
.carousel-177817 .brand-label img {
  max-width: 100%;
  height: auto;              
  display: block;
  object-fit: contain;       
}

/*constrain overly large logos */
.carousel-177817 .brand-label {
  max-height: 40px;           
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px 0;
}
/* Constrain product images in merchandising carousel */
.carousel-177817 .imgthumbnail img {
  max-width: 100%;
  height: auto;             
  object-fit: contain;
  display: block;
  image-rendering: auto; 
}

/* Prevent the tile box from stretching too tall if image is small */
.carousel-177817 .imgthumbnail {
  max-height: 200px;         
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* ECOMMDR-569 - fix width issue for video */
.video-custom-size {
  width: 100% !important;
  height: auto !important;
}
@media (max-width: 1366px) {
  .merch-custom-size.catalog-grid #list.productgridfull .product-row {
    flex-direction: column;
    align-items: center;
  }
  
  .merch-custom-size.catalog-grid #list.productgridfull .product-row > div {
    width: 100%;
  }
}

/* ECOMMDR-570 - fix badge alignment issue */
@media (max-width: 768px) {
  .merch-custom-size.catalog-grid #list.productgridfull .product-row {
    margin: 0;
    
    .product-shopping-actions-addtocart {
    	padding-right: 15px;
    }
  }