.small {font-size:10px;}

.badge-success {
  background-color: #5cb85c;
}
.badge-warning {
  background-color: #f0ad4e;
}
.badge-danger {
  background-color: #d9534f;
}
.badge-info {
  background-color: #5bc0de;
}
.badge-primary {
  background-color: #337ab7;
}
form.form-inline {
  display: inline;
}
.popover > * {
text-align:justify;
}
div.dataTables_scrollBody thead th, div.dataTables_scrollBody thead td { line-height: 0; opacity:0.0; width: 0px; height:0px;}

/* DataTables Header Styling - RED Color */
table.dataTable thead th {
    background-color: #d32f2f !important;
    color: white !important;
    font-weight: bold !important;
}

table.dataTable thead th.sorting,
table.dataTable thead th.sorting_asc,
table.dataTable thead th.sorting_desc,
table.dataTable thead th.sorting_asc_disabled,
table.dataTable thead th.sorting_desc_disabled {
    background-color: #d32f2f !important;
    color: white !important;
}

table.dataTable thead th:hover {
    background-color: #c62828 !important;
}

.easyWizardSteps {list-style:none;width:100%;overflow:hidden;margin:0;padding:0;border-bottom:1px solid #ccc;margin-bottom:20px}
.easyWizardSteps li {font-size:18px;display:inline-block;padding:10px;color:#B0B1B3;margin-right:20px;}
.easyWizardSteps li span {font-size:24px}
.easyWizardSteps li.current {color:#000}
.easyWizardButtons {overflow:hidden;padding:10px;}
.easyWizardButtons button, .easyWizardButtons .submit {cursor:pointer}
.easyWizardButtons .prev {float:left}
.easyWizardButtons .next, .easyWizardButtons .submit {float:right}

/** vertical tab stars **/
.tabs-left {
	  margin-top: 3rem;
	}

	.nav-tabs {
	  border-bottom: 0;
	}
	.nav-tabs li {
	  float: none;
	  margin: 0;
	}
	.nav-tabs li a {
	  margin-right: 0;
	  border: 0;
	  background-color: #1B1E24;
	}
	.nav-tabs li a:hover {
	  background-color: #1B1E24;
	}
	.nav-tabs .glyphicon {
	  color: #fff;
	}
	.nav-tabs .active .glyphicon {
	  color: #333;
	}

	.nav-tabs > li.active > a, .nav-tabs > li.active > a:hover, .nav-tabs > li.active > a:focus {
	  border: 0;
	}

	.tab-content {
	  margin-left: 45px;
	}
	.tab-content .tab-pane {
	  display: none;
	  background-color: #fff;
	  padding: 1.6rem;
	  overflow-y: auto;
	}
	.tab-content .active {
	  display: block;
	}


/** vertical tab ends **/

/** tree view starts **/
/** tree view ends **/

.modal-header-2 .btn-danger {
	position: relative;
	top: -5px;
	margin-right: 20px;
}

.modal-body.tab-form2 table {
	margin-bottom: 0;
	position: relative;
}

.modal-body.tab-form2 table td {
	border-top: none !important;
}

.modal-body.tab-form2 table td:first-child span {
	position: relative;
	top: 7px;
}

.input-required {
	border-color: #ff2b2b !important;
}

.modal-body.tab-form2 {
	padding: 10px 15px 0 15px;
}

.select2-results {
	border-top: 1px solid #999999;
}

.select2-results .select2-result-label {
	position: relative;
}

.select2-results .select2-result-label input[type="checkbox"]   {
	position: absolute;
	left: 5px;
	top: 2px;
}

.select2-results .select2-result-label label {
	font-weight: normal;
	font-size: 13px;
	padding-left: 20px;
}

.btn-mt {
	margin-top: -8px !important;
}

.mb-10 {
	margin-bottom: 10px !important;
}

/* Footer layout with centered Last Login */
footer {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
}

footer .footer-left {
	flex: 1;
	text-align: left;
}

footer .footer-center {
	flex: 1;
	text-align: center;
	color: #666;
	font-size: 12px;
}

/* Header Company Name - Centered in Navbar */
.navbar-collapse {
	position: relative;
	padding: 0 !important;
	margin: 0 !important;
}

/* Two-row layout wrapper */
.navbar-inner-wrapper {
	width: 100%;
	margin: 0;
	padding: 0;
}

/* Top Row: Company Name - Centered - ULTRA MINIMAL SPACING */
.navbar-top-row {
	width: 100%;
	text-align: center;
	padding: 2px 0 2px 0;
	margin: 0;
	border-bottom: 1px solid #e7e7e7;
	background-color: #f8f8f8;
	line-height: 1;
	min-height: 0;
}

.navbar-brand-center {
	display: inline-block;
	margin: 0;
	padding: 0;
}

.navbar-brand-center .navbar-brand {
	padding: 1px 10px;
	margin: 0;
	display: inline-block;
	white-space: normal;
	overflow: visible;
	text-overflow: clip;
	max-width: none;
	width: auto;
	line-height: 1.2;
	font-weight: bold;
	font-size: 16px;
	color: #333;
	height: auto;
}

/* Bottom Row: All Navigation Items - ULTRA MINIMAL SPACING */
.navbar-bottom-row {
	width: 100%;
	padding: 0;
	margin: 0;
	min-height: 0;
}

.navbar-bottom-row .nav.navbar-nav {
	margin: 0;
	padding: 0;
}

.navbar-bottom-row .nav.navbar-nav.navbar-right {
	margin: 0;
	padding: 0;
}

.navbar-bottom-row .nav.navbar-nav > li > a {
	padding-top: 8px;
	padding-bottom: 8px;
}

/* Fix navbar height to prevent overlap with content below */
.header.rows-content-header {
	height: 70px !important;
}

.body.content.rows {
	top: 70px !important;
}

/* Responsive adjustments for medium screens */
@media (max-width: 1200px) {
	.navbar-brand-center .navbar-brand {
		font-size: 15px !important;
		padding: 1px 8px;
	}
}

@media (max-width: 991px) {
	.navbar-brand-center .navbar-brand {
		font-size: 14px !important;
		padding: 1px 5px;
	}

	.navbar-bottom-row .nav.navbar-nav li a {
		font-size: 13px;
		padding: 8px 6px;
	}
}