/* Fix the thumbnail arrows */
#page-product .product-images-module .product-images ul.secondary-images.owl-carousel .owl-next, 
#page-product .product-images-module .product-images ul.secondary-images.owl-carousel .owl-prev {
    height: 60px;
    padding: 0;
}

#layout_product .product-details-module iframe {
    width: 100%;
}
/* Call To Action Buttons */

.call-to-action-button {
    background-color: #a32638 !important;
}


/* Header Buttons White */
#primary-header .help-nav ul a {
    color: #fff;
}

ul.links-list li a:hover {
    color: #a32638 !important;
}


#search-tabs .tab-content {
    background-color: #8b1e2d;
}

#search-tabs .nav-tabs li .active {
    background: #8b1e2d !important;
}

#search-tabs .nav-tabs li:first-child a {
    background: #7a1a26;
}

#search-tabs .nav-tabs li a {
    background: #7a1a26;
}

#search-tabs .nav-tabs li + li + li a {
    background: #5e1d25;
}

#secondary-header .main-nav-links .main-nav-inner-list {
    background-color: #8b1e2d;
}

#secondary-header .main-nav-links .main-nav-outer-list:hover {
    background-color: #4B4F59 !important;
}

#secondary-header .main-nav-links .main-nav-inner-list:hover {
    background-color: #a32638 !important;
}

#page-home h2 {
    color: white;
}

.yotpo-reviews-tab-floating-tab {
    background: #66161F;
}

.title-row-custom .border-line {
    background-color: #8b1e2d;
}

/* Global */
.d-none {
    display: none !important;
}

/* Mobile Header - Custom */
.sub-nav-toggle {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 16px;
    font-weight: 500;
    color: #a32638;
    text-transform: uppercase;
    padding: .5rem 0;
    border-bottom: 1px solid #dfdfdf;
}

.page-bread-crumbs{
    display: none;
}

.page-subheader-component{
    display: none;
}

.product-border-top, .product-border-bottom, .ShipProInfo {
    border: 1px solid #cfcfcf;
    padding: 1.5em;
    position: relative;
}

.product-border-top, .ShipProInfo {
    border-bottom: 1;
    padding-bottom: 1;
    top: -20px;
}

.product-border-bottom {
    border-top: 0;
    padding-bottom: 2em;
    top: -40px;
}

@media (max-width: 768px) { 
    .product-border-top {
        top: 0
    }
    
    .product-border-bottom {
        top: -20px;
    }
}

.product-purchase-module .purchase-box.free-shipping:before {
    top: calc(-1px - 1.5em);
    right: calc(-1px - 1.5em);
}

.sub-nav-toggle.open {
    color: #222222;
}

.product-brand-description-module .product-description h3 {
	display: none;   
}

.sub-nav-toggle .fa {
    transition: all .3s ease;
    font-size: 20px;
    margin-left: .5rem;
}

.sub-nav-toggle.open .fa {
    transform: rotateX(180deg);
}

.description_body {
    max-width: 90vw;
}

.page-builder-page-layout .page-builder-layout-section.normal-content>.container-wrap {
	max-width: 1250px;
	width: 95%
}

@media (max-width: 767px) {
	.description_body>iframe {
        max-width: 95vw;
        height: calc(0.5625*width);
    }
}
   


.sub-nav {
    display: none;
    padding-bottom: 1rem !important;
}

.sub-nav.open {
    display: block;
}

.sub-nav li {
    border: none !important;
}

.sub-nav li a {
    color: #383838 !important;
    font-size: 14px !important;
    text-transform: capitalize !important;
}

.featured-products-module .featured-product .image-display .image-wrapper {
    display: block;
    margin: auto;
    max-height: 220px;
    max-width: 70%;
}

/* hide default module title */
.popular-categories-module h2 {
  display: none !important;
}

.popular-categories-module .panel-popular-categories li a {
    border-bottom: 1px solid #e1e1e1;
    color: white;
    display: block;
    font-size: 16px;
    padding: 15px 5px;
}


/* Category Link and Text */
.category-children-module .category-tile {
    margin-bottom: 1.0rem;
    padding-top: 2.0rem!important;
    text-align: center;
}

.category-children-module .category-tile a {
    font: Helvetica Neue;
    font-size: 14px;
    font-weight: 500;
}

.category-children-module .category-tile-image img {
    padding-bottom: 1.0rem;
}

.product-badges {
 	display: grid;
  	grid-template-columns: 1fr 1fr 1fr 1fr;   
}

@media (max-width: 767px) {
    #page-product .product-page-layout .product-badges {
        grid-template-columns: 1fr 1fr;
    }
}

/* Footer Email */
.page-builder-layout-module.support_email {
    margin-top: 5px!important;
}

.featured-products-module .featured-products .featured-product .image-display .image-wrapper img {
    max-height: 200px;
}

.shipping-quote {
    display: none;
}

.display-quote {
    display: none;
}

.display-quote-form {
    display: none;
}

.quote-no-amount {
    display: none;
}

/* Cart - Promo Verbiage */
.promo-message { 
    padding: 0px 10px 15px!important;
    color: #FFF; 
}

.promo-message::after {
    content: 'Shipping Quotes Provided on Final Cart Page...';
    font-size: 13px;
    font-weight: bold;
    color: #FF0000;
}

.brand-banner-wrap {
	display: none !important;
}

.brand-banner a {
    position: relative;
    background: transparent;
    color: black !important;
    vertical-align: middle;
    text-align: center;
    align-items: center;
    justify-content: center;
    font-size: 1.4em;
    font-weight: 500;
    top: 2px;
}

@media (max-width: 767px) {
     .brand-banner {
        margin-top: var(--promo-h, 0px);
      }
    
    .brand-banner-wrap {
        height: auto;
        min-height: 40px;
      }
}

/* Subcategory Title */
.category-children-module h2 {
    display: none;
}

/* hide install time*/
.product-page-layout ul.field-list li.labor-time .list-value {
    display:none;
}

.labor-time {
    display: none!important;
}

/* Featured Product Images */
.featured-products-module .featured-products .featured-product .image-display .image-wrapper {
    height: auto;
}

#featured-custom .featured-product {
    margin: 0 6px 35px 0!important;
    border: none;
}

img.product-image.lazy-load.placeholder.animated.loaded {
    display: none;
}

/* Garage Icon Hidded in Menu */
span.garage-icon {
    display: none!important;
}
    


/* Added Desktop Links to Mobile */
.mobile_menu_link li {
    text-align: center;
    color: #fff;
}

.mobile_menu_link li a {
    color: #fff;
}

li.menu_link {
    background: #7a1a26;
    padding: 12px;
    margin: 0px 10px 20px;
    list-style: none;
}

.horizontal_row {
    margin-top: 0px!important;
    margin-bottom: 1.5em!important;
    border-top: 1px solid #8d8d8d!important;
    width: 300px;
}

.mobile-header-menu-head {
    display: none!important;
}

.mobile-header-modal .sub-nav-toggle {
    display: none;
}

#text_page_content ul li {
    list-style: inside;
}

.roush_logo {
    width: 25%;
}

.data-terms-container {
    display: none;
}

.fp_logo {
    width: 25%;
}

.rtr_logo {
    width: 25%;
}

.logos {
    margin-left: 12em!important;
    margin-bottom: 0px!important;
    margin-top: -5px!important;
}

.cta-content img.left_right {
    display: none;
}

.cta-content a:hover img.left_right {
    display: block;
    position: absolute;
    top: 100%;
    left: 0%;
    z-index: 1000;
    width: 25%;
    height: auto;
    border: 1px solid #000;
}

/* Cart Pen Image */
.paint_pens .cta-content img {
    display: inline!important;
    width: 70%;
}

/*
.header_logos {
	display: none;
}

.text_logos {
	display: none;
}
*/

#no_display {
    display: none;
}

.header_logos li {
    list-style: none;
    display: inline;
}

.ford_logos {
    height: 50px!important;
}

.lincoln_logos {
    height: 50px!important;
}

.roush_logos {
    width: 123px!important;
}

.ford_perf_logos {
    height: 35px!important;
}

.rtr_logos {
    height: 30px!important;
}

.header_logos li img {
    padding-right: 10px;
}

.header_logos {
    float: right;
}

.text_logos h2 {
    font-size: 20px!important;
}

.primary-header { 
    width: 100%;
}

.poweredbyrcf {
    top: 50px;
}

.top-header {
    top: 50%;
}

.cart-subtotal-row {
    margin-top: -20px!important;
}

.swag_mobile {
    margin-top: -70px!important;
}

/* Product Description */
.product-details-inner {
    font-family:-apple-system,blinkmacsystemfont,sans-serif; 
    font-size: 17px; 
    line-height:1.4;
}

.product-details-inner p {
    line-height:1.8;
}

/* Hides gross old Ford Logos beside product prices*/
.manufacturer-logo {   
    display: none!important; 
}

/* "Genuine:" in Product Details, hides gross old Ford logos */
.manufacturer{
    display: none!important;
}

.featured-product .details-display .details-partnum {
    color: #fff!important;
}

.custom_contact_us {
    font-size: 14px;
}

.simple-list {
    display: none !important;
}

/* Mobile Phone and Email */
.contact-us-module {
    font-size: 16px;
}

/* Footer */
.custom-footer {
    text-align: center;
}

ul.links-list {
    color: white !important;
}

/* Support Links Spacing */
.support-links {
    margin: 2px;
    display: inline-block;
}

.policyborderen {
    border: 1px solid black;
    padding-left: 10px;
    padding-top: 10px;
    background-color.: blue;
}

.policyborderfr {
    border: 1px solid black;
    padding-left: 10px;
    padding-top: 10px;
    background-color.: blue;
}

/*Hover for performance pictures*/
.container {
    position: relative;
    width: 100%;
    margin: 0;
    padding: 0;
}

.image {
    opacity: 1;
    transition: .5s ease;
    width: 100%;
}

.hovbutton {
    transition: .5s ease;
    opacity: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    text-align: center;
}

.container:hover .image {
    filter: brightness(50%);
}

.container:hover .hovbutton {
    opacity: 1;
}

/*Roush Shop Now Button*/
.hovbuttontext {
    background-color: #e51937;
    color: white;
    font-size: 16px;
    padding: 10px 15px;
    font-family:-apple-system,blinkmacsystemfont,sans-serif;
    font-size: 15px;
    line-height:1.4;
    border-radius: 12px;
    border: 2px solid #C71E37
}

.hovbuttontext:active {
    background-color: #961629;
    color: white;
    font-size: 16px;
    padding: 10px 15px;
    font-family:-apple-system,blinkmacsystemfont,sans-serif;
    font-size: 15px;
    line-height:1.4;
    border-radius: 12px;
    border: 2px solid #C71E37
}

/*FPP Shop Now Button*/
.hovbuttontextfpp {
    background-color: #f5202c;
    color: white;
    font-size: 16px;
    padding: 10px 15px;
    font-family:-apple-system,blinkmacsystemfont,sans-serif;
    font-size: 15px;
    line-height:1.4;
    border-radius: 12px;
    border: 2px solid #f5202c;
}

.hovbuttontextfpp:active {
    background-color: #f5202c;
    color: white;
    font-size: 16px;
    padding: 10px 15px;
    font-family:-apple-system,blinkmacsystemfont,sans-serif;
    font-size: 15px;
    line-height:1.4;
    border-radius: 12px;
    border: 2px solid #f5202c;
}

/*RTR Shop Now Button*/
.hovbuttontextrtr {
    background-color: #ccdb29;
    color: white;
    font-size: 16px;
    padding: 10px 15px;
    font-family:-apple-system,blinkmacsystemfont,sans-serif;
    font-size: 15px;
    line-height:1.4;
    border-radius: 12px;
    border: 2px solid #b7c425;
}

.hovbuttontextrtr:active {
    background-color: #929d1d;
    color: white;
    font-size: 16px;
    padding: 10px 15px;
    font-family:-apple-system,blinkmacsystemfont,sans-serif;
    font-size: 15px;
    line-height:1.4;
    border-radius: 12px;
    border: 2px solid #b7c425;
}

.featured-products-module {
    color: white !important;
}

h1.product-title {
    text-transform: capitalize !important;
}

strong.product-title {
    color: white !important;
}

.customvehiclepicker {
    font-size: 15px;
    padding-top: 10px;
}

.customvehiclepickermobile {
    font-size: 15px;
    padding: 5px;
}

.stayleft {
    text-align: left;
}

/* Site Wide Banner */
.promotional-banner-wrap {
    background-color: black !important;   
    height: auto;
}

.promotional-banner-text {  
	color: black !important;
	background-color: black !important;
	font-size: 20px !important;
	animation-name: pulse;
	animation-duration: 2.5s;
	animation-fill-mode: both;
	animation-iteration-count: infinite;
	animation: move 2s ease-in-out alternate infinite;
}

.promotional-banner-link {
	color: black !important;
}

@keyframes pulse {
	0% { color: black; }
	100% { color: red; }
}

@keyframes move {
	to { transform: translateX(calc(100cqw - 100%)) }
}

.product-purchase-module .product-options ul li .option-label {
    color: #eb0000;
    font-weight: 600;
}

/* Clearance Shine 
.clearance {
  position: relative;
  font-family: -apple-system,blinkmacsystemfont,sans-serif;
  font-size: 2em;
  letter-spacing: 4px;
  background: linear-gradient(90deg, #E83F14, #FFFFFF, #E83F14);
  background-size: 80%;
  animation: animate 5s linear infinite;
  -webkit-background-clip: text;
  -webkit-text-fill-color: rgba(255, 255, 255, 0);
    text-align: left;
    padding: 20px;
}
*/

.contact-form-submit {
    position: relative;
    z-index: 1;
}


iframe#podium-bubble {
    right: auto !important;
    left: 20px !important;
}




.product-images-module .product-images .main-image-text p {
    padding: 0;
}

/* Align Order Summary to bottom of cart items */
.cart-subtotal-row {
  display: flex !important;
  align-items: flex-end !important;
}

/* Hide Rush upsell module ONLY if Rush is actually in cart */
body:has(.cart-item-title[href*="p-rush-processing-rushprocessing"]) #rushprocessing {
  display: none !important;
}


@media (min-width: 1024px) {
  #layout_cart #rushprocessing {
    max-width: calc(100% - 430px) !important; 
  }
}

/* MOBILE ONLY: move Rush row above subtotal */
@media (max-width: 767px) {

  /* make the section stackable */
  #layout_cart .page-builder-layout-section > .container-wrap {
    display: flex !important;
    flex-direction: column !important;
  }

  /* first main cart/subtotal row */
  #layout_cart .cart-subtotal-row {
    display: flex !important;
    flex-wrap: wrap !important;
    order: 1 !important;
  }

  /* cart items/content */
  #layout_cart .cart-subtotal-row > .col-md-8 {
    width: 100% !important;
    order: 1 !important;
  }

  /* subtotal summary */
  #layout_cart .cart-subtotal-row > .col-md-4 {
    width: 100% !important;
    order: 3 !important;
  }

  /* Rush row */
  #layout_cart .cart-subtotal-row + .row.page-builder-layout-row {
    order: 2 !important;
    width: 100% !important;
  }

  /* Rush module spacing */
  #layout_cart #rushprocessing {
    margin: 18px 0 !important;
  }
}

/*Hide VIN Fitment in Cart */
.add-vin-fitment-module .btn-form-vin-modal {
    display: none !important;
}

/*Hide Checkout Button in Header */
.cart-component .cart-flyout .flyout-action-button {
    display: none !important;
}



#allbrandshome .brand-section{
    text-align:center;
    padding:45px 20px;
}

#allbrandshome .brand-section h2{
    font-size:38px;
    margin:0 0 8px;
    color:#fff;
}

#allbrandshome .brand-section p{
    font-size:17px;
    margin:0 0 30px;
    color:#ddd;
}

#allbrandshome .brand-grid{
    display:flex;
    justify-content:center;
    align-items:center;
    flex-wrap:wrap;
    gap:18px;
    margin:0 auto 30px;
    max-width:1200px;
}

#allbrandshome .brand-item{
    width:180px;
    height:105px;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:12px;
    box-sizing:border-box;
    background:#fff;
    border-radius:7px;
    transition:.2s ease;
}

#allbrandshome .brand-item img{
    width:100%;
    height:100%;
    max-width:150px;
    max-height:72px;
    object-fit:contain;
}

#allbrandshome .brand-item:hover{
    transform:translateY(-3px);
}

#allbrandshome .brands-btn{
    display:inline-block;
    background:#c4163a;
    color:#fff;
    padding:14px 34px;
    border-radius:5px;
    text-decoration:none;
    font-size:15px;
    font-weight:700;
}

#allbrandshome .brands-btn:hover{
    background:#a81230;
    color:#fff;
}

@media(max-width:575px){
    #allbrandshome .brand-item{
        width:145px;
        height:90px;
    }

    #allbrandshome .brand-section h2{
        font-size:30px;
    }

    #allbrandshome .brand-section p{
        font-size:15px;
    } 
}


/* =========================
   SHOP ALL BRANDS PAGE
========================= */

.all-brands-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px 60px;
    background: #fff;
    color: #222;
}

/* Header */

.brands-hero {
    text-align: center;
    margin-bottom: 30px;
}

.brands-hero h1 {
    font-size: 52px;
    font-weight: 700;
    line-height: 1.1;
    margin: 0 0 12px;
    color: #222;
}

.brands-hero p {
    font-size: 18px;
    color: #666;
    margin: 0;
}

/* Alphabet Navigation */

.brand-letter-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
    margin: 35px auto 45px;
}

.brand-letter-nav a {
    color: #c4163a;
    text-decoration: none;
    font-size: 18px;
    font-weight: 700;
    min-width: 24px;
    text-align: center;
    transition: all .2s ease;
}

.brand-letter-nav a:hover {
    color: #222;
    transform: translateY(-2px);
}

/* Letter Sections */

.brand-group {
    margin-bottom: 35px;
    scroll-margin-top: 120px;
}

.brand-group h2 {
    font-size: 32px;
    font-weight: 700;
    color: #222;
    margin: 0 0 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid #c4163a;
}

/* Brand Grid */

.brand-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

/* Brand Buttons */

.brand-list a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 16px;

    background: #f5f5f5;
    border: 1px solid #e6e6e6;
    border-radius: 6px;

    color: #222;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;

    transition: all .2s ease;
}

.brand-list a:hover {
    background: #c4163a;
    border-color: #c4163a;
    color: #fff;
    transform: translateY(-2px);
}

/* Responsive */

@media (max-width: 991px) {

    .brands-hero h1 {
        font-size: 44px;
    }

    .brand-list {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 767px) {

    .brands-hero h1 {
        font-size: 38px;
    }

    .brands-hero p {
        font-size: 16px;
    }

    .brand-letter-nav {
        gap: 10px;
    }

    .brand-letter-nav a {
        font-size: 16px;
    }

    .brand-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {

    .brands-hero h1 {
        font-size: 32px;
    }

    .brand-group h2 {
        font-size: 26px;
    }

    .brand-list {
        grid-template-columns: 1fr;
    }
}

/* MAR-3688 - Add sitelink banner to Truck Lot Aftermarket */
.promotional-banner-wrap {
	overflow: hidden;
    padding: 0;
}
.promotional-banner-wrap .promotional-banner-text {
    color: #fff !important;
    padding-right: 0;
}
.promotional-banner-wrap.text-wrapping:after {
	display: none;
}
.promotional-banner-wrap.text-wrapping .promotional-banner-text {
    white-space: wrap;
}
@media (max-width: 767.98px) {
	.promotional-banner-wrap .promotional-banner-text-wrap {
    	font-size: 16px;
    }
}
/* END of MAR-3688 - Add sitelink banner to Truck Lot Aftermarket */