/* Reset and base styles */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    font-size: 16px;
    line-height: 1.5;
    height: 100%;
}

body {
    font-family: Verdana, Arial, "sans-serif";
    margin: 0;
    padding: 0;
    color: #333;
    width: 100%;
    min-height: 100vh;
    background-color: #fff;
}

/* Container */

.container {
	list-style: none;
	margin-left: 20px;
}

.container li {
	padding: 20px;
}


/* Navigation */
.site-header {
    background-color: #f5f5f5;
    border-bottom: 1px solid #ccc;
    padding: 0.5rem 1.5rem;
    width: 100%;
}

.site-header ul li a {
  display: block;
  text-align: center;
  padding: 10px 12px;
  text-decoration: none;
}

.site-header ul li a:hover {
	background-color: #003399;
	color: #f5f5f5;
}

.primary-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.primary-nav a {
    color: #003399;
    text-decoration: none;
    font-size: 0.875rem;
}

.primary-nav a:hover {
    text-decoration: underline;
}

/* Main content wrapper with sidebar layout */
.content-wrapper {
    display: grid;
	grid-template-columns: 250px 1fr;
    gap: 0;
    padding: 0;
    width: 100%;
    min-height: calc(100vh - 60px);
}

/* Sidebar */
.sidebar {
    background-color: #fafafa;
    border-right: 1px solid #ccc;
    padding: 1.5rem;
    position: sticky;
    top: 0;
    height: fit-content;
    max-height: 100vh;
    overflow-y: auto;
}

.sidebar-section {
    margin-bottom: 1.5rem;
}

.sidebar-section:last-child {
    margin-bottom: 0;
}

.sidebar-section h3 {
    font-size: 1rem;
    color: #003399;
    margin-top: 0;
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #ccc;
}

.sidebar-section ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.sidebar-section li {
    margin-bottom: 0.5rem;
}

.sidebar-section a {
    color: #003399;
    text-decoration: none;
    font-size: 0.875rem;
}

.sidebar-section a:hover {
    text-decoration: underline;
}

.sidebar-section p {
    margin: 0;
}

/* Main content area */
.main-content-area {
    padding: 2rem 2rem;
    width: 100%;
}

h2 {
	margin: 1px 0px;
}

/* Page header with logo */
.page-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    border-bottom: 2px solid #003399;
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
}

.page-header-logo {
    height: 80px;
    width: auto;
	margin-left: 20px;
    flex-shrink: 0;
    object-fit: contain;
}

.page-header-text {
    display: flex;
    flex-direction: column;
}

.page-header-text h1 {
    font-size: 1.75rem;
    margin: 0;
    color: #003399;
    line-height: 1.2;
}

.page-header-text .subheading {
    font-size: 1.25rem;
    color: #333;
    font-weight: normal;
    margin-top: 0.25rem;
}

.subheading {
    font-size: 1.25rem;
    color: #333;
    font-weight: normal;
}

/* Footer */
.site-footer {
    background-color: #f5f5f5;
    border-top: 1px solid #ccc;
    padding: 1rem 1.5rem;
    text-align: center;
    font-size: 0.75rem;
    width: 100%;
}


@media screen and (max-width: 600px) {
    .page-header {
        gap: 1rem;
    }
    
    .page-header-logo {
        height: 56px;
    }
    
    .page-header-text h1 {
        font-size: 1.25rem;
    }
    
    .page-header-text .subheading {
        font-size: 1rem;
    }
}

/* Search Tips */

.searchtips ul li {
	list-style: none;
	padding: 10px;
}

/* Responsive design */
@media screen and (max-width: 900px) {

	.content-wrapper {
		grid-template-columns: 1fr;
	}
    
    .site-header {
        padding: 0.5rem 1rem;
    }
    
    .primary-nav ul {
        flex-direction: column;
        gap: 0.5rem;
    }
}

@media screen and (max-width: 600px) {
    html {
        font-size: 14px;
    }
    
    .main-content-area {
        padding: 20px;
    }
}

/* Print styles */
@media print {
    .site-header,
    .sidebar,
    .site-footer {
        display: none;
    }
    
    .content-wrapper {
		display: block;
    }
    
    .main-content-area {
        padding: 0;
    }
    
    .data-table {
        font-size: 0.75rem;
    }
}