html,
body {
	position: relative;
	/* width: 100%; */
	height: 100%;
}

body {
	color: #333;
	background-color: #67747b;
	margin: 0;
	/* padding: 8px; */
	box-sizing: border-box;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	/* font-family: monospace; */
}

hr {
	border: none;
	/* Убираем границу для браузера Firefox */
	color: black;
	/* Цвет линии для остальных браузеров */
	background-color: #c4c4c4;
	/* Цвет линии для браузера Firefox и Opera */
	height: 2px;
	width: 99%;
}

a {
	color: rgb(0, 100, 200);
	text-decoration: none;
}

select {
	background-color: white;
}

.page {
	margin: 0 0.5em;
}

a:hover {
	/* text-decoration: underline; */
	color: blue;
}

a:visited {
	color: rgb(0, 80, 160);
}

.top-menu {
	padding-bottom: 0.2em;
	text-align: center;
	background-color: #67747b;
}

.top-menu ul {
	list-style-type: none;
	margin: 0;
	padding: 0 0.2em 0.4em;
	line-height: 1.5em;
}

.top-menu li {
	display: inline;
	margin-left: 0.5em;
}

.top-menu li:first-child {
	margin-left: 0;
}

.top-menu a {
	text-decoration: none;
	color: white;
	border-bottom: 4px solid #67747b;
}

.top-menu a.active {
	border-bottom-color: #5fa2f3;
}

/* .menu a.active {
	color: red;
} */

label {
	display: block;
}

input,
button,
select,
textarea {
	font-family: inherit;
	font-size: inherit;
	padding: 0.4em;
	margin: 0 0 0.5em 0;
	box-sizing: border-box;
	border: 1px solid #ccc;
	border-radius: 2px;
}

input:disabled {
	color: #ccc;
}

input[type="range"] {
	height: 0;
}

button {
	color: #333;
	background-color: #f4f4f4;
	outline: none;
}

button:disabled {
	color: #999;
}

button:not(:disabled):active {
	background-color: #ddd;
}

button:focus {
	border-color: #666;
}

.red {
	color: red;
}

.error {
	color: red;
}

/* pages */
.page {
	margin-top: 1em;
}

.page label {
	display: inline;
	white-space: nowrap;
}

.page input,
.page button,
.page select {
	padding: 0.2em 0.4em;
	margin: 0.1em;
}

.page input[type="text"] {
	text-align: center;
}

.page button.control {
	width: 2em;
}

.page .filters {
	text-align: center;
}

.page .used {
	border-bottom: 2px solid #00d700;
}

.page .used.error {
	border-bottom: 2px solid #d7001d;
}

.page input:focus-visible,
.page button:focus-visible,
.page select:focus-visible {
	outline: none;
}