@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap");

:root {
	--primary-color: #212529;
	--secondary-color: #F7F7F7;
	--accent-color: #EDEBE9;
	--font-color: #7E7E7E;
	--border-color: #DEE2E6;
	--speech-radius: 8px;
}

body {
	overflow: auto;
	font-family: "Poppins", sans-serif;
}

.col-auto + .col-auto > button { margin-left: -15px; }

.dt-search-placeholder {
	position: relative;
	width: 250px;
}

.dt-search-placeholder .lni-search-1 {
	position: absolute;
	top: 50%;
	left: 20px;
	transform: translateY(-50%);
	font-weight: bold;
	color: #7E7E7E;
}

.dt-search {
	width: 100%;
	padding-left: 2em;
}

.su-login, .su-logout {
	padding: 0.15em 0.45em;
	font-size: 0.75em;
}

.bg-pg7-main { background-color: var(--primary-color); }
.bg-pg7-secondary { background-color: var(--secondary-color); }
.bg-pg7-content { background-color: var(--accent-color); }

.no-events-or-action { pointer-events: none; }
.hidden { display: none !important; }

.inputDisabled { background-color: var(--accent-color); }
.btn-wo-border { border: 1px solid var(--border-color); }

.trend-arrow { width: 20px; }
.modal-body .input-group-text { min-width: 160px; }

select:not(.modal select, .drsi_Table select), 
input:not(.dt-search, .modal input, .egg_standards input, .batch_details input, .ipep input, .ipes input, .ipfd input, .iptemp input, .drsi_Table input, .receipt-footer-container input) {
	background-color: #E4E5E0 !important;
	color: var(--primary-color);
	font-weight: bold !important;
}

.modal-login .modal-content,
.modal-su-login .modal-content,
.modal-register .modal-content,
.modal-change-password .modal-content,
.modal-update-info .modal-content {
	min-width: 350px !important;
	max-width: 350px !important;
}

#GraphTable tr th, #GraphTable tr td,
#GraphTable2 tr th, #GraphTable2 tr td,
#GraphTable3 tr th, #GraphTable3 tr td { 
	padding-left: 1em;
	padding-right: 1em;
	min-width: 100px;
	text-align: center;
}

table thead tr th, 
table tbody tr td, 
table tfoot tr td {
	margin: 0 !important;
	padding: 0 !important;
	font-size: 0.9em !important;
}

table thead tr th {
	text-align: center !important;
	text-transform: uppercase !important;
}

table tbody tr td:not(table.egg_standards tbody tr td, table.ipep tbody tr td, table.ipes tbody tr td, table.ipfd tbody tr td, table.iptemp tbody tr td),
table tfoot tr td { 
	padding: 0 0.65em !important;
}

table.egg_standards tbody tr td input, 
table.ipep tbody tr td input, 
table.ipes tbody tr td input, 
table.ipfd tbody tr td input, 
table.iptemp tbody tr td input {
	min-height: 25px;
	max-height: 25px;
}

table.egg_standards tbody tr td input {
	min-width: 150px;
	max-width: 150px;
}

table.batch_details thead tr th:nth-child(-n+7),
table.batch_details thead tr th:nth-child(52) {
	min-width: 150px;
	max-width: 150px;
}

table.batch_details thead tr:last-child th:nth-child(n+8):not(:nth-child(52)) {
	min-width: 80px;
	max-width: 80px;
}

.ip-clickable, 
.es-clickable {
	height: 25px;
	width: 25px;
}

.ipep tbody tr td input,
.ipes tbody tr td input,
.ipfd tbody tr td input,
.iptemp tbody tr td input { 
	min-width: 125px !important; 
	max-width: 125px !important; 
}

.ipep tbody tr td:first-child,
.ipep tbody tr td:first-child input, 
.ipes tbody tr td:first-child input,
.ipfd tbody tr td:first-child,
.ipfd tbody tr td:first-child input,
.iptemp tbody tr td:first-child input { 
	text-align: right !important;
}

.ipep tfoot tr td {
	padding: 0.45em 0.80em !important;
	font-weight: bold !important;
	background-color: #FFF !important;
	border-bottom: none !important;
}

.ipep tbody tr td,
.ipes tbody tr td,
.ipfd tbody tr td,
.iptemp tbody tr td,
.egg_standards tbody tr td { 
	border: none !important;
}

table.ep_report tbody tr td:nth-child(n+2), 
table.es_report tbody tr td:nth-child(n+2) { 
	text-align: right !important; 
}

.ep_report thead tr:last-child th:nth-child(1),
.ep_report thead tr:last-child th:nth-child(2) {
	min-width: 120px !important;
	max-width: 120px !important;
}

.ep_report thead tr:last-child th:nth-child(n+3):not(:nth-child(8)) {
	min-width: 80px !important;
	max-width: 80px !important;
}

.ep_report thead tr:nth-child(3) th,
.ep_report thead tr:nth-child(4) th {
	background-color: #FFD865 !important;
	color: #212529 !important;
	border: none !important;
}

.ep_report thead tr:nth-child(4) th:nth-child(n+2) {
	background-color: var(--primary-color) !important;
	color: #F9FAFB !important;
}

.ep_report thead tr:nth-child(5) th {
	background-color: var(--primary-color) !important;
	color: #F9FAFB !important;
}

.ep_report tbody tr.rowParent td {
	font-weight: bold;
	background-color: #C8C8C8;
}

.ep_report tbody tr.rowChild td { background-color: #9AC1E6; }
.ep_report tbody tr.rowChild td:first-child  {
	padding-left: 1em;
	padding-right: 1em;
	text-indent: 40px;
}

.ep_report tfoot tr td:first-child { text-align: right; }
.ep_report tfoot tr td {
	background-color: #A5A5A5; 
	color: #F9FAFB;
}

.ep_report tfoot tr td,
.es_report tfoot tr td
{
	font-weight: bold; 
	text-align: right;
}

.es_report thead tr:nth-child(3) th {
	background-color: #BF8F00 !important;
	color: #212529 !important;
	border: none !important;
}

.es_report thead tr:nth-child(4) th {
	background-color: #1F4E78 !important;
	color: #F9FAFB !important;
	border: none !important;
}

.es_report thead tr:nth-child(4) th:nth-child(3), 
.es_report thead tr:nth-child(4) th:nth-child(4), 
.es_report thead tr:nth-child(5) th {
	background-color: var(--primary-color) !important;
	color: #F9FAFB !important;
	border: none !important;
}

.es_report tfoot tr:first-child td,
.es_report tfoot tr:nth-child(4) td {
	background-color: #A5A5A5 !important;
	color: #F9FAFB !important;
}

.es_report thead tr th:first-child {
	min-width: 120px;
	max-width: 120px;
}

.es_report thead tr th:nth-child(n+2) {
	min-width: 60px;
	max-width: 60px;
}

.es_report tbody tr td:nth-child(20) {
	color: #FFC107;
}

.es_report tbody tr td:nth-child(1),
.es_report tbody tr td:nth-child(2) {
	background-color: #C6E0B4;
}

.es_report tbody tr td:nth-child(3), 
.es_report tbody tr td:nth-child(5),
.es_report tbody tr td:nth-child(7) {
	background-color: #1F4E78;
	color: #F9FAFB;
}

.es_report tbody tr td:nth-child(4), 
.es_report tbody tr td:nth-child(6),
.es_report tbody tr td:nth-child(8) {
	background-color: #9BC2E6;
	color: #212529;
}

.es_report tbody tr td:nth-child(n+9) {
	background-color: #548235;
	color: #F9FAFB;
}

.es_report tbody tr td:first-child {
	text-align: right;
}

::after,
::before {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

a { text-decoration: none; }
li { list-style: none; }
.wrapper { display: flex; }

.content {
	min-width: calc(100vw - 250px);
	height: 100%;
}

.main {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	width: fit-content;
	transition: all 0.35s ease-in-out;
}

.sidebar-nav { padding: 0 0.45rem; }

a.sidebar-link {
    padding: 0.45rem 2rem 0.45rem 0.5rem;
    color: #7E7E7E;
    display: block;
    font-size: 1rem;
    white-space: nowrap;
    border-left: 3px solid transparent;
}

.sidebar-link i,
.dropdown-item i {
    font-size: 1.6rem;
    margin-right: .60rem;
}

a.sidebar-link:hover:not(.sidebar-footer a) {
	background-color: rgba(249, 250, 251, .35);
	color: #FFF;
	border-radius: 4px;
}

.sidebar-item { position: relative; }

#sidebar {
	position: relative;
	min-width: 250px;
	max-width: 250px;
}

#sidebar:not(.expand) .sidebar-item .sidebar-dropdown {
    position: absolute;
    top: 0;
    left: 70px;
    background-color: #198754;
    padding: 0;
    min-width: 17rem;
    display: none;
}

#sidebar:not(.expand) .sidebar-item:hover .has-dropdown+.sidebar-dropdown {
    display: block;
    max-height: 15em;
    width: 100%;
    opacity: 1;
}

#sidebar.expand .sidebar-link[data-bs-toggle="collapse"]::after {
    border: solid;
    border-width: 0 .1rem 0.1rem 0;
    content: "";
    display: inline-block;
    padding: 3px;
    position: absolute;
    right: .8em;
    top: 1rem;
    transform: rotate(-135deg);
    transition: all .2s ease-out;
}

#sidebar.expand .sidebar-link[data-bs-toggle="collapse"].collapsed::after {
    transform: rotate(45deg);
    transition: all .2s ease-out;
}

.sidebar-footer {
	position: absolute;
	padding: 0 0.45rem;
	bottom: 0;
	width: 100%;
}

.login-user-profile {
	width: 40px; 
	height: 40px; 
	margin-right:  0.65rem;
}

.login-user-name {
	font-weight: bold;
	color: #FFF;
}

.login-user-type { font-size: 0.8em; }

.navbar { 
	height: 60px;
	display: flex; 
	justify-content: space-between; 
	align-items: center;
	color: #7E7E7E;
	background-color: var(--secondary-color);
}

.navbar-date { padding-top: 1em; }

#myChart1, #myChart2, #myChart3, #myChart4, #myChart5, #myChart6 {
	margin-bottom: 20px;
	height: 250px; 
	background-color: var(--secondary-color);
}

.loader {
    border: 10px solid #E9ECEF;
    border-top: 10px solid var(--primary-color);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

#spinner {
    font-size: 2em;
    color: #212529;
}

#MyTable_pldrsi thead tr th, 
#MyTable_pldrsi tbody tr td {
	padding-left: 0.45em !important;
	padding-right: 0.45em !important;
	text-align: left !important;
}

#MyTable_pldrsi thead tr th:last-child,
#MyTable_pldrsi tbody tr td:last-child,
#MyTable_pldrsi tbody tr td:nth-last-child(2),
#MyTable_pldrsi tbody tr td:nth-last-child(3) {
	border-left: solid 1px #DEE2E6 !important;
	text-align: center !important;
}

.custom-dropdown::after { display: none; }

.drsi_Table {
	font-size: .90em !important;
}

.drsi_Table thead tr th,
.drsi_Table tbody tr td {
	vertical-align: middle !important;
}

.drsi_Table .dr-input-field input {
	background-color: #FFCB99;
}

.drsi_Table .dr-input-field-2 input {
	background-color: #ccc;
}

.drsi_Table input:not(thead tr th *),
.drsi_Table select:not(thead tr th *) {
    min-height: 27px;
    max-height: 27px;
}

.drsi_Table thead tr th .col:first-child {
	margin-top: 0.45em;
	margin-right: -0.95em;
}

.drsi_Table thead tr:nth-child(1) th:nth-child(1) { text-align: left !important; }
.drsi_Table thead tr:nth-child(1) th:nth-child(2) { border-left: none !important; }

.drsi_Table thead tr:nth-child(1) th:nth-child(4) {
	border-left: none !important;
	text-align: right !important;
}

.drsi_Table thead tr:nth-child(2) th {
	min-width: 120px !important;
	max-width: 120px !important;
	background-color: #1F3664 !important;
	color: #F9FAFB !important;
}

.drsi_Table tbody tr td input {
	text-align: right !important;
	border: none !important;
}

.drsi_Table tbody tr:nth-child(13) td:nth-child(3),
.drsi_Table tbody tr:nth-child(14) td:nth-child(3) { text-align: center !important; }

.drsi_Table tbody tr:nth-child(15) td,
.drsi_Table tbody tr:nth-child(16) td,
.drsi_Table tbody tr:nth-child(17) td,
.drsi_Table tbody tr:nth-child(18) td,
.drsi_Table tbody tr:nth-child(19) td {
	background-color: #1F3664 !important;
	border-color: #1F3664 !important;
	color: #F9FAFB !important;
	text-align: right !important;
}

.drsi_Table tbody tr:nth-child(20) td,
.drsi_Table tbody tr:nth-child(27) td {
	color: #DC3545 !important;
	font-style: italic !important;
	font-weight: bold !important;
	text-align: left !important;
}

.drsi_Table tbody tr:nth-child(16) td:nth-child(3) input,
.drsi_Table tbody tr:nth-child(18) td:nth-child(6) input:nth-child(2) { 
	background-color: #FFCB99 !important; 
}

.drsi_Table tbody tr:nth-child(15) td:nth-child(6) input,
.drsi_Table tbody tr:nth-child(16) td:nth-child(5) input,
.drsi_Table tbody tr:nth-child(16) td:nth-child(6) input,
.drsi_Table tbody tr:nth-child(17) td:nth-child(5) input,
.drsi_Table tbody tr:nth-child(17) td:nth-child(6) input,
.drsi_Table tbody tr:nth-child(19) td:nth-child(6) input {
	background-color: #1F3664 !important;
	color: #F9FAFB;
}

.modal-drsi .modal-dialog {
	min-width: 800px !important;
	max-width: 800px !important;
}

.modal-drsi .modal-body {
	margin: 0.65em 0.65em;
	padding: 0;
}

.receipt-header { width: 140px !important; }

.loading-indicator {
	padding: 1em;
	text-align: center;
	font-weight: bold;
}

.price-container {
	width: 100%;
	display: flex; 
	align-items: center;
}

.peso-sign {
	padding: 0.1em 0.5em 0 0;
	font-weight: bold;
	font-size: 1.15em;
}

#chat-box ul li {
	list-style-type: circle;
}

@keyframes fadeOut {
	from {
		opacity: 1;
	}
	to {
		opacity: 0;
	}
}

.fade-out {
	animation: fadeOut 1s forwards;
}

.receipt-footer-container { display: none; }
.receipt-footer-container input { border: none; }

.receipt-footer-container input, 
.receipt-footer-container span {
	font-size: 0.75em;
	text-align: center;
}

.pagination {
	float: right;
}

.pagination a {
	color: #212529;
	border-right: none;
}

button[name="dr_invoice"],
button[name="view_invoice"] {
	margin: 0.3em 0;
	min-width: 130px;
}

textarea[name="drsi_other_charges_remark"] { 
	width: 87%;
	margin-top: 2px;
	margin-left: 19px;
	background-color: #FFF !important; 
}

.modal-delete .modal-header,
.modal-delete .modal-body,
.modal-delete .modal-footer {
	background-color: var(--primary-color);
	color: #FFF;
	border: none;
}

.modal .modal-header {
	background-color: var(--primary-color);
	color: #FFF;
}

.tooltip-container {
	position: relative;
	display: inline-block;
}

.speech-bubble {
	border-radius: var(--speech-radius);
}

.tooltip-container .floating-tooltip {
	position: absolute;
	top: 50%;
	left: 100%;
	transform: translateY(-50%);
	padding: 6px 10px;
	background: rgba(0, 0, 0, 0.65);
	color: #fff;
	border-radius: var(--speech-radius);
	white-space: nowrap;
	pointer-events: none;
	opacity: 0;
	transition: opacity 0.25s ease-in-out;
	z-index: 1000;
}

.tooltip-container .floating-tooltip::after {
	content: "";
	position: absolute;
	top: 50%;
	left: -11px;
	transform: translateY(-50%);
	border: 6px solid transparent;
	border-right-color: rgba(0,0,0,0.65);
}

.tooltip-container .floating-tooltip.show {
	opacity: 1;
}

.highlighted {
	outline: 2px solid #007bff;
	background-color: #fffbea;
}

.price-container .input-icon {
	position: absolute;
	top: 50%;
	left: 15%;
	transform: translateY(-50%);
	color: #6C757D;
}