.crm_logo {
	font-size: 16px;
	color: white;
}

.crm_logo:hover {
	font-size: 16px;
	color: white;
}

.crm_logo a {
	color: white;
}

.crm_logo .dropdown {
	display: inline-block;
}

.crm_logo .dropdown-menu a {
	color: black;
	line-height: 23px;
}

.crm_logo .dropdown-menu {}

.left-side-menu .logo_fix {
	position: absolute;
}

.my_tasks_btn {
	padding: calc(32px / 2) 5px calc(32px / 2) 0;
	overflow: hidden;
	max-width: 320px;
}

.folder_block {
	cursor: pointer;
}

.file_user_name img {
	width: 25px;
	height: 25px;
	object-fit: cover;
	margin-right: 5px;
}

a.file_agreement_proccessed i:before,
#modal-files-agreement .file_state.file_agreement_proccessed {
	color: rgb(234 209 42);
}

a.file_agreement_rejected i:before,
#modal-files-agreement .file_state.file_agreement_rejected {
	color: red;
}

a.file_agreement_ok i:before,
#modal-files-agreement .file_state.file_agreement_ok {
	color: green;
}

#modal-files-agreement .modal-body {
	max-height: calc(100vh - 150px);
	overflow: auto;
}

.agreement table {
	min-height: 200px;
}

.agreement table tr>th,
.agreement table tr>td {
	text-align: center;
}

.agreement table tr>th {
	position: relative;
	padding-right: 30px;
}

.agreement table tr>th>a {
	position: absolute;
	right: 5px;
	margin-top: -14px;
	top: 50%;
}

.agreement_dont_start {
	color: #6c757d;
}

.agreement .sort_button {
	color: dimgrey;
}

.agreement th:first-child .dropdown-menu.show {
	transform: translate3d(0, 43px, 0px) !important;
}

.agreement table .btn {
	padding: 0;
	width: 22px;
	height: 22px;
	box-sizing: border-box;
	border: none;
}

.agreement table .btn.action_agreement_ok {
	background-color: #0acf97;
}

.agreement table .btn.action_agreement_delegate {
	background-color: #FFBC00;
}

.agreement table .btn.action_agreement_reject {
	background-color: #FB5C7C;
}

a.file_agreement_rejected i:after {
	content: "\F0216";
	color: #727cf5;
	display: inline-block;
	font: normal normal normal 24px/1 "Material Design Icons";
	font-size: inherit;
	text-rendering: auto;
	line-height: inherit;
	-webkit-font-smoothing: antialiased;
	position: absolute;
	transform: translate(-17px, -1px)
}

.agreement .btn-group-toggle {
	display: block;
}

.agreement label.btn-outline-primary {
	white-space: nowrap;
	margin: 0 8px 8px 0;
}

.body-agreements .form-check-label {
	margin-top: 0.17rem;
}

.agreement_is_comment {
	background-color: #F1F2FC;
	border-radius: 14px;
}

.acgreement_comments .media{
	padding: 15px;
}
#agreement-create_task {
	margin-top: 0.16rem;
}

.agreement .btn {
	margin-right: 8px;
}

.agreement .btn.btn-outline-primary:active {
	color: #727cf5 !important;
	background: white !important;
}

.agreement .btn-outline-primary:hover {
	color: #727cf5 !important;
	background-color: #ffffff !important;
}

.agreement .btn-outline-primary.active:hover {
	color: #ffffff !important;
	background-color: #727cf5 !important;
}

.agreement .btn.focus {
	box-shadow: none !important;
}

.agreement .btn-group-toggle label>span.badge-danger {
	position: absolute;
	text-align: center;
	padding: 0.25em;
	box-sizing: border-box;
	min-width: 20px;
	min-height: 20px;
	line-height: 14px;
	top: -5px;
	right: 1px;
	border-radius: 50%;
}

.agreement_create_task_class {
	display: grid;
	align-items: center;
	align-content: center;
	justify-content: start;
}

.body-agreements .btn_clear_date {
	left: auto;
	right: 15px
}

.user_ava_big {
	width: 69px;
	height: 69px;
	object-fit: cover;
}

.nav-user .account-user-avatar img {
	height: 32px;
	width: 32px;
	object-fit: cover;
}

.tasks {
	background: #f0f2f9;
}

.task-list-items:before {
	content: "Нет задач";
}

.my_page_title {
	font-size: 18px;
	margin: 0;
	font-weight: 700;
	/*overflow: hidden;*/
	white-space: nowrap;
	text-overflow: ellipsis;
	color: inherit;
}

.pagination {
	justify-content: center;
}

.add_task_right button {
	width: 100%;
	text-align: left;
}

.amsify-suggestags-list {
	width: 300px !important;
}

.one_task {
	cursor: pointer;
	padding: 20px !important;
}


#iframe-show-task-modal .modal-body {
	padding: 0px;
}



#iframe-show-task-modal .modal-body iframe {
	width: 100%;
	min-height: 590px;
	overflow: hidden;
}



#iframe-show-event-modal .modal-body {
	padding: 0px;
}



#iframe-show-event-modal .modal-body iframe {
	width: 100%;
	min-height: 590px;
	overflow: hidden;
}

.required_error {
	border: 1px solid red !important;
	border-radius: 0.25rem !important;
}


/*.func_users {
	display: none;
}*/

/*.func_main_user {
	display: none;
}*/

.func_tags {
	display: none;
}

.func_tags button,
.tags_place label {
	margin: 1px;
}

.func_checklist {
	display: none;
}

/*.func_dates {
	display: none;
}
*/
/*.func_attachments {
	display: none;
}
*/
.add_new_task_title {
	resize: none;
}

.avatar-sm {
	object-fit: cover;
}

#preloader {
	/*background: #f0f2fa8a;*/
}

.form-control[readonly] {
	background: white;
}

input[type="time"] {
	font-size: 13px;
}

.fc .fc-list-event:hover td {
	background-color: #089e74 !important;
}

.fc .fc-event-title {
	text-align: left;
	font-weight: bold !important;
}

.messenger_left {
	height: 700px;
}

.input-xs,
select.input-xs {
	height: 23px !important;
	line-height: 20px;
	padding: 2px;
	font-size: 12px;
}

.messenger_left img {
	height: 48px;
	width: 48px;
	object-fit: cover;
}


/*.table_fixed {
	table-layout: fixed;
}*/

.chat-avatar img {
	width: 42px;
	height: 42px;
	object-fit: cover;
}

.messages_list {
	/*	height: 555px;*/
}

.messages_list {

	display: flex;
	flex-direction: column-reverse;
	overflow: auto;
	height: 555px;
}

.avatar-title {
	background-color: #0000000d;
}

.conversation-list .ctext-wrap i {
	display: inline-block;
}

.is_forward {
	text-align: left;
}

.fc-daygrid-day {
	cursor: cell;
}

a.fc-daygrid-event.fc-event {
	border: none !important;
}

.hidden_comments {
	display: none;
}

.rounded-circle {
	object-fit: cover;
}

#filters_kanban .modal-content {
	max-width: 500px;
	margin: 0 auto;
}

.input-no-bg {
	background: #fafbfe;
	border: 0;
	margin-top: -7px;
}

.one_ckeckbox {
	margin-bottom: 10px;
	padding-right: 12px;
}

.strike {
	text-decoration: line-through;
}

.badge-notification {
	color: white;
	font-size: 10px;
	margin-top: 3px;
	position: absolute !important;
}

.badge_cursor {
	cursor: pointer;
}

.badge_cursor input[type="checkbox"] {
	margin-top: 3px;
}

.badge-dot {
	position: absolute;
	border-radius: 4.5px;
	height: 7px;
	min-width: 0;
	padding: 0;
	width: 7px;
	margin-left: -0.3125rem;
}

.badge-dot:empty {
	display: inline-block;
}

#modal-add-tag .select2-container .select2-selection--single {
	border: 0;
}

#modal-add-tag .select2-container .select2-selection--single .select2-selection__arrow b {
	border-color: white #0000 #0000 #0000;
}

#modal-add-tag .select2-container--open .select2-selection--single .select2-selection__arrow b {
	border-color: #0000 #0000 white #0000 !important;
}

#modal-add-tag .select2-container--default .select2-search--dropdown {
	display: none;
}

.simplebar-content-wrapper {
	overflow: scroll !important;
}

.board {
	overflow: scroll !important;
    min-height: 450px;
    height: calc(100vh - 240px);
}

.select2-container--default .select2-results__option[aria-selected=true] {

	color: #737df4;
}

/* scrollbar */
.board::-webkit-scrollbar {
	width: 12px;
	height: 12px;
}

.board::-webkit-scrollbar-track {
	background: #eef0f7;
	border-radius: 9px;
}

.board::-webkit-scrollbar-thumb {
	background-color: #c5cce5;
	border-radius: 9px;
}
.board::-webkit-scrollbar-thumb:hover {
	background-color: #afbade;
}

.logo_bfo {
	text-align: center;
}

.logo_bfo img {
	width: 50%;
}

.logo_bfo_footer img {
	width: 100px;
}

.logo_bfo_left {
	text-align: center;
	bottom: 30px;
	position: relative;
	opacity: 0.3;
	transition: all 2s;
	width: 100%;
	margin-top: 230px;
}

.logo_bfo_left:hover {
	opacity: 0.9;
}

.logo_bfo_left img {
	width: 130px;
}

.footer {
	display: none;
}

.cursor_pointer {
	cursor: pointer;
}

div:not(.allvisible) .kanban_read_action {
	display: none;
}

.kanban_read_action a {
	color: #8a8a8a !important;
}

.kanban_read_action a.btn {
	background: white !important;
	border: 1px solid #8a8a8a;
	box-shadow: none;
}

.btn_files_plus {
	margin-top: 20px;
	width: 54px;
	float: right;
}

.email-menu-list a {
	color: #6c757d;
	/* padding: 12px 5px; */
	display: block;
	font-size: 14px;
	padding-top: 0px;
	padding-left: 0px;
}

.doc_action_btns {
	font-size: 16px;
	white-space: nowrap;
}

.td_file {
	max-width: 450px;
}

.dropdown_versions {
	max-height: 250px;
	overflow: hidden auto;
}

.dropdown_versions img {
	width: 25px;
	height: 25px;
	object-fit: cover;
}

.table th,
.table td {
	padding: 10px;
}

/*.list_view .text-muted {
	color: dimgrey!important;
}
*/
.grid_folder_icon {
	height: 60px;
}

.grid_file_icon {
	height: 60px;
	margin-top: 7px;
	margin-bottom: -8px;
}

.grid_file_title {
	height: 46px;
	padding: 0px 3px;
	overflow: hidden;
	line-height: 15px;
}

.grid_one_file:hover {
	background: #f7f7f7;
}

.grid_one_file:hover .dropdown {
	opacity: 1;
}

.grid_one_file .dropdown {
	position: absolute;
	right: 0;
	margin-right: 15px;
	margin-top: -2px;
	opacity: 0;
	z-index: 19999;
}


.grid_one_file .checkbox_file_select {
	position: absolute;
	/* right: 0; */
	margin-left: 7px;
	margin-top: 6px;
	opacity: 0;
}

.files_rules_box .list-group-item:hover {
	background: #727cf5;
	cursor: pointer;
	color: white;
}

.dropdown-menu>li>a {
	display: block;
	padding: 3px 20px;
	clear: both;
	font-weight: 400;
	line-height: 1.42857143;
	color: #333;
	white-space: nowrap;

	font-size: 14px;
}

.dropdown-menu>li>a:focus,
.dropdown-menu>li>a:hover {
	color: #262626;
	text-decoration: none;
	background-color: #f5f5f5;
}


.tasks .card {
	margin-top: 5px;
}

.demo_label {
	padding: 10px 10px;
	color: #ff7171;
	border: 1px solid #ff7171;
	/* width: 100%; */
	margin: 0 auto;
	text-align: center;

	margin: 10px 15px;
	box-sizing: content-box;
}

.fc-daygrid-event {
	padding: 2px 0px 0px 5px !important;
	border: 1px solid #3788d8 !important;
	height: 25px;
}


.calendar_project {
	position: absolute;
	top: -7px;
	right: 0px;
	z-index: 99999;
	text-transform: uppercase;
	font-size: 9px;
	background: #32377c;
	padding: 0px 2px;
	color: white;
}

.fc-daygrid-body .fc-event-title {
	width: 100%;
	display: -webkit-box !important;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden !important;
}

.fc-daygrid-event-dot {
	display: none;
}

.fc-event-time {
	display: none;
}

.fc-popover.fc-day {
	background: var(--ck-color-base-background);
	;
}


.task_success_box {
	margin-top: 1px;
	line-height: 23px;
	border: 1px solid #0ecf97;
	border-radius: 5px;
	padding: 2px 9px;
	color: #0ecf97;
	cursor: pointer;
}

.textarea_edit_comment {
	background: #fafbfe;
	border: 0px solid silver;
	resize: none;
	cursor: pointer;
	padding-left: 0px;
}

.textarea_edit_comment:focus {
	border: 1px solid #dee2e6;
	cursor: text;
	padding-left: 10px;
}

.ui-droppable-hover {
	background: #727cf5 !important;
	color: white !important;
}

.btn_clear_date {
	position: absolute;
	margin-top: -37px;
	margin-left: 118px;
	outline: none;
}

.btn_clear_date:focus {
	box-shadow: none;
}

.project_ava {
	text-align: center;
	background: white;
	padding: 4px;
	border-radius: 3px;
}

.project_ava img {
	height: 45px;
	max-width: 100%;
}

.project_description {
	height: 25px;
	overflow: hidden;
	line-height: 15px;
	text-align: center;
	display: none;
}

.button_project {
	padding: 1px 5px;
}

.edit_project {
	margin-top: -6px;
	display: block;
}

.card_black {
	/*background: #282a41;
	color:  white;*/
	/*border: 1px solid #282a41;*/

	-webkit-box-shadow: 0px 0px 10px -2px rgba(34, 60, 80, 0.2);
	-moz-box-shadow: 0px 0px 10px -2px rgba(34, 60, 80, 0.2);
	box-shadow: 0px 0px 10px -2px rgba(34, 60, 80, 0.2);
}

/*.card_black .card-header {
	background: #282a41;
}

.card_black a {
	color:  white;
}
*/
.card_black .list-group-item {
	background: transparent;
	border: 1px solid #bababa;
}

.card_black .list-group-item+.list-group-item {
	border-top-width: 0;
}

.card-header {
	border-bottom: 1px solid #e9e9e9;
}

.fixed_add_btn {
	position: fixed;
	bottom: 3px;
	width: 319px !important;
}

.bell {
	margin-right: 0px !important;
	font-size: 12px !important;
	padding: 0px !important;
	width: 10px !important;
	height: 9px !important;
	margin-top: -10px !important;
}

.pop_left {
	max-width: 180px;
}

.fire_task {
	border: 1px solid #fb5c7c;
	border-radius: 0.25rem;
	/*background: #fef5f7;*/
}

.not_readed {
	background-color: #fdffef;
}

.change_marked input,
.change_marked textarea,
.change_marked select,
.change_marked .select2-selection,
.change_marked .ck-editor__editable {
	background-color: #fdffef !important;
}

.fire_clock {
	color: #fb5c7c;
	font-size: 19px;
	position: absolute;
	right: 5px;
	top: 1px;
}

.fire_class .form-control {
	color: red;
}

.fire_class {
	color: red;
}

.fire_task .task_date_end {
	color: #fb5c7c !important;
}

.fc-event {
	white-space: normal !important;
	height: 30px !important;
	line-height: 11px !important;
}

.fc-daygrid-event {}

.modal-open {
	overflow: auto !important;
}

.zoomlink_,
.zoomnolink_ {
	display: none;
}

/*.modal {
	overflow-y: auto!important;
}

.modal {
	position: absolute;
}*/

/*.modal .modal-body {
    max-height: 420px;
    overflow-y: auto;
}*/

/*.modal-backdrop {
    visibility: hidden !important;
}
.modal.in {
    background-color: rgba(0,0,0,0.5);
}*/
@media (max-width:1490px) {
	#sel_filter_projects+.btn-group {
		width: 100px !important;
	}

	#sel_filter_projects+.btn-group>button {
		padding-left: 5px !important;
	}

	#sel_filter_task_or_event+.btn-group {
		width: 150px !important;
	}

	#sel_filter_task_or_event+.btn-group>button {
		padding-left: 5px !important;
	}

	#sel_filter_users+.btn-group {
		width: 150px !important;
	}

	#sel_filter_users+.btn-group>button {
		padding-left: 5px !important;
	}

	#sel_filter_date_start {
		width: 112px !important;
		padding-left: 5px !important;
	}

	#sel_filter_date_end {
		width: 120px !important;
		padding-left: 5px !important;
	}
}

@media (max-width:1270px) {

	#sel_filter_task_or_event+.btn-group,
	#sel_filter_users+.btn-group,
	#sel_filter_date_start,
	#sel_filter_date_end {
		width: 100px !important;
	}

	#notifications form>.row>.filter_box {
		gap: 5px;
	}
}

@media (max-width:1150px) {
	.logo_bfo_left {
		display: none;
	}



	.show_on_mobile {
		display: block !important;
	}

	.fc-timeGridWeek-button,
	.fc-listMonth-button,
	.fc-dayGridMonth-button,
	.fc-timeGridDay-button {
		display: none;
	}

	.fc-toolbar-title {
		text-align: center;
	}

	.app-search {
		display: none;
	}

	.logo-light span {
		display: none;
	}

	.navbar-custom .col-lg-8 {
		-webkit-box-flex: 0;
		-ms-flex: 0 0 58.33333%;
		flex: 0 0 58.33333%;
		max-width: 58.33333%;
	}

	.navbar-custom .col-lg-4 {
		-webkit-box-flex: 0;
		-ms-flex: 0 0 41.66667%;
		flex: 0 0 41.66667%;
		max-width: 41.66667%;
	}

	.fc-toolbar h2 {
		font-size: 14px !important;
	}
}

@media (max-width:810px) {

	#sel_filter_task_or_event+.btn-group,
	#sel_filter_users+.btn-group,
	#sel_filter_date_start,
	#sel_filter_date_end {
		width: auto !important;
	}

	#notifications .card .row .col-md-11 {
		-webkit-box-flex: 0;
		-ms-flex: 0 0 91.66667%;
		flex: 0 0 91.66667%;
		max-width: 91.66667%;
	}

	#notifications .card .row .col-md-1.text-right {
		-webkit-box-flex: 0;
		-ms-flex: 0 0 8.33333%;
		flex: 0 0 8.33333%;
		max-width: 8.33333%;
	}
}

.left-side-menu .dropdown-menu {
	width: 252px;
	top: -10px !important;

}

.logo_fix .dropdown-menu {
	position: fixed !important;
	width: 252px;
	left: 0 !important;
	top: 40px !important;
	margin-left: 3px !important;
}

.handle {
	display: inline-block;
	width: 16px;
	height: 16px;
	background: url("/assets/images/drags.png") 0 50% no-repeat;
	margin-right: 10px;
	vertical-align: middle;
	position: absolute;
	margin-top: 2px;
	background-size: 19px;
	cursor: move;
}

.date_success_input {
	margin-top: -5px;
}

.bg-task {
	background: #0acf97 !important;
	border: 1px solid #565656 !important;
}

.bg-event {
	background: #ffbc00 !important;
	border: 1px solid #ffbc00 !important;
}

/* Прошедшие задачи */
.bg-passed {
	background: #686564 !important;
	border: 1px solid #686564 !important;

}

/* Прошедшие выполненные задачи (перечеркнутые) */
.bg-passed-success {
	background: #aaaaaa !important;
	border: 1px solid #565656 !important;
}


.bg-passed-success .fc-event-title {
	text-decoration: line-through !important;
}

.calendar_page .card-body {
	padding: 1rem;
}

.calendar_page .card {
	margin-bottom: 1rem;
}

.calendar_page.content-page {
	padding-bottom: 0px;
	overflow: auto;
}

.filter_select {
	width: 100% !important;
	height: 28px !important;
	/* line-height: 1px; */
	/* display: inline-block; */
	padding: 0px 15px;
	color: #4a5058;
}

.filter_search_btn {
	height: 26px;
	margin-top: 1px;
	line-height: 1px;
}

.multiselect {
	height: 28px;
	line-height: 1px;
	text-align: left !important;
}

.filter_box {
	gap: 13px;
	background: #f1f2f9;
	padding: 4px 13px;
	border-radius: 5px;
	margin-top: -1px;
	/*border: 1px solid #f1f2f9;*/
}

.diapazon {
	width: 95px;
	font-size: 7px;
	height: 28px;
}

.ck-editor__editable {
	min-height: 120px;
}

.editable_comment {
	cursor: pointer;
}

.mention {
	font-weight: bold;
}

/*.modal-backdrop {
    visibility: hidden !important;
}
.modal.in {
    background-color: rgba(0,0,0,0.5);
}*/

.modal:after {
	content: "";
	display: block;
	background: rgba(0, 0, 0, .5);
	position: fixed;
	top: 0;
	bottom: 0;
	width: 100%;
	z-index: -1;
}

#notofications .card.rounded {
	box-shadow: 0px 0px 4px 0px #00000040;
	border-radius: 13px !important;
}

.filter_search_btn {
    min-width: 110px!important;
    padding: 0px;
}
.filter_search_btn span {
    margin-right: 3px;
}
.filter_search_btn_big span {
    margin-right: 3px;
}

@media (max-width:820px) {
	.table-responsive-md {
		/* display: table; */
	}

	.hide_on_mobile {
		display: none !important;
	}

	.text_center_mobile {
		text-align: center !important;
		margin-bottom: 10px;
	}

	/*.navbar-custom .col-lg-4 {
		-webkit-box-flex: 0!important;
		-ms-flex: auto!important;
		flex: auto!important;
		max-width: none!important;
	}*/

	/*.app-search {
		display: block;
	}*/


}


@media (max-width: 576px) {
	.modal-dialog {
		max-width: 95%;
		margin: 1.75rem auto;
	}
}


/* deny acces page */
#access_deny {
	overflow: hidden;
	font-size: 15px;
	margin: 0;
	padding: 0;
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

#access_deny .page_panel {
	width: 600px;
	margin: auto;
	background-color: #fff;
	border: 1px solid #ddd;
	border-radius: 4px;
	-webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, .05);
	box-shadow: 0 1px 1px rgba(0, 0, 0, .05);
	padding: 15px;
}

#access_deny .bfo_logo {
	margin: 30px;
}

#access_deny h2 {
	font-weight: bold;
	line-height: 1.1;
	font-size: 24px;
	color: #ff7271;
}

#access_deny p {
	color: #000000;
}

/*\\ deny acces page */

.side-nav .side-nav-link i {
	width: 10px;
}

.side-nav .side-nav-link {
	padding: 10px 15px;
}

.dropdown-item {
	cursor: pointer;
}

/* выравнивание по границам в чекбоксах */
#sortable .handle.ui-sortable-handle {
	margin-left: -5px;
}

.task_subtasks {
	padding-left: 20px;
	background: url(/assets/images/subtask.svg) 1px 50% no-repeat;
}

/**/
.add_limit_complete_tasks_fixed {
	position: fixed;
	bottom: 42px;
}

#add_limit_complete_tasks {
	width: 319px !important;
	margin-bottom: 3px;
}

#modal-files-agreement .media-body{
	max-width: 650px;
}
#modal-files-agreement .col.pl-0{
	max-width: 100%;
    overflow: auto;
    margin-right: 20px;
}


/* Отчет по задачам*/
.tabwrap {
  max-width: 1200px;
  margin: 0 auto;
}
.tabwrap table {
/*  width: 100%;*/
  border-collapse: collapse;
/*  font-family: 'Calibri', sans-serif;*/
  font-weight: 400;
  font-size: 14px;
  line-height: 1.2;
  color: #000000;
}

.tabwrap table thead th, .tabwrap table tfoot th, .tabwrap table thead td, .tabwrap table tfoot td {
	border: 1px solid #61656c;
    font-weight: 400;
    text-align: right;
    padding: 6px;
}

.tabwrap table thead tr th {
	text-align: center;
}

.tabwrap table tbody td  {
	border: 1px solid #BBC9DB;
    font-weight: 400;
    text-align: right;
    padding: 6px;
}


.tabwrap table th {
  text-align: left;
}
.tabwrap table .tac {
  text-align: center;
}
.tabwrap table tfoot {
  display: table-row-group;
}
.tabwrap table .tal {
  text-align: left;
  padding-left: 10px;
}
.tabwrap table .fwb {
  font-weight: bold;
}
/*.tabwrap table .row1 {
  width: 15.3%;
}
.tabwrap table .row2,
.tabwrap table .row3 {
  width: 150px;
}
.tabwrap table .row4,
.tabwrap table .row5,
.tabwrap table .row6, 
{
  width: 150px;
}

.tabwrap table .row8 {
  width: 16.2%;
}*/

.tabwrap tfoot {
	background-color: #313a46;
	border-color: #455160 !important;

	color: white;
}

.tabwrap thead {
	background-color: #313a46;
	border-color: #455160 !important;

	color: white;
}

.bg_sector {
	background-color: #cddaeb;
	color: black;
}

@media only screen and (max-width: 800px) {
  .tabwrap table {
    font-size: 14px;
  }
}
@media only screen and (max-width: 600px) {
  .tabwrap table {
    font-size: 12px;
  }
}
/* end Отчет по задачам*/


.red_user {
	background: #dc2222!important;
}

#table_report_tasks td.show_hide {
    cursor: pointer;
}

#table_report_tasks td.show_hide[data-action="showed"]::before {
    content: "▼";
}

#table_report_tasks td.show_hide[data-action="hidden"]::before {
    content: "►";
}

#codeigniter_profiler {
	margin-left: 300px;
}

#preloader_cal {
	margin-top: 150px;
	height: 40px;
	margin-bottom: 10px;
}

.report_top_menu .btn-outline-primary {
    white-space: nowrap;
    margin: 0 14px 8px 0;
}


#table_report_table1 {
	width: 1666px;
	    /* table-layout: fixed; */ 
}

#table_report_table1 td.show_hide[data-action="showed"]::before {
    content: "▼";
}

#table_report_table1 td.show_hide[data-action="hidden"]::before {
    content: "►";
}

#table_report_table1 td.show_hide {
    cursor: pointer;
}



#table_report_table2 {
	width: 1666px;
	    /* table-layout: fixed; */ 
}

#table_report_table2 td.show_hide[data-action="showed"]::before {
    content: "▼";
}

#table_report_table2 td.show_hide[data-action="hidden"]::before {
    content: "►";
}

#table_report_table2 td.show_hide {
    cursor: pointer;
}

.bg_portfolio {
	background: #7598c3;
	color: white;
}

.table_search tr>th {
    position: relative;
    padding-right: 30px;

    border-right: 1px solid #d5e1ed !important;
}

.table_search tr>th>a {
    position: absolute;
    right: 9px;
    margin-top: -14px;
    top: 50%;
} 


.page_search #documents_card {
	scroll-margin-top: 100px;
}

.page_search #tasks_card {
	scroll-margin-top: 100px;
}

.page_search #events_card {
	scroll-margin-top: 100px;
}

/* Правки 18 апреля */
body[data-leftbar-compact-mode="condensed"] .wrapper .left-side-menu .logo {
	background: transparent!important;
}

.navbar-custom {
	z-index: 1;
}

body[data-leftbar-compact-mode="fixed"] .content-page {
	margin-left: 70px;
}

body[data-leftbar-compact-mode="fixed"] .navbar-custom {
	left: 260px;
}

body[data-leftbar-compact-mode="fixed"] #user_info_top {
	display: none;
}

body[data-leftbar-compact-mode="condensed"] .navbar-custom {
	left: 70px;
}

body[data-leftbar-compact-mode="condensed"] #user_info_top {
	display: block;
}

.left-side-menu {
	z-index: 999;
}

.navbar-custom {
    z-index: 998;
}

/*.multiselect-container .multiselect-option:hover, .multiselect-container .multiselect-group:hover, .multiselect-container .multiselect-all:hover, .multiselect-container .multiselect-option:focus, .multiselect-container .multiselect-group:focus, .multiselect-container .multiselect-all:focus {
    background-color: white!important;
}

.multiselect-container .multiselect-option:hover, .multiselect-container .multiselect-group:hover, .multiselect-container .multiselect-all:hover, .multiselect-container .multiselect-option:focus, .multiselect-container .multiselect-group:focus, .multiselect-container .multiselect-all:focus {
    background-color: white!important;
    color: black!important;
}*/

@media (max-width: 1025px) {
    .button-menu-mobile.disable-btn {
        display: block!important;
    }
}
/* end Правки 18 апреля */

/* Аналитика 4 июня*/
#report_table_cleaned td {
	text-align: center!important;
}

#report_table_cleaned {
	width: auto;
	margin: 0 auto;
}

#report_table_cleaned th,
#report_table_cleaned td {
  width: 200px;  /* или любое фиксированное значение */
  max-width: 200px;
  white-space: normal; /* чтобы переносы работали */
  word-wrap: break-word; /* для переноса слов */
  text-align: center; /* по желанию выравнивание */
} 
/* end Аналитика 4 июня*/

.wrapper {
	overflow: auto!important;
}

.notification-list .nav-link {
	display: flex!important;
	align-items: center!important;
	height: 100%!important;
}

form[action="/crm/search/"] {
	margin-bottom: 0px;
}

.auto_message {
	color: #ff6e7e;
}

.my_ajax_cbx {
	display: none;
}

.fire_sub_task {
	background: #fff1f1;

	/* color: #fb5c7c;
	filter: invert(13%) sepia(95%) saturate(7471%) hue-rotate(4deg) brightness(98%) contrast(118%); */
}

.user_rule_projects_text {
	font-size: 12px!important;
} 

@media (max-width: 768px) {
    .filter_box {
		justify-content: center;
        flex-wrap: wrap;
        margin-bottom: 20px;
	}

	.dropdown-menu {
		max-height: 300px;
		overflow: hidden;
		overflow-y: auto;
	}

	.modal-dialog {
		max-width: 100%!important;
		width: 100%!important;
	}

	#codeigniter_profiler {
		display: none;
	}

	.board {
		zoom: 0.7;
		height: auto;
	}
}

/* =============================================== */
/* Стили для календаря отсутствий */
/* =============================================== */

/* Голубой цвет для отпуска */
.fc-event.bg-vacation {
    background-color: #87CEEB !important;
    border-color: #87CEEB !important;
    color: white !important;

	display: flex;
    align-content: center;
    align-items: center;
}

.fc-event.bg-vacation .fc-event-title,
.fc-event.bg-vacation .fc-event-time {
    color: white !important;
}


/* Розовый цвет для командировки */
.fc-event.bg-business-trip {
    background-color: #FF91A4 !important;
    border-color: #FF91A4 !important;
    color: white !important;

	display: flex;
    align-content: center;
    align-items: center;
}

.fc-event.bg-business-trip .fc-event-title,
.fc-event.bg-business-trip .fc-event-time {
    color: white !important;
}

/* Стили для прошедших отсутствий (немного темнее) */
.fc-event.bg-vacation.bg-passed {
    background-color: #6BB6E0 !important;
    border-color: #6BB6E0 !important;
    opacity: 0.8;
}

.fc-event.bg-business-trip.bg-passed {
    background-color: #FF91A4 !important;
    border-color: #FF91A4 !important;
    opacity: 1;
}

/* Убираем лишние стили для лучшей совместимости */
.fc-event.bg-vacation,
.fc-event.bg-business-trip {
    text-shadow: none !important;
    box-shadow: none !important;
}


a.fc-type-vacation {
	background-image: url("data:image/svg+xml;base64,PCFET0NUWVBFIHN2ZyBQVUJMSUMgJy0vL1czQy8vRFREIFNWRyAxLjEvL0VOJyAnaHR0cDovL3d3dy53My5vcmcvR3JhcGhpY3MvU1ZHLzEuMS9EVEQvc3ZnMTEuZHRkJz48IS0tIFVwbG9hZGVkIHRvOiBTVkcgUmVwbywgd3d3LnN2Z3JlcG8uY29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0LDcuMTNjMzEuMDI0LTY2LjExMywyMS4yNjgtMTMzLjc3OS0yMi4yMi0xNzMuMjYxYzI3LjQyLDkuMDQyLDQ5LjgyOSwzMS4wOTEsNjcuMjg4LDU2LjMxNCBsMjAuODIyLDQuNDdsLTMuODc4LDIzLjQ3M2MxNC42MTEsMjcuNzgsMjMuNTc2LDU1LjI4NiwyNi43NzcsNzEuMDU1YzEuMjYsNi4yMTEsNC41NTUsMTAuMjYxLDguNTI4LDMuMTkyIGMyMy42Ny00Mi4xMjQsMjYuNzI1LTEyMi45Ni0xNi4wNTItMTY3LjIxMmMtMzMuMTY4LTM0LjMtOTEuNjg4LTM2LjU1OC0xMjcuNzI5LTI3LjA1MWMyMy42NjEtMzkuNzgzLDg2Ljk2OS00Mi43NDMsODYuOTY5LTQyLjc0MyBTNDA1LjgwMywxMDguMzQsNDA4LDEwNS4wNDVjMi4xOTYtMy4yOTQsMTQuMjc2LDIyLjQ2MiwxNC4yNzYsMjIuNDYybDYzLjc0NSwyNi4wMzhjMCwwLDguMTg0LDUuNTk1LDkuNzgtMy45MTIgQzQ5Ni43NjIsMTQzLjg5Myw0OTcuMzQ1LDEzNS4wNDgsNDkzLjY1NiwxMjQuMjl6Jy8+PC9nPjwvZz48L3N2Zz4=")!important;
	background-size: 17px!important;
}

a.fc-type-business-trip {
	background-image: url("data:image/svg+xml,%3C!DOCTYPE svg PUBLIC '-//W3C//DTD SVG 1.1//EN' 'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3E%3C!-- Uploaded to: SVG Repo, www.svgrepo.com, Transformed by: SVG Repo Mixer Tools --%3E%3Csvg width='64px' height='64px' viewBox='0 0 32 32' version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' xmlns:sketch='http://www.bohemiancoding.com/sketch/ns' fill='%23000000'%3E%3Cg id='SVGRepo_bgCarrier' stroke-width='0'/%3E%3Cg id='SVGRepo_tracerCarrier' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cg id='SVGRepo_iconCarrier'%3E%3Ctitle%3Eairplane%3C/title%3E%3Cdesc%3ECreated with Sketch Beta.%3C/desc%3E%3Cdefs%3E%3C/defs%3E%3Cg id='Page-1' stroke='none' stroke-width='1' fill='none' fill-rule='evenodd' sketch:type='MSPage'%3E%3Cg id='Icon-Set-Filled' sketch:type='MSLayerGroup' transform='translate(-310.000000, -309.000000)' fill='%23ffffff'%3E%3Cpath d='M341.207,309.82 C339.961,308.57 337.771,308.863 336.518,310.119 L330.141,316.481 L318.313,312.061 C317.18,311.768 316.039,311.389 314.634,312.798 C313.917,313.516 312.427,315.01 314.634,317.221 L322.744,323.861 L317.467,329.127 L312.543,327.896 C311.813,327.708 311.321,327.855 310.946,328.269 C310.757,328.505 309.386,329.521 310.342,330.479 L316.067,334.933 L320.521,340.658 C321.213,341.352 321.856,340.919 322.735,340.084 C323.292,339.526 323.172,339.239 323.004,338.426 L321.892,333.536 L327.133,328.277 L333.763,336.389 C335.969,338.6 337.46,337.105 338.177,336.389 C339.583,334.979 339.205,333.837 338.912,332.702 L334.529,320.854 L340.88,314.481 C342.133,313.226 342.454,311.069 341.207,309.82' id='airplane' sketch:type='MSShapeGroup'%3E%3C/path%3E%3C/g%3E%3C/g%3E%3C/g%3E%3C/svg%3E")!important;

	background-size: 17px!important;
}

.navbar-custom .topbar-right-menu .nav-link {
	margin: 0 7px;
}

@media (max-width: 1024px) {
	.my_tasks_btn a.btn {
		padding: 8px 8px;
		font-size: 12px;
	}

	.calendar_page .multiselect-native-select .btn-group {
		max-width: 120px;
	}

	.my_page_title {
		display: none;
	}
}


@media (min-width: 768px) and (max-width: 1024px) {
	.calendar_page .filter_box {
		margin-left: -90px;
	}
}

.page-item.active .page-link {
	z-index: 1!important;
}

.priority_block {
	margin-top: 10px;
}

.right_btns a {
	padding: 5px 8px;
}

.list_view .table-responsive-md {
	display: table!important;
}

.id_task_div {
	margin-top: 11px;
}