* {
	font-family: verdana, arial;
	box-sizing: border-box;
}

html, body {
	margin: 0;
	padding: 0;
}

.hidden {
	visibility: hidden;
}
.center {
	text-align: center;
}
.nb {
	white-space: nowrap !important;
}
.rj { text-align: right; }
.ot {
	width: 100%;
	background-image: url(bg-100x60.png);
	background-repeat: repeat;
	border-bottom: 1px solid #000;
}
.toptd {
	background-image: url(bg-100x60.png);
	background-repeat: repeat;
	width: 100%;
}
.toptd td {
	margin: 0;
	padding: 5px 5px 0 5px;
}

.toptd a:link, .toptd a:visited, .toptd a:active {
	color: #fff;
	font-family: arial;
	background-color: #ff0000;
	text-decoration: none;
	padding: 0 10px;
	margin: 0 1px;
}

.toptd a:hover {
	color: #ff0000;
	background-color: #fff;
	text-decoration: none;
}

a.now:link, a.now:visited, a.now:active,
	color: #fff;
	background-color: #ff0000;
	text-decoration: none;
	font-weight: bold;
}

a.now:hover {
	color: #ff0000;
	background-color: #fff;
	text-decoration: none;
}

a.trans_close:link, a.trans_close:visited, a.trans_close:active {
	color: #f00;
	text-decoration: none;
	padding: 3px;
}

a.trans_close:hover {
	border: 1px dashed #000; 
	padding: 2px;
}

form.fixed{
	margin: 10px 0;
}
.fixed table td select {
	min-width: 22em; 
}
.fixed-button{
	min-width: 5em;
	margin: 0 1em; 
}

.fixed table th {
	padding: 5px; 
}

.forms-table{
height: 100%;
}
.rt{
text-align:right;
}

.frow{
display: inline;
}
.frow input{
	margin-left: 2em;
}
.ch{
color: #ff0000;
text-align: center;
display: block;
margin-bottom: 1em;
}
table.res{
width: 100%;
margin: 0;
border-collapse: collapse;
}
.res th{
	color: #333333;
	background-color: #c0c0c0;
	white-space: nowrap; 
}
.res td {
vertical-align: middle;
padding: 5px;
white-space: nowrap; 
}
.saved{
visibility: hidden;
color: #ff0000;
}

html fieldset { 
	background: #f0f0f0;
	border: 1px solid rgba(0, 0, 0, 0.28);
	box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14),
				0 1px 5px 0 rgba(0, 0, 0, 0.12),
				0 3px 1px -2px rgba(0, 0, 0, 0.2);
	border-radius: 20px;
} 

html legend{
	color: #f00;
}

.cont {
	display: flex;
	flex-direction: column;
	height: 100vh - 100px;
}

.trans_form {
	display: none;
	margin: 1em;
}

.trans_form > div {
	justify-content: center; 
}

.bshadow {
	box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14),
				0 1px 5px 0 rgba(0, 0, 0, 0.12),
				0 3px 1px -2px rgba(0, 0, 0, 0.2);
}

.batches {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(5rem, 1fr));
	grid-gap: 10px;
}

.batches a:link, .batches a:visited, .batches a:active {
	display: flex;
	flex-direction: column;
	font-family: arial;
	font-weight: bold;
	align-items: center;
	color: #fff;
	background-color: #f00;
	text-decoration: none;
	border-radius: 20px;
	padding: 10px;
}

.batches a div:first-child {
	/* prevents Month Day from wrap */
	white-space: pre;
}

.batches a:hover {
	color: #f00;
	background-color: #fff;
	text-decoration: none;
}

.searches {
	display: flex;
	flex-flow: row wrap;
	justify-content: space-around;
}

#results-heading {
	margin-top: 10px;
	display: flex;
	justify-content: center;
}

/* https://proto.io/freebies/onoff/ */

.onoffswitch {
	position: relative; width: 59px;
	-webkit-user-select:none; -moz-user-select:none; -ms-user-select: none;
}
.onoffswitch-checkbox {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}
.onoffswitch-label {
	display: block; overflow: hidden; cursor: pointer;
	height: 26px; padding: 0; line-height: 26px;
	border: 2px solid #E3E3E3; border-radius: 26px;
	background-color: #FFFFFF;
	transition: background-color 0.3s ease-in;
}
.onoffswitch-label:before {
	content: "";
	display: block; width: 26px; margin: 0px;
	background: #FFFFFF;
	position: absolute; top: 0; bottom: 0;
	right: 31px;
	border: 2px solid #E3E3E3; border-radius: 26px;
	transition: all 0.3s ease-in 0s;
}
.onoffswitch-checkbox:checked + .onoffswitch-label {
	background-color: #FF0000;
}
.onoffswitch-checkbox:checked + .onoffswitch-label, .onoffswitch-checkbox:checked + .onoffswitch-label:before {
   border-color: #FF0000;
}
.onoffswitch-checkbox:checked + .onoffswitch-label:before {
	right: 0px;
}

.hide {
	display: none !important;	
}
