/* SCROLL TO TOP BUTTON 
    added 8/12/2024 
*/
#scrollToTopBtn{
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 85px;
    right: 24px;
    z-index: 1000;
    background-color: #fff;
    color: black;
    border: none;
    border-radius: 50%;
    font-size: 24px;
    text-align: center;
    cursor: pointer;
    box-shadow: 0 0 3px 0 rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    display: none;
}

#scrollToTopBtn.show{
    display: block;
    opacity: 1;
}

#scrollToTopBtn.hidden{
    opacity: 0;
}

/* CATEGORY MENU STYLE 
    added navbar link underline 8/9/2024
*/
.bt-category-links-list{
    margin-top:0px !important;
    margin-bottom:0px !important;
    margin-left:0px !important;
    padding-left:0px !important;
}
.bt-category-links-list li{
    display: inline-block;
    position: relative;
}

.bt-category-link a {
    color: white;
    padding: 2px 10px;
}

.bt-category-link a span {
    position: relative;
    display: inline-block;
}

.bt-category-link span:hover{
    color: #343a40;
}
/* navbar underline */
 .bt-category-link a span::after{
    content: '';
    height: 2px;
    width: 100%;
    background: #343a40;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 2px;
    opacity: 0;
    transition: all 0.2s;
    pointer-events: none;
} 

.bt-category-link span:hover::after{
    opacity: 1;
}

/* Mega-menu specific styling Added: 7/23/2025 */
.mega-menu-dropdown {
    position: absolute;
    top: 100%; /* Position below the main link */
    left: 0;
    width: 100vw; /* Full width of the viewport */
    background-color: #f9f9f9;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    z-index: 1000; /* Ensure it appears above other content */
    display: none; /* Hidden by default */
    padding: 20px;
    box-sizing: border-box; /* Include padding in width calculation */
}

.bt-category-link.has-submenu:hover .mega-menu-dropdown {
    display: block; /* Show on hover */
}

.mega-menu-content {
    display: flex; /* Use flexbox for column layout */
    flex-wrap: wrap; /* Allow columns to wrap if needed */
    justify-content: space-around; /* Distribute columns evenly */
    max-width: 1200px; /* Limit mega-menu width within the page */
    margin: 0 auto; /* Center the mega-menu content */
}

.mega-menu-column {
    list-style: none;
    padding: 0;
    margin: 0 20px; /* Spacing between columns */
    flex: 1; /* Allow columns to grow and shrink */
    min-width: 150px; /* Minimum width for a column */
}

.mega-menu-column li {
    padding: 5px 0;
}

.mega-menu-column li a {
    padding: 5px 0; /* Adjust padding for sub-items */
    color: #555;
    font-size: 0.9em;
}

.mega-menu-column li a:hover {
    color: #007bff;
}


/* MOBILE CATEGORY DROPDOWN MENU ANCHORS */
.rvdsf-category-treeview .list-group-item{
    padding:0px !important;
    margin:0px !important;
}
.rvdsf-category-treeview .list-group-item a{
    display:block !important;
    padding:10px;
    text-decoration: none;
}
.rvdsf-category-treeview .icon{
    display:none !important;
}

/* BOOTSTRAP BUTTON OVERRRIDE*/
.btn-primary{
    background-color:black !important;
    border:0px !important;
    color:white !important;
}
/* MOBILE UTIL */
#content-desktop {display: block;}
#content-mobile {display: none;}

@media screen and (max-width: 768px) {
#content-desktop {display: none;}
#content-mobile {display: block;}
}
/* DESKTOP UTIL */
@media(min-width: 601px) {
  .hideondesktop {
    display: none;
  }
}

/* UTLS */
.no-marg-pad-sides{
    margin-left:0px !important;
    margin-right:0px !important;
    padding-left:0px !important;
    padding-right:0px !important;
}
.hide{
    display:none !important;
}

/* SEARCH PANE */
#dnn_SearchPane{
    width: 100%;
}
/* SEARCH BAR BTN */
#rvdsfProductSearchSubmitButton > i{
    line-height: 1.5 !important;
}

/* SEARCH OVERLAY */

#rvdsf-productsearch-container{
    position: relative;
}

.input-group{
    position: relative;
    z-index: 10;
}

#rvdsfProductSearchOverlay{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: -1;
    display: none;
}

#rvdsfProductSearchOverlay.show{
    display: block;
}


/* MOBILE HEADER */
    .mobile-header .header-area {
        vertical-align: middle;
        padding-left: 15px;
        padding-right: 15px;
        display: inline-block;
        flex-wrap: nowrap;
        flex-direction: column-reverse;
        align-content: space-around;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }
    .userProperties{
        font-size: 14px;
    }

/* MOBILE SEARCH */
.bth-mobilesearch{
    /* background-color: transparent; */
    border-top: 0px !important;
    border-left: 0px !important;
    border-right: 0px !important;
    border-bottom: 2px solid #000 !important;
    border-radius: 0px !important;
    height: 35px !important;
    margin-top:5px;
}
.btn-mobilesearch:focus{
    background-color: transparent;
}
.mobile-search-btn{
    background-color: transparent;
    border: 0px !important;
    margin-top:5px;
}
#dnn_MobileSearchPane, .MobileSearchPane{
    width: 100%;
}

/* OTHER */
.btn{
    font-size: 16px;
}
#rvdsfProductSearchSubmitButton{
    border-top-left-radius: 0px !important;
    border-bottom-left-radius: 0px !important;
}

/* HIDE */
.hide{
    display:none !important;
}

/* CART LINK TEXT */
a.mc-item{
    color:#000 !important;
}

/* MOBILE SEARCH UPDATED*/
.grid-container-element { 
    display: grid; 
    grid-template-columns: 9fr 1fr; 
    grid-gap: 0px; 
    width: 100%; 
    border:1px solid white;
    border-radius:5px;
    margin:auto;
    background-color:white;
    padding:3px;
} 
.grid-child-element first{ 
    margin: 10px; 
}
.grid-child-element second{ 
    margin: 10px; 
}

/* MOBILE CATEGORIES PRODUCT LIST */
/*
#rvdsfCategoryTree{
    outline:1px solid black;
}
#rvdsfCategoryTree > ul{
  display: flex !important;
  justify-content: space-between;
  align-items: stretch;
}
#rvdsfCategoryTree > ul > li{
    display: inline !important;
    list-style-type: none;
    border: 1px solid green;
    width: 100%;
}
#rvdsfCategoryTree > ul > li > a{
    border: 1px solid red;
    width: 100%;
    height: 100%;
    display: flex !important;
    justify-content: center;
    align-items: center;
}
#rvdsfCategoryTree > ul > li > a:hover{
    background: grey;
}
*/

/* PRODUCT DETAIL DESCRIPTION TAB LIST ITEMS 
    added: 7/2/2024 at 9:31am PST
*/

#rvdsfProductDetailDescriptionTabs > li > a {
	font-weight: bold;
	color: #000000;
}

/* MOBILE DETAIL DESCRIPTION TAB LIST ITEMS 
    added: 7/2/2024 at 9:31am PST
*/

#rvdsfProductDetailSpecificationsHeader > h6 > a {
    display: block;
    width: 100%;
    height: 100%;
	font-weight: bold;
    text-decoration: none;
	color: #000000;
}

/* FOOTER GLOBAL STYLING
    added 7/3/2024 at 10:00am PST
    updated 8/8/2024
*/
/* .title-17 {
    font-size: 16px;
} */
.home12-footer-links a {
    color: var(--bs-gray-800);
}

.cs-footer p{
    color: var(--bs-gray-800);
}

.home12-footer-links a:hover {
    text-decoration: underline;
    color: #3f2021;
}

.social-09 {
    font-size: 30px;
}

.social-09:not(:last-child) {
    padding-right: 1.5rem;
}

.social-09 span {
    color: #3f2021;
}

.social-09 span:hover {
    color: #3f2021cc;
}


/* HIDE UNUSED ACCOUNT DROPDOWN ITEMS */
li.userMessages{display:none !important}
li.userNotifications{display:none !important}
li.userSettings{display:none !important}
li.userProfilename{display:none !important}

/* HIDE PROFILE IMG */
.userProfileImg{display:none !important;}

/* CUSTOM BREAKPOINTS BOOTSTRAP OVERRRIDE */
@media (min-width: 576px) {
    .container, .container-sm {
        max-width: 600px !important;
    }
}

@media (min-width: 768px) {
    .container, .container-md {
        max-width: 800px !important;
    }
    #seamless-shop-btn {
        display: inline-block !important;
    }
}

@media (min-width: 992px) {
    .container, .container-lg {
        max-width: 1000px !important;
    }
}

@media (min-width: 1200px) {
    .container, .container-xl {
        max-width: 1300px !important;
    }
}

@media (min-width: 1400px) {
    .container, .container-xxl {
        max-width: 1500px !important;
    }
}

/* BOOTSTRAP OVERRIDE COLORS */
.dropdown-item.active, .dropdown-item:active {
    background-color: #eeeeee !important;
}
.active>.page-link, .page-link.active {
    z-index: 3;
    color: white !important;
    background-color: black;
    border-color: black;
}


/* BOOTSTRAP 5 TOGGLE BUTTON PRIMARY OVERRIDE */
/* Override Bootstrap button colors for the btn-check inputs */
.btn-check:checked + .btn,
.btn-check:active + .btn,
.btn-check:focus + .btn {
    color: #fff; /* Text color when the button is active */
    background-color: #000; /* Background color when the button is active */
    border-color: #000; /* Border color when the button is active */
}

/* Style for the button when not active (unselected) */
.btn-check:not(:checked) + .btn {
    color: #000; /* Text color when the button is not active */
    background-color: #fff; /* Background color when the button is not active */
    border-color: #000; /* Border color when the button is not active */
}

/* Optional: style for button focus and hover states */
.btn-check:focus + .btn,
.btn-check:hover + .btn {
    color: #fff; /* Text color when the button is focused or hovered */
    background-color: #000; /* Background color when the button is focused or hovered */
    border-color: #000; /* Border color when the button is focused or hovered */
}

/* DROPDOWN ARROW */
.custom-dropdown {
    position: relative;
}

.custom-dropdown select {
    -webkit-appearance: none;
    -moz-appearance: none; 
    appearance: none; 
    padding-right: 30px
}

.dropdown-arrow {
    position: absolute;
    right: 10px; 
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none; 
    font-size: 12px; 
    color: #000;
}

/* SPECIFICATIONS TABLE, STRING VALUE ATTRIBUTE: REMOVE BOTTOM MARGIN */
.rvdsf-productdetail-table p{
    margin-bottom: 0 !important;
}










