@CHARSET "ISO-8859-1";

/* ==========================================================================
   1. GLOBAL RESETS & TYPOGRAPHY (Original Legacy Sizes Kept Safe)
   ========================================================================== */
html, body {
	height: 99.8%;
}

body {
	margin: 0;
	padding: 0;
	margin-left: auto;
	margin-right: auto;
	background-color: #f4f6f8;
}

.ui-widget {
	font-family: 'Roboto', Arial, sans-serif;
	font-size: 8pt;
	color: #333333;
}

.ui-widget .ui-widget {
	font-size: 8pt;
}

.ui-widget input, .ui-widget select, .ui-widget textarea, .ui-widget button
	{
	font-family: 'Roboto', Arial, sans-serif;
	font-size: 8pt;
}

/* ==========================================================================
   2. FIRST LEVEL TABS (Modern Active State)
   ========================================================================== */
.sub-tab-first-level {
	padding: 0px;
	background: none;
	border-width: 0px;
}

.sub-tab-first-level>.ui-tabs-nav {
	padding-left: 0px;
	background: transparent;
	border-width: 0px 0px 1px 0px;
	/* Clean bottom line spanning the whole tab row */
	border-bottom: 1px solid #e0e0e0;
	border-radius: 0px;
}

.sub-tab-first-level>.ui-tabs-panel {
	border-width: 0px 1px 1px 1px;
	border-style: solid;
	border-color: #e0e0e0;
	padding: 2px;
	background: #ffffff;
}

.sub-tab-first-level>.ui-tabs-nav li {
	background: transparent;
	border: 0px;
	box-shadow: none;
	font-weight: 500;
	font-size: 8.5pt;
	margin-bottom: -1px;
	/* Pulls the active border down to overlap the container border perfectly */
}

.sub-tab-first-level>.ui-tabs-nav li a {
	color: #666666;
	width: 80px;
	position: relative;
	padding-bottom: 10px;
	text-align: center;
	font-size: 11px;
	transition: color 0.2s ease, background-color 0.2s ease;
	display: block; /* Ensures the clickable area fills the tab */
}

.sub-tab-first-level .ui-state-hover a {
	background: #f0f7ff;
	color: #0056b3;
	border-radius: 4px 4px 0 0; /* Smooth top corners on hover */
}

/* Modern Active Tab Styling (Replaces the need for Tabmat) */
.sub-tab-first-level>.ui-tabs-nav li.ui-tabs-selected,
	.sub-tab-first-level>.ui-tabs-nav li.ui-state-active {
	font-weight: bold;
	border-bottom: 3px solid #0056b3;
	/* The crisp, modern bottom indicator */
}

.sub-tab-first-level>.ui-tabs-nav li.ui-tabs-selected a,
	.sub-tab-first-level>.ui-tabs-nav li.ui-state-active a {
	color: #0056b3;
	background: transparent !important;
}

/* ==========================================================================
   3. SECOND LEVEL TABS
   ========================================================================== */
.sub-tab-second-level {
	background: transparent;
	border: none;
}

.sub-tab-second-level>.ui-widget-header {
	background: transparent;
	border: none;
	border-bottom: 2px solid #0056b3;
	border-radius: 0px;
}

.sub-tab-second-level>.ui-widget-header>.ui-state-default {
	background: #FFFFFF;
}

.sub-tab-second-level>.ui-widget-header>.ui-state-active {
	background: transparent
		url(../images/info_icons/ui_tabs_arrow.png?ver=492RC102) no-repeat
		bottom center;
	border-width: 2px;
	border-color: #0056b3;
	border-bottom: none;
}

.sub-tab-second-level .ui-state-default a {
	color: #333333;
}

.sub-tab-second-level .ui-state-hover a {
	background: #f0f7ff;
}

.sub-tab-second-level .ui-state-active a {
	color: #0056b3;
	font-weight: bold; /* Bold active state */
}

/* ==========================================================================
   4. TABLES & CONTAINERS
   ========================================================================== */
tr.even-row td {
	background-color: #f8f9fa;
}

tr.odd-row td {
	background-color: white;
}

td.padding {
	padding-top: 6px;
	padding-bottom: 6px;
	padding-right: 6px;
	padding-left: 6px;
}

.attribute-table-scroll {
	min-height: 40px;
	height: auto;
	overflow: auto;
}

.pkg-attribute-table-scroll {
	height: auto;
	overflow: auto;
}

.ui-accordion .ui-accordion-header a {
	display: block;
	font-size: 8pt;
	padding: .5em .5em .5em .7em;
	color: #333333;
}

#parent-dialog-tab-miscellaneous {
	height: calc(100vh - 115px);
}

.miscellaneous-tab {
	height: calc(100% - 35px);
	overflow: auto;
}

.lbl-design-fixed-header-tab {
	height: calc(100vh - 155px);
	overflow: auto;
}

/* MISC UTILITIES */
#parent-storage-tab li .ui-icon-close {
	float: left;
	margin: 0.4em 0.2em 0 0;
	cursor: pointer;
}

#parent-home-tab label>img {
	vertical-align: middle;
	padding-right: 5px;
}