/* 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;
}
@media only screen and (min-width: 2400px){
	.container {
		max-width: 125rem;
	}
}
.flex {
  display: flex;
}  
.gdoc-page {
	flex: 1;
    padding: 1rem 2rem 0rem 0rem;
	flex-grow: 1;
}
/* Site header */
.gdoc-brand__img {
    max-width: 8em;
    width: auto;
    height: auto;
}
.gdoc-header .icon {
    height: 1.5rem;
    width:  1.5rem;
}
.iconsbar {
    background: #000;
    text-align: right !important;
    font-family: "Inter", sans-serif;
    font-weight: 500;
    font-size: 12px;
}
.iconsbar a {
    color: #fff;
}
/* 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;
}
.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: 1.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;
}
/* End Site Nav Bar */
/* Sticky top menu */
.sticky {
    position: fixed;
    top: 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;
	min-width: -webkit-fill-available;
}
.stickyelement {
    max-width: 100rem;
	margin: 0 auto;
	padding: .5rem 1rem 0rem 1rem;
}
.truerow {
	display: block;
}
.stickybackground {
	z-index: 1;
	max-width: 100rem;
	margin: 0 auto;
	background: white;
}
.gdoc-header__link {
    float:left;
	
}
.truenas-menubar {
    float: right;
    display: flex;
    font-family: "din-2014";
	font-size: 16px;
    font-weight: 400;
	justify-content:center;
	align-items:center;
}
.menubar-link {
	padding-right: 1.5rem;
}
@media screen and (max-width:800px) {
	.docshome {
		text-align: center;
	}
	#gdoc-color-theme {
		flex:1;		
	}
	.google_translate_element {
	}
}
@media screen and (max-width:46rem) {
	.container.truerow {
        display: none;
    }
}
#docsnav-intro {
	padding-right: 2px;
	font-size: 18px;
	font-weight: bold;
}
.docsnav {
	display:flex;
	flex-wrap:wrap;
	padding-top:.5rem;
	justify-content:center;
	align-items:center;
	margin: 0 auto;
}
.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;
}
/* End sticky top menu */
/* 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: 1rem .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;
}
.gdoc-header {
    background: #000000;
	border-bottom-width: 20px;
	border-bottom-color: #0095d5;
    padding: 1rem 1rem 1rem 1rem;
	border-bottom-width: 0px;
}

.truenas-menubutton {
    background-color: #000;
    color: white;
    padding: 13px;
    border: none;
    font-family: "din-2014";
	font-size: 16px;
    font-weight: 400;
}
.truenas-menubutton:hover {
  color: #000000;
}
.truenas-menubutton,.truenas-menubutton a {color:#white;cursor:pointer;}
.truenas-menulink {
    background-color: #000;
    color: white;
    padding: 16px;
    font-size: 16px;
    border: none;
}
.truenas-menulink a {color:#000000;}
.truenas-menudropdown {
    display: none;
    position: absolute;
    background-color: #000000;
    border-radius: 20px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 10;
}
.truenas-menudropdown a {
    font-family: "din-2014";
	font-size: 16px;
    font-weight: 600;
    color: white;
    padding: 12px 16px;
    text-decoration: none;
    display: table;
}
.dropdown-item {
  cursor: pointer;
  font-family: "din-2014";
  font-size: 16px;
  font-weight: 500;
  color: white;
  padding: 12px 16px;
  text-decoration: none;
  display: table;
}
.linkscolumn {
	width: 50%;
	float: left;
}
.truenas-menuitem{
	position: relative;
}
.truenas-menudropdown a:hover {color: #0095D5;}
.truenas-menuitem:hover .truenas-menudropdown {display: block;}
.truenas-menuitem:hover .truenasdownload-menudropdown {display: block;}
.truenasdownload-menudropdown a:hover {color: #0095D5;}
.truenas-menuitem:hover .truenas-downloadbutton {
    color: #0095D5;
}
.truenas-downloadbutton {
    background-color: #000000;
    color: #71bf44;
    padding: 13px;
    border: none;
    font-family: "din-2014";
	font-size: 16px;
    font-weight: 600;
 }
.truenas-downloadbutton:hover {
    color: #0095D5;
}
.truenas-downloadbutton a {
    font-family: "din-2014";
    font-weight: 500;
    font-size: 16px;
    color:#ffffff;
}
.truenas-downloadbutton a:hover {
    color: #00597f;
    text-decoration: none;
}
.truenas-supportbutton {
    background:#0095D5;
    color: white;
    padding: 13px 30px 10px 30px;
    border: none;
    border-radius: 15px;
    margin-left: 5px;
    font-family: "din-2014";
	font-size: 16px;
    font-weight: 600;
 }
.truenas-supportbutton:hover {
    background-color: #71bf44;
}
.truenas-supportbutton a {
    font-family: "din-2014";
    font-weight: 500;
    font-size: 16px;
    color:#ffffff;
}
.truenas-supportbutton a:hover {
    color: #00597f;
    text-decoration: none;
}
.truenasdownload-menudropdown {
    display: none;
    position: absolute;
    background-color: #000000;
    border-radius: 20px;
    min-width: max-content;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 10;
	right: 0;
	left: auto;
}
.truenasdownload-menudropdown a {
    font-family: "din-2014";
    font-weight: 500;
    font-size: 16px;
    color: white;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}
.truenas-menudropdown {
    display: none;
    position: absolute;
    background-color: #000000;
    min-width: max-content;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 10;
}
#resources-box {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
}

.truenasdownload-menudropdown a {
    font-family: "din-2014";
    font-weight: 500;
    font-size: 16px;
    color: white;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}
/* Link container styling */
.truenas-menuitem-link {
    display: flex !important; /* Ensures the image and text are in a horizontal row */
    align-items: center; /* Vertically aligns items */
    gap: 1rem; /* Adds spacing between image and text */
    text-decoration: none; /* Removes underline for links */
    color: inherit; /* Keeps text color consistent with parent */
    max-width: 400px; /* Sets maximum width for wrapping */
    line-height: 1.5; /* Improves text readability */
}

/* Icon/image styling */
.truenas-menuitem-link img {
    width: 2.5rem; /* Sets a fixed width for the image */
    height: auto; /* Maintains the image's aspect ratio */
    flex-shrink: 0; /* Prevents the image from resizing */
    vertical-align: middle; /* Aligns image with the text */
    margin-right: 1rem; /* Adds spacing between image and text */
}

/* Text container styling */
.truenas-menuitem-text {
    flex: 1; /* Allows the text container to take remaining space */
    overflow-wrap: break-word; /* Wraps text to prevent overflow */
}

/* Bold text styling */
.truenas-menuitem-text b {
    font-size: 1rem; /* Adjust bold text size */
    margin-bottom: 0.25rem; /* Adds spacing below bold text */
    display: block; /* Makes the bold text a block-level element */
}

/* Paragraph text styling */
.truenas-menuitem-text p {
    font-size: 0.9rem; /* Adjusts paragraph text size */
    line-height: 1.4; /* Enhances readability */
    margin: 0; /* Removes default margin */
}
/* Parent Columns: two main columns */
.truenas-menuitem-columns {
    display: flex; /* Make the left and right columns appear side by side */
    gap: 2rem; /* Space between the two main columns */
}

/* Each Column */
.truenas-menuitem-column {
    flex: 1; /* Allow each column to take equal width */
    display: flex;
    flex-direction: column;
}
/* Media query for narrower screens */
@media (max-width: 1180px) {
    .truenas-menuitem-columns {
        flex-direction: column; /* Stack the columns vertically */
    }

    .truenas-menuitem-column {
        flex: none; /* Remove equal width restriction for stacking */
        width: 100%; /* Ensure each column takes full width */
    }
}
/* Sub-columns: dividing each column into two */
.truenas-sub-columns {
    display: flex; /* Align sub-columns side by side */
    gap: 2rem; /* Space between the two sub-columns */
}

/* Each Sub-column */
.truenas-sub-column {
    flex: 1; /* Make sure each sub-column takes equal space */
}

/* Optional: Styling the links inside sub-columns */
.truenas-sub-column a {
    display: block;
    color: white;
    text-decoration: none;
}

.truenas-sub-column a:hover {
    color: #0095d5; /* Optional: Hover color */
}

/* Optional: Styling for hr */
.truenas-menudropdown-hr {
    border: 0;
    border-top: 1px solid white;
}


.truenas-menuitem-link {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    color: inherit;
}

.truenas-menuitem-link img {
    width: 2.5rem;
    height: auto;
    flex-shrink: 0;
}

.truenas-menuitem-text {
    max-width: calc(100%);
    overflow-wrap: break-word;
}

.truenas-menudropdown {
    display: none;
    position: absolute;
    background-color: #000000;
    padding: 1rem;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 10;
}

.truenas-menuitem:hover .truenas-menudropdown {
    display: block;
}
/* Horizontal Rule Styling */
.truenas-menudropdown-hr {
    border: 0;
    border-top: 1px solid #ccc; /* Customize the color of the horizontal rule */
    margin: 1rem 0; /* Add spacing above and below the rule */
}

/* Maintain existing styles for columns */
.truenas-menuitem-columns {
    display: flex;
    gap: 2rem; /* Space between columns */
}

.truenas-menuitem-column {
    flex: 1; /* Equal width for columns */
    display: flex;
    flex-direction: column;
    gap: 1rem; /* Space between items in each column */
}


/* Adjust breadcrumb header sizing */
.gdoc-page__header {
	font-size: small;
	margin-bottom: 1rem;
}
/* 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;
    }
    
    .toc-absolute {
      position: absolute;
      top: auto;
    }
    
    .toc-footer-overlap {
      position: absolute;
      top: 90px; /* or however much space you want above the footer */
    }
    
  @media screen and (max-width: 68rem) {
    .sidebar-right {
      transition: transform 0.3s ease;
      transform: translateX(100%); /* Start with the sidebar hidden */
      display: none;
      position: fixed;
      right: 10rem;
    }
    .sidebar-right__control {
      display: inline-block;
    }
    .toc-panel {
      width: 12rem;
      padding-left: .5rem;
      transition: top 0.2s ease-in-out;
      will-change: top;
    }
  }
  .toc-list {
    list-style-type: none;
    padding: 0;
  }
  .toc-list li {
    margin-left: 0;
  }
  .toc-list li a {
    display: block;
    margin-left: 0; /* Reset any default margin */
    padding-bottom: .5rem;
  }
  /* End right sidebar */
/* Nested Menu items */
.nested-menubutton {
    font-family: "din-2014";
    font-weight: 500;
    font-size: 16px;
    color: white;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    border: none;
    background-color: #000000;;
}
.truenas-nested-menudropdown {
    display: none;
    position: absolute;
    background-color: #0095d5;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 10;
    margin-top: -.5em;
    margin-left: -1.5em;
}
.nested-menubutton:hover + .truenas-nested-menudropdown {display: block;}

.truenas-nested-menudropdown a {
    font-family: "din-2014";
    font-weight: 500;
    font-size: 16px;
    color: white;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.nested-menubutton a {
    margin-left: 2rem;
}

/* End site header */
/* Site footer */

.gdoc-footer {
    max-width: 100%;
    font-family: "Inter", sans-serif;
    font-weight: 400;
    font-size: 14px;
    background-color: #000000;
    color: white;
    padding: 2rem 15%;
    margin-top: auto;
    z-index: 2;
}

.gdoc-footer__link {
    color: white;
}

.gdoc-footer__link:visited {
    color: white;
}

.gdoc-footer .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; 
    align-items: center;
    text-align: center; 
    width: 100%;
}

.gdoc-footer__item {
    padding-top: 1rem;
    padding-left: 0.5rem;
    font-size: 12px;
}

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

.footer-column {
    flex: 1;
    max-width: 25%;
    padding: 0 2rem;
    border-right: 2px solid #0095d5;
}

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

.footer-button {
    display: inline-flex;
    background-color: #0095d5;
    color: white !important;
    width: 90%;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
}

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


.social-links {
    display: flex;
    gap: 1rem;
    color: white;
    max-width: 100%;
    flex-wrap: wrap;
}

.social-links a i,
.social-links a img,
.social-links a span.iconify {
    width: 20px;
    height: 20px;
    color: white;
    fill: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-links a {
    text-decoration: none;
    color: white;
}

.social-links a:visited {
    color: white;
}

.footer-logo {
    max-width: 80%;
    margin-bottom: 1.5rem;
    margin-block-start: .83rem;
}

.footer-column h2 {
    font-weight: 500;
    margin-left: 0;
    margin-bottom: 2rem;
}

.footer-column h3 {
    font-weight: 500;
    margin-left: 0;
    margin-bottom: 1rem;
}

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

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

.footer-list a, 
.gdoc-footer__link {
    color: white;
    text-decoration: none;
}

.footer-list a:visited, 
.gdoc-footer__link:visited {
    color: white;
    text-decoration: none;
}

.footer-list a:hover, 
.gdoc-footer__link:hover {
    color: #666;
    text-decoration: none;
}

@media (max-width: 980px) {
    .footer-row {
        flex-direction: column;  /* Stack the columns vertically */
        align-items: left;  /* Center the columns horizontally */
    }

    .footer-column {
        max-width: 100%;  /* Allow each column to take up the full width */
        padding: 1rem;  /* Adjust padding for better spacing */
        border-right: none;  /* Remove border between columns */
    }

    .footer-column h2, 
    .footer-column h3 {
        text-align: center;  /* Center align the headers */
    }

    .gdoc-footer .container {
        padding-left: 0;  /* Remove the left padding */
        padding-right: 0;  /* Remove the right padding */
    }

    .footer-button {
        width: 50%;
    }
    
    .footer-logo {
        display: inline-flex;
        width: 75%;
    }

}

/* End site footer */

/* 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-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: 10em;
	height: 15em!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;
}

/* Style for tab navigation */
.section-tabs {
  display: flex;
  justify-content: center;
  background-color: #0095d5;
}
/* Style for individual tab */
.section-tab {
  padding: .5rem .5rem;
  margin: 0 5px;
  cursor: pointer;
  background-color: #0095d5;
  color: white;
  font-weight: 600;
  border-top: solid;
  border-top-color: #0095d5;

}
.section-tab-content {
	padding-top: .25rem;
	text-align: center;
}
.section-tab.active {
    background-color: rgb(248, 249, 250);
    color: #0095d5;
    border-top: solid;
    border-top-color: #0095d5;
}
.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.active {
        background-color: #475d6b;
        color: white;
        border-top: solid;
        border-top-color: #0095d5;
    }
}
: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.active {
        background-color: #475d6b;
        color: white;
        border-top: solid;
        border-top-color: #0095d5;
    }
}
: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.active {
        background-color: rgb(248, 249, 250);
        color: #0095d5;
        border-top: solid;
        border-top-color: #0095d5;
    }
}
/* 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);
}
/* 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/"] {
    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: 0 !important;
    transition: all 0.3s ease !important;
}

.gdoc-nav a[href="https://apps.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 {
    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/"] {
        background-color: #71bf44 !important;
        border-color: #71bf44 !important;
    }

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

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

:root[color-theme=dark] .gdoc-nav a[href="https://apps.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(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: 0 !important;
    transition: all 0.3s ease !important;
    width: auto !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(2) a {
    background: none !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !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(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(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(2) 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(2) svg use {
    fill: white !important;
}

/* 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(2) {
    order: -1 !important;
}

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

/* Apps Website Banner */
.apps-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  background-image: url('/images/Apps-Hero-Bg.png');
  background-size: cover;
  background-position: center bottom;
  background-repeat: no-repeat;
  z-index: 5;
  padding: 1rem 0;
}

.apps-banner-content-sizing {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 100rem;
  margin: 0 auto;
  flex-wrap: wrap;
  padding: 0 2rem;
}

.apps-banner-image {
  flex: 0 1 40%;
  max-width: 40%;
  height: auto;
  object-fit: contain;
  padding-left: 1rem;
}

.apps-banner-content {
  flex: 1;
  color: #ffffff;
  text-align: left;
  font-family: 'Inter iX', Helvetica, Arial, Lucida, sans-serif;
  line-height: 1.2;
  font-size: 25px;
  font-weight: 400;
}

.apps-banner-head {
  font-family: 'Inter iX', Helvetica, Arial, Lucida, sans-serif;
  font-weight: 700;
  font-size: 42px;
  color: #ffffff;
}

.apps-banner-text {
  margin-bottom: 1rem;
  max-width: 80%;
}

.apps-banner-download {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.75rem 1.5rem;
  font-size: 19px;
  color: #ffffff;
  background-color: #71bf44;
  border: 1px solid #71bf44;
  border-radius: 10px;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
}
.apps-banner-download:visited {
	color: #ffffff;
}
.apps-banner-download:hover {
  color: #71bf44;
  background-color: #ffffff;
  border: 1px solid #71bf44;
  transform: scale(1.05);
  text-decoration: none;
}

.apps-banner-download:active {
  background-color: #f0f0f0;
  transform: scale(0.95);
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
  .apps-banner-content-sizing {
    flex-direction: column;
	align-items: center;
	text-align: center;
  }

  .apps-banner-image {
    max-width: 70%;
    margin: 1rem auto;
  }

  .apps-banner-content {
	max-width: 100%;
	text-align: center;
	margin: 0 auto;
  }
  .apps-banner-head {
	  margin: 0 auto;
  }
  .apps-banner-text {
	  max-width: 100%;
  }
}

@media screen and (max-width: 480px) {
  .apps-banner-image {
    max-width: 90%;
  }

  .apps-banner-head {
    font-size: 32px;
  }

  .apps-banner-content {
    font-size: 20px;
	text-align: center;
	margin: 0 auto;
  }
}
/* Apps Website show breadcrumb on mobile view */
@media screen and (max-width: 41rem) {
	.gdoc-page__header .breadcrumb, .hidden-mobile {
		display: contents;
	}
}
/* Apps Docs Boxes */
.apps-docs-sections {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  padding: 1rem;
}
@media screen and (max-width:50rem) {
	.apps-docs-sections {
		grid-template-columns: auto;
	}
}
.apps-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);
  max-width: 10rem;
}
.apps-docs-sections > p:hover {
	box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
}
.apps-docs-sections a {
	text-align: center;
	font-size: 14px;
	font-weight: bold;
}
.app-card-img {
	width: 10em;
	height: 10rem !important;
	object-fit: contain;
	padding: 1em 1em 1em 1em;
}
.truenas-appbutton {
    background:#0095D5;
    color: white;
    padding: .2em 1em .2em 1em;
    border: none;
    font-family: "din-2014";
	font-size: 16px;
    font-weight: 600;
 }
.truenas-appbutton:visited {
	color: white;
}
.app-info {
	padding-top: .5rem;
}
.popular-app {
	position: absolute;
	top: 1rem;
	right: .25rem;
	width: 4rem;
}
/* End Apps Docs Boxes */
/* Screenshot Thumbnails */
.screenshots-thumbnails {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.screenshot-thumbnail {
  width: 400px;
  height: auto;
  border: 1px solid #ccc;
  border-radius: 5px;
  transition: transform 0.2s;
  cursor: pointer;
}

.screenshot-thumbnail:hover {
  transform: scale(1.1);
}
/* Lightbox Styles */
.lightbox {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 50%; /* Center horizontally */
  top: 50%; /* Center vertically */
  transform: translate(-50%, -50%); /* Adjust for centering */
  width: 80%; /* Set the width to 80% of the viewport */
  height: 80%; /* Set the height to 80% of the viewport */
  background-color: rgba(0, 0, 0, 0.9); /* Dark background */
  border-radius: 10px; /* Optional: Rounded corners */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Optional: Add a shadow */
  overflow: hidden; /* Prevent scrolling inside the modal */
}

/* Lightbox Content (Image) */
.lightbox-content {
  max-width: 100%; /* Ensure the image fits within the modal */
  max-height: 100%; /* Ensure the image fits within the modal */
  margin: auto;
  display: block;
  object-fit: contain; /* Ensure the image scales proportionally */
}

/* Close Button */
.lightbox-close {
  position: absolute;
  top: 10px;
  right: 20px;
  color: white;
  font-size: 30px;
  font-weight: bold;
  cursor: pointer;
}

/* Navigation Controls */
.lightbox-controls {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
}

.lightbox-controls button {
  background: gray;
  border: none;
  color: white;
  font-size: 40px;
  cursor: pointer;
}
/* Style Security Sections column boxes */
.apps-catalogs {
  display: grid;
  grid-template-columns: auto auto auto;
  gap: 2rem;
  padding: 1rem;
}
@media screen and (max-width:50rem) {
	.apps-catalogs {
		grid-template-columns: auto auto;
	}
}
@media screen and (max-width:25rem) {
	.apps-catalogs {
		grid-template-columns: auto;
	}
}
.apps-catalogs > div {
  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);
}
.apps-catalogs > a {
	text-align: center;
	padding: 20px 0;
	font-size: 18px;
	font-weight: bold;
	color: var(--body-font-color);
	box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
	transition: 0.3s;
	background-color: rgb(248, 249, 250);
    border-radius: 15px;
}
@media (prefers-color-scheme: dark) {
	.apps-catalogs > a {
		background-color: #475d6b;
	}
}
.apps-catalogs > a:hover {
	color: var(--body-font-color);
	box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
}
.apps-catalogs > a:visited {
	color: var(--body-font-color);
}
.apps-catalogs > a:visited:hover {
	color: var(--body-font-color);
}
.apps-catalogs > a > img {
	width: 50px;
	height: 50px;
	padding-bottom: 5px;
}
.section-sup {
	top: -1.0em;
	font-size: 50%;
}
/* App Catalog Page Styling */
.catalog-search-container {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  justify-content: center;
}
.filter-apps {
  padding: 0.5rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 5px;
  background-color: var(--accent-color-light);
}

#catalog-search {
  min-width: 3rem;
}

#catalog-filter {
  min-width: 4rem;
}
@media (max-width: 45rem) {
  .catalog-search-container {
    flex-wrap: wrap; /* Allow items to wrap to the next row */
  }

  #catalog-search {
    flex-basis: 100%; /* Make the search input take up the full width of its row */
    margin-top: .5rem; /* Add some spacing between rows */
	max-width: 50%;
  }
}
@media (prefers-color-scheme: dark) {
  .filter-apps {
    background-color: #333; /* Dark background for dropdowns */
    color: #fff; /* Light text color for contrast */
    border: 1px solid #555; /* Subtle border for better visibility */
  }

  .filter-apps option {
    background-color: #333; /* Match dropdown options background */
    color: #fff; /* Match dropdown options text color */
  }
}
.popular-list-dropdown{
	margin-top:1rem;
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 1rem;
}
#app-count-select {
    margin-left: auto;
}
@media (max-width: 50rem) {
  .popular-list-dropdown {
    flex-direction: column; /* Stack items vertically */
    align-items: flex-start; /* Align items to the left */
  }

  .popular-list-dropdown > div {
    margin-top: 0.5rem; /* Add spacing above the dropdown */
    width: auto; /* Ensure the dropdown takes up the full width if needed */
  }
  #app-count-select {
	margin-top: .5rem;
    margin-left: 0; /* Remove any left margin to align it to the left */
  }
}
.app-title {
	justify-content:center;
	font-size:1.5rem;
	font-weight:600;
}
/* End Styling */

/* Diataxis Labels */
/* Only apply absolute positioning inside section-tab-content (cards) */
.section-tab-content .doctype-label {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
  }
  
  /* Default inline label style (used elsewhere like in article headers) */
  .doctype-label {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    font-size: 0.75rem;
    border-radius: 1rem;
    font-weight: bold;
    text-transform: uppercase;
    white-space: nowrap;
    cursor: default;
    background-color: transparent;
  }
  
  /* Prevent floating in article headers */
  .static-label {
     position: relative;
     margin: 0;
     top: 0.5rem; 
     display: inline-block;
  }  
  
  .label-tutorial {
    color: #75bf44; /* Text color */
    border: 2px solid #75bf44; /* Outline color */
    background-color: transparent; /* No background color */
  }
  
  .label-howto {
    color: #31BEEC; /* Text color */
    border: 2px solid #31BEEC; /* Outline color */
    background-color: transparent; /* No background color */
  }
  
  .label-reference {
    color: #A593E0; /* Text color */
    border: 2px solid #A593E0; /* Outline color */
    background-color: transparent; /* No background color */
  }
  
  .label-foundations {
    color: #FF9800; /* Text color */
    border: 2px solid #FF9800; /* Outline color */
    background-color: transparent; /* No background color */
  }
  
  /* Tooltip initial state (hidden) */
  .custom-tooltip {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    top: 120%;
    background-color: #333;
    color: #fff;
    text-align: left;
    padding: 0.4rem 0.6rem;
    border-radius: 0.3rem;
    z-index: 10;
    transition: opacity 0.2s ease;
    font-size: 0.7rem;
    line-height: 1.2;
    text-transform: initial;
    white-space: nowrap;
    word-wrap: break-word;
    overflow-wrap: break-word;
    width: auto;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  }

  /* Tooltip visible state (on hover) */
  .doctype-label:hover .custom-tooltip,
  .ribbon:hover .custom-tooltip {
    visibility: visible;
    opacity: 1;
  }

  /* Tooltip positioning container */
  .doctype-label {
    position: relative;
  }

  /* Tooltip alignment (if using JS to toggle sides) */
  .tooltip-left .custom-tooltip {
    left: 0;
    right: auto;
  }

  .tooltip-right .custom-tooltip {
    right: 0;
    left: auto;
  }

  @media screen and (max-width: 600px) {
    .custom-tooltip {
      white-space: normal;
      max-width: 90vw;
      font-size: 0.65rem;
      line-height: 1.3;
      word-wrap: break-word;
      overflow-wrap: break-word;
    }
  }  

  .article-header-row {
  display: flex;
  justify-content: space-between; /* h1 on the left, label on the right */
  align-items: center; /* vertically center them */
  gap: 1rem; /* optional spacing between them */
  flex-wrap: wrap; /* allows wrapping on narrow screens */
  padding-bottom: 1rem;
  padding-top:.5rem;
}

.article-header-row h1 {
  margin: 0;
  flex: 1;
}

.article-header-row .doctype-label {
  flex-shrink: 0;
  margin-top: 0.2rem; /* fine-tune vertical alignment if needed */
}

    
/* End Diataxis Labels */

/* Security Site Nav Buttons */
.security-button {
	background-color: #0095D5;
    border: none;
    color: white;
    padding: 5px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 14px;
    margin: 4px 2px;
    cursor: pointer;
	border-width: 1px;
	font-weight: bold;
	box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
}
.security-button:hover {
	opacity: .5;
}
.security-button:visited {
	color: white;
}
.security-home-button {
	background-color: #71bf44;
    border: none;
    color: white;
    padding: 5px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 12px;
    margin: 4px 2px;
    cursor: pointer;
	border-width: 1px;
	font-weight: bold;
}
.security-home-button:hover {
	opacity: .5;
}
.security-home-button:visited {
	color: white;
}

/* Begin Sortable Data Table */
table {
	border-collapse: collapse;
	max-width: 100%;
}
th, td {
	border-left: 1px solid #ddd;
	border-right: 1px solid #ddd;
	border-bottom: 1px solid #ddd;
	border-top: 0;
}
th {
	cursor: pointer;
}
.asc:after {
	content: "\25b2";
}
.desc:after {
	content: "\25bc";
}
#searchBox {
	padding: 8px;
	width: 100%;
	box-sizing: border-box;
	border: 1px solid #ddd;
	margin-bottom: 12px;
}
/* End Sortable Data Table */

/* Begin Expand rows for Data Table */
.expanded-row {
  display: none;
}
.expanded-row.show {
  display: table-row;
}
.cve_expand {
	cursor: default;
}
.expanded-content-left {
	float: left;
	width: 25%;
	margin-left: 5%;
}
.expanded-content-right {
}
/* End Expand rows for Data Table */

/* Style universal site button */
.truebutton {
	cursor: pointer;
	border-color: #e3e3e2;
	background-color:#0095D5; 
	color:white;
	margin-right: .5rem;
}
/* End universal site button */

/* Style Advisory Details section */
.advisory-details {
	display: none;
	margin-top: 1rem;
	margin-bottom: 1rem;
	background-color: #F8F9FA;
	border: solid 2px gray;
	padding: .5rem 1rem;
}
.detailspacing {
	margin-bottom: .75rem;
}
.selected-row {
	background-color: #e0e7eb!important;
}
/* End Advisory Details section */

/* Style Response Impact Colors */
.crit-impact {
	color: #cc0000;
}
.med-impact {
	color: #cccc00;
}
.low-impact {
	color: #009933;
}
/* End Style Response Impact Colors */

/* Begin Security Checkbox Style */
.securitycheckbox input[type="checkbox"] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border: 2px solid #0095D5;
  border-radius: 3px;
  outline: none;
  transition: background-color 0.1s ease-in-out;
  cursor: pointer;
  position: relative;
  margin-right: 5px;
  vertical-align: middle;
}
.securitycheckbox input[type="checkbox"]::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 10px;
  height: 10px;
  background-color: #0095D5;
  border-radius: 2px;
  opacity: 0;
  transition: opacity 0.1s ease-in-out;
}
.securitycheckbox input[type="checkbox"]:checked::before {
  opacity: 1;
}
.securitycheckbox input[type="checkbox"]:focus {
  outline: none;
  box-shadow: 0 0 3px rgba(0, 149, 213, 0.5);
}
/* End Security Checkbox Style */

#SBOMdownloadButton {
	display: none;
}

/* advisory-details styling */
#advisory-details {
    margin-top: 20px;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: #f9f9f9;
}

/* Two-column layout */
.details-columns {
    display: flex;
    gap: 2rem; /* Space between the columns */
}

/* Individual columns */
.details-column {
    flex: 1; /* Equal width for both columns */
}

/* Left column */
.details-left {
    margin-right: 1rem;
}

/* Right column */
.details-right {
    margin-left: 1rem;
}

/* Styling for individual detail items */
.detail-item {
    margin-bottom: 10px;
}

/* Styling for labels */
.detail-item span:first-child {
    display: inline-block;
    width: 150px;
    font-weight: bold;
}

/* Styling for links */
.detail-item a {
    color: #007bff;
    text-decoration: none;
}

.detail-item a:hover {
    text-decoration: underline;
}

/* End Security Site Additions */

/* ========== 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: #71bf44 !important;
}

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

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

[color-mode="dark"] #TrueNASHeader .truenas-edition-buttons .truenas-edition-button:last-child:hover {
  background: #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: #71bf44 !important;
  }

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

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

  #TrueNASHeader .truenas-edition-buttons .truenas-edition-button:last-child:hover {
    background: #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: #71bf44 !important;
}

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

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

#TrueNASHeader .truenas-edition-buttons .truenas-edition-button:last-child:hover {
  background: #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 ========== */