html {
	height: 100%;
}

body {
	margin: 0px;
	padding: 0px;
	font-family: Arial, Helvetica, sans-serif;
	background-color: white;
}

a {
	text-decoration: none;
}

header {
	background-color: #0000003e;
}

header h1 {
	padding: 5px 10px;
	margin: 0px;
}

header h1 a {
	color: rgb(8, 0, 255);
}

#logo {
	float: right;
	width: 80px;
	height: 88px;
}

#logIn {
	display: block;
}

/* Navigation bar layout */
.navbar {
	overflow: auto;
	background-color: #919090;
	width: 100%;
}

.navbar a {
	float: left;
	font-size: 16px;
	color: white;
	text-align: center;
	padding: 14px 16px;
	text-decoration: none;
}

.subnav {
	float: left;
	overflow: visible;
}

.subnav .subnavbtn {
	font-size: 16px;
	border: none;
	outline: none;
	color: white;
	padding: 14px 16px;
	background-color: #919090;
	font-family: inherit;
	margin: 0;
}

.navbar a:hover,
.subnav:hover .subnavbtn {
	background-color: #ddd;
	color: black;
}

.subnav-content {
	display: none;
	position: absolute;
	left: 0;
	background-color: #919090;
	width: 100%;
	z-index: 1;
}

.subnav-content a {
	float: left;
	color: white;
	text-decoration: none;
}

.subnav-content a:hover {
	background-color: #1111114e;
	color: white;
}

.subnav:hover .subnav-content {
	display: block;
}


main {
	margin-top: 50px;
	width: 100%;
	border-right: 1px solid #eeeeee;
	background-color: white;
}

.center {
	margin: auto;
}

/* Footer layout */
footer {
	clear: both;
	text-align: center;
	font-size: .8em;
	padding-top: 50px;
}

#container,
footer {
	width: 100%;
	margin-bottom: 60px;

}

/* Form layout */

label {
	display: inline-block;
	width: 150px;
	text-align: left;
}


.formSeparator {
	margin-top: 10px;
}




/*Fieldset layout*/
fieldset {
	width: 33.3%;
}

.textarea {
	margin-left: 25px;
}

/*Select layout*/
.select {
	padding: 16px 20px;
	border: none;
	border-radius: 4px;
	background-color: #f1f1f1;
}

/*Button layout*/

.button {
	background-color: #04AA6D;
	border: none;
	color: white;
	padding: 16px 32px;
	text-decoration: none;
	margin: 4px 2px;
	cursor: pointer;
}

.buttonblue {
	background-color: #008CBA;
}

/* Blue */
.buttonred {
	background-color: #f44336;
}

/* Red */
.buttongray {
	background-color: #e7e7e7;
	color: black;
}

/* Gray */
.buttonblack {
	background-color: #555555;
}

/* Black */

/*Table layout*/
table {
	border-collapse: collapse;
	margin-left: 25px;
	width: 95%;
}


th,
td {
	border-collapse: collapse;
	padding: 2px 3px;
	text-align: left;
}

tr:nth-child(even) {
	background-color: #f2f2f2;
}

th {
	font-weight: bold;
}

table.totals {
	float: right;
}

table.totals td {
	text-align: right;
}

table.totals tr {
	background-color: white;
}

table.address {
	border-collapse: collapse;
	width: auto;
	margin-left: 10px;
}

table.address td {
	padding: 2px 3px;
	text-align: left;
}

table.address tr:nth-child(even) {
	background-color: white;
}

table.block {
	border-collapse: collapse;
	width: auto;
	margin-left: 50px;
}

table.block td {
	padding: 2px 3px;
	text-align: left;
}

table.block tr:nth-child(even) {
	background-color: white;
}

/* Enhanced table styles */
.table-wrapper {
	overflow-x: auto;
	margin: 10px 0 30px 0;
}

.nice-table {
	border-collapse: collapse;
	width: 100%;
	min-width: 600px;
	font-size: 14px;
	background: #fff;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.nice-table th {
	background: linear-gradient(#4b79a1, #283e51);
	color: #fff;
	padding: 10px 12px;
	text-align: left;
	font-weight: 600;
	position: sticky;
	top: 0;
	z-index: 2;
}

.nice-table td {
	padding: 10px 12px;
	border-bottom: 1px solid #eee;
	vertical-align: middle;
}

.nice-table tr:hover td {
	background-color: #f3f8ff;
}

.nice-table tr.clickable {
	cursor: pointer;
}

.nice-table a {
	color: #0a66c2;
}

/* Responsive: reduce padding on smaller screens */
@media (max-width: 700px) {

	.nice-table th,
	.nice-table td {
		padding: 8px 6px;
		font-size: 13px;
	}
}
/* Row and column layout for forms */
.row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.column1 {
    flex: 0 0 auto;
}

.column2 {
    flex: 1;
    text-align: right;
}
