﻿/* Global page styling */
body {
	margin: 10px;
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-size: 14px;
	color: #212529;
}

/* Overlay styling */
#overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: #000;
	filter: alpha(opacity=50); /* IE opacity */
	opacity: 0.5;
	z-index: 1000;
	display: none;
}

/* Dialog container styling */
#dialog {
	position: absolute;
	width: 500px;
	border: 1px solid #dee2e6;
	background-color: #fff;
	z-index: 1001;
	display: none;
}

/* Dialog header */
#dialog-header {
	padding: 15px;
	border-bottom: 1px solid #dee2e6;
	background-color: #f1f1f1;
	font-size: 18px;
	font-weight: 500;
	line-height: 1.5;
}

/* Dialog body */
#dialog-body {
	padding: 15px;
	font-family: Arial, sans-serif;
}

/* Dialog footer */
#dialog-footer {
	padding: 15px;
	border-top: 1px solid #dee2e6;
	background-color: #f1f1f1;
	text-align: right;
}

/* Dropdown container should appear inline */
.dropdown {
	display: inline;
}

/* Dropdown menu styling */
.dropdown-menu {
	position: absolute;
	border: 1px solid #ccc;
	background-color: #fff;
	padding: 5px;
	z-index: 1100;
	display: none;
}

	/* 
   Style dropdown menu buttons:
   - Fixed width (150px in this example)
   - Left-aligned text (so that the longest text determines the width)
*/
	.dropdown-menu button {
		background-color: #fff;
		border: 1px solid #ccc;
		margin: 2px;
		color: #212529; /* Default text color */
		width: 150px;
		text-align: left;
	}

/* 
   Global button styling:
   - Centered text (for buttons not inside a dropdown menu)
*/

button, .btn {
	text-align: center; 
	display: inline-block;
	font-weight: 400;
	color: #212529;
	vertical-align: middle;
	cursor: pointer;
	background-color: transparent;
	border: 1px solid transparent;

	padding: 0.15rem 0.50rem;
	font-size: 14px;
	line-height: 1.5;
	border-radius: 0.25rem;
	text-decoration: none;
	margin: 0px 2px 0px 0px ;
}

/* Primary button styling (if needed) */
.btn-primary {
	color: #fff;
	background-color: #007bff;
	border-color: #007bff;
}

.btn-secondary {
	background-color: #f1f1f1;
	border-color: #dee2e6;
}
