*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    height: 100%;
}

body {
    margin: 0;
    font-family: 'Open Sans', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100vh;
    font-size: 100%;
}


.container {
    display: flex;
    flex-grow: 1;
    height: 100%;
}


.content::-webkit-scrollbar {
    width: 18px;
}

.content::-webkit-scrollbar-track {
    box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    background-color: #f9f9f9;
}

.content::-webkit-scrollbar-thumb {
    background-color: #888;
    border-radius: 12px;
    border: 3px solid #f9f9f9;
}



.content {
    flex-grow: 1;
    padding: 30px 40px;
    background-color: #fff;
    overflow-y: auto;
    position: relative;
    z-index: 1;
    min-height: 0;
    scrollbar-color: #888 #f9f9f9;
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
}


.content h2 {
    font-size: 1.7em;
    margin-top: 40px;
    margin-bottom: 0;
    color: #569abd;
    margin-left: 0;
}



.content h3 {
    
    font-weight: normal;
    margin-top: 20px;
    margin-bottom: 5px;
    color: #222;
    
    line-height: 1.4;
    display: flex;
    align-items: baseline;
    padding-left: 50px;
    font-size: 1em;
    
    
    
}



.content h4 {
    
    font-weight: normal;
    margin-top: 3px;
    margin-bottom: 3px;
    color: #222;
    
    line-height: 1.4;
    display: flex;
    align-items: baseline;
    
    font-size: 1.2em;
    
    
    
}

.content .benefits-funding-adjustments-list {
    list-style: none;
    margin-left: 130px;
    font-size: 1.05em;
    line-height: 1.15em;
    
}


.content ul,
.content ol {
    list-style: disc;
    list-style-position: outside;
    margin-left: 100px;
    padding-left: 0;
    margin-bottom: 1em;
}

.content ul li,
.content ol li {
    margin-bottom: 5px;
}

.content .wage-adjustments-list {
    list-style: none;
    margin-left: 130px;
    font-size: 1.1em;
    line-height: 1.15em;
    
}


.wage-adjustment-list-space { 

    padding-left: 10px

}

.central-terms-section {
    background-color: #204164;
    color: #fff;
    text-align: center;
    padding: 10px 10px;
    
    
}

.central-terms-section p {
    margin: 0;
    margin-bottom: 10px;
    color: white;
    
}

.central-terms-section h1 {
    margin: 8px 0 0 0;
    color: white;
    
}


.central-terms-section .term-dates {
    list-style: disc;
    margin: 0 auto;
    padding: 0;
    width: fit-content;
    text-align: left;
    font-size: 1.3em;
    opacity: 0.8;
    color: #fff;
    
}



.centralterms p {
    margin-left: 130px;
    color: #222;
    margin-right: 60px;
    margin-top: 5px;
    margin-bottom: 1em;
    line-height: 1.6;
    text-indent: 0;
    font-size: 1.1em;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.centralterms h4 {
    font-size: 1.2em;
    font-weight: normal;
    margin-top: 25px;
    margin-bottom: 8px;
    color: #222;
    margin-left: 130px;
    text-indent: -30px;
    line-height: 1.4;
}


.floating-zoom-controls {
    position: fixed; 
    bottom: 85px;    
    right: 25px;     
    z-index: 1000;   
    display: flex;
    flex-direction: column; 
}





.floating-zoom-controls button {
    width: 50px;
    height: 50px;
    border-radius: 50%; 
    border: 2px solid #ffffff;
    background-color: #204164; 
    color: #ffffff;     
    font-family: 'Open Sans', Arial, sans-serif; 
    font-size: 28px; 
    line-height: 46px; 
    text-align: center;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); 
    transition: all 0.4s ease-in-out; 
}

.floating-zoom-controls button#zoom-in-button {
    margin-bottom: 10px;
}

.floating-zoom-controls button:hover {
    background-color: #5a99b8; 
    border-color: #ffffff; 
    transform: scale(1.1); 
}

.nested-table {
    margin-left: 100px;
    margin-top: 0;
    margin-bottom: 1em;
    width: calc(100% - 100px);
    border-collapse: collapse;
    table-layout: fixed;
    word-wrap: normal;
    
}


.nested-table td {
    padding: 0;
    vertical-align: top;
    line-height: 1.6;
    color: #222;
    word-wrap: normal;
    
}




.nested-table td:first-child {
    width: 100px;
    text-align: right;
    padding-right: 25px;
}

.nested-table td:nth-child(2) {
    padding-left: 0;
    word-wrap: normal;
    font-size: 1.1em;
    padding-right:60px;
}

.nested-table td:first-child h3 {
    font-weight: normal;
    margin: 0;
    padding: 0;
    text-indent: 0;
    line-height: inherit;
    color: inherit;
    display: inline;
    font-size: 1.1em
}




.nested-table2 {
    
    margin-left: 0;
    margin-top: 5px;
    margin-bottom: 0;
    width: 100%;
    border-collapse: collapse;
    font-size: 1em;
    table-layout: fixed;
    word-wrap: normal;
}

.nested-table2 td {
    padding: 0;
    vertical-align: top;
    line-height: 1.6;
    color: #222;
}

.nested-table2 td:first-child {
    width: 80px;
    text-align: right;
    padding-right: 25px;
}

.nested-table2 td:nth-child(2) {
    padding-left: 0;
    padding-right: 25px;
    word-wrap: break-word;
    overflow-wrap: break-word;
    font-size: 1em;
    padding-right: 100px;
}

.nested-table2 td:first-child h3 {
    font-size: 1em;
    font-weight: normal;
    margin: 0;
    padding: 0;
    text-indent: 0;
    line-height: inherit;
    color: inherit;
    display: inline;
}





.nested-table3 {
    
    margin-left: 25px;
    margin-top: 5px;
    margin-bottom: 0;
    width: 100%;
    border-collapse: collapse;
    font-size: 1em;
    table-layout: fixed;
    word-wrap: normal;
}

.nested-table3 td {
    padding: 0;
    vertical-align: top;
    line-height: 1.6;
    color: #222;
}

.nested-table3 td:first-child {
    width: 100px;
    text-align: right;
    padding-right: 25px;
}

.nested-table3 td:nth-child(2) {
    padding-left: 0;
    padding-right: 25px;
    word-wrap: break-word;
    overflow-wrap: break-word;
    font-size: 1em;
}

.nested-table3 td:first-child h3 {
    font-size: 1em;
    font-weight: normal;
    margin: 0;
    padding: 0;
    text-indent: 0;
    line-height: inherit;
    color: inherit;
    display: inline;
}







.letters-of-agreement ul { 
    
    margin: 0;
    margin-top: 20px;
    margin-left: 55px;
    font-size: 1.2em;
    
}



.letters-of-agreement .nested-table {
    margin-left: 0;
    margin-top: 0;
    margin-bottom: 1em;
    width: calc(100% - 35px);
    
}

.letters-of-agreement .nested-table2 {
    margin-left: 25px;
    margin-top: 0;
    margin-bottom: 0;
    width: calc(100% - 35px);

    
}

.letters-of-agreement .nested-table3 {
    margin-left: 25px;
    margin-top: 0;
    margin-bottom: 1em;
    width: calc(100% - 35px);

    
}



.letters-of-agreement .nested-table2  h4 {
   font-size: 1em;


    
}

.letters-of-agreement .nested-table2 td {
    padding: 0;
    vertical-align: top;
    line-height: 1.6;
    color: #222;
    font-size: 1em;
}


.letters-of-agreement .nested-table td:nth-child(1) {
    width: 100px;
    text-align: left;
    padding-left: 35px;
    padding-right: 0;
    
}

.letters-of-agreement .nested-table td:nth-child(2) {
    padding-left: 0;
    
    word-wrap: normal;
    font-size: 1.1em;
}

.letters-of-agreement .nested-table3 td:nth-child(1) {
    width: 100px;
    text-align: left;
    padding-left: 0;
    padding-right: 0;
    font-size: 1.1em;
    
}

.letters-of-agreement .nested-table3 td:nth-child(2) {
    padding-left: 0;
    
    word-wrap: normal;
    font-size: 1.1em;
}

.letters-of-agreement .nested-table2 td:nth-child(2) {
    padding-left: 0;
    
    word-wrap: normal;
    font-size: 1em;
}

.letters-of-agreement .nested-table td:first-child h3 {
    font-weight: normal;
    margin: 0;
    padding: 0;
    text-indent: 0;
    line-height: inherit;
    color: inherit;
    display: inline;
}

.letters-of-agreement h4 {
    font-weight: 400;
    font-size: 1.1em;
    color: #222;

}


.letters-of-agreement p {
    margin-left: 0;
    color: #222;
    margin-top: 5px;
    margin-bottom: 0;
    line-height: 1.6;
    text-indent: 0;
    font-size: 1.1em;
}


.letters-of-agreement h2 {
    font-size: 1.45em;
    margin-top: 40px;
    margin-bottom: 15px;
    color: #000;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.letters-of-agreement h3 {
    
     font-size: 1.45em;
font-weight:600;
 margin-top: 40px;
 padding:0;
 margin-bottom: 15px;
 color: #000;
 width: fit-content;
 margin-left: auto;
 margin-right: auto;
 text-align: center;
    
    
    
}

.LOA4STYLE { 
    
    margin-left: 30px;
    font-weight: 800;
    font-size: 1.1em;
}

#LOA13 .nested-table2 td:nth-child(1){
    width: 55px;
    margin: 0;
   
    padding: 0 ;
    
}

#LOA13 .nested-table2 { 
    
    
    margin-top: 10px;
    margin-bottom: 15px;
    font-size:  1.2em;
}

#LOA13 .nested-table { 
    
    font-size: 1.2em;
    
}
#LOA13-Table {
    
    margin: 0; padding: 0;
    
}

#LOA13-Table td:nth-child(1) {
    
    width: 55px;
    margin: 0;
    padding: 0;
}

#LOA18-Table td:nth-child(1) {
    
    width: 70px;
    padding-left: 0;
    font-size: 1.3em;
    
    
}

#LOA23-Table { 
    
    margin-left: 0;
    font-size: 1.2em;

    
    
    
}

#LOA23-Table2 { 
    
    margin-left: 0;
    font-size: 1em;

    
    
    
}

#LOA23 p {
    
    padding: 0;
    margin-top: 30px;
    margin-left: -40px;
    font-size: 1em;
}

#LOA23-Table td:nth-child(1){ 
    
    width: 75px;

    
    
    
}


#LOA19-Table td:nth-child(1) {
    
    width: 55px;
    padding-left: 0;
    
    font-style: normal;    
    
}

#LOA19-Table {
    margin-left: 35px;
    margin-top: 15px;
}



#LOA18-Table2  {
    
    margin-left: 35px;    
    
    
}


.letters-of-agreement .loa14-bullets { 
    list-style-type: none; 
    margin-left: 25px;
    

}

.letters-of-agreement .loa14-bulleted-list {
    
    font-size: 1em;
}


/* =====================================================================
   SIDEBAR STYLES START HERE
   ===================================================================== */

.sidebar {
    width: 380px;
    background-color: #f5f5f5;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
    flex-shrink: 0;
    height: 100%;
    font-size: 14px;
}

.sidebar nav {
    padding-right: 15px;
    padding-top: 0;
}

.sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar li {
    margin-bottom: 0px;
}
.sidebar a,
.sidebar .collapsible-header {
    text-decoration: none;
    display: flex;
    align-items: baseline;
    padding: 5px 15px;
    font-size: 1em;
    transition: background-color 0.2s, color 0.2s;
}

/* B. Set the default color and weight for ALL sidebar text to be dark blue and bold */
.sidebar .sidebar-item-text,
.sidebar .sidebar-item-number, .sidebar-item-text-moreright {
    color: #204164;
    font-weight: 400;
}

/* C. Specifically override the color and weight for SUB-ITEM links to be light blue and less bold */
.sidebar .collapsible-content a .sidebar-item-text,
.sidebar .collapsible-content a .sidebar-item-number,
.sidebar .collapsible-content a .sidebar-item-text-moreright{    
    color: #5a99b8;
    font-weight: 600; /* Use a slightly less bold weight for sub-items */
}

/* D. Handle all hover and focus states consistently */
.sidebar a:hover,
.sidebar a:focus,
.sidebar .collapsible-header:hover,
.sidebar .collapsible-header:focus {
    background-color: #e0e0e0;
}

/* E. Ensure ALL text inside a hovered/focused element becomes dark for contrast */
.sidebar a:hover .sidebar-item-text,
.sidebar a:hover .sidebar-item-number,
.sidebar a:hover .sidebar-item-text-moreright,
.sidebar .collapsible-header:hover .sidebar-item-text,
.sidebar .collapsible-header:hover .sidebar-item-text-moreright,
.sidebar .collapsible-header:hover .sidebar-item-number {
    color: #333; 
}


.part-selector {
    display: flex;         
    flex-direction: row;   
    width: 100%;          
    margin: 15px 0;        
}

.part-tab {
    flex: 1; 
    padding: 10px;
    text-align: center;
    background-color: #204164;
    color: #fff;
    border: 1px solid #666;
    cursor: pointer;
    font-size: 0.85em;
    transition: background-color 0.2s ease;
}

.part-tab:first-child {
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
}
.part-tab:last-child {
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    border-left: none; 
}

.part-tab.active {
    background-color: #4794dc; 
    color: white;
    font-weight: bold;
}


.part-tab:not(.active):hover {
    background-color: #81b4eb;
}

.main-menu>li>a,
.main-menu>li>.collapsible-header {
    padding-left: 20px;
}

.loa-header {
    margin-top: 0;
    margin-bottom: 20px;
    text-align: center;
    font-size: 1.5em;
    color: #204164;
    font-weight: 700; 


}

#toc-no-child { 
    padding-left: 0;
}

.sidebar-header {
    position: sticky;
    top: 0;
    z-index: 10;
    background-color: #f5f5f5;
    padding: 0 20px 10px 20px;
    text-align: center;
}

.sidebar-logo {
    max-width: 60%;
    height: auto;
    display: block;
    margin: 0 auto 0 auto;
}

.site-title-sidebar {
    font-size: 1.7em;
    font-weight: 700;
    color: #204164;
    line-height: 1.3;
    margin: 0;
}

.sidebar-text-content {
    display: flex;
    align-items: baseline;
    flex-grow: 1;
}

.sidebar-item-number {
    font-weight: normal;
    flex-shrink: 0;
    flex-grow: 0;
    min-width: 10px;
    text-align: center;
    padding-right: 15px;
}







.search-container {
    padding: 10px 0 5px 0;
}

#search-input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1em;
    font-family: 'Open Sans', sans-serif;
}

#search-results {
    display: none; /* Hidden by default */
    padding: 0 15px;
}

/* This class will be added to the sidebar via JS when searching */
.sidebar.search-active nav {
    display: none; /* Hide the main nav */
}
.sidebar.search-active #search-results {
    display: block; /* Show the search results */
}

.search-result-item {
    display: block;
    padding: 10px 5px;
    border-bottom: 1px solid #e0e0e0;
    text-decoration: none;
    color: #333;
    transition: background-color 0.2s;
}

.search-result-item:hover {
    background-color: #e0e0e0;
}

.search-result-item .result-text {
    font-size: 0.9em;
    line-height: 1.4;
    color: #555;
}

.search-result-item .result-text strong {
    color: #204164;
    font-weight: 700;
}

.no-results-message {
    padding: 15px;
    text-align: center;
    color: #777;
    font-style: italic;
}

/* Style for the highlighted text in the main content */
.search-highlight {
    background-color: #fff34d;
    color: #000;
    font-weight: bold;
    border-radius: 3px;
    padding: 0 2px;
}


.search-result-item .result-id {
    color: #569abd; /* A distinct but readable blue */
    margin-right: 8px;
    font-weight: 700;
}










/* This is covered by the new, more specific rules above */
/* .main-menu>li>.collapsible-header .sidebar-item-number,
.main-menu>li>.collapsible-header .sidebar-item-text {
    font-weight: 800;
} */

.sidebar-item-text {
    font-weight: normal;
    flex-grow: 1;
    word-wrap: break-word;
    overflow-wrap: break-word;

}

.sidebar-item-text-moreright {
    font-weight: normal;
    flex-grow: 1;
    word-wrap: break-word;
    overflow-wrap: break-word;
    padding-left: 27px;
    
}

.collapsible-header .arrow {
    font-size: 0.8em;
    transition: transform 0.2s;
    flex-shrink: 0;
    flex-grow: 0;
    width: 15px;
    text-align: center;
    margin-right: 3px;
}

.collapsible-parent.expanded .collapsible-header .arrow {
    transform: rotate(180deg);
}


.collapsible-content {
    display: none;
    padding-left: 0;
    border-left: 2px solid #ddd;
    margin-top: 5px;
    padding-top: 5px;
}

.collapsible-content li {
    padding-left: 0;
}


.collapsible-content>li>a,
.collapsible-content>li>.collapsible-header {
    padding-left: 50px;
    
}

.collapsible-content .collapsible-content>li>a,
.collapsible-content .collapsible-content>li>.collapsible-header {
    padding-left: 50px;
}

.collapsible-content .collapsible-content .collapsible-content>li>a,
.collapsible-content .collapsible-content .collapsible-content>li>.collapsible-header {
    padding-left: 65px;
}


.collapsible-parent.expanded .collapsible-content {
    display: block;
}




.underline {
    text-decoration: underline;
    
}

.letters-of-agreement .space {
    
 margin-bottom: 15px; 
}

.section-number {
    display: inline-block;
    padding-right: 75px;
    white-space: nowrap;
    font-weight: 700;
    flex-shrink: 0;
    flex-grow: 0;
    width: 50px;
    text-align: right;
    font-size: 1.2em;
    
}

.section-number-nobold {
    display: inline-block;
    padding-right: 75px;
    white-space: nowrap;
    font-weight: 700;
    flex-shrink: 0;
    flex-grow: 0;
    width: 50px;
    text-align: right;
    font-size: 1.2em;
    
}

.section-text {
    font-weight: 700;
    flex-grow: 1;
    font-size: 1.1em;
}

.section-text-nobold {
    font-weight: normal;
    font-size: 1.1em;
    flex-grow: 1;
    
}


#bulleted-list1 {
    margin-top: 10px;
    margin-left: 35px;
    font-size: 1em;
    line-height: 1em;
    
}

#bulleted-list1 li {
    
    padding-left: 30px;
    margin-bottom: 5px;
    
    
}

.main-content-header {
    margin-bottom: 30px;
}

.banner-image-container {
    width: 100%;
    overflow: hidden;
    background-color: #fff;
    padding-top: 0;
    padding-bottom: 30px;
    text-align: center;
}

.main-banner-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}






.hamburger-menu {
    display: none;
    position: fixed;
    top: 20px;
    left: 20px;
    width: 30px;
    height: 24px;
    z-index: 1000;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
}

.hamburger-menu span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: #333;
    transition: all 0.3s ease-in-out;
}

.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
}







.formula {
    margin-left: 100px;
    padding-right: 20px;
}

.spacing {
    padding-right: 40px;
    
}

.top {
    
    margin-top: -5px;
}

.indent {
    margin-left: 100px;
    
}




.content a,
.content a:visited {
    color: #204164;
    text-decoration: underline;
    font-weight: 600; /* Makes the links slightly bolder to stand out */
    transition: color 0.2s ease;
}

.content a:hover,
.content a:focus {
    color: #5a99b8; /* A slightly lighter blue for hover effect */
    text-decoration: underline;
}


/* =====================================================================
   MEDIA QUERIES FOR MOBILE
   ===================================================================== */

@media (max-width: 768px) {
    .container {
        flex-direction: column;
    }
    
    .hamburger-menu {
        display: flex;
    }
    
    .sidebar {
        position: fixed;
        top: 0;
        left: 0;
        height: 100vh;
        transform: translateX(-100%);
        transition: transform 0.3s ease-out;
        z-index: 1000;
        width: 360px;
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.2);
    }
    
    body.sidebar-open .sidebar {
        transform: translateX(0);
    }
    
    body.sidebar-open .overlay {
        display: block;
    }
    
    
    .nested-table td:nth-child(1),
    .nested-table2 td:nth-child(1) {
        width: auto;
        min-width: 40px;
        text-align: left;
        padding-right: 5px;
        font-size: 1.2em;
    }
    
    .nested-table td:nth-child(2),
    .nested-table2 td:nth-child(2) {
        padding-left: 5px;
        padding-right: 5px;
        font-size: 1.1em;
        
    }
    
    
    .central-terms-section h1 {
        font-size: 1.8em;
        padding-bottom: 0;
    }
    
    body.sidebar-open {
        overflow: hidden;
    }
}