/* Font Changes */
p,h1,h2,h3,h4,th,td,a,body {
  font-family: "Inter", sans-serif;
}
mark {
    background-color: #09b5ff;
  }
/* Adjust overall site height */
.wrapper {
    display: flex;
    flex-direction: column;
	min-height: 103vh;
}
/* Adjust site width */
.container {
    max-width: 100rem;
    padding: 0;
    margin-right: auto;
    margin-left: auto;
}
.flex {
  display: flex;
}
.gdoc-page {
	flex: 1;
    padding: 1rem 2rem 0rem 0rem;
	flex-grow: 1;
}

/* ========== SITENAV (DOCS NAV BAR) STYLES ========== */
/* Site Nav Bar */
.docshome {
  flex: 1;
  float: left;
  color: black;
}
.docshome a,
.docshome a:visited {
  color: black;
  font-size: xx-large;
  font-weight: 600;
}
.docshome a:hover {
  color: #0095d5;
}
.docs-load-button {
	background: #23afe4;
	color: white;
	cursor: pointer;
	width: 3rem;
	height: 2rem;
	font-weight: bold;
	border: 0px;
	margin: 0 13px 0 13px;
}
.docs-load-button[disabled] {
	background: #23afe4;
	color: rgba(128, 128, 128, 0.5);
	pointer-events: none;
}
#docssearch {
	display: flex;
	float: right;
	justify-content:center;
	align-items:center;
	padding-left: 1rem;
}
#docssearch [disabled]{
	color: rgba(128, 128, 128, 0.5);
	pointer-events: none;
}
#docssearchbutton {
	color: white;
	background: #23afe4;
}
.truenas-navmenudropdown {
    display: none;
    position: absolute;
	color: white;
    background-color: #0095d5;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 10;
}
/* Normalize link-based dropdown items to behave like the divs */
.truenas-navmenudropdown a.truenas-dropdown-item {
  text-decoration: none;   /* remove underline */
  color: inherit;          /* use same base color as div items */
}

.truenas-navmenudropdown a.truenas-dropdown-item:visited {
  color: inherit;          /* prevent purple visited */
}

.truenas-navmenudropdown a.truenas-dropdown-item:hover {
  text-decoration: none;   /* keep underline off */
  color: #bbb;             /* match div hover color */
}
.truenas-dropdown-item {
  cursor: pointer;
  font-family: "din-2014";
  font-size: 17px;
  font-weight: 500;
  color: white;
  padding: 12px 16px;
  text-decoration: none;
  display: table;
}
.truenas-dropdown-item:hover {
  color: #bbb;
}
.truenas-docs-menuitem:hover .truenas-navmenudropdown {display: block;}
.truenas-docs-menuitem:hover .truenas-docsnav-menubutton {background-color: #0e0e0e;color:#31beec;}

.sidebar-fixed {
    position: sticky;
    top: 0;
    margin-top: 0.5em;
    margin-bottom: 1.5em;
}

/* Webkit (Safari and Chrome) */
.sidebar-fixed::-webkit-scrollbar {
    width: 4px;
}
.sidebar-fixed::-webkit-scrollbar-thumb {
    background: var(--accent-color);
}
.sidebar-fixed::-webkit-scrollbar-track {
    background: transparent;
}
/* Docsnav Search Buttons (Split Design) */
.docsnav-search-container {
    display: flex;
    gap: 2px;
    margin-left: 10px;
    margin-right: 10px;
}

.docsnav-search-btn {
    background-color: #0095d5;
    color: white;
    border: none;
    padding: 8px 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
}

.docsnav-search-left {
    border-radius: 15px 0 0 15px;
}

.docsnav-search-right {
    border-radius: 0 15px 15px 0;
}

.docsnav-search-btn:hover {
    background-color: #007ab8;
}

.docsnav-search-btn:active {
    background-color: #006094;
}

.docsnav-search-btn i {
    font-size: 16px;
}
/* Sticky top menu */
.sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 5;
    margin: 0 auto;
    padding: .5rem 1rem .5rem 1rem;
	box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
	background: white;
	width: 100%;
}
.stickyelement {
    max-width: 100rem;
	margin: 0 auto;
	padding: .5rem 1rem 0rem 1rem;
}
#sitenav {
	display:flex;
	flex-wrap:wrap;
	justify-content:center;
	align-items:center;
	gap: 1rem;
}
/* At mobile breakpoint, align hamburger to left */
@media screen and (max-width: 68rem) {
	#sitenav {
		justify-content: space-between;
	}
}
.docsnav {
	display:flex;
	flex-wrap:wrap;
	padding-top:.5rem;
	justify-content:center;
	align-items:center;
	margin: 0 auto;
}
/* Override inline float:right on truenas-menubar and make it display items horizontally */
.docsnav .truenas-menubar {
	float: none !important;
	display: flex !important;
	align-items: center !important;
	gap: 10px !important;
	flex-wrap: nowrap !important;
}
.truenas-docsnav-menubutton {
    background-color: white;
    padding: 13px 0 13px 0;
    border: none;
    font-family: "din-2014";
	font-size: 18px;
    font-weight: bold;
}
#productButton {
	display: inline-block;
}
#productButton,
#productDropdown {
	width: 12rem;
	text-align: center;
}
#versionButton {
	display: inline-block;
}
#versionButton,
#versionDropdown {
	width: 7rem;
	text-align: center;
}
.truenas-docsnav-menuitem:hover .truenas-docsnav-menubutton,
.truenas-navmenudropdown:hover + .truenas-docsnav-menubutton {
  color: white;
  background: #0095d5;
}
.truenas-docsnav-menubutton[disabled] {
	color: rgba(128, 128, 128, 0.5);
	pointer-events: none;
}
.truenas-column-header {
	color: #0095D5;
	font-weight: bold;
    margin-bottom: 0;
}
#docsnav-intro {
	padding-right: 2px;
	font-size: 18px;
	font-weight: bold;
}
.gdoc-header__link {
    float:left;
}
.menubar-link {
	padding-right: 1.5rem;
}
@media screen and (max-width:800px) {
	.docshome {
		text-align: center;
	}
	#gdoc-color-theme {
		flex:1;
	}
}
/* Adjust Nav sidebar */
.gdoc-nav {
	flex: 0 0 17rem;
}
@media screen and (max-width: 68rem) {
    .gdoc-nav {
        margin-left:-18rem;
        font-size: 16px;
        margin-top: 2em;
    }
    .toc-panel {
        margin-top: 4em;
    }
    .gdoc-nav__control {
        display: inline-block;
    }
	#menu-control:checked~main .gdoc-nav nav,#menu-control:checked~main .gdoc-page {
        transform: translateX(18rem)
    }
    #menu-control:checked~main .gdoc-page {
        opacity: .25
    }
    #menu-control:checked~.gdoc-header .gdoc-nav__control svg.gdoc-icon.gdoc_menu {
        display: none
    }
    #menu-control:checked~.gdoc-header .gdoc-nav__control svg.gdoc-icon.gdoc_arrow_back {
        display: inline-block
    }
    #menu-header-control:checked~.gdoc-header .gdoc-brand {
        display: none
    }
    #menu-header-control:checked~.gdoc-header .gdoc-menu-header__items {
        display: flex
    }
    #menu-header-control:checked~.gdoc-header .gdoc-menu-header__control svg.gdoc-icon.gdoc_keyboard_arrow_left {
        display: none
    }
}
.gdoc-nav nav {
    padding: 0.5rem .25rem 1rem 1rem;
}
.gdoc-nav nav section {
	margin-top: 0;
}
.gdoc-nav__entry, .gdoc-language__entry {
	font-weight: 250;
}
.gdoc-page {
	flex: 1;
    padding: 1rem 1.5rem 0rem 2.25rem;
}
/* Add right sidebar for page TOCs */
.sidebar-right {
    flex: 0 0 16rem;
    width: 0;
}
.sidebar-right__control {
    display: none;
    position: absolute;
    right: 0;
    padding: 0 1rem 0 1rem;
    cursor: pointer;
}
.toc-panel {
    position: absolute;
    overflow-y: auto;
    padding: 1rem 1rem 1rem 0rem;
    font-size: 14px;
    background-color: var(--body-background);
    scrollbar-width: thin;
}
.toc-fixed {
    position: fixed;
    top: 0;
}
@media screen and (max-width: 68rem) {
    .sidebar-right {
        transition: transform 0.3s ease;
        transform: translateX(100%);
        display: none;
        position: fixed;
        right: 10rem;
    }
    .sidebar-right__control {
        display: none !important;
    }
    .toc-panel {
        width: 12rem;
        padding-left: .5rem;
        transition: top 0.2s ease-in-out;
        will-change: top;
    }
}
/* End sitenav styles */
/* ========== END SITENAV STYLES ========== */

/* ========== TRUENAS HEADER & FOOTER STYLES ========== */

/* Reset any positioning - let TrueNAS header scroll naturally */
#TrueNASHeader {
  position: relative;
  z-index: 1000 !important;
  background-color: #ffffff;
  border-bottom: 2px solid #31beec;
  padding: 8px 0;
}

/* Dark mode for TrueNAS top header */
[color-mode="dark"] #TrueNASHeader {
  background: linear-gradient(90deg, #002637 0%, #002637 60%, #000000 100%) !important;
  color: #ffffff !important;
}

[color-mode="dark"] #TrueNASHeader a {
  color: #ffffff !important;
}

/* Menu buttons and links */
[color-mode="dark"] #TrueNASHeader .truenas-menubutton {
  color: #ffffff !important;
}

[color-mode="dark"] #TrueNASHeader .truenas-menubutton:hover {
  color: #31beec !important;
}

[color-mode="dark"] #TrueNASHeader .truenas-menuitem-link {
  color: #ffffff !important;
}

[color-mode="dark"] #TrueNASHeader .truenas-menuitem-link:hover {
  color: #31beec !important;
}

[color-mode="dark"] #TrueNASHeader .truenas-menuitem-text b,
[color-mode="dark"] #TrueNASHeader .truenas-menuitem-text p {
  color: #ffffff !important;
}

[color-mode="dark"] #TrueNASHeader .truenas-menuitem-link:hover .truenas-menuitem-text b,
[color-mode="dark"] #TrueNASHeader .truenas-menuitem-link:hover .truenas-menuitem-text p {
  color: #31beec !important;
}

/* Dropdown menus */
[color-mode="dark"] #TrueNASHeader .truenas-menudropdown {
  background-color: #1b1f22 !important;
  border-color: #31beec !important;
}

[color-mode="dark"] #TrueNASHeader .truenas-menudropdown a {
  color: #ffffff !important;
}

[color-mode="dark"] #TrueNASHeader .truenas-menudropdown a:hover {
  color: #31beec !important;
  background-color: transparent !important;
}

[color-mode="dark"] #TrueNASHeader .truenasdownload-menudropdown {
  background-color: #1b1f22 !important;
  border-color: #31beec !important;
}

/* Support button and links */
[color-mode="dark"] #TrueNASHeader .truenas-supportbutton {
  color: #ffffff !important;
}

[color-mode="dark"] #TrueNASHeader .truenas-supportbutton:hover {
  color: #31beec !important;
}

/* Edition buttons - ensure proper colors in dark mode */
[color-mode="dark"] #TrueNASHeader .truenas-edition-buttons .truenas-edition-button:first-child {
  background-color: #71bf44 !important;
}

[color-mode="dark"] #TrueNASHeader .truenas-edition-buttons .truenas-edition-button:first-child:hover {
  background-color: #0095d5 !important;
}

[color-mode="dark"] #TrueNASHeader .truenas-edition-buttons .truenas-edition-button:last-child {
  background-color: #0095d5 !important;
}

[color-mode="dark"] #TrueNASHeader .truenas-edition-buttons .truenas-edition-button:last-child:hover {
  background-color: #71bf44 !important;
}

/* Automatic dark mode detection (for when color-mode is "auto") */
@media (prefers-color-scheme: dark) {
  #TrueNASHeader {
    background: linear-gradient(90deg, #002637 0%, #002637 60%, #000000 100%) !important;
    color: #ffffff !important;
  }

  #TrueNASHeader a {
    color: #ffffff !important;
  }

  #TrueNASHeader .truenas-menubutton {
    color: #ffffff !important;
  }

  #TrueNASHeader .truenas-menubutton:hover {
    color: #31beec !important;
  }

  #TrueNASHeader .truenas-menuitem-link {
    color: #ffffff !important;
  }

  #TrueNASHeader .truenas-menuitem-link:hover {
    color: #31beec !important;
  }

  #TrueNASHeader .truenas-menuitem-text b,
  #TrueNASHeader .truenas-menuitem-text p {
    color: #ffffff !important;
  }

  #TrueNASHeader .truenas-menuitem-link:hover .truenas-menuitem-text b,
  #TrueNASHeader .truenas-menuitem-link:hover .truenas-menuitem-text p {
    color: #31beec !important;
  }

  #TrueNASHeader .truenas-menudropdown {
    background-color: #1b1f22 !important;
    border-color: #31beec !important;
  }

  #TrueNASHeader .truenas-menudropdown a {
    color: #ffffff !important;
  }

  #TrueNASHeader .truenas-menudropdown a:hover {
    color: #31beec !important;
    background-color: transparent !important;
  }

  #TrueNASHeader .truenasdownload-menudropdown {
    background-color: #1b1f22 !important;
    border-color: #31beec !important;
  }

  #TrueNASHeader .truenas-supportbutton {
    color: #ffffff !important;
  }

  #TrueNASHeader .truenas-supportbutton:hover {
    color: #31beec !important;
  }

  #TrueNASHeader .truenas-edition-buttons .truenas-edition-button:first-child {
    background-color: #71bf44 !important;
  }

  #TrueNASHeader .truenas-edition-buttons .truenas-edition-button:first-child:hover {
    background-color: #0095d5 !important;
  }

  #TrueNASHeader .truenas-edition-buttons .truenas-edition-button:last-child {
    background-color: #0095d5 !important;
  }

  #TrueNASHeader .truenas-edition-buttons .truenas-edition-button:last-child:hover {
    background-color: #71bf44 !important;
  }
}

/* Explicit light mode override - must come after media query to override browser preference */
:root[color-theme=light] #TrueNASHeader {
  background: #ffffff !important;
  color: #000000 !important;
}

:root[color-theme=light] #TrueNASHeader a {
  color: inherit !important;
}

:root[color-theme=light] #TrueNASHeader .truenas-menubutton {
  color: #000000 !important;
}

:root[color-theme=light] #TrueNASHeader .truenas-menubutton:hover {
  color: #0095d5 !important;
}

:root[color-theme=light] #TrueNASHeader .truenas-menuitem-link {
  color: #000000 !important;
}

:root[color-theme=light] #TrueNASHeader .truenas-menuitem-link:hover {
  color: #0095d5 !important;
}

:root[color-theme=light] #TrueNASHeader .truenas-menuitem-text b,
:root[color-theme=light] #TrueNASHeader .truenas-menuitem-text p {
  color: #000000 !important;
}

:root[color-theme=light] #TrueNASHeader .truenas-menuitem-link:hover .truenas-menuitem-text b,
:root[color-theme=light] #TrueNASHeader .truenas-menuitem-link:hover .truenas-menuitem-text p {
  color: #0095d5 !important;
}

:root[color-theme=light] #TrueNASHeader .truenas-menudropdown {
  background-color: #ffffff !important;
  border-color: #0095d5 !important;
}

:root[color-theme=light] #TrueNASHeader .truenas-menudropdown a {
  color: #000000 !important;
}

:root[color-theme=light] #TrueNASHeader .truenas-menudropdown a:hover {
  color: #0095d5 !important;
}

/* Ensure the header itself has proper stacking context */
#TrueNASHeader .gdoc-header {
  position: relative;
  z-index: 10001;
  background-color: transparent;
}

/* Make sure menu items create proper stacking context */
.truenas-menuitem {
  position: relative;
  z-index: 10002;
}

/* Reset Docsy navbar to normal behavior */
.td-navbar {
  margin-top: 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

/* Reset main content */
.td-main {
  margin-top: 0;
}

/* Media menu should only show on smaller screens */
.truenas-mediamenu {
  display: none;
}

@media screen and (max-width: 800px) {
  .truenas-mediamenu {
    display: block;
  }

  .truenas-menubar {
    display: none;
  }
}

/* Ensure consistent container sizing */
#TrueNASHeader .container {
  max-width: 100rem;
  margin: 0 auto;
  background: transparent;
}

/* Fix container layout */
#TrueNASHeader .container.linksrow {
  padding: 0.25rem 1rem; /* Minimal padding top and bottom */
}

#TrueNASHeader .container.truerow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 60px; /* Set row height to match reference site */
}

/* Ensure proper flex behavior for menubar (TrueNAS header only) */
#TrueNASHeader .truenas-menubar {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Group wrapper for dropdown menu buttons with pill border */
.truenas-menu-buttons-group {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1px solid #31beec;
  border-radius: 50px;
  padding: 5px;
}

/* WordPress-style menu buttons */
.truenas-menubutton {
  background-color: transparent;
  color: #2b2b2b;
  padding: 8px 16px;
  border: none;
  font-family: "Inter iX", Helvetica, Arial, Lucida, sans-serif;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: color 0.3s ease;
}

.truenas-menubutton:hover {
  color: #31beec;
}

/* Get In Touch button - simple styling */
.truenas-getintouch-button {
  background-color: transparent;
  color: #2b2b2b;
  padding: 13px 20px;
  border: none;
  font-family: "Inter iX", Helvetica, Arial, Lucida, sans-serif;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: color 0.3s ease;
}

.truenas-getintouch-button:hover {
  color: #31beec;
}

/* Get A Quote button - primary button with green wipe animation matching homepage */
.truenas-quote-button {
  background: transparent;
  border: 1px solid #0095d5;
  color: white;
  padding: 13px 30px;
  border-radius: 30px;
  margin-left: 10px;
  font-family: "Inter iX", Helvetica, Arial, Lucida, sans-serif;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.truenas-quote-button::after {
  content: '';
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  bottom: -1px;
  background: #0095d5;
  z-index: -2;
  border-radius: 30px;
}

.truenas-quote-button::before {
  content: '';
  position: absolute;
  top: -1px;
  left: -10%;
  width: 0;
  bottom: -1px;
  background: #71bf44;
  transition: width 0.25s ease;
  transform: skewX(-10deg);
  z-index: -1;
}

.truenas-quote-button:hover::before {
  width: 120%;
}

.truenas-quote-button:hover {
  border-color: #71bf44 !important;
  color: white !important;
}

/* WordPress-style dropdown menus */
.truenas-menudropdown {
  display: none;
  position: absolute;
  background-color: #ffffff;
  width: max-content;
  box-shadow: 0px 8px 24px 0px rgba(0,0,0,0.15);
  z-index: 10;
  top: 100%;
  left: 0;
  border-radius: 8px;
  padding: 1rem;
  border: 1px solid #e0e0e0;
}

/* Wide dropdown for Support & Resources */
.truenas-menudropdown-wide {
  min-width: 700px;
}

/* Prevent dropdowns from going off-screen on the right */
/* Right-align Support & Resources and Company dropdowns */
.truenas-menuitem:nth-last-child(-n+3) .truenas-menudropdown {
  left: auto;
  right: 0;
}

/* Products dropdown - position to avoid overflow */
.truenas-menuitem:first-child .truenas-menudropdown {
  left: 50%;
  transform: translateX(-50%);
  right: auto;
}

/* On narrower screens, shift it further left */
@media (max-width: 1200px) {
  .truenas-menuitem:first-child .truenas-menudropdown {
    left: auto;
    right: 1rem;
    transform: none;
  }
}

/* Dropdown link styling */
.truenas-menudropdown a {
  font-family: "Inter iX", Helvetica, Arial, Lucida, sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #2b2b2b;
  padding: 6px 10px;
  text-decoration: none;
  display: block;
  transition: color 0.3s ease;
}

.truenas-menudropdown a:hover {
  color: #31beec;
}

/* Menu item hover states */
.truenas-menuitem:hover .truenas-menudropdown {
  display: block;
}

.truenas-menuitem:hover .truenas-menubutton {
  color: #31beec;
}

/* Menu item links with images and text */
.truenas-menuitem-link {
  display: flex !important;
  align-items: center !important;
  gap: 0.75rem !important;
  text-decoration: none !important;
  color: #2b2b2b !important;
  max-width: 350px !important;
  line-height: 1.4 !important;
  padding: 8px 10px !important;
  font-family: "Inter iX", Helvetica, Arial, Lucida, sans-serif !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  transition: color 0.3s ease !important;
}

.truenas-menuitem-link img {
  width: 95px !important;
  height: auto !important;
  flex-shrink: 0 !important;
  margin-right: 0.5rem !important;
  vertical-align: middle !important;
}

.truenas-menuitem-link:hover {
  color: #31beec !important;
}

/* Ensure the text within menuitem-links also changes on hover */
.truenas-menuitem-link:hover .truenas-menuitem-text,
.truenas-menuitem-link:hover .truenas-menuitem-text b,
.truenas-menuitem-link:hover .truenas-menuitem-text p {
  color: #31beec !important;
}

/* Edition buttons container - side by side, same height */
.truenas-edition-buttons {
  display: flex !important;
  gap: 0 !important;
  margin-top: 0.5rem !important;
}

/* Edition buttons (Enterprise and Community) - button style */
.truenas-edition-button {
  display: flex !important;
  flex: 1 !important;
  align-items: flex-start !important;
  gap: 0.75rem !important;
  padding: 1rem !important;
  text-decoration: none !important;
  border-radius: 0 !important;
  transition: background-color 0.3s ease !important;
  font-family: "Inter iX", Helvetica, Arial, Lucida, sans-serif !important;
  min-height: 100px !important;
}

/* Enterprise button - green default, blue hover */
#TrueNASHeader .truenas-edition-buttons .truenas-edition-button:first-child {
  background-color: #71bf44 !important;
}

#TrueNASHeader .truenas-edition-buttons .truenas-edition-button:first-child:hover {
  background-color: #0095d5 !important;
}

/* Community button - blue default, green hover */
#TrueNASHeader .truenas-edition-buttons .truenas-edition-button:last-child {
  background-color: #0095d5 !important;
}

#TrueNASHeader .truenas-edition-buttons .truenas-edition-button:last-child:hover {
  background-color: #71bf44 !important;
}

.truenas-edition-button img {
  width: 80px !important;
  height: auto !important;
  flex-shrink: 0 !important;
}

.truenas-edition-button .edition-text {
  display: flex !important;
  flex-direction: column !important;
  gap: 0.25rem !important;
  text-align: left !important;
}

.truenas-edition-button .edition-title {
  font-size: 16px !important;
  font-weight: 600 !important;
  color: white !important;
  line-height: 1.3 !important;
}

.truenas-edition-button .edition-description {
  font-size: 14px !important;
  font-weight: 400 !important;
  color: rgba(0, 0, 0, 0.7) !important;
  line-height: 1.4 !important;
}

/* Column headers with gradient underline */
.truenas-column-header {
  color: #0095d5 !important;
  font-weight: 600 !important;
  font-family: "Inter iX", Helvetica, Arial, Lucida, sans-serif !important;
  margin-bottom: 0.5rem !important;
  padding: 0 12px !important;
  padding-top: 2rem !important;
  font-size: 16px !important;
  line-height: 1.2 !important;
  display: block !important;
}

/* Menu item columns layout */
.truenas-menuitem-columns {
  display: flex;
  gap: 0.5rem;
}

.truenas-menuitem-column {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.truenas-sub-columns {
  display: flex;
  gap: 1rem;
}

.truenas-sub-column {
  flex: 1;
}

/* Horizontal rule styling with gradient */
.truenas-menudropdown-hr {
  border: 0 !important;
  height: 3px !important;
  background: linear-gradient(90deg, #31beec 0%, #71bf44 100%) !important;
  margin: 0.5rem 0 1rem 0 !important;
  display: block !important;
  box-sizing: border-box !important;
}

/* Text styling */
.truenas-menuitem-text b {
  display: block;
  font-weight: 600;
  color: inherit;
}

.truenas-menuitem-text p {
  margin: 0;
  font-size: 14px;
  opacity: 0.7;
  color: inherit;
}

/* Media menu button styling */
.truenas-mediamenu .truenas-menubutton {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 8px 12px;
}

.truenas-mediamenu .truenas-menubutton img {
  width: 16px;
  height: 16px;
}

/* Media menu hover states */
.truenas-mediamenu:hover .truenas-menudropdown {
  display: block;
}

.truenas-mediamenu:hover .truenas-menubutton {
  background-color: black;
  color: white;
}

/* Fix logo display */
#TrueNASHeader .gdoc-brand__link {
  display: block !important;
  visibility: visible !important;
}

#TrueNASHeader .gdoc-brand__img {
  display: block !important;
  visibility: visible !important;
  width: 276px;
  height: auto;
  max-width: 276px;
  opacity: 1 !important;
}

#TrueNASHeader .flex.align-center {
  display: flex !important;
  align-items: center !important;
}

/* ===== TrueNAS Header Responsive Design ===== */

/* Default (Desktop) Styles - No changes needed for existing layout */

/* Dynamic logo sizing for all breakpoints */
.gdoc-brand__img {
  max-width: 184px; /* Set proportional width for 40px height */
  height: auto;
  width: auto;
  max-height: 40px; /* Reduced from 60px to match reference site */
  object-fit: contain; /* Maintain aspect ratio */
}

/* Hamburger menu - hidden by default */
.truenas-hamburger-menu {
  display: none;
  position: relative;
}

.truenas-hamburger-button {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 24px;
  padding: 0;
  margin-right: 1rem;
}

.hamburger-bar {
  width: 100%;
  height: 3px;
  background-color: #31beec;
  transition: all 0.3s ease;
}

.truenas-hamburger-menu .truenas-menudropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  border: 1px solid #e0e0e0;
  z-index: 1000;
  min-width: 250px;
  padding: 0.5rem 0;
}

.truenas-hamburger-menu .truenas-menudropdown a {
  display: block;
  padding: 12px 16px;
  color: #2b2b2b;
  text-decoration: none;
  font-family: "Inter iX", Helvetica, Arial, Lucida, sans-serif;
  font-size: 16px;
  font-weight: 500;
  transition: color 0.3s ease;
}

.truenas-hamburger-menu .truenas-menudropdown a:hover {
  color: #31beec;
  background-color: #f5f5f5;
}

/* Disabled - this was causing all menus to open on hover */
/* .truenas-hamburger-menu:hover .truenas-menudropdown {
  display: block !important;
  z-index: 10000 !important;
} */

/* ===== BREAKPOINT 2: TABLET SIZE ===== */
/* DISABLED - This breakpoint was causing unwanted layout wrapping */
/* @media screen and (max-width: 1200px) and (min-width: 769px) {
  #TrueNASHeader .container.truerow {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
} */

/* ===== BREAKPOINT: MOBILE MENU AT 1180px ===== */
@media screen and (max-width: 1180px) {
  /* Hide desktop menu buttons group */
  .truenas-menu-buttons-group {
    display: none !important;
  }

  /* Show hamburger menu in menubar (stays on right side) */
  .truenas-hamburger-menu {
    display: block;
  }

  /* Keep logo and menubar on same line - override 1200px breakpoint */
  #TrueNASHeader .container.truerow {
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
  }

  /* Mobile dropdown container - full width overlay */
  .truenas-mobile-dropdown {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ffffff;
    z-index: 10000;
    overflow-y: auto;
    padding: 20px 10px 10px;
  }

  .truenas-mobile-dropdown.active {
    display: flex;
    flex-direction: column;
  }

  /* Mobile menu columns container */
  .mobile-menu-columns {
    display: flex;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
  }

  .mobile-menu-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }

  /* Mobile menu section */
  .mobile-menu-section {
    position: relative;
  }

  .mobile-menu-title {
    display: block;
    color: #2b2b2b;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    padding: 12px 15px;
    border: none;
    background: none;
    text-align: left;
    width: 100%;
  }

  .mobile-menu-title i {
    float: right;
    transition: transform 0.3s ease;
  }

  .mobile-menu-section.expanded .mobile-menu-title i {
    transform: rotate(180deg);
  }

  /* Hide dropdowns by default */
  .mobile-menu-section .truenas-menudropdown {
    display: none !important;
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
    background-color: #ffffff !important;
    border: 1px solid #e0e0e0 !important;
    border-radius: 8px !important;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1) !important;
    padding: 1rem !important;
    margin: 0.5rem 0 1rem 0 !important;
    max-height: none !important;
    z-index: 10 !important;
  }

  /* Show dropdowns only when section is expanded */
  .mobile-menu-section.expanded .truenas-menudropdown {
    display: block !important;
  }

  /* Close button styling - simple X Close text, sticky at bottom */
  .mobile-menu-close {
    margin-top: auto;
    padding-top: 2rem;
    padding-bottom: 2rem;
    background-color: #ffffff;
    color: #666;
    border: none;
    font-size: 16px;
    font-weight: 400;
    cursor: pointer;
    text-align: center;
    font-family: "Inter iX", Helvetica, Arial, Lucida, sans-serif;
    position: sticky;
    bottom: 0;
  }

  .mobile-menu-close::before {
    content: "\00d7";
    font-size: 24px;
    margin-right: 8px;
    vertical-align: middle;
  }

  .mobile-menu-close:hover {
    color: #0095d5;
  }
}

  /* Adjust dropdown positioning for wrapped layout */
  .truenas-menudropdown,
  .truenasdownload-menudropdown {
    right: auto;
    left: 0;
  }
}

/* ===== BREAKPOINT 2.5: COMPACT TABLET (Emergency space-saving) ===== */
@media screen and (max-width: 950px) and (min-width: 769px) {
  /* Make Enterprise Support button icon-only to save space */
  .truenas-supportbutton {
    padding: 13px 15px 10px 15px; /* Reduce horizontal padding */
    min-width: auto;
  }

  /* Hide the text, keep only the icon */
  .truenas-supportbutton {
    font-size: 0; /* Hide text */
  }

  .truenas-supportbutton i {
    font-size: 16px; /* Restore icon size */
    margin: 0; /* Remove text spacing */
  }

  /* Add tooltip on hover to show what the button does */
  .truenas-supportbutton::after {
    content: "Enterprise Support";
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    background: #000;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
    z-index: 1000;
  }

  .truenas-supportbutton:hover::after {
    opacity: 1;
  }

  /* Ensure the menuitem has relative positioning for tooltip */
  .truenas-menuitem:last-child {
    position: relative;
  }
}

/* ===== BREAKPOINT 3: TABLET/MOBILE (768px) ===== */
@media screen and (max-width: 768px) {
  /* Hide Get A Quote button */
  .truenas-quote-button {
    display: none !important;
  }

  /* Keep hamburger on right side */
  .truenas-hamburger-menu {
    display: block;
  }

  /* Keep header layout: logo left, hamburger right */
  #TrueNASHeader .container.truerow {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  /* Responsive logo sizing */
  .gdoc-brand__img {
    max-width: 160px !important; /* Proportional to 35px height */
    width: auto !important;
    height: auto !important;
    max-height: 35px !important; /* Reduced from 50px */
    object-fit: contain !important;
  }

  /* Constrain mobile dropdown to viewport */
  .truenas-mobile-dropdown {
    padding: 15px 10px 10px !important;
    box-sizing: border-box !important;
  }

  .mobile-menu-columns {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Constrain dropdown menus to viewport width - stretch across full width */
  .mobile-menu-section .truenas-menudropdown {
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    width: calc(100vw - 20px) !important;
    max-width: calc(100vw - 20px) !important;
    margin-left: 10px !important;
    margin-right: 10px !important;
    overflow-x: hidden !important;
    box-sizing: border-box !important;
  }

  /* Anchor right column menus to the right */
  .mobile-menu-column:last-child .mobile-menu-section .truenas-menudropdown {
    left: auto !important;
    right: 0 !important;
    margin-left: 0 !important;
    margin-right: 10px !important;
  }

  .mobile-menu-section .truenas-menudropdown a,
  .mobile-menu-section .truenas-menudropdown .truenas-menuitem-link {
    white-space: normal !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
  }

  /* Allow text wrapping in menu items */
  .truenas-menuitem-text b,
  .truenas-menuitem-text p {
    white-space: normal !important;
    overflow-wrap: break-word !important;
  }

  /* Constrain columns */
  .truenas-menuitem-columns {
    max-width: 100% !important;
    overflow-x: hidden !important;
  }

  .truenas-menuitem-column {
    min-width: 0 !important;
    overflow-x: hidden !important;
  }

  /* Constrain images in dropdowns */
  .mobile-menu-section .truenas-menudropdown img {
    max-width: 60px !important;
  }
}

/* ===== BREAKPOINT 4: SMALL MOBILE (480px) ===== */
@media screen and (max-width: 480px) {
  /* Single column layout for mobile menu */
  .mobile-menu-columns {
    flex-direction: column !important;
    gap: 1rem !important;
  }

  .mobile-menu-column {
    width: 100% !important;
  }

  /* Reset positioning - center all menus in single column */
  .mobile-menu-section .truenas-menudropdown,
  .mobile-menu-column:last-child .mobile-menu-section .truenas-menudropdown {
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%) !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  /* Single column dropdowns */
  .mobile-menu-section .truenas-menudropdown .truenas-menuitem-columns {
    flex-direction: column !important;
  }

  .mobile-menu-section .truenas-menudropdown .truenas-menuitem-column {
    width: 100% !important;
  }

  /* Smaller logo on very small screens */
  .gdoc-brand__img {
    max-width: 138px !important; /* Proportional to 30px height */
    width: auto !important;
    height: auto !important;
    max-height: 30px !important; /* Reduced from 40px */
    object-fit: contain !important;
  }

  /* Reduce padding on mobile dropdown */
  .truenas-mobile-dropdown {
    padding: 15px 5px 5px !important;
  }

  /* Compact mobile menu titles */
  .mobile-menu-title {
    font-size: 16px !important;
    padding: 10px 12px !important;
  }

  /* Edition buttons single column */
  .truenas-edition-buttons {
    flex-direction: column !important;
  }
}

/* ===== ADDITIONAL RESPONSIVE ADJUSTMENTS ===== */
@media screen and (max-width: 480px) {
  /* Extra small mobile adjustments */
  .gdoc-brand__img {
    max-width: 150px;
  }

  .truenas-hamburger-menu .truenas-menudropdown {
    min-width: 220px;
    max-width: calc(100vw - 2rem);
  }

  #TrueNASHeader .container.truerow {
    padding-left: 2.5rem;
    padding-right: 1rem;
  }
}

/* Smooth transitions for all responsive changes */
.gdoc-brand__img,
.truenas-menubar,
.truenas-hamburger-menu {
  transition: all 0.3s ease;
}

/* ===== TRUENAS FOOTER STYLES (Converted from SCSS) ===== */

.gdoc-footer {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 16px;
  background-image: linear-gradient(90deg, #002637 0%, #000000 100%);
  color: white;
  margin-top: auto;
  z-index: 2;
  padding: 2rem 0;
  margin-left: calc(-1 * var(--bs-gutter-x, 1.5rem) * 0.5);
  margin-right: calc(-1 * var(--bs-gutter-x, 1.5rem) * 0.5);
  padding-left: calc(var(--bs-gutter-x, 1.5rem) * 0.5);
  padding-right: calc(var(--bs-gutter-x, 1.5rem) * 0.5);
}

@media (min-width: 992px) {
  .gdoc-footer {
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
  }
}

.gdoc-footer .footer-row {
  padding-left: 10%;
  padding-right: 10%;
  padding-bottom: 2rem;
}

.gdoc-footer__link {
  color: #31beec !important;
  text-decoration: none;
}

.gdoc-footer__link:visited {
  color: #31beec !important;
}

.gdoc-footer__link:hover {
  color: #71bf44 !important;
  text-decoration: none;
}

.footer-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  position: relative;
}

.footer-column {
  flex: 1;
  max-width: 25%;
}

.footer-column h2 {
  font-size: 1rem;
  font-weight: 400;
  margin-bottom: 1rem;
  margin-top: 0;
  color: white;
}

.footer-column a {
  color: #31beec !important;
  text-decoration: none;
}

.footer-column a:hover {
  color: #71bf44 !important;
  text-decoration: none;
}

.footer-column-last {
  border-right: none;
}

.footer-logo {
  max-width: 100%;
  width: 250px;
  height: auto;
  margin-bottom: 1.5rem;
  display: block;
}

.footer-address {
  margin-bottom: 1.5rem;
  line-height: 1.5;
  color: white;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 0.75rem;
}

.footer-contact-item .footer-icon-wrapper {
  width: 24px;
  display: flex;
  justify-content: center;
  margin-right: 10px;
}

.footer-contact-item .footer-icon-wrapper i {
  font-size: 1rem;
  color: white;
}

.footer-contact-item a {
  color: #31beec !important;
  text-decoration: none;
}

.footer-contact-item a:hover {
  color: #71bf44 !important;
  text-decoration: none;
}

.footer-list {
  list-style: none;
  line-height: 2em;
  margin: 0;
  padding: 0;
}

.footer-list li {
  margin: 0;
  padding: 0;
}

.footer-list a {
  color: #31beec !important;
  text-decoration: none;
}

.footer-list a:hover {
  color: #71bf44 !important;
  text-decoration: none;
}

.footer-button {
  display: block;
  background: transparent;
  color: white !important;
  padding: 10px 20px;
  text-decoration: none !important;
  border-radius: 50px;
  text-align: center;
  margin-bottom: 1.5rem;
  margin-left: auto;
  margin-right: auto;
  font-weight: 700;
  position: relative;
  overflow: hidden;
  border: none;
  z-index: 1;
  width: fit-content;
}

.footer-button::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #0095d5;
  z-index: -2;
  border-radius: 50px;
}

.footer-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -10%;
  width: 0;
  height: 100%;
  background: #71bf44;
  transition: width 0.25s ease;
  transform: skewX(-10deg);
  z-index: -1;
  border-radius: 50px;
}

.footer-button:hover {
  color: white !important;
  text-decoration: none !important;
}

.footer-button:hover::before {
  width: 120%;
}

.footer-button:visited {
  color: white !important;
}

.footer-column .footer-button {
  color: white !important;
}

.footer-column .footer-button:hover {
  color: white !important;
}

.footer-column .footer-button:visited {
  color: white !important;
}

.social-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  background: transparent;
}

.social-icon:hover {
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 10px 25px rgba(255,255,255,0.15);
}

.social-icon i {
  font-size: 20px;
  color: white;
  transition: all 0.3s ease;
}

.social-icon img {
  width: 20px;
  height: 20px;
  display: block;
  transition: all 0.3s ease;
}

.social-icon:hover i,
.social-icon:hover img {
  filter: brightness(1.2);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 10%;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom-left {
  flex: 1;
}

.footer-bottom-left span {
  font-size: 14px;
  color: white;
}

.footer-bottom-right {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-bottom-right a {
  font-size: 14px;
  color: #31beec !important;
  text-decoration: none;
}

.footer-bottom-right a:hover {
  color: #71bf44 !important;
  text-decoration: none;
}

@media (max-width: 1200px) {
  .footer-row {
    padding-left: 5%;
    padding-right: 5%;
  }

  .footer-column {
    padding: 0 1rem;
  }

  .footer-logo {
    max-width: 100%;
    width: 230px;
  }
}

@media (max-width: 1100px) {
  .footer-logo {
    max-width: 100%;
    width: 200px;
  }
}

@media (max-width: 980px) {
  .footer-row {
    flex-wrap: wrap;
    gap: 0;
  }

  .footer-column {
    flex: 0 0 calc(50% - 1rem);
    max-width: calc(50% - 1rem);
    padding: 0 0.5rem 2rem 0.5rem;
    margin: 0 0.5rem;
  }

  .footer-column:nth-child(1) {
    order: 1;
  }

  .footer-column:nth-child(2) {
    order: 2;
  }

  .footer-column:nth-child(3) {
    order: 3;
  }

  .footer-column:nth-child(4) {
    order: 4;
  }

  .social-row {
    justify-content: center;
  }

  .footer-bottom {
    flex-direction: column;
    padding: 1.5rem 5%;
    gap: 1rem;
  }

  .footer-bottom-left {
    text-align: center;
  }

  .footer-bottom-right {
    justify-content: center;
  }

  .footer-logo {
    max-width: 230px;
  }
}

@media (max-width: 600px) {
  .social-icon i {
    font-size: 18px;
  }

  .social-icon img {
    width: 18px;
    height: 18px;
  }
}

@media (max-width: 480px) {
  .footer-row {
    flex-direction: column;
  }

  .footer-column {
    flex: 0 0 100%;
    max-width: 100%;
    text-align: center;
    padding: 1rem 0;
  }

  .footer-column:nth-child(1),
  .footer-column:nth-child(2),
  .footer-column:nth-child(3),
  .footer-column:nth-child(4) {
    flex: 0 0 100%;
    max-width: 100%;
    order: initial;
  }

  .footer-column h2 {
    text-align: center;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .footer-bottom-left {
    text-align: center;
  }

  .footer-bottom-right {
    justify-content: center;
  }

  .footer-logo {
    max-width: 200px;
  }

  .footer-address {
    text-align: center;
  }

  .footer-contact-item {
    justify-content: center;
  }
}

/* ========== END TRUENAS HEADER & FOOTER STYLES ========== */

/* Styling images in the Topics Tab Boxes */
.topic-image {
    float:left;
    padding-right:20px;
    max-width: 25% !important;
}
/* Make Readtime and lastmod less visible */
.reading-time {
    opacity: 0.5;
}
/* Site directory for mobile browsing */
.truenas-mediamenu {
    display: none;
}
@media screen and (max-width:46rem) {
    .truenas-mediamenu {
        display: inline-block;
        position: relative;
    }
    .truenas-menubutton {
        padding: 0px 15px 15px 0px;
    }
    .truenas-mediamenu:hover .truenas-menudropdown {display: block;}
	.truenas-mediamenu:hover .truenas-menubutton {background-color: black;color:white;}
	#productButton, #productDropdown {
		width: fit-content;
	}
}
@media screen and (max-width: 737px) {
}
@media screen and (max-width: 388px) {
}
svg.gdoc-icon {
	width: 1.5rem;
	height: 1.5rem;
}
/* End site directory for mobile browsing */
/* Style Hint Boxes */
.gdoc-hint {
	font-family: Inter, sans-serif;
}
.gdoc-hint__title {
	font-family: Inter, sans-serif;
}
.gdoc-hint__title i.fa {
	font-family: Inter, sans-serif;
	background-size: auto 120%;
	margin-bottom: 5px;
	text-align: center;
}
.gdoc-hint__text {
	font-family: Inter, sans-serif;
}
/* Styling for fade-in on image download links */
.container-image-download {
    position: relative;
    width: 50%;
}
.container-image-download:hover .image {
    opacity: 0.3;
    -webkit-transition:.5s ease;
    -o-transition:.5s ease;
    transition:.5s ease;
}
.container-image-download:hover .middle {
    opacity: 1;
    -webkit-transition:.5s ease;
    -o-transition:.5s ease;
    transition:.5s ease;
}
.container-image-download-mini {
    position: relative;
    width: 18%;
}
.container-image-download-mini:hover .image {
    opacity: 0.3;
    -webkit-transition:.5s ease;
    -o-transition:.5s ease;
    transition:.5s ease;
}
.container-image-download-mini:hover .middle {
    opacity: 1;
    -webkit-transition:.5s ease;
    -o-transition:.5s ease;
    transition:.5s ease;
}
.image-download-text {
    background-color: #0095D5;
    color: white;
    font-size: 16px;
    padding: 16px 32px;
}
.middle {
    -webkit-transition:.5s ease;
    -o-transition:.5s ease;
    transition:.5s ease;
    opacity:0;
    position:absolute;
    top:50%;
    left:50%;
    -webkit-transform:translate(-50%,-50%);
    -o-transform:translate(-50%,-50%);
    transform:translate(-50%,-50%);
    -ms-transform:translate(-50%,-50%)
 }
.linkbutton{
    min-width:180px;border-radius:5px;
    background-color:#0095d5;
    -webkit-box-shadow:3px 3px #d1d1d1;
    box-shadow:3px 3px #d1d1d1;
    color:#fff;
    padding:14px 25px;
    text-align:center;
    text-decoration:none;
    position:relative;
    display:block;
    margin-left:auto;
    margin-right:auto;
    width:20%
}
.linkbutton:hover{
    color:#fff;
    background-color:#1eaedb;
    border-color:#1eaedb
}

/* End styling for fade-in on image download links */
/* Begin print view styling */
.content-print {
    min-width: 10rem;
    max-width: 80rem;
    margin: 0rem 5rem 0rem 5rem;
    font-family: "Inter", sans-serif;
}
.content-print .gdoc_link{
    max-height: 1rem;
    max-width: 1rem;
}
.content-print img {
    max-width: 800px;
}
.content-print .data-setup {
	display:none;
}
.content-print .gdoc-tabs input[type="radio" i] {
    display: none;
}
.content-print .gdoc-tabs label{
    display: none;
}
.content-print input[type="checkbox" i] {
    display: none;
}
.content-print input[type="radio" i] {
    display: none;
}
.content-print .gdoc-tabs__label {
    font-weight: bold;
}
.content-print .gdoc-expand {
    border: 1px solid black;
    margin-bottom: 1rem;
    padding: 5px;
    background-color: #f2f2f2;
}
.content-print .gdoc-expand__head.flex.justify-between{
    font-weight: bold;
}
.td-content-print{
    min-width: 10rem;
    max-width: 80rem;
    margin: 0rem 5rem 0rem 5rem;
    font-family: "Inter", sans-serif;
}
.td-content-print img{
    max-width: 800px;
}
.td-content-print video {
	display: none;
}
.td-content-print div.docvid {
	display:none;
}
.td-content-print .gdoc_link{
    max-height: 1rem;
    max-width: 1rem;
}
.td-content-print table, th, td{
    border: 1px solid black;
    border-collapse: collapse;
    padding: 5px;
}
.td-content-print th{
    background-color: #31beec;
    color: white;
}
.td-content-print tr:nth-child(even) {
    background-color: #f2f2f2;
}
.td-content-print input[type="checkbox" i] {
    display: none;
}
.td-content-print input[type="radio" i] {
    display: none;
}
.td-content-print .gdoc-tabs__label {
    font-weight: bold;
}
.td-content-print .gdoc-expand {
    border: 1px solid black;
    padding: 5px;
    background-color: #f2f2f2;
    margin-bottom: 1rem;
}
.td-content-print .gdoc-expand__head.flex.justify-between{
    font-weight: bold;
}
.td-content-print blockquote {
    margin: 1rem 0;
    padding: .5rem 1rem .5rem .75rem;
    border-left: 4px solid #e9ecef;
    border-radius: .15rem;
}
.td-content-print .gdoc-hint.warning {
    border-left-color: #fd6;
    background-color: rgba(255,221,102,.1);
}
.td-content-print .gdoc-hint.info {
    border-left-color: #6bf;
    background-color: rgba(102,187,255,.1);
}
.td-content-print .gdoc-hint.danger {
    border-left-color: #f66;
    background-color: rgba(255,102,102,.1);
}
/* End print view styling */
/* Adjust code blocks rendering */

/* Ensure the code block takes the necessary styles */
.gdoc-markdown code,
.gdoc-markdown code.language-yaml {
	color: var(--body-font-color);
	background-color: var(--accent-color-lite);
}

/* Ensure the pre block resizes to fit the code inside it */
.gdoc-markdown pre,
.gdoc-markdown pre.chroma {
    display: inline-block; /* Make the container adjust to content */
    max-width: 100%; /* Set the maximum width to 100% */
    white-space: pre-wrap; /* Ensure long lines wrap if needed */
    word-wrap: break-word; /* Break long words if needed */
}

/* Additional rule to ensure pre.chroma adjusts its size to fit the code inside */
pre.chroma {
    width: auto;
}

/* Ensure the higher-level container resizes to fit the pre and code inside it */
.highlight.gdoc-post__codecontainer {
    display: inline-block; /* Make the container adjust to content */
    max-width: 100%; /* Set the maximum width to 100% */
    width: auto; /* Ensure the container width adjusts to fit content */
}

/* End adjustment of code rendering */
/* Add display styling for <file> tags */
.gdoc-markdown file {
    font-family: 'Courier New', Courier, monospace;
    font-weight: bold;
}
/* End display styling for <file> tags */
/* Begin archive drop down styling */
/* Dropdown Button */
.dropbtn {
    background-color: #3498DB;
    color: white;
    padding: 8px;
    font-size: 14px;
    border: none;
    cursor: pointer;
    margin-right: 1rem;
}

/* Dropdown button on hover & focus */
.dropbtn:hover, .dropbtn:focus {
    background-color: #3498DB;
}

.dropdown {
    position: relative;
    display: inline-block;
}

/* Dropdown Content (Hidden by Default) */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f1f1f1;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    height: 9rem;
    overflow-y: scroll;
}

/* Links inside the dropdown */
.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.dropdown-content a:hover {background-color: #ddd;}

.dropdown:hover .dropdown-content {display: block;}

.dropdown:hover .dropbtn {background-color: #3498DB;}

/* Back to Top button */
.scrollToTopBtn {
  background-color: black;
  border: none;
  color: white;
  cursor: pointer;
  font-size: 18px;
  line-height: 48px;
  width: 48px;
  rotate: z -90deg;
  position: fixed;
  bottom: 80px;
  right: 20px;
  z-index: 100;
  opacity: 0;
  transform: translateY(100px);
  transition: all 0.3s ease;
}

.showBtn {
  opacity: .75;
  transform: translateY(0);
}

/* Standardized table style */
.truetable {
  border-collapse: collapse;
  margin: 0 auto;
}
.truetable td, .truetable th {
  border: .5px solid var(--accent-color);
  padding: .5rem;
}
.truetable th {
  text-align: left;
  font-size: 17px;
}
.truetable tr:hover {background-color: var(--accent-color);}
.truetable tr:nth-child(even):hover {background-color: var(--accent-color)!important;}

.truetable thead tr:hover {
    background-color: transparent;  /* Remove hover effect from header */
  }

/* Adjust for tables inside Enterprise shortcode */
.gdoc-hint.note .truenas-enterprise__text .truetable tr {background-color: rgba(134,142,150,.05);}
.gdoc-hint.note .truenas-enterprise__text .truetable tr:hover {background-color: #e6e6e6!important;}
.gdoc-hint.note .truenas-enterprise__text .truetable tr:nth-child(even) {background-color: #f3f9fd;}
/* end enterprise shortcode adjust */
.gdoc-markdown table:not(.lntable):not(.highlight) thead {
	border-bottom: 1px solid var(--accent-color);
}
/* Adjust to prevent tables in expand elements overflowing container */
.gdoc-markdown table:not(.lntable):not(.highlight) {
	width: unset;
}
/* End Adjust to prevent tables in expand elements overflowing container */

/* Adjust for additional class tn-blue */
.tn-blue table thead {
    background-color: #0095d5;
    color: white;
}
/* End standardized table styling */

/* Style for the container of tables with class "component-versions-table" */

/* Set background color for the top row and left column */
.component-versions-table th,
.component-versions-table td:first-child {
  background-color: #0095d5;
  color: white;
  font-weight: 600;
}

/* Exclude the first cell (top-left) from the background color */
.component-versions-table th:first-child {
  background-color: var(--body-background);
  border-top: none;
  border-left: none;
}

/* Apply border styles to match truetable */
.component-versions-table {
  border-collapse: collapse;
}

.component-versions-table td,
.component-versions-table th {
  border: .5px solid var(--accent-color);
  padding: .5rem;
}

/* Highlight individual cells (excluding first column and header row) on hover */
.component-versions-table td:not(:first-child):hover {
  background-color: var(--accent-color);
  color: white;
}

/* Prevent header row from being highlighted on hover */
.component-versions-table thead tr:hover {
  background-color: transparent; /* Ensure header row stays unaffected */
}

/* End style for the container of tables with class "component-versions-table" */

/* Standardize image styling */
.trueimg {
	justify-content:center;
}
.gdoc-markdown img {
	max-width: 75%;
	height: auto;
    max-height: 800px;
	align-items: center;
}
.trueimg figcaption {
	text-align: center;
}
/* End standardized image styling */
/* Adjust code and preformatted rendering*/
.gdoc-markdown pre {
    display: inline-block; /* Make the container adjust to content */
    max-width: 100%; /* Set the maximum width to 100% */
  }

  .gdoc-markdown pre code {
    color: var(--body-font-color);
    background-color: var(--accent-color);
    max-width: max-content; /* Adjust the maximum width to the content width */
    overflow-x: auto; /* Add horizontal scroll if needed */
	width: unset;
  }
/* End adjustment of code rendering */

/* Add display styling for <file> tags */
.gdoc-markdown file {
    font-family: 'Courier New', Courier, monospace;
    font-weight: bold;
}
/* End display styling for <file> tags */

.truenas-enterprise__text {
	padding: .25rem 1rem;
}
/* Styling for expands */
.expand-title {
    color: var(--link-color);
	padding: .5rem 0 .5rem 0;
}
.expand-title:hover::before {
}
/* Style the summary (title) when details is open */
.expand-title::after {
}
/* End Styling for expands */
/* Start inline-code block style */
.cli-cmd {
  display: inline-block; /* Set to inline-block to make it inline with text */
  position: relative; /* Set the parent element to relative positioning */
}

.cli-cmd-copy {
  position: absolute;
  top: 0rem; /* Adjust the top position as needed */
  right: -1.4rem;
  border: none;
  cursor: pointer;
  z-index: 1; /* Ensure the button is on top of the cli-cmd element */
  display: none;
  background-color: var(--body-background);
  color: var(--body-font-color);
  padding-top: .32rem;
}

.cli-cmd:hover .cli-cmd-copy {
  display: block; /* Show the copy button when cli-cmd is hovered */
}

.cli-cmd-copy:hover {
  background-color: var(--accent-color);
}
.checkmark {
  color: var(--code-copy-success-color);
}
/* End inline-code block style */
/* Adjust read time and last mod div */
.docs-read_mod {
	display:flex;
	text-align:center;
	align-items:center;
	justify-content:flex-start;
	margin:0;
	padding:0;
	font-size: small;
}
/* End read time and last mod div adjustments */
/* Start Dark Mode adjustments */
    @media screen and (prefers-color-scheme: dark) {
        .gdoc-expand {
        background-color: #212c32;
        color: #c2cfd7;
        }

        .gdoc-expand__head {
        background-color: #c2cfd7;
        color: #464646;
        }
    }
/* End Dark Mode adjustments */
/* End Styling for expands */
/* Children shortcode line adjust */
.children.children-li {
	line-height: 1rem;
}
.truenas-articlelist {
	line-height: 1rem;
}
/* End Children shortcode line adjust */
/* Docs Products Nav Boxes */
.docs-sections {
  display: grid;
  grid-template-columns: auto auto auto auto;
  gap: 2rem;
  padding: 1rem;
}
@media screen and (max-width:99rem) {
	.docs-sections {
		grid-template-columns: auto auto auto;
	}
}
@media screen and (max-width:83rem) {
	.docs-sections {
		grid-template-columns: auto auto;
	}
}
@media screen and (max-width:50rem) {
	.docs-sections {
		grid-template-columns: auto;
	}
}
.docs-sections > p {
  text-align: center;
  padding: 20px 0;
  font-size: 18px;
  font-weight: bold;
  color: #555;
  box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
  transition: 0.3s;
  background-color: rgb(248, 249, 250);
}
.docs-sections > p:hover {
	box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
}
.docs-sections a {
	text-align: center;
	font-size: 14px;
	font-weight: bold;
	color: #0095d5;
}
.docs-sections a:hover {
	color: #0095d5;
}
.docs-sections a:visited {
	color: #0095d5;
}
.docs-sections a:visited:hover {
	color: #0095d5;
}
.section-sup {
	top: -1.0em;
	font-size: 50%;
}
.docs-more-sections {
  display: grid;
  grid-template-columns: auto auto auto;
  gap: 2rem;
  padding: 1rem;
}
@media screen and (max-width:50rem) {
	.docs-more-sections {
		grid-template-columns: auto auto;
	}
}
@media screen and (max-width:25rem) {
	.docs-more-sections {
		grid-template-columns: auto;
	}
}
.docs-more-sections > p {
  text-align: center;
  padding: 20px 0;
  font-size: 18px;
  font-weight: bold;
  color: #555;
  box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
  transition: 0.3s;
  background-color: rgb(248, 249, 250);
}
.docs-more-sections > p:hover {
	box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
}
.docs-more-sections a {
	text-align: center;
	font-size: 14px;
	font-weight: bold;
	color: #0095d5;
}
.docs-more-sections a:hover {
	color: #0095d5;
}
.docs-more-sections a:visited {
	color: #0095d5;
}
.docs-more-sections a:visited:hover {
	color: #0095d5;
}
.section-box {
	box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
    border-radius: 15px;
	transition: 0.3s;
	background-color: rgb(248, 249, 250);
}
.section-box:hover {
	box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
}
.section-box-header {
	color: white;
	background-color: #0095d5;
	margin: 0;
	padding: 1rem 1.5rem;
	border-radius: 15px 15px 0 0;
}

.section-divider {
    width: 80px;
    height: 2px;
    background-color: #0095d5 !important;
    border: none;
    margin: .5rem auto;
  }

/* Adjust section-box for TrueNAS Systems page cards */
.ixprods {
	color: var(--body-font-color);
	padding: 0 .75rem 0 .75rem;
}
a.section-box:hover {
	text-decoration: none;
}
/* End adjust section-box for TrueNAS Systems page cards */
.box-image {
	padding-top: .5rem;
	text-align: center;
}
.prod-card-img {
	width: 7.5em;
	height: 11.25em!important;
	object-fit: contain;
}
.box-image > img:hover {
	box-shadow: none;
}
.section-box > p {
	text-align: center;
	line-height: 1rem;
	margin-block-start: .5rem;
	margin-block-end: .5rem;
}

/* Section box link styling */
.section-box a {
	color: #0095d5;
	text-decoration: none;
}

.section-box a:hover {
	color: #36bdeb;
	text-decoration: none;
}

.section-box a:visited {
	color: #0095d5;
	text-decoration: none;
}

.section-box a:visited:hover {
	color: #36bdeb;
	text-decoration: none;
}

/* Style for tab navigation */
.section-tabs {
  display: flex;
  justify-content: center;
  background-color: var(--accent-color);
}
/* Style for individual tab */
.section-tab {
  padding: .5rem .5rem;
  margin: 0 5px;
  cursor: pointer;
  background-color: var(--accent-color);
  font-weight: 600;
  border: 2px solid transparent;
  box-sizing: border-box;
}
.section-tab-content {
	padding-top: .25rem;
	text-align: center;
}
.section-tab.active {
    border-top: 2px solid var(--accent-color);
    border-left: 2px solid var(--accent-color);
    border-right: 2px solid var(--accent-color);
    border-bottom: 2px solid transparent;
}
.mute {
	color:#0095d5;
	cursor:default;
}
/* Adjust input elements for calculator */
.monitor {
    color: var(--body-font-color);
    background-color: var(--body-background);
  }
input[type='radio']  {
    accent-color: #0095d5;
}
input[type='checkbox']  {
    accent-color: #0095d5;
}
/* End Adjust input elements for calculator */

/* Style for tables with class "inputs" */
table.inputs {
    border-collapse: collapse;
    border: 1px solid #0095d5;
    background-color: var(--code-background);
    width: 75% !important;
    margin: 0 auto;
}

table.inputs tr {
    border: none !important;
}

table.inputs td, table.inputs th {
    border: none;
}

table.inputs tr:nth-child(even) {
    background-color: var(--code-background) !important;
}

table.inputs tr:nth-child(odd) {
    background-color: var(--code-background) !important;
}

table.inputs input[type="text"] {
    max-width: 10em;
}

table.inputs input.draid_settings {
    max-width: 2em;
    font-family: 'Courier', monospace;
}

table.inputs label.draid_settings {
    font-family: 'Courier', monospace;
}
/* End Style for tables with class "inputs" */

/* Style for the container of tables with class "results" */
.results-container {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    scrollbar-width: .8em;
    scroll-behavior: smooth;
}

/* Webkit (Safari and Chrome) */
.results-container::-webkit-scrollbar {
    height: .8em;
}

.results-container::-webkit-scrollbar-thumb {
    background: var(--accent-color);
}

.results-container::-webkit-scrollbar-track {
    background: transparent;
}

.results-container table.results th,
.results-container table.results td {
    border-top: none;
    border-bottom: none;
    border-left: 1px solid var(--accent-color);
    border-right: 1px solid var(--accent-color);
}

.results-container table.results td:first-child:empty {
    border: none !important;
    border-bottom: 1px solid transparent !important;
    background-color: var(--body-background);
    cursor: default;
}

table.results {
    width: 99%;
    max-width: 99%;
    table-layout: auto;
}

.results-container table.results th {
    background-color: #0095d5;
    color: white;
    cursor: default;
}

.results-container table.results tr:nth-child(2) td {
    font-style: italic;
    font-size: 0.8em;
    color: white !important;
    cursor: default;
    line-height: 0.8em;
    background-color: var(--button-background);
}

.results-container table.results td {
    cursor: pointer;
}

.results-container table.results th#first_ssd,
.results-container table.results td#first_ssd {
	border-style: solid;
	border-bottom: 3px;
	border-color: #var(--accent-color);
}


/* End Style for the container of tables with class "results" */

/* Adjust class "debug" table from the capacity calculator */
table.debug {
    border-collapse: collapse;
    border: 1px solid #0095d5;
    width: 50% !important;
    background-color: var(--code-background);
    margin: 0 auto;
}

table.debug tr {
    border: none !important;
}

table.debug tr:nth-child(even) {
    background-color: var(--code-background) !important;
}

table.debug tr:nth-child(odd) {
    background-color: var(--code-background) !important;
}

table.debug th,
table.debug td {
    border: none;
    border-collapse: collapse;
    font-family: 'Courier New', Courier, monospace;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

table.debug td:nth-child(even) {
    text-align: left;
}

table.debug td:nth-child(odd) {
    text-align: right;
}

table.debug td:only-child {
    text-align: center;
    font-size: 1.2em;
    padding: .2em !important;
}

/* Hover effect for highlighting the current row in the "debug" table */
table.debug td:hover {
    background-color: #0095d5;
}

/* Reset hover effect for other tables or elements with class "debug" */
:not(table).debug tr:hover {
    background-color: initial;
}

/* End Adjust class "debug" table from the capacity calculator */

/* Style for capacity graph "graph-inputs" */
table.graph-inputs {
    border-collapse: collapse;
    border-spacing: 0;
    border: none;
    margin-right: auto;
	margin-left: auto;
	text-align: center;
    background-color: var(--body-background);
    width: 75% !important;
    margin: 0 auto;
}

table.graph-inputs tr {
    border: none !important;
    width: 75%;
}

table.graph-inputs td, table.inputs th {
    border: none;
}

table.graph-inputs td:nth-child(odd) {
    background-color: var(--body-background) !important;
    width: 170px;
    max-width: 170px;
    text-align: right;
}

table.graph-inputs td:nth-child(even) {
    background-color: var(--body-background) !important;
    width: 130px;
    max-width: 130px;
    text-align: left;
}

/* Style for input elements within the "configs" table */
table.graph-inputs#configs input,
table.graph-inputs#configs select {
    width: 5em;
    box-sizing: border-box;
}

/* Style for the config text input within table.graph-inputs */
table.graph-inputs #config_text {
    display: block;
    margin: 0 auto;
    width: 100%;
    border: none;
    background: none;
    padding: 0;
    text-align: center;
}

table.graph-inputs #config_text:disabled {
    color: inherit;
}
/* End Style for the config text input within table.graph-inputs */

/* Style for the help text textarea within table.graph-inputs */
table.graph-inputs #help_text textarea {
    display: block;
    margin: 0 auto;
    text-align: center;
    width: 100%;
    border: none;
    background: none;
    padding: 0;
    resize: none;
    min-height: 5em;
    font-size: .8em;
}

table.graph-inputs #help_text textarea:disabled {
    color: inherit;
}
/* End Style for the help text textarea within table.graph-inputs */

/* Adjust the style for the elements within table.graph-inputs */
/* Normal styling for row 0 */
table.graph-inputs tr.row_0 td {
    text-align: center;
}

table.graph-inputs tr.row_0 td button.minus,
table.graph-inputs tr.row_0 td h3,
table.graph-inputs tr.row_0 td button.plus {
    text-align: center;
    float: center;
    margin-left: 10px;
	margin-right: 10px;
	margin-bottom: 5px;
    display: inline-block;
    margin: 10px;
}

/* Apply styles to the inputs container */
div.inputs-container {
    max-width: 100%; /* Set maximum width to 100% */
    overflow-x: auto; /* Enable horizontal overflow scroll when needed */
    scrollbar-width: .8em; /* Set the width of the scrollbar */
    scroll-behavior: smooth; /* Enable smooth scrolling */
}

/* Webkit (Safari and Chrome) */
div.inputs-container::-webkit-scrollbar {
    height: .8em; /* Set the height of the scrollbar */
}

div.inputs-container::-webkit-scrollbar-thumb {
    background: var(--accent-color); /* Set the background color of the scrollbar thumb */
}

div.inputs-container::-webkit-scrollbar-track {
    background: transparent; /* Set the background color of the scrollbar track */
}

#graph_wrapper {
    background-color: #F6F6F6;
    border: 1px solid black;
    padding: 10px;
}

div.color_label {
	height: 5px;
	width: 270px;
	margin: 0 auto;
	margin-bottom: 5px;
}

table.graph-inputs table#aux {
	width: 600px;
}
table.graph-inputs table#aux tr {
	width: 600px;
}
table.graph-inputs button#save {
	height: 20px;
	width: 120px;
	margin-left: 10px;
	margin-right: 10px;
}
table.graph-inputs td#save {
	text-align: left;
	width: 50px;
}
table.graph-inputs button#reset {
	height: 20px;
	width: 120px;
	margin-left: 10px;
	margin-right: 10px;
}
table.graph-inputs td#reset {
	text-align: left;
	width: 50px;
}
table.graph-inputs td#ydata_label {
	width: 170px;
}
table.graph-inputs select.ydata {
	width: 170px;
}

/* End Style for capacity graph "graph-inputs" */

/* Style for draid visualizer */
div.draid-grid-container {
	display: grid;
	margin-left: 30px;
	margin-top: 30px;
	grid-column-gap: 1px;
	grid-row-gap: 1px;
}

table.draid-big-grid {
    border-collapse: collapse;
    border-spacing: 0;
    border: none;
    background-color: var(--body-background);
}

.draid-big-grid td {
    border: none;
    border-bottom: 1px solid transparent;
    color: var(--body-font-color);
}

.draid-big-grid input[type="text"] {
    background-color: var(--code-background);
    color: var(--body-font-color);
    color: #;
}

table.grid-table,
table.grid-table  td {
    width: unset!important;
    border: 1px solid transparent;
    border-collapse: separate;
    box-sizing: border-box;
    text-indent: initial;
    line-height: normal;
    font-weight: normal;
    font-size: medium;
    font-style: normal;
    text-align: start;
    border-spacing: 2px;
    white-space: normal;
    font-variant: normal;
}

div.draid-slice-container {
	display: grid;
	grid-template-columns: "1fr";
	float: right;
	grid-column-gap: 1px;
	grid-row-gap: 1px;
}

div.draid-sub {
	float: left;
	width: 2em;
	height: 2.4em;
	border: 1px solid black;
    color: #000;
	text-align: center;
	padding: 10px 0;
	position: relative;
	font-family: courier;
	font-weight: bold;
}

div#draid-empty {
	border: 0px solid white;
	margin-left: 10px;
	height: 40px;
}

div#draid-head {
	background-color: hsl(241,24%,80%);
	font-weight: bold;
	border-radius: 10px;
	margin-bottom: 10px
}

div.draid-slice {
	float: left;
	width: 2em;
	text-align: center;
	padding: 10px 0;
	position: relative;
	font-family: courier;
	border-right: 3px solid black;
	border-top: 3px solid black;
	border-bottom: 3px solid black;
	font-weight: bold;
	margin-left: 10px;
	background-color: hsl(0, 0%, 60%);
	color: white;
}

div#draid-slice1{
	margin-top: 80px;
}

button.draid-button {
	color: var(--body-font-color);
    background-color: var(--accent-color);
    margin: 30px 10px;
	width: 150px;
	height: 40px;
}
button#draid-update {
	margin-left: 70px;
}

input.draid-settings {
	height: 2em;
    font-family: courier;
	text-align: center;
	border-radius: 5px;
	border: 0px solid white;
	background-color: var(--code-background);
	margin: auto;
	float: left;
	position: relative;
}

input#draid-parity {
	width: 2em;
}
input#draid-spares {
	width: 2em;
}
input#draid-children {
	width: 3em;
}
input#draid-data {
	width: 3em;
}

div.draid-label {
	font-family: courier;
	float: left;
	margin-top: 2px;
	font-weight: bold;
	position: relative;
	padding-left: 2px;
	padding-right: 2px;
}

div#draid-rows-label {
    color: var(--body-font-color);
    float: left;
	position: relative;
	padding-left: 100px;
	padding-right: 2px;
	padding-top: 2px;
	margin-top: -40px;
}
input#draid-rows {
    color: var(--body-font-color);
    background-color: var(--code-background);
	width: 3em;
	margin-top: -40px;
	margin-left: 350px;
}

div.draid-label-grid {
	height: 40px;
	margin: 20px 50px;
}

div#draid-notes {
	margin: auto;
	width: 450px;
	height: 30px;
	text-align: center;
}

div#draid-sub-notes {
	width: 100%;
}

div#draid-ex-disk {
	background-color: hsl(241,24%,80%);
	font-weight: bold;
	border-radius: 10px;
}
div#draid-ex-parity {
	background-color: hsl(0, 65%, 60%);
	color: hsl(180, 100%, 60%);
}
div#draid-ex-data {
	background-color: hsl(0, 50%, 60%);
	color: hsl(180, 100%, 60%);
}
div#draid-ex-spare {
	background-color: hsl(0, 0%, 95%);
	color: "black";
}
div.draid-ex-slice {
	float: left;
	width: 2em;
	text-align: center;
	padding: 4px 0;
	position: relative;
	font-family: courier;
	font-weight: bold;
	background-color: hsl(0, 0%, 60%);
	color: white;
	height: 2.4em;
	border-right: 3px solid black;
	border-top: 3px solid black;
	border-bottom: 3px solid black;
}

div.draid-legend-container {
    width: 300px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: 20px;
    margin-top: -90px; /* Adjust the value as needed */
    grid-row-gap: 5px;
    float: left;
}

div.draid-leg-label {
	width: 250px;
	margin: 0 auto;
    padding: 5px 0;
	float: left;
	font-family: courier;
	font-weight: bold;
}

div#draid-imbalance-ratio {
	margin-top: 20px;
	margin-left: 50px;
	width: 800px;
}

div#draid-box-size {
	margin-top: 20px;
	margin-left: 50px;
	font-size: 20px;
	width: 800px;
}

table.draid-big-grid {
	margin-bottom: 30px;
}

div.draid-grid-table-container {
    max-width: 99%;
    overflow-x: auto; /* Enable horizontal overflow scroll when needed */
    scrollbar-width: .8em; /* Set the width of the scrollbar */
    scroll-behavior: smooth; /* Enable smooth scrolling */
}

/* Webkit (Safari and Chrome) */
div.draid-grid-table-container::-webkit-scrollbar {
    height: .8em; /* Set the height of the scrollbar */
}

div.draid-grid-table-container::-webkit-scrollbar-thumb {
    background: var(--accent-color); /* Set the background color of the scrollbar thumb */
}

div.draid-grid-table-container::-webkit-scrollbar-track {
    background: transparent; /* Set the background color of the scrollbar track */
}

/*end Style for draid visualizer*/

/* Adjust search bar for all color modes */
#search input {
    background-color: white;
    color: black;
    border-color: #0095d5;
  }
/* End Adjust search bar for all color modes */
/* Custom table style for Product page intro section */
.product-intro-table {
	max-width: 100%;
	border-collapse: collapse;
}
.product-intro-table tbody,
.product-intro-table tr,
.product-intro-table td {
	border: none;
	background: var(--body-background);
	border-bottom: none !important;
}
/* End custom table style for Product page intro section */
.prodintronote {
	display: flex;
	align-items: center;
}
.prodnoteicon {
	flex: .2;
	text-align: left;
	margin-right: .25rem;
}
.prodnotetext {
	flex: 1;
}
.prodbanner > img {
	max-width: 100%;
	align-items: center;
	max-height: 75%;
	margin-bottom: 1rem;
}
/* Adjust geekdoc properties list title style */
.gdoc-props__title {
	font-family: "Inter", sans-serif;
}
.gdoc-props__tag.note {
	font-weight: normal;
}
.gdoc-props__tag {
	font-weight: bold;
}
/* Additional Automatic and Manual color scheme values */
@media screen and (prefers-color-scheme: dark) {
    hr {
        background: var(--body-font-color) !important;
        height: 1.5px;
      }
    .stickyelement,
	.stickybackground,
	.sticky,
	.docsnav,
	.truenas-docsnav-menubutton,
	.docshome {
	  background-color: #29363e;
	}
	.truenas-docsnav-menubutton,
	.docshome a,
	.docshome a:visited,
	#docsnav-intro {
		color: white;
	}
	.docs-more-sections p,
	.docs-sections p {
		background-color: #475d6b;
        border-radius: 15px;
		color: #e8edf0;
		box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
		transition: 0.3s;
        accent-color: #c2cfd7;
	}
	.docs-sections p {
		box-shadow: none;
	}
	.truenas-docsnav-menuitem:hover .truenas-docsnav-menubutton,
	.truenas-navmenudropdown:hover + .truenas-docsnav-menubutton {
		background-color: #0095d5;
		color: white;
	}
	.docs-more-sections > p:hover {
		box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
	}
	.docs-sections a,
	.docs-sections a:visited,
	.docs-more-sections a,
	.docs-more-sections a:visited {
		color: rgb(110,168,212);
	}
	#search input {
		background-color: #475d6b;
		color: #c2cfd7;
	}
	#search input::placeholder {
		color: #c2cfd7;
	}
	.section-box{
		background-color: #475d6b;
	}
    .section-tab {
        color: white;
    }
    .section-tab.active {
        background-color: #475d6b;
    }
}
@media screen and (prefers-color-scheme: light) {
    .section-tab {
        color: var(--body-font-color);
    }
    .section-tab.active {
        background-color: rgb(248, 249, 250);
    }
}
:root[color-theme=dark] {
	.stickyelement,
	.stickybackground,
	.sticky,
	.docsnav,
	.truenas-docsnav-menubutton,
	.docshome {
	  background-color: #29363e;
	}
	.truenas-docsnav-menubutton,
	.docshome a,
	.docshome a:visited,
	#docsnav-intro {
		color: white;
	}
	.truenas-docsnav-menuitem:hover .truenas-docsnav-menubutton,
	.truenas-navmenudropdown:hover + .truenas-docsnav-menubutton {
		background-color: #0095d5;
		color: white;
	}
	.docs-more-sections p,
	.docs-sections p {
		background-color: #475d6b;
		color: #c2cfd7;
	}
	.docs-sections > p:hover,
	.docs-more-sections p:hover {
		box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
	}
	.docs-sections a,
	.docs-sections a:hover,
	.docs-more-sections a:hover,
	.docs-sections a:visited,
	.docs-more-sections a,
	.docs-more-sections a:visited {
		color: rgb(110,168,212);
	}
 	#search-input {
		background-color: #475d6b;
		color: #c2cfd7;
	}
	#search-input::placeholder {
		color: #c2cfd7;
	}
	.gdoc-expand__head {
        background-color: #c2cfd7;
        color: #464646;
    }
	.section-box{
		background-color: #475d6b;
	}
    .section-tab {
        color: white;
    }
    .section-tab.active {
        background-color: #475d6b;
    }
}
:root[color-theme=light] {
	.stickyelement,
	.stickybackground,
	.sticky,
	.docsnav,
	.truenas-docsnav-menubutton,
	.docshome {
	  background-color: white;
    }
	.truenas-docsnav-menubutton,
	.docshome a,
	.docshome a:visited,
	#docsnav-intro {
		color: black;
	}
	.truenas-docsnav-menuitem:hover .truenas-docsnav-menubutton,
	.truenas-navmenudropdown:hover + .truenas-docsnav-menubutton {
		background-color: #0095d5;
		color: white;
	}
	.docs-more-sections p,
	.docs-sections p {
		background-color: rgb(248, 249, 250);
		color: #555;
	}
	.docs-sections > p:hover,
	.docs-more-sections p:hover {
		box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
	}
	.docs-sections a,
	.docs-sections a:visited,
	.docs-more-sections a,
	.docs-more-sections a:visited,
	.docs-sections a:hover,
	.docs-more-sections a:hover {
		color: #0095d5;
	}
	#search-input {
		background-color: white;
		color: black;
	}
	#search-input::placeholder {
		color: #555;
	}
	.section-box {
		background-color: rgb(248, 249, 250);
	}
    .section-tab {
        color: var(--body-font-color);
    }
    .section-tab.active {
        background-color: rgb(248, 249, 250);
    }
}
/* End Additional Automatic and Manual color scheme values */
/* Adjust mermaid chart display size */
pre.gdoc-mermaid.mermaid.mermaid_sizing {
  display: flex;
  margin: 0 auto;
  justify-content: center;
  align-items: center;
  background-color: var(--body-background);
}
/* Theme-aware edition logos in release lists */
/* Default light mode - no filter needed */
.edition-logo {
    /* Images are already dark for light backgrounds */
}

/* Manual dark mode selection - invert to white */
:root[color-theme="dark"] .edition-logo {
    filter: brightness(0) invert(1);
}

/* System preference dark mode fallback */
@media (prefers-color-scheme: dark) {
    :root:not([color-theme]) .edition-logo {
        filter: brightness(0) invert(1);
    }
}

/* Additional variable colors */
:root[color-theme='light'] {
  --enterprise-title: rgb(52, 58, 64); /* Define --enterprise-title for the light theme */
}
:root[color-theme='dark'] {
  --enterprise-title: rgb(52, 58, 64); /* Define --enterprise-title for the dark theme */
  --body-font-color: #f0f3f5;
}
@media (prefers-color-scheme: dark) {
  :root {
    --enterprise-title: rgb(52, 58, 64); /* Define --enterprise-title for devices preferring dark mode */
	--body-font-color: #f0f3f5;
  }
}
@media (prefers-color-scheme: light) {
  :root {
    --enterprise-title: rgb(52, 58, 64); /* Define --enterprise-title for devices preferring light mode */
  }
}
/* End additional variable colors */
/* Style the version doc notice */
.version-doc,
.version-doc h3,
.version-doc p {
  font-size: small;
  padding: 0 5px 0 5px;
}
/* End version doc notice style */

/* Style for Logo and Icon */
.centered-content {
    text-align: center;
}
/* End style for Logo and Icon*/

/* Styling for Community Edition and Enterprise logos */
.edition-logo {
    height: 24px !important;
    vertical-align: middle !important;
  }

  .no-highlight-table table {
    background: transparent !important; /* Prevents colored highlights */
    border-collapse: collapse;
    width: 100%;
  }

  .no-highlight-table th, .no-highlight-table td {
    border: 1px solid #ddd; /* Light border for readability */
    padding: 8px;
    text-align: left;
  }

  .no-highlight-table tr:nth-child(even) {
    background: transparent !important; /* Removes alternating row colors */
  }

/* Styling for App Support Definitions Cards */
:root[color-theme="light"] {
    --card-background: rgb(248, 249, 250);
  }

  :root[color-theme="dark"] {
    --card-background: #475d6b;
  }

  @media (prefers-color-scheme: dark) {
    :root {
      --card-background: #475d6b;
    }
  }

  @media (prefers-color-scheme: light) {
    :root {
      --card-background: rgb(248, 249, 250);
    }
  }

  .support-cards {
    display: block; /* Stack cards vertically */
  }

  .support-card {
    background-color: var(--card-background);
    width: 100%;
    max-width: 900px;
    margin: 1rem auto;
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
    transition: 0.3s;
  }

  .support-card:hover {
    box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
  }

  .community {
    border-left: 5px solid #71BF44;
  }

  .enterprise-deployment {
    border-left: 5px solid #31BEEC;
  }

  .enterprise-application {
    border-left: 5px solid #0095D5;
  }

  .support-title {
    font-size: 1.25rem;
    font-weight: bold;
    display: block;
    margin-bottom: 0.5rem;
  }


/* End Styling for App Support Definitions Cards */

/* Styling for Version Selector Sections */

.version-header {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 5px;
  }

  .version-label {
    flex-shrink: 0;
    font-size: 0.9em;
    color: white;
    line-height: 1;
  }

  .version-line {
    flex-grow: 1;
    height: 1px;
    border-top: 1px solid white;
    margin-left: 5px;
  }

  .no-version-line {
    flex-grow: 1;
    height: 1px;
    border-top: 1px solid white;
    margin: 0 5px;
  }

/* End Styling for Version Selector Sections */

/* Style TrueNAS Apps Market link as green button */
.gdoc-nav a[href="https://apps.truenas.com/"],
.gdoc-nav .gdoc-nav a[href="https://connect.truenas.com"] {
    background-color: #71bf44 !important;
    color: white !important;
    padding: 10px 20px !important;
    border-radius: 15px !important;
    display: block !important;
    text-align: center !important;
    font-weight: bold !important;
    text-decoration: none !important;
    margin: -.5em !important;
    transition: all 0.3s ease !important;
}

.gdoc-nav a[href="https://apps.truenas.com/"]:hover,
.gdoc-nav a[href="https://connect.truenas.com"]:hover {
    background-color: #5da639 !important;
    border-color: #5da639 !important;
    color: white !important;
    text-decoration: none !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2) !important;
}

/* Ensure the icon is white and properly sized */
.gdoc-nav a[href="https://apps.truenas.com/"] .gdoc-icon,
.gdoc-nav a[href="https://connect.truenas.com"] .gdoc-icon {
    color: white !important;
    fill: white !important;
    vertical-align: middle !important;
}

/* Dark mode adjustments for the Apps Market button */
@media (prefers-color-scheme: dark) {
    .gdoc-nav a[href="https://apps.truenas.com/"],
    .gdoc-nav a[href="https://connect.truenas.com"] {
        background-color: #71bf44 !important;
        border-color: #71bf44 !important;
    }

    .gdoc-nav a[href="https://apps.truenas.com/"]:hover,
    .gdoc-nav a[href="https://connect.truenas.com"]:hover {
        background-color: #5da639 !important;
        border-color: #5da639 !important;
    }
}

:root[color-theme=dark] .gdoc-nav a[href="https://apps.truenas.com/"],
    .gdoc-nav a[href="https://connect.truenas.com"] {
    background-color: #71bf44 !important;
    border-color: #71bf44 !important;
}

:root[color-theme=dark] .gdoc-nav a[href="https://apps.truenas.com/"]:hover,
    .gdoc-nav a[href="https://connect.truenas.com"]:hover {
    background-color: #5da639 !important;
    border-color: #5da639 !important;
}

/* End TrueNAS Apps Market button styling */

/* Style the parent span that contains both icon and link as green button */
.gdoc-nav section:last-child .gdoc-nav__list li:nth-child(1) span.flex,
.gdoc-nav section:last-child .gdoc-nav__list li:nth-child(2) span.flex {
    background-color: #71bf44 !important;
    color: white !important;
    padding: 10px 20px !important;
    border-radius: 15px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    font-weight: bold !important;
    text-decoration: none !important;
    margin: -.5em !important;
    transition: all 0.3s ease !important;
    width: 75% !important;
    min-height: 40px !important;
    box-sizing: border-box !important;
}

/* Remove styling from the inner link since parent span is now the button */
.gdoc-nav section:last-child .gdoc-nav__list li:nth-child(1) a,
.gdoc-nav section:last-child .gdoc-nav__list li:nth-child(2) a {
    background: none !important;
    border: none !important;
    padding: 0 !important;
    margin: -.5em !important;
    color: white !important;
    text-decoration: none !important;
    font-weight: bold !important;
}

/* Hover effect moved to li to avoid nested hover conflicts */
.gdoc-nav section:last-child .gdoc-nav__list li:nth-child(1):hover span.flex,
.gdoc-nav section:last-child .gdoc-nav__list li:nth-child(2):hover span.flex {
    background-color: #5da639 !important;
    border-color: #5da639 !important;
    color: white !important;
    text-decoration: none !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2) !important;
}

/* Prevent any hover effects on nested elements that could conflict */
.gdoc-nav section:last-child .gdoc-nav__list li:nth-child(1) label:hover,
.gdoc-nav section:last-child .gdoc-nav__list li:nth-child(1) a:hover,
.gdoc-nav section:last-child .gdoc-nav__list li:nth-child(2) label:hover,
.gdoc-nav section:last-child .gdoc-nav__list li:nth-child(2) a:hover {
    background: none !important;
    transform: none !important;
    box-shadow: none !important;
}

/* Style the original SVG icon to be white */
.gdoc-nav section:last-child .gdoc-nav__list li:nth-child(1) svg.gdoc-icon {
    fill: white !important;
    color: white !important;
    width: 20px !important;
    height: 20px !important;
    margin-right: 8px !important;
}

/* Style the use element inside the SVG */
.gdoc-nav section:last-child .gdoc-nav__list li:nth-child(1) svg use {
    fill: white !important;
}

/* Style the TrueNAS Connect button (nth-child(2)) - no icon, but same dimensions */
.gdoc-nav section:last-child .gdoc-nav__list li:nth-child(2) svg.gdoc-icon {
    display: none !important; /* Hide any empty icon elements */
}

/* Ensure Connect button text is properly centered without icon */
.gdoc-nav section:last-child .gdoc-nav__list li:nth-child(2) span.flex {
    gap: 0 !important; /* Remove any gap since there's no icon */
}

/* Reorder the menu items - move Apps Market to the very top */
.gdoc-nav section:last-child .gdoc-nav__list {
    display: flex !important;
    flex-direction: column !important;
}

/* Move Apps Market (2nd item) to be first */
.gdoc-nav section:last-child .gdoc-nav__list li:nth-child(1),
.gdoc-nav section:last-child .gdoc-nav__list li:nth-child(2) {
    order: -1 !important;
}

/* Keep all other items in their original order */
.gdoc-nav section:last-child .gdoc-nav__list li:not(:nth-child(1)),
.gdoc-nav section:last-child .gdoc-nav__list li:not(:nth-child(2)) {
    order: 0 !important;
}
