body {
/* background-color: red !important; */
}

.md-tabs{

}

.md-main__inner {
  margin-left: 5%;
  margin-right: 5%;
}
.header-social {
    min-width: 20em;
    overflow-y:hidden;
    /* CSS Isn't my thing. Sue me. */
    margin-top: 12px;    
    text-align: right;
}

.md-container{
   
}
.md-main{

}

.md-grid{
    max-width: 100%;
}
/* Adjust the site title/logo to ensure it stays on the left */
.md-header__title {
  order: 1; /* Ensures it comes before search */
  flex-grow: 0; /* Prevent it from taking up extra space */
}
/* Target the search component in the header */
.md-header__option.md-header__option--search {
  /* Remove any default margins that might push it left */
  margin-left: auto; /* Pushes this element as far right as possible */
  order: 2; /* Ensures it comes after the site title/logo if they are order 1 */
}

/* Style for the wrapper around the link and tooltip */
.ebay-affiliate-wrapper {
  position: relative; /* Allows absolute positioning of the tooltip relative to this wrapper */
  display: inline-block; /* Ensures the wrapper only takes up as much width as its content */
  cursor: help; /* Changes cursor to indicate a tooltip */
}

/* Style for the actual affiliate link text */
.ebay-affiliate-link {
  font-weight: bold;
  color: #e53e3e; /* A strong red color */
  text-decoration: underline dotted; /* Add a dotted underline */
}

.ebay-affiliate-link:hover {
  background-color: #ffe0b2; /* Light orange background on hover */
  color: #c0392b; /* Darker red on hover */
}

/* Style for the custom tooltip box */
.ebay-affiliate-tooltip {
  visibility: hidden; /* Hidden by default */
  opacity: 0; /* Fully transparent by default */
  width: 300px; /* Adjust width as needed */
  background-color: #333; /* Dark background for the tooltip */
  color: #fff; /* White text color */
  text-align: left;
  border-radius: 6px;
  padding: 10px;
  position: absolute;
  z-index: 1000; /* Ensure it appears above other content */
  bottom: 125%; /* Position above the link */
  left: 50%;
  margin-left: -150px; /* Center the tooltip horizontally */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Subtle shadow */
  transition: opacity 0.3s, visibility 0.3s; /* Smooth transition for appearance */
  font-size: 0.85em; /* Slightly smaller font size for tooltip text */
  line-height: 1.4;
}

/* Tooltip arrow (optional, but makes it look nicer) */
.ebay-affiliate-tooltip::after {
  content: "";
  position: absolute;
  top: 100%; /* At the bottom of the tooltip */
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #333 transparent transparent transparent; /* Arrow pointing down */
}

/* Tooltip Title */
.ebay-affiliate-tooltip .tooltip-title {
  display: block; /* Make it a block element */
  font-weight: bold;
  margin-bottom: 5px;
  padding-bottom: 5px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2); /* Separator line */
  color: #ffcc00; /* A distinct color for the title */
}

/* Show the tooltip on hover */
.ebay-affiliate-wrapper:hover .ebay-affiliate-tooltip {
  visibility: visible;
  opacity: 1;
}