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: #444;
	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: white;
}

.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 { 
	border: 2px dashed green 
}


#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: 26px;
    font-size: 0.8rem;
    padding: 0px !important;
    margin-bottom: 0 !important;
    text-align: left;
}

/* Label styling */
#filter-area label {
    font-size: 0.8rem;
    margin-bottom: 2px;
    color: black;
    display: inline-block;
}

#filter-area .col-auto {
	padding-top: 0px !important;
	padding-bottom: 0px !important;
	margin-top: 0 !important;
	margin-bottom: 0 !important;
	line-height: 1.2;
}

#filter-area { border: 2px dashed purple }
#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 }


#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;
}

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;
}

