a,div,b{user-select: none; outline:none;}
.main_top {
	position: sticky;
	top: 0px;
	display: flex;
	flex-wrap: wrap;
	align-content: center;
	align-items: center;
	justify-content: flex-end;
	background-color: #FFF;
	box-shadow: 0px 3px 12px rgba(105, 130, 166, 0.12), 0px 0px 2px rgba(47, 58, 74, 0.02);
	background-image: url(https://true-dev.ru/inc/logo_forma.png);
	background-size: 10em 50%;
	background-repeat: no-repeat;
	background-position: 0.5em 50%;
	max-height: 70px;
	height: 70px;
	min-height: 70px;
	overflow: hidden;
	padding-left: 10em;
	padding-right: 1em;
	z-index: 999;
}
.main_top_menu_item:hover {
	background: rgba(0, 0, 0, 0.05) !important;
	border-radius: 12px !important;
	padding-top: 10px !important;
	padding-bottom: 10px !important;
}

.main_top_menu_item {
	display: inline-flex;
	flex-direction: row;
	justify-content: center;
	background: transparent;
	border-radius: 0.5em;
	position: static;
	font-family: Open Sans;
	font-style: normal;
	align-items: center;
	border: none;
	outline: none;
	cursor: pointer !important;
	text-decoration: none;
	color: #000000;
	font-size: 16px;
	line-height: 22px;
	padding: 16px;
}

.auth_but {
	background: rgba(0, 0, 0, 0.05) !important;
	border-radius: 12px !important;
	padding: 10px 24px !important;
}


body {
	padding: 0px;
	margin: 0px;
	background: #F3F5F7;
	font-family: Montserrat;
	color: #000000;
}

.first_page {
	padding: 0px;
	margin: 0px;
	background: #F3F5F7;
	display: flex;
	flex-wrap: wrap;
	align-content: center;
	align-items: center;
	justify-content: center;
	width: 100vw;
	height: calc(100vh - 70px);
	position: fixed;
	z-index: 0;
	top: 0;
	left: 0;
}

.second_page {
	padding: 0px;
	margin: 0px;
	background: radial-gradient(100% 226.39% at 0% 100%, #BCE4AD 0%, #DEF2D6 100%);
	display: flex;
	flex-wrap: wrap;
	align-content: space-around;
	align-items: center;
	justify-content: center;
	width: 100vw;
	height: calc(100vh - 70px);
	position: fixed;
	z-index: 0;
	top: 70px;
	left: 0;
}

.first_page div {
	display: flex;
	width: 100%;
	align-content: center;
	align-items: center;
	justify-content: center;
	margin: 0;
	padding: 0;
	
}
.middle_caption,.middle_body,.middle_desc,.middle_button {
	margin-top: 16px !important;
	margin-bottom: 16px !important;
}

.middle_caption{
font-family: Montserrat;
font-style: normal;
font-weight: 600;
font-size: 48px;
line-height: 64px;
color: #161616;	
}
.middle_desc {
	font-family: Open Sans;
	font-style: normal;
	font-weight: normal;
	font-size: 16px;
	line-height: 24px;
	text-align: center;
	color: #81888C;
	flex-direction: column;
	max-width: 450px;
}
.middle_button_link {
	justify-content: center;
	width: 172px;
	background: #79BE70;
	box-shadow: 0px 16px 10px -10px rgba(121, 190, 112, 0.2);
	border-radius: 16px;
	height: 72px;
	font-size: 16px;
	line-height: 24px;
	display: flex;
	align-items: center;
	text-align: center;
	color: #FFFFFF;
}

.slider {
	overflow: hidden;
	z-index: 99999;
	height: 50px !important;
}

.slide {
	 /* transition: 0.4s linear;*/
	font-family: Montserrat;
	font-style: normal;
	font-weight: 600;
	font-size: 48px;
	line-height: 64px;
	display: flex;
	align-items: center;
	text-align: center;
	color: #81888C;
}

.small{
	transition: 0.4s linear;
	transform: scale(0.2);
}

.mobile_sandwich_but{
	display: none;
}



.logo_link {
	background: transparent;
	height: 70px;
	width: 12em;
	position: fixed;
	left: 0;
	top: 0;
	z-index: 9999;
}


@media (max-width: 1024px) {
	.main_top_menu_item {
	display: inline-flex;
	flex-direction: row;
	justify-content: center;
	background: transparent;
	border-radius: 0.5em;
	position: static;
	font-family: Open Sans;
	font-style: normal;
	align-items: center;
	border: none;
	outline: none;
	cursor: pointer !important;
	text-decoration: none;
	color: #000000;
	line-height: 22px;
	font-size: 0.8em !important;
	width: calc((100% - 10em) / 7 - 32px);
	white-space: pre;
	flex-wrap: nowrap !important;	
	padding-left: 16px;
	padding-right: 16px;
	}
}


@media (max-width: 930px) {
	.main_top_menu_item:hover {
	padding-top: unset !important;
	padding-bottom: unset !important;
	}
	.main_top_menu_item {
	/*display: none;*/
	width: unset !important;
	padding-top: unset !important;
	padding-bottom: unset !important;
	}
	.main_top{
	background-size: 5em 25%;
	background-position: 0.5em 20%;
	padding-left: 5em;
	}
	
	.logo_link{
	width: 6em;
	}
}

@media (max-width: 450px) {
	.logo_link{
	width: 65%;
	}

.mobile_sandwich_but {
	width: calc(100%);
	position: relative;
	transition: 0.3s ease;
	display: flex;
	height: 70px;
	background-image: url(https://true-dev.ru/inc/mobile_sandwich_but.png);
	background-size: auto 70%;
	background-repeat: no-repeat;
	background-position: calc(100% - 0.5em) 50%;
}
.mobile_sandwich_but_active {
	background-image: url(https://true-dev.ru/inc/mobile_sandwich_but_active.png?v=123123) !important;
	background-size: auto 70% !important;
	background-repeat: no-repeat;
	background-position: calc(100% - 0.5em) 50%;
}

.main_top_menu_item {
	display: none;
	width: calc(100% - 32px) !important;
	position: relative;
	z-index: 999;
	justify-content: end;
	text-align: right;
	transition: 0.3s ease;
	margin-bottom: 0.25em !important;
	margin-top: 0.25em !important;
	font-size: 1.5em !important;
	padding-top: 0.25em !important;
	padding-bottom: 0.25em !important;
}
.main_top_menu_item:hover{
	padding-top: 0.25em !important;
	padding-bottom: 0.25em !important;
	border-radius: 0 !important;
}
.main_top {
	background-size: 60% auto;
	background-position: 0.5em 0.5em !important;
	padding: unset !important;
	height: unset !important;
	flex-wrap: wrap;
	max-height: unset !important;
	text-align: right;
	transition: 0.3s ease;
}
.maint_top_mobile_active {
	background-position: 0.5em 0.5em !important;
	position: fixed;
	height: 100vh !important;
	align-content: flex-start;
}	
	.middle_caption{
	font-size: 30px;
	}
	.slide{
	font-size: 30px;
	}
	.slider {
	height: 70px !important;
	}
	
	h2.article_category_main_feautures_caption{
	padding-left: 1em !important;
	}
}


/*********************	SECOND_PAGE	************************/
.second_page_caption {
	font-family: Montserrat;
	font-style: normal;
	font-weight: 600;
	font-size: 48px;
	line-height: 64px;
	display: flex;
	text-align: center;
	color: #161616;
	width: 100%;
	align-content: center;
	align-items: center;
	justify-content: center;
}
.second_page_bottom_button {
	justify-content: center;
	width: 172px;
	border-radius: 16px;
	height: 72px;
	font-size: 16px;
	line-height: 24px;
	display: flex;
	align-items: center;
	text-align: center;
	background: rgba(22, 22, 22, 0.1);
	color: #161616;
}
.second_page_bottom_button_block {
	display: flex;
	width: calc(100% - 4em);
	align-content: center;
	align-items: center;
	justify-content: end;
	padding-right: 4em !important;
}


.second_page_animation_block {
	display: flex;
	flex-direction: row;
	align-content: center;
	align-items: center;
	justify-content: start;
}

.second_pade_slide_icon {
	background-image: url(https://true-dev.ru/inc/keis.svg);
	background-repeat: no-repeat;
	background-size: auto 100%;
	background-position: 0% 50%;
	width: 100%;
	height: 48px;
}

.second_pade_slide_caption {
	font-family: Open Sans;
	font-style: normal;
	font-weight: 600;
	font-size: 16px;
	line-height: 22px;
	color: #161616;
	display: flex;
	width: 100%;
	align-content: center;
	align-items: center;
	justify-content: start;
	text-align: left;
}

.second_page_slide {
	max-height: 50vh;
	display: flex;
	flex-wrap: wrap;
	align-content: space-around;
	min-height: 240px;
	max-width: 400px;
}
.second_page_slide + .second_page_slide {
	margin-left: 80px;
}

/*************** START ARTICLE ******************************/

.article_category_main {
	display: flex;
	flex-wrap: wrap;
	align-content: center;
	justify-content: center;
	align-items: center;
	justify-items: center;
	padding-top: 1em;
}

.article_category_unit {
	display: flex;
	flex-wrap: wrap;
	align-content: center;
	justify-content: center;
	align-items: center;
	justify-items: center;
	width: 100%;
padding: 0;
margin: 0;
	margin-top: 0.25em;
margin-bottom: 0.25em;

}
.article_category_unit_name {
	display: flex;
	justify-content: flex-start;
	margin: 0;
	border: none !important;
	outline: none !important;
	width: calc(100% - 1em);
/*	padding-left: 1em;*/
}
.article_category_unit_name_link {
	display: inline-flex;
	flex-direction: row;
	justify-content: center;
	padding: 0.5em 1.4em;
	background: #79BE70;
	box-shadow: 0px 16px 10px -10px rgba(121, 190, 112, 0.2);
	border-radius: 0.5em;
	position: static;
	font-family: Open Sans;
	font-style: normal;
	font-weight: 600;
	line-height: 24px;
	align-items: center;
	color: #FFFFFF;
	order: 0;
	flex-grow: 0;
	margin: 0px 8px;
	font-size: 1em;
	border: none !important;
	outline: none !important;
	cursor: pointer !important;
	text-decoration: none !important;
	width: calc(100% - 6em);
	z-index: 9;
}
.article_category_unit_description {
	width: calc(100% - 2em);
	display: flex;
	flex-wrap: wrap;
	border: 1px solid gray;
	border-radius: 0.3em;
	padding: 0.5em;
	margin-bottom: 1.5em;
	background-color: #f7f7f7;
	padding-top: 2em;
	margin-top: -3em;
	justify-content: flex-end;
}



.readmore_cat_active {
	background-image: url(https://true-dev.ru/inc/arrow_up.svg) !important;
	background-color: #e6e6e6 !important;
}
.readmore_cat {
	background-color: #F3F5F7;
	border: 1px solid #DFE3E6;
	box-sizing: border-box;
	border-radius: 0.5em;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	padding: 0.4em 2.4em 0.4em 0.4em;
	font-family: Open Sans;
	font-style: normal;
	font-weight: 600;
	line-height: 24px;
	background-image: url(https://true-dev.ru/inc/arrow_down.svg);
	background-size: 1em;
	background-repeat: no-repeat;
	background-position: calc(100% - 1em) 50%;
	outline: none;
	cursor: pointer;
	height: 2em;
	width: 2em;
	z-index:9;
}
.article_category_unit_description_readmore{
	display: none;
	font-size: 0.8em;
	width: calc(100% - 4em - 2px);
	border: 1px solid gray;
	border-radius: 0.3em;
	padding: 0.5em;
	margin-bottom: 1.5em;
	background-color: #f7f7f7;
	padding-top: 2.5em;
	margin-top: -2em;
	margin-left: 3em;
	margin-right: 1em;
}

.article_category_unit_description_subcat {
	width: calc(100% - 2em);
	display: flex;
	flex-wrap: wrap;
	border: 1px solid gray;
	border-radius: 0.3em;
	padding: 0.5em;
	background-color: #f7f7f7;
	margin-top: 1em;
	justify-content: flex-end;
}

.article_category_main_feautures {
	width: 100%;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
}
.article_category_main_feautures_caption {
	display: flex;
	width: calc(100% - 2em);
	font-size: 1.2em;
	font-weight: bold;
	text-align: center;
	justify-content: flex-start;
	padding-left: 1em;
	padding-right: 1em;
}

.article_category_path {
	width: 100%;
	display: flex;
	align-content: center;
	color: gray;
	outline: none;
	text-decoration: none;
	font-size: 0.8em;
	margin-bottom: 1em;
	flex-wrap: wrap;
	text-align: left;
	justify-content: flex-start;
}

.article_category_path_link,.cat_defer {
	display: inline-flex;
	padding-left: 0.5em;
	padding-right: 0.5em;
	color: gray;
	outline: none;
	text-decoration: none;
	text-align: left;
	height: 1.2em;
	line-height: 1.2em;
	align-content: center;
	justify-content: center;
	align-items: center;
	margin-bottom: 0.5em;
}
.article_category_path_link:last-child {
	font-weight: bold;
}

.article_unit_block_caption::before {
	content: '✔';
	margin-right: 0.5em;
}

.article_unit_block_caption {
	display: inline-flex;
	font-size: 1.0em;
	font-weight: bold;
	text-align: left;
	justify-content: flex-start;
	color: #2c00ff;
	outline: none;
	text-decoration: none;
}

.article_unit_block {
	width: calc(100% - 2em);
	display: flex;
	padding-left: 1em;
	padding-right: 1em;
}

.article_block {
	padding: 0.5em;
}

h2.article_category_main_feautures_caption {
	font-size: 1em;
	color: gray;
	padding-left: 3em;
	width: calc(100% - 4em) !important;
}
/*************** END ARTICLE ******************************/


/*************** START AUTH ******************************/



.lk_body_main {
	display: flex;
	flex-wrap: wrap;
	align-content: start;
	align-items: start;
	justify-content: space-between;
	width: 100%;
	padding: 0;
	margin: 0;
}

.lk_body_header {
	display: flex;
	flex-wrap: wrap;
	align-content: center;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	padding: 0;
	margin: 0;
	margin-bottom: 2em;
}
.lk_body_content {
	display: flex;
	flex-wrap: wrap;
	align-content: start;
	align-items: start;
	justify-content: center;
	width: calc(100% - 16em);
	padding: 0;
	margin: 0;
	overflow-x: hidden;
	margin-right: 2em;
	margin-top: 15px;
}
.lk_body_menu {
	display: flex;
	flex-wrap: wrap;
	align-content: start;
	align-items: start;
	justify-content: center;
	max-width: 20%;
	padding: 0;
	margin: 0;
	width: min-content;
	min-width: 14em;
	position: sticky;
	top: 85px;
	margin-top: 15px;
}

.lk_body_header div {
	display: flex;
	flex-wrap: wrap;
	align-content: center;
	align-items: center;
	justify-content: center;
	width: 30%;
	padding: 0;
	margin: 0;
	height: 80px;
}
.lk_body_header_logo_img {
max-height: calc(100% - 1em);
}
.lk_body_header_logo {
}
.lk_body_menu_link {
	display: flex;
	flex-direction: row;
	justify-content: center;
	padding: 0.5em 0.5em;
	background: #79BE70;
	box-shadow: 0px 16px 10px -10px rgba(121, 190, 112, 0.2);
	border-radius: 0.5em;
	font-family: Open Sans;
	font-style: normal;
	font-weight: 600;
	line-height: 24px;
	align-items: center;
	color: #FFFFFF;
	order: 0;
	flex-grow: 0;
	margin: 3px 8px;
	border: none !important;
	outline: none !important;
	cursor: pointer !important;
	text-decoration: none !important;
	width: calc(100% - 4em);
	z-index: 9;
	font-size: 14px;
	max-width: 12em;
}
.lk_body_menu_link:hover {
	background: rgba(0, 0, 0, 0.05) !important;
	color: black;
}

.lk_body_header_user_name {
	user-select: none;
	text-align: center;
	background-image: url(https://mily-dom.ru/ejus/chz_api/inc/icon_user.png);
	background-size: auto 1.5em;
	background-repeat: no-repeat;
	background-position: 0.5em 50%;
	padding-left: 3em !important;
	width: min-content !important;
	white-space: nowrap;
	padding-right: 2em !important;
}


.active_lk_link {
	background-color: rgb(228, 228, 228) !important;
	color: black;
}

.lk_body_content_caption {
	display: flex;
	justify-content: center;
	align-content: center;
	width: 100%;
	font-size: 1.2em;
	font-weight: bold;
	margin-bottom: 1em;
	color: gray;
}

.lk_body_content_body {
	display: flex;
	justify-content: start;
	align-content: start;
	width: 100%;
	font-size: 14px;
	align-items: start;
	flex-wrap: wrap;
	padding-bottom: 10em;
}

.my_template_container {
	display: flex;
	justify-content: center;
	align-content: space-between;
	width: 150px;
	font-size: 14px;
	align-items: start;
	flex-wrap: wrap;
	font-family: Open Sans;
	font-style: normal;
	line-height: 24px;
	border-radius: 0.5em;
	padding: 0.5em;
	border: 1px solid gray;
	margin: 0.5em;
	background-color: white;
	cursor: pointer;
	height: 100px;
}
.my_template_container:hover {
	background: rgba(0, 0, 0, 0.05) !important;
}


.my_template_container:hover::before {
	content: 'Вы можете перетаскивать Шаблоны из одной папки в другую';
	position: absolute;
	padding: 0.5em;
	background: #f9ffd3;
	box-shadow: 0px 3px 12px rgba(92, 93, 94, 0.12), 0px 0px 2px rgba(47, 58, 74, 0.02);
	margin-top: -4em;
	border-radius: 0.3em;
	z-index: 999;
}
.my_template_container:hover > .my_template_but, .my_template_container:hover > .my_template_but_middle {
	visibility: visible;
}

.my_pack_container {
	display: flex;
	justify-content: center;
	align-content: space-between;
	width: 150px;
	font-size: 14px;
	align-items: start;
	flex-wrap: wrap;
	font-family: Open Sans;
	font-style: normal;
	line-height: 24px;
	border-radius: 0.5em;
	padding: 0.5em;
	border: 1px solid gray;
	margin: 0.5em;
	background-color: white;
	cursor: pointer;
	height: 100px;
}
.my_pack_container:hover {
	background: rgba(0, 0, 0, 0.05) !important;
}


.my_pack_container:hover::before {
/*	content: 'Вы можете перетаскивать Шаблоны из одной папки в другую';
	position: absolute;
	padding: 0.5em;
	background: #f9ffd3;
	box-shadow: 0px 3px 12px rgba(92, 93, 94, 0.12), 0px 0px 2px rgba(47, 58, 74, 0.02);
	margin-top: -4em;
	border-radius: 0.3em;
	z-index: 999;
	*/
}
.my_pack_container:hover > .my_template_but, .my_pack_container:hover > .my_template_but_middle {
	visibility: visible;
}

.my_template_caption {
	display: flex;
	justify-content: start;
	align-content: start;
	width: 100%;
	align-items: start;
	flex-wrap: wrap;
}
.my_template_desc {
	color: gray;
	font-size: 12px;
}

/* .my_template_section {
	display: flex;
	justify-content: start;
	align-content: start;
	width: 100%;
	align-items: start;
	flex-wrap: wrap;
	border-radius: 0.5em;
	padding: 0.5em;
} */

.my_template_section {
    display: flex;
    justify-content: start;
    width: 200px;
    font-size: 14px;
    align-items: start;
    flex-wrap: wrap;
    font-family: Open Sans;
    font-style: normal;
    line-height: 24px;
    border-radius: 0.5em;
    padding: 0.5em;
    border: 1px solid gray;
    margin: 0.5em;
    background-color: #f7f7f7;
    cursor: pointer;
    min-height: 100px;
}
.active_pack_parent {
    width: calc(100% - 1em - 2px);
}

.my_template_section_caption {
	display: flex;
	justify-content: start;
	align-content: start;
	width: 100%;
	align-items: start;
	flex-wrap: wrap;
	font-size: 18px;
	background-image: url(https://true-dev.ru/inc/arrow_down.svg);
	background-size: 1em;
	background-repeat: no-repeat;
	background-position: 0.25em 0.25em;
	margin-bottom: 1em;
	padding-left: 2em;
	cursor: pointer;
}
.my_template_section_caption_active {
	background-image: url(https://true-dev.ru/inc/arrow_up.svg) !important;
	font-weight: bold;
}
.my_template_menu_search_results_container {
    display: flex;
    flex-wrap: wrap;
    align-content: start;
    align-items: start;
    justify-content: start;
    width: 100%;
    border-style: dashed;
    border-width: 1px !important;
    border-color: gray !important;
    border-radius: 0.5em;
}
.my_template_menu_search_results_container:empty {
    border-color: transparent !important;
}
[data-folder_id="0"] .edit_but:hover::after {
    content: 'Невозможно редактировать шаблон без папки';
}
.my_template_menu_search_container {
	display: flex;
	flex-wrap: wrap;
	align-content: center;
	align-items: center;
	justify-content: space-between;
	max-width: 300px;
}
.my_template_menu_search_inp {
	display: flex;
	flex-wrap: wrap;
	align-content: center;
	align-items: center;
	justify-content: space-between;
	height: 24px;
	box-shadow: 0px 16px 10px -10px rgba(121, 190, 112, 0.2);
	border-radius: 0.5em;
	font-family: Open Sans;
	font-style: normal;
	font-weight: 600;
	line-height: 24px;
	border: 1px solid gray;
	padding: 0.5em 0.5em;
	outline: none;
	background-image: url(inc/search_icon.png);
	background-size: 24px;
	background-repeat: no-repeat;
	background-position: calc(100% - 3px) 50%;
}
.my_template_menu {
	display: flex;
	flex-wrap: wrap;
	align-content: center;
	align-items: center;
	justify-content: start;
	width: 100%;
	padding: 0;
	margin-bottom: 2em;
}
.my_template_menu_link {
	display: flex;
	flex-direction: row;
	justify-content: center;
	padding: 0.5em 0.5em;
	background: #79BE70;
	box-shadow: 0px 16px 10px -10px rgba(121, 190, 112, 0.2);
	border-radius: 0.5em;
	font-family: Open Sans;
	font-style: normal;
	font-weight: 600;
	line-height: 24px;
	align-items: center;
	color: #FFFFFF;
	order: 0;
	flex-grow: 0;
	margin: 3px 8px;
	border: none !important;
	outline: none !important;
	cursor: pointer !important;
	text-decoration: none !important;
	z-index: 9;
	font-size: 14px;
}
.my_template_menu_link:hover {
	background: rgba(0, 0, 0, 0.05) !important;
	color: black;
}

.create_new_template_container {
	border-style: dashed;
	border-width: 1px !important;
	border-color: gray !important;
	display: flex;
	justify-content: center !important;
	align-content: center !important;
	align-items: center !important;
	text-align: center;
	color: gray;
}
.new_template {
	background-color: #f1ffe3;
}



.create_new_template_container:hover::before {
	content: 'Нажмите чтобы создать новый шаблон';
	position: relative;
	padding: 0.5em;
	background: #f9ffd3;
	box-shadow: 0px 3px 12px rgba(92, 93, 94, 0.12), 0px 0px 2px rgba(47, 58, 74, 0.02);
	margin-top: -12em;
	border-radius: 0.3em;
	z-index: 999;
}

.create_new_pack_container {
	border-style: dashed;
	border-width: 1px !important;
	border-color: gray !important;
	display: flex;
	justify-content: center !important;
	align-content: center !important;
	align-items: center !important;
	text-align: center;
	color: gray;
}
.new_template {
	background-color: #f1ffe3;
}
.create_new_pack_container:hover::before {
	content: 'Нажмите чтобы создать пакет документов';
	position: relative;
	padding: 0.5em;
	background: #f9ffd3;
	box-shadow: 0px 3px 12px rgba(92, 93, 94, 0.12), 0px 0px 2px rgba(47, 58, 74, 0.02);
	margin-top: -12em;
	border-radius: 0.3em;
	z-index: 999;
}


.template_is:hover::after {
	content: 'Редактировать';
	background: #79be70;
	position: absolute;
	margin-top: calc(71px - 0.5em);
	height: 30px;
	display: flex;
	align-content: center;
	justify-content: center;
	width: 152px;
	border-radius: 0 0 0.3em 0.3em;
	align-items: center;
	padding: 0.5em;
}


.my_template_but {
	background-color: #79be70;
	position: absolute;
	margin-top: 71px;
	height: calc(30px + 0.5em);
	display: flex;
	align-content: center;
	justify-content: center;
	width: calc(76px + 0.5em);
	align-items: center;
	visibility: hidden;
	border: 1px solid rgba(0, 0, 0, 0.05);

}
.my_template_but:hover,.my_template_but_middle:hover {
	transform: scale(1.1);
	z-index: 9;
	background-color: #8bdb81;
	
}
.do_work {
	margin-right: calc(-76px - 0.5em);
	border-radius: 0em 0em 0.3em 0em;
	background-image: url(../../inc/table-blue.jpg);
	background-size: auto 30px;
	background-position: 50% 50%;
	background-repeat: no-repeat;
}

.edit_but {
	margin-left: calc(-76px - 0.5em);
	border-radius: 0em 0em 0em 0.3em;
	background-image: url(../../inc/edit-pen-blue.png);
	background-size: auto 30px;
	background-position: 50% 50%;
	background-repeat: no-repeat;
}

.edit_but:hover::after {
	content: 'Редактировать шаблон';
	position: absolute;
	margin-top: 80px;
	margin-left: 76px;
	background: #f9ffd3;
	box-shadow: 0px 3px 12px rgba(92, 93, 94, 0.12), 0px 0px 2px rgba(47, 58, 74, 0.02);
	border-radius: 0.3em;
	z-index: 999;
	padding: 0.25em 0.5em;
	width: 200px;
	display: flex;
	align-content: center;
	justify-content: center;
	text-align: center;
	color: black;
}

.review_but {
	margin-left: calc(-76px - 0.5em);
	border-radius: 0em 0em 0em 0.3em;
	background-image: url(../../inc/edit-pen-blue.png);
	background-size: auto 30px;
	background-position: 50% 50%;
	background-repeat: no-repeat;
}

.review_but:hover::after {
	content: 'Посмотреть шаблон';
	position: absolute;
	margin-top: 80px;
	margin-left: 76px;
	background: #f9ffd3;
	box-shadow: 0px 3px 12px rgba(92, 93, 94, 0.12), 0px 0px 2px rgba(47, 58, 74, 0.02);
	border-radius: 0.3em;
	z-index: 999;
	padding: 0.25em 0.5em;
	width: 200px;
	display: flex;
	align-content: center;
	justify-content: center;
	text-align: center;
}
.do_work:hover::after {
	content: 'Создать документ по шаблону';
	position: absolute;
	margin-top: 80px;
	margin-left: -76px;
	background: #f9ffd3;
	box-shadow: 0px 3px 12px rgba(92, 93, 94, 0.12), 0px 0px 2px rgba(47, 58, 74, 0.02);
	border-radius: 0.3em;
	z-index: 999;
	padding: 0.25em 0.5em;
	width: 250px;
	display: flex;
	align-content: center;
	justify-content: center;
	text-align: center;
}

.delete_but:hover::after {
	content: 'Удалить шаблон';
	position: absolute;
	margin-top: 150px;
	margin-left: 76px;
	background: #f9ffd3;
	box-shadow: 0px 3px 12px rgba(92, 93, 94, 0.12), 0px 0px 2px rgba(47, 58, 74, 0.02);
	border-radius: 0.3em;
	z-index: 999;
	padding: 0.25em 0.5em;
	width: 200px;
	display: flex;
	align-content: center;
	justify-content: center;
	text-align: center;
}
.else_but:hover::after {
	content: 'Внешнее заполнение';
	position: absolute;
	margin-top: 150px;
	margin-left: -76px;
	background: #f9ffd3;
	box-shadow: 0px 3px 12px rgba(92, 93, 94, 0.12), 0px 0px 2px rgba(47, 58, 74, 0.02);
	border-radius: 0.3em;
	z-index: 999;
	padding: 0.25em 0.5em;
	width: 250px;
	display: flex;
	align-content: center;
	justify-content: center;
	text-align: center;
}

.else_but {
    margin-right: calc(-76px - 0.5em);
    background-image: url(https://true-dev.ru/inc/true_on_chz.png);
    background-size: auto 30px;
    background-position: 50% 50%;
    background-repeat: no-repeat;
}
.delete_but {
    margin-left: calc(-76px - 0.5em);
    background-image: url(https://true-dev.ru/inc/delete_icon.png);
    background-size: auto 30px;
    background-position: 50% 50%;
    background-repeat: no-repeat;
}
.my_template_but_middle {
    background-color: #79be70;
    position: absolute;
    margin-top: 34px;
    height: calc(30px + 0.5em);
    display: flex;
    align-content: center;
    justify-content: center;
    width: calc(76px + 0.5em);
    align-items: center;
    border: 1px solid rgba(0, 0, 0, 0.05);
    visibility: hidden;
}



.modal_confirm_main {
  display: flex;
  flex-direction: column;
  padding: 0;
  margin: 0;
  align-content: center;
  align-items: center;
  justify-content: center;
  width: calc(100vw - 6em);
  max-width: 400px;
  min-height: calc(15vh);
}
.modal_confirm_text {
    margin-top: 1em;
    width: 100%;
    display: inline-flex;
    align-content: center;
    justify-content: center;
    padding: 0.5em 0em;
    font-family: Open Sans;
    font-style: normal;
    font-weight: 600;
    line-height: 24px;
    align-items: center;
    color: black;
    outline: none !important;
    cursor: pointer !important;
    text-decoration: none !important;
}
.modal_confirm_yes {
	height: 2em;
	width: calc(50% - 2.4em) !important;
	display: inline-flex;
	align-content: center;
	justify-content: center;
	padding: 0.5em 0.5em;
	background: #79BE70;
	box-shadow: 0px 16px 10px -10px rgba(121, 190, 112, 0.2);
	border-radius: 0.5em;
	font-family: Open Sans;
	font-style: normal;
	font-weight: 600;
	line-height: 24px;
	align-items: center;
	color: #FFFFFF;
	border: none !important;
	outline: none !important;
	cursor: pointer !important;
	text-decoration: none !important;
	font-size: 14px;
}
.modal_confirm_no {
	height: 2em;
	width: calc(50% - 2.4em) !important;
	display: inline-flex;
	align-content: center;
	justify-content: center;
	padding: 0.5em 0.5em;
	background: silver;
	box-shadow: 0px 16px 10px -10px rgba(121, 190, 112, 0.2);
	border-radius: 0.5em;
	font-family: Open Sans;
	font-style: normal;
	font-weight: 600;
	line-height: 24px;
	align-items: center;
	color: black;
	border: none !important;
	outline: none !important;
	cursor: pointer !important;
	text-decoration: none !important;
	font-size: 14px;
}
.modal_confirm_buttons {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  justify-content: space-between;
  align-content: center;
  align-items: center;
  margin-top: 1em;
}
.modal_confirm_all_true {
	height: 2em;
	width: calc(100% - 1.4em) !important;
	display: inline-flex;
	align-content: center;
	justify-content: center;
	padding: 0.5em 0.5em;
	background: #ff7937;
	box-shadow: 0px 16px 10px -10px rgba(121, 190, 112, 0.2);
	border-radius: 0.5em;
	font-family: Open Sans;
	font-style: normal;
	font-weight: 600;
	line-height: 24px;
	align-items: center;
	color: black;
	border: none !important;
	outline: none !important;
	cursor: pointer !important;
	text-decoration: none !important;
	font-size: 14px;
}
.modal_confirm_inp {
    display: flex;
    flex-wrap: wrap;
    align-content: center;
    align-items: center;
    justify-content: space-between;
    height: 24px;
    box-shadow: 0px 16px 10px -10px rgba(121, 190, 112, 0.2);
    border-radius: 0.5em;
    font-family: Open Sans;
    font-style: normal;
    font-weight: 600;
    line-height: 24px;
    border: 1px solid gray;
    padding: 0.5em 0.5em;
    outline: none;
    background-image: url(https://true-dev.ru/inc/read_more_inv_link.webp);
    background-size: 24px;
    background-repeat: no-repeat;
    background-position: calc(100% - 3px) 50%;
    width: calc(100% - 1.4em);
}

.modal_confirm_yes:hover {
    background: #A3D79D;
}
.modal_confirm_no:hover {
    background: #dbdbdb;
}

.my_pack_container:not(.create_new_template_container) + .my_pack_container::after {
    content: '+';
    position: absolute;
    display: flex;
    height: 100px;
    width: 10px;
    align-content: center;
    justify-content: center;
    align-items: center;
    margin-left: -180px;
    background: #79be70;
}

/*************** END AUTH ******************************/

.sucess_msg_main {
    position: fixed;
    bottom: 0;
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 0;
    margin: 0;
    transition: 0.3s ease;
    align-content: center;
    align-items: center;
    justify-content: center;
z-index: 9999;
}
.sucess_msg_sucess {
    display: flex;
    width: calc(100% - 0.5em);
    background: #66ec1c;
    align-content: center;
    justify-content: center;
    align-items: center;
	text-align:center;
    margin: 0.1em;
    font-size: 1.2em;
    padding-bottom: 0.5em;
    padding-top: 0.5em;
    transition: 0.3s ease;
    border: none;
    border-radius: 0.3em;
    box-shadow: 2px 2px 5px rgba(0,0,0, 0.5),-2px 2px 5px rgba(0,0,0, 0.5);
	z-index:999999;
}
.sucess_msg_alert {
    display: flex;
    width: calc(100% - 0.5em);
    background: #ff5757;
    align-content: center;
    justify-content: center;
    align-items: center;
	text-align:center;
    margin: 0.1em;
    font-size: 1.2em;
    padding-bottom: 0.5em;
    padding-top: 0.5em;
    transition: 0.3s ease;
    border: none;
    border-radius: 0.3em;
    box-shadow: 2px 2px 5px rgba(0,0,0, 0.5),-2px 2px 5px rgba(0,0,0, 0.5);
	z-index:999999;
}


.loader {
	background: url(https://true-dev.ru/inc/loader-circle.gif),#fdfdfdcf;
	background-repeat: no-repeat;
	background-position: 50% 50%;
	background-size: auto 10em;
	height: 100vh;
	width: 100vw;
	position: fixed;
	z-index: 999999999;
	top: 0;
	display: none;
}

.auth_form {
    display: flex;
    flex-direction: column;
    align-content: center;
    align-items: center;
    justify-content: center;
    justify-items: center;
    width: calc(100% - 1em);
}
.auth_title {
    width: calc(100% - 1em);
    text-align: center;
}
.auth_form input::placeholder {
    text-align: center;
    align-content: center;
    background: white;
}

#auth_card, #auth_login, #auth_pass, #auth_card_false {
    font-size: 1.3em;
    margin-top: 0.5em;
    margin-bottom: 0.5em;
    width: calc(100% - 1em);
    text-transform: lowercase;
    display: flex;
    flex-wrap: wrap;
    align-content: center;
    align-items: center;
    justify-content: space-between;
    border-radius: 0.5em;
    font-family: Open Sans;
    font-style: normal;
    font-weight: 600;
    line-height: 24px;
    border: 1px solid gray;
    padding: 0.5em 0.5em;
    outline: none;
 /*   background-image: url(inc/search_icon.png);*/
    background-size: 24px;
    background-repeat: no-repeat;
    background-position: calc(100% - 3px) 50%;
}
.auth_mes {
    width: 100%;
    text-align: center;
    color: red;
    font-size: 1.2em;
}

.auth_enter {
    display: flex;
    align-content: center;
    align-items: center;
    text-align: center;
    justify-content: center;
    justify-items: center;
    background: #79BE70;
    border-radius: 0.3em;
    cursor: pointer;
    user-select: none;
    margin: 0.3em;
    border: 0.2em double #75c0ac;
    width: calc(100% - 1em);
    min-height: 4em;
}

#auth_enter:hover, #auth_enter:active {
    text-align: center !important;
    justify-content: center !important;
    box-shadow: inset 0.1em 0.1em 0.1em #00000047;
    background: azure;
}

.auth_link_inline a {
    text-decoration: underline !important;
    cursor: pointer;
}





/**************************************/
.company_requisit_main {
    width: 100%;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    align-content: center;
    justify-content: start;
    align-items: center;
}
.company_requisit_container {
    width: 100%;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    align-content: center;
    justify-content: start;
    align-items: center;
	line-height: 30px;
}
.company_requisit_label, .company_requisit_label_not_un {
    font-weight: 600;
    width: 25em;
	color: gray
}
.company_requisit_container_not_un .company_requisit_container {
    padding-left: 3em;
}
.company_requisit_container_not_un_caption {
    font-weight: bold;
    margin-left: 1em;
}
.company_requisit_container_not_un {
    width: 100%;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    align-content: center;
    justify-content: start;
    align-items: center;
    line-height: 30px;
    margin-bottom: 1em;
    border: 1px solid gray;
    border-radius: 0.3em;
}

.company_requisit_create:hover {
    background-color: #e4e4e4 !important;
    color: black !important;
}
.company_requisit_create {
    border-style: dashed;
    border-width: 1px !important;
    border-color: gray !important;
    display: flex;
    justify-content: center !important;
    align-content: center !important;
    align-items: center !important;
    text-align: center;
    color: gray;
    font-size: 14px;
    font-family: Open Sans;
    font-style: normal;
    line-height: 24px;
    cursor: pointer;
    width: 20em;
    border-radius: 0.3em;
    height: 3em;
    background-color: white;
}


/***********************/
.params-table-mass-create {
  border-collapse:  inherit;
  background: ;
}
.params-table-mass-create td {
  border: 1px solid gray;
  background-color: white;
  padding: 0.3em 0.5em;
}
.params-table-mass-create thead td {
  background-color: #e4e4e4;
  font-weight: 500;
  text-align: center;
}


.inside_link:hover {
    background-color: #79be70;
}
.inside_link {
    display: inline-flex;
    flex-direction: row;
    justify-content: center;
    border-radius: 0.3em;
    position: static;
    font-family: Open Sans;
    font-style: normal;
    align-items: center;
    border: none;
    outline: none;
    cursor: pointer !important;
    color: #000000;
    line-height: 22px;
    padding: 0.25em 0.5em;
    background-color: #E4E4E4;
    box-shadow: 0px 16px 10px -10px rgba(121, 190, 112, 0.2);
    text-decoration: underline;
}





.variable_need_modal_link_ok:hover {
    background: rgba(0, 0, 0, 0.05) !important;
    color: black;
}
.variable_need_modal_link_ok {
    display: flex;
    flex-direction: row;
    justify-content: center;
    padding: 0.5em 0.5em;
    background: #79BE70;
    box-shadow: 0px 16px 10px -10px rgba(121, 190, 112, 0.2);
    border-radius: 0.5em;
    font-family: Open Sans;
    font-style: normal;
    font-weight: 600;
    line-height: 24px;
    align-items: center;
    color: #FFFFFF;
    order: 0;
    flex-grow: 0;
    margin: 3px 8px;
    border: none !important;
    outline: none !important;
    cursor: pointer !important;
    text-decoration: none !important;
    z-index: 9;
    font-size: 14px;
}

[data-var_name] {
    display: flex;
    width: 100%;
    flex-wrap: wrap;
    align-content: center;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px dotted silver;
    margin-top: 0.5em;
}

.inline_p_desc {
    font-weight: bold;
    color: gray;
}

.variable_need_modal_template {
    width: calc(100% - 2em);
}
.variable_need_modal_template_container {
    width: 100%;
}

.variable_need_modal::before {
    content: 'Заполните указанные реквизиты';
    font-weight: bold;
    font-size: 18px;
    color: gray;
    margin-bottom: 1em;
}

.inline_row {
    width: unset !important;
    display: inline-flex !important;
    margin: 0 !important;
}


	
.back{
	width:110%;
	height:110%;
	position:fixed;
	top:-5%;
	left:-5%;
	z-index:99;
background-color: rgb(255, 255, 255);
background-position: 50% 50%;
background-image: url(inc/pulse_loader.gif);
background-repeat: no-repeat;
}	

.check{display:none;}
.lab_ch{
	margin: 1px;
	padding-right: 1.5em;
	padding-left: 5px;
	padding-top: 6px;
	padding-bottom: 3px;
	border: 1px solid;
	background-image: url(inc/non_ok.png);
	background-position: right top;
	background-size: auto 100%;
	background-repeat: no-repeat;
	font-size: 1.9em !important;
	font-family: times !important;
	letter-spacing: 0px !important;
	cursor: pointer;
}
.lab_ch:hover{
	background-color: #00ff02;
	background-image: url(inc/yes-no.png);
}

.check:checked+.lab_ch{
	color: #fff;
	background-color: #10a611;
	background-image: url(inc/ok-icon.png);
	background-position: right top;
	background-size: auto 100%;
	background-repeat: no-repeat;
}

.editor_params {
    font-size: 1em !important;
    padding: 0.25em 0.5em !important;
    width: calc(100% / 5 - 3em);
    display: inline-flex;
    align-content: center;
    justify-content: center;
    align-items: center;
    border: 1px solid silver;
    border-radius: 0.3em;
    outline: none;
    text-decoration: none;
    margin-left: 0.25em;
    margin-right: 0.25em;
}

#ins_div {
    display: none;
}

.rechange_but {
    background-color: #79BE70;
    box-shadow: 0px 16px 10px -10px rgba(121, 190, 112, 0.2);
	cursor:pointer;
}
.rechange_but:hover {
    background-color: #B9FFB0;
    box-shadow: 0px 16px 10px -10px rgba(223, 255, 0, 0.2);
}

#cke_1_contents {
    width: 21cm !important;
    height: 65vh !important;
    border-color: gray;
    border-style: dashed;
    border-width: 1px;
}

.cke_inner {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
}
#cke_1_bottom {
    width: 100%;
}
#cke_1_top {
    width: 100% !important;
}
#TEMPLATE_ID{display:none;}
.FOLDER_NAME::after {
    content: '→';
    margin-left: 1em;
    margin-right: 1em;
}
.FOLDER_NAME, .TEMPLATE_NAME {
    color: gray;
    font-weight: bold;
    font-size: 14px;
}
.top_header_menu {
    display: flex;
    flex-wrap: wrap;
    align-content: center;
    align-items: center;
    justify-content: start;
    padding: 0;
    margin: 0;
    width: 100%;
    height: 3em;
}

#TEMPLATE_NAME {
    background: transparent;
    border: 1px dashed gray;
    border-radius: 0.2em;
    justify-content: center;
    display: flex;
    align-content: center;
    align-items: center;
    text-align: center;
    outline: none;
    width: 20em;
}

#drop{
	border:2px dashed #bbb;
	-moz-border-radius:5px;
	-webkit-border-radius:5px;
	border-radius:5px;
	padding:25px;
	text-align:center;
	font:20pt bold,"Vollkorn";color:#bbb
}
#b64data{
	width:100%;
}
a { text-decoration: none }

table td {
  width: 2em;
  height: 2em;
  border: 1px solid gray;
}
table {
  border-collapse: collapse;
}
.hide_el{
	display:none !important;
}

#xlf:valid + .file_inp_label {
    background: lime;
}
#xlf, #document {
    display: none;
}
.file_inp_label {
    display: inline-flex;
    width: max-content;
    padding: 0.5em;
    border-radius: 0.3em;
    border: 1px solid gray;
    background: white;
	cursor:pointer;
	margin-left: 0.25em;
margin-right: 0.25em;
}


.file_inp_label:hover {
    background: gold;
}
.active_label {
    background: gold;
}


.ui-selecting {
    background-color: #ffe4053d;
}

.ui-selected {
    background-color: #a5ff053d;
}
.booked_cell {
/*    background-color: #1395005e !important;*/
    border: none !important;
}

.variable_link_container {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-content: center;
    align-items: center;
    justify-content: flex-start;
    min-height: 70px;
    width: 100%;
}

#new_var_inp, #new_var_inp_desc, #new_var_inp_val {
    width: 30em;
    align-content: center;
    justify-content: center;
    align-items: center;
    outline: none;
    text-decoration: none;
    display: inline-flex;
    padding: 0.5em;
    border-radius: 0.3em;
    border: 1px solid gray;
    background: white;
    cursor: pointer;
    margin-left: 0.25em;
    margin-right: 0.25em;
}
.variable_link {
    display: inline-flex;
    width: max-content;
    padding: 0.5em;
    border-radius: 0.3em;
    border: 1px solid gray;
    background-color: transparent;
    cursor: pointer;
    margin-left: 0.25em;
    margin-right: 0.25em;
    user-select: none;
    margin-bottom: 0.5em;
    z-index: 2;
}

.new_var_inp_link {
    display: inline-flex;
    width: 3em;
    padding: 0.5em;
    border-radius: 0.3em;
    border: 1px solid gray;
    background: #79BE70;
    cursor: pointer;
    margin-right: 0.25em;
    align-content: center;
    justify-content: center;
    text-align: center;
}

.highlight_green {
    background: lime !important;
}
.highlight_red {
    background: red !important;
    color: white;
}

.writline_var_link {
    padding-right: 2.5em;
    background-image: url(inc/checked_true_icon.png);
    background-size: auto 100%;
    background-repeat: no-repeat;
    background-position: 100% 50%;
    box-shadow: 0px 0px 5px 2px #14ff00;
}

.cancel_booking_cells {
	display: inline-flex;
	width: max-content;
	padding: 0.3em;
	border-radius: 0.3em;
	border: 1px solid gray;
	background-color: #f00;
	cursor: pointer;
	margin-right: 0.25em;
	user-select: none;
	margin-bottom: 0.5em;
}

.variable_cells_container {
    position: relative;
    top: 0px;
    display: flex;
    flex-wrap: wrap;
    align-content: center;
    align-items: center;
    justify-content: flex-start;
    background-color: #FFF;
    box-shadow: 0px 3px 12px rgba(105, 130, 166, 0.12), 0px 0px 2px rgba(47, 58, 74, 0.02);
    padding-right: 1em;
    z-index: 999;
    padding-left: 1em;
    padding-bottom: 1em;
}
.var_container {
    display: flex;
    flex-wrap: wrap;
    align-content: center;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    margin-bottom: 0.2em;
}
.var_caption {
    height: 1.5em;
    border: 1px solid gray;
    font-size: 0.8em;
    display: flex;
    flex-wrap: wrap;
    align-content: center;
    align-items: center;
    justify-content: center;
    padding: 0.25em 1.0em;
    margin-left: 0.2em;
    min-width: 7em;
    margin-bottom: 0.2em;
}
.this_var_cell {
    min-width: 1.5em;
    height: 1.5em;
    border: 1px solid gray;
    font-size: 0.8em;
    display: flex;
    flex-wrap: wrap;
    align-content: center;
    align-items: center;
    justify-content: center;
    padding: 0.25em;
    margin-left: 0.2em;
    margin-bottom: 0.2em;
}
.isset_vars_select {
    align-content: center;
    justify-content: center;
    align-items: center;
    outline: none;
    text-decoration: none;
    display: inline-flex;
    padding: 0.5em;
    border-radius: 0.3em;
    border: 1px solid gray;
    background: white;
    cursor: pointer;
    margin-left: 0.25em;
    margin-right: 0.25em;
}


.var_caption:hover::before {
    content: 'Переменная: ' attr(data-param_var);
    position: absolute;
    margin-top: -3.5em;
    padding: 0.5em;
    background: white;
    box-shadow: 0px 0px 2px 1px rgb(121, 190, 112);
    font-weight: bold;
    margin-left: 10em;
}

.active_tips{
	position: fixed;
	top: 0;
	display: flex !important;
	flex-direction: column;
	width: 100%;
	padding: 0;
	margin: 0;
	transition: 0.3s ease;
	align-content: center;
	align-items: center;
	justify-content: center;
	z-index: 9999;
	height: 100vh;
	
}

.sucess_msg_sucess {
    display: flex;
    width: calc(50% - 0.5em);
    background: #66ec1c;
    align-content: center;
    justify-content: center;
    align-items: center;
	text-align:center;
    margin: 0.1em;
    font-size: 1.2em;
    padding-bottom: 0.5em;
    padding-top: 0.5em;
    transition: 0.3s ease;
    border: none;
    border-radius: 0.3em;
    box-shadow: 2px 2px 5px rgba(0,0,0, 0.5),-2px 2px 5px rgba(0,0,0, 0.5);
	z-index:9999999999;
}
.sucess_msg_alert {
    display: flex;
    width: calc(50% - 0.5em);
    background: #ff5757;
    align-content: center;
    justify-content: center;
    align-items: center;
	text-align:center;
    margin: 0.1em;
    font-size: 1.2em;
    padding-bottom: 0.5em;
    padding-top: 0.5em;
    transition: 0.3s ease;
    border: none;
    border-radius: 0.3em;
    box-shadow: 2px 2px 5px rgba(0,0,0, 0.5),-2px 2px 5px rgba(0,0,0, 0.5);
	z-index:9999999999;
}


#document:valid + .file_inp_label {
    background: lime;
}
#document {
    display: none;
}

#output img {
		max-width: 100%;
}
#output a, #output div, #output b {user-select: unset !important;}
#output {
	width: calc(21cm - 1cm);
	min-height: calc(27cm - 1cm);
	outline: none;
	border: 1px dashed gray;
	margin-left: 1em;
	padding: 0.5cm;	
	user-select: unset !important;
}

#output td {
    border: 1px solid black;
}
#output table {
    border-collapse: collapse;
    width: calc(100% - 1em - 2px);
    margin-left: 0.5em;
}


.new_var:hover {
    background: #41d000;
}
.new_var {
    display: inline-flex;
    padding: 0.25em 0.5em;
    border-radius: 0.3em;
    border: 1px solid gray;
    background: #ffef00;
    cursor: pointer;
	margin-right: 0.3em;
	margin-bottom: 0.3em;
}
.new_var:hover::after {
    content: '{{ ' attr(data-variable_name) ' }}';
    position: absolute;
    margin-top: -3em;
    background: #f9ffd3;
    box-shadow: 0px 3px 12px rgba(92, 93, 94, 0.12), 0px 0px 2px rgba(47, 58, 74, 0.02);
    border-radius: 0.3em;
    z-index: 999;
    padding: 0.5em 2.5em;
    display: flex;
    align-content: center;
    justify-content: center;
    text-align: center;
    color: black;
    font-weight: bold;
}
#variative_select, #var_type_select {
    align-content: center;
    justify-content: center;
    align-items: center;
    outline: none;
    text-decoration: none;
    display: inline-flex;
    padding: 0.5em;
    border-radius: 0.3em;
    border: 1px solid gray;
    background: white;
    cursor: pointer;
    margin-left: 0.25em;
    margin-right: 0.25em;
}

.new_vars_container {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-content: center;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
	padding-bottom: 1em;
}

.new_vars_container_desc {
    color: gray;
    display: flex;
    text-align: left;
    align-content: center;
    align-items: center;
    justify-content: start;
    width: 100%;
    font-size: 12px;
}
#new_var_inp{display:none !important;}

.bad_var:hover::after {
    content: 'Эта переменная не используется и будет удалена...';
    position: absolute;
    margin-top: -3em;
    background: #ffd3d3;
    box-shadow: 0px 3px 12px rgba(92, 93, 94, 0.12), 0px 0px 2px rgba(47, 58, 74, 0.02);
    border-radius: 0.3em;
    z-index: 999;
    padding: 0.5em 2.5em;
    display: flex;
    align-content: center;
    justify-content: center;
    text-align: center;
    color: black;
    font-weight: bold;
}
.bad_var {
    display: inline-flex;
    padding: 0.25em 0.5em;
    border-radius: 0.3em;
    border: 1px solid gray;
    background: #f00;
    cursor: pointer;
    margin-right: 0.3em;
    margin-bottom: 0.3em;
}
.table_create_main {
    display: flex;
    width: 100%;
    align-content: center;
    justify-content: center;
}






.complete_from_card_link.is_true_complete_from_card:hover {
    background-color: #d0d0ff;
    background-position: 0% 50%;
}
.complete_from_card_link:hover {
    background-color: white;
    color: black;
    background-image: url(https://true-dev.ru/inc/checked_true_icon.png);
    background-size: 3em auto;
    background-position: calc(100% - 0.0em) 50%;
}
.complete_from_card_link.is_true_complete_from_card {
    background-color: white;
    color: black;
    background-image: url(https://true-dev.ru/inc/checked_true_icon.png);
    background-size: 3em auto;
    background-position: 0% 50%;
    padding-right: 0.5em;
    padding-left: 3em;
}
.complete_from_card_link {
    font-size: 0.8em;
    width: 7em;
    padding: 0.3em;
        padding-right: 0.3em;
        padding-left: 0.3em;
    padding-right: 0.3em;
    border-radius: 0.3em;
    background-color: #79BE70;
    box-shadow: 0px 16px 10px -10px rgba(121, 190, 112, 0.2);
    cursor: pointer;
    padding-right: 3em;
    background-image: url(https://true-dev.ru/inc/non_ok.png);
    background-size: 2em auto;
    background-position: calc(100% - 0.5em) 50%;
    background-repeat: no-repeat;
}



.change_jur_or_phys_container_radio{display:none;}
input:checked + .check_change_jur_or_phys_label {
    border-bottom: unset !important;
    background-color: white !important;
}
.check_change_jur_or_phys_label {
    display: flex;
    align-content: center;
    align-items: center;
    justify-content: center;
    justify-items: center;
    width: calc(50% - 2em);
    background-color: #c6c6c6;
    border-radius: 0.3em 0.3em 0em 0em;
    color: black;
    outline: none;
    user-select: none;
    text-decoration: none;
    cursor: pointer;
    border: 1px solid silver;
    justify-content: center;
    align-content: center;
    align-items: center;
    padding: 0.3em 1em;
  transition: 0.2s;
}
.find_contragent_card_body {
    display: flex;
    flex-wrap: wrap;
    align-content: center;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
}
.change_jur_or_phys_container {
    display: flex;
    width: 100%;
}

.find_contragent_card_live_serach {
    width: 100%;
    display: flex;
    align-content: center;
    align-items: center;
    justify-content: center;
    padding: 0.5em;
    border: 1px solid silver;
    border-radius: 0.0em 0.0em 0.3em 0.3em;
    border-top: unset !important;
	flex-wrap: wrap;
}
#find_contragent_card_live_serach_inp {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    align-content: center;
    align-items: center;
    justify-content: space-between;
    height: 24px;
    box-shadow: 0px 16px 10px -10px rgba(121, 190, 112, 0.2);
    border-radius: 0.5em;
    font-family: Open Sans;
    font-style: normal;
    font-weight: 600;
    line-height: 24px;
    border: 1px solid gray;
    padding: 0.5em 0.5em;
    outline: none;
    background-image: url(inc/search_icon.png);
    background-size: 24px;
    background-repeat: no-repeat;
    background-position: calc(100% - 3px) 50%;
	margin-bottom: 1em;
}


.contragent_search_row:hover,.contragent_saved_row:hover {
    background-color: #a3d29d;
}
.contragent_search_row {
    display: flex;
    flex-wrap: wrap;
    width: calc(100% - 1em);
    padding: 0.25em;
    margin: 0.1em;
    z-index: 99;
    background-color: white;
    border-radius: 0.3em;
    border: 1px solid #eee;
    cursor: pointer;
}
.find_contragent_card_live_serach_results {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}




.find_contragent_card_header::before {
    content: 'Недавние';
    display: flex;
    flex-wrap: wrap;
    padding: 0.25em;
    margin: 0.1em;
    background-color: #79be70;
    border-radius: 0.3em;
    border: 1px solid #eee;
    cursor: pointer;
    font-size: 0.8em;
}
.find_contragent_card_header {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    align-content: center;
    align-items: center;
    justify-content: start;
}
.contragent_saved_row {
    display: flex;
    flex-wrap: wrap;
    padding: 0.25em;
    margin: 0.1em;
    z-index: 99;
    background-color: #f0ffee;
    border-radius: 0.3em;
    border: 1px solid #eee;
    cursor: pointer;
    font-size: 0.8em;
}

.find_contragent_card_header:empty::before {
    display: none;
}





/**************************************************/

.main_menu_vars_float {
    display: flex;
    width: 250px;
    flex-wrap: wrap;
    justify-content: center;
}

.float_menu_side_container {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    padding: 0.5em;
    margin: 0.5em;
    border: 1px solid silver;
    border-radius: 0.3em;
    background-color: white;
    margin-top: 0;
}

.float_menu_side_caption {
    width: 100%;
    background-color: #79be70;
    padding: 0.5em;
    color: #e3e3e3;
    font-weight: bold;
    margin-bottom: 1em;
    border-radius: 0.3em;
    display: flex;
    flex-wrap: wrap;
    align-content: center;
    align-items: center;
    justify-content: space-between;
/*	background-image: url(https://true-dev.ru/inc/read_more_inv_link.webp);*/
	background-size: 24px;
	background-repeat: no-repeat;
	background-position: calc(100% - 3px) 50%;
}

.float_menu_side_caption_icon:hover {
  background-color: #ffef00;
}
.icon_caption_hide {
  background-image: url(https://true-dev.ru/inc/arrow_down.svg) !important;
  background-color: #BEDEFF !important;
}
.float_menu_side_caption_icon {
  background-color: #F3F5F7;
  box-sizing: border-box;
  border-radius: 0.5em;
  appearance: none;
  font-family: Open Sans;
  font-style: normal;
  font-weight: 600;
  background-image: url(https://true-dev.ru/inc/arrow_up.svg);
  background-size: 1em;
  background-repeat: no-repeat;
  background-position: 50% 50%;
  outline: none;
  cursor: pointer;
  height: 2em;
  width: 2em;
  z-index: 9;
}

.float_menu_add_side {
    background-color: #79be70;
    color: #e3e3e3;
    font-weight: bold;
    border-radius: 0.3em;
    display: flex;
    flex-wrap: wrap;
    align-content: center;
    align-items: center;
    justify-content: center;
    width: calc(100% - 2em);
    height: 2em;
    text-align: center;
    border: 1px solid transparent;
	cursor:pointer;
	user-select:none;
	
}

.float_menu_side_add_variable:hover, .float_menu_add_side:hover {
    background-color: #ecffb9;
    border: 1px solid silver;
}
.float_menu_side_add_variable {
    background-color: #79be70;
    color: #535353;
    font-weight: bold;
    border-radius: 0.3em;
    display: flex;
    flex-wrap: wrap;
    align-content: center;
    align-items: center;
    justify-content: center;
    text-align: center;
    border: 1px solid transparent;
	cursor:pointer;
	user-select:none;
	padding: 0.25em 0.5em;
}
.float_menu_side_container .new_var {
    margin: 0.2em;
}

.float_menu_side_container .new_var:hover::after {
    display: none;
}

.main_body_editor_container {
    width: 21cm;
}

.main_body_editor {
    display: flex;
    flex-wrap: wrap;
}
.main_body_editor_container {
    width: 21cm;
}


.float_menu_side_add_variable:hover::after {
    content: 'Добавить переменную';
    position: absolute;
    margin-top: -6em;
    background: #f9ffd3;
    box-shadow: 0px 3px 12px rgba(92, 93, 94, 0.12), 0px 0px 2px rgba(47, 58, 74, 0.02);
    border-radius: 0.3em;
    z-index: 999;
    padding: 0.5em 0.5em;
    display: flex;
    align-content: center;
    justify-content: center;
    text-align: center;
    color: black;
    font-weight: bold;
    margin-left: -10em;
}

.contenteditable_el {
    background-color: #ffe1aa !important;
    color: black;
    font-weight: normal !important;
}





.create_new_var_body {
    width: 100%;
    padding: 0;
    margin: 0;
}
.main_vars_gen_container, .vars_container_caption {
    width: calc(100% - 2.5em);
    background-color: #d9d9d9;
    padding: 0.5em;
    color: #575757;
    font-weight: bold;
    margin-bottom: 1em;
    border-radius: 0.3em;
    display: flex;
    flex-wrap: wrap;
    align-content: center;
    align-items: center;
    justify-content: space-between;
    background-image: url(https://true-dev.ru/inc/arrow_down.svg);
    background-size: 1em;
    background-repeat: no-repeat;
    background-position: calc(100% - 0.5em) 50%;
    padding-right: 2em;
	cursor:pointer;
}
.main_vars_gen_container:hover,.vars_container_caption:hover,.main_vars_gen_childs_container:hover {
	background-color: #79be70;
    color: white;
}
.vars_container_body {
    display: none;
    margin: 0.25em;
    padding: 0.25em;
    border-bottom: 1px solid silver;
    border-left: 1px solid silver;
    border-radius: 0.0em 0.0em 0.3em 0.3em;
    border-right: 1px solid silver;
    padding-top: 0.5em;
    margin-top: -1em;
	background-color: #0000000f;
}

.active_var_gen_parent_name + .vars_container_body {
    display: block;
}


.create_new_var_caption {
    width: 100%;
    background-color: #79be70;
    padding: 0.5em;
    color: #000;
    font-weight: bold;
    margin-bottom: 1em;
    border-radius: 0.3em;
    display: flex;
    flex-wrap: wrap;
    align-content: center;
    align-items: center;
    justify-content: space-between;
}
.create_new_var_container {
    display: flex;
    flex-wrap: wrap;
    padding: 0.5em;
    margin: 0.5em;
	overflow: auto;
}
.vars_container_caption.active_var_gen_parent_name {
    background-color: #79be70 !important;
}


.main_vars_gen_childs_container {
    background-color: #fff;
    padding: 0.25em;
    color: #000;
    margin-bottom: 0.1em;
    border-radius: 0.3em;
    display: flex;
    flex-wrap: wrap;
    align-content: center;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    border: 1px solid silver;
    font-size: 0.9em;
	padding-left: 0.5em;
}
.create_new_var_childs_container {
    margin: 0.25em;
    padding: 0.25em;
    border-bottom: 1px solid silver;
    border-left: 1px solid silver;
    border-radius: 0.0em 0.0em 0.3em 0.3em;
    border-right: 1px solid silver;
    padding-top: 0.2em;
    margin-top: -1em;
	background-color: #0000000f;
}
.active_var_gen_parent_name {
    background-color: #7d7d7d !important;
    color: white !important;
    background-image: url(https://true-dev.ru/inc/arrow_up.svg) !important;
}

.float_menu_side_caption_text:hover::before {
    content: 'Это одна из сторон документа. Сторона определяет принадлежность реквизитов. Кликните два раза, чтобы отредактировать название.';
    position: absolute;
	margin-top: -7.5em;
    background: #f9ffd3;
    box-shadow: 0px 3px 12px rgba(92, 93, 94, 0.12), 0px 0px 2px rgba(47, 58, 74, 0.02);
    border-radius: 0.3em;
    z-index: 999;
    padding: 0.5em 2.5em;
    display: flex;
    align-content: center;
    justify-content: center;
    text-align: center;
    color: black;
    font-weight: initial;
    width: 20em;
}

.float_menu_side_caption.contenteditable_el::before {
    content: 'После редактирования нажмите ENTER чтобы сохранить запись.';
    position: absolute;
    margin-top: -6.5em;
    background: #f9ffd3;
    box-shadow: 0px 3px 12px rgba(92, 93, 94, 0.12), 0px 0px 2px rgba(47, 58, 74, 0.02);
    border-radius: 0.3em;
    z-index: 999;
    padding: 0.5em 2.5em;
    display: flex;
    align-content: center;
    justify-content: center;
    text-align: center;
    color: black;
    font-weight: initial;
    width: 20em;
}

.create_new_var_another_link:hover {
    background-color: #8ee184;
}
.create_new_var_another_link {
    width: calc(100% - 2.5em);
    background-color: #fff;
    padding: 0.5em;
    color: #575757;
    font-weight: bold;
    margin-bottom: 1em;
    border-radius: 0.3em;
    display: flex;
    flex-wrap: wrap;
    align-content: center;
    align-items: center;
    justify-content: space-between;
	background-image: url(https://true-dev.ru/inc/pencil_icon.png);
	background-size: 1.8em;
    background-repeat: no-repeat;
    background-position: calc(100% - 0.5em) 50%;
    padding-right: 2em;
    cursor: pointer;
    border: 1px dashed silver;
}



.isset_var {
    background-color: #119500;
    background-image: url(https://true-dev.ru/inc/ok_icon.png);
    background-size: 24px;
    background-repeat: no-repeat;
    background-position: 3px 50%;
    padding-left: 2em;
    color: white;
    font-weight: bold;
}


/************************************/

/*
.variable_need_modal {
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    width: 21cm;
    align-content: start;
    align-items: start;
    justify-content: center;
    overflow: auto;
}
*/

.variable_need_modal {
  margin: 0;
  padding: 0;
  display: flex;
  width: 1060px;
  overflow: auto;
  flex-direction: column;
}

/*
.variable_need_container_parent {
    padding: 0.5em;
    border: 1px solid silver;
    border-radius: 0.3em;
    margin-bottom: 1em;
    width: 650px;
}
*/
.variable_need_container_parent {
  padding: 0.5em;
  border: 1px solid silver;
  border-radius: 0.3em;
  margin-bottom: 1em;
  width: 1024px;
  display: flex;
  flex-wrap: wrap;
  justify-content: start;
}

/*
.variable_need_parent_label {
    background-color: #a3d29d;
    padding: 0.5em;
    color: #535353;
    font-weight: bold;
    margin-bottom: 1em;
    border-radius: 0.3em;
    display: flex;
    flex-wrap: wrap;
    align-content: center;
    align-items: center;
    justify-content: space-between;
}
*/
.variable_need_parent_label {
  background-color: #a3d29d;
  padding: 0.5em;
  color: #535353;
  font-weight: bold;
  margin-bottom: 1em;
  border-radius: 0.3em;
  display: flex;
  flex-wrap: wrap;
  align-content: center;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

/*
.variable_need_container {
    display: flex;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
    align-content: center;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    line-height: 30px;
    min-width: 450px;
    margin-bottom: 0.2em;
}
*/

.variable_need_container {
  display: flex;
  flex-wrap: wrap;
  padding: 0;
  align-content: start;
  align-items: start;
  justify-content: start;
  margin-bottom: 0.5em;
  width: 24%;
  padding-right: 5px;
}

.variable_need_label {
  display: flex;
  position: relative;
  font-size: 0.8em;
  background-color: white;
  margin-left: 0.5em;
  color: #747474;
  font-weight: bold;
}

/*
.variable_need_inp_container {
    display: flex;
    min-width: 24em;
    align-content: center;
    align-items: center;
    justify-content: space-around;
	flex-wrap: wrap;
	width: min-content;
}
*/

.variable_need_inp_container {
  display: flex;
  align-content: center;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
  width: 100%;
  margin-top: -0.4em;
}

/*

.variable_need_inp {
    display: flex;
    flex-wrap: wrap;
    margin: 0;
    align-content: center;
    align-items: center;
    justify-content: start;
    line-height: 30px;
    min-width: 25em;
    padding: 0.25em 0.5em;
    border-radius: 0.3em;
    border: 1px solid silver;
    margin-left: 1em;
    outline: none;
}

*/

.variable_need_inp {
  display: flex;
  flex-wrap: wrap;
  margin: 0;
  align-content: center;
  align-items: center;
  justify-content: start;
  line-height: 30px;
  padding: 0.25em 0.5em;
  border-radius: 0.3em;
  border: 1px solid silver;
  outline: none;
  width: 100%;
}


/*
.checker_need_save {
    z-index: 99;
}
.checker_need_save:checked + .checker_need_save_label {
    background-color: #52bfa1;
}
.checker_need_save_label {
    font-size: 0.8em;
    padding: 0.25em 0.5em;
    border-radius: 0.3em;
    line-height: 1em;
    cursor: pointer;
    margin-left: -1.5em;
    padding-left: 2em;
    z-index: 1;
}
.checker_need_save_container {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    align-content: center;
    align-items: center;
    justify-content: center;
    margin-top: 0.1em;
}

*/

.checker_need_save_container {
  display: flex;
  width: 200px;
  align-content: center;
  align-items: center;
  justify-content: center;
}
.checker_need_save {
  z-index: 99;
  display: inline-flex;
}
.checker_need_save_label {
  font-size: 0.8em;
  line-height: 1em;
  cursor: pointer;
  z-index: 1;
  display: inline-flex;
  padding: 0.5em;
}
.checker_need_save:checked + .checker_need_save_label {
  background-color: #52bfa1;
}



/*
.in_words_link {
    font-size: 0.7em;
    width: 6em;
    padding: 0.3em;
    border-radius: 0.3em;
    background-color: #79BE70;
    box-shadow: 0px 16px 10px -10px rgba(121, 190, 112, 0.2);
    cursor: pointer;
    padding-right: 3em;
    background-image: url(https://true-dev.ru/inc/non_ok.png);
    background-size: 2em auto;
    background-position: calc(100% - 0.5em) 50%;
    background-repeat: no-repeat;
    display: flex;
    line-height: 1.5em !important;
    align-content: center;
    justify-content: center;
    align-items: center;
    border: 1px solid silver;
}
.in_words_link:hover {
    background-color: #a3d29d;
    color: black;
    background-image: url(https://true-dev.ru/inc/checked_true_icon.png);
    background-size: 3em auto;
    background-position: calc(100% - 0.0em) 50%;
}
.in_words_link.in_words_true {
    background-color: white;
    background-image: url(https://true-dev.ru/inc/checked_true_icon.png);
    background-size: 3em auto;
    background-position: calc(100% - 0.0em) 50%;
}
.in_words_true + .in_words_message {
    display: unset;
}
.in_words_message {
    line-height: 1em;
    color: #1d6c00;
    width: calc(100% - 2em);
    text-align: right;
    font-size: 0.8em;
    display: none;
}


*/


.in_words_link.in_words_true {
  background-image: url(https://true-dev.ru/inc/pencil-color.png);
  background-color: #a3d29d;
  color: transparent;
}
.in_words_link:hover {
  background-color: #a3d29d;
  color: transparent;
  background-image: url(https://true-dev.ru/inc/pencil-color.png);
}
.in_words_link {
  border-radius: 0.3em;
  cursor: pointer;
  background-image: url(https://true-dev.ru/inc/pencil-gray.png);
  background-size: 100% auto;
  background-position: 50% 50%;
  background-repeat: no-repeat;
  display: flex;
  align-content: center;
  justify-content: center;
  align-items: center;
  position: relative;
  border: 1px solid silver;
  margin-top: -2.5em;
  width: 30px;
  height: 30px;
  margin-left: 110px;
  color: transparent;
}

.in_words_message {
  line-height: 1em;
  color: #1d6c00;
  text-align: right;
  font-size: 0.7em;
  display: none;
  margin-bottom: -2em;
}

/*
.date_type, .money_ru {
    min-width: 14em;
}
*/
.date_type, .money_ru {

}


.variable_need_inp::placeholder {
  color: transparent;
}

.find_contragent_card_main {
  width: 100%;
}

.cke_editable {
  font-size: 13px !important;
  line-height: 1.6 !important;
  word-wrap: break-word !important;
  background-image: url(https://true-dev.ru/inc/page_shadow.png) !important;
  background-position: -10px 0% !important;
  background-size: 21cm auto !important;
}

/*
.main_body_editor_menu {
  height: calc(66vh + 200px);
  overflow-y: auto;
  width: 270px;
}
*/