body {
	font-family: "Roboto", sans-serif;
	background-color: #eaeaea;
	color: #606060;
}

body p {
	margin-bottom: 0rem;
}

.subheader-nav {
	background-color: #00807b;
	color: white;
	padding-top: 5px;
	padding-bottom: 5px;

}

.subheader-nav > a {
	margin-left: 1rem;
	margin-right: 3rem;
}

.subheader-nav .dropdown-toggle {
	font-weight: normal;
}

.bg-dark {
	background-color: #333333 !important;
}

.btn-primary, a.btn-primary,
.btn-primary:hover, a.btn-primary:hover, a.btn-primary:link, a.btn-primary:visited {
	background-color: #3ea6b2;
	border-color: #3ea6b2;
	color: white;
}

#user-menu_button {
	color:white;
}

.a-pills a.active,
.nav-pills .nav-link.active {
	background-color: transparent;
	color:#0070a2;
	font-weight: bold;
}

.cs-detail h3 {
	color: #f86d67;
	font-size: 1.25rem;
}

.cs-detail h2 {
	color: #0070a2;
	font-weight: 600;
}

.cs-tooltip {
	background-color: white;
	border: 1px solid #003360;
	padding: 5px;
	font-size: 0.75rem;
	position:absolute; 
	left:0; 
	top:0;
	display: none;
}

.cs-tooltip h4 {
	color: #0070a2;
	font-weight: 600;
	font-size: 0.85rem;
	margin-bottom: 0.1rem;
}

.cs-tooltip h5 {
	font-size: 0.75rem;
	font-style: italic;
	font-weight: normal;
	color: #f86d67;
}

.cs-tooltip p {
	margin-bottom: 0;
	margin-top: 0;
}

.color-primary {
	color: #0070a2;
}

.color-secondary {
	color: #00807b;
}

.decrease {
	color: #f86d67;
	font-weight: bold;
}

.page-title {
	color: #003360; 
	text-align: left; 
	font-size: 2rem; 
	font-weight: medium;
	margin-top: 0.75rem;
	margin-bottom: 0.25rem;
}

.page-subtitle {
	font-style: italic;
	color: #888;
	margin-left: 10px;
}

.infobox-headline {
	font-size: 3rem;
	padding-right: 1rem;
	font-weight: bold;
	text-align: right;
}

.landing-infobox .infobox-head {
	font-size: 1.5rem;
}
.landing-infobox .infobox-subhead {
	font-size: 0.8rem;
}

.infobox-kpi {
	font-size: 1.2rem;
	font-weight: bold;
}

.section-divider {
	text-align:center; 
	color:#003360; 
	font-weight: bold; 
	font-size: 1.5rem; 
}	

.side-divider {
	text-align:center; 
	color:#003360; 
	font-weight: bold; 
	font-size: 1.5rem; 
}

div.dataTables_wrapper div.row {
	font-size: 0.75rem;
}

div.dataTables_wrapper div.row input[type=search] {
	font-size: 0.75rem;
	width: 100%;
}

div.dataTables_wrapper div.row .btn-primary {
	color: #3ea6b2;
	background-color:white;
	font-size: 0.75rem;
}

div.dataTables_wrapper div.row .btn-primary:hover {
	background-color: #3ea6b2;
	color:white;
}

div.dataTables_wrapper div.row div.dataTables_filter {
	text-align: left;
}

div.dataTables_wrapper div.dt-buttons {
	text-align: right;
}

.cs-table {
	font-size: 0.75rem;
	text-align: center;
	width: 100%;
}

.cs-table th {
	font-size: 1rem;
	font-weight: normal;
	color:#0070a2; 
}

.cs-table-header-custom {
  font-size: 1rem !important;
	font-weight: normal !important;
}

.cs-table.first-left tr td:first-child {
	text-align: left;
}

.cs-table td, .cs-table th {
	padding: 0.3rem 0.3rem;
}

.cs-table tr:nth-child(2n) {
	background-color: #eee;
}

.cs-table-title {
	text-align: center;
	font-weight: bold;
	color: #0070a2;
}

.cs-table tr.header-row {
	background-color: white;
}

.page-item.active .page-link {
	background-color: #0070a2;
	border-color: #0070a2;
}

.facility-table.collapsed tr:nth-child(n + 20) {
	display: none;
}

.facility-table.collapsed tr.show-rows {
	display: table-row;
}

.facility-table tr.show-rows {
	font-weight: bold;
}

.facility-table:not(.collapsed) .show-rows-link {
	display: none;
}

.facility-table.collapsed .hide-rows-link {
	display: none;
}	

.facility-table th {
	font-size: 0.75rem;
	font-weight: bold;
}

.validation-table-q .qmonth-1 {
	border-left: 1px solid #888;
}

.validation-table-q .qmonth-3,
.validation-table-q th:last-of-type,
	.validation-table-q td:last-of-type {
	border-right: 1px solid #888;
}

.validation-table-q td:last-of-type {
	font-weight: bold;
}

.validation-card-m .card-body p {
	font-size: smaller;
}

.facility-name {
	font-weight: bold;
	text-align: left;
}

.horizontal-form .dropdown-container {
	display: inline-block;
	margin-right: 1rem;
}

.horizontal-form select {
	 float:left; 
	 width:auto; 
	 margin-right: 2rem;
	 margin-top: 1rem;
}

.register-links {
	font-size: smaller;
	text-align: center;
	font-weight: bold;
}

.register-section {
	width: 100%;
}

.register-section th {
	border-top: 0;
	border-left: 0;
	border-right: 0;
	font-weight: bold;
	text-align: center;
	font-size: 0.75em;
}

.register-section td,
.register-section tr.total td.register-value
{
	padding: 5px;
	border: 1px solid black;
	text-align: center;
}

.register-section td.register-value,
.register-section td.report-value {
	text-align: center;
	width: 20%;
}

.register-section td.register-change,
.register-section td.report-subvalue {
	text-align: center;
	font-size: smaller;
	width: 15%;
}

.register-section td.row-title {
	text-align: left;
}

.register-section tr.total td.report-subvalue,
.register-section tr.total td.row-title {
	border: 0;
}

.register-section td.register-mismatch-internal {
	background-color: #3ea6b2;
	color: white;
}

.register-section td.register-mismatch-value {
	background-color: #f86d67;
	color: white;
}

.register-section td.register-mismatch-report {
	background-color: #0070a2;
	color: white;
}

.register-section .total {
	font-style:italic;
	font-weight: bold;
}

.register-section tr td {
	text-align: left;
	font-size: 0.9em;
	min-width:3rem
}

.register-section tr td:last-child {
	font-weight: bold;
}

a, a:hover, a:visited, a:link {
	text-decoration: none;
	color: #404040;
}

.warning {
	color: #f86d67;
}

a.warning, a.warning:hover, a.warning:visited, a.warning:link {
	color: #f86d67;
}

.negative {
	color: #f86d67;
}

.positive {
	color: #00807b;
}

tr.highlight {
	background-color: #e5f8fa !important;
}

.annot-pct {
	font-size: smaller;
}

.footer {
	padding-top: 20px;
}

.dropdown-menu li{
	position: relative;
}
.dropdown-menu .submenu { 
	display: none;
	position: absolute;
	left:100%; top:-7px;
}

.scrolled-dropdown-menu {
	max-height: 400px; 
	overflow-y: auto;
}

.dropdown-menu .submenu-left{ 
	right:100%; left:auto;
}

.dropdown-menu > li:hover{ background-color: #f1f1f1 }
.dropdown-menu > li:hover > .submenu{
	display: block;
}

.dropdown-item a {
	font-weight: normal;
}

.dropdown-toggle {
    font-weight: medium;
}

ul .dropdown-item {
	font-size: 0.75rem;
}

.cs-table tr.total {
	background-color: #e5f8fa !important;
	font-style: italic;
	font-weight: bold;
}

.cs-table td.row-total {
	font-weight: bold;
}

.has-data-src {
	position: relative;
}

.data-src {
	position: absolute;
	display: none;
	color: #888;
	cursor: pointer;
	top: 5px;
	right: 5px;
	z-index: 999;
}

.data-src-tooltip {
	display: none;
}

.data-src div.element-tooltip-container {
	padding: 5px;
}

.data-src div.element-tooltip-container {
	padding: 5px;
}

div.subelements {
	margin: 5px 0;
}

p.indicator-name {
	font-weight: bold;
	font-size: larger;
	color: #0070a2;
	margin-bottom: 0.5rem;
}

p.indicator-description {
	font-size:larger;
	color: black;
	margin-bottom: 0.5em;
}

p.indicator-source {
	font-size: smaller;
	font-style: italic;
	margin-top: 5px;
}

.datadict-separator {
	border-top: 1px solid #808080;
	width:100%;
	margin-top: 1rem;
	margin-bottom: 1rem;
}

span.subindicator-name {
	font-weight: bold;
}

.has-data-src:hover .data-src {
	display: block;
}

.card {
	margin-bottom: 1.5rem;
}

.card-title {
	margin:0.5rem;
	margin-top: 0.5rem;
	margin-bottom: 0.5rem;
	text-align:center;
	color: #0070a2;
	font-weight: middle;
	font-size: larger;

}

/*
.data-src:hover .data-src-tooltip {
	display: inline-block;
	position: absolute;
	top: 0px;
	right: 0px;
	border: 1px solid black;
	background: white;
	padding: 5px;
	font-size: 0.7rem;
	z-index: 999;
	color: black;
	text-align: left;
	white-space:nowrap;
}
*/

.data-src-tl .data-src {
	top: 5px;
	left: 5px;
}

.data-src-bl .data-src {
	bottom: 5px;
	left: 5px;
}

.data-src-br .data-src {
	bottom: 5px;
	right: 5px;
}

.stockout-category-title {
	text-align: center;
	font-weight: bold;
	font-size:15px;
}

.stockout {
	border: 1px solid black; 
	padding: 5px; 
	margin-top: 5px;
	border-radius: 5px;
	font-size:14px;
	max-width: 97%;
}

table.stockout-flags {
	font-size: 0.75rem;
	width: 100%;
}

table.stockout-flags th {
	padding-top: 10px;
	color: #0070a2;
	text-align: center;
	border-bottom: 1px solid #ccc;
}

table.stockout-flags td {
	border-bottom: 1px solid #ccc;
	padding: 3px;
}

table.stockout-flags td:nth-child(2) {
	text-align: right;
}

#data-sources h4 {
	color: #0070a2;
	margin-top: 1.5rem;
}

#data-sources a {
	font-weight: bold;
}

#data-sources p {
	margin-bottom: 1rem;
}

.map-annotation {
	font-size: smaller;
	text-align: right;
	font-style: italic;
}

.modal-body p {
	font-size: smaller;
	padding-bottom: 10px;
}

.no-data {
	font-size: 1.5rem;
	text-align: center;
	padding-top: 20px;
}

.no-data i {
	color: #f86d67;
}
/*
sub menu
*/


.dropdown-menu li {
  position: relative;
}
.dropdown-menu .dropdown-submenu {
  display: none;
  position: absolute;
  left: 100%;
  top: -7px;
}
.dropdown-menu .dropdown-submenu-left {
  right: 100%;
  left: auto;
}
.dropdown-menu > li:hover > .dropdown-submenu {
  display: block;
}

.modebar-container{
    position: absolute;
    top: -22px !important;
    right: 0px;
    width: 100%;
    padding:22px !important;
}

.modebar-btn--logo{
display: none !important;
}

.dataTables_length{
    margin-bottom:5px !important;
}

.list_of_user_table  td {
  border: 0.1px solid #c7c3c3;
}

.list_of_user_table  th {
  background:#c7c3c3;
  border: 0.1px solid grey;
  font-size:12px !important;
  font-weight:300 !important;

}

.lozenge {
  font-weight: bold;
  padding: 0.2em 0.4em;
  border-radius: 5px;
  color: white;
  background-color: gray;
}

/* KPI */

.kpi-box {
  font-size: small;
  margin-bottom: 0.5rem;
}

.kpi-header {
  font-size: smaller;
}

.kpi-headline {
  float: right;
  font-size: larger;
  font-weight: bold;
  padding: 0.1em 0.4em;
  border-radius: 5px;
  color: white;
  background-color: gray;
}

.kpi-pie {
  height: 70px;
}

.kpi-facilities {
  text-align: center;
}

.kpi-numfac {
  font-size: xx-large;
  font-weight: bold;
}

.kpi-name {
  font-weight: bold;
}

.kpi-ok {
  color: #00807b;
}

.kpi-warning {
  color:#ffb347;
}

.kpi-flag {
  color: #f86d67;
}

.kpi-bg-ok {
  background-color: #00807b;
}

.kpi-bg-warning {
  background-color:#ffb347;
}

.kpi-bg-flag {
  background-color: #f86d67;
}

.kpi-table .kpi-ok {
  color: #404040;
}

.kpi-table .kpi-warning {
  font-weight: bold;
}

.kpi-table .kpi-flag {
  font-weight: bold;
}

.kpi-table th {
  font-size: smaller;
  font-weight: bold;
}

.kpi-table a {
  color:inherit;
}

.palms-tooltip {
  border: none;
  box-shadow: none;
  color: green;
}

.palms-tooltip .palms-name {
  font-weight: bold;
}

.palms-tooltip .palms-facility {
  font-size: smaller;
  color: #0070a2;
}
.palms-tooltip .palms-value {
  font-size: larger
}

.palms-tooltip .flag-reason {
  font-size: smaller;
}

.indicator-container {
	font-size: 0.75rem;
	margin-bottom: 1em;
}

.indicator-container p.indicator-description {
	font-size:larger;
	color: black;
	margin-bottom: 0.5em;
}

.menu_header_button {
    border: 1px #918c8c solid !important;
    border-radius :0;
}

.error {
    font-size: 12px;
    color: #f86d67;
}

.control-label{
    font-size : 16px !important;
}

.daterangepicker {
     position: absolute !important;
}


/* Parent container for horizontal scrolling */
.horizontal-form {
    display: flex;
    flex-wrap: wrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch; /* For smooth scrolling on iOS */
    padding: 8px;
    gap: 8px; /* Spacing between dropdown containers */
    overflow: visible !important;
}

/* Hide scrollbar on mobile */
.horizontal-form::-webkit-scrollbar {
    display: none; /* Hide scrollbar for Webkit browsers */
}
.horizontal-form {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;     /* Firefox */
}

/* Dropdown styling */
.dropdown-container {
    white-space: nowrap; /* Prevents wrapping inside the container */
    overflow: visible !important;
}

.dropdown-menu {
    z-index: 1050 !important;
}

.dropdown-submenu {
    z-index: 1051 !important;
}
