@charset "utf-8";

/* ================================================================================ */
/* Условия */
/* Ширина 920px */
/* @media(max-width: 920px) {
	.content table .actions .btms_action {
		max-width: 35px;
	}

} */

/* Ширина 700px */
@media(min-width: 701px) {
	.header .btm_menu {
		display: none !important;
	}
}

@media(max-width: 700px) {
	.header .nav {
		flex: 0 0 auto !important;
		max-height: calc(100% - 55px) !important;
	}

	.content .nav {
		position: fixed !important;
		z-index: 999;
		width: 100%;
		min-height: calc(100% - 45px);
		overflow-y: auto;
		left: -100%;
	}

	.content .aside {
		padding: 0 !important;
	}
}

/* Ширина 550px */
@media(max-width: 550px) {
	.header .logo {
		display: none;
	}

	.content table .number {
		position: initial !important;
	}
}

/* ================================================================================ */
/* Общие */
* {
	margin: 0;
	max-width: 100%;
	padding: 0;
	z-index: auto;
	box-sizing: border-box;
	text-align: left;
	font-family: sans-serif;
}

.hide,
.exapmle {
	display: none !important;
}

script {
	display: none !important;
}

/* ================================================================================ */
/* Построение сетки */
html,
body {
	height: 100%;
}

.wrapper {
	display: flex;
	flex-flow: column nowrap;
	min-height: 100%;
}

.content {
	flex: 1 0 auto;
}

.footer {
	flex: 0 0 auto;
}

.center {
	margin: auto;
	width: 100%;
	max-width: 1450px;
}

/* ================================================================================ */
/* CENTER */
.center {
	min-width: 345px;
	min-height: 100%;
	display: flex;
	flex-flow: row nowrap;
	justify-content: space-between;
}

.nav {
	flex: 0 0 245px;
}

.aside {
	min-width: 0;
	flex: 1 1 0;
}

/* ================================================================================ */
/* HEADER */
.header {
	position: sticky;
	top: 0;
	z-index: 999;
}

.header .center>div {
	align-items: stretch;
	display: flex;
}

.header .nav {
	flex-flow: row nowrap;
	justify-content: flex-start;
}

.header .btm_menu {
	display: flex;
	width: 55px;
	height: 55px;
}

.header .btm_menu div {
	width: 100%;
	height: 100%;
	background-position: center;
	background-repeat: no-repeat;
	background-size: 40%;
}

.header .btm_menu .hide_menu {
	width: 0;
}

.header .nav a>div {
	width: 145px;
	height: 55px;
	background-position: center;
	background-repeat: no-repeat;
	background-size: contain;
}

.header .fio_usr {
	padding: 7px;
	flex-flow: column nowrap;
	justify-content: space-between;
}

.header .btm_exit {
	min-width: 55px;
	height: 55px;
	background-position: center;
	background-repeat: no-repeat;
	background-size: 40%;
}

/* ================================================================================ */
/* NAV */
.content .nav {
	align-self: flex-start;
	position: sticky;
	top: 45px;
	z-index: 899;
	margin-right: 10px;
	padding-top: 10px;
	height: 100%;
	max-height: calc(100vh - 145px);
	overflow-y: auto;
}

.content .nav a {
	display: block;
	margin: 8px 16px;
	height: 31px;
	max-width: 245px;
	text-decoration: none;
}

.content .nav a p {
	padding: 0 8px;
	line-height: 31px;
	border-radius: 5px;
}

/* ================================================================================ */
/* FOOTER */
.footer {
	min-height: 90px;
}

/* ================================================================================ */
/* ASIDE */
.center * {
	max-width: 100%;

	/* overflow-x: auto; */
	/* word-break: break-all; */
	/* overflow-wrap: break-word; */
}

.content .aside {
	padding: 8px;
}

.content .box {
	max-width: 100%;
	padding-bottom: 28px;
}

.content .bx_head {
	position: sticky;
	top: 55px;
	z-index: 799;
	display: flex;
	justify-content: space-between;
	flex-flow: row wrap;
	border-radius: 5px;
	padding: 0 16px;
}

.content .bx_head>div {
	min-width: 220px;
	text-align: right;
	line-height: 31px;
	margin-left: auto;
}

.content .bx_head .h2 {
	text-align: left;
	margin-left: 0;
	margin-right: auto;
	font-size: 22px;
	font-weight: 700;
}

.content .glob_btms>span {
	margin: 5px;
	border-radius: 5px;
	padding: 5px;
	cursor: pointer;
	user-select: none;
}

.wrapper .bx_add {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 1099;
}

.content .inf_load {
	display: none;
	width: 100%;
	height: 25px;
	background-position: center;
	background-repeat: no-repeat;
	background-size: 40px;
}

/* ================================================================================ */
/* Tables */
.content .tbl_scroll {
	width: 100%;
	overflow-x: auto;
	border-radius: 5px;
}

.content table {
	width: 100%;
	border-spacing: 0;
	border: none;
}

.content table th,
.content table td {
	padding: 5px;
	vertical-align: top;
	text-align: right;
}

/* Удаление границ */
.content table tr:first-child th,
.content table tr:first-child td {
	border-top: none;
}

.content table tr th:last-child,
.content table tr td:last-child {
	border-right: none;
}

.content table tr:last-child th,
.content table tr:last-child td {
	border-bottom: none;
}

.content table tr th:first-child,
.content table tr td:first-child {
	border-left: none;
}

/* Выставление столбцов таблицы */
.content table .usr_login {
	min-width: 150px;
}

.content table .usr_password {
	min-width: 140px;
}

.content table .usr_fio {
	min-width: 145px;
}

.content table .usr_phone {
	min-width: 170px;
}

.content table .usr_mail {
	min-width: 220px;
}

.content table .usr_status {
	min-width: 170px;
}

.content table .usr_permiss {
	min-width: 260px;
}

.content table .usr_gpuser {
	min-width: 235px;
}

/* Выделение блоков в таблице */
.content table td>div {
	display: flex;
	justify-content: space-between;
}

.content table .number {
	position: sticky;
	left: 0;
	z-index: 599;
	min-width: 25px;
}

.content table input,
.content table select,
.content table textarea,
.content table td:not(.actions)>div {
	margin: 1px;
	padding: 2px;
	border-radius: 5px;
	background-position: center;
	background-repeat: no-repeat;
	background-size: 80%;
}

.content table .usr_permiss>div {
	display: flex;
	justify-content: flex-end;
}

.content table .usr_permiss>div>div {
	display: flex;
	flex-flow: column nowrap;
	justify-content: flex-end;
}

.content table .usr_permiss>div>div:first-child {
	margin-right: auto;
}

.content table .usr_permiss>div>div:last-child {
	justify-content: flex-start;
}

.content table .usr_permiss>div>div:first-child>p:first-child {
	font-weight: 700;
}

.content table td:not(.actions)>div>div {
	margin: 4px;
}

.content table tr th:last-child,
.content table .actions {
	position: sticky;
	right: 0;
	width: 0;
}

.content table .actions>div {
	flex-flow: row wrap;
	justify-content: flex-end;
	width: 35px;
	min-width: 100%;
}

.content table input,
.content table select,
.content table textarea,
.content table p {
	width: 100%;
	line-height: 20px;
	resize: none;
	font-size: inherit;
}

.content table input[type='checkbox'] {
	height: 85%;
}

.content table select {
	background-position: center;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
}

.content table .btms_conf {
	margin: 0 !important;
	min-width: 20px;
}

.content table .btms_conf p {
	display: none;
	width: 100%;
	height: 20px;
	cursor: pointer;
}

.content table .actions .btms_action {
	width: 35px;
	/* width: 70px; */
}

.content table .actions p {
	display: flex;
	justify-content: space-between;
	flex-flow: column nowrap;
	width: 31px;
	height: 31px;
	margin: 2px;
}

.content table .tr_plus,
.content table .btms_conf p,
.content table .actions p {
	border-radius: 5px;
	background-position: center;
	background-repeat: no-repeat;
	background-size: auto 80%;
	cursor: pointer;
}

.content table .tr_plus {
	display: none;
	background-position: center;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
}

.content table option {
	font-weight: 700;
}

.content table .none .tr_trash {
	display: none;
}

.content table .actions .tr_trash {
	margin-top: 25px;
}

/* ================================================================================ */
/* Users */