/* --------------- Общие параметры --------------- */
body {
	padding: 0;
	margin: 0;
	font-family: Arial, Tahoma, sans-serif;
	font-size: 14px;
	font-weight: normal;
	color: #333333;
	background-color: #ffffff;
}

a {
	outline-style: none;
	border: 0;
	color: #03528b;
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

body, td, th {
	font-family: Arial, Tahoma, sans-serif;
	font-size: 14px;
	font-weight: normal;
	/*color: #03528b;*/
}

h1, h2, h3 {
	color: #03528b;
	font-family: Arial, Tahoma, sans-serif;
	margin: 0;
}

h1 {
	font-size: 30px;
	text-transform: uppercase;
}

h2 {
	font-size: 24px;
}

h3 {
	font-size: 18px;
}

hr {
	border: 1px solid #03528b;
	height: 1px;
}

p {
	margin-bottom: 10px;
	margin-top: 10px;
}

/* ---------- Подвал ---------- */
.footer {
	background: url("/i/footer_background.png") repeat-x;
	background-color: #98999e;
	color: #005f9f;
	vertical-align: top;
}

.footer a {
	color: #FFFFFF;
}

.footer_blue {
	background-color: #03528b;
	color: #FFFFFF;
	padding: 10px;
}

.footer_blue h2 {
	color: #FFFFFF;
}
.footer_blue td {
	color: #FFFFFF;
	/*font-size: 18px;*/
}

.bottom-menu {
	font-size: 18px;
	color: #FFFFFF;
}

.bottom-menu a {
	color: #005f9f;
	font-size: 18px;
	text-decoration: none;
	padding-left: 10px;
	padding-right: 10px;
}

.copyright {
	color: #005f9f;
	padding-top: 20px;
}

/* --------------- Настройки Bootstrap 5 --------------- */
:root {
	--bs-primary: #005f9f; /* Custom primary color */
	--bs-primary-rgb: 0, 95, 159; /* RGB equivalent */
	--bs-primary-hover: #03528b; /* Custom hover color */
}

.btn-primary {
	background-color: var(--bs-primary) !important;
	border-color: var(--bs-primary) !important;
}

.btn-primary:hover {
	background-color: var(--bs-primary-hover) !important;
	border-color: var(--bs-primary-hover) !important;
}

.navbar-nav .nav-link {
	color: white !important;
}
.navbar-nav .nav-link:hover {
	color: rgba(255, 255, 255, 0.8) !important;
}

.dropdown-menu {
	background-color: #03528b;
}

.dropdown-item, .dropdown-item.dropdown-toggle {
	color: white;
}

.dropdown-item:hover, .dropdown-item.dropdown-toggle:hover {
	color: white;
	background-color: rgba(255, 255, 255, 0.2);
}

.dropdown-submenu {
	position: relative;
}

.dropdown-submenu .dropdown-menu {
	top: 0;
	left: 100%;
	margin-top: -1px;
	display: none;
	position: absolute;
}

.dropdown-submenu:hover .dropdown-menu {
	display: block;
}

@media (max-width: 576px) {
	.dropdown-submenu .dropdown-menu {
		position: static;
		display: none;
		margin-left: 1rem;
	}

	.dropdown-submenu .dropdown-menu.show {
		display: block;
	}
}

.navbar-nav {
	margin: 0 auto;
	display: flex;
	justify-content: center;
	width: 100%;
}
