@font-face {
  font-family: 'YSOFT font';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(https://1617882505.rsc.cdn77.org/ysoft_regular_1.5-webfont.woff2) format('woff2');
}
:root {
--font-family-headline: 'YSOFT font', Arial, Helvetica, sans-serif;
}
.header {
  border: 0px !important;
}
.header-links a {
  font-size: 16px !important;
  font-family: var(--font-family-headline) !important;
}
.banner {
  background-image: none !important;
  padding-top: 3rem;
  padding-bottom: 4rem;
}
.banner h1 {
  font-weight: bold;  
}
.tile-title {
  font-family: var(--font-family-headline);
  hyphens: none;
}
code {
  background-color: inherit !important;
}
.footer {
  text-align: center !important;
  min-height: 76px !important;
}
.tile:has(a[href*="/docs/latest/safeq-cloud"]) .tile-image {
    content: url('https://1617882505.rsc.cdn77.org/documentation-logos/SQCDSAFEQCloud.png');
}
.tile:has(a[href*="/api/latest/safeq-cloud"]) .tile-image {
    content: url('https://1617882505.rsc.cdn77.org/documentation-logos/SQCDSAFEQCloudAPI.png');
}
/* SQ6 dropdown container */
.sq6-doc-download-dropdown {
    position: relative;
    cursor: pointer;
    display: inline-block;
}
/* The clickable summary button */
.sq6-doc-download-dropdown summary {
    list-style: none; /* Removes the default arrow */
    background-color: #f26522;
    color: white;
    padding: 8px 16px;
    border-radius: 4px;
    font-weight: 600;
    min-width: 240px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    white-space: nowrap;
    outline: none;
    gap: 10px;
}
/* Hide the default marker for Webkit browsers */
.sq6-doc-download-dropdown summary::-webkit-details-marker {
    display: none;
}
.dropdown-label {
    flex-grow: 1; /* Helps push the icon to the very end */
}
/* The dropdown menu container */
.sq6-doc-download-dropdown .dropdown-content {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    width: 220px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    z-index: 9999;
    overflow: hidden;
    margin-top: 5px;
}
/* Update: Individual rows are now <a> tags */
.dropdown-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.2s;
    text-decoration: none; /* Remove underline from the whole row */
    color: inherit; /* Keep text colors as defined */
}
.dropdown-item:last-child {
    border-bottom: none;
}
.dropdown-item:hover {
    background-color: #f9f9f9;
}
.version-text {
    font-size: 14px;
    color: #333;
}
/* The "Download" label styling */
.dl-link {
    opacity: 0;
    color: #f26522;
    text-decoration: underline; /* Keep underline only on the word "Download" */
    font-size: 13px;
    font-weight: 600;
    transition: opacity 0.2s;
}
/* Show the label when the user hovers anywhere on the row */
.dropdown-item:hover .dl-link {
    opacity: 1;
}