/* reset rule at the beginning of your CSS file to standardize the box-sizing and remove default margins and paddings */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.link-no-decoration {
  text-decoration: none;
}

.link-no-decoration:hover {
  text-decoration: none;
}

/*******************************************************************************************************/
/* Global Styles applicable throughout                                                                 */
/*******************************************************************************************************/
/* Importing a Google Font */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');

/* General styles for the body */
body {
  font-family: 'Roboto', sans-serif;
  color: #333;
  /* background-color: #f9f9f9; */
  margin: 0;
  padding: 0;
  line-height: 1.6;
}

/* Header styles */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Roboto', sans-serif;
  color: #cc6633;
  margin: 0;
  padding-bottom: 10px;
  line-height: 1.2;
}

/* Specific header sizes */
h1 {
  font-size: 2.5em;
  font-weight: 700;
}

h2 {
  font-size: 2em;
  font-weight: 700;
}

h3 {
  font-size: 1.75em;
  font-weight: 700;
}

h4 {
  font-size: 1.5em;
  font-weight: 700;
}

h5 {
  font-size: 1.25em;
  font-weight: 700;
}

h6 {
  font-size: 1em;
  font-weight: 700;
}

/* Paragraph styles */
p {
  font-size: 1em;
  color: #555;
  margin: 0 0 20px;
  padding: 0;
}

.no-border {
  border: none !important;
}

.faint-border {
  border-right: 1px solid #f0f0f0;
  /* Light grey border */
}

/* Remove underline from links and only show underline when mouse-over */
a {
  /* color: #0056b3; */
  text-decoration: none;
  /* Removes the underline from all links */
}

a:hover {
  text-decoration: underline;
  /* Adds the underline on hover */
}

/*******************************************************************************************************/
/* Zoho Sales IQ Chat Placement                                                                        */
/*******************************************************************************************************/
.zsiq_floatmain,
.zsiq_flt_rel {
  bottom: 10px !important;
}

@media (max-width: 576px) {

  .zsiq_floatmain,
  .zsiq_flt_rel {
    bottom: 40px !important;
  }
}


/*******************************************************************************************************/
/* Footer                                                                                              */
/*******************************************************************************************************/
@media (max-width: 576px) {
  .footer .row {
    flex-direction: column;
    align-items: center;
  }

  .footer .col-md-8,
  .footer .col-md-4 {
    text-align: center;
  }
}

/*******************************************************************************************************/
/* Custom Buttons                                                                                      */
/*******************************************************************************************************/
.rfw-custom-btn {
  color: #cc6633;
  /* Text and outline color */
  border-color: #cc6633;
  /* Border color */
  background-color: transparent;
  /* Transparent background */
}

.rfw-custom-btn:hover {
  color: #ffffff;
  /* White text on hover */
  background-color: #cc6633;
  /* Background color on hover */
  border-color: #cc6633;
  /* Border color on hover */
  text-decoration: none;
  /* no underline on hover */
}

.rfw-find-parts-btn-width {
  width: 150px;
}

/*******************************************************************************************************/
/* From old WDI                                                                                        */
/*******************************************************************************************************/
.rfw_blue_part {
  background-color: #4775E2;
  color: #FFFFFF;
  font-family: Verdana, Arial, Helvetica, sans-serif;
  font-size: 11px;
  /*border-width: 1; */
  /*border-color: #A1A6B9;*/
  border-left: 7px solid #CC6633 !important;
  height: 18px;
  font-weight: bold;
}

.rfw_gray_part {
  background-color: #939393;
  color: #ffffff;
  font-family: Verdana, Arial, Helvetica, sans-serif;
  font-size: 11px;
  /*border-width: 1;*/
  /*border-color: #A1A6B9;*/
  border-left: 7px solid #D7AE86 !important;
  height: 18px;
  font-weight: bold
}

.rfw_hdr1 {
  font-size: 130%;
  padding: 0.5em 10px;
  font-family: Verdana, Arial, Helvetica, sans-serif;
  color: #336699;
  border-left: 7px solid #CC6633 !important;
  margin: 0 0 8px 0;
  background: #E7E7E1;
}

.rfw_hdr2 {
  font-size: 12px;
  font-weight: bold;
  padding: 0px 10px;
  font-family: Verdana, Arial, Helvetica, sans-serif;
  color: #336699;
  border-left: 7px solid #E4C9AE !important;
  background: #E7E7E1;
  height: 16px;
}

.rfw_hdr3 {
  font-size: 12px;
  font-weight: bold;
  padding: 0px 10px;
  font-family: Verdana, Arial, Helvetica, sans-serif;
  color: #336699;
  border-left: 7px solid #E4C9AE !important;
  /*background: #E7E7E1;*/
  height: 16px;
}

.rfw_horizdot {
  border-top: 1px dotted #999 !important;
  margin-top: 0.9091em;
  padding-top: 0.9091em;
}

.rfw_table-noborder td {
  border: none;
  outline: none;
}

.rfw_fldbrown {
  background-color: #cc6633;
  color: #ffffff;
  font-family: Verdana, Arial, Helvetica, sans-serif;
  font-size: 11px;
  border-width: 1px;
  border-color: #A1A6B9;
  height: 18px;
  font-weight: bold
}

.rfw_fldgray {
  background-color: #939393;
  color: #ffffff;
  font-family: Verdana, Arial, Helvetica, sans-serif;
  font-size: 11px;
  border-width: 1px;
  border-color: #A1A6B9;
  height: 18px;
  font-weight: bold
}

.rfw_fldlighbrown {
  background-color: #E4C9AE;
  color: #ffffff;
  font-family: Verdana, Arial, Helvetica, sans-serif;
  font-size: 11px;
  border-width: 1px;
  border-color: #A1A6B9;
  height: 18px;
  font-weight: bold
}

/*******************************************************************************************************/
/* Table to render for DB content                                                                     */
/*******************************************************************************************************/
.rfw_table-withborder {
  border-collapse: collapse; /* Ensure borders are combined */
  width: 100%;
  margin-bottom: 20px; /* Space between the table and footnotes if any */
}

.rfw_table-withborder caption {
  text-align: center;
  caption-side: top; /* Ensures the caption is placed above the table */
  font-weight: bold;
  margin-top: 10px; /* Add some space between the table and caption */
  font-size: 1.1em; /* Make caption slightly larger */
  color: #cc6633;
}

.rfw_table-withborder th, .rfw_table-withborder td {
  border-width: 1px;
  border-color: #E4C9AE;
  border-style: solid;
  /* text-align: center; */
  vertical-align: middle; /* Center vertically */
  padding: 8px; /* Add padding for spacing */
}

.rfw_table-withborder th {
  font-size: 1.1em; /* Increase header font size */
  background-color: #cc6633; /* Set header background color */
  font-weight: bold; /* Make header bold for better readability */
  color: #ffffff; /*text color in header*/
}

.rfw_table-withborder td {
  font-size: 1em; /* Standard font size for table cells */
}

/* ---- FOOTNOTES REF ------------------------------------------*/
/* Footnote Reference Styling (inside the table) */
.rfw_footnote-ref a {
  color: #cc6633;
  text-decoration: none;
  font-size: 0.9em; /* Slightly smaller font size for references */
  vertical-align: super; /* Superscript effect for footnote numbers */
}

.rfw_footnote-ref a:hover {
  text-decoration: underline; /* Add underline on hover for better clarity */
}

/* ---- FOOTNOTES LIST ------------------------------------------*/
.rfw_footnotes-list {
  list-style-type: decimal; /* Use decimal numbering */
  padding-left: 20px; /* Indent numbers slightly */
  margin: 0;
  font-size: 0.9em; /* Smaller font for footnotes */
}

.rfw_footnotes-list li {
  background-color: #f9f9f9; /* Light grey background for contrast */
  border-left: 4px solid #cc6633; /* Add a colored left border */
  border-radius: 5px; /* Rounded corners for aesthetic look */
  padding: 10px;
  margin: 10px 0; /* Space between footnotes */
  position: relative; /* Allow for styling adjustments */
}

.rfw_footnotes-list li::marker {
  font-weight: bold; /* Make the numbers bold */
  color: #cc6633; /* Match the highlighted text color */
}

.rfw_footnotes-list li strong {
  font-weight: bold;
  color: #cc6633; /* Highlighted text for important parts */
}



/*******************************************************************************************************/
/* Custom Buttons                                                                                      */
/*******************************************************************************************************/
.btn-outline-custom {
  color: #cc6633;
  border-color: #cc6633;
}

.btn-outline-custom:hover {
  background-color: #cc6633;
  color: white;
  text-decoration: none;
  /* no underline on hover */
}

.show-more {
  background-color: transparent;
  border: none;
  color: #cc6633;
  font-size: 24px;
  /* Adjust as needed */
}

.show-more .bi-chevron-down,
.show-more .bi-chevron-up {
  font-size: 24px;
  /* Adjust size as needed */
}

/* Product recommendations CSS*/
.rfw-store-btn-main {
  background-color: #cc6633;
  color: white;
  border: 1px solid #cc6633;
  border-radius: 0.25rem;
  transition: background-color 0.3s, color 0.3s;
}

.rfw-store-btn-main:hover {
  background-color: white;
  border: 1px solid #cc6633;
  color: #cc6633;
  text-decoration: none;
}

.rfw-store-btn-sec {
  background-color: #6c757d;
  color: white;
  border: 1px solid #6c757d;
  border-radius: 0.25rem;
  transition: background-color 0.3s, color 0.3s;
}

.rfw-store-btn-sec:hover {
  background-color: white;
  border: 1px solid #6c757d;
  color: #6c757d;
  text-decoration: none;
}

.rfw-store-btn-secondary {
  background-color: white;
  color: #cc6633;
  border: 1px solid #cc6633;
  border-radius: 0.25rem;
  transition: background-color 0.3s, color 0.3s;
  text-decoration: none !important;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  /* Remove extra padding from the button */
  overflow: hidden;
  width: 100%;
  /* Ensure full width for all buttons */
  height: 50px;
  /* Set a fixed height for consistency */
}

.buybutt-logo-container {
  background-color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-right: 20px;
  padding-left: 20px;
  /* Add space on the left for the image */
  flex-shrink: 0;
  /* Prevent the logo from shrinking */
  height: 100%;
  /* Ensure the logo container fills the button height */
}

.buybutt-text-container {
  flex-grow: 1;
  /* Ensure the text container fills the remaining space */
  text-align: left;
  padding: 20px;
  /* Adjust padding for better spacing */
  transition: background-color 0.3s ease;
  background-color: white;
  /* Default background color */
  display: flex;
  align-items: center;
  /* Vertically center text */
  height: 100%;
  /* Ensure it fills the button height */
  max-width: 200px;
  /*set max width of buy button*/
}

.rfw-store-btn-secondary:hover {
  background-color: #cc6633;
  /* Background color for hover state */
  color: white;
}

.rfw-store-btn-secondary:hover .buybutt-text-container {
  background-color: #cc6633;
  color: white;
}

.rfw-store-btn-secondary:hover .buybutt-logo-container {
  background-color: white;
  /* Keep the logo container white on hover */
}


.rfw-store-btn-secondary:hover .buybutt-text-container {
  background-color: #cc6633;
  color: white;
}

.rfw-store-btn-secondary:hover .buybutt-logo-container {
  background-color: white;
  /* Keep the logo container white on hover */
}

.store-spec-title {
  font-size: 0.9rem;
  color: #6c757d;
}

.store-spec-value {
  font-size: 1.1rem;
  font-weight: bold;
}

.store-spec-divider {
  width: 90%;
  /* Adjust based on your layout */
  height: 1px;
  background-color: #dee2e6;
  margin: 0.5rem 0;
}

.store-item-brand-mpn {
  color: #cc6633;
  /* font-size: smaller; */
}


/*******************************************************************************************************/
/* Images                                                                                              */
/*******************************************************************************************************/
.thumbnail-img {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 100px;
  height: 100px;
  /*@TODO - need to autogenerate thumbnail so we can have 100x100 aspect ratio! */
  object-fit: cover;
  /* This property ensures the image covers the area nicely */
}

/*******************************************************************************************************/
/* Filters                                                                                             */
/*******************************************************************************************************/
.filter-container {
  display: flex;
  flex-wrap: wrap;
  gap: 5px; /* Spacing between dropdowns */
  width: 100%;
}

.filter-dropdown {
  width: 190px;
}

.filter-search-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  gap: 10px; /* Spacing between search and dropdowns */
}

.filter-search-container input {
  flex: 1;
}

.filter-search-container button {
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .filter-container {
      flex-direction: column;
      gap: 8px;
  }
  .filter-dropdown {
      width: 100%;
      margin-bottom: 8px;
  }
}

.filter-dropdown-menu {
  display: none; /* Hide dropdown by default */
  border: 1px solid #ddd;
  border-radius: 4px;
  width: 100%; /* Match width of dropdown button */
  box-sizing: border-box;
}

.filter-dropdown-menu.show {
  display: block;
  /* Show dropdown when 'show' class is added */
}

.filter-options-scrollable {
  max-height: 300px;
  /* After this height enable vertical scrolling */
  overflow-y: auto;
  /* Enable vertical scrolling */
  /* overflow-x: hidden; */
  overflow-x: auto;
  /* Hide horizontal scrollbar */
  white-space: nowrap;
  /* Prevent options from wrapping */
}

.filter-toggle {
  width: 100%; /* Ensure buttons have uniform width */
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.filter-toggle .filter-chevron {
  margin-left: auto; /* Move chevron to the far right */
}

/* .filter-toggle .chevron.fa-chevron-up {
  transform: rotate(180deg);
  transition: transform 0.3s ease;
}

.filter-toggle .chevron.fa-chevron-down {
  transform: rotate(0deg);
  transition: transform 0.3s ease;
} */


/*******************************************************************************************************/
/* Learn More Button                                                                                   */
/*******************************************************************************************************/
.learn-more-btn {
  display: inline-block;
  padding: 7px 35px 7px 10px;
  font-size: 10pt;
  /* Adjust font size here */
  font-family: Arial, sans-serif;
  text-transform: capitalize;
  background-color: #484948;
  /* Learn More part */
  color: white;
  border: none;
  text-decoration: none;
  /* Removes underline from links */
  position: relative;
  /* Needed to position the arrow within the button */
  transition: background-color 0.3s ease;
}

.learn-more-btn .arrow-section {
  display: inline-block;
  background-color: #cc6633;
  position: absolute;
  /* Position the orange section over the grey */
  right: 0;
  /* Align to the right */
  top: 0;
  /* Align to the top */
  bottom: 0;
  /* Align to the bottom to ensure equal height */
  width: 28px;
  /* Width of the orange part */
}

.learn-more-btn:hover {
  background-color: #616361;
  /* Hover of Learn more part */
  text-decoration: none;
  /* no underline on hover */
}

.learn-more-btn:hover .arrow-section {
  background-color: #cc6633;
  /* Keeps the arrow section color constant */
}

/* Chevron arrow */
.learn-more-btn .arrow-section::before {
  content: '\203A';
  /* Unicode character for single right-pointing angle quotation mark */
  font-size: 16pt;
  /* Adjust the arrow size here */
  color: white;
  line-height: 1;
  /* Adjust line height to vertically center the arrow */
  position: absolute;
  /* Position the arrow inside the orange box */
  left: 50%;
  /* Center horizontally */
  top: 50%;
  /* Center vertically */
  transform: translate(-50%, -50%);
  /* Offset the arrow by half its width and height to center it */
}


/*******************************************************************************************************/
/* All Sites Logout                                                                                    */
/*******************************************************************************************************/
.logout-button {
  background: none;
  color: inherit;
  border: none;
  padding: 0;
  cursor: pointer;
  outline: inherit;
  font-family: inherit;
  font-size: inherit;
}

/*******************************************************************************************************/
/* WDI Banner Images                                                                                   */
/*******************************************************************************************************/
.wdi-banner-container .wdi-banner-card {
  border: none;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  /* Ensure that child elements stretch to the full width */
}

.wdi-banner-container .wdi-banner-card-img-top {
  width: 100%;
  height: auto;
  display: block;
  /* Remove any default inline spacing */
}

.wdi-banner-container .wdi-banner-card-body {
  flex-grow: 1;
  padding: 0;
  /* Remove padding to allow children to expand to the edge */
  display: flex;
  flex-direction: column;
}

.wdi-banner-container .wdi-banner-card-title,
.wdi-banner-card-body p {
  padding: 0.375rem 1.25rem;
  /* Apply padding directly to children */
}

.wdi-banner-container .wdi-banner-card-title {
  background-color: #999999;
  color: #ffffff;
  padding: 0.375rem 1.25rem;
  margin: 0;
  /* Removes any default margin */
  display: flex;
  /* Enables flexbox within the title */
  align-items: center;
  /* Centers the title text vertically */
  justify-content: center;
  /* Centers the title text horizontally */
  height: 50px;
  /* Sets a fixed height for the title */
  overflow: hidden;
  /* Prevents text from overflowing */
}

.wdi-banner-container .wdi-banner-card-body p {
  color: #333;
  background-color: #f8f9fa;
  /* Move the description's background color here */
  flex-grow: 1;
  /* Make the description take up the available space */
  margin-bottom: 0;
  /* Remove default margin at the bottom */
}

.wdi-banner-container .row {
  margin-bottom: 40px;
  /* Add margin between rows */
}

.wdi-banner-container a {
  text-decoration: none;
}



/*******************************************************************************************************/
/* WDI Cards                                                                                          */
/*******************************************************************************************************/
.wdi-card {
  border: none;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  /* Ensure that child elements stretch to the full width */
}

.wdi-card-img-top {
  width: 100%;
  height: auto;
  display: block;
  /* Remove any default inline spacing */
}

.wdi-card-body {
  flex-grow: 1;
  padding: 0;
  /* Remove padding to allow children to expand to the edge */
  display: flex;
  flex-direction: column;
}

.wdi-card-title,
.wdi-card-body p {
  padding: 0.375rem 1.25rem;
  /* Apply padding directly to children */
}

.wdi-card-title {
  background-color: #999999;
  color: #ffffff;
  padding: 0.375rem 1.25rem;
  margin: 0;
  /* Removes any default margin */
  display: flex;
  /* Enables flexbox within the title */
  align-items: center;
  /* Centers the title text vertically */
  justify-content: center;
  /* Centers the title text horizontally */
  /*height: 50px;*/
  /* Sets a fixed height for the title */
  overflow: hidden;
  /* Prevents text from overflowing */
}

.wdi-card-body p {
  color: #333;
  background-color: #f8f9fa;
  /* Move the description's background color here */
  flex-grow: 1;
  /* Make the description take up the available space */
  margin-bottom: 0;
  /* Remove default margin at the bottom */
}

/*******************************************************************************************************/
/* Cards                                                                                               */
/*******************************************************************************************************/
.card {
  border: none;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  /* Ensure that child elements stretch to the full width */
}

.card-img-top {
  width: 100%;
  height: auto;
  display: block;
  /* Remove any default inline spacing */
}

.card-body {
  flex-grow: 1;
  padding: 0;
  /* Remove padding to allow children to expand to the edge */
  display: flex;
  flex-direction: column;
}

.card-title,
.card-body p {
  padding: 0.375rem 1.25rem;
  /* Apply padding directly to children */
}

.card-title {
  background-color: #999999;
  color: #ffffff;
  padding: 0.375rem 1.25rem;
  margin: 0;
  /* Removes any default margin */
  display: flex;
  /* Enables flexbox within the title */
  align-items: center;
  /* Centers the title text vertically */
  justify-content: center;
  /* Centers the title text horizontally */
  height: 50px;
  /* Sets a fixed height for the title */
  overflow: hidden;
  /* Prevents text from overflowing */
}

.card-body p {
  color: #333;
  background-color: #f8f9fa;
  /* Move the description's background color here */
  flex-grow: 1;
  /* Make the description take up the available space */
  margin-bottom: 0;
  /* Remove default margin at the bottom */
}

/*******************************************************************************************************/
/* Devices List Card                                                                                   */
/*******************************************************************************************************/
.devlist-card-image-link,
.devlist-card-image-link * {
  /* This will apply the styles to all children elements as well */
  text-decoration: none;
  color: inherit;
  /* This will ensure that the link text color is the same as the normal text */
}

.devlist-card-image-link:hover,
.devlist-card-image-link:hover * {
  text-decoration: none;
  color: inherit;
  /* This maintains the text color on hover */
}

.devlist-card-image-container {
  height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-bottom: 10px;
}

.devlist-card-img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
}


/*******************************************************************************************************/
/* DropDown Flyout Menu (Bootsrap)                                                                     */
/*******************************************************************************************************/
/* Custom styles for the dropdown on hover */
.dropdown:hover>.dropdown-menu {
  display: block;
}

/* Style for submenu */
.dropdown-submenu {
  position: relative;
}

/* Show the submenu on hover */
.dropdown-submenu:hover>.dropdown-menu {
  display: block;
  position: absolute;
  left: 100%;
  top: 0;
}

/* Style for submenu caret */
.dropdown-submenu>.dropdown-item {
  padding-right: 30px;
  /* Adjust as needed for space */
}

.dropdown-submenu>.dropdown-item::after {
  content: ">";
  position: absolute;
  top: 50%;
  right: 10px;
  /* Adjust as needed for exact positioning */
  transform: translateY(-50%);
  pointer-events: none;
  /* Makes it non-interactive */
}

/* Remove the default dropdown arrow */
.nav-item.dropdown>.dropdown-toggle::after {
  display: none;
}

/* Background color change on hover */
.navbar-nav .nav-link:hover,
.navbar-nav .nav-item.dropdown:hover>.nav-link {
  background-color: #e7e7e7;
  /* Light grey background */
}

/*******************************************************************************************************/
/* Custom CSS for carousel controls                                                                    */
/*******************************************************************************************************/
#deviceImageCarousel .carousel-control-prev,
#deviceImageCarousel .carousel-control-next {
  width: 4%;
  /* Adjust the width to fit within the image gallery column */
  z-index: 2;
  /* Ensure controls are above the images */
}

#deviceImageCarousel .carousel-control-prev {
  left: 0;
}

#deviceImageCarousel .carousel-control-next {
  right: 0;
}

#deviceImageCarousel .carousel-control-prev-icon,
#deviceImageCarousel .carousel-control-next-icon {
  background-color: rgba(0, 0, 0, 0.5);
  /* semi-transparent black */
  background-size: contain;
  /* Ensures the icons fit within the controls */
  background-repeat: no-repeat;
  width: 100%;
  /* Makes the icon size responsive to the control's width */
  /* height: 100%; Makes the icon size responsive to the control's height */
}

#deviceImageCarousel .carousel-inner {
  position: relative;
  /* Ensures the position context is set for children absolutely positioned */
  overflow: hidden;
  /* Prevents images from overflowing the container */
  height: 350px;
  /* Set a fixed height for the carousel inner */
  padding: 0 30px;
  /* Add padding on both sides to ensure image doesn't overlap with prev/next icons */
}

#deviceImageCarousel .carousel-item {
  position: absolute;
  /* Absolute position to allow centering regardless of the image size */
  top: 0;
  left: 50%;
  /* Set to 50% to start the centering process */
  transform: translateX(-50%);
  /* Translate to perfectly center the images */
  text-align: center;
  /* Center any inline elements */
  /* width: 100%; */
  width: calc(100% - 60px);
  /* Subtract the total padding from the width - using 50px padding in carousel-inner*/
}

#deviceImageCarousel .carousel-item img {
  display: block;
  max-height: 350px;
  /* Limits the image height to fit within the carousel */
  max-width: none;
  /* Overrides Bootstrap's default max-width */
  width: auto;
  /* Ensures the width is automatically adjusted to maintain aspect ratio */
  height: auto;
  /* Ensures the height is automatically adjusted to maintain aspect ratio */
  object-fit: contain;
  /* Ensures the image's aspect ratio is preserved */
  margin: auto;
  /* Margin auto for any additional centering and ensuring some space */
}

/* Ensure the controls are within the column on all viewport sizes */
@media (max-width: 991px) {

  #deviceImageCarousel .carousel-control-prev,
  #deviceImageCarousel .carousel-control-next {
    width: 10%;
    /* Increase width for smaller viewports if needed */
  }
}

/* Additional styles for Thumbnails */
#deviceImageCarousel .img-thumbnail {
  object-fit: cover;
  /* Ensure thumbnails maintain aspect ratio */
}

/* For smaller screens, adjust padding and control sizes */
@media (max-width: 991px) {
  #deviceImageCarousel .carousel-inner {
    padding: 0 20px;
    /* Smaller padding for smaller screens */
  }

  #deviceImageCarousel .carousel-item {
    width: calc(100% - 40px);
    /* Adjust width based on new padding */
  }

  #deviceImageCarousel .carousel-control-prev,
  #deviceImageCarousel .carousel-control-next {
    width: 8%;
    /* Slightly larger controls for easier clicking on touch devices */
  }
}

/*******************************************************************************************************/
/* Welcome Header                                                                                      */
/*******************************************************************************************************/
.welcome-color,
.header-contact-link {
  color: #CC6633;
}

.welcome-header-top {
  padding: 0.375rem 0;
  /* Top and bottom padding - no left/right */
}

.welcome-header-top form,
.welcome-header-top a {
  display: inline;
  /* Makes the form/button inline with the rest of the header content */
}

.header-contact-link:hover {
  color: #D7AE86;
  /* Change color on hover to indicate a link */
  text-decoration: none;
  /* Remove underline on hover */
}

.header-contact-link {
  text-decoration: none;
  /* Remove the default underline from the link */
}

/* Adjust the bottom margin of the first row */
.welcome-header-top .row {
  margin-bottom: 10px;
  /* Reduce the bottom margin to 0 */
}

/* Adjust the top margin of the second row */
.container .row.align-items-center {
  margin-top: 0;
  /* Reduce the top margin to 0 */
}

/* Optionally adjust the margin of the horizontal rule if needed */
.welcome-header-top hr {
  margin-top: 0;
  /* Reduce the top margin of the <hr> */
  margin-bottom: 0;
  /* Reduce the bottom margin of the <hr> */
}

/*******************************************************************************************************/
/* Nav Tabs - Device details                                                                           */
/*******************************************************************************************************/
/* Space below the horizontal tabs */
.nav-tabs {
  margin-bottom: 10px;
}

/* Space above the vertical tabs */
.nav-pills {
  padding-top: 10px;
}

/* Space above the vertical tab content */
.tab-content {
  padding-top: 10px;
}

/* Main Tabs Active State */
.nav-tabs .nav-link.active {
  background-color: #cc6633;
  /* tab active color */
  color: white;
  text-decoration: none;
  /* Removes the underline from all links */
}

/* Subtabs Active State with Custom Class */
.subtab-color-scheme .nav-tabs .nav-link.active {
  background-color: #BCC1CE;
  /* Subtab active color - was #D7AE86 */
  color: white;
}


/*******************************************************************************************************/
/* Back-to-Top Chevron                                                                                 */
/*******************************************************************************************************/
.back-to-top {
  position: fixed;
  bottom: 100px;
  /* Adjust the position from the bottom */
  right: 20px;
  padding: 10px 15px;
  background-color: #cc6633;
  color: #fff;
  border-radius: 50%;
  cursor: pointer;
  z-index: 1000;
  /* Ensure it's above other content */
  display: none;
  /* Start hidden, will be controlled by JS */
}

.back-to-top:hover {
  background-color: #a0522d;
  /* Darker shade for hover effect */
}

/* Responsive adjustment */
@media (max-width: 768px) {
  .back-to-top {
    display: none;
    /* Hide the button on smaller screens */
  }
}

/*******************************************************************************************************/
/* Curated Lists                                                                                       */
/*******************************************************************************************************/
.curated-list-group-item {
  border: 1px solid #ddd;
  /* Adds a border to each list group item for separation */
  border-radius: 4px;
  /* Optional: rounds corners of the list group items */
}

.curated-list-group-item:hover {
  box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.05);
  /* Adds a subtle shadow effect on hover */
}

.curated-item-description {
  margin-bottom: 1rem;
  /* Spacing between description and Learn More button */
}

.curated-list-group .buy-button img {
  height: 30px;
  /* Adjust the height as needed */
  margin-right: 10px;
  /* Space between buttons */
}

/*******************************************************************************************************/
/* Pagination Controls                                                                                 */
/*******************************************************************************************************/
/* Custom CSS to change the active pagination color */
.pagination .page-item.active .page-link {
  background-color: #cc6633;
  border-color: #cc6633;
}

.item-per-page-inline-select {
  width: auto;
  display: inline-block;
}

/*******************************************************************************************************/
/* Rfwel Custom Buttons                                                                                */
/*******************************************************************************************************/
.btn-primary.btn-rfw-pri {
  background-color: #cc6633;
  /* Change the background color */
  border-color: #cc6633;
  /* Change the border color to match */
}

.btn-primary.btn-rfw-pri:hover,
.btn-primary.btn-rfw-pri:focus {
  background-color: #b3552f;
  /* Darkened color for hover and focus */
  border-color: #b3552f;
  /* Match border color for hover and focus */
}

.btn-primary.btn-rfw-pri:active {
  background-color: #a34e2a;
  /* Even darker for the active state (clicked) */
  border-color: #a34e2a;
}

.btn-primary.btn-rfw-pri:focus {
  box-shadow: 0 0 0 0.25rem rgba(204, 102, 51, 0.5);
  /* Custom focus shadow to match */
}

/*******************************************************************************************************/
/* Device Specifications                                                                               */
/*******************************************************************************************************/
/* Custom styles for device specifications */
.specifications-container {
  font-family: Arial, sans-serif;
  color: #333;
}

.specifications-container h5 {
  color: #D7AE86;
  padding-bottom: 0.2rem;
  margin-bottom: 1rem;
  margin-top: 2rem;
  /* Increased space above section headings */
  border-bottom: 2px solid #D7AE86;
}

.specifications-container .spec-item {
  border-bottom: 1px dashed #ccc;
  padding: 0.5rem 0;
}

.specifications-container .spec-item:last-child {
  border-bottom: none;
  padding-bottom: 1rem;
  /* Increased space below the last item */
}

.specifications-container .spec-name {
  color: #666;
}

.specifications-container .spec-value {
  color: #666;
  text-align: left;
}

@media (max-width: 768px) {

  .spec-name,
  .spec-value {
    text-align: left;
    display: block;
  }
}

/*******************************************************************************************************/
/* RFW Table Style 1 - faint vertical borders                                                          */
/*******************************************************************************************************/
.rfw-table-sty1 .faint-border {
  border-right: 1px solid #f0f0f0;
  /* Light grey border */
}

.rfw-table-sty1 {
  border-collapse: collapse;
  width: 100%;
  /* To ensure the borders collapse into a single border */
}

.rfw-table-sty1 th,
.rfw-table-sty1 td {
  /* border-right: 1px solid #ddd; */
  border-right: 1px solid #E4C9AE;
  padding: 8px;
}

.rfw-table-sty1 th {
  text-align: center; /* Center-align the table header text */
  color: #CC6633;
}

.rfw-table-sty1 td {
  text-align: left; /* left-align the table data */
}

/* Remove right border for the last th and td in each row */
.rfw-table-sty1 th:last-child,
.rfw-table-sty1 td:last-child {
  border-right: none;
}

/* Specific Column Widths */
.rfw-table-sty1-spec-col {
  width: 75%;
}

.rfw-table-sty1-marketplaces-col {
  width: 25%;
}

/* Specification Card */
.rfw-table-sty1-spec-data-card {
  background-color: #f8f9fa;
  border: 1px solid #e9ecef;
  font-size: 0.9rem;
  line-height: 1.4;
}

/* Compact Image */
.rfw-table-sty1-img-thumbnail {
  border: none;
  max-width: 100%;
  height: auto;
}

/*******************************************************************************************************/
/* RF Connectors                                                                                       */
/*******************************************************************************************************/
.connector-type-header {
  background-color: #cc6633;
  color: white;
  font-weight: bold;
  text-align: center;
  padding: 0.5rem;
}

.connector-name {
  background-color: #939393;
  color: white;
  font-weight: bold;
  text-align: center;
  margin-bottom: 0;
}

.connector-image {
  height: 185px;
  /* Adjust the height of the connector images */
  width: auto;
  border: none;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.connector-link {
  display: inline-block;
  margin-right: 0.5rem;
}

.connector-link:after {
  content: '|';
  margin-left: 0.5rem;
}

.connector-link:last-child:after {
  content: '';
}

.connector-image-cell {
  text-align: center;
}

/*******************************************************************************************************/
/* RefDocs, RefLinks                                                                                   */
/*******************************************************************************************************/
.ref-box .fa-book-arrow-right {
  margin-right: 5px;
}


.ref-box .card-header {
  background-color: #D7AE86;
  color: #fff;
  font-weight: bold;
  text-align: left;
}

.ref-box .list-group-item {
  display: flex;
  align-items: center;
  padding: 0.75rem 1.25rem;
}

.ref-box .list-group-item i {
  margin-right: 10px;
}

.ref-box .list-group-item small {
  margin-left: 10px;
}

/* Adjustments for smaller screens */
@media (max-width: 768px) {
  .ref-box {
    width: auto;
    /* Full width on small screens */
    margin-right: 10px;
    /* Adjust margin for small screens */
    margin-left: 10px;
    /* Adjust margin for small screens */
  }

  .ref-box .list-group-item {
    padding: 0.5rem 1rem;
    flex-direction: column;
    align-items: flex-start;
  }

  .ref-box .list-group-item small {
    margin-left: 0;
    margin-top: 5px;
  }
}

/*******************************************************************************************************/
/* RFW Icons, Quicklinks                                                                               */
/*******************************************************************************************************/
/* .quicklink-box {
  margin-top: 20px;
  width: 500px;
} */

.quicklink-box .card-header {
  background-color: #336699;
  color: #fff;
  font-weight: bold;
}

.quicklink-box .list-group-item {
  background: none;
  display: flex;
  align-items: center;
  padding: 0.4rem 1.25rem;
}

.quicklink-box .list-group-item i {
  margin-right: 10px;
}

.quicklink-box .fa-circle-info {
  margin-right: 5px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .quicklink-box {
    width: auto;
    /* Full width on small screens */
    margin-right: 10px;
    /* Adjust margin for small screens */
    margin-left: 10px;
    /* Adjust margin for small screens */
  }

  .quicklink-box .list-group-item {
    padding: 0.3rem 1rem;
    flex-direction: column;
    align-items: flex-start;
  }
}


.rfw_icons {
  display: block;
  padding: 5px 5px 5px 40px;
  /* Increase left padding to 40px make space for the background image */
  color: #424689;
  text-decoration: none;
  background-size: 18px 18px;
  /* Adjust the size of the background image as necessary - was 18px 18px */
  background-position: left 10px center;
  /* Adjust the position of the background image */
  background-repeat: no-repeat;
  transition: background-color 0.3s ease;
  white-space: nowrap;
  /* Prevent text from wrapping */
}

.rfw_icon {
  background-repeat: no-repeat;
  background-position: left center;
  background-size: 18px 18px;
}

.rfw-kth-zoomable-image {
  cursor: pointer;
  transition: transform 0.2s ease-in-out;
}

.rfw_icons:hover {
  background-color: #f0f0f0;
}

.rfw_icon_warning {
  background-image: url('https://cdn.rfwel.com/media/public/static/core/images/icon_exclamation.gif');
}

.rfw_icon_pdf {
  background-image: url('https://cdn.rfwel.com/media/public/static/core/images/icon_pdf.gif');
}

.rfw_icon_cart {
  background-image: url('https://cdn.rfwel.com/media/public/static/core/images/icon_cart.gif');
}

.rfw_icon_engdrwng {
  background-image: url('https://cdn.rfwel.com/media/public/static/core/images/icon-engdrwng-18x18.gif');
}

.rfw_icon_solar {
  background-image: url('https://cdn.rfwel.com/media/public/static/core/images/icon_solar.gif');
}

.rfw_icon_power {
  background-image: url('https://cdn.rfwel.com/media/public/static/core/images/icon_power.gif');
}

.rfw_icon_video {
  background-image: url('https://cdn.rfwel.com/media/public/static/core/images/button_video.gif');
}

.rfw_icon_manual {
  background-image: url('https://cdn.rfwel.com/media/public/static/core/images/icon_manual.gif');
}

.rfw_icon_rssi {
  background-image: url('https://cdn.rfwel.com/media/public/static/core/images/icon_signalstrength.gif');
}

.rfw_icon_link {
  background-image: url('https://cdn.rfwel.com/media/public/static/core/images/icon_link.gif');
}

.rfw_icon_tick {
  background-image: url('https://cdn.rfwel.com/media/public/static/core/images/16tick.png');
}

.rfw_icon_forums {
  background-image: url('https://cdn.rfwel.com/media/public/static/core/images/icon_forums3.gif');
}

.rfw_icon_wireless {
  background-image: url('https://cdn.rfwel.com/media/public/static/core/images/icon_wireless.gif');
}

.rfw_icon_info {
  background-image: url('https://cdn.rfwel.com/media/public/static/core/images/icon_info_16x.png');
}

.rfw_icon_stats {
  background-image: url('https://cdn.rfwel.com/media/public/static/core/images/icon_stats.gif');
}

.rfw_icon_support {
  background-image: url('https://cdn.rfwel.com/media/public/static/core/images/icon-support-19x19.gif');
}

.rfw_icon_info2 {
  background-image: url('https://cdn.rfwel.com/media/public/static/core/images/icon-info-16x16.gif');
}

.rfw_icon_automotive {
  background-image: url('https://cdn.rfwel.com/media/public/static/core/images/icon_dinga_16x16.gif');
}

.rfw_icon_residential {
  background-image: url('https://cdn.rfwel.com/media/public/static/core/images/icon_digz.jpg');
}

.rfw_icon_ant {
  background-image: url('https://cdn.rfwel.com/media/public/static/core/images/icon_antenna_16x16.jpg');
}

.rfw_icon_search {
  background-image: url('https://cdn.rfwel.com/media/public/static/core/images/icon_magnifier.gif');
}

.rfw_icon_bundle {
  background-image: url('https://cdn.rfwel.com/media/public/static/core/images/icon_multiorder_shipping_16x16.gif');
}

.rfw_icon_question {
  background-image: url('https://cdn.rfwel.com/media/public/static/core/images/icon_question.gif');
}

.rfw_icon_legacy {
  background-image: url('https://cdn.rfwel.com/media/public/static/core/images/icon_legacy_prods.gif');
}

.rfw_icon_news {
  background-image: url('https://cdn.rfwel.com/media/public/static/core/images/icon_new2.gif');
}

.rfw_icon_contactus {
  background-image: url('https://cdn.rfwel.com/media/public/static/core/images/icon_phone.jpg');
}

.rfw_icon_content {
  background-image: url('https://cdn.rfwel.com/media/public/static/core/images/icon_content.gif');
}

/*******************************************************************************************************/
/* Related Products                                                                                    */
/*******************************************************************************************************/
.relprod-details-container {
  display: none;
  /* Hidden by default; will be shown when the corresponding link is clicked */
  padding: 15px;
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 5px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
}

.relprod-additional-content {
  display: none;
  /* Hidden by default; shown when "Show More" is clicked */
}

.relprod-section-header {
  background-color: #f4f4f4;
  padding: 10px;
  margin-top: 20px;
  border-radius: 5px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.relprod-table {
  margin-top: 10px;
  margin-bottom: 20px;
}

.relprod-section-header h2 {
  margin: 0;
  font-size: 1.5rem;
  color: #333;
}

/*******************************************************************************************************/
/* AI Banner Images                                                                                   */
/*******************************************************************************************************/
.ai-banner-container .ai-banner-card {
  border: none;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  /* Ensure that child elements stretch to the full width */
}

.ai-banner-container .ai-banner-card-img-top {
  width: 100%;
  height: auto;
  display: block;
  /* Remove any default inline spacing */
}

.ai-banner-container .ai-banner-card-body {
  flex-grow: 1;
  padding: 0;
  /* Remove padding to allow children to expand to the edge */
  display: flex;
  flex-direction: column;
}

.ai-banner-container .ai-banner-card-title,
.ai-banner-card-body p {
  padding: 0.375rem 1.25rem;
  /* Apply padding directly to children */
}

.ai-banner-container .ai-banner-card-title {
  background-color: #999999;
  color: #ffffff;
  padding: 0.375rem 1.25rem;
  margin: 0;
  /* Removes any default margin */
  display: flex;
  /* Enables flexbox within the title */
  align-items: center;
  /* Centers the title text vertically */
  justify-content: center;
  /* Centers the title text horizontally */
  height: 50px;
  /* Sets a fixed height for the title */
  overflow: hidden;
  /* Prevents text from overflowing */
}

.ai-banner-container .ai-banner-card-body p {
  color: #333;
  background-color: #f8f9fa;
  /* Move the description's background color here */
  flex-grow: 1;
  /* Make the description take up the available space */
  margin-bottom: 0;
  /* Remove default margin at the bottom */
}

.ai-banner-container .row {
  margin-bottom: 40px;
  /* Add margin between rows */
}

.ai-banner-container a {
  text-decoration: none;
}

/*******************************************************************************************************/
/* AI Cards                                                                                          */
/*******************************************************************************************************/
.ai-card {
  border: none;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  /* Ensure that child elements stretch to the full width */
}

.ai-card-img-top {
  width: 100%;
  height: auto;
  display: block;
  /* Remove any default inline spacing */
}

.ai-card-body {
  flex-grow: 1;
  padding: 0;
  /* Remove padding to allow children to expand to the edge */
  display: flex;
  flex-direction: column;
}

.ai-card-title,
.ai-card-body p {
  padding: 0.375rem 1.25rem;
  /* Apply padding directly to children */
}

.ai-card-title {
  background-color: #999999;
  color: #ffffff;
  padding: 0.375rem 1.25rem;
  margin: 0;
  /* Removes any default margin */
  display: flex;
  /* Enables flexbox within the title */
  align-items: center;
  /* Centers the title text vertically */
  justify-content: center;
  /* Centers the title text horizontally */
  /*height: 50px;*/
  /* Sets a fixed height for the title */
  overflow: hidden;
  /* Prevents text from overflowing */
}

.ai-card-body p {
  color: #333;
  background-color: #f8f9fa;
  /* Move the description's background color here */
  flex-grow: 1;
  /* Make the description take up the available space */
  margin-bottom: 0;
  /* Remove default margin at the bottom */
}

/*******************************************************************************************************/
/* Download Button                                                                                     */
/*******************************************************************************************************/
.download-button {
  display: inline-block;
  padding: 10px 20px;
  background-color: #CC6633;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s, color 0.3s, cursor 0.3s;
  border: 2px solid #CC6633;
  text-align: center;
  white-space: nowrap;
}

.download-button-container {
  text-align: center;
}

.download-button:hover {
  background-color: white;
  color: #CC6633;
  cursor: pointer;
}

.download-button i {
  margin-right: 5px;
  color: white;
  transition: color 0.3s;
}

.download-button:hover i {
  color: #CC6633;
}

/*******************************************************************************************************/
/* Content References                                                                                  */
/*******************************************************************************************************/
.content-refs-card-tit {
  font-size: 1.5rem;
  font-weight: bold;
}

/*******************************************************************************************************/
/* Muted Custom Link                                                                                   */
/*******************************************************************************************************/
a.muted-custom-link {
  font-size: 0.875rem;
  text-decoration: none; /* Remove underline */
  color: #6c757d;
}

a.muted-custom-link:hover {
  color: #007bff !important;
  text-decoration: none;
}

/*******************************************************************************************************/
/* Rfwel AI Automation Custom Styles */                                                                                  */
/*******************************************************************************************************/

/* Badge styles */
.rfw-ai-badge-chip {
  height: 40px;;
}


/* Section heading styles */
.rfw-ai-section-heading {
  color: #D7AE86;
  margin-top: 1.5rem;
  margin-bottom: 1rem;
  font-size: 1.1rem;
  font-weight: 600;
}

/* Banner ad styles */
.rfw-ai-legal-banner {
  background-color: #ffffff;
  border-left: 4px solid #cc6633;
  border-radius: 5px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  margin: 2rem 0;
  overflow: hidden;
}

.rfw-ai-legal-banner-content {
  padding: 1.5rem;
}

.rfw-ai-legal-banner-title {
  font-size: 1.25rem;
  font-weight: bold;
  margin-bottom: 0.75rem;
  color: #333333;
}

.rfw-ai-legal-banner-subtitle {
  font-size: 1rem;
  margin-bottom: 1.25rem;
  line-height: 1.5;
  color: #555555;
}

.rfw-ai-cta-button {
  display: inline-block;
  background-color: #cc6633;
  color: #fff;
  font-weight: 600;
  padding: 0.625rem 1.5rem;
  border-radius: 4px;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  text-align: center;
}

.rfw-ai-cta-button:hover {
  background-color: #b85a2d;
  color: #fff;
  text-decoration: none;
}

.rfw-ai-cta-button i {
  margin-right: 0.5rem;
}