@font-face {
	font-family: 'Inter';
	src: url('/fonts/inter-v20-latin-regular.woff2') format('woff2');
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Inter';
	src: url('/fonts/inter-v20-latin-500.woff2') format('woff2');
	font-weight: 500;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Inter';
	src: url('/fonts/inter-v20-latin-600.woff2') format('woff2');
	font-weight: 600;
	font-style: normal;
	font-display: swap;
}

html {
	/* overflow-y: auto; */
	font-size: 62.5%;
}

* {
        box-sizing: border-box;
}

body {
	font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, avenir next, avenir, 'Segoe UI', 'Helvetica neue', Helvetica, Ubuntu, Roboto, noto, arial, sans-serif;
	line-height: 1.2;
	margin: 20px auto;
	padding: 0 15px;
	color: #333;
	font-size: 1.65rem;
	overflow: auto;
}

#wrapper {
	margin: 0 auto;
	width: 98%;
	background-color: #FFF;
	border: 1px solid #878E63;
	border-radius: 2px;
	box-shadow: 0 0 10px rgba(12, 3, 25, 0.8);
/*	overflow: hidden; */
}

.main {
/*	margin: 2% 10% 2% 10%; */
	width: 90%;
	margin: 0 auto;
/*	line-height: 150%; */
}

h1 {
	color: #0056b3;
	border-bottom: 2px solid #eee;
	padding-bottom: 10px;
	font-size: 1.4em;
}

h2 {
	color: #0056b3;
	font-size: 1.6em;
	font-weight: 600;
	margin-top: 0.25em;
	margin-bottom: 0;
}

h3 {
	font-size: 1.2em;
	font-weight: 600;
	margin-top: 0.25em;
	margin-bottom: 0;
}

h4 {
	color: #396658;
	/* color: #686A8A;*/
	font-size: 1.12em;
	/*font-size: 0.95em;*/
	margin-top: 0.25em;
	margin-bottom: 0;
}

h5 {
	font-size: 0.85em;
	color: #31AD31;
	margin-top: 0.25em;
	margin-bottom: 0;
}

.category_heading {
	color: #396658;
	font-size: 1.12em;
	margin-top: 0.25em;
	margin-bottom: 0;
}

ul {
	margin-top: 0.25em; /* Adjust to 0 for no gap at all */
}

figcaption {
	clear: left;
	font-style: italic;
	font-weight: bold;
	line-height: 1.65em;
	margin-bottom: 0.5em;
}

.warning {
	font-weight: bold;
	color: red;
}

.top-space-115 {
	margin-top: 115px;
}

.margin {
	margin-top: 115px;
}

.main img {
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-top: 25px;
	margin-bottom: 25px;
	max-width: 80%;
}

.home_link {
	margin-top: 10px;
	margin-bottom: 35px;
}

button.button {
	line-height: normal;
}

.button {
        text-decoration: none;
        font-weight: normal;
	font: inherit;
        background-color: #4CAF50;
        border: none;
        color: white;
        padding-top: 6px;
        padding-right: 14px;
        padding-bottom: 6px;
        padding-left: 14px;
        text-align: center;
        display: inline-block;
        cursor: pointer;
        border-radius: 4px;
        transition-duration: 0.4s;
}

.button:hover {
        text-decoration: none;
        background-color: #63b4fb;
        color: yellow;
}

/* css for home page content */

.home_page_content a:hover {
	text-decoration: underline;
}

.home_page_content a:visited {
	color: gray;
}

.home_page_content {
	line-height: 1.8;
	margin-bottom: 2em;
}

.home_page_content img {
	max-width: 80%;
}

.home_page_content p {
	white-space: pre-line;
	overflow-wrap: anywhere;
	margin-top: 0;
	margin-bottom: 1em;
	padding: 0;
	line-height: 1.4;
}

.home_page_content p:last-child {
	margin-bottom: 0;
}

/* end css for home page content */

.page {
	padding-bottom: 1em;
	line-height: 2;
}

.page_content a {
	color: blue;
	text-decoration: none;
	font-weight: 600;
/*	line-height: 1.4; */
}

.page_content a:hover {
	text-decoration: underline;
}

.page_content a:visited {
	color: blue;
}

.page_content {
	line-height: 1.8;
	margin-bottom: 2em;
}

.page_content img {
	max-width: 80%;
}

.page_content p {
	white-space: pre-line;
	overflow-wrap: anywhere;
	margin-top: 0;
	margin-bottom: 1em;
	padding: 0;
	line-height: 1.4;
}

.page_content p:last-child {
	margin-bottom: 0;
}

.page_heading {
	font-size: 1.55em;
	color: #0056b3;
	font-weight: 600;
	padding-bottom: 0.5em;
}

.page_sub_heading {
	font-size: 1.3em;
	color: #0056b3;
	font-weight: 600;
}

.clearfix {
	clear: both;	
}
/* update 04 */
.main_heading {
	margin-top: 25px;
	border-bottom: 2px solid #eee;
	display: flow-root;
}

.main_heading img {
	float: left;
	margin-top: -10px;
	margin-right: 15px;
}

.site_heading {
	color: #0056b3;
	font-size: 1.5em;
}

.small_heading {
	color: #0040ff;
	font-size: 1em;
}

input[type=text] {
	width: auto; 
	min-width: 180px;
	padding: 4px;
/*
	padding: 6px;
	margin: 10px 0;
	box-sizing: border-box;
	font-size: 1em;
*/
}

button[type="button"] {
	border: none;
	background: transparent;
	cursor: pointer;
}

.search_box {
/*	font-size: 1.6em; */
	border: 2px solid #d8d5d5;
	border-radius: 5px;
	width: 100%;
	margin: 1em auto 0.5em auto;
/*
	margin: 0 auto;
	margin-top: 1em;
	margin-bottom: 0.5em;
*/
	text-align: center;
	box-sizing: border-box;
}

.search_box form {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 10px;
}

.search_box_content {
	padding: 0.65em;
}

.search_box_heading {
	font-weight: bold;
}

.search_caption {
	display: inline;
/*	font-size: 1.1em; */
	font-weight: bold;
	margin-left: 1.1em;
}

.search_input_box {
	margin-top: 2em;
	margin-bottom: 2em;
}

.search_box label {
	font-size: 1em;	
}

.search_link {
	font-size: 1.2em;
	margin-top: 8px;
	margin-bottom: 5px;
}

/*
.search_link a {
	font-weight: 600;
	color: #0056b3;
}
*/

table {
	width: inherit;
	font-size: 0.95em; 
	font-family: 'Monospace', 'Sans-serif', 'Helvetica';
	table-layout: fixed;
	border-spacing: 0;
	border: 1px solid #E1E1E1;
	word-break: break-word;
}

table.center {
	margin-left: auto;
	margin-right: auto;
}

/* nth-child(1) = the first td in each tr */
td:nth-child(1) {
	width: 18%;
}

/* the second */
td:nth-child(2) {
	width: 20%;
}

/* the third */
td:nth-child(3) {
	width: 20%;
}

/* the third */
td:nth-child(4) {
	width: 30%;
}

th, td {
	border: 1px solid #E1E1E1;
	padding: 8px;
        text-align: left;
	overflow: hidden;
}

th {
	font-weight: bold;
        color: #000;
        background: #cccccc;
}

td {
        color: #000;
        background: transparent;
}

tr:hover td:not([rowspan]) {
	background-color: #CC6666;
	color: #FFFF00; 
}

table tr:nth-child(even) {
	background-color: #f2f2f2;
}

tr:first-child:hover {
	background-color: white;
}

/* related menus */

.related-menu {
	padding-bottom: 1em;
	margin: 0 auto;

}

a.related_menu:link {
	color: blue;
	padding: 0 1px;
	text-decoration: none;
	border-bottom: 1px solid transparent;
}

a.related_menu:visited {
	color: blue;
	border-bottom: 1px solid transparent;
}

a.related_menu:hover {
/*	background-color: #ccc; */
	color: black;
	border-bottom: 1px solid blue;
	/* border-bottom: 1px solid red; */
}

a.related_menu:active {
	color: green;
/*	background-color: #ccc; */
	border-bottom: 1px solid red;
}

/* end related menus */
/* new */

.index-container {
	/* Create two columns */
	column-count: 4;
	/* Space between the columns */
	column-gap: 30px;
	/* Optional: Add a vertical line between columns */
	column-rule: 1px solid #eee;
	/* max-width: 1200px; */
	margin: 20px auto;
}

/*
.index-container {
	column-count: 2;
	column-gap: 40px;
	column-rule: 1px solid #eee;
	max-width: 1000px;
	margin: 20px auto;
}
*/

.index-item {
	/* Prevent a single link from splitting across two columns */
	break-inside: avoid;
	padding: 5px 0;
	border-bottom: 1px solid #f0f0f0;
}

.index-item a {
	text-decoration: none;
	color: #0056b3;
	font-weight: 600;
}

.index-item a:hover {
	text-decoration: underline;
	color: #003d80;
}


/* end new */

/* Container for the article content */
.content {
/*	font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	font-size: 1.1rem;
	line-height: 1.7;
	color: #222; */
	max-width: 900px; /* Optimal reading width */
	margin: 0 auto;
}

/* Style for those 600+ technical GIFs/JPGs */
.content img {
	max-width: 100%;    /* Prevents large diagrams from bleeding off screen */
	height: auto;
	display: block;
	margin: 25px auto;  /* Centers images and gives them breathing room */
	border: 1px solid #ddd;
	box-shadow: 2px 2px 10px rgba(0,0,0,0.05);
	background-color: #fff; /* Helps if a GIF has a transparent background */
	padding: 5px;
}

/* Technical text and headings */
.content h1, .content h2, .content h3 {
	color: #0056b3;
	margin-top: 1.5em;
}

/* Professional look for preformatted text (if there's any code or parts lists) */
.content pre, .content code {
	background: #f4f4f4;
	padding: 10px;
	border-radius: 4px;
	font-family: "Consolas", "Monaco", monospace;
	overflow-x: auto;
}

.content img:hover {
	cursor: zoom-in;
	border-color: #0056b3;
}

.emph {
	font-weight: bold;
}

.related-links-bar {
	margin-top: 30px;
	padding: 15px;
	border-top: 1px solid #eee;
	text-align: center;
	font-size: 0.95rem;
	color: #666;
}

.related-links-bar a {
	text-decoration: none;
	color: #0056b3;
}

.related-links-bar a:hover {
	text-decoration: underline;
}

footer {
	text-align: center;
	color: #000;
	background: #ebebeb;
	width: 100%;
	overflow: hidden;
}

footer p, footer h3 {
	color: #000;
	text-align: center;
}

footer p a {
	/* text-decoration: none; */
}


/* Make it one column on mobile phones, but keep 2 for print/PDF */
@media screen and (max-width: 600px) {
	.index-container {
		column-count: 1;
	}
	.main_heading img {
		float: none;        /* Removes the left float so text drops below */
		display: block;
		margin: 0 auto 10px auto; /* Centers the image horizontally and adds bottom spacing */
		width: 110px;       /* Set an exact, clean mobile size */
		height: auto;
	}
}

/* Optional: Make it 1 column on small mobile screens */
/* @media (max-width: 600px) {
	.index-list {
	column-count: 1;
	}
}
*/

@media screen and (min-width: 960px) and (max-width: 1024px) {
/*
	html {
		font-size: 100%;
	}
*/
	body {
		font-size: 0.9rem;
	}
	.top-space-115 {
		margin-top: 15px;
	}
	.site_heading {
		font-size: 1.2em;
	}
	.button {
		font-size: 0.8em;
	}
	.home_link {
		margin: 0;
		padding-top: 1em;
		padding-bottom: 1em;
		text-align: center;
	}
	.main {
		width: 96%;
	}
	.page_heading {
		font-size: 1.1em;
		text-align: center;
	}
	.page_sub_heading {
		font-size: 1em;
	}
	.search_box {
		width: 100%;
	}
	.search_box_heading {
		float: left;
		font-size: 0.8em;
	}
	.search_box label {
		float: left;
		font-size: 0.8em;	
	}
/*
	.search_box_content {
		padding: 0;
	}
*/
	/* no */
	.main img {
		display: inline;
		width: 100%;
		max-width: 100%;
	}
	.page {
		width: 98%;	
	}
	.page_content p {
		font-size: 1em;
	}
	.main_heading img {
		float: none;        /* Removes the left float so text drops below */
		display: block;
		margin: 0 auto 10px auto; /* Centers the image horizontally and adds bottom spacing */
		width: 110px;       /* Set an exact, clean mobile size */
		height: auto;
	}
	footer p{
		font-size: 0.8em;
	}
}

@media screen and (min-width: 750px) and (max-width: 950px) {
/*
	html {
		font-size: 100%;
	}
*/
	body {
		font-size: 0.9rem;
	}
	.button {
		font-size: 0.8em;
	}
	.home_link {
		margin: 0;	
		padding-top: 1em;
		padding-bottom: 1em;
		text-align: center;
	}
	.site_heading {
		font-size: 1.2em;
	}
	.top-space-115 {
		margin-top: 15px;
	}
	.page_heading {
		font-size: 1.1em;
		text-align: center;
	}
	.page_sub_heading {
		font-size: 1em;
	}
	.search_box {
		width: 100%;
	}
	.search_box_heading {
		float: left;
		font-size: 0.8em;
	}
	.search_box label {
		float: left;
		font-size: 0.8em;	
	}
/*
	.search_box_content {
		padding: 0;
	}
*/
	.main {
		width: 96%;
	}
	/* no */
	.main img {
		display: inline;
		width: 100%;
		max-width: 100%;
	}
	.page {
		width: 98%;	
	}
	.page_content p {
		font-size: 1em;
	}
	.main_heading img {
		float: none;        /* Removes the left float so text drops below */
		display: block;
		margin: 0 auto 10px auto; /* Centers the image horizontally and adds bottom spacing */
		width: 110px;       /* Set an exact, clean mobile size */
		height: auto;
	}
	footer p{
		font-size: 0.8em;
	}
}

@media screen and (max-width: 740px) {
/*
	html {
		font-size: 92.5%;
	}
*/
	.button {
		font-size: 0.8em;
	}
	.home_link {
		margin: 0;	
		padding-top: 1em;
		padding-bottom: 1em;
		text-align: center;
	}
	.site_heading {
		font-size: 1.2em;
	}
	.top-space-115 {
		margin-top: 15px;
	}
	.page_heading {
		font-size: 1.1em;
		text-align: center;
	}
	.page_sub_heading {
		font-size: 1em;
	}
	.search_box {
		width: 100%;
	}
	.search_box_heading {
		float: left;
		font-size: 0.8em;
	}
	.search_box label {
		float: left;
		font-size: 0.8em;	
	}
/*
	.search_box_content {
		padding: 0;
	}
*/
	h1 {
		font-size: 100%;
	}
	textarea {
		width: 99%;
	}
	.page {
        	width: 98%;
	}
	.page_text {
		
	}
	.page_content p {
		font-size: 1em;
	}
	.section {
		float: left;
		width: 100%;
		margin: 0;
	}
	.main {
		margin: 0 auto;
		width: 98%;
	}
	.main img {
		display: inline;
		width: 100%;
		max-width: 100%;
	}
	.home_main {
		margin: 2% 2% 2% 2%;
	}
	.comment {
		font-size: 0.9rem;
	}
	a.page_menu:link {
		line-height: 300%;
	}
	.page_menu_container {
		width: 94%;
	}
	.page_title_center {
		font-size: 0.8em;
	}
	.main_heading img {
		float: none;        /* Removes the left float so text drops below */
		display: block;
		margin: 0 auto 10px auto; /* Centers the image horizontally and adds bottom spacing */
		width: 110px;       /* Set an exact, clean mobile size */
		height: auto;
	}
	footer p{
		font-size: 0.8em;
	}
}


