body {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 13pt;
	margin: 0px;
}

header {
	position: fixed;
	right: 0;
	left: 0;
	z-index: 2;
	color: white;
	background-color: #000066;
	clear: left;
	text-align: center;
	font-weight: bold;
}

footer {
	position: fixed;
	right: 0;
	bottom: 0;
	left: 0;
	width: 100%;
	z-index: 2;
	color: white;
	background-color: #000066;
	clear: left;
	text-align: center;
	font-size: 8pt;
	font-weight: bold;
}

h1 { 
	display: block;
	font-size: 2em;
	margin-top: 0.67em;
	margin-bottom: 0.67em;
	margin-left: 0;
	margin-right: 0;
	font-weight: bold;
}

h2 {
	display: block;
	font-size: 1.5em;
	margin-top: 1.17em;
	margin-bottom: 0.83em;
	margin-left: 0;
	margin-right: 0;
	font-weight: bold;
}

h3 { 
	display: block;
	font-size: 1.25em;
	margin-top: 1em;
	margin-bottom: 1em;
	margin-left: 0;
	margin-right: 0;
	font-weight: bold;
}

h4 { 
	display: block;
	font-size: 1.1em;
	margin-top: 1.66em;
	margin-bottom: 0em;
	margin-left: 0;
	margin-right: 0;
	font-weight: bold;
}

h5 { 
	display: block;
	font-size: .83em;
	margin-top: 2.0em;
	margin-bottom: 0em;
	margin-left: 0;
	margin-right: 0;
	font-weight: bold;
}

h6 { 
	display: block;
	font-size: .67em;
	margin-top: 2.66em;
	margin-bottom: 0em;
	margin-left: 0;
	margin-right: 0;
	font-weight: bold;
}

a {
	cursor: pointer;
}

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

div {
	margin-bottom: 5px;
}

ul.menu {
	list-style-type: none;
	margin: 0;
	padding: 0;
	overflow: auto;
	margin-left: 6pt;
	margin-right: 6pt;
}

ul.menu li {
	color: #000;
	text-decoration: none;
	font-weight: bold;
	cursor: pointer;
	float: left;
	display: inline;
	text-align: center;
	color: white;
}

header ul.menu li {
	padding: 14px 16px;
}

footer ul.menu li {
	padding: 10px 16px;
}

ul.menu li:hover:not(.active) {
	background-color: #e2f3ff;
	color: #000066;
}

ul.menu li.noclick:hover {
	color: white;
	background-color: #000066;
	cursor: default;
}

header ul.menu li.noclick {
	font-variant: small-caps;
	color: yellow;
}

header ul.menu li.noclick:hover {
	color: yellow;
}

ul.menu li.homeclick:hover {
	color: #000066;
	background-color: #ffd86b;
}

ul.menu li.active {
	background-color: white;
	color: #0000a8;
}

article {
	display: inline-block;
	position: fixed;
	margin: 0px;
	padding: 0px 28px;
	top: 46px;
	bottom: 32px;
	overflow: auto;
	scroll-behavior: smooth;
}

.center {
	text-align: center;
}

table {
	display: inline-block;
}

td,th {
	padding: 6pt 12pt;
}

#input {
	margin-top: 8pt;
	margin-bottom: 12pt;
	border-collapse: collapse;
}

#input td {
	text-align: left;
	padding: 3px;
}

#input td:first-child {
	text-align: right;
}

#dose_row_top td:not(:first-child) {
	padding-top: 12pt;
}

#dose_row_bottom td {
	padding-bottom: 12pt;
}

#output {
	border-collapse: collapse;
	border: 2px solid #1282a4;
}

#output th {
	color: white;
	background-color: #1282a4;
}

#output td,th {
	border: 1px solid #1282a4;
}

#output tr:nth-child(even) {
	background-color: #f7f7f7;
}

#output tr:hover {
	background-color: #ddd;
}

table input[type="text"] {
	width: 3em;
	text-align: right;
	font-size: 12pt;
}

.out_stime, .out_etime {
	display: none;
}

#premed p {
	margin-top: 24pt;
	margin-bottom: 6pt;
}

#premed ul {
	margin-top: 0pt;
	list-style-type: none;
}



@media print{
	header {
		display: none;
	}

	footer {
		display: none;
	}

	article {
		display: block;
		position: static;
		top: 0px;
		bottom: 0px;
	}

	a {
		color: black;
		text-decoration: none;
	}

	.warning {
		color: black;
	}

	table#output {
		border-collapse: collapse;
		border: 2px solid black;
	}

	#output th {
		color: black;
		background-color: white;
		border-bottom: 2px solid black;
	}

	#output td,th {
		font-size: 11.5pt;
		border: 1px solid black;
	}

	.out_stime, .out_etime {
		display: table-cell;
	}

	input[type="text"] {
		border: none;
	}
}



@media only screen and (max-width: 900px) {
	body, td, th {
		font-size: 24pt;
	}

	header {
		font-size: 24pt;
	}

	footer {
		font-size: 20pt;
	}

	article {
		top: 195px;
	}

	header ul.menu li {
		width: 100%;
	}
}

