/* So the HTML5 structural tags work in older browsers */
header, nav, section, article, aside, figure, footer,  {
    display: block;
}

/* the styles for the elements */
* {
    margin: 0;
    padding: 0;
}
html {
    background-color: #3bb0de;
}
body {
	margin: 0 auto;
	font-family: Arial, Helvetica, sans-serif;
    font-size: 85%;
	width: 94%;
	background-color: skyblue;
}
a:focus, a:hover {
	font-style: italic;
	font-weight: bold;
}

/* the styles for the header */
header {
	background-color: #ab2121;
	border: thin solid black;
	/*text-align: center;
	color: #bee5f4;	
    position: fixed;
    z-index: 99;*/
    width: 100%;
    height: 9.5em;
}
header img {
	position: center;
	display: center;
}

/* the styles for the main horizontal navigation menu */
#nav_menu {
	clear: left;
}
#nav_menu ul {
	list-style-type: none;
	position: -webkit-sticky; /* Safari */
    position: sticky;
}
#nav_menu ul li {
	float: left;
}
#nav_menu > ul::after {
	content: "";
	clear: both;
	display: block;	
}
#nav_menu ul li a {
	text-align: center;
	display: block;
	width: 115px;
	padding: 1em 0.5em;      /* padding above and below li elements */
	text-decoration: none;
	background-color: #ab2121;
	color: white;
	font-weight: bold;
	border-left: thin solid black;
	border-bottom: thin solid black;
}
#nav_menu ul li a.lastitem {
	border-right: thin solid black;
}

/* nav menu 2 that needs drop down / 2 tier */
#nav_menu2 ul {
	list-style-type: none;
	margin: 0;
	padding: 0;
	position: relative;
}
#nav_menu2 ul li.dropdown {
    display: inline-block;
}
#nav_menu2 ul li.a, .dropbtn {
    display: inline-block;
}
#nav_menu2 ul li {
	float: left;
}
#nav_menu2 ul li a {
	text-align: center;
	display: block;
	width: 115px;
	padding: 1em 0.5em;      /* padding above and below li elements */
	text-decoration: none;
	background-color: #ab2121;
	color: white;
	font-weight: bold;
	border-left: thin solid black;
	border-bottom: thin solid black;
}
#nav_menu2 ul li a.lastitem {
	border-right: thin solid black;
}
#nav_menu ul ul {
    display: none;
    position: absolute;
    top: 100%;
}
#nav_menu ul ul li {
	float: left;
}
#nav_menu2 ul li ul li {
	display: none;
}
#nav_menu2 ul li:hover ul li  {
    display: block;
	float: none;
}
#nav_menu2 > ul::after {
	content: "";
	clear: both;
	display: block;	
}
#nav_menu2 li ul {
position: absolute;
z-index: 100;
}
.dropdown:hover .dropdown-content {
    display: block;
}

/* the styles for the main content */	
main {
	clear: left;
	margin-top: 20px;
}
main h1, h2, h3 {	
	margin-top: 20px;
}
main dl {
	margin-left: 20px;
}
label {
	text-align: right;
}
textarea {
	height: 10em;
	width: 40em;
}
/* the styles for specialty items */
/* style all input elements with a required attribute */
:required {
  box-shadow: 4px 4px 20px rgba(200, 0, 0, 0.85);
}

input[type=number]::-webkit-inner-spin-button, 
input[type=number]::-webkit-outer-spin-button { 
  -webkit-appearance: none; 
  margin: 0; 
}

input[type="number"] {
    -moz-appearance: textfield;
}

/**
 * style input elements that have a required
 * attribute and a focus state
 */
input:required:focus {
  border: 1px solid red;
  outline: none;
}
a.no_link {
	text-decoration: none;
	color: black;
}
a.no_link:visited {
	color: black;
}
.center {
	text-align: center;
}
.big {
	font-size: 250%;
	font-style: bold;
}
.errmss {
	font-style: italic;
	font-weight: bold;
	font-size: 150%;
	text-align: center;
	color: #ab2121;
}
.fade {
	color: #bee5f4;
	font-style: italic;
}
li.button {
	list-style-type: none;
	padding: 5px;
	width: 115px;
	border: 5px double darkred;
	background-color: #bee5f4;	
	text-align: center;
	font-weight: bold;
	border-radius: 10px 10px 0 10px;
	box-shadow: 3px 3px 4px 4px #be200e;
}
#button {
	padding: .1em .5em;
	font-weight: bold;
	border: 2px double darkred;
	background-color: #bee5f4;
	border-radius: 5px 5px 5px 5px;
	box-shadow: 1.5px 1.5px 2px 2px #be200e;
}	
#button2 {
	/*max-width: 100px;*/
	padding: .3em .67em;
	border: 3px double darkred;
	background-color: #bee5f4;
	border-radius: 8px 8px 8px 8px;
	box-shadow: 2px 2px 4px 4px #be200e;
}
#button3 {
	padding: .3em .67em;
	font-weight: bold;
	border: 3px double darkred;
	background-color: #bee5f4;
	border-radius: 8px 8px 8px 8px;
	box-shadow: 2px 2px 4px 4px #be200e;
}
/* the styles for the sidebar as an aside for left-most */
#sidebar {
	width: 150px;
	float: left;
	margin-left: 10px;
}

/* the styles for the section */
section {
	width: 75%;
	float: left;
	padding: 0 20px 20px 20px;
}
section h1 {
	font-size: 120%;
	padding: .5em 0 .25em 0;
	margin: 0;
}
section h2 {
	/*color: #800000;*/
	font-size: 110%;
	padding: .5em 0 .25em 0;
	margin: 0;
}
section p {
	padding-bottom: .5em;
}
section ul {
	margin: .25em 0 .25em 2em;
}
section ul ul {
	margin: 0 0 .25em 3em;
}

/* the styles for the aside */
aside {
	width: 19%;
	float: right;
	margin-bottom: 10px;
}
aside h2 {
	font-size: 120%;
	padding: .5em 0 .25em 0;
}
aside h3 {	
	padding-bottom: .25em;
}
aside img {
	padding-bottom: 1em;
}

/* the styles for basic transparent tables */
table {
	margin: 10px auto;
}
thead, tfoot {
	background-color: #bee5f4;
	font-weight: bold;
	border-radius: 10px 10px 0 10px;
	border: 1px solid black;
}
thead th {
	text-align: center;
}
tbody {
	
}
th {
	padding: .2em .7em;
	font-weight: bold;
	text-align: right;
}	
td {
	padding: .2em .7em;
	/*border: none;*/
}
/* the styles for closer together table data i.e. alpha */
table.keepleft {
	position: relative;
    left: 0;
}
table.closer {
	border-collapse: collapse;
	margin: 10px 0;
}
td.closer {
	padding: 0;
	/*border: none;*/
}
/* the styles for first tables */
table.first {
	width: 60%;
	border: thin solid black;
	horizontal-align: center;
	text-align: center;
}
thead.first {
	border: thin solid black;
	text-align: center;
}
th.first {
	border: thin solid black;
	font-size: 200%;
}
/* the styles for red button tables */
table.redb {
	padding: .2em;
	border: 5px double darkred;
	margin: 10px auto;
	border-radius: 10px 10px 0 10px;
	box-shadow: 3px 3px 4px 4px #be200e;
}
table.redb th {
	padding: .2em .7em;
	text-align: center;
	background-color: indianred;
	font-weight: bold;
	border-radius: 10px 10px 0 10px;
	border: 1px solid black;
}
td.redb {
	padding: .2em .7em;
	text-align: center;
	border: 1px solid black;
}
th.redb {
	padding: .2em .7em;
	text-align: center;
	background-color: indianred;
}
/* the styles for button tables */
table.blueb {
	padding: .2em;
	border: 5px double darkturquoise;
	margin: 10px auto;
	border-radius: 10px 10px 0 10px;
	box-shadow: 3px 3px 4px 4px lime;
}
table.blueb th {
	padding: .2em .7em;
	text-align: center;
	background-color: aqua;
	font-weight: bold;
	border-radius: 10px 10px 0 10px;
	border: 1px solid black;
}
td.blueb {
	padding: .2em .7em;
	text-align: center;
	border: 1px solid black;
}
th.blueb {
	padding: .2em .7em;
	text-align: center;
	background-color: aqua;
}
/* the styles for button tables */
table.greenb {
	padding: .2em;
	border: 5px double green;
	margin: 10px auto;
	border-radius: 10px 10px 0 10px;
	box-shadow: 3px 3px 4px 4px lime;
}
table.greenb th {
	padding: .2em .7em;
	text-align: center;
	background-color: lightgreen;
	font-weight: bold;
	border-radius: 10px 10px 0 10px;
	border: 1px solid black;
}
td.greenb {
	padding: .2em .7em;
	text-align: center;
	border: 1px solid black;
}
th.greenb {
	padding: .2em .7em;
	text-align: center;
	background-color: lightgreen;
}
/* the styles for yellow button tables */
table.yellowb {
	padding: .2em;
	border: 5px double chocolate;
	margin: 10px auto;
	border-radius: 10px 10px 0 10px;
	box-shadow: 3px 3px 4px 4px darkgoldenrod;
}
table.yellowb th {
	padding: .2em .7em;
	text-align: center;
	background-color: khaki;
	font-weight: bold;
	border-radius: 10px 10px 0 10px;
	border: 1px solid black;
}
td.yellowb {
	padding: .2em .7em;
	text-align: center;
	border: 1px solid black;
}
th.yellowb {
	padding: .2em .7em;
	text-align: center;
	background-color: khaki;
}
/* the styles for orange button tables */
table.orangeb {
	padding: .2em;
	border: 5px double orangered;
	margin: 10px auto;
	border-radius: 10px 10px 0 10px;
	box-shadow: 3px 3px 4px 4px saddlebrown;
}
table.orangeb th {
	padding: .2em .7em;
	text-align: center;
	background-color: lightsalmon;
	font-weight: bold;
	border-radius: 10px 10px 0 10px;
	border: 1px solid black;
}
td.orangeb {
	padding: .2em .7em;
	text-align: center;
	border: 1px solid black;
}
th.orangeb {
	padding: .2em .7em;
	text-align: center;
	background-color: lightsalmon;
}
/* the styles for green button tables */
table.butt {
	padding: .2em;
	border: 5px double darkred;
	margin: 10px auto;
	border-radius: 10px 10px 0 10px;
	box-shadow: 3px 3px 4px 4px #be200e;
}
table.butt th {
	padding: .2em .7em;
	text-align: center;
	background-color: #bee5f4;
	font-weight: bold;
	border-radius: 10px 10px 0 10px;
	border: 1px solid black;
}
td.butt {
	padding: .2em .7em;
	text-align: center;
	border: 1px solid black;
}

/* the styles for RDFL Chat */
#chat {
	margin: 10px 40px;
	background-color: darkred;
	border: 1px solid black;
}
table.chat {
	
	background-color: darkred;
	border: 1px solid black;
	
}
table.chat tbody tr:nth-child(even) {
	background-color: silver;
}
table.chat tbody tr:nth-child(odd) {
	background-color: lightskyblue;
}
caption.chat {
  caption-side: top;
  font-weight: bold;
  background-color: darkred;
  width: 300px;
  height: 5em;
}
thead.chat, tfoot.chat {
	background-color: darkred;
	font-weight: bold;
	border: 1px solid black;
	width: 300px;
	height: 5em;
}
thead.chat th {
	text-align: center;
	background-color: darkred;
}
tbody.chat {
	
}
th.chat {
	padding: .2em .7em;
	font-weight: bold;
	text-align: right;
}	
td.chat {
	padding: .2em .7em;
	/*border: none;*/
}

/* the styles for banded tables */
table.band {
	border-collapse: collapse;
	border: 1px solid black;
	margin: 10px auto;
}
table.band thead, tfoot {
	background-color: #bee5f4;
	font-weight: bold;
	border: 1px solid black;
}
table.band thead th {
	text-align: center;
}
table.band th {
	padding: .2em .7em;
	text-align: center;
	border: 1px solid black;
}
table.band td {
	padding: .2em .7em;
	text-align: left;
	border: 1px solid black;
}
/*table.band th:first-child, td:first-child {
	text-align: left;
}
table.band th:nth-child(2), td:nth-child(2) {
	text-align: center;
}*/
table.band tbody tr:nth-child(even) {
	background-color: silver;
}

/* the styles for the footer */
footer {
	font-size: 80%;
	font-style: bold;
	text-align: center;
	margin-top: 2em;	
	clear: both;
	background-color: #ab2121;
    color: white;
	border: thin solid black;
	padding-top: 1em;
	/*padding-bottom: .3em;
	padding-right: 2em;*/
	height: 3em;
}
.copyright {
	text-align: center;
}

/* * * * * PRINT * * * * */
@media print {
	
body {
	font-size: 0.7em;
	font-family: Arial, Helvetica, sans-serif;
	width: 1056px;
	margin-left: 25px;
}
header {
	display: none;
}
footer {
	display: none;
}
#nav_menu {
	display: none;
}
#nav_menu2 {
	display: none;
}
h1 {
	display: none;
}
#skip_print {
	display: none;
}
table.band {
	border-collapse: collapse;
	border: 1px solid black;
	margin: 10px auto;
	width: 960px;
	table-layout: fixed;
}
table thead, tfoot {
	font-weight: bold;
	border: 1px solid black;
}
table thead th {
	text-align: center;
}
table th {
	padding: .2em .7em;
	text-align: left;
	border: 1px solid black;
}
table tr td {
	height: 2px;
}
table.band td {
	padding: .2em .7em;
	vertical-align: top;
	text-align: left;
	border: 1px solid black;
	height: 70px;
}
#print_wide {
	width: 800px;
}
#print_med {
	width: 300px;
}
#printable_doc {
	width: 675px;
}
#print_knock_col1 {
	width: 100px;
}
#print_knock_row1 {
	height: 10px;
}
#print_knock_row2 {
	height: 2px;
}	
}