

body
{
	background: #667380;
}


#menu_context
{
	
	box-shadow: 3px 3px 5px #888888;
	border-style: solid;
	border-width: 1px;
	border-color: grey;
	border-radius: 2px;
	padding-left: 5px;
	padding-right: 5px;
	padding-top: 3px;
	padding-bottom: 3px;
	position: fixed;
	z-index:1000000;display: none;
	background: #3a4651;
    color: #FFF;
    padding: 7px 5px;
}

.menu_context-item
{
	padding: 3px 10px;
}

.menu_context-item:hover
{
	background-color: #85ce36;
	cursor: pointer;
}


/*
.zForm .chosen-container
{

	position: relative !important; 
}


.zForm .chosen-container.chosen-with-drop .chosen-drop
{
	left:unset !important;
}

.zForm .chosen-container a.chosen-single
{
	height: 40px !important;
	padding-top: 7px;
}

.zForm .chosen-drop
{
	width:unset !important; 
	top:unset !important; 

}
*/

.zForm .chosen-container a.chosen-single
{
	height: 40px !important;
	padding-top: 7px;
}

.zForm .datepicker .picker-switch
{
	background: #3a4651;
    color: #FFF;
}
.zForm .datepicker .picker-switch:hover
{
	background: #6f6f6f;
    color: #FFF;
}
.zForm .datepicker .day.active
{
	background-color: #85ce36 !important;
}

.zForm .datepicker .day:hover
{
	border-radius: 0px;
}

.z_panel
{
	background: #3a4651;
	color: #FFF;
	height: 100%;
    padding: 10px 0 0 16px;
}

.z_panel_flex.dark
{
	background: #2d363f;	
}

.z_panel_flex
{
	background: #3a4651;
	color: #FFF;
	display: flex;
	flex-direction: column;
	height: 100%;
	justify-content: center;
	align-items: center;
}

z_js:not(.crm_js_inited), .crm_js{
	color: rgba(0,0,0,0);
}
/*//Article View*/
.item-page 
{
	background: #FFF;
	margin: auto;
    width: 800px;
    padding: 20px;
	margin-top: 50px;
}
html {
  scroll-behavior: smooth;
}

.red{color: #FB494D;}
.redd{color: #a93134;}
.orange{color: #FE7A0E;}
.oranged{color: #FE7A0E;}
.green{color: #8CDE33;}
.greend{color: #4d7b1a;}
.sgreen{color: #4bcf99;}
.sgreend{color: #4bcf99;}
.blue{color: #52BCD3;}
.blued{color: #52BCD3;}
.purpul{color: #7867A7;}
.purpuld{color: #7867A7;}

h4.item-title  a
{
	text-decoration: none;
}
.view-dropdown-menu
{
	font-size: 12px;
	padding: 10px;
}

.set_item
{
	display: none;
}

.display_none
{
	display:none;
}


.z_selected_tr
{
	background: #85CE36 !important;
	color: #FFF;
}

.z_selected_tr a {
    color: #FFF !important;
}



.doc_value
{
	border: 1px dashed #000;
}
#new_profile_insert_form .form-group
{
	margin-bottom:10px;
}

span.ms_v
{
	background: #DDD;
    padding: 3px 6px;
    border-radius: 2px;
	margin-right: 4px;
}


.warning_record 
{
	color: #212529;
    background-color: #fe8125 !important;
    border-color: #fe7a18;
}

.error_record
{
	color: #fff;
    background-color: #FF4444 !important;
    border-color: #FF4444;
}



.loader {
	display:none;
	position: fixed; /* or absolute */
	top: 50%;
	left: 50%;
	border: 16px solid #f3f3f3;
	border-radius: 50%;
	border-top: 16px solid rgb(133, 206, 54);
	border-bottom: 16px solid rgb(133, 206, 54);
	width: 120px;
	height: 120px;
	-webkit-animation: spin 1.5s linear infinite;
	animation: spin 1.5s linear infinite;
}

@-webkit-keyframes spin {
	0% { -webkit-transform: rotate(0deg); }
	100% { -webkit-transform: rotate(360deg); }
}

@keyframes spin {
	0% { transform: rotate(0deg); }
	100% { transform: rotate(360deg); }
}

.Dias-table-item,
.Dias-params-box h5,
.Dias-params-box p{
	font-size: .9rem;
}
.Dias-params-box span{
	font-size: .8rem;
}

.Dias-table-header{
	box-shadow: 0px 3px 10px -3px rgba(0,0,0,.1);
	position: relative;
}
.Dias-table-body{
	height: 430px;
	overflow-y: scroll;
	overflow-x: hidden;
}
.Dias-table-body .item-row{
	padding: 0 0 0  15px;
}
.Dias-table-item{
	overflow-wrap: break-word;  /* не поддерживает IE, Firefox; является копией word-wrap */
	word-wrap: break-word;
	line-break: auto;  /* нет поддержки для русского языка */
	hyphens: manual;
	padding: 10px 0px;
	/*max-height: 500px;*/
}

*, ::after, ::before{
	box-sizing: none;
}

.Dias-params-box h5{
	display: inline-block;
	font-weight: 600;
	margin: 0;
	margin-top: 15px;
}
.Dias-params-box p{
	margin-left: 50px;
	margin-top: 5px;
	margin-bottom: 30px;
}

@media(min-width: 1400px){
	.Dias-table-body{
		height: 673px;
	}
}

/*
.switch_area
{
	display:inline-table; 
	width:100%;
	margin:10px 0;
}

.switch_area .switch_button
{
	display:table-cell; 
	width:50%;
	background:#BBB;
	color:#777;
	padding:10px;
	text-align:center;
	cursor:pointer;
	border:1px solid #999;
}

.switch_area .switch_button.deactive
{
	background:#EEE;
	color:#000;
}

.switch_area .switch_button.first
{
	border-radius:5px 0 0 5px;
}

.switch_area .switch_button.last
{
	border-radius:0px 5px 5px 0px;
}

.input-group .form-control
{
	z-index:0;
}



.input-group-btn:last-child>.btn, .input-group-btn:last-child>.btn-group
{
	z-index:0;
}

.sub_topnavigation_content
{
	width:100%;
	
	background:#333;
}
*/
.editable-cell
{
	border-bottom: 1px rgba(255,255,255,0) dashed;
    cursor: pointer;
}

.editable-cell-over:not([nf="1"])
{
	border-bottom: 1px #BBB dashed;
    cursor: pointer;
}
/*
.panel,
.panel-heading
{
	border-radius:0px;
}

.panel-success>.panel-heading
{
	color: #555;
    background-color: #c7ffa7;
    border-color: #555;
}

.panel-primary>.panel-heading {
    color: #fff;
    background-color: #337ab7;
    border-color: #FFF;
}

.panel-info>.panel-heading {
    color: #31708f;
    background-color: #d9edf7;
    border-color: #31708f;
}

.form-control
{
	border-radius:0px;
}

#wrapper
{
	
}
*/

.shaddowed
{
	box-shadow:#000 0 0 4px;
}

.pointer
{
	cursor:pointer;
}
/*
.navbar-fixed-bottom, .navbar-fixed-top
{
	z-index:2;
}

.breadcrumb
{

	border-radius:0;

}

#main-page-header
{
	margin:45px 0 20px 10px;
}
*/
.chosen-container a.chosen-single
{
	background:#fff;
	border-radius:0px;
	height:34px;
	color:#555;
	padding: 4px 10px;
}

.chosen-container-single .chosen-single div
{
	padding-top:5px;
}

.inline-table
{
	display:inline-table;
	width:100%;
}

.table-row
{
	display:table-row;
}

div.table-cell
{
	display:table-cell;
	padding:5px;
	vertical-align: middle;
}


.nopadding
{
	padding:0px;
}

.nomargin
{
	margin:0px;
}

.font20px{font-size:20px;}

.cell-5px{width:5px; min-width:5px;}
.cell-10px{width:10px; min-width:10px;}
.cell-15px{width:15px; min-width:15px;}
.cell-20px{width:20px; min-width:20px;}
.cell-25px{width:25px; min-width:25px;}
.cell-30px{width:30px; min-width:30px;}
.cell-35px{width:35px; min-width:35px;}
.cell-40px{width:40px; min-width:40px;}
.cell-45px{width:45px; min-width:45px;}
.cell-50px{width:50px; min-width:50px;}
.cell-55px{width:55px; min-width:55px;}
.cell-60px{width:60px; min-width:60px;}
.cell-65px{width:65px; min-width:65px;}
.cell-70px{width:70px; min-width:70px;}
.cell-75px{width:75px; min-width:75px;}
.cell-80px{width:80px;}
.cell-85px{width:85px;}
.cell-90px{width:90px;}
.cell-95px{width:95px;}
.cell-100px{width:100px;}
.cell-105px{width:105px;}
.cell-110px{width:110px;}
.cell-115px{width:115px;}
.cell-120px{width:120px;}
.cell-125px{width:125px;}
.cell-130px{width:130px;}
.cell-135px{width:135px;}
.cell-140px{width:140px;}
.cell-145px{width:145px;}
.cell-150px{width:150px; min-width:150px;}
.cell-155px{width:155px;}
.cell-160px{width:160px;}
.cell-165px{width:165px;}
.cell-170px{width:170px;}
.cell-175px{width:175px;}
.cell-180px{width:180px;}
.cell-185px{width:185px;}
.cell-190px{width:190px;}
.cell-195px{width:195px;}
.cell-200px{width:200px;}
.cell-205px{width:205px;}
.cell-210px{width:210px;}
.cell-215px{width:215px;}
.cell-220px{width:220px;}
.cell-225px{width:225px;}
.cell-230px{width:230px;}
.cell-235px{width:235px;}
.cell-240px{width:240px;}
.cell-245px{width:245px;}
.cell-250px{width:250px;}
.cell-255px{width:255px;}
.cell-260px{width:260px;}
.cell-265px{width:265px;}
.cell-270px{width:270px;}
.cell-275px{width:275px;}
.cell-280px{width:280px;}
.cell-285px{width:285px;}
.cell-290px{width:290px;}
.cell-295px{width:295px;}
.cell-300px{width:300px;}
.cell-310px{width:310px;}
.cell-320px{width:320px;}
.cell-330px{width:330px;}
.cell-340px{width:340px;}
.cell-350px{width:350px;}
.cell-360px{width:360px;}
.cell-370px{width:370px;}
.cell-380px{width:380px;}
.cell-390px{width:390px;}
.cell-400px{width:400px; min-width:400px;}
.cell-500px{width:500px; min-width:500px;}
.cell-510px{width:510px;}
.cell-520px{width:520px;}
.cell-530px{width:530px;}
.cell-540px{width:540px;}
.cell-550px{width:550px;}
.cell-560px{width:560px;}
.cell-570px{width:570px;}
.cell-580px{width:580px;}
.cell-590px{width:590px;}
.cell-600px{width:600px;}
.cell-610px{width:610px;}
.cell-620px{width:620px;}
.cell-630px{width:630px;}
.cell-640px{width:640px;}
.cell-650px{width:650px;}
.cell-660px{width:660px;}
.cell-670px{width:670px;}
.cell-680px{width:680px;}
.cell-690px{width:690px;}
.cell-700px{width:700px;}
.cell-710px{width:710px;}
.cell-720px{width:720px;}
.cell-730px{width:730px;}
.cell-740px{width:740px;}
.cell-750px{width:750px;}
.cell-760px{width:760px;}
.cell-770px{width:770px;}
.cell-780px{width:780px;}
.cell-790px{width:790px;}
.cell-800px{width:800px;}
.cell-810px{width:810px;}
.cell-820px{width:820px;}
.cell-830px{width:830px;}
.cell-840px{width:840px;}
.cell-850px{width:850px;}
.cell-860px{width:860px;}
.cell-870px{width:870px;}
.cell-880px{width:880px;}
.cell-890px{width:890px;}
.cell-900px{width:900px;}
.cell-910px{width:910px;}
.cell-920px{width:920px;}
.cell-930px{width:930px;}
.cell-940px{width:940px;}
.cell-950px{width:950px;}
.cell-960px{width:960px;}
.cell-970px{width:970px;}
.cell-980px{width:980px;}
.cell-990px{width:990px;}
.cell-1000px{width:1000px;}
.cell-1010px{width:1010px;}
.cell-1020px{width:1020px;}
.cell-1030px{width:1030px;}
.cell-1040px{width:1040px;}
.cell-1050px{width:1050px;}
.cell-1060px{width:1060px;}
.cell-1070px{width:1070px;}
.cell-1080px{width:1080px;}



@media (max-width:450px)
{
	.hidden-x450
	{
		display:none;
	}
}


#es_temp_window .form_button
{
	min-width:100px; 
	margin-top:10px;
	margin-right:10px;
}

#sidebar_nav_button
{
	cursor:pointer;
}

textarea.form-control
{
	font-size:16px;
}

.hidden, .select_values, .datetime_value
{
	display:none;
}

.text_area_value
{
	width:100%;
	min-height:200px;
	resize:none;
	cursor:pointer;
	border:none;
	box-shadow:none;
	border-radius:none;
}

table
{
	border:none;
	font-size:inherit;
}


.div-default {
  border-color: #ddd;
  color: #333;
  background-color: #f5f5f5;
  border-color: #ddd;
}
.div-primary {
  border-color: #337ab7;
  color: #fff;
  background-color: #337ab7;
  border-color: #337ab7;
}
.div-success {
  border-color: #d6e9c6;
  color: #3c763d;
  background-color: #c7ffa7;
  border-color: #d6e9c6;
}
.div-info {
  border-color: #bce8f1;
  color: #31708f;
  background-color: #d9edf7;
  border-color: #bce8f1;
}
.div-warning {
  border-color: #faebcc;
  color: #8a6d3b;
  background-color: #fcf8e3;
  border-color: #faebcc;
}
.div-danger {
  border-color: #ebccd1;
  color: #a94442;
  background-color: #f2dede;
  border-color: #ebccd1;
}

.error_title
{
	color:#FB494D;
}

div.form-group.error_element
{
	box-shadow:#F00 0 0 4px;
}

button.btn
{
	border-radius:0px;
}

span.input-group-addon
{
	border-radius:0px;
}

select.table_filter_select
{
/*	background: none;
    border: medium none;
    margin-top: -20px;
	width:100%;
	height:25px;
	display:block;*/
	font-size: 12px;
}

.form-group.table_filter_text
{
	font-size: 11px;
	padding: 0px 4px;
}

table thead.with_filters tr th
{
	vertical-align:top;
}


div.list-group-item
{
	color:#555;
}

div.list-group-item:hover
{
	background:#f5f5f5;
}

.text_filter_button
{
	cursor:pointer;
}

.pointer
{
	cursor:pointer;
}




/*TREEE*/

.fa, .glyphicon{
    margin-right: 5px;
}
.tree, .tree ul {
    margin:0;
    padding:0;
    list-style:none
}
.tree ul {
    margin-left:1em;
    position:relative
}
.tree ul ul {
    margin-left:.5em
}

.tree ul:before 
{
    content:"";
    display:block;
    width:0;
    position:absolute;
    top:0;
    bottom:0;
    left:0;
    border-left:1px solid
}
.tree li {
    margin: 0;
    padding: 0 1em;
    line-height: 2em;
    color: #337ab7;
    position: relative;
}
.tree ul li:before {
    content:"";
    display:block;
    width:10px;
    height:0;
    border-top:1px solid;
    margin-top:-1px;
    position:absolute;
    top:1em;
    left:0
}
.tree ul li:last-child:before {
    background:#fff;
    height:auto;
    top:1em;
    bottom:0
}

.tree li a {
    text-decoration: none;
    color:#369;
}
.tree li button, .tree li button:active, .tree li button:focus {
    text-decoration: none;
    color:#369;
    border:none;
    background:transparent;
    margin:0px 0px 0px 0px;
    padding:0px 0px 0px 0px;
    outline: 0;
}

.tree li a:hover{
    text-decoration: underline;
}


.negative_amount, .negative_sign
{
	color:#F00;
}

.opa5
{
	opacity:0.5;
}

.bold
{
	font-weight:bold;
}

.badge
{
	border-radius:3px;
}

/****************************Zoomiya.com************************/

.table  .item-title {
    margin: 0;
    font-size: inherit;
    line-height: inherit;
    font-weight: 600;
}

.cell_value i.fa
{
	line-height: 25px;
}

.bootstrap-datetimepicker-widget table td.active, .bootstrap-datetimepicker-widget table th,
input.form-control
{
	border-radius:0px;
}

div.bootstrap-datetimepicker-widget table td.day,
div.bootstrap-datetimepicker-widget table th
{
	line-height:40px;
}


/*****************/

.branch_el
{
	width:100%;
	background-color: none;
	border: 1px solid #ddd;
	padding: 10px;
	padding-left: 22px;
	font-size:12px;
	display:inline-table;
	margin-top: -1px;

}

.branch_el:hover
{
	background-color: #F5F5F5;
}

.level_margin
{
	display:table-cell;
	text-align: right;
	padding-right: 10px;
}

.group_set_btn
{
	display:table-cell;
	width:15px;
	font-size:14px;
}

.group_set_sub_btn
{
	position: absolute;
	margin-left: -104px;
	background: rgba(0,0,0,0.5);
	padding: 6px 6px 6px 6px;
	border-radius: 3px;
	margin-top: -21px;
	color: #FFF;
	font-size: 18px;
}

.group_set_sub_btn i
{
	margin:0px 6px;
	cursor:pointer;
}

.commit_changes
{
	cursor: pointer;
}

.wickedpicker{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index: 9999;box-shadow:0 0 0 1px rgba(14,41,57,.12),0 2px 5px rgba(14,41,57,.44),inset 0 -1px 2px rgba(14,41,57,.15);background:#fefefe;margin:0 auto;border-radius:.1px;width:270px;height:130px;font-size:14px;display:none}.wickedpicker__title{background-image:-webkit-linear-gradient(top,#fff 0,#f2f2f2 100%);position:relative;background:#f2f2f2;margin:0 auto;border-bottom:1px solid #e5e5e5;padding:12px 11px 10px 15px;color:#4C4C4C;font-size:inherit}.wickedpicker__close{-webkit-transform:translateY(-25%);-moz-transform:translateY(-25%);-ms-transform:translateY(-25%);-o-transform:translateY(-25%);transform:translateY(-25%);position:absolute;top:25%;right:10px;color:#34495e;cursor:pointer}.wickedpicker__close:before{content:'\00d7'}.wickedpicker__controls{padding:10px 0;line-height:normal;margin:0}.wickedpicker__controls__control,.wickedpicker__controls__control--separator{vertical-align:middle;display:inline-block;font-size:inherit;margin:0 auto;width:35px;letter-spacing:1.3px}.wickedpicker__controls__control-down,.wickedpicker__controls__control-up{color:#34495e;position:relative;display:block;margin:3px auto;font-size:18px;cursor:pointer}.wickedpicker__controls__control-up:before{content:'\e800'}.wickedpicker__controls__control-down:after{content:'\e801'}.wickedpicker__controls__control--separator{width:5px}.text-center,.wickedpicker__controls,.wickedpicker__controls__control,.wickedpicker__controls__control--separator,.wickedpicker__controls__control-down,.wickedpicker__controls__control-up,.wickedpicker__title{text-align:center}.hover-state{color:#3498db}@font-face{font-family:fontello;src:url(../fonts/fontello.eot?52602240);src:url(../fonts/fontello.eot?52602240#iefix) format("embedded-opentype"),url(../fonts/fontello.woff?52602240) format("woff"),url(../fonts/fontello.ttf?52602240) format("truetype"),url(../fonts/fontello.svg?52602240#fontello) format("svg");font-weight:400;font-style:normal}.fontello-after:after,.fontello:before,.wickedpicker__controls__control-down:after,.wickedpicker__controls__control-up:before{font-family:fontello;font-style:normal;font-weight:400;speak:none;display:inline-block;text-decoration:inherit;width:1em;margin-right:.2em;text-align:center;font-variant:normal;text-transform:none;line-height:1em;margin-left:.2em;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}