* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
body {
    font-family: "Trebuchet MS", Helvetica, sans-serif;
    font-size: 16px;
    text-shadow: 2px 2px 8px lightgray;
}

/*
a {
    border: 1px none gray;
	display: inline-block;
    border-radius: 2px;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    text-shadow: 2px 2px 8px gray;
    color: black;
	white-space: nowrap;
}
a:hover { background-color: whitesmoke; }
*/

table { border-collapse: collapse; }
input, textarea, select, p, pre, th, td {
    font-family: "Trebuchet MS", Helvetica, sans-serif;
    font-size: 16px;
    text-shadow: 2px 2px 8px lightgray;
}
input[type=text], textarea { text-transform: uppercase; }
input[type=number] { text-align: right; }
textarea {
    resize: none;
    overflow-x: break-word;
    overflow-y: auto;
    white-space: pre-wrap;
    white-space: -moz-pre-wrap;
    white-space: -pre-wrap;
    white-space: -o-pre-wrap;
    word-wrap: break-word;
}
pre {
    margin: 0;
    overflow-y: break-word;
    overflow-x: auto;
    word-wrap: break-word;
}

.openbtn {
	border: 1px solid lightgray;
	border-radius: 4px;
	background-color: white;
	font-size: 20px;
	font-weight: bold;
	position: fixed;
	top: 1px;
	right: 1px;
	padding: 10px 15px;
	cursor: pointer;
}
.openbtn:hover { background-color: lightgray; }

nav {
	background-color: dimgray;
	position: fixed;
	width: 0;
	top: 0;
	right: 0;
	bottom: 0;
	z-index: 1;
	padding-top: 55px;
	overflow-x: hidden;
	transition: 0.5s;
}
nav a {
	border: none;
	background-color: transparent;
	font-family: "Trebuchet MS", Helvetica, sans-serif;
	color: white;
	text-shadow: 2px 2px 3px gray, 0 0 3px lightgray;
	display: block;
	text-decoration: none;
	transition: 0.3s;
}
nav a:hover { background-color: darkgray; text-decoration: none; }
.menuitm, .topbtn {
	font-size: 20px;
	padding: 20px 30px;
	text-align: left;
}
.closebtn {
	font-size: 30px;
	position: absolute;
	top: 0;
	left: 0;
	padding: 5px 10px;
}
.topbtn {
	position: absolute;
	bottom: 50px;
	width: 200px;
	display: none;
}

.logo {
	position: fixed;
	top: 1px;
	left: 1px;
	padding: 5px;
}
.welcome, .goodbye {
	font-weight: bold;
	text-shadow: 2px 2px 8px gray;
	padding: 5px;
	float: left;
}
.menu {
	border: 1px none gray;
	border-radius: 4px;
	padding: 5px;
	float: right 
}
.pagebody {
	border: 1px solid darkgray;
	border-radius: 4px;
	padding: 2px;
	display: block;
}
.pagetitle {
	border-radius: 4px;
	background-color: black;
	color: white;
	font-weight: bold;
	text-align: center;
	padding: 10px;
}
.listcount {
	position: absolute;
    left: 1px;
    right: 1px;
	bottom: 1px;
	font-weight: bold;
    font-size: 12px;
	text-align: center;
	padding: 5px;
}
.pagetab {
	border-radius: 4px;
	font-weight: bold;
	margin-left: 5px;
}
.wholescreen {
    position: absolute;
    top: 75px;
    bottom: 1px;
    left: 1px;
    right: 1px;
}
.mainscreen {
    border-top: 1px solid darkgray;
    border-bottom: 1px solid darkgray;
    position: absolute;
    top: 100px;
    bottom: 25px;
    left: 2px;
    right: 2px;
}

.scrollscreen {
    border-top: 1px solid darkgray;
    border-bottom: 1px solid darkgray;
    position: absolute;
    top: 100px;
    bottom: 25px;
    left: 2px;
    right: 2px;
    overflow-y: scroll;
}

.scrollscreen2 {
    position: absolute;
    top: 41px;
    bottom: 1px;
    left: 1px;
    right: 1px;
    overflow-y: scroll;
}

.scrollscreen3 {
    position: absolute;
    top: 47px;
    bottom: 1px;
    left: 1px;
    right: 1px;
    overflow-y: scroll;
}

.login, .line {
	border: none;
	border-bottom: 1px solid darkgray;
	padding: 10px;
}
input.line { white-space: nowrap; }
.login { text-align: center; }
.login:hover, .line:hover {
	border: none;
	border-bottom: 1px solid darkgray;
	background-color: whitesmoke;
}
.login:focus, .line:focus { background-color: lightyellow; }

.box {
	border: 1px solid darkgray;
	border-radius: 4px;
	padding: 10px;
	white-space: nowrap;
}
.box2 {
	border: none;
	border-bottom: 1px solid darkgray;
	padding: 10px 20px;
	white-space: nowrap;
}
select.box { padding: 5px 10px; }

.button, .small-button {
	border: 1px solid darkgray;
	border-radius: 4px;
	margin: 3px 5px;
}
.button { padding: 5px 20px; }
.small-button { padding: 3px 10px; }
.button:hover:enabled, .small-button:hover:enabled {
	background-color: lightgray;
	cursor: pointer;
}
.button a, .small-button a {
    font-family: "Trebuchet MS", Helvetica, sans-serif;
    text-shadow: 2px 2px 8px lightgray;
    text-decoration: none;
    color: black;
}
.button a { font-size: 16px; }
.small-button a { font-size: 12px; }
a.button, a.small-button {
    text-decoration: none;
    color: black;
    background-color: lightgray;
}

.pageactions {
    width: 100%;
    display: block;
}
.pagebuttons, .listsearch { display: inline-block; }
.listsearch { text-align: right; float: right; }
.listsearch2 { text-align: left; }

.list {
	border: 1px solid darkgray;
	border-radius: 4px;
	width: 100%;
    line-height: 1.5;
}
.list th {
    border: 1px solid darkgray;
    padding: 5px;
    background-color: gray;
    color: white;
	font-family: "Trebuchet MS", Helvetica, sans-serif;
	font-size: 16px;
    font-weight: bold; 
    text-align: center;
    text-shadow: 2px 2px 8px lightgray;
	white-space: nowrap;
}
.list tbody tr.row:nth-child(even) { background-color: whitesmoke; }
.list tbody tr.row:hover{
	background-color: lightcyan;
	cursor: pointer;
}
.list tbody tr.row td {
	border: 1px solid lightgray;
	padding: 10px;
	min-width: 150px;
    max-width: 350px;
    font-family: "Trebuchet MS", Helvetica, sans-serif;
	font-size: 16px;
    text-shadow: 2px 2px 8px lightgray;
	vertical-align: top;
    /* overflow-wrap: break-word; */
    word-wrap: break-word;
}
.list tbody tr.row td.num { text-align: right; }
.list tbody tr.row td.center { text-align: center; }
.list tbody tr.selected { background-color: lightyellow; }
.list tbody tr.selected:nth-child(even) { background-color: lightyellow; }
.list tbody tr.selected:hover {
	background-color: lightyellow;
	cursor: pointer;
}
.list .pending { color: red; }
.list .partial { color: orange; }
.list .paid, .list .released { color: green; }
.list .rates, .list .lsect, .list .rsect {
    display: inline-block;
    vertical-align: top;
}
.list .rates .label { text-align: right; }
.list .lsect, .list .rsect { padding-right: 30px; }
.list .spacer {
    padding: 1px 10px;
    display: inline-block;
}

.data {
	border: 1px none darkgray;
	border-radius: 4px;
	vertical-align: top;
	display: inline-block;
}
.data table {
	border: 1px solid gray;
	border-radius: 4px;
	margin: 10px;
	padding: 10px;
	width: 750px;
}
.data .rates {
	margin: 5px 1px 5px 5px;
	border: 1px none gray;
	width: auto;
}
.data table td {
	border: 1px none darkgray;
	padding: 3px;
	font-family: "Trebuchet MS", Helvetica, sans-serif;
	font-size: 16px;
    text-shadow: 2px 2px 8px lightgray;
	vertical-align: middle;
}
.data table td.smallfont {
    font-size: 12px;
}
.data .title {
	padding: 10px;
	font-size: 18px;
	font-weight: bold;
	text-align: center;
	vertical-align: middle;
}
.data .label {
	text-align: right;
	padding: 10px 1px;
	width: 220px;
}
.data table td.num { text-align: right; }

.hide { display: none; }

.message {
    font-size: 14px;
    margin-top: 10px;
}

.centerscreen {
	position: absolute;
	top: 1px;
	bottom: 1px;
	left: 1px;
	right: 1px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.centersection {
    display: flex;
    justify-content: center;
    margin: 0;
}

.header, .list .header, .data .header { font-size: 18px; }
.subheader { font-size: 14px; vertical-align: middle; }
.smalllabel, td.smalllabel { font-size: 12px; vertical-align: middle; }
.smallsublabel, td.smallsublabel { font-size: 10px; font-style: italic; vertical-align: middle; }
.font10, .list .font10, .data .font10 { font-size: 10px; }
.boldfont, .list .boldfont, .data .boldfont { font-weight: bold; }
.autofit, .list .autofit, .data .autofit { width: fit-content; }
.asterisk { color: red; } /*font-size: 20px;*/

.radio-label, .check-label { cursor: pointer; }
.radio-label:hover, .check-label:hover { text-shadow: 2px 2px 8px gray; }

.progress-screen {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	overflow: hidden;
	background-color: gray;
	opacity: 0.5;
	z-index: 999999;
	display: none;
}