html, body {
	margin: 0;
	padding: 0;
	height: 100%;
}
body {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	font-family: Arial, sans-serif;
}
.top-bar {
	height: 60px;
	background-color: #2d4051;
	color: white;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0 10px;
	position: fixed;
	top: 0;
	width: 100%;
	z-index: 1000;
}

.top-bar img.logo {
	height: 40px;
}

.top-bar .user-icon {
	color: white;
	font-size: 20px;
	margin-left: 15px;
	cursor: pointer;
}

.top-bar .flag-icon {
	font-size: 22px;
	margin-left: 15px;
	cursor: pointer;
}

.actionbar {
	background-color: white;
	color: white;
	display: flex;
	padding: 0.5rem 1rem;
	position: fixed;
	top: 60px;
	width: 100%;
	z-index: 999;
}

.fixed-header-spacer {
	height: 80px;
	flex-shrink: 0;
	background-color: white;
}
#ui-sections, ui-sections-bottom {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 0 10px;
}

/* Layout consistency across sections */
#quickaccess,
#filter-area,
#pageselect-area,
#pageselect-area-bottom,
#mainTable,
#content-area,
#dynamic-area {
	width: 100% !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
}

#quickaccess,
#filter-area,
#pageselect-area,
#notification-area {
	display: none;
	padding: 6px 10px;
	color: black !important;
}

.quickaccess {
	background-color: #e6f0fa; /* lighter blue background */
	color: #0b1739; /* dark blue text */
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap; /* allows wrapping if needed */
	font-size: 0.85rem;
	padding-top: 4px;
	padding-bottom: 4px;

}


#quickaccess ._mapopenbox,
#quickaccess .quicktxt,
#quickaccess span {
	margin-right: 6px;
}



#quickaccess .container-fluid {
	gap: 8px; /* Reduce spacing between flex items */
}

/* Compact and aligned filter area */
#filter-area {
	max-width: 100%;
	padding: 2px 5px;
	margin-top: 0 !important;
	margin-bottom: 0 !important;
	text-align: left;
	font-size: 0.85rem;
}

/* Compact filter controls */
#filter-area .form-control,
#filter-area .form-select,
#filter-area .raplicobutton,
#filter-area .btn,
#filter-area .button {
	height: 22px;
	font-size: 0.8rem;
	padding: 0px !important;
	margin-bottom: 0 !important;
	text-align: left;
}

/* Label styling */
#filter-area label {
	display: inline-block !important;
	color: black !important;
	font-size: 12px !important;
	font-family: Arial, sans-serif !important;
/*	min-width: 80px; */
	white-space: nowrap;
	z-index: 1001;
	position: relative;
	background-color: white;
	opacity: 1 !important;
	margin-bottom: 2px;
}

#filter-area .col-auto {
	padding-top: 0px !important;
	padding-bottom: 0px !important;
	margin-top: 0 !important;
	margin-bottom: 0 !important;
	flex: 0 0 auto;
	min-width: 100px; /* or more, depending on your layout */
	line-height: 1.2;
}

#pageselect-area .page-selector,
#pageselect-area-bottom .page-selector {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
}
/*
#pageselect-area { border: 2px dashed purple }
#filter-area { border: 2px dashed purple }
#quickaccess { border: 2px dashed green }
*/

#pageselect-area-bottom {
	margin-bottom: 20px; /* or more, like 30px or 40px */
}

._mapopenbox {
	display: flex;
	align-items: center;
	gap: 5px;
	color: #0b1739; /* ensure text is visible */
}

._mapopenbox i,
._mapopenbox .quicktxt,
._mapopenbox span {
	display: inline-flex;
	align-items: center;
	color: #0b1739;
}

#notification-area {
	display: flex;
	color: black;
	align-items: center; /* vertically center the text */
	justify-content: center; /* horizontally center the text */
	background-color: #ffc; /* or any background you prefer */
	padding: 10px 20px;
	margin-bottom: 10px;
	height: auto;
	min-height: 40px; /* ensures it's tall enough for the text */
	box-sizing: border-box;
	z-index: 1000; /* higher than .actionbar */
}

#dynamic-area {
	flex: 1 0 auto;
	padding: 10px;
	border: 2px;
	border-color: blue;
}

.footer-bar {
	background-color: #2d4051;
	color: white;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-shrink: 0;
	padding: 0 15px;
}

.footer-bar img {
	height: 30px;
	object-fit: contain;
}

.bottomtext {
	font-size: 12px;
}

/* button section */

.btn-primary{
	border:0;
}

.modal-error .btn-primary {
	background-color: #721c24; /* Dark red button */
	border-color: #721c24;
}

.modal-error .btn-primary:hover {
	background-color: #501217; /* Darker red on hover */
	border-color: #501217;
}

.modal-error .modal-header {
	background-color: #dc3545; /* Bootstrap danger red */
	color: white;
}

label {
	font-size: 0.8rem;
	color: #333;
	margin-bottom: 2px;
	display: block;
}

.smallbutton {
	border-radius: 5px; /* Make all buttons have rounded corners */
	margin-right: 10px; /* Ensure equal spacing between buttons */
	height: 22px; /* Adjust height to fit within the top-bar */
	font-size: 10px; /* Make the button text smaller */
	cursor: pointer;
	color: white;
	line-height: 1.5; /* Adjust line-height to center text vertically */
	display: inline-flex; /* Use inline-flex for better alignment */
	align-items: center; /* Center items vertically */
	background-color: #9ac7ff; /* Example button color */
	padding: 5px 10px; /* Adjust padding for consistent button size */
}

.smallbutton:hover {
	background-color: #0056b3; /* Example hover color */
}

/* Search Field */
#searchForm .form-control {
	height: 22px; /* Match button height */
	padding-top: 2px;
	padding-bottom: 2px;
	font-size: 12px;
	margin-top: 0;
	margin-bottom: 0;
	align-self: center;
}

#searchForm .smallbutton {
	height: 22px; /* Match input height */
	padding-top: 2px;
	padding-bottom: 2px;
	font-size: 12px;
	align-self: center;
}

#searchField {
	height: 22px; /* Adjust height to fit within the top-bar */
	width: 100px; /* default */
	margin-right: 5px; /* Ensure equal spacing between buttons */
	transition: width 0.3s ease-in-out;
}

#searchField:focus {
	width: 200px; /* Extend the width when focused */
}

/* End of Search */

/* Specific adjustments for the search button */

#searchButton {
	border-radius: 5px; /* Make the search button have rounded corners */
	margin-right: 10px; /* Ensure equal spacing between buttons */
}

.raplicobutton
{
	border: 0;
	padding: 5px 20px;
	background: #72ade6 !important;
	color: #fff;
	text-transform: uppercase;
	border-radius: 3px;
	font-size: 10px !important;
	display: inline-block;
	transition: .5s;
}

.raplicobutton:hover
{
	background: #9ac7ff;
}
/* end of button */

.topmenu-item {
	margin-right: 10px; /* Ensure equal spacing between buttons */
}

.topmenu-area .topmenu-item {
	margin-left: 15px; /* Ensure equal spacing between buttons */
	text-decoration: none;
}

.topmenu-area .topmenu-item:last-child {
	margin-right: 10px; /* Ensure equal spacing between buttons */
}

button {
	margin: 5px;
	padding: 6px 12px;
	font-size: 14px;
	cursor: pointer;
	border: none;
	border-radius: 4px;
	background-color: #007bff;
	color: white;
}
button:hover {
	background-color: #0056b3;
}

.menu-area {
	display: flex;
	align-items: center;
	margin-left: auto; /* This pushes the menu to the right */
}

.actionbar .menu-area {
	display: flex;
	margin-left: auto;
}

.menu-area .menu-item-area {
	color: white;
	margin-left: 20px;
	text-decoration: none;
	font-size: 12px;
}

/* everything around the spinner */
#spinner {
	display: none;
	width: 40px;
	height: 40px;
	position: relative;
	margin: 0 auto;
}
.spinner {
	margin: 20px auto;
	width: 40px;
	height: 40px;
	border: 4px solid rgba(0, 0, 0, 0.1);
	border-top: 4px solid #2d4051;
	border-radius: 50%;
	animation: spin 1s linear infinite;
	display: none; /* Hidden by default */
}

@keyframes spin {
	0% { transform: rotate(0deg); }
	100% { transform: rotate(360deg); }
}

/* Progress Bar */
.progress-bar {
	display: none;
	width: 33.33%;
	background-color: #f3f3f3;
	border-radius: 5px;
	overflow: hidden;
	margin: 20px auto;
}

.progress-bar-fill {
	height: 20px;
	width: 0;
	background-color: #8fbc8f;
	transition: width 0.25s ease-in-out;
}

/* pre text for design */
.blog-container {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.blog-content {
  flex: 1;
  padding: 1rem;
}

.blog-text {
  font-size: 1rem;
  line-height: 1.5;
}

/* end of pre text for design */

