*:not(.ignore) {
	margin: 0;
	padding: 0;
	background-repeat: no-repeat;
	background-attachment: fixed;
	background-size: 100% 100%;
}

table#onPositionTable.dataTable tbody tr.over {
	background-color: #ffa;
}

table#onPositionTable.dataTable tbody tr.over > .sorting_1 {
	background-color: #ffa;
}

table#onDutyTable.dataTable tbody tr.over {
	background-color: #ffa;
}

table#onDutyTable.dataTable tbody tr.over > .sorting_1 {
	background-color: #ffa;
}

table#inChargeTable.dataTable tbody tr.over {
	background-color: #ffa;
}

table#inChargeTable.dataTable tbody tr.over > .sorting_1 {
	background-color: #ffa;
}

table#otherTable.dataTable tbody tr.over {
	background-color: #ffa;
}

table#otherTable.dataTable tbody tr.over > .sorting_1 {
	background-color: #ffa;
}

.over {
	background-color: #ffa;
}

table.dataTable thead tr th,
h3 {
	background-color: #e0e0e0;
	text-align: left;
}

.no-color {
	background-color: #fff;
}

td {
	text-align: left;
}

th,
table {
	border-color: #666666;
	border-width: 1px;
	border-style: solid;
}

#table1,
#table2,
#table3,
#table4 {
	border-color: #666666;
	border-width: 1px;
	border-style: solid;
	width: 50%;
}

#table1 {
	position: absolute;
	overflow: hidden;
	border-right-width: 0;
	height: 72%;
}

#table2 {
	position: absolute;
	overflow: hidden;
	right: 0;
	height: 72%;
	float: none !important;
}

#table3 {
	position: absolute;
	overflow: hidden;
	bottom: 0;
	height: 25%;
	border-right-width: 0;
}

#table4 {
	position: absolute;
	overflow: hidden;
	bottom: 0;
	right: 0;
	height: 25%;
}

#onDutyTable {
	border-left-width: 0;
}

#otherTable {
	border-left-width: 0;
}

table {
	border-bottom-width: 0 !important;
}

a {
	cursor: pointer;
}

#tabs {
	display: flex;
	justify-content: space-between;
	list-style: none;
	padding: 0;
	margin: 0;
	width: 100%;
	background-color: #e0e0e0;
}

#tabs li {
	flex: 1;
	text-align: center;
	border-top: 1px solid #ccc;
	border-left: 1px solid #ccc;
	border-right: 1px solid #ccc;
	border-top-left-radius: 3px;
	border-top-right-radius: 3px;
	outline: none;
}

#tabs li a {
	display: block;
	font-family: Arial, Helvetica, sans-serif;
	font-size: small;
	font-weight: bold;
	padding: 8px;
	background: #fff;
	text-decoration: none;
	outline: none;
	border-top-left-radius: 3px;
	border-top-right-radius: 3px;
}

#tabs li a.inactive {
	color: #666666;
	background: #eee;
	border-bottom: solid 1px #ccc;
}

.form-inline {
	display: flex;
	flex-flow: row wrap;
	align-items: center;
}

.form-inline label {
	margin: 5px 10px 5px 0;
}

.form-inline input {
	vertical-align: middle;
	margin: 5px 10px 5px 0;
	padding: 10px;
	background-color: #fff;
	border: 1px solid #ddd;
}

.form-inline button {
	padding: 10px 20px;
	background-color: dodgerblue;
	border: 1px solid #ddd;
	color: white;
	cursor: pointer;
}

.form-inline button:hover {
	background-color: royalblue;
}

#tab2C,
#tab3C,
#tab1C {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.context-menu {
	display: none;
	position: absolute;
	background: white;
}

.context-menu ul {
	padding: 0px;
	margin: 0px;
	min-width: 150px;
	list-style: none;
}

.context-menu ul li {
	padding-bottom: 7px;
	padding-top: 7px;
	padding-left: 3px;
	border: 1px solid black;
	cursor: pointer;
}

.context-menu ul li:hover {
	background: lightgray;
}

.submenu,
.submenu2 {
	display: none;
	position: absolute;
	width: 50px;
	left: 152px;
	top: 0px;
	display: none;
	background: white;
}

.submenu2 {
	border: 1px solid black;
}

#close {
	cursor: pointer;
}

#tab5C .abc {
	width: 80%;
	margin: 0 auto;
	padding: 20px;
	background-color: #fff;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

#tab5C h1,
h2,
h3 {
	text-align: center;
}

#tab5C .user-section,
.equipment-section,
.add-section,
.request-section {
	margin-bottom: 20px;
	text-align: center;
}

#tab5C .user-section label {
	font-weight: bold;
	margin-right: 10px;
	display: inline-block;
}

#tab5C .user-section input[type='text'] {
	display: inline-block;
	width: auto;
}

#tab5C label {
	font-weight: bold;
}

#tab5C input {
	width: 20%;
	padding: 10px;
	margin-bottom: 10px;
	border: 1px solid #ccc;
	border-radius: 4px;
}

#tab5C .add-section input,
.request-section input {
	width: 20%;
	display: inline-block;
}

#tab5C .add-section button,
.request-section button {
	display: inline-block;
	margin-left: 10px;
}

#tab5C button {
	display: inline-block;
	padding: 10px 15px;
	background-color: #007bff;
	color: white;
	border: none;
	border-radius: 4px;
	cursor: pointer;
}

#tab5C button:hover {
	background-color: #0056b3;
}

#tab5C ul {
	list-style-type: none;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 10px;
	max-height: calc(4 * 40px);
	overflow-y: auto;
	margin: 0;
}

#tab5C li {
	padding: 10px;
	background-color: #e9e9e9;
	display: flex;
	justify-content: space-between;
	align-items: center;
	text-align: left;
	height: 30px;
}

#tab5C button.check-out {
	background-color: #28a745;
}

#tab5C button.remove {
	background-color: #dc3545;
}

#tab5C button.return {
	background-color: #ffa500;
}

#tab5C button.acquire {
	background-color: #83f28f !important;
}

#tab5C button.check-out:hover {
	background-color: #218838;
}

#tab5C button.remove:hover {
	background-color: #c82333;
}

#tab5C button.return:hover {
	background-color: #ff8c00;
}

#tab5C button.acquire:hover {
	background-color: #6bda77 !important;
}

#tab5C .logout-button {
	position: absolute;
	top: 10px;
	left: 10px;
	padding: 10px 15px;
	background-color: #dc3545;
	color: white;
	border: none;
	border-radius: 4px;
	cursor: pointer;
}

.right-buttons {
	display: flex;
	position: absolute;
	right: 10px;
	justify-content: space-between;
	flex-direction: column;
	gap: 10px;
	align-items: flex-end;
	border: none;
	cursor: pointer;
}

.header-container {
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
}

#tab5C h1 {
	margin: 0;
	padding-bottom: 15px;
}

#tab5C .logout-button:hover {
	background-color: #c82333;
}

.modal {
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	background: #fff;
	padding: 20px;
	border: 1px solid black;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
	width: 200px;
	text-align: center;
	display: none;
}

.modal h2 {
	margin-top: 0;
}

.modal input {
	width: 100%;
	padding: 8px;
	margin: 10px 0;
	border: 1px solid #ccc;
}

.modal button {
	padding: 8px 16px;
	margin: 5px;
	border: none;
	cursor: pointer;
}

.modal button.submit {
	background-color: #4caf50;
	color: white;
}

.modal button.cancel {
	background-color: #f44336;
	color: white;
}
