@charset "utf-8";

/* ======================================== */
/* Входные */
* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
	text-align: left;
	font-family: sans-serif;
	font-size: inherit;
	font-weight: inherit;
}

/* ======================================== */
/* Скрытие */
.hide {
	display: none;
}

.info * {
	padding: 0 20px;
	overflow-wrap: break-word;
	word-break: break-word;
}

.info_marker {
	color: #ff0000;
	font-size: 20px;
	padding: 0 0 0 5px;
}

/* ======================================== */
/* Структура */
html,
body {
	width: 100%;
	height: 100%;
	display: table;
	outline: none;
}

.main {
	height: 100%;
	display: table-row;
}

/* ---------------------------------------- */
/* LOGIN */
.box_form,
.login {
	width: 100%;
	max-width: 1280px;
	height: 100%;
	margin: 0 auto;
	display: flex;
}

.box_form *,
.login * {
	text-align: left;
}

.box_form form,
.login form {
	width: 100%;
	min-width: 300px;
	max-width: 500px;
	height: 100%;
	min-height: 100vh;
	margin: 0 0 0 auto;
	border-left: 5px solid #7092BF;
	display: flex;
	flex-flow: column nowrap;
	justify-content: flex-start;
	padding: 100px 50px 0 50px;
	font-weight: 700;
	background-color: #ffffff;
}

.box_form form>div,
.login form>div {
	margin: 10px 0;
	width: 100%;
	height: 35px;
	padding: 0 10px;
	display: flex;
	flex-flow: row nowrap;
	justify-content: space-between;
	align-items: stretch;
}

.h1 {
	padding: 5px 10px;
	text-align: left;
	font-size: 25px;
}

#login,
#sur_name,
#fir_name,
#pat_name,
#full_name,
#pass,
#conf_pass,
#see_ps,
#hide_ps {
	border: 3px solid #999999;
	padding: 16px;
}

#login,
#sur_name,
#fir_name,
#pat_name,
#full_name,
#conf_pass {
	width: 100%;
	height: 100%;
}

#pass {
	width: calc(100% - 35px);
	border-right: none;
}

#see_ps,
#hide_ps {
	cursor: pointer;
	width: 35px;
	height: 35px;
	border-left: 1px solid #999999;
	background-position: center;
	background-size: 80%;
	background-repeat: no-repeat;
}

#see_ps {
	background-image: url(/static/img/see_ps.svg);
}

#hide_ps {
	/* display: none; */
	background-image: url(/static/img/hide_ps.svg);
}

#clear_ps {
	margin: 5px;
	font-size: 16px;
	color: #7092BF;
}

button,
#send_lp {
	cursor: pointer;
	background-color: #7092BF;
	color: #ffffff;
	border: none;
}

#login_error {
	height: auto;
	display: flex;
	flex-flow: column nowrap;
	background-color: #ff4444;
	color: #ffffff;
}

#login_error * {
	padding: 10px;
}

#login_error label {
	border-top: 5px solid #ffffff;
}

/* ---------------------------------------- */
/* INTERFACE */
#header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	display: flex;
	flex-flow: row wrap;
	justify-content: space-between;
	align-items: flex-end;
	padding: 0 5px 0 0;
	border-bottom: 5px solid #7092BF;
	background-color: #ffffff;
	z-index: 30;
}

.logotip {
	align-self: self-start;
	flex: 0 0 50px;
	height: 55px;
	background-image: url('/static/favicon.png');
	background-position: center;
	background-size: 100%;
	background-repeat: no-repeat;
}

.head_nav,
.head_buttons {
	flex: 1 1 auto;
	margin: 5px 15px 0 0;
	display: flex;
	flex-flow: row wrap;
}

.head_nav {
	/* margin-left: auto; */
	justify-content: flex-start;
}

.head_buttons {
	justify-content: flex-end;
}

.head_nav *,
.head_buttons *,
.button,
button {
	margin: 2px;
	padding: 5px 10px;
	cursor: pointer;
	background-color: #7092BF;
	color: #ffffff;
	text-decoration: none;
	font-size: 14px;
	font-weight: 700;
	user-select: none;
}

#delete_row {
	background-color: #ff3333;
}

.filter_row * {
	margin: 2px;
	padding: 2px 10px;
	font-size: 14px;
	font-weight: 700;
}

.button {
	line-height: 21px;
	margin: auto 0;
}

/* ---------------------------------------- */
/* INSIDE */
.inside {
	height: 100%;
	display: flex;
	flex-flow: row nowrap;
	align-items: stretch;
}

.nav {
	flex: 0 0 130px;
	align-self: flex-start;
	margin: 0 10px;
	height: calc(100vh - 150px);
	background-color: #ffffff;
	/* position: sticky;
	top: 60px;
	*/
	z-index: 10;
	display: flex;
	flex-flow: column nowrap;
	justify-content: space-between;
}

.nav_all {
	text-align: left;
	margin: 10px;
}

.nav_link {
	/* margin: 10px 0; */
	color: #444444;
	line-height: 25px;
	font-size: 16px;
	font-weight: 700;
}

/* ---------------------------------------- */
/* CONTENT */

.content {
	flex: 1 1 auto;
	box-shadow: 0 -5px 10px #000000;
	/* padding: 0 15px; */
	z-index: 20;
}

.page_name {
	min-height: 13px;
	margin: 0 0 10px 0;
}

.page_cont {
	width: 100%;
	padding: 10px;
	box-shadow: 5px 0 10px #000000;
}

.list_cont {
	width: 100%;
	display: flex;
	flex-flow: column nowrap;
}

.list_cont>a {
	margin: 0 10px;
	border-bottom: 2px solid #444444;
	padding: 5px 10px;
	color: #444444;
	text-decoration: none;
	line-height: 25px;
	font-size: 16px;
	font-weight: 700;
}

.list_cont>a:hover {
	background-color: #7092BF44;
}

/* ---------------------------------------- */
/* USERS */
.content .list_users {
	min-width: 100%;
	border-collapse: collapse;
}

.content .list_users div {
	padding: 10px;
	text-align: left;
	font-weight: 700;
}

.content .list_users p {
	max-width: 700px;
	min-width: 100%;
	padding: 0 10px;
	border-left: 3px solid #999999;
	text-align: left;
	cursor: pointer;
	display: flex;
	align-items: stretch;
}

.content .list_users p span {
	margin: 0 10px;
}

.content .list_users th:first-of-type p,
.content .list_users td:first-of-type p {
	border-left: none;
}

caption,
.content .list_users th,
.content .list_users td {
	padding: 10px 0;
	border-bottom: 3px solid #999999;
}

.the_admin,
.the_creator {
	/* color: #ff0000; */
	font-size: 20px;
	/* font-weight: 700; */
}

#delete_form {
	display: none;
}

/* ---------------------------------------- */
/* USER_ADD */
.fixed_form {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	overflow-y: auto;
	z-index: 40;
	background-color: #44444444;
}

.fixed_form::-webkit-scrollbar {
	width: 0;
}

.box_form {
	height: auto;
	/* min-height: 100%; */
}

.fixed_form form {
	padding: 25px 50px 0 50px;
	font-size: 14px;
}

#red_cirilic,
#red_login,
#red_pass {
	height: auto;
	display: flex;
	flex-flow: column nowrap;
	background-color: #ff4444;
	color: #ffffff;
}

#red_cirilic *,
#red_login *,
#red_pass * {
	padding: 5px;
}

/* ---------------------------------------- */
/* TABLE_USE */
.table_use {
	border-spacing: 0;
	outline: none;
}

.page_name {
	padding: 10px;
	text-align: left;
	font-size: 22px;
}

.table_use td {
	border: 1px solid #777777;
	border: 1px solid #44444499;
	vertical-align: top;
}

[row] div {
	text-align: center;
	padding: 2px 5px;
}

.table_use p {
	min-height: 18px;
	height: 102px;
	word-break: break-word;
	padding: 2px 5px;
	overflow-y: auto;
}

[row] td {
	vertical-align: top;
}


.table_use div {
	text-align: center;
}

.table_use .pn * {
	text-align: right;
}

.num p,
.math p,
.summ p {
	text-align: right;
}

.date p {
	text-align: center;
}

/* ======================================== */
#filtr_row,
#col_conf {
	position: sticky;
	color: #ffffff;
	z-index: 25;
}

#filtr_row td {
	background-color: #dddddd;
	vertical-align: baseline;
}

#filtr_row .pn {
	text-align: right;
}

#filtr_row td input {
	margin: 1px;
	width: calc(100% - 22px);
	padding-left: 5px;
}

#filtr_row td div {
	display: inline-block;
	width: 20px;
	height: 12px;
	font-size: 12px;
	background-image: url(/static/img/cross.svg);
	background-position: center;
	background-size: 55%;
	background-repeat: no-repeat;
}

#filtr_row td div:hover {
	cursor: pointer;
}

#col_conf td {
	background-color: #7092BF;
	padding: 0 5px 0 0;
}

#col_conf div {
	padding: 0 5px;
	display: flex;
	flex-flow: row nowrap;
}

#col_conf label {
	flex: 1 1 auto;
	text-align: center;
}

#col_conf input {
	flex: 0 1 0;
	outline: 1px solid #444444;
}

#col_conf input:focus {
	outline: 1px solid #444444;
}









/* ======================================== */

#head_row {
	position: sticky;
	z-index: 25;
}

#head_row td {
	background-color: #aaaaaa;
	padding: 2px 5px;
}

.fix_box {
	position: sticky;
	background-color: #D9E2EE;
	border-right: 2px solid #44444499;
}

#itog_row {
	position: sticky;
	z-index: 25;
}

#itog_row td {
	padding: 2px 5px;
	text-align: right;
	background-color: #dddddd;
}

#itog_row .org {
	font-weight: 700;
}

[row] textarea,
[row] select,
[row] input {
	/* margin: 0 4px; */
	/* width: calc(100% - 8px); */
	width: 100%;
	height: 100%;
	outline: 1px solid #aaaaaa;
	padding: 2px;
}
































/* ---------------------------------------- */
/* FOOTER */
.footer {
	position: sticky;
	left: 0;
	/* bottom: 0; */
	width: 100vw;
	/* height: 450px; */
	padding: 13px;
	background-color: #7092BF;
	color: #ffffff;
	z-index: 30;
}