/*      ОБЩИЕ   */
body { font-size: 0.9rem;}
@import url("https://netdna.bootstrapcdn.com/font-awesome/4.1.0/css/font-awesome.min.css");
@media handheld and (max-width: 768px) {
    body { font-size: 0.4rem!important;
    }
}
@media screen and (max-width: 1280px) {
body {font-size:0.7em!important;}
}

/*      ШАПКА   */
.header { width: 100%; background-color: #2587dc; color: #fff; font-weight: bold; }
.header > * { display: inline-block; padding:0.8% 1%; }
.language{ float: right; }
.language a{ cursor: pointer; color: #fff; font-weight: bold; }
.language a:hover{ opacity: 0.8; text-decoration: none;}

/*      ВХОД В СИСТЕМУ ???  */
.window > div { background-color: #dbdbdb; margin: 15% auto 0; width: 600px; position: relative; height: 270px; }
.window-2 > div { height: 200px;}
.header_login { height: 40px; width: 100%; background-color: #2587dc; font-weight: bold; padding: 1.5% 2%; color: #fff; }
.window form label { position: relative; width: auto; height: auto; padding: 10px 2% 5px; float: left; font-weight: bold; }
.window form input { padding: 1%; margin: 0 2%; width: 96%!important; }
.window h2 { font-size: 1em; font-weight: bold; text-align: center; margin-bottom: 2rem; }
.all_buttons { width: 100%; text-align: center; }
.window button { width: auto; display: inline-block; margin: 20px 2%; padding: 5px 45px; font-size: 1rem; border-radius: 1px; color: #fff; }
.window-1 button { display: block; margin: 20px auto; }
.window button.btn_close { background-color: #9a9a9a; border-color: #9a9a9a; }
.window button.btn_close:hover { background-color: #656565; border-color: #656565; }
.window .forget_password { font-weight: normal; margin: -3% 39%; cursor: pointer; }
.window .forget_password:hover { opacity: 0.7; }

/*      НУТРОМ ЧУЮ, НЕ Я ЭТО ПИСАЛА     */
#menu h2 { font-size: 1em; text-transform: uppercase; padding: 5px 10px; }
#template img { margin: 5px 20px 0 0; float: left; }
#template { width: 380px; }
#template ol { float: left; margin: 0 0 0 30px; padding: 10px 10px 0 10px; }
#template:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; }
#template .k-button { float: left; clear: left; margin: 5px 0 5px 12px; }

/*  МЕНЮ    */
.navbar { border-radius: 0 !important; padding: 0 !important; width:100%!important; }
.menu_style { left: 0; right: 0; width: auto; background-color: #35373d; }
.menu_style #menu { background-color: #35373d; }
.menu_style #menu .menu_style_li { position: static !important; color: #fff!important;}
.menu_style #menu .menu_style_li > span { font-size: 0.8rem; line-height: 2 !important; padding: 0.5em 1em !important; }
.menu_style #menu .menu_style_li > div { width: auto !important; left: 0 !important; right: 0 !important;  }
.home_style { font-size: 0.8rem; line-height: 2 !important; padding: 0.5em 1em!important; }
.home_style:before { content: ""; display: inline-block; width: 14px; height: 13px; background-image: url(/static/images/home_ico.png); }
.menu_style #menu .menu_2_style { width: 100%; border:none!important; background-color: #ebebeb!important; }
.menu_style #menu .menu_2_style > span { display: block; width: 18%; float:left; line-height: 2; padding:1%; }
.menu_style #menu .menu_2_style ul { list-style:none; padding-left:44px; }
.menu_style #menu .menu_2_style > span:before { content: ""; display: inline-block; width: 14px; height: 14px; margin-right: 10px; margin-bottom: -1px; background-repeat: no-repeat; }
.ico_menu_order_outfit:before { background-image: url(/static/images/menu_ico_01.png); }
.ico_menu_directory:before { background-image: url(/static/images/menu_ico_02.png); }
.ico_menu_time:before { background-image: url(/static/images/menu_ico_03.png); }
.ico_menu_outsourcing:before { background-image: url(/static/images/menu_ico_04.png); }
.ico_menu_other:before { background-image: url(/static/images/menu_ico_05.png); }

/*  ОШИБКА  */
#body .error_style { background-color: red; }
.err_box { position: relative; }
.alert + .close_err{ background-image: url(/static/images/close_err.png); width: 15px; height: 15px; background-repeat: no-repeat; position: absolute; z-index: 9999; top:10px; right:10px; }
.alert + .close_err:hover { opacity: 0.7; cursor: pointer;}


.menu_config > ul { background-color: #fff; font-size: 0.8rem;}
.menu_config > ul > li { background-color: #dbdbdb!important; padding: 0!important; margin: 6px 10px; border-bottom-width: 0!important; }
.menu_config > ul > li > span { padding:6px 12px!important; margin: 6px 12px!important; color: #303030!important; text-transform: none; }

/*      ТАБЛИЦЫ        */
.table_style { border: none!important; }
body #company > div:first-child { background-color: #fff; padding:0; }
body #company > div:first-child > a { background-color: #2587dc; margin: 5px!important; font-size: 0.8rem; float: right; border: none; color: #fff; text-transform: none; font-weight: 600; border-radius: 0;}
body #company > div:first-child > a:hover { opacity: 0.6; cursor: pointer; }
body #company > div:first-child > a > span { display: none;}

body .table_style table th { background-color: #35373d!important; color: #fff!important; font-weight: 500!important; font-size:0.8rem; }


/*      КОМПАНИИ        */

body #company > div:last-child { position: fixed; bottom: 0; width: 100%; }
body #company > div > table tr > td:first-child a:before, body #company > div > table tr > td:first-child a { color: #2587dc; opacity: 1; }
body #company tr.k-master-row td { padding: 0 10px; border-bottom-width: 1px; }
body #company tr.k-master-row td.k-command-cell { text-align: center; }
body #company tr.k-master-row td.k-command-cell .k-i-edit:before { content: ""; display: inline-block; width: 18px; height: 18px; background-repeat: no-repeat; background-image: url(/static/images/edit_com.png);  }
body #company tr.k-master-row td.k-command-cell .k-i-delete:before { content: ""; display: inline-block; width: 18px; height: 18px; background-repeat: no-repeat; background-image: url(/static/images/delete_com.png);  }
body #company tr.k-master-row td.k-command-cell a { border:none; box-shadow: none; background: none; width: auto; min-width: 0; padding:8px; }
body #company tr.k-master-row td.k-command-cell a:hover { opacity: 0.6; cursor: pointer; }

body .k-detail-cell { padding: 10px 0!important;}
body .k-detail-cell > div > div > ul, body .k-detail-cell > div > div > ul li,
body .k-listview-content > div > div > ul, body .k-listview-content > div > div > ul li { background-color: transparent; border-width: 0!important;}
body .k-detail-cell > div > div,
body .k-listview-content > div > div { background-color: transparent; }
body .k-detail-cell > div > div > ul li,
body .k-listview-content > div > div > ul li { background-color: transparent!important; }
body .k-detail-cell > div > div > ul li:hover,
body .k-listview-content > div > div > ul li:hover { opacity: 0.6; cursor: pointer; }
body .k-detail-cell > div > div > ul li .k-loading.k-complete,
body .k-listview-content > div > div > ul li .k-loading.k-complete { border-width: 0!important; }
body .k-detail-cell > div > div > ul li span,
body .k-listview-content > div > div > ul li span { padding: 8px 14px!important; background-color: #737373; color: #fff!important; margin: 5px 5px 0 0!important; font-size: 0.7rem; float: right; border: none; text-transform: none; font-weight: 600; border-radius: 0;}
body .k-detail-cell > div, body .k-detail-cell > div > div,
body .k-listview-content > div, body .k-listview-content > div > div  { border-width: 0!important; }

body .k-detail-cell .k-tabstrip-wrapper > div > div{ padding: 0!important; }
body .k-detail-cell .k-tabstrip-wrapper > div > div > div > div > div > div:first-child > a { background-color: #737373!important; margin: 5px!important; font-size: 0.8rem; float: right; border: none; color: #fff; text-transform: none; font-weight: 600; border-radius: 0; }
body .k-detail-cell .k-tabstrip-wrapper > div > div > div > div > div > div:first-child { background-color: #fff; padding:0; }
body .k-detail-cell .k-tabstrip-wrapper > div > div > div > div > div > div:first-child > a:hover { opacity: 0.6; cursor: pointer; }
body .k-detail-cell .k-tabstrip-wrapper > div > div > div > div > div > div:first-child > a > span { display: none;}
body .k-detail-cell .k-tabstrip-wrapper > div > div, body .k-detail-cell .k-tabstrip-wrapper > div > div > div, body .k-detail-cell .k-tabstrip-wrapper > div > div > div > div{ border-width: 0!important; }

body #company .k-i-edit:before { content: ""; display: inline-block; width: 18px; height: 18px; background-repeat: no-repeat; background-image: url(/static/images/edit_com.png);  }
body #company .k-i-delete:before { content: ""; display: inline-block; width: 18px; height: 18px; background-repeat: no-repeat; background-image: url(/static/images/delete_com.png);  }
body #company .k-i-otpr_pass:before { content: ""; display: inline-block; width: 18px; height: 18px; background-repeat: no-repeat; background-image: url(/static/images/email_sotr.png);  }
body #company .k-i-smen_pass:before { content: ""; display: inline-block; width: 18px; height: 18px; background-repeat: no-repeat; background-image: url(/static/images/edit3_com.png);  }
body #company td.k-command-cell { text-align: center; }
body #company td.k-command-cell a { border:none; box-shadow: none; background: none; width: auto; min-width: 0; padding:8px; }
body #company td.k-command-cell a:hover { opacity: 0.6; cursor: pointer; }
body #company .k-detail-cell td { padding: 0em 0.6em; font-weight: normal; }

body #company .k-detail-cell td button { background-color: #2587dc!important; margin: 5px!important; font-size: 0.8rem; float: right; border: none; color: #fff; text-transform: none; font-weight: 600; border-radius: 0; }
body #company .k-detail-cell td button:hover { opacity: 0.6; cursor: pointer; }

body #company .k-master-row.k-grid-edit-row td, body #company .k-grid-content.k-auto-scrollable .k-grid-edit-row td { padding: 0.4em 0.6em;!important; vertical-align: top!important;}

body #company .k-master-row.k-grid-edit-row td.k-command-cell > a { border:none; box-shadow: none; background: none; width: auto; min-width: 0; padding:8px; }
body #company .k-master-row.k-grid-edit-row td.k-command-cell > a:hover { opacity: 0.6; cursor: pointer; }
body #company .k-master-row.k-grid-edit-row td.k-command-cell > a > span { width: 18px!important; height: 18px!important; opacity: 1!important; }
body #company .k-master-row.k-grid-edit-row td.k-command-cell > a:first-child > span:before { content: ""; display: inline-block; width: 18px; height: 18px; background-repeat: no-repeat; background-image: url(/static/images/okey.png); }
body #company .k-master-row.k-grid-edit-row td.k-command-cell > a:last-child > span:before { content: ""; display: inline-block; width: 18px; height: 18px; background-repeat: no-repeat; background-image: url(/static/images/cancel.png); }
body #company .k-master-row.k-grid-edit-row tr[role="presentation"] {display:none!important;}
body #company .k-master-row.k-grid-edit-row input[type="checkbox"] {width:16px!important;
    /*border-color:#2587dc!important; background-color: #2587dc!important;*/
}

body #company .k-detail-row .k-detail-cell:focus, body #company .k-detail-row .k-detail-cell > div:focus, body #company .k-detail-row .k-detail-cell > div > div:focus { border-width: 0!important; box-shadow: none!important; }
body #company .k-editor-toolbar-wrap * { opacity: 1; }

body #company .k-detail-cell .k-grid-content.k-auto-scrollable td.k-command-cell:last-child > a { border:none; box-shadow: none; background: none; width: auto; min-width: 0; padding:8px; }
body #company .k-detail-cell .k-grid-content.k-auto-scrollable td.k-command-cell:last-child > a:hover { opacity: 0.6; cursor: pointer; }
body #company .k-detail-cell .k-grid-content.k-auto-scrollable td.k-command-cell:last-child > a > span { width: 18px!important; height: 18px!important; opacity: 1!important; }
body #company .k-detail-cell .k-grid-content.k-auto-scrollable td.k-command-cell:last-child > a.k-primary.k-grid-update:first-child > span:before { content: ""; display: inline-block; width: 18px; height: 18px; background-repeat: no-repeat; background-image: url(/static/images/okey.png); }
body #company .k-detail-cell .k-grid-content.k-auto-scrollable td.k-command-cell:last-child > a.k-grid-cancel:last-child > span:before { content: ""; display: inline-block; width: 18px; height: 18px; background-repeat: no-repeat; background-image: url(/static/images/cancel.png); }

.k-widget.k-window.k-dialog .k-primary { background-color: #2587dc!important; border-width: 0!important;}
.k-widget.k-window.k-dialog input { width: 61%; float: right; margin:0 2%;}
.k-widget.k-window.k-dialog label { width: 35%; text-align: right; line-height: 2; }
.k-widget.k-window.k-dialog .k-content.k-window-content.k-dialog-content p:nth-child(5) { display:block; width:100%; font-weight: bold; text-align: center; }
.k-grid-edit-row input::placeholder { opacity: 0.6; }
body #company .k-tabstrip-items.k-reset .k-state-active .k-link{ background-color: #fff; color: #35373d!important; border-left: 1px solid #e6e6e6; border-right: 1px solid #e6e6e6; border-top: 1px solid #e6e6e6; border-bottom: 1px solid #fff;}

body .k-detail-cell div > div > div > div:first-child > a { background-color: #2587dc!important; margin: 5px!important; font-size: 0.6rem; float: right; border: none; color: #fff; text-transform: none; font-weight: 600; border-radius: 0; }
body .k-detail-cell div > div > div > div:first-child { background-color: #fff; padding:0;}
body .k-detail-cell .container .k-toolbar.k-widget {display:block;}
body .k-detail-cell div > div > div > div:first-child > a:hover { opacity: 0.6; cursor: pointer; }
body .k-detail-cell div > div > div > div:first-child > a > span { display: none;}
body .k-toolbar > a { opacity:1; padding: 8px 14px!important; background-color: #2587dc; margin: 5px!important; font-size: 0.6rem; float: right; border: none; color: #fff; text-transform: none; font-weight: 600; border-radius: 0;}
body .k-toolbar > a:hover { opacity: 0.6; cursor: pointer; }

.placeholder { outline-style: dashed; outline-width: 1px; outline-color: red; }

body .menu_config > ul { background-color: #fff; font-size: 0.8rem;}
body .menu_config > ul > li { background-color: #dbdbdb!important; padding: 0!important; margin: 6px 10px; border-bottom-width: 0!important; }
body .menu_config > ul > li > span { padding:6px 12px!important; margin: 6px 12px!important; color: #303030!important; text-transform: none; }
body #access_control { border: none; overflow-x:hidden!important;}
body #access_control #crm_grid > .k-grid-header+.k-grid-content {padding-bottom:0!important;}
body #access_control table th { background-color: #35373d; color: #fff; font-weight: 500; font-size:0.7rem; }

body #access_control div.row > div.audit > div.row > label.top_margin_10 {
    margin-top: 5px!important;
}
body #access_control div.row > div.audit > div.row > div.top_margin_10 {
    margin-top: 7px!important;
}
body #access_control #toolbar { background-color: #fff; padding:0; }
body #access_control #toolbar > a:hover { opacity: 0.6; cursor: pointer; }
/*body #access_control #toolbar > a:last-child.k-state-active { opacity: 0.6; }*/
body #access_control #toolbar > a > span { display: none;}
body #access_control #toolbar .summa {
    margin: 5px;
    align-items: center;
    margin-left: 25%;
}
body #access_control #toolbar .summa span {
    margin-right: 5px;
}

body #access_control #admin_centers_grid > div:last-child { position: fixed; bottom: 0; width: 100%; }
body #access_control #admin_centers_grid > div > table tr > td:first-child a:before, #access_control #admin_centers_grid > div > table tr > td:first-child a { color: #2587dc; opacity: 1; }
body #access_control #admin_centers_grid tr.k-master-row td { padding: 0 10px; border-bottom-width: 1px; }
body #access_control #admin_centers_grid tr.k-master-row td.k-command-cell { text-align: center; }
body #access_control #admin_centers_grid tr.k-master-row td.k-command-cell .k-i-edit:before { content: ""; display: inline-block; width: 18px; height: 18px; background-repeat: no-repeat; background-image: url(/static/images/edit_com.png);  }
body #access_control #admin_centers_grid tr.k-master-row td.k-command-cell .k-i-delete:before { content: ""; display: inline-block; width: 18px; height: 18px; background-repeat: no-repeat; background-image: url(/static/images/delete_com.png);  }
body #access_control #admin_centers_grid tr.k-master-row td.k-command-cell a { border:none; box-shadow: none; background: none; width: auto; min-width: 0; padding:8px; }
body #access_control #admin_centers_grid tr.k-master-row td.k-command-cell a:hover { opacity: 0.6; cursor: pointer; }



body #access_control #admin_centers_grid .k-i-edit:before { content: ""; display: inline-block; width: 18px; height: 18px; background-repeat: no-repeat; background-image: url(/static/images/edit_com.png);  }
body #access_control #admin_centers_grid .k-i-delete:before { content: ""; display: inline-block; width: 18px; height: 18px; background-repeat: no-repeat; background-image: url(/static/images/delete_com.png);  }
body #access_control #admin_centers_grid .k-i-otpr_pass:before { content: ""; display: inline-block; width: 18px; height: 18px; background-repeat: no-repeat; background-image: url(/static/images/email_sotr.png);  }
body #access_control #admin_centers_grid .k-i-smen_pass:before { content: ""; display: inline-block; width: 18px; height: 18px; background-repeat: no-repeat; background-image: url(/static/images/edit3_com.png);  }
body #access_control #admin_centers_grid td.k-command-cell { text-align: center; }
body #access_control #admin_centers_grid td.k-command-cell a { border:none; box-shadow: none; background: none; width: auto; min-width: 0; padding:8px; }
body #access_control #admin_centers_grid td.k-command-cell a:hover { opacity: 0.6; cursor: pointer; }
body #access_control #admin_centers_grid .k-detail-cell td { padding: 0em 0.6em; font-weight: normal; }

body #access_control #admin_centers_grid .k-detail-cell td button { background-color: #2587dc; margin: 5px!important; font-size: 0.8rem; float: right; border: none; color: #fff; text-transform: none; font-weight: 600; border-radius: 0; }
body #access_control #admin_centers_grid .k-detail-cell td button:hover { opacity: 0.6; cursor: pointer; }

body #access_control #admin_centers_grid .k-master-row.k-grid-edit-row td, body #company .k-grid-content.k-auto-scrollable .k-grid-edit-row td { padding: 0.4em 0.6em;!important; vertical-align: top!important;}

body #access_control #admin_centers_grid .k-master-row.k-grid-edit-row td.k-command-cell > a { border:none; box-shadow: none; background: none; width: auto; min-width: 0; padding:8px; }
body #access_control #admin_centers_grid .k-master-row.k-grid-edit-row td.k-command-cell > a:hover { opacity: 0.6; cursor: pointer; }
body #access_control #admin_centers_grid .k-master-row.k-grid-edit-row td.k-command-cell > a > span { width: 18px!important; height: 18px!important; opacity: 1!important; }
body #access_control #admin_centers_grid .k-master-row.k-grid-edit-row td.k-command-cell > a:first-child > span:before { content: ""; display: inline-block; width: 18px; height: 18px; background-repeat: no-repeat; background-image: url(/static/images/okey.png); }
body #access_control #admin_centers_grid .k-master-row.k-grid-edit-row td.k-command-cell > a:last-child > span:before { content: ""; display: inline-block; width: 18px; height: 18px; background-repeat: no-repeat; background-image: url(/static/images/cancel.png); }

body #access_control #admin_centers_grid .k-detail-row .k-detail-cell:focus, body #company .k-detail-row .k-detail-cell > div:focus, body #company .k-detail-row .k-detail-cell > div > div:focus { border-width: 0!important; box-shadow: none!important; }
body #access_control #admin_centers_grid .k-editor-toolbar-wrap * { opacity: 1; }

body #access_control #admin_centers_grid .k-detail-cell .k-grid-content.k-auto-scrollable td.k-command-cell:last-child > a { border:none; box-shadow: none; background: none; width: auto; min-width: 0; padding:8px; }
body #access_control #admin_centers_grid .k-detail-cell .k-grid-content.k-auto-scrollable td.k-command-cell:last-child > a:hover { opacity: 0.6; cursor: pointer; }
body #access_control #admin_centers_grid .k-detail-cell .k-grid-content.k-auto-scrollable td.k-command-cell:last-child > a > span { width: 18px!important; height: 18px!important; opacity: 1!important; }
body #access_control #admin_centers_grid .k-detail-cell .k-grid-content.k-auto-scrollable td.k-command-cell:last-child > a.k-primary.k-grid-update:first-child > span:before { content: ""; display: inline-block; width: 18px; height: 18px; background-repeat: no-repeat; background-image: url(/static/images/okey.png); }
body #access_control #admin_centers_grid .k-detail-cell .k-grid-content.k-auto-scrollable td.k-command-cell:last-child > a.k-grid-cancel:last-child > span:before { content: ""; display: inline-block; width: 18px; height: 18px; background-repeat: no-repeat; background-image: url(/static/images/cancel.png); }

.position_access_right {  }
.position_access_right > div { display: inline-block; width: 50%; height:100%; float: left; }
.position_access_right .right_access_list,
.position_access_right .right_access_assignment { border-right: 1px solid #dbdbdb!important; padding: 1%;}
.position_access_right > div > div:first-child { background-color: #dbdbdb!important; padding: 0.5em 1em!important; }
.position_access_right .right_access_list .k-in,
.position_access_right .right_access_assignment .k-in { width:98%; }
.position_access_right .right_access_list button,
.position_access_right .right_access_assignment button { float: right; }

.right_access_assignment th, .right_access_list th { display: none; }

body #access_control .position_access_right .right_access_list .k-command-cell button, body #access_control .position_access_right .right_access_assignment .k-command-cell button { background-color: transparent!important; min-width: 8px;}
body .right_access_list .k-command-cell button, body .right_access_assignment .k-command-cell button { background-color: transparent!important; min-width: 8px; border: none!important;}

.position_access_right .right_access_list button, .position_access_right .right_access_assignment button { min-width: auto!important; }
.position_access_right .right_access_list button:before { content: ""; opacity: 1; top: auto; display: inline-block; width: 8px; height: 8px; background-repeat: no-repeat; background-image: url(/static/images/plus_dos.png); }
.position_access_right .right_access_assignment button:before { content: ""; opacity: 1; top: auto; display: inline-block; width: 6px; height: 6px; background-repeat: no-repeat; background-image: url(/static/images/del_dos.png); }
.position_access_right .right_access_list span, .position_access_right .right_access_assignment span  { color: #2587dc; opacity: 1!important; cursor: pointer; }
.position_access_right .right_access_list td,
.position_access_right .right_access_assignment td {  }

/*#access_control { padding-bottom: 50px!important; }*/
.k-grid-content { overflow: hidden!important; }
@media only screen and (min-width: 768px) and (max-width: 1024px) and (-webkit-min-device-pixel-ratio: 2) {
    .k-grid-content {overflow: auto!important;}
}

.k-grid-header { padding-right: 0!important; }
.k-detail-row { background-color: #ebebeb; }

body .create_but, body .edit_but, body .destroy_but { background-color: transparent!important; min-width: 18px; float:left!important; min-width: 34px!important; display: inline-block; padding: 8px!important; }
body .create_but span:before, body .edit_but span:before, body .destroy_but span:before { content: ""; display: inline-block; width: 18px; height: 18px; background-repeat: no-repeat; }
body .k-grid-plus span:before {
    content: "";
    display: inline-block;
    width: 18px;
    height: 18px;
    background-repeat: no-repeat;
    background-image: url(/static/images/create_com.png);
}

body .create_but span:before { background-image: url(/static/images/create_com.png); }
body .edit_but span:before { background-image: url(/static/images/edit_com.png); }
body .destroy_but span:before { background-image: url(/static/images/delete_com.png); }

body .create_but span, body .edit_but span, body .destroy_but span { width: 18px!important; height: 18px!important; opacity: 1!important; }

.position_menu span { color: #2587dc; opacity: 1!important; cursor: pointer; }
.menu_2_style > span { cursor: pointer; }

#menu-toolbar .k-button { padding: 8px 14px; }
body #access_control #admin_centers_grid .k-grid-edit-row td.k-command-cell > button{ border: none; box-shadow: none; background: none; width: auto; min-width: 18px!important; min-height:18px!important; padding: 8px; }
body #access_control #admin_centers_grid .k-grid-edit-row td.k-command-cell > button span { min-width: 18px!important; min-height:18px!important; }
body #access_control #admin_centers_grid .k-grid-edit-row td.k-command-cell > button:first-child > span:before { content: ""; display: inline-block; width: 18px; height: 18px; background-repeat: no-repeat; background-image: url(/static/images/okey.png); }
body #access_control #admin_centers_grid .k-grid-edit-row td.k-command-cell > button:last-child > span:before { content: ""; display: inline-block; width: 18px; height: 18px; background-repeat: no-repeat; background-image: url(/static/images/cancel.png); }

body .k-status { background-color: #2587dc!important; color:#fff!important; }

body #access_control #admin_centers_grid .k-detail-cell td.k-command-cell button { float:left;  }

body .modal_style, body .modal_style > div { padding:0!important; border-width: 0 0 1px 0!important; }
body .modal_style thead { display:none; }
body .k-window-titlebar{ margin-bottom: 0!important; background-color: #7ea700!important; color:#fff; font-weight:bold; }
body .modal_style > div > div:last-child { position:fixed; bottom: -50px; width: 100%; padding-left: 0!important; }
body .modal_style td { border-bottom-width: 1px; }

body #need { box-sizing: border-box!important; }
body #need table th { vertical-align: top; background-color: #35373d; color: #fff; font-weight: 500; font-size: 0.7rem!important; padding-left: 0.4em!important; padding-right: 0.4em!important; }
body table th a { color:#fff!important; line-height: 1.2!important;}
body #need table th span { margin-left:0; color:#fff; font: 13px/1 WebComponentsIcons; }

body #need .k-grid-toolbar { background-color: #fff; padding:0; }
body #need .k-grid-toolbar > a { padding: 8px 14px!important; background-color: #2587dc; margin: 5px!important; font-size: 0.6rem; float: right; border: none; color: #fff; text-transform: none; font-weight: 600; border-radius: 0;}
body #need .k-grid-toolbar > a:hover { opacity: 0.6; cursor: pointer; }
body #need .k-grid-toolbar > a:last-child.k-state-active { opacity: 0.6; }
body #need .k-grid-toolbar > a > span { display: none;}

body #need > div:last-child { position: fixed; bottom: 0; width: 100%; z-index: 9999!important;}
body #need td { font-size:0.7rem!important; padding: 1px!important; border-bottom-width: 1px; }
body #need td.k-command-cell { text-align: center; }
body #need td.k-command-cell .k-i-edit:before { content: ""; display: inline-block; width: 18px; height: 18px; background-repeat: no-repeat; background-image: url(/static/images/edit_com.png);  }
body #need td.k-command-cell .k-i-delete:before { content: ""; display: inline-block; width: 18px; height: 18px; background-repeat: no-repeat; background-image: url(/static/images/delete_com.png);  }
body #need td.k-command-cell a { border:none; box-shadow: none; background: none; width: auto; min-width: 0; padding:8px; }
body #need td.k-command-cell a:hover { opacity: 0.6; cursor: pointer; }

body #need .k-grid-edit-row td, body #need .k-grid-content.k-auto-scrollable .k-grid-edit-row td { padding: 0.4em 0.6em;!important; vertical-align: top!important;}
body #need .k-grid-edit-row td.k-command-cell > a { border:none; box-shadow: none; background: none; width: auto; min-width: 0; padding:8px; }
body #need .k-grid-edit-row td.k-command-cell > a:hover { opacity: 0.6; cursor: pointer; }
body #need .k-grid-edit-row td.k-command-cell > a > span { width: 18px!important; height: 18px!important; opacity: 1!important; }
body #need .k-grid-edit-row td.k-command-cell > a:first-child > span:before { content: ""; display: inline-block; width: 18px; height: 18px; background-repeat: no-repeat; background-image: url(/static/images/okey.png); }
body #need .k-grid-edit-row td.k-command-cell > a:last-child > span:before { content: ""; display: inline-block; width: 18px; height: 18px; background-repeat: no-repeat; background-image: url(/static/images/cancel.png); }

body #dialog-select-client-menu, body #dialog-select-client-menu > div { padding:0!important; border-width: 0 0 1px 0!important; }
body .k-window-titlebar { margin-bottom: 0!important; background-color: #7ea700!important; color:#fff; font-weight:bold; }
body #dialog-select-client-menu > div > div:last-child { position:fixed; bottom: 0; width: 100%; padding-left: 0!important; }
body #dialog-select-client-menu td { border-bottom-width: 1px; }
body #dialog-select-client-menu thead, body #dialog-select-client-menu th { background-color: #35373d; color: #fff; font-weight: 500; }

body .k-animation-container .k-filter-help-text, body .k-animation-container .k-filter-help-text + .k-widget.k-dropdown.k-header { display:none!important; }
body .k-animation-container * { font-size: 0.8rem!important; }

/*фильтры*/
body .k-filter-menu-container > div+span {display:none!important;}
body .k-filter-menu-container > span.k-widget.k-dropdown {width:100%;}

body .k-widget.k-dropdown.k-header.k-filter-and, body .k-widget.k-dropdown.k-header.k-filter-and + span { display: none; }
body .k-widget.k-datepicker.k-header { width:auto!important; }
body .k-animation-container .k-widget.k-datepicker.k-header input { width: auto!important; margin-left: 12px; }
body td .k-widget.k-dropdown.k-header, body .k-widget.k-autocomplete.k-header.k-autocomplete-clearable.k-state-default { width: 84%!important; }
body .k-picker-wrap.k-state-default > span:first-child { width:25px; display: inline-block; text-align: right;}

body .k-animation-container .k-button.k-primary { background-color: #2587dc!important; color: #fff; }
body .k-animation-container button { text-transform: none; }
body .k-icon.k-i-filter, body .k-icon.k-i-filter:before { opacity: 1!important; }
body .k-icon.k-i-filter:hover, body .k-icon.k-i-filter:before:hover, body .k-grid-filter:hover { opacity: 0.7!important; }
body .k-grid-filter { background-color: #35373d!important; border-radius: 20px; padding: 2px!important; margin: -2px 0!important; box-sizing: border-box; }
body .k-grid-filter.k-state-active { border: 1px solid #fff; color: #fff!important; }
#body .k-grid-filter span { font: 12px/1 WebComponentsIcons; }
body #dialog-select-client-menu table tr > th:first-child, body #dialog-select-client-menu table tr > td:first-child { width:300px!important; }


body #access_control { border: none; }
body #access_control table th { min-height:30px!important; background-color: #35373d; color: #fff; font-weight: 500; font-size:0.7rem; padding: 4px; vertical-align: middle;}
body .k-widget.k-dropdowntree.k-dropdowntree-clearable { width: 100%!important; }

body #access_control .k-header.k-grid-toolbar { background-color: #fff; padding:0; }
body #access_control .k-header.k-grid-toolbar > a { padding: 8px 14px!important; background-color: #2587dc; margin: 5px!important; font-size: 0.8rem; float: right; border: none; color: #fff; text-transform: none; font-weight: 600; border-radius: 0;}
body #access_control .k-header.k-grid-toolbar > a:hover { opacity: 0.6; cursor: pointer; }
body #access_control .k-header.k-grid-toolbar > a:last-child.k-state-active { opacity: 0.6; }
body #access_control .k-header.k-grid-toolbar > a > span { display: none;}

body #access_control #admin_employee_grid > div:last-child { position: fixed; bottom: 0; width: 100%; }
body #access_control #admin_employee_grid > div > table tr > td:first-child a:before, #access_control #admin_employee_grid > div > table tr > td:first-child a { color: #2587dc; opacity: 1; }
body #access_control #admin_employee_grid tr.k-master-row td { padding: 0 10px; border-bottom-width: 1px; }
body #access_control #admin_employee_grid tr.k-master-row td.k-command-cell { text-align: center; }
body #access_control #admin_employee_grid tr.k-master-row td.k-command-cell .k-i-edit:before { content: ""; display: inline-block; width: 18px; height: 18px; background-repeat: no-repeat; background-image: url(/static/images/edit_com.png);  }
body #access_control #admin_employee_grid tr.k-master-row td.k-command-cell .k-i-delete:before { content: ""; display: inline-block; width: 18px; height: 18px; background-repeat: no-repeat; background-image: url(/static/images/delete_com.png);  }
body #access_control #admin_employee_grid tr.k-master-row td.k-command-cell a
{ border:none; box-shadow: none; background: none; width: auto; min-width: 0; padding:8px; }
body #access_control #crm_grid .lk_list tr.k-master-row td.k-command-cell a
{ border:none; box-shadow: none; background: none; width: auto; min-width: 0; padding:0px; }
body #access_control #admin_employee_grid tr.k-master-row td.k-command-cell a:hover,
body #access_control #crm_grid .lk_list tr.k-master-row td.k-command-cell a:hover
{ opacity: 0.6; cursor: pointer; }


body #access_control #admin_employee_grid .k-i-edit:before { content: ""; display: inline-block; width: 18px; height: 18px; background-repeat: no-repeat; background-image: url(/static/images/edit_com.png);  }
body #access_control #admin_employee_grid .k-i-delete:before { content: ""; display: inline-block; width: 18px; height: 18px; background-repeat: no-repeat; background-image: url(/static/images/delete_com.png);  }
body #access_control #admin_employee_grid .k-i-otpr_pass:before,
body #access_control #crm_grid .lk_list .k-i-otpr_pass:before
{ content: ""; display: inline-block; width: 18px; height: 18px; background-repeat: no-repeat; background-image: url(/static/images/email_sotr.png);  }
body #access_control #admin_employee_grid .k-i-smen_pass:before,
body #access_control #crm_grid .lk_list .k-i-smen_pass:before
{ content: ""; display: inline-block; width: 18px; height: 18px; background-repeat: no-repeat; background-image: url(/static/images/edit3_com.png);  }
body #access_control #admin_employee_grid td.k-command-cell { text-align: center; }
body #access_control #admin_employee_grid td.k-command-cell a { border:none; box-shadow: none; background: none; width: auto; min-width: 0; padding:8px; }
body #access_control #admin_employee_grid td.k-command-cell a:hover { opacity: 0.6; cursor: pointer; }
body #access_control #admin_employee_grid .k-detail-cell td { padding: 0em 0.6em; font-weight: normal; }

body #access_control #admin_employee_grid .k-detail-cell td button { background-color: #2587dc; margin: 5px!important; font-size: 0.8rem; float: right; border: none; color: #fff; text-transform: none; font-weight: 600; border-radius: 0; }
body #access_control #admin_employee_grid .k-detail-cell td button:hover { opacity: 0.6; cursor: pointer; }

body #access_control #admin_employee_grid .k-master-row.k-grid-edit-row td, body #company .k-grid-content.k-auto-scrollable .k-grid-edit-row td { padding: 0.4em 0.6em!important; vertical-align: top!important;}

body #access_control #admin_employee_grid .k-master-row.k-grid-edit-row td.k-command-cell > a { border:none; box-shadow: none; background: none; width: auto; min-width: 0; padding:8px; }
body #access_control #admin_employee_grid .k-master-row.k-grid-edit-row td.k-command-cell > a:hover { opacity: 0.6; cursor: pointer; }
body #access_control #admin_employee_grid .k-master-row.k-grid-edit-row td.k-command-cell > a > span { width: 18px!important; height: 18px!important; opacity: 1!important; }
body #access_control #admin_employee_grid .k-master-row.k-grid-edit-row td.k-command-cell:last-child > a:first-child > span:before { content: ""; display: inline-block; width: 18px; height: 18px; background-repeat: no-repeat; background-image: url(/static/images/okey.png); }
body #access_control #admin_employee_grid .k-master-row.k-grid-edit-row td.k-command-cell:last-child > a:last-child > span:before { content: ""; display: inline-block; width: 18px; height: 18px; background-repeat: no-repeat; background-image: url(/static/images/cancel.png); }

body #access_control #admin_employee_grid .k-detail-row .k-detail-cell:focus, body #company .k-detail-row .k-detail-cell > div:focus, body #company .k-detail-row .k-detail-cell > div > div:focus { border-width: 0!important; box-shadow: none!important; }
body #access_control #admin_employee_grid .k-editor-toolbar-wrap * { opacity: 1; }

body #access_control #admin_employee_grid .k-detail-cell .k-grid-content.k-auto-scrollable td.k-command-cell:last-child > a { border:none; box-shadow: none; background: none; width: auto; min-width: 0; padding:8px; }
body #access_control #admin_employee_grid .k-detail-cell .k-grid-content.k-auto-scrollable td.k-command-cell:last-child > a:hover { opacity: 0.6; cursor: pointer; }
body #access_control #admin_employee_grid .k-detail-cell .k-grid-content.k-auto-scrollable td.k-command-cell:last-child > a > span { width: 18px!important; height: 18px!important; opacity: 1!important; }
body #access_control #admin_employee_grid .k-detail-cell .k-grid-content.k-auto-scrollable td.k-command-cell:last-child > a.k-primary.k-grid-update:first-child > span:before { content: ""; display: inline-block; width: 18px; height: 18px; background-repeat: no-repeat; background-image: url(/static/images/okey.png); }
body #access_control #admin_employee_grid .k-detail-cell .k-grid-content.k-auto-scrollable td.k-command-cell:last-child > a.k-grid-cancel:last-child > span:before { content: ""; display: inline-block; width: 18px; height: 18px; background-repeat: no-repeat; background-image: url(/static/images/cancel.png); }

body #access_control #admin_employee_grid .k-grid-edit-row td, body #access_control #admin_employee_grid .k-grid-content.k-auto-scrollable .k-grid-edit-row td { padding: 0.4em 0.6em!important; vertical-align: top!important;}
body #access_control #admin_employee_grid .k-grid-edit-row td.k-command-cell > a { border:none; box-shadow: none; background: none; width: auto; min-width: 0; padding:8px; }
body #access_control #admin_employee_grid .k-grid-edit-row td.k-command-cell > a:hover { opacity: 0.6; cursor: pointer; }
body #access_control #admin_employee_grid .k-grid-edit-row td.k-command-cell > a > span { width: 18px!important; height: 18px!important; opacity: 1!important; }
body #access_control #admin_employee_grid .k-grid-edit-row td.k-command-cell:last-child > a:first-child > span:before { content: ""; display: inline-block; width: 18px; height: 18px; background-repeat: no-repeat; background-image: url(/static/images/okey.png); }
body #access_control #admin_employee_grid .k-grid-edit-row td.k-command-cell:last-child > a:last-child > span:before { content: ""; display: inline-block; width: 18px; height: 18px; background-repeat: no-repeat; background-image: url(/static/images/cancel.png); }

body #access_control #admin_employee_grid td button { background-color: #2587dc!important; margin: 5px!important; font-size: 0.8rem; float: right; border: none; color: #fff; text-transform: none; font-weight: 600; border-radius: 0; }
body #access_control #admin_employee_grid tr td { padding: 0 10px; }
body #access_control #admin_employee_grid tr td:nth-child(7), body #access_control #admin_employee_grid thead th:nth-child(7) { width:150px; }


body a.k-icon.k-i-collapse,
body a.k-icon.k-i-expand{ color: #2587dc; opacity: 1; }

.k-editor-toolbar { display: none; }
body .k-widget.k-editor.k-header.k-editor-widget tbody tr:first-child { display:none; }

/*body .offer_grid table tr th:nth-child(3), body .offer_grid table tr td:nth-child(3) { width:300px; }*/
/*body .offer_grid table tr th:nth-child(7), body .offer_grid table tr td:nth-child(7) { width:300px; }*/
body div.tabstrip.sprav_ma .info_part .k-editable-area{ height:300px!important;}
body .offer_grid .k-widget.k-editor.k-header.k-editor-widget, body .offer_grid .k-editable-area { height:50px!important; }
body .offer_grid th { white-space: normal!important; }
td { font-size: 12px!important; }
.k-editable-area { padding:0!important; }

body .need .k-widget.k-editor.k-header.k-editor-widget, body .need .k-editable-area { height:50px!important; }

body .dialog-employee, body .dialog-employee > div { padding:0!important; border-width: 0 0 1px 0!important; }
/*body .dialog-employee .k-grid-header th { margin-bottom: 0!important; background-color: #2587dc!important;  }*/
body .dialog-employee > div > div:last-child { position:fixed; bottom: 0; width: 100%; padding-left: 0!important; }
body .dialog-employee td { border-bottom-width: 1px; }
body .dialog-employee thead, body .dialog-employee th { background-color: #35373d!important; color: #fff!important; font-weight: 500!important; }



body .k-detail-cell { padding: 10px 0!important;}
body .k-detail-cell > div > div > div > ul, body .k-detail-cell > div > div > div > ul li { background-color: transparent; border-width: 0!important;}
body .k-detail-cell > div > div > div { background-color: transparent; }
body .k-detail-cell > div > div > div > ul li { background-color: transparent!important; }
body .k-detail-cell > div > div > div > ul li:hover { opacity: 0.6; cursor: pointer; }
body .k-detail-cell > div > div > div > ul li .k-loading.k-complete { border-width: 0!important; }
body .k-detail-cell > div > div > div > ul li span { padding: 8px 14px!important; background-color: #2587dc; margin: 5px 5px 0 0!important; font-size: 0.8rem; float: right; border: none; color: #fff; text-transform: none; font-weight: 600; border-radius: 0;}
body .k-detail-cell > div, body .k-detail-cell > div > div, body .k-detail-cell > div > div > div { border-width: 0!important; }
body #view-container .k-tabstrip-items.k-reset .k-state-active .k-link{ background-color: #fff; color: #35373d; border-left: 1px solid #e6e6e6; border-right: 1px solid #e6e6e6; border-top: 1px solid #e6e6e6; border-bottom: 1px solid #fff;}

.container { max-width: 100%!important; padding: 0!important; }
.row { margin:10px 0!important; }
body #access_control .row > div { border:none!important; padding:0px;} /* убрала паддинг для клиенты - контакты */

body #access_control .form-check.custom-control.custom-checkbox { padding:5px 40px!important; }
.row.form-group > * { padding:0!important; line-height: 2;}
body #access_control .form-group.row input.form-control { height:auto; padding: 0.4rem 0.5rem!important; width: 90%!important; }
body #access_control .form-group.row .k-widget.k-dropdown.k-header.form-control { padding:0!important; width: 84%!important; }
body #access_control .form-group.row .k-widget.k-dropdown.k-header.form-control > span { padding: 0!important; }
body #access_control .k-widget.k-datepicker.k-header.form-control { padding:0!important; width:84%!important; }
body #access_control .k-widget.k-datepicker.k-header.form-control input { width:100%!important; }
select.form-control { height:auto!important; border-color: #ced4da!important; }
.form-control:focus { border-color: #ced4da!important; box-shadow: none!important;}
.container * { font-size: 0.7rem!important; }
select.form-control:active { border-color: #ced4da!important; }
.form-control option:hover { background-color: #2587dc!important; }

.foto_people { display:inline-block; width:30%; max-height: 70%; overflow: hidden; background-repeat: no-repeat; text-align: center; text-align: -webkit-center;}
.foto_people img { width: 100%; max-height: 100%; vertical-align: middle; }
.div_for_foto { padding:0px; }
.k-widget.k-upload.k-header.k-upload-empty { border:none!important; }
.k-dropzone > div { padding: 8px 14px!important; background-color: #2587dc!important; border-color: #2587dc!important; border-radius: 0; margin-left: 0!important; margin-top:20px!important;}
textarea.form-control { height:150px; width:90%;}
body .k-detail-cell .form-group.row .k-widget.k-treeview+.k-datepicker {width:74%!important;}
.form-check { position: relative; display: block; padding-left: 1.25rem!important; }
.form-check.custom-control.custom-checkbox > label { margin-bottom: 10px;}
.k-widget.k-dropdown.form-control,
 .k-widget.k-dropdown{height:29px; width:97%;}
/*.k-widget.k-dropdown.form-control .k-input,
.k-widget.k-dropdown.form-control .k-select {line-height:1.5;}*/
.k-widget.k-datepicker.form-control {height:29px; width:90%;}
.k-widget.k-datepicker.form-control .k-input,
.k-widget.k-datepicker.form-control .k-select {line-height:1.5;}
.col.div_for_foto #btn_files .k-widget.k-upload.k-upload-async.k-upload-empty {border:none;}

/*.k-widget.k-window .k-edit-buttons.k-state-default {display:none;}*/ /* доп кнопки в мастере */
.k-widget.k-window .k-edit-buttons.k-state-default {height:40px; padding:0;}
body #access_control #admin_employee_grid > div:last-child .k-widget.k-dropdown.k-header,
body #need > div:last-child .k-widget.k-dropdown.k-header,
body #admin_centers_grid > div:last-child .k-widget.k-dropdown.k-header,
body .k-widget.k-window .k-widget.k-dropdown.k-header{ width:auto; }
.k-pager-sizes .k-widget.k-dropdown.k-header { width:auto!important; }

#body .k-animation-container .k-list-container, #body .k-animation-container .k-list-container *{ width: auto!important; }
#body .k-animation-container .k-list-container input.k-checkbox { width:16px!important; }

.is_red { background-color: #f7d0d0!important; }
.is_green { background-color: #c6f3c9!important; }
.is_blue { background-color: #b8def9!important; }
#body .k-editable-area .k-invalid-msg { z-index:9000!important; margin: -30px 0 0 0!important; }
.right-text { text-align: right; }


body #offer_grid, body .need-service { box-sizing: border-box!important;}
body #offer_grid table th { vertical-align: top; background-color: #35373d; color: #fff; font-weight: 500; font-size: 0.7rem!important; padding-left: 5px!important; padding-right: 5px!important; }
body #offer_grid table th a { color:#fff; }
body #offer_grid table th span { margin-left:0; color:#fff; margin-top:3px; font: 13px/1 WebComponentsIcons; }

body #offer_grid .k-grid-toolbar { background-color: #fff; padding:0; }
body #offer_grid .k-grid-toolbar > a { padding: 8px 14px!important; background-color: #2587dc; margin: 5px!important; font-size: 0.6rem; float: right; border: none; color: #fff; text-transform: none; font-weight: 600; border-radius: 0;}
body #offer_grid .k-grid-toolbar > a:hover { opacity: 0.6; cursor: pointer; }
body #offer_grid .k-grid-toolbar > a:last-child.k-state-active { opacity: 0.6; }
body #offer_grid .k-grid-toolbar > a > span { display: none;}

body #offer_grid > div:last-child { position: fixed; bottom: 0; width: 100%; }
body #offer_grid td { font-size:0.7rem!important; padding: 3px 5px!important; border-bottom-width: 1px; }
body td b{ color:red; }
body #offer_grid td.k-command-cell { text-align: center; }
body #offer_grid td.k-command-cell .k-i-edit:before { content: ""; display: inline-block; width: 18px; height: 18px; background-repeat: no-repeat; background-image: url(/static/images/edit_com.png);  }
body #offer_grid td.k-command-cell .k-i-delete:before { content: ""; display: inline-block; width: 18px; height: 18px; background-repeat: no-repeat; background-image: url(/static/images/delete_com.png);  }
body #offer_grid td.k-command-cell a { border:none; box-shadow: none; background: none; width: auto; min-width: 0; padding:8px; }
body #offer_grid td.k-command-cell a:hover { opacity: 0.6; cursor: pointer; }

body #offer_grid .k-grid-edit-row td, body #need .k-grid-content.k-auto-scrollable .k-grid-edit-row td { padding: 0.4em 0.6em;!important; vertical-align: top!important;}
body #offer_grid .k-grid-edit-row td.k-command-cell > a { border:none; box-shadow: none; background: none; width: auto; min-width: 0; padding:8px; }
body #offer_grid .k-grid-edit-row td.k-command-cell > a:hover { opacity: 0.6; cursor: pointer; }
body #offer_grid .k-grid-edit-row td.k-command-cell > a > span { width: 18px!important; height: 18px!important; opacity: 1!important; }
body #offer_grid .k-grid-edit-row td.k-command-cell > a:first-child > span:before { content: ""; display: inline-block; width: 18px; height: 18px; background-repeat: no-repeat; background-image: url(/static/images/okey.png); }
body #offer_grid .k-grid-edit-row td.k-command-cell > a:last-child > span:before { content: ""; display: inline-block; width: 18px; height: 18px; background-repeat: no-repeat; background-image: url(/static/images/cancel.png); }

body #need > .k-grid-content.k-auto-scrollable,
body #offer_grid > .k-grid-content.k-auto-scrollable { margin-bottom:50px; }

body #need .k-widget.k-editor.k-header.k-editor-widget, body #need .k-editable-area { height: 50px!important; }



body #admin_centers_grid { box-sizing: border-box!important; }
body #admin_centers_grid table th { vertical-align: top; background-color: #35373d; color: #fff; font-weight: 500; font-size: 0.7rem!important; padding-left: 5px!important; padding-right: 5px!important; }
body #admin_centers_grid table th a { color:#fff; }
body #admin_centers_grid table th span { margin-left:0; color:#fff; font: 13px/1 WebComponentsIcons; }

body #toolbar { background-color: #fff; padding:0; }
body #toolbar > a { opacity:1; padding: 8px 14px; background-color: #2587dc; margin: 5px!important; font-size: 0.7rem; float: right; border: none; color: #fff; text-transform: none; font-weight: 600; border-radius: 0;}
body #toolbar > a:hover { opacity: 0.6; cursor: pointer; }
/*body #toolbar > a:last-child.k-state-active { opacity: 0.6; }*/
body #toolbar > a > span { display: none;}

body #admin_centers_grid > div:last-child { position: fixed; bottom: 0; width: 100%; }
body #admin_centers_grid td { font-size:0.7rem!important; padding: 3px 5px!important; border-bottom-width: 1px; }
body #admin_centers_grid td.k-command-cell { text-align: center; }
body #admin_centers_grid td.k-command-cell .k-i-edit:before { content: ""; display: inline-block; width: 18px; height: 18px; background-repeat: no-repeat; background-image: url(/static/images/edit_com.png);  }
body #admin_centers_grid td.k-command-cell .k-i-delete:before { content: ""; display: inline-block; width: 18px; height: 18px; background-repeat: no-repeat; background-image: url(/static/images/delete_com.png);  }
body #admin_centers_grid td.k-command-cell a { border:none; box-shadow: none; background: none; width: auto; min-width: 0; padding:8px; }
body #admin_centers_grid td.k-command-cell a:hover { opacity: 0.6; cursor: pointer; }

body #admin_centers_grid .k-grid-edit-row td, body #admin_centers_grid .k-grid-content.k-auto-scrollable .k-grid-edit-row td { padding: 0.4em 0.6em;!important; vertical-align: top!important;}
body #admin_centers_grid .k-grid-edit-row td.k-command-cell > a { border:none; box-shadow: none; background: none; width: auto; min-width: 0; padding:8px; }
body #admin_centers_grid .k-grid-edit-row td.k-command-cell > a:hover { opacity: 0.6; cursor: pointer; }
body #admin_centers_grid .k-grid-edit-row td.k-command-cell > a > span { width: 18px!important; height: 18px!important; opacity: 1!important; }
body #admin_centers_grid .k-grid-edit-row td.k-command-cell > a:first-child > span:before { content: ""; display: inline-block; width: 18px; height: 18px; background-repeat: no-repeat; background-image: url(/static/images/okey.png); }
body #admin_centers_grid .k-grid-edit-row td.k-command-cell > a:last-child > span:before { content: ""; display: inline-block; width: 18px; height: 18px; background-repeat: no-repeat; background-image: url(/static/images/cancel.png); }

body #dialog-select-client-menu, body #dialog-select-client-menu > div { padding:0!important; border-width: 0 0 1px 0!important; }
body .k-window-titlebar { margin-bottom: 0!important; background-color: #7ea700!important; color:#fff; font-weight:bold; }
body #dialog-select-client-menu > div > div:last-child { position:fixed; bottom: 0; width: 100%; padding-left: 0!important; }
body #dialog-select-client-menu td { border-bottom-width: 1px; }
body #dialog-select-client-menu thead, body #dialog-select-client-menu th { background-color: #35373d; color: #fff; font-weight: 500; }

body #dialog-select-client-menu > div > table tr > td:first-child a:before, #dialog-select-client-menu > div > table tr > td:first-child a { color: #2587dc; opacity: 1; }
body .k-tabstrip-items.k-reset .k-state-active .k-link,
body .k-tabstrip-items.k-reset .k-state-active .k-link{ background-color: #2587dc!important; color: #fff!important; }

body .k-widget.k-window .k-window-content.k-content, body .k-widget.k-window .k-window-content.k-content > div { border-width: 0 0 1px 0!important; padding:0!important; overflow-x: hidden; }
body .k-window-titlebar { margin-bottom: 0!important; background-color: #7ea700!important; color:#fff; font-weight:bold; }
body .k-widget.k-window .k-window-content.k-content > div > div:last-child { /*position:fixed; bottom: -69px; */ width: 100%; padding-left: 0!important; }
body .k-widget.k-window .k-window-content.k-content td { border-bottom-width: 1px; }
body .k-widget.k-window .k-window-content.k-content thead, body .k-widget.k-window .k-window-content.k-content th { background-color: #35373d; color: #fff; font-weight: 500; }
body .k-widget.k-window .k-window-content.k-content .k-grid-filter { padding: 2px 6px!important; }

body .k-window-title.k-dialog-title { color:#fff!important; }
body  .k-widget.k-window.k-dialog .k-icon.k-i-close { color:#fff!important; font-size: 1.3em!important; }

#access_control #admin_employee_grid .k-detail-cell .attes_sotrudniks .container,
#access_control #admin_employee_grid .k-detail-cell .dvij_sotrudniks .container { overflow-x: hidden!important; }

body #access_control #admin_employee_grid .k-detail-cell .attes_sotrudniks .cross:before { content: ""; display: inline-block; width: 18px; height: 18px; background-repeat: no-repeat; background-image: url(/static/images/delete_com.png);  }
body #access_control #admin_employee_grid .k-detail-cell .attes_sotrudniks .tick:before { content: ""; display: inline-block; width: 18px; height: 18px; background-repeat: no-repeat; background-image: url(/static/images/okey.png);  }
body #access_control #admin_employee_grid .k-detail-cell .attes_sotrudniks .cross,
body #access_control #admin_employee_grid .k-detail-cell .attes_sotrudniks .tick { border:none; box-shadow: none; background: none; width: auto; min-width: 0; padding:8px; }

/*body .voskl_znak { font-size: 1.5em; color:red; font-weight:bold; display: inline-block; padding-left:5px; }*/
body .voskl_znak { font-size: 1.5em; color: red; font-weight: bold; left: 70px; position: absolute; top: 10px; }

body #admin_centers_grid .k-grid-edit-row td.k-command-cell > button { border: none; box-shadow: none; background: none; width: auto; min-width: 0; padding: 8px;}
body #admin_centers_grid .k-grid-edit-row td.k-command-cell > button > span,
body #treelist .k-grid-edit-row td.k-command-cell > button > span
{ width: 18px!important; height: 18px!important; opacity: 1!important; }
body #admin_centers_grid .k-grid-edit-row td.k-command-cell > button:first-child > span:before,
body #treelist .k-grid-edit-row td.k-command-cell > button:first-child > span.k-i-check:before
{ content: ""; display: inline-block; width: 18px; height: 18px; background-repeat: no-repeat; background-image: url(/static/images/okey.png); }
body #admin_centers_grid .k-grid-edit-row td.k-command-cell > button:last-child > span:before { content: ""; display: inline-block; width: 18px; height: 18px; background-repeat: no-repeat; background-image: url(/static/images/cancel.png); }

body .k-master-row { background-color: #fff; }
body #toolbar > a.k-toggle-button { float:left!important; }
body #toolbar > a.k-state-active { background-color: #68a800!important; }

body .path_to_file p { display:inline-block; font-weight:bold; margin:5px!important; letter-spacing: -0.04em; }
body .path_to_file p:hover { cursor: pointer; opacity: 0.6; }

body #admin_centers_grid td.k-command-cell button {
    border: none;
    box-shadow: none;
    background: none;
    width: auto;
    min-width: 0;
    padding: 8px;
    margin:0!important;}

body #access_control #treelist td.k-command-cell button {
    border: none;
    box-shadow: none;
    background: none;
    width: auto;
    min-width: 0;
    padding: 8px;
    margin:0!important;}

.container { max-width: 100%!important; padding: 0!important; }
.row { margin:3px 0 0!important; }
body .offer_grid .row > div { border:none!important; }

body .offer_grid .col-4 { padding-left:15px!important; /*padding-right:15px!important; */}
/*body .offer_grid .form-group.row .form-control { padding: 0.2rem 0.5rem!important; width: 80%!important; }*/
/*body .offer_grid .k-widget.k-datepicker.k-header.form-control { padding: 0!important; width: 84%!important; }*/
body .offer_grid .form-group.row .col-7 input.form-control { width: 94%!important; padding:.375rem!important; line-height: 1!important; border-radius:1px; height: 20px!important; }
body .offer_grid .form-group.row > * { margin-bottom:10px!important; }

body .offer_grid .form-group.row .k-widget.k-datepicker.k-header.form-control { padding:0!important; width: 100%!important; }
/*body .offer_grid .form-group.row .form-control { height:36px!important; margin:10px 0!important; }*/
/*body .offer_grid  .form-group.row .k-widget.k-dropdown.k-header.form-control > span { padding: 0!important; }*/
/*body .offer_grid  .k-widget.k-datepicker.k-header.form-control input { width:100%!important; }*/

body .offer_grid td button {
    background-color: #2587dc!important;
    margin: 5px!important;
    font-size: 0.8rem;
    float: right;
    border: none;
    color: #fff;
    text-transform: none;
    font-weight: 600;
    border-radius: 0;
}

.not_active > div { pointer-events: none; }
.not_active .container + .form-group, .not_active .div_for_foto .k-dropzone .k-button.k-upload-button > * { display:none; }
.not_active .div_for_foto .k-dropzone .k-button.k-upload-button { background-color: #fff!important; border:none!important; }
.not_active .div_for_foto .foto_people { max-height: 100%!important; }

body #admin_employee_grid table th .k-link { color: #fff!important; }

body .k-grid-content td { font-weight: normal!important; }


.path_to_file { left: 0; right: 0; width: 100%!important; display:block!important; height:29px!important; }
.path_to_file ul{ margin-left: 10px; margin-bottom: 0!important; padding-left: 0;}
.path_to_file li { position: static !important; list-style-type: none; display:inline-block!important; }
.path_to_file li > p { font-size: 0.8rem; }
.path_to_file li > div { width: auto !important; left: 0 !important; right: 0 !important;  }
.home_style_bread div{ font-size: 0.8rem; line-height: 2 !important; position: relative; top: 2px!important; }
.home_style_bread div:before { content: ""; display: inline-block; width: 18px; height: 18px; background-image: url(/static/images/adress2.png); background-repeat: no-repeat; }

body .path_to_file + div { border-top:none!important; }
body #toolbar, body .k-toolbar { border-color:#fff!important; display: block;}
body .k-toolbar > .k-button > a {float: right;}
/*body .form-group.row label { line-height: 2; }*/

body .err_earth_moon { width:100%!important; height:100%!important; padding: 5%!important; background-color: #171717!important; display: block!important; }
body .err_earth_moon img { width:50%!important; margin:0 25%!important;}

body #access_control #crm_grid .k-grid-edit-row td, body #access_control #crm_grid .k-grid-content.k-auto-scrollable .k-grid-edit-row td { padding: 0.4em 0.6em!important; vertical-align: top!important; }
body #access_control #crm_grid .k-grid-edit-row td.k-command-cell > a { border:none; box-shadow: none; background: none; width: auto; min-width: 0; padding:8px; }
body #access_control #crm_grid .k-grid-edit-row td.k-command-cell > a:hover { opacity: 0.6; cursor: pointer; }
body #access_control #crm_grid .k-grid-edit-row td.k-command-cell > a > span { width: 18px!important; height: 18px!important; opacity: 1!important; }
body #access_control #crm_grid .k-grid-edit-row td.k-command-cell:last-child > a:first-child > span:before { content: ""; display: inline-block; width: 18px; height: 18px; background-repeat: no-repeat; background-image: url(/static/images/okey.png); }
body #access_control #crm_grid .k-grid-edit-row td.k-command-cell:last-child > a:last-child > span:before { content: ""; display: inline-block; width: 18px; height: 18px; background-repeat: no-repeat; background-image: url(/static/images/cancel.png); }

/* отступ в таблицах для погинации */
body #access_control #grid {
    margin-bottom: 50px;
}
body #access_control #crm_grid .container > .row .col-4,

body #access_control #crm_grid .container > .row .col-2 { padding:0!important; }
body  #access_control #crm_grid .container > .row .select_cfo_for_lk {
    padding-right: 22px!important;
}
body #access_control #crm_grid .container > .row .form-group.row,
body #access_control #grid .container > .row .form-group.row { margin:5px 10px!important; }
body #access_control #crm_grid .container > .row .park_all_clients .form-group.row  { margin:0!important; }
body #access_control #crm_grid .container .park_all_clients p { border: none!important; margin-bottom: 0!important; }
body #access_control #crm_grid .container .park_all_clients label { float:right; text-align: right; margin-bottom: 0;}

body #access_control .row > div { border: none!important;}
body #access_control #crm_grid td .change_pass {
    float: left;
    margin: 0 5px!important;
    height: 2rem;
}

body #access_control #crm_grid td button {
    background-color: #2587dc!important;
    margin: 5px!important;
    font-size: 0.8rem;
    float: right;
    border: none;
    color: #fff;
    text-transform: none;
    font-weight: 600;
    border-radius: 0;
}
body #access_control #crm_grid .container > .row .form-group.row.two_level { margin-left:30px!important; }
/*body #access_control #crm_grid .container > .row .customer_categories .form-group.row,
body #access_control #crm_grid .container > .row .park_all_clients .form-group.row { margin-top:1em!important; margin-bottom:1em!important;}*/ /* отступ сверху снизу в клиенты - договора */
/*body #access_control #crm_grid .form-group.row .form-control { height:auto; padding: 0.2rem 0.5rem!important;}*/
/*body #access_control #crm_grid .form-group.row .k-widget.k-dropdown.k-header.form-control { padding:0!important; width: 84%!important; }*/

body #access_control #admin_employee_grid .container > .row .form-group.row.two_level { margin-left:30px!important; }
body #access_control #admin_employee_grid .container > .row .customer_categories .form-group.row,
body #access_control #admin_employee_grid .container > .row .intervals .form-group.row { margin-top:0!important; margin-bottom:0!important;}
body #access_control #admin_employee_grid .container > .row .customer_categories { padding-left: 40px!important; }

body #access_control #admin_employee_grid .role_sotrudniks ul.k-group .k-icon.k-i-collapse { display:none; }
body #access_control #admin_employee_grid .role_sotrudniks .k-checkbox-wrapper .k-checkbox-label.checkbox-span{ border-radius: .25rem; background-color: #2587dc; }
body #access_control #admin_employee_grid .role_sotrudniks .k-checkbox:checked+.k-checkbox-label:before { background-color: #2587dc; border-color: #2587dc; color: #fff; }
body #access_control #admin_employee_grid .role_sotrudniks .k-checkbox:checked+.k-checkbox-label:before { font-size: 0.8em; }
body #access_control #admin_employee_grid .role_sotrudniks .k-checkbox:indeterminate+.k-checkbox-label:after { background-color: #2587dc; background-image: none; border-color: #2587dc; border-radius: .1rem; }
body #access_control #admin_employee_grid .role_sotrudniks .k-checkbox:indeterminate+.k-checkbox-label:before { border-color: #2587dc; }
body #access_control #admin_employee_grid .role_sotrudniks .k-checkbox-label:before { border-color: #dee2e6; background-color: #dee2e6; }
body #access_control #admin_employee_grid .role_sotrudniks .k-in { color: #444!important; }
body #access_control #admin_employee_grid .role_sotrudniks .k-treeview .k-sprite { display:none!important; }

.paid_status_0, .paid_status_1, .paid_status_2, .paid_status_3, .paid_status_4 { border-radius: 10px; width: 10px; height: 10px; margin: 0 auto;}

.paid_status_4 { background-color: #ffc107;}
.paid_status_3 { background-color: #2587dc;}
.paid_status_2 { background-color: #35373d;}
.paid_status_1 { background-color: #7ea700;}
.paid_status_0 { background-color: #cb625d;}

.k-i-exclamation-circle { border-radius: 10px; width: 15px; height: 15px; margin: 0 5px;
    background-color: #cb625d; display: inline-block; text-align: center; color: white; font-weight:600; }


body .k-toolbar.k-widget > .date_input {padding:5px; float: right;}

.suggestions-promo-desktop, .suggestions-promo suggestions-promo-desktop { display:none!important; }

body #access_control #crm_grid .info_clients ul.k-group .k-icon.k-i-collapse { display:none; }
body .k-checkbox-wrapper .k-checkbox-label.checkbox-span{ border-radius: .25rem; background-color: #2587dc; }
body .k-checkbox-wrapper+.k-in .k-sprite.rootfolder {display: none!important;}
body .k-checkbox:checked+.k-checkbox-label:before { background-color: #2587dc; border-color: #2587dc; color: #fff; }
body .k-checkbox:checked+.k-checkbox-label:before { font-size: 0.8em; }
body .k-checkbox:indeterminate+.k-checkbox-label:after { background-color: #2587dc; background-image: none; border-color: #2587dc; border-radius: .1rem; }
body .k-checkbox:indeterminate+.k-checkbox-label:before { border-color: #2587dc; }
body .k-checkbox-label:before { border-color: #dee2e6; background-color: #dee2e6; }
body #access_control #crm_grid .info_clients .k-in { color: #444!important; }
body #access_control #crm_grid .info_clients .k-treeview .k-sprite { display:none!important; }

body #access_control #crm_grid .type_info_style .k-item { padding-left:0!important; }
/*body #access_control #crm_grid .type_info_style input{ box-sizing: content-box!important; }*/

body #access_control #crm_grid tr.k-master-row td.k-command-cell a {
    border: none;
    box-shadow: none;
    background: none;
    width: auto;
    min-width: 0;
    padding: 0 5px;
}
body #access_control #crm_grid tr.k-master-row td.k-command-cell .k-i-delete:before {
    content: "";
    display: inline-block;
    width: 18px;
    height: 18px;
    background-repeat: no-repeat;
    background-image: url(/static/images/delete_com.png);
}

body #access_control #crm_grid .k-command-cell { text-align: center; }

body #crm_grid > div:last-child { position: fixed; bottom: 0; width: 100%; }
body #crm_grid > div > table tr > td:first-child a:before, body #crm_grid > div > table tr > td:first-child a { color: #2587dc; opacity: 1; }
body #crm_grid .bort_clients tr td { border-bottom-width: 1px; }
body #crm_grid .bort_clients tr td.k-command-cell { text-align: center; }
body #crm_grid .bort_clients tr td.k-command-cell .k-i-edit:before { content: ""; display: inline-block; width: 18px; height: 18px; background-repeat: no-repeat; background-image: url(/static/images/edit_com.png);  }
body #crm_grid .bort_clients tr td.k-command-cell .k-i-delete:before { content: ""; display: inline-block; width: 18px; height: 18px; background-repeat: no-repeat; background-image: url(/static/images/delete_com.png);  }
body #crm_grid .bort_clients tr td.k-command-cell a { border:none; box-shadow: none; background: none; width: auto; min-width: 0; padding:6px; }
body #crm_grid .bort_clients tr td.k-command-cell a:hover { opacity: 0.6; cursor: pointer; }
body #crm_grid .bort_clients .k-invalid-msg {
    display: block;
    background-color: #fff;
}
body #crm_grid .bort_clients .k-invalid-msg .k-tooltip-icon.k-icon {
    display: none;
}
body #crm_grid tr.k-master-row td,
body #crm_grid tr.k-footer-template td{ font-size:0.7rem; padding: 2px; border-bottom-width: 1px; }
body #access_control #grid .k-grid-footer td {text-align: right;padding: 2px 0 !important;}

ul.profile { float:right; padding: 0; }
ul.profile, ul.profile_menu{ list-style: none; display: block; margin:0px; z-index: 9999;}
ul.profile_menu { padding:0px; }
ul.profile:after, ul.profile_menu:after { display: block; float: none; content: ' '; clear: both; }
ul.profile > li { float: left; position: relative; }
ul.profile > li > a { display: block; color: #fff; text-decoration: none; padding:10.1px; } /* выход из аккаунта */
/*ul.profile > li > a:hover { background-color: #eb9316; }*/
ul.profile_menu { position: absolute; width: 160px; top: 40px; right: 0; display: none; background-color: white; }
ul.profile_menu > li { display: block;}
ul.profile_menu > li > a { display: block; text-decoration: none; padding: 10px; color: #ffffff; background-color: #2587dc; }
ul.profile_menu > li > a:hover { opacity: 0.7;}
ul.profile > li:hover > ul.profile_menu { display: block; }

body #crm_grid .contacts .customer_categories .form-group.row{ background-color: rgba(0, 0, 0, 0); }
body #crm_grid .contacts .k-detail-row{ background-color: #fff!important; }
body #crm_grid .contacts .k-detail-row label { font-weight: 500; }
body .tabl_email { padding:0;}
body .tabl_email .k-grid.k-widget.k-grid-display-block.k-editable {margin-left:10px;}

body #crm_grid .contacts .k-i-edit:before { content: ""; display: inline-block; width: 18px; height: 18px; background-repeat: no-repeat; background-image: url(/static/images/edit_com.png);  }
body #crm_grid .contacts .k-i-delete:before { content: ""; display: inline-block; width: 18px; height: 18px; background-repeat: no-repeat; background-image: url(/static/images/delete_com.png);  }
body #crm_grid .contacts .k-i-otpr_pass:before { content: ""; display: inline-block; width: 18px; height: 18px; background-repeat: no-repeat; background-image: url(/static/images/email_sotr.png);  }
body #crm_grid .contacts .k-i-smen_pass:before { content: ""; display: inline-block; width: 18px; height: 18px; background-repeat: no-repeat; background-image: url(/static/images/edit3_com.png);  }
body #crm_grid .contacts td.k-command-cell { text-align: center; }
body #crm_grid .contacts td.k-command-cell a { border:none; box-shadow: none; background: none; width: auto; min-width: 0; padding:8px; }
body #crm_grid .contacts td.k-command-cell a:hover { opacity: 0.6; cursor: pointer; }
body #crm_grid .contacts .k-detail-cell td { padding: 0em 0.6em; font-weight: normal; }

body .k-pager-numbers span{ padding: 0!important; margin-top: 0!important; font-weight:bold!important; border-radius: 30px!important; border: 2px solid #35373d!important; color:#35373d!important;}
body .k-pager-wrap.k-grid-pager.k-widget.k-floatwrap .k-pager-numbers-wrap .k-pager-numbers span { padding: 0!important; margin-top: 0!important; font-weight:bold!important; border-radius: 30px!important; border: 2px solid #35373d!important; color:#35373d!important;}
body #crm_grid .k-pager-wrap.k-grid-pager.k-widget.k-floatwrap {background-color: #fafafa!important; }

/*body .k-animation-container { position:relative!important; }*/

body #crm_grid .managers td { padding: 0 10px; border-bottom-width: 1px; }
body #crm_grid .managers td.k-command-cell { text-align: center; }
body #crm_grid .managers td.k-command-cell .k-i-edit:before { content: ""; display: inline-block; width: 18px; height: 18px; background-repeat: no-repeat; background-image: url(/static/images/edit_com.png);  }
body #crm_grid .managers td.k-command-cell .k-i-delete:before { content: ""; display: inline-block; width: 18px; height: 18px; background-repeat: no-repeat; background-image: url(/static/images/delete_com.png);  }
body #crm_grid .managers td.k-command-cell a { border:none; box-shadow: none; background: none; width: auto; min-width: 0; padding:8px; }
body #crm_grid .managers td.k-command-cell a:hover { opacity: 0.6; cursor: pointer; }



body #access_control #admin_employee_grid > .k-grid-content.k-auto-scrollable, body #access_control #grid > .k-grid-content.k-auto-scrollable { height:auto!important; margin-bottom:50px;}
body #access_control.sprav_form #grid > .k-grid-content.k-auto-scrollable { margin-bottom: 0!important;}

body #access_control #crm_grid td.k-command-cell { text-align: center; }
body #access_control #crm_grid td.k-command-cell .k-i-edit:before { content: ""; display: inline-block; width: 18px; height: 18px; background-repeat: no-repeat; background-image: url(/static/images/edit_com.png);  }
body #access_control #crm_grid td.k-command-cell .k-i-delete:before { content: ""; display: inline-block; width: 18px; height: 18px; background-repeat: no-repeat; background-image: url(/static/images/delete_com.png);  }
body #access_control #crm_grid td.k-command-cell a { border:none; box-shadow: none; background: none; width: auto; min-width: 0; padding: 0 5px; }
body #access_control #crm_grid td.k-command-cell a:hover { opacity: 0.6; cursor: pointer; }

body #access_control td.k-command-cell { text-align: center; }
body #access_control td.k-command-cell .k-i-edit:before,
body #grid-artikul-menu td.k-command-cell .k-i-edit:before
{ content: ""; display: inline-block; width: 18px; height: 18px; background-repeat: no-repeat; background-image: url(/static/images/edit_com.png);  }
body #access_control td.k-command-cell .k-i-delete:before { content: ""; display: inline-block; width: 18px; height: 18px; background-repeat: no-repeat; background-image: url(/static/images/delete_com.png);  }
body #access_control td.k-command-cell a,
body #grid-artikul-menu td.k-command-cell a
{border:none; box-shadow: none; background: none; width: auto; min-width: 0; padding:2px; }
body #access_control td.k-command-cell a:hover,
body #grid-artikul-menu td.k-command-cell a:hover { opacity: 0.6; cursor: pointer; }

body #access_control .k-grid-edit-row td #published.k-widget.k-treeview {text-align: center;padding-left: 14px;}
body #access_control .k-grid-edit-row td, body #access_control .k-grid-content.k-auto-scrollable .k-grid-edit-row td { padding: 0.4em 0.6em!important;}
body #access_control .k-grid-edit-row td.k-command-cell > a { border:none; box-shadow: none; background: none; width: auto; min-width: 0; padding:2px; }
body #access_control .k-grid-edit-row td.k-command-cell > a:hover { opacity: 0.6; cursor: pointer; }
body #access_control #grid td, body #access_control #grid_sklad td, body #access_control #grid_korzina td, body #access_control #grid_sprav td { padding: 2px 4px; font-weight: normal; line-height: normal;}
body #access_control .k-grid-edit-row td.k-command-cell > a > span { width: 18px!important; height: 18px!important; opacity: 1!important; }
body #access_control .k-grid-edit-row td.k-command-cell > a:first-child > span:before { content: ""; display: inline-block; width: 18px; height: 18px; background-repeat: no-repeat; background-image: url(/static/images/okey.png); }
body #access_control .k-grid-edit-row td.k-command-cell > a:last-child > span:before { content: ""; display: inline-block; width: 18px; height: 18px; background-repeat: no-repeat; background-image: url(/static/images/cancel.png); }

body #access_control #grid > div:last-child { position: fixed; bottom: 0; width: 100%; z-index: 9999;}
/* body #access_control #grid .k-pager-numbers span{ padding: .45em 0 0 0!important; margin-top: -.45em!important; } */
body #access_control #grid .k-pager-wrap.k-grid-pager.k-widget.k-floatwrap {background-color: #fafafa!important; }

body .k-edit-form-container { width: auto; }
body .master_next {display: block;
    width: 100%;
    bottom: 0!important;}
body .select_cfo .customer_catego ries.type_info_style span.k-checkbox-wrapper {margin-top:10px!important;}
body .select_type .master_next, body .contract_info .master_next {display:block; position:absolute; width:69%; bottom: 0!important; }
body .master_next > div:last-child { text-align: center; position: absolute; width: 550px!important; bottom:-42px;}
body .pko_rko_dvig_bv_add .master_next > div:last-child { text-align: center; position: absolute; width: 100%!important; bottom:0;}
body .window_postuplenie .master_next  > div:last-child {width:100%!important;}
body .window_postuplenie .master_next  > div:last-child > button {bottom: 40px!important;}
/*body .master_next > div { text-align: center; position: absolute; width: 67%; bottom: 0; }*/
body .tabstrip-left.k-widget.k-header.k-tabstrip.k-floatwrap.k-tabstrip-left { background-color:#fff; position: relative; }
body .tabstrip-left.k-widget.k-header.k-tabstrip.k-floatwrap.k-tabstrip-left .k-tabstrip-items.k-reset,
body .tabstrip-left.k-widget.k-header.k-tabstrip.k-floatwrap.k-tabstrip-left .k-tabstrip-items.k-reset .k-item{ background-color: #35373d; }
body .tabstrip-left.k-widget.k-header.k-tabstrip.k-floatwrap.k-tabstrip-left .k-tabstrip-items.k-reset li { border-right-width: 0!important; margin-right: 0!important; border-bottom-color: #fff!important; }
.k-content.k-state-active { height:auto!important; }
body .tabstrip-left.k-widget.k-header.k-tabstrip.k-floatwrap.k-tabstrip-left .type_info_style { padding-left:0!important; padding-right:0!important;}

body .k-widget.k-window .k-popup-edit-form.k-window-content.k-content .k-edit-form-container .k-edit-buttons.k-state-default { display:none!important; }
body .k-widget.k-window .k-popup-edit-form.k-window-content.k-content .k-edit-form-container .k-content.k-state-active { padding:0!important; }
/*body .select_cfo { margin-bottom:50px!important; }*/
body .select_cfo .form-group.row > div, body .company .form-group.row > * { display: inline-block!important; width: 100%!important; float: right;}
body .k-widget.k-window .k-popup-edit-form.k-window-content.k-content .k-edit-form-container .master_next button { background-color: #3fca5f!important; width:100%; bottom:0; padding:10px 0!important; color:#fff!important; }

body .master_left_menu { height:100%; display: inline-block; position: relative; width:250px; z-index: 20;}
body .error_master { background-color: #fff; padding: 5px 16px; margin: 5px 0 0!important; color: red; }
body .error_master ul{ margin:0!important; padding-left:0!important; }
body .error_master ul li{ list-style-type: none; }
body .select_company .type_info_style { padding-left: 20px;}
body .master_left_back{ background-color:#35373d; height:100%; width:250px; display:inline-block; position:absolute; z-index: 10; }
body .master_left_back_2 { width:250px!important; background-color:#35373d; height:100%; display:inline-block; position:absolute; z-index: 10;}
body .master_next button { margin:0!important; }
body .select_company .row .row,
body .select_ts .col-8 .row { padding:0 15px!important; }
body .select_company .customer_categories.type_info_style label {
        margin-bottom: 0!important;
    }
body .select_company .customer_categories.type_info_style > div {
    display: flex;
    align-items: center;
}
body .select_company .customer_categories.type_info_style label+span,
body .select_company .customer_categories.type_info_style label+div,
body .company .customer_categories.type_info_style label+span,
body .company .customer_categories.type_info_style label+div,
body .select_contragent .customer_categories.type_info_style label+span,
body .select_contragent .customer_categories.type_info_style label+div,
body .contract_info .customer_categories.type_info_style label+span,
body .contract_info .customer_categories.type_info_style label+div,
body .contract_info_2 .customer_categories.type_info_style label+span,
body .contract_info_2 .customer_categories.type_info_style label+div{display:inline-block!important; width:100%!important; float: right; }
/*body .select_company .customer_categories.type_info_style label+div > span,*/
body .company .customer_categories.type_info_style label+div > span,
body .select_contragent .customer_categories.type_info_style label+div > span,
body .contract_info .customer_categories.type_info_style label+div > span,
body .contract_info_2 .customer_categories.type_info_style label+div > span {width: 100%!important;}
body .select_type .col-12.customer_categories.type_info_style .form-group.row,
body .select_ts .col-12.customer_categories.type_info_style .form-group.row,
body .company .col-12.customer_categories.type_info_style .form-group.row,
body .select_contragent .col-12.customer_categories.type_info_style .form-group.row,
body .contract_info .col-12.customer_categories.type_info_style .form-group.row,
body .contract_info_2 .col-12.customer_categories.type_info_style .form-group.row,
body .select_cfo .col-12.customer_categories.type_info_style .form-group.row,
body .select_doctype .col-12.customer_categories.type_info_style .form-group.row { padding-left:15px!important; padding-right:15px!important; }
body .select_type input,
body .select_ts input,
/*body .select_company input,*/
body .company input,
body .select_contragent input,
body .contract_info input,
body .contract_info_2 input { height:15px!important; width:90%!important; }

body #select_type_null ul.k-treeview-lines li {float:none!important;}
body .select_type #select_type_null input {width:15px!important; height:15px!important;}
body .select_type .col-12.customer_categories.type_info_style .form-group.row span.k-widget.k-dropdown.k-header.form-control,
body .select_ts .col-12.customer_categories.type_info_style .form-group.row span.k-widget.k-dropdown.k-header.form-control,
body .company .col-12.customer_categories.type_info_style .form-group.row span.k-widget.k-dropdown.k-header.form-control,
body .select_contragent .col-12.customer_categories.type_info_style .form-group.row span.k-widget.k-dropdown.k-header.form-control,
body .contract_info .col-12.customer_categories.type_info_style .form-group.row span.k-widget.k-dropdown.k-header.form-control,
body .contract_info_2 .col-12.customer_categories.type_info_style .form-group.row span.k-widget.k-dropdown.k-header.form-control {width:97%!important; height: auto; }
body .k-grid-content.k-auto-scrollable {height:100%!important;}
body .k-widget.k-window .k-grid.k-widget.k-display-block.k-editable .k-grid-content.k-auto-scrollable { padding-bottom: 50px; }

body .k-picker-wrap.k-state-default,
body .k-picker-wrap.k-state-disabled{ height: 100%; line-height:1;}

body #access_control #listView > div > div > ul, body #access_control #listView > div > div > ul li { background-color: transparent; border-width: 0!important;}
body #access_control #listView > div > div { background-color: transparent; }
body #access_control #listView > div > div > ul li { background-color: transparent!important; }
body #access_control #listView > div > div > ul li:hover { opacity: 0.6; cursor: pointer; }
body #access_control #listView > div > div > ul li .k-loading.k-complete { border-width: 0!important; }
body #access_control #listView > div > div > ul li span.k-link { padding: 8px 14px!important; background-color: #2587dc; margin: 5px 5px 0 0!important; font-size: 0.8rem; float: right; border: none; color: #fff; text-transform: none; font-weight: 600; border-radius: 0;}
body #access_control #listView > div, body #access_control > div > div { border-width: 0!important; }
body #access_control #listView .k-tabstrip-items.k-reset .k-state-active .k-link{ background-color: #e6e6e6; color: #35373d; border-left: 1px solid #e6e6e6; border-right: 1px solid #e6e6e6; /*border-top: 1px solid #e6e6e6; border-bottom: 1px solid #fff;*/}

body #crm_grid .contragents,
body #crm_grid .contragent_bank,
body #crm_grid .contracts,
body #crm_grid .dop_sog,
body #crm_grid .status_contract,
body #crm_grid .bort_clients,
body #crm_grid .contacts,
body #crm_grid .managers,
body #crm_grid .doverennosti {overflow-x: hidden!important; margin-bottom:40px!important;}
body .suggestions-suggestions {z-index: 9999!important; background-color: white; box-shadow: 0px 14px 18px 5px #343a403b;min-width: 300px;}
body .suggestions-suggestion:hover {
    background-color: #44444444;
}
body #bik_swift {
    padding-left: 0 !important;
    line-height: 2.04em;
    vertical-align: middle;
    display: inline-block;
    margin-top: 17%;
}
.contragent_bank td, .k-detail-row, body #crm_grid .contragent_bank .container, body #crm_grid .tabstrip .contragent_bank.k-content.k-state-active,
 body #listView .contragent_bank .container, body #listView .tabstrip .contragent_bank.k-content.k-state-active,
.tabstrip .contragent_bank .k-grid-content.k-auto-scrollable,
tr.k-detail-row > td.k-detail-cell > div > div > div.contragent_bank.k-content.k-state-active{
    overflow: visible!important;
    overflow-x: visible!important;
}




body #crm_grid .k-grid-content .k-grid-edit-row {overflow-y: visible;}

body #crm_grid .main_info_contract > .form-group.row > .col-11 .col-10,
body #crm_grid .main_info_contract > .form-group.row > .col-11 .col-2 { float:left; padding:0!important; line-height: normal; }
body #crm_grid .main_info_contract .form-group.row .form-control { font-size: 0.7rem!important; height: auto; padding: 0.2rem 0.5rem!important; width: 95%!important; }
body #crm_grid .main_info_contract .headline_contract_info {font-weight: bold;}

body #crm_grid .contracts .main_info_contract .form-group.row > label {
    margin: 0.5rem 0 0!important;
}
body #crm_grid .contracts .main_info_contract textarea { max-height:100%; resize: none; overflow: auto; }
body #crm_grid .contracts .main_info_contract input {width:100%;}


body #crm_grid .main_info_contract .form-group.row .col-12 .container .row > div { padding-left: 0!important; padding-right: 0!important; }

body #filter_0 .k-edit-buttons.k-state-default,
body #filter_1 .k-edit-buttons.k-state-default,
body #filter_2 .k-edit-buttons.k-state-default,
body #filter_3 .k-edit-buttons.k-state-default { display:block!important; position:relative!important; width:auto!important; }

body #filter_0 .k-window-actions,
body #filter_1 .k-window-actions,
body #filter_2 .k-window-actions,
body #filter_3 .k-window-actions { position:relative!important; display:inline-block!important; top:0!important; padding: 0!important; }

body #access_control #crm_grid .main_info_contract .form-group.row > *,
body #access_control #grid .main_info_contract .form-group.row > * { margin-top: 10px; }
body #access_control #crm_grid .main_info_contract .contract_type,
body #access_control #grid .main_info_contract .contract_type {width:100%!important; }
/*body #access_control #grid tr.k-grid-edit-row { height:65px!important;}*/
body #access_control #grid tr.k-grid-edit-row td {overflow: visible;}

/*body #access_control #crm_grid .type_info_style input.k-checkbox,*/
body #access_control #grid .type_info_style input.k-checkbox{width:16px!important; }
/*body #access_control #crm_grid .type_info_style textarea,
body #access_control #crm_grid .type_info_style+div textarea { width:88%!important; } */ /* редакт текстовое поле в срм клиенты */

body #access_control #crm_grid .type_info_style .col-3 > input {width: 72%!important;}
body #access_control #crm_grid .main_info_contract.k-content.k-state-active .type_info_style textarea {width:95%!important;}

body #access_control #crm_grid .contract_type p,
body #access_control #grid .contract_type p{ padding: 5px; margin-bottom:5px!important; border: 1px solid rgb(206, 212, 218); background-color: rgb(235, 235, 228); }
body #access_control #crm_grid .contract_type p,
body #access_control #grid .contract_type p{
    padding: 5px;
    margin-bottom: 5px !important;
    border: 1px solid rgb(206, 212, 218);
    background-color: rgb(235, 235, 228);
}

body #access_control #crm_grid .contracts .container > .row .form-group.row:first-child,
/*body #access_control #grid .contracts .container > .row .form-group.row:first-child {margin-left:10px!important;}*/
body #access_control #crm_grid .contracts .buttons_status a,
body #access_control #grid .buttons_status a { text-align: left; }
body #access_control #crm_grid .contracts .buttons_status a p,
body #access_control #grid .buttons_status a p { padding: 5px; margin-bottom: 0; }
body #access_control #crm_grid .contracts .buttons_status a.disabled_status {  }
body #access_control #crm_grid .contracts .buttons_status a.done_status {  }
body #access_control #crm_grid .contracts .buttons_status a.next_status,
body #access_control .buttons_status a.next_status { background-color: #7ea700!important; }
body #access_control #crm_grid .main_info_contract textarea.contract_type,
body #access_control #grid .main_info_contract textarea.contract_type { border-color: #d4d9dd; width: 97%!important; }
body #access_control #crm_grid .main_info_contract .k-checkbox-wrapper,
body #access_control #grid .main_info_contract .k-checkbox-wrapper { border-color: #d4d9dd; }
body #access_control #crm_grid .main_info_contract .k-sprite,
body #access_control #grid .main_info_contract .k-sprite { background-color: rgba(0, 0, 0, 0)!important; }

body #access_control #listView .info_clients.k-content.k-state-active form .form-group.row button {background-color: #2587dc!important; margin: 5px!important; font-size: 0.8rem; float: right; border: none; color: #fff; text-transform: none; font-weight: 600; border-radius: 0; }
body #access_control #listView .form-group.row .form-control.suggestions-input { height: auto; padding: 0.2rem 0.5rem!important; width: 84%!important; }
body #access_control #listView .info_clients,
body #access_control #listView .bort_clients,
body #access_control #listView .contacts,
body #access_control #listView .contragents,
body #access_control #listView .contracts,
body #access_control #listView .documents,
body #access_control #listView .dop_info,
body #access_control #listView .managers { padding:0!important; border-color: #e6e6e6!important;}
body #access_control #listView .info_clients .customer_categories,
body #access_control #listView .bort_clients .customer_categories,
body #access_control #listView .contacts .customer_categories,
body #access_control #listView .contragents .customer_categories,
body #access_control #listView .contracts .customer_categories,
body #access_control #listView .documents .customer_categories,
body #access_control #listView .dop_info .customer_categories,
body #access_control #listView .managers .customer_categories {padding:0;}


body #access_control #listView .bort_clients div > div > table tr > td:first-child a,
body #access_control #listView .contragents div > div > table tr > td:first-child a { color: #2587dc; opacity: 1; }
body #access_control #listView .bort_clients div.container div > div:last-child.k-pager-wrap.k-grid-pager.k-widget.k-floatwrap { position: fixed; bottom: 0; width: 100%; }
body #access_control #listView .bort_clients div.container td div > div:last-child.k-pager-wrap.k-grid-pager.k-widget.k-floatwrap { position: relative; bottom: 0; width: 100%; }
body #access_control #listView .bort_clients div.container div > div.k-grid-content.k-auto-scrollable { padding-bottom: 35px; }
body #access_control #listView .bort_clients div.container td div > div.k-grid-content.k-auto-scrollable { padding-bottom: 0; }

body #access_control #listView .bort_clients .k-detail-cell .k-pager-wrap.k-grid-pager.k-widget.k-floatwrap { background-color: #fafafa!important; }
body #access_control #listView .bort_clients .k-detail-cell > div > div > ul li span { margin: 0!important; font-size: 0.8rem; float: right; text-transform: none; font-weight: 600; }
body #access_control #listView { border-top-width:0!important; }

body #access_control #listView .contragents .k-detail-row .info_contragent li { padding:0!important; }
body #access_control #listView .contragents .k-detail-row .info_contragent li span {padding-left:0!important;}
body #access_control #listView form .form-group.row button {background-color: #2587dc!important; margin: 5px!important; font-size: 0.8rem; float: right; border: none; color: #fff; text-transform: none; font-weight: 600; border-radius: 0; }

body #access_control #listView .k-detail-cell div > div > div > div:first-child { background-color: rgba(0, 0, 0, 0);}
body #access_control #listView .contragents .dop_adress .k-multiselect-wrap .k-button { background-color: #2587dc!important; border-color: #2587dc !important; border-radius: 0!important; }
body #access_control #listView .form-group.row input.form-control,
body #access_control #listView .form-group.row textarea.form-control{ width:80%!important; padding: 0.2rem 0.5rem!important; }
body #access_control #listView .dop_adress input { margin: 5px 0!important; }

body #access_control .contragents .dop_adress,
body #access_control .contragents .contragent_bank{ overflow-x: hidden!important; }
body #access_control .contragents .for_print .container { margin:10px; }

body #access_control .contragents td button {
    background-color: #2587dc!important;
    margin: 5px!important;
    font-size: 0.8rem;
    float: right;
    border: none;
    color: #fff;
    text-transform: none;
    font-weight: 600;
    border-radius: 0;
}

body #access_control .documents .k-grid-content.k-auto-scrollable {margin-bottom:38px;}
body #access_control .documents .k-pager-wrap.k-grid-pager.k-widget.k-floatwrap { position: fixed; bottom: 0; width: 100%; }
body #access_control .for_print li,
body #access_control .dop_adress li{padding-left:0;}
body #access_control .info_clients .container .park_all_clients label { float: right; text-align: right; margin-bottom: 0;}
body #access_control .info_clients .container .park_all_clients p { border: none!important; margin-bottom: 0!important; line-height:1; }

body #access_control .suggestions-wrapper { z-index: 9999!important; }
body #access_control #listView .for_print { overflow: hidden!important; }
body #access_control #listView .k-grid td { overflow: visible!important;}
body #access_control #listView .contragent_bank .k-grid-content,
body #access_control #listView .contragent_bank {overflow-y: visible!important;}

body #access_control #crm_grid .main_info_contract .col-12 > div.form-group.row,
body #access_control #grid .main_info_contract .col-12 > div.form-group.row { margin:0 10px 0 0!important;}

body .stat_dog_clients { padding:0!important; }
body .stat_dog_clients div{ padding:0 10px!important; }

body #crm_grid .k-detail-cell .k-tabstrip-items.k-reset { margin:0!important; }


body #access_control .main_info_contract .form-group.row > label { margin: 10px 0 0!important;}
body #access_control .main_info_contract .form-group.row > label.margin_top10 { margin: 10px 0 0!important;}
body #access_control .main_info_contract .form-group.row > label.margin_top20 { margin: 20px 0 0!important;}
body #access_control .main_info_contract textarea { max-height:100%; resize: none; overflow: auto; height:130px!important;}
body #access_control .main_info_contract input {width:100%;}
body #access_control .main_info_contract input.k-checkbox {width:16px!important;}

body #access_control .main_info_contract .form-group.row .col-12 .container .row > div { padding-left: 0!important; padding-right: 0!important; }
body #access_control .main_info_contract > .form-group.row > .col-11 .col-10,
body #access_control .main_info_contract > .form-group.row > .col-11 .col-2 { float:left; padding:0!important; line-height: normal; }
body #access_control .main_info_contract .form-group.row .form-control { font-size: 0.7rem!important; height: auto; padding: 0.2rem 0.5rem!important; width: 95%!important; }
body #access_control .main_info_contract .headline_contract_info {font-weight: bold;}

body #filter_0 .k-edit-buttons.k-state-default,
body #filter_1 .k-edit-buttons.k-state-default,
body #filter_2 .k-edit-buttons.k-state-default,
body #filter_3 .k-edit-buttons.k-state-default { display:block!important; position:relative!important; width:auto!important; }

body #filter_0 .k-window-actions,
body #filter_1 .k-window-actions,
body #filter_2 .k-window-actions,
body #filter_3 .k-window-actions { position:relative!important; display:inline-block!important; top:0!important; padding: 0!important; }

body #pivotgrid .k-grid-header-wrap { overflow-x: auto!important;}
body #pivotgrid .k-grid-content { overflow-x: auto!important;}
body span.k-in, body span.k-in:focus, body span.k-in:active, body span.k-in:focus, body span.k-in:hover, body span.k-in:visited  { background-color: rgba(0, 0, 0, 0)!important; }
body .contragent_bank .k-grid-content tr.k-grid-edit-row { height:150px!important; }
/*body .table_dvij_sredstv .k-grid-content td,
body .table_dvij_sredstv .k-grid-header th { font-size: 10px!important; }*/
body .table_dvij_sredstv td.k-command-cell a {padding: 2px!important; }

/*body #dialog_money_replace .form-group { width:100%; float:left; }*/
body #dialog_money_replace #btn_money_replace > div { position: relative!important; color:#fff!important; border-width: 0!important;}
body #dialog_money_replace #btn_money_replace .k-button.k-upload-button { color:#fff!important; margin:0!important; }

body #access_control #grid.table_dvij_sredstv tr .k-widget.k-dropdown.k-header { width:100%!important; }
body #access_control #grid.table_dvij_sredstv .k-master-row.k-grid-edit-row td{ padding: 0.4em 0.2em!important; }
body #access_control #grid.table_dvij_sredstv .docs_plateg, body #access_control #grid.table_dvij_sredstv .history_changes {overflow-x: hidden!important;}

body .plateg_docs .k-grid-edit { display:none!important; }
body #hidden_btn {display:none!important;}
body #access_control #grid td button.btn-primary
{
    background-color: #2587dc!important;
    margin: 5px!important;
    font-size: 0.8rem;
    float: right;
    border: none;
    color: #fff;
    text-transform: none;
    font-weight: 600;
    border-radius: 0;
}


body .k-animation-container .k-widget.k-dropdowntree.k-dropdowntree-clearable.k-state-border-down li.k-button,
body .k-animation-container .k-multiselect-wrap.k-floatwrap li.k-button{ width:100%!important; }

#grid-doc-menu > .k-grid-content {position: unset;}


body #dialog_money_replace .col-12 { padding-left:2%!important; width:96%;}
body #dialog_money_replace .col-12 > * { float:left;}
body #dialog_money_replace #sum_money_replace { height: auto; width: 95%!important; padding: 0.28rem 0.5rem!important; }
body #dialog_money_replace #btn_money_replace { width: 100%; margin: 0!important; bottom: 0; position: absolute;  height:40px; background-color: #2587dc!important; border-color: #2587dc!important; border-radius: 0; color: #fff; font-weight: bold}
body #dialog_money_replace .dialog_money_sum {bottom: auto; position: relative;}

body #dialog_export_priem #btn_priem { width: 100%; margin: 0!important; bottom: 0; position: absolute;  height:40px; background-color: #2587dc!important; border-color: #2587dc!important; border-radius: 0; color: #fff; font-weight: bold}
body #dialog_export_priem label {padding: 0 0.5rem!important;}

body .k-i-sort-asc-sm:before,
body .k-i-sort-desc-sm:before{color:#fff;}

body span.credit:before { color:#cb625d;}
body span.debet:before { color:#7ea700; }
body span.credit.k-icon, body span.debet.k-icon { font-weight: bold; opacity: 1!important; }

body #access_control #grid table th { padding-left: 0.3rem!important; padding-right: 0.25rem!important; line-height: 1; }
body #grid-doc-menu {overflow-x: hidden!important;}
body .svob_ostatok {color:red;}

body #crm_grid > .k-grid-header+.k-grid-content {padding-bottom: 50px;}
body #dialog-select-doc-menu #grid-doc-menu th,
body #dialog-select-doc-menu #grid-doc-menu td,
body #dialog-select-artikul-menu #grid-artikul-menu th,
body #dialog-select-artikul-menu #grid-artikul-menu td,
body #dialog-select-contragent-menu #grid-contragent-menu th,
body #dialog-select-contragent-menu #grid-contragent-menu td,
body #dialog-select-doc-menu #grid-doc-menu th,
body #dialog-select-doc-menu #grid-doc-menu td,
body #dialog-select-sotr-menu #grid-sotr-menu th,
body #dialog-select-sotr-menu #grid-sotr-menu td,
body #dialog-select-sklad-artikul-menu #grid-sklad-artikul-menu th,
body #dialog-select-sklad-artikul-menu #grid-sklad-artikul-menu td,
body #dialog-select-sklad-artikul-menu #grid-sprav-menu th,
body #dialog-select-sklad-artikul-menu #grid-sprav-menu td { padding:6px 8px!important; font-size: 0.7rem!important;}
body #dialog-select-artikul-menu #grid-artikul-menu th,
body #dialog-select-contragent-menu #grid-contragent-menu th,
body #dialog-select-doc-menu #grid-doc-menu th,
body #dialog-select-sotr-menu #grid-sotr-menu th,
body #dialog-select-sklad-artikul-menu #grid-sklad-artikul-menu th,
body #dialog-select-sklad-artikul-menu #grid-sprav-menu th {
    min-height: 30px!important;
    background-color: #35373d;
    color: #fff;
    font-weight: 500;
    padding: 4px;
    vertical-align: middle;}
body #dialog-select-artikul-menu,
body #dialog-select-contragent-menu,
body #dialog-select-doc-menu,
body #dialog-select-sotr-menu,
body #dialog-select-sklad-artikul-menu {padding:0;}


body .k-grid .k-grid tr:hover { background-color: #d1e6f7;}

@media (min-width: 0){
    .navbar-expand-lg .navbar-toggler {
    display: none;
}}
.collapse:not(.show) {
    display: flex!important;
    flex-basis: auto;
}
@media (min-width: 0) {
.navbar-expand-lg {
    flex-flow: row nowrap;
    justify-content: flex-start;
}}

@media (min-width: 0) {
.navbar-expand-lg .navbar-nav {
    -ms-flex-direction: row;
    flex-direction: row;
}}

/*отчет: банковские выписки*/
body #nach_ostatok,
body #konech_ostatok {height: auto; padding: 0.3rem 0.5rem!important; width: 84%!important; }
body .otchet_filtr {position: relative; width: 100%;}
body .otchet_filtr > div { vertical-align: bottom; width: 13%; position: relative; display: block; float: left; padding: 5px 0 10px 15px;}
body .otchet_filtr > div > *{ width: 100%; position: relative; display: block; font-size: 0.8em; font-weight: bold; }
body .otchet_filtr > div label {padding-bottom: 5px!important;}
/*body #access_control .otchet_filtr > div label,
body #access_control .otchet_filtr > div span { display:inline-block; width:auto; line-height:2; }*/
body #pivotgrid .k-pivot-toolbar,
body #pivotgrid .k-pivot-toolbar .k-button {background-color: #2587dc; }
body #pivotgrid .k-pivot-toolbar .k-button {border-color: #2587dc;}

/* кассовая книга */
body #nach_ostatok,
body #konech_ostatok {height: auto; padding: 0.3rem 0.5rem!important; width: 84%!important; }
body .select_kassa {position: relative; width: 100%;}
body .select_kassa > div { margin-right:20px; vertical-align: bottom; width: 13%; position: relative; display: block; float: left; padding: 5px 0 10px 15px;}
body .select_kassa > div > *{ width: 100%; position: relative; display: block; font-size: 0.8em; font-weight: bold; }
body .select_kassa > div label {padding-bottom: 5px!important;}
body #pivotgrid .k-pivot-toolbar,
body #pivotgrid .k-pivot-toolbar .k-button {background-color: #2587dc; }
body #pivotgrid .k-pivot-toolbar .k-button {border-color: #2587dc;}

body .pko_rko_dvig_bv_add .form-group {
    box-sizing: border-box;
    align-items: center;
}
body .pko_rko_dvig_bv_add .form-group label {
    margin-bottom: 0;

}

body #dialog_import_image .form-group label {
    padding-left: 15px!important;

}

body .pko_rko_dvig_bv_add .form-group label + * {
    box-sizing: border-box;
    border: 1px solid #e6e6e6;
}
body .pko_rko_dvig_bv_add .form-group label + div {
    border: none;
}
body .pko_rko_dvig_bv_add > div {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    align-content: stretch;
}
body .pko_rko_dvig_bv_add .k-picker-wrap.k-state-default.k-valid {
    height: 31px;   /* финансы - движ ден средств - список платежей - добавить - поле дата взаимозачета */
}

body .pko_rko_dvig_bv_add .col-12 {
    padding-left: 2%!important;
    flex-wrap: wrap;
    margin-bottom: 5px!important;
}
body .pko_rko_dvig_bv_add .k-input { width:100%!important; }
body .pko_rko_dvig_bv_add .k-dropdown,
body .pko_rko_dvig_bv_add .k-input,
body .pko_rko_dvig_bv_add .k-datepicker { height: 30px; max-width:100%; line-height: 2; padding: 0!important; }
body .pko_rko_dvig_bv_add .k-dropdown .k-select,
body .pko_rko_dvig_bv_add .k-datepicker .k-select {line-height:2;}
body #grid-doc-menu .k-grid-content.k-auto-scrollable {padding-bottom: 48px;}
body #grid-doc-menu .k-grid-footer td { border-left: none!important; border-right:none!important;}
body .disabled_add {pointer-events: none!important; background-color: #35373d!important; opacity: 0.7!important;}
body .k-grid .k-header a.k-button.msg_btn {background-color: rgba(0, 0, 0, 0)!important; color:red!important; pointer-events: none!important; }
body .k-detail-cell a.hiddenBtn {display:none!important; }

body #treelist table th { background-color: #35373d; color: #fff; font-weight: 500; font-size: 0.7rem;}
body #treelist table .k-treelist-group td {font-weight: bold!important; }
body #treelist table td { padding:3px!important; }
/*body #treelist table td+td { padding-right:25%!important;}*/
body #treelist table .k-grid-filter {display:none!important;}

body #money_replace {display: none!important;}

/* склад зч */
body .sklad_plus_green,
body .sklad_plus_red { opacity: 1!important; font-weight: bold!important; font-size: 1.4em!important;}
body .sklad_plus_green {color:#68a800!important;}
body .sklad_plus_red {color:#cb625d!important;}

body #access_control.sprav_form #grid td { padding: 0 10px;}
body #access_control.sprav_form #grid td .k-button.k-button-icontext.k-grid-edit {padding:4px 0!important;}

body .need-sales {border-bottom: 0!important;}

/*Эко вождение*/
body .need-sales .main_info_contract ul li,
body .offer_grid .main_info_contract ul li { display: inline-block!important; padding:0!important;}
body .main_info_contract {}
body .k-detail-cell .form-group.row .k-datepicker {width:100%;}


/*body .k-filter-menu-container span.k-widget.k-dropdown {display:none!important;}*/

body .k-widget.k-tooltip.k-popup.k-group.k-reset.k-state-border-up {display:none!important;}
body .navbar .k-state-active {color:#35373d!important;}

/*
эко вождение фото
*/

body .k-detail-cell .k-tabstrip-wrapper > div > div > div > div > div > div:first-child > a {
    background-color: #2587dc!important;
    margin: 5px!important;
    font-size: 0.8rem;
    float: right;
    border: none;
    color: #fff;
    text-transform: none;
    font-weight: 600;
    border-radius: 0;
}

/*файловый менеджер*/
body .offer_grid .k-filemanager .k-filemanager-header .k-filemanager-toolbar .k-split-button a,
body .offer_grid .k-filemanager .k-filemanager-header .k-filemanager-toolbar .k-button-group a {
    background-color: #2587dc!important;
    /*font-size: 0.8rem;*/
    border: none;
    color: #fff;
    text-transform: none;
    font-weight: 600;
    border-radius: 0;
    padding: 8px 14px!important;
}
body .offer_grid .k-filemanager .k-filemanager-header .k-filemanager-toolbar .k-split-button a .k-icon {color:#fff; opacity: 1; font-size: 0.8rem!important; padding: 4px 0;}
body .offer_grid nav.k-filemanager-breadcrumb.k-widget.k-breadcrumb {display:none;}
body .offer_grid .k-filemanager-navigation {display:none!important;}
body .offer_grid .k-filemanager-listview > div.k-item { background-color: #fff; color: #35373d; padding:14px!important;}
body .offer_grid .k-filemanager-listview > div.k-item .file-group-icon { color:#fff!important; padding-top:16px!important; padding-bottom: 16px!important; background-color: #5a5c61; }
body .offer_grid .k-filemanager-listview > div.k-item * {opacity: 1!important; max-width: 100%;}
body .offer_grid .k-filemanager-listview .k-edit-item { color:#35373d!important}
body .offer_grid .k-switch-on *{ background-color: #2587dc!important; }
body .offer_grid .k-split-button-arrow,
body .offer_grid .k-toggle-button{font-size: 0.1rem;}
body .k-detail-cell .k-tabstrip-wrapper > div > div > div > div > div.k-filemanager-header > div:first-child > a.k-button {font-size:0.7rem;}
body .offer_grid .k-filemanager-details-toggle,
body .offer_grid .k-filemanager-search-tool { margin:0 5px!important;}
body .k-widget.k-window.k-dialog.k-filemanager-upload-dialog .k-content.k-window-content.k-dialog-content .k-widget.k-upload.k-upload-async .k-dropzone{ position: relative!important; padding: .8em!important;}
body .k-widget.k-window.k-dialog.k-filemanager-upload-dialog .k-content.k-window-content.k-dialog-content .k-widget.k-upload.k-upload-async .k-dropzone + ul.k-upload-files.k-reset + .k-action-buttons {position: relative!important;}
body .k-widget.k-window.k-dialog.k-filemanager-upload-dialog .k-content.k-window-content.k-dialog-content .k-widget.k-upload.k-upload-async .k-dropzone .k-button.k-upload-button,
body .k-widget.k-window.k-dialog.k-filemanager-upload-dialog .k-content.k-window-content.k-dialog-content .k-widget.k-upload.k-upload-async .k-dropzone .k-button.k-upload-button:active,
body .k-widget.k-window.k-dialog.k-filemanager-upload-dialog .k-content.k-window-content.k-dialog-content .k-widget.k-upload.k-upload-async .k-dropzone .k-button.k-upload-button:focus
{ margin:0 5px!important; color:#fff!important; opacity: 1!important; }
body .k-widget.k-window.k-dialog.k-filemanager-upload-dialog .k-dialog-button-layout-stretched {display:none!important;}
body .k-filemanager-preview-container .k-file-meta-label {padding-right: 5px;}
body .offer_grid .k-detail-cell .k-content .container > .row > div { padding-left: 0!important; padding-right: 0!important;}
body .offer_grid .k-detail-cell .k-content .container > .row > div .form-group.row label {padding-left: 15px!important;}
body .offer_grid .k-detail-cell .k-content .container > .row > div .form-group.row .k-datepicker input.form-control {width:100%!important;}
body .rezerv.k-content,
body .korzina.k-content,
body .history.k-content {overflow-x: hidden!important;}

body span.k-widget.k-dropdown.k-filter-and, body .k-widget.k-dropdown.k-filter-and + span {display:none!important;}
body .k-filter-menu-container > span {width:100%!important;}
body ul.k-treeview-lines li {display: inline-block; /*float:left; width:90%!important;*/}
body .k-widget.k-window ul.k-treeview-lines li {width:90%!important;}
body #need .offer_grid .k-widget.k-datepicker.form-control,
body #offer_grid.offer_grid .k-widget.k-datepicker.form-control{height:auto!important;}
body #need .offer_grid .k-widget.k-dropdown.form-control,
body #offer_grid.offer_grid .k-widget.k-dropdown.form-control {height:29px!important; box-sizing: border-box!important; /*width:100%!important; - убрала для эко воздения - потребности - детали - фотографии */}
body #need .offer_grid .k-widget.k-timepicker.form-control,
body #offer_grid.offer_grid .k-widget.k-timepicker.form-control {height:28px!important; box-sizing: border-box!important; width:100%!important;}
body #need .offer_grid .k-list-container.k-popup.k-group.k-reset,
body #need .offer_grid .k-list-container.k-popup.k-group.k-reset *,
body #offer_grid.offer_grid .k-list-container.k-popup.k-group.k-reset,
body #offer_grid.offer_grid .k-list-container.k-popup.k-group.k-reset *{ width:100%!important;}
body #need .offer_grid #detail-offer-template+div>.offer_grid label,
body #offer_grid.offer_grid #detail-offer-template+div>.offer_grid label {padding-left:15px!important;}
body .k-detail-cell .form-group.row .k-datepicker,
body .k-detail-cell .form-group.row .col-7 input.form-control{width:100%!important; box-sizing: border-box;}
#body .k-animation-container .k-list-container .k-textbox {width:auto!important; padding-right: 0!important; margin-left:5px!important; margin-right:5px!important;}
body #need .offer_grid .k-detail-cell .k-sprite.rootfolder {display:none!important;}
body #need .offer_grid .k-detail-cell ul.k-group.k-treeview-lines .k-checkbox-wrapper {display: inline-block!important;}
body #need .offer_grid .k-detail-cell ul.k-group.k-treeview-lines span.k-in {margin-left: 0!important;}

body #need td.k-detail-cell .k-content .offer_grid .form-group.row .col-7 input.form-control,
body td.k-detail-cell .k-content .offer_grid .form-group.row .col-7 input.form-control,
body .offer_grid td.k-detail-cell .k-content .form-group.row .col-7 input.form-control { height: 28px!important; }


/* Финансы > Документы > Заявки на оплату */
body #access_control #grid .k-detail-cell .col-10.customer_categories.buttons_status .type_info_style textarea {width:95%!important; min-height: 100px!important;}

body #access_control .main_info_contract .form-group.row span.form-control {width:100%!important; padding:0!important;}
/* body #access_control *{overflow:hidden;} */
body #access_control #grid .more_info_contract .customer_categories .form-group.row {margin-top:10px!important; margin-bottom:10px!important;}
body #access_control .k-tabstrip-items.k-reset {margin-left:0!important; margin-right:0!important;}

body .org_contr .col-12.customer_categories.type_info_style .form-group.row,
body .select_doc .col-12.customer_categories.type_info_style .form-group.row{padding:0 10px!important;}
body #access_control .k-detail-cell .container .row .form-group.row,
body #access_control .info_clients .container .row .form-group.row {min-height:30px!important; padding-left: 10px;}
/*body .select_cfo .k-checkbox-wrapper {padding-top:12px!important;}*/

body #dialog-select-korzina-menu td,
body #dialog-select-korzina-menu th {padding:2px 4px!important;}
body #access_control td.k-command-cell2 a {
    border: none;
    box-shadow: none;
    background: none;
    width: auto;
    min-width: 0;
    padding: 8px;
}
body #access_control td.k-command-cell2 .k-i-delete:before {
    content: "";
    display: inline-block;
    width: 18px;
    height: 18px;
    background-repeat: no-repeat;
    background-image: url(/static/images/delete_com.png);
}
body #dialog-select-korzina-menu #table_caption {font-size: 0.8em;
    padding: 10px 5px 5px!important; font-weight: bold;}
/*body .org_contr.k-content.k-state-active .form-group.row * { float:left!important;}*/
/*body .org_contr .customer_categories.type_info_style .select_org span {width:100%!important; padding:0!important;}*/

body .org_contr .customer_categories span.k-widget {height:32px!important; margin-top:5px;}
body .org_contr .customer_categories span.k-widget input.form-control.k-input {height:28px!important;}
body .org_contr .customer_categories .form-group.row,
body .org_contr .customer_categories .form-control{margin-bottom: 5px; /*padding:2px 0!important;*/}


body .k-widget.k-window .k-window-titlebar+ div .k-content .k-checkbox-wrapper {width:15px!important; height: 15px!important;}

body .k-pager-wrap.k-grid-pager.k-widget.k-floatwrap .k-pager-numbers-wrap .k-dropdown {display:none!important;}
body .k-pager-wrap.k-grid-pager.k-widget.k-floatwrap .k-pager-numbers-wrap .k-dropdown+.k-pager-numbers {padding:0; margin:0;}
body .k-master-row.k-grid-edit-row table.k-widget.k-editor.k-editor-widget>tbody>tr>td:first-child {display:none;}

body #div-create-zakaz {display:none!important;}

#info_01, #info_02, #info_03, #info_04, #info_05 { background-color:#fff!important; padding:0!important; color: #35373d!important; pointer-events: none;}
body span#ico_zn_info_01,
body span#ico_zn_info_02,
body span#ico_zn_info_03,
body span#ico_zn_info_04,
body span#ico_zn_info_05 {display:inline-block!important; }
body span#ico_zn_info_01:before { content: ""; display: inline-block; width: 32px; height: 32px; background-repeat: no-repeat; background-image: url(/static/images/ico_zn_info_01.png); }
body span#ico_zn_info_02:before { content: ""; display: inline-block; width: 32px; height: 32px; background-repeat: no-repeat; background-image: url(/static/images/ico_zn_info_02.png); }
body span#ico_zn_info_03:before { content: ""; display: inline-block; width: 32px; height: 32px; background-repeat: no-repeat; background-image: url(/static/images/ico_zn_info_03.png); }
body span#ico_zn_info_04:before { content: ""; display: inline-block; width: 32px; height: 32px; background-repeat: no-repeat; background-image: url(/static/images/ico_zn_info_04.png); }
body span#ico_zn_info_05:before { content: ""; display: inline-block; width: 32px; height: 32px; background-repeat: no-repeat; background-image: url(/static/images/ico_zn_info_05.png); }

body .k-button.k-tabstrip-next {display:none!important;}

/* дополнительные фильтры #more_filters */
body #more_filters {}
body #more_filters #hidden_toolbar {padding:5px; font-size:0.8em;}
body #more_filters #hidden_toolbar .k-filter-container {margin:0;}
body #more_filters #hidden_toolbar .k-filter-group-main > .k-filter-toolbar,
body #more_filters #hidden_toolbar .k-filter-toolbar:before,
body #more_filters #hidden_toolbar .k-filter-toolbar:after,
body #more_filters #hidden_toolbar .k-filter-toolbar-item.k-filter-operator {display:none;}
body #more_filters #hidden_toolbar .k-filter-container .k-filter-lines,
body #more_filters #hidden_toolbar .k-filter-container .k-filter-lines .k-filter-item {padding-left:0;}
body #more_filters #hidden_toolbar .k-filter-container .k-filter-lines .k-filter-item .k-filter-toolbar .k-toolbar {padding:2px 0 2px 2px;}
body #more_filters #hidden_toolbar .k-filter-toolbar .k-button-flat.k-button.k-button-icon {margin-right:0;}
body #more_filters #hidden_toolbar .k-button.k-filter-apply {background-color: #2587dc; color:#fff;}

/* общие стили/элементы */
body #toolbar .dop_filter_left {float:left;}
body .k-button.k-state-active:hover {color:#fff; background-color:#2587dc;}
body .k-checkbox:checked {border-color: #2587dc; color: #fff; background-color: #2587dc;}
/* body * {overflow-x:hidden;}*/
body .k-widget.k-treeview {overflow:hidden;margin-top: 5px;}
body .k-animation-container .k-list-container.k-popup.k-group.k-reset.k-multiple-selection.k-popup-dropdowntree.k-state-border-up .k-widget.k-treeview {overflow:auto!important;}

/* всплывающие окна/создание документа и договора */
body .k-widget.k-window .k-popup-edit-form.k-window-content {padding:0; overflow:hidden;}
body .k-widget.k-window .next1.k-button,
body .k-widget.k-window .next2.k-button,
body .k-widget.k-window .next3.k-button,
body .k-widget.k-window .next4.k-button,
body .k-widget.k-window .next5.k-button {width:100%; background-color:#7ea700; border: 0; color:#fff; font-weight:bold; height: 40px; z-index:9999;}
body .k-widget.k-window .select_type.k-content,
body .k-widget.k-window .select_cfo.k-content,
body .k-widget.k-window .company.k-content,
body .k-widget.k-window .select_contragent.k-content,
body .k-widget.k-window .contract_info_2.k-content,
body .k-widget.k-window .select_doctype.k-content,
body .k-widget.k-window .select_company.k-content,
body .k-widget.k-window .select_ts.k-content {padding: 0; border: 0;}

body .k-widget.k-window .select_company.k-content form > div {
    margin-top: 10px!important;
    }

body .k-widget.k-window .select_company.k-content form .k-widget.k-dropdown.form-control {
    height: auto!important;
}

body .k-widget.k-window .k-button.k-button-icontext.k-primary.k-grid-update,
body .k-widget.k-window .k-button.k-button-icontext.k-grid-cancel {display:none!important;}
body .k-content {overflow-x:hidden!important;}

/* статусы */
body .k-grid-content .k-detail-cell .main_info_contract  .buttons_status .container { padding: 5px 10px; min-height: 40px }
body .k-grid-content .k-detail-cell .main_info_contract  .buttons_status .container .status_dogovor_title,
body .k-grid-content .k-detail-cell .main_info_contract  .buttons_status .container .status_dogovor_date { padding: 0px; margin:0; }
body .k-grid-content .k-detail-cell .main_info_contract  .buttons_status .container .status_dogovor_title {float: left; text-align: left;}
body .k-grid-content .k-detail-cell .main_info_contract  .buttons_status .container .status_dogovor_date {float: right; text-align: right;}

body input.form-control {height:auto;}
body .window_postuplenie .col-9 input.form-control { width:90%!important; line-height:1!important;}
body .window_postuplenie * {font-size:0.7rem;}

/* послупления ТС / справочник ма */
body .k-widget.k-window #grid-artikul-menu td .info_part .form-group.row input.form-control,
body #access_control td .info_part .form-group.row input.form-control { height:auto; padding: 2px 4px!important; width: 94%!important; }
body .k-widget.k-window #grid-artikul-menu td .info_part .form-group.row span.k-widget.k-dropdown,
body #access_control td .info_part .form-group.row span.k-widget.k-dropdown { padding:2px 4px!important; width: 95%!important; border-radius: 7px!important;}
body .k-widget.k-window #grid-artikul-menu td .info_part .form-group.row span.k-widget.k-dropdown> span,
body #access_control td .info_part .form-group.row span.k-widget.k-dropdown> span { padding: 0!important; }
body .k-widget.k-window #grid-artikul-menu td .info_part button {
    background-color: #2587dc!important;
    margin: 5px!important;
    font-size: 0.8rem;
    float: right;
    border: none;
    color: #fff;
    text-transform: none;
    font-weight: 600;
    border-radius: 0;
}
body .k-widget.k-window #grid-artikul-menu textarea#nazvanie,
body #access_control .k-grid-content textarea#nazvanie,
body #access_control .k-grid-content textarea#comment {height:50px!important; padding:2px 4px!important; width: 94%!important;}
/* body #access_control .info_part {width:88%!important;}*/
body #access_control .info_part .col-4 {padding:0!important;}
body #access_control .info_part .row.form-group > * { padding:0!important; line-height: 1;}

/* снабжение - заказы - заказы поставщику */
body #access_control .tmc td.k-command-cell2 a.delete_korzina,
body #access_control .tmc td.k-command-cell a {padding:1px!important;}
body #dialog-select-korzina-menu {padding:0!important; }
body #dialog-select-korzina-menu table th {
    min-height: 20px!important;
    background-color: #35373d;
    color: #fff;
    font-weight: 500;
    font-size: 0.7rem;
    padding: 2px;
    vertical-align: middle;}
body #access_control .k-grid-content .main_info_contract textarea#comment {padding: 0.2rem 0.5rem!important; width: 95%!important;}
#dialog-select-sklad-artikul-menu, #dialog-select-korzina-menu {display:none;}
body .k-widget.k-window .select_statia,
body .k-widget.k-window .select_form,
body .k-widget.k-window .select_usl,
body .k-widget.k-window .org_contr {padding:0!important;}
body .org_contr .k-dropdown { height: 30px; width:100%; line-height: 2; padding: 2px 0!important;}
body .org_contr .k-dropdown .k-select {line-height:2;}
body .org_contr .k-widget.k-dropdown {width:97%!important;}
body .org_contr .col-12.customer_categories.type_info_style .col-4+div > div,
body .org_contr .col-12.customer_categories.type_info_style .col-4+div > span  {width:100%!important;}
body .org_contr .col-12.customer_categories.type_info_style .col-4+div > div > span {width:100%!important;}
body .org_contr .col-12.customer_categories.type_info_style .col-4+div > div > span > span {width:90%!important;}
body .k-widget.k-window .org_contr #dogobor_block_null .k-input { font-size: 16px;}

/* финансы движение денежных средств */
body .pko_rko_dvig_bv_add #comment_dvig,
body .pko_rko_dvig_bv_add #naznachenie { min-height: 80px; padding: 0px 4px!important; }

body .k-widget.k-window #my_company li,
body .k-widget.k-window #proveden li,
body .k-widget.k-window #podotchet_lico li {padding-left:1px;}

/* модальные окна */
body .k-widget.k-window .k-content.k-state-active {padding:0!important;}
body .k-widget.k-window input#contr_id_null {width:100%;}
body .k-widget.k-window #dialog_export_1c {overflow-x: hidden;}
body .k-widget.k-window #dialog_export_1c #btn_export_1c,
body .k-widget.k-window #dialog_export_1c #btn_export_1c_filter {padding: 8px 14px;
    background-color: #2587dc;
    margin: 5px!important;
    font-size: 0.7rem;
    border: none;
    color: #fff;
    text-transform: none;
    font-weight: 600;
    border-radius: 0;}

/* окно принять на склад */
body .k-widget.k-window .window_prinyat_na_sklad {padding:0; }
body .k-widget.k-window .window_prinyat_na_sklad .btn.btn-primary.update.next1.k-button {bottom:40px;}

#k-table-properties > div:nth-child(24) > span.k-widget.k-dropdown,
#k-cell-properties > div:nth-child(21) > span.k-widget.k-dropdown,
#k-accessibility-properties > div:nth-child(12) > span.k-widget.k-dropdown
{width: 14.7em!important;}
body .k-editor-dialog #k-table-wizard-tabs .k-widget.k-dropdown {width: 4.6em!important;padding-top: 3px!important;}

/* список сотрудников */
@media screen and (min-width: 1400px) {
.k-widget.k-dropdown.form-control, .k-widget.k-dropdown {
    height: 36px;
    width: 100%!important;
    padding:0!important;
    background-color: rgba(0, 0, 0, 0);
}
body .k-detail-cell .form-group.row .k-datepicker,
body .k-detail-cell .form-group.row .col-7 input.form-control {width:100%!important;}
}
.office_notes textarea, .office_notes .k-widget.k-dropdown.form-control {
    width: 90%!important;
}

/* финансы модальные окна */
body .k-widget.k-window #dialog_money_replace {overflow: hidden; padding:0; }
body .k-widget.k-window .org_contr .row.form-group > * { float: left;}
body .k-widget.k-window .org_contr textarea.form-control {width:100%;}

/* создание договора */
/*.k-dropdown-wrap.k-state-default.k-valid {height:32px;}*/

/* кассовая книга */
body .select_kassa .k-widget.k-dropdown,
body .otchet_filtr .k-widget.k-dropdown {width:auto; height:auto;}

body #crm_grid div.k-grid-footer {padding-right:0!important;}
body #crm_grid div.k-grid-footer tr.k-footer-template td {
    text-align: right;
}

body .k-detail-cell .k-pager-wrap.k-grid-pager.k-widget.k-floatwrap * {z-index:0!important;}

/* фотографии эко вождение new*/
#need .k-filemanager-listview .k-item,
#offer_grid .k-filemanager-listview .k-item,
#grid .k-filemanager-listview .k-item {
    padding: 14px 14px!important;
    width: auto!important;
    height: auto!important;
    float:left;
    text-align: center;
   }
#need .k-filemanager-listview .k-item img,
#offer_grid .k-filemanager-listview .k-item img,
#grid .k-filemanager-listview .k-item img {
    /*max-width: 200px;*/
    max-height: 200px;
}

body #listView td {padding: 4px 6px!important;}

body #access_control .form-group.row input#vin { height:22px; padding:2px 4px!important; font-size: 0.8rem; }
body #access_control #grid > div.k-grid-content:last-child {bottom:auto!important; z-index:1; position:relative!important;}



/*.k-invalid-msg {display:block!important;}*/

body form.window_zapr_otsr+.k-edit-buttons.k-state-default {display:none!important;}
body form.window_zapr_otsr .k-toolbar > a { background-color: #2587dc!important; color: #fff!important; float:left;}
body form.window_zapr_otsr input.form-control {padding:2px 6px!important; margin-bottom: 4px;}
body form.window_zapr_otsr .col-8 { margin-left: 20px;}

body #modal_discount{overflow-x:hidden; padding:0; padding-top:10px;}

body .master_next > div:last-child.button_save_sozd_period { position: absolute; width: 600px!important;}
body .master_next > div:last-child.button_save_sozd_period button { bottom: 40px; z-index: 99999;position: absolute;}
body .window_sozd_period .col-7 {border: 1px solid #bdbdbd; margin-top:5px;}
body .window_sozd_period span.col-7 {height:32px; line-height:14.4px!important;}
body .window_sozd_period .col-7 * {border:none!important;}
/* body #pass_date_start,
 body #pass_date_end,
 body #work_date_start,
 body #work_date_end*/
 body .window_sozd_period .k-input{ line-height: 27px!important; height: 27px;}
  body .window_sozd_period textarea.k-input {height:60px;}

/* финансы - отчеты - дебиторская задолженность КАМ */
.dolg_a {background-color:#90ffa8;}
.dolg_a_3 {background-color:#98d7ea;}
.dolg_b_30 {background-color:#fbf791;}
.dolg_itogo {background-color:#9aa7ef;}

body .create_zakaz .master_next > div:last-child {width:100%!important; bottom:0!important;}
body .create_zakaz .master_next > div:last-child bottom {border-radius:0!important;}

body #dialog-select-autopark-menu, body #dialog-select-autopark-menu > div { padding:0!important; border-width: 0 0 1px 0!important;  overflow-x:hidden;}
body #dialog-select-autopark-menu > div > div:last-child { bottom: 0; width: 100%; padding-left: 0!important;} /* удалила position:fixed */
body #dialog-select-autopark-menu td { border-bottom-width: 1px; }
body #dialog-select-autopark-menu thead, body #dialog-select-autopark-menu th { background-color: #35373d!important; color: #fff!important; font-weight: 500!important; }
body #dialog-select-autopark-menu td,
body #dialog-select-autopark-menu th {padding:6px!important;}

body .otchet_prod_rab_zap_ost .otchet_market_brend > * {margin: 0 15px!important;}
body .otchet_prod_rab_zap_ost label {margin-bottom:0!important;}
body .otchet_prod_rab_zap_ost label+div{ overflow: hidden; text-overflow: ellipsis; border: 1px solid #f2f2f2; }
body .otchet_prod_rab_zap_ost_table {margin-top:15px;}

@media screen and (max-height: 999px) {
body .otchet_prod_rab_zap_ost label+div {max-height: 58px;}
body .select_kassa #nach_ostatok.otchet_itogo {padding: 0.25rem 0.5rem!important;}
}
@media screen and (min-height: 1000px) {
body .otchet_prod_rab_zap_ost label+div {max-height: 76px;}
}

body .create_zakaz .master_next > div:last-child {width:100%!important; bottom:0!important;}
body .create_zakaz .master_next > div:last-child bottom {border-radius:0!important;}

body #crm_grid > .k-grid-content > table {padding-bottom: 40px;}

/* connect */
body #access_control #grid #gsm_ok_style:before,
body #access_control #grid #gsm_no_style:before {
    content: "";
    display: inline-block;
    width: 18px;
    height: 18px;
    background-repeat: no-repeat;
}
body #access_control #grid #gsm_ok_style:before {
    background-image: url(/static/images/okey.png);
}
body #access_control #grid #gsm_no_style:before {
    background-image: url(/static/images/delete_com.png);
}

/* Продажа ТС >ECO Вождение >Список потребностей - детали - фотографии */
body .k-detail-cell .k-tabstrip-wrapper > div > div{ padding: 0!important; }
body .k-detail-cell .k-tabstrip-wrapper > div > div > div > div > div > div:first-child > a { background-color: #737373!important; margin: 5px!important; font-size: 0.8rem; float: right; border: none; color: #fff; text-transform: none; font-weight: 600; border-radius: 0; }
body .k-detail-cell .k-tabstrip-wrapper > div > div > div > div > div > div:first-child { background-color: #fff; padding:0; }
body .k-detail-cell .k-tabstrip-wrapper > div > div > div > div > div > div:first-child > a:hover { opacity: 0.6; cursor: pointer; }
body .k-detail-cell .k-tabstrip-wrapper > div > div > div > div > div > div:first-child > a > span { display: none;}
body .k-detail-cell .k-tabstrip-wrapper > div > div, body .k-detail-cell .k-tabstrip-wrapper > div > div > div, body .k-detail-cell .k-tabstrip-wrapper > div > div > div > div{ border-width: 0!important; }

body .k-detail-cell .main_info_contract+.k-content .k-filemanager-toolbar > div { padding: 5px; margin:0;}

/* финансы - документы - список документов - id1176719 - запчасти - итого */
body #grid .container .k-grid-footer {
    padding-right: 0!important;
}
body #grid .container .k-grid-footer tr.k-footer-template td:nth-child(15),
body #grid .container .k-grid-footer tr.k-footer-template td:nth-child(16),
body #grid .container .k-grid-footer tr.k-footer-template td:nth-child(17),
body #grid .container .k-grid-footer tr.k-footer-template td:nth-child(18),
body #grid .container .k-grid-footer tr.k-footer-template td:nth-child(19) { text-align: right; }

/* финансы - документы - заявки на оплату */
body #grid .k-grid-content+.k-grid-footer {
    padding-right: 0!important;

    /* сервис - работы и исполнители - выработка исполнителей (строка итого наезжает на таблицу)
    margin-bottom: 50px;
    margin-top: -50px;*/
}

/* снабжение - заказы - заказ поставщику - тмц - установить ожид дату */
body #modal_date {
    height: 150px;
    padding:0;
    overflow: hidden;
}
body #modal_date label {
    line-height:1.5!important;
}
body #modal_date .modal_date_content {
    padding: 10px 25px;
}
body #modal_date .master_next > div:last-child {
    width:100%!important;
    bottom:0;
}
/* снабжение - список поступлений*/
 body .k-widget.k-window .type_info_style .k-widget.k-dropdown.k-input.k-textbox .form-group.row {
    box-shadow: none;
    padding: 0;
 }
 body .k-widget.k-window .type_info_style > .form-group.row {
    margin-bottom:10px;
  }
body .k-widget.k-window .type_info_style .k-widget.k-datepicker.form-control {
    width: 97%!important;
 }
body .k-widget.k-window .company .k-widget.k-datepicker.form-control {
    width: 100%!important;
    height: 36px!important;
 }
body .k-widget.k-window .company .k-widget.k-datepicker.form-control #power_date_null {
    height: 36px!important;
}
body .k-widget.k-window .select_ts .doc_calc .col-8 {
    display: flex;
    align-items: center;
}
body .k-widget.k-window .company .k-widget.k-datepicker.form-control #power_date_null + span + span.k-select {
    display: flex;
    align-items: center;
    }
body .k-widget.k-window .type_info_style #doc_num_null {
    padding: 4px;
    width: 94%;
}
body .k-widget.k-window .org_contr .col-12 .form-group.row {
    margin-bottom: 10px!important;
}
#dogobor_block_null #dogovor_null .k-icon {
    top: 0;
    position: relative;
    text-align: center;
    vertical-align: middle;
}
#contr_title_null #contragent_title-error {
    display: none;
}

/* снабжение - склад ма - плюсик (модальное окно) */
#create-zakaz {
    padding:0!important;
    overflow: hidden;
}
#create_zakaz_btn {
    width: 100%;
    padding-left: 0!important;
    background-color: #7ea700!important;
    height: 40px;
    color: #fff;
    font-weight: bold;
}
#create-zakaz > div {
    margin-bottom:10px!important;
}
#create-zakaz .comments_zakaz { 
    margin-bottom: 40px!important;
}

/* снабжение - склад ма - редактировать - новое окно - нету кнопок сохранить */
.k-widget.k-window .red_poz *{
    box-sizing: border-box;
}
.k-widget.k-window .red_poz textarea {width: 100%!important;}

.k-widget.k-window .red_poz .btn.btn-primary.update.next1.k-button {
    bottom: 42px!important;
    width: 100%!important;
}

body #create-zakaz > div.form-group.row {
    margin-bottom: 10px;
}
/* клиенты */
#comment_zakaz {
    margin-bottom: 40px!important;
}
.k-widget.k-window #create-zakaz .btn.btn-primary.update.next1.k-button {
    bottom: 42px!important;
    width: 100%!important;
}

.k-widget.k-window .company input {
    height:14px!important;
}
.k-widget.k-window .company .col-12.customer_categories.type_info_style > .form-group.row {
    margin-bottom: 10px!important;
}

body #grid .tmc .k-grid-content+.k-grid-footer {
   margin-bottom: 0;
   margin-top: 0;
}
/* Сервис - Заказ-наряды - разворачиваем - работы - добавить */
body #dialog-select-work-menu { border: none; overflow-x:hidden!important; padding:0;}
body #dialog-select-work-menu #grid-work-menu > .k-grid-header+.k-grid-content {padding-bottom:0!important;}
body #dialog-select-work-menu table th { background-color: #35373d; color: #fff; font-weight: 500; font-size:0.7rem; }

/* сервис - документы - запросы на отсрочку - иконки справа сделать цветными */
body #access_control #grid .k-icon.k-i-check {
    color: #7ea700;
    opacity: 1;
    font-weight: bold;
}
body #access_control #grid .k-icon.k-i-cancel {
    color: #cb615d;
    opacity: 1;
    font-weight: bold;
}

/* сервис - документы - запросы на отсрочку, сервис - документы - зн - запросы на отсрочку */
body #access_control #grid .k-edit-cell textarea {
    width: 100%;
    border: none;
}
body #access_control #grid .k-i-otpr_pass {
    text-align: center;
}
body #access_control .zapr_otsr .k-i-otpr_pass:before  {
    content: ""; display: inline-block; width: 18px; height: 18px; background-repeat: no-repeat; background-image: url(/static/images/email_sotr.png);
}

/* сервис - документы - зн - детали - запросы - редактировать сумму и отсрочку */
body #access_control #grid .tmc #zapr_sum_doc,
body #access_control #grid .tmc #zapr_comment{
    width: 100%;
    border: none;
}
/* снабжение - документы - журнал выдачи имущества - модальное окно */
body .master_next > div:last-child.button_give_out { position: absolute; width: 600px!important;}
body .master_next > div:last-child.button_give_out button { bottom: 40px; z-index: 99999;position: absolute;}
body .k-widget.k-window #sotr,
body .k-widget.k-window #sotr_fio,
body .k-widget.k-window #nomer,
body .k-widget.k-window #comment{
    padding: 2px 8px!important;
    line-height: 2;
    box-sizing: border-box;
    margin-bottom: 10px;
}
.menu_style #menu .menu_2_style ul li:hover { font-weight: bold; }

body #crm_grid .k-i-print, body #grid .k-i-print, .k-i-barcode { background-color: rgba(0, 0, 0, 0);
    border-color: rgba(0, 0, 0, 0); margin: 0 33%;}
body #crm_grid .k-i-print:before, body #grid .k-i-print:before { content: ""; display: inline-block; width: 16px; height: 15px; background-repeat: no-repeat; background-image: url(/static/images/print_black.png); color: #fff!important; opacity: 1;}
body .k-i-barcode { content: ""; display: inline-block; width: 16px; height: 15px; color: #fff!important; opacity: 1;}
body #nomer {
    padding: 8px 10px;
    border-color: #f5f5f5;
    border-width: 1px;
    border-radius: 5px;}

/*body #pivotgrid .k-pivot-rowheaders {
 max-width: 320px!important;
 }*/


body #pivotgrid .k-pivot-rowheaders td,
body #pivotgrid .k-pivot-table td {
 padding:4px!important;
 }

body #pivotgrid .k-pivot-table .k-grid-header-wrap { padding-bottom: 5px; }
body #pivotgrid .k-pivot-rowheaders .k-pivot-setting {padding-bottom: 12px;}

body #pivotgrid .k-pivot-table .k-grid-content td {
    text-align:right;
}

body .play_btn:before { content: ""; display: inline-block; width: 30px; height: 30px; background-repeat: no-repeat; background-image: url(/static/images/play_icon.png); color: #fff!important; opacity: 1;}
body .play_btn.pause_btn:before { content: ""; display: inline-block; width: 30px; height: 30px; background-repeat: no-repeat; background-image: url(/static/images/stop_icon.png); color: #fff!important; opacity: 1;}

body .tmc * {
    font-size: 12px!important;
}

body .finance__doc--score {
    background-color: rgba(0, 0, 0, 0)!important;
    border-color: rgba(0, 0, 0, 0)!important;
    padding: 5px!important;
}
body .finance__doc--score img {
    width: 25px;
}

body #access_control .k-pane-wrapper .k-view {
    position: relative!important;
}

body #modal_discount .master_next > div:last-child {
    position: static;
    width: auto!important;
}

body #skidka_new {
    padding: 0 10px!important;
}

#access_control #grid {
    border-bottom-width: 0;
}

#today_sum {
    line-height: normal!important;
}
body #create-zakaz #speed_zakaz ul{
    display: flex;
}
body #create-zakaz #speed_zakaz ul li div  {
    display: flex;
}

body #create-zakaz #speed_zakaz ul li div span{
    display: flex;
    align-items: center;
}
body #create-zakaz > div,
body #create-zakaz > div label,
body #create-zakaz > div input {
    box-sizing: border-box;
} {
    box-sizing: border-box;
}
body #create-zakaz > div > input {
    max-width: 100%;
    padding: 0 10px 0!important;
}
body .tmc .k-command-cell{
    min-width: 150px!important;
    box-sizing: border-box;
    height: 100%;
    padding: 0px!important;
    align-items: center;

}
body #access_control #crm_grid .k-grid-edit-row td,
body #access_control #crm_grid .k-grid-content.k-auto-scrollable .k-grid-edit-row td {
    padding: 0!important;
    vertical-align: middle!important;
}
body #access_control #crm_grid .k-grid-edit-row td > a > span,
body #access_control #crm_grid .k-master-row td > a > span {
    margin: 3px;
}

.k-animation-container,
.k-animation-container *,
.k-animation-container :after,
.k-block .k-header,
.k-dialog .k-window-content,
.k-list-container,
.k-widget,
.k-widget *,
.k-widget :before {
    box-sizing: border-box!important;
}

#dialog_export_1c {
    padding: 10px;
}
#dialog_export_1c .k-widget.k-datepicker.form-control {
    width: 100%;
}
#dialog_export_1c .k-widget.k-datepicker.form-control input {
    padding: 2px;
}
#dialog_export_1c .btn_export {
    display: flex;
    justify-content: center;
}

#info_01 p,
#info_02 p,
#info_03 p,
#info_04 p,
#info_05 p {
    position: absolute;
    right: 0;
    bottom: 0;
    margin: 0;
    z-index: 9999;
    font-size: 0.6rem;
}
#info_01 p:before,
#info_02 p:before,
#info_03 p:before,
#info_04 p:before,
#info_05 p:before {
  content: attr(data-text);
  position: absolute;
  left: 0;
  right: 0;
  -webkit-text-stroke: .3em #fff;
  z-index: -1;
}
button#filter_dop {
    padding: 9.5px 14px;
    background-color: #2587dc;
    font-size: 0.7rem;
    border: none;
    color: #fff;
    text-transform: none;
    font-weight: 600;
    border-radius: 0;
}
body .k-detail-cell .tmc .red_btn {
    background-color: #ff1f3e!important;
}

body .k-filter-menu .k-picker-wrap.k-state-default > span+span:not(.k-select) { display: none;}
body .k-filter-menu .k-picker-wrap.k-state-default,
body .k-filter-menu .k-picker-wrap.k-state-default.k-state-hover.k-state-focused { background-color: #fff!important;}

body .k-widget.k-window .k-window-content, body .k-widget.k-window .k-window-content > div { border-width: 0 0 1px 0!important; padding:0!important; overflow-x: hidden; /*overflow-y: hidden;*/}
body .k-window-titlebar { margin-bottom: 0!important; background-color: #7ea700!important; color:#fff; font-weight:bold; }
body .k-widget.k-window .k-window-content > div > div:last-child { /*position:fixed; bottom: -69px; */ width: 100%; padding-left: 0!important; }
body .k-widget.k-window .k-window-content td { border-bottom-width: 1px; }
body .k-widget.k-window .k-window-content thead, body .k-widget.k-window .k-window-content th { background-color: #35373d; color: #fff; font-weight: 500; }
body .k-widget.k-window .k-window-content th,
body .k-widget.k-window .k-window-content td { padding: 6px!important; }
body .k-widget.k-window .k-window-content .k-grid-filter { padding: 2px 6px!important; }

body .work--in--zn {
    display: flex!important;
    flex-direction: column;
    align-items: center;
}
body .work--in--zn--top {
    display: flex!important;
    flex-direction: row;
    align-items: center;
}
body .work--in--zn .row.form-group.work--in--zn_label label {
    line-height: 1.2!important;
}
body #access_control.work--in--zn .form-group.row input#doc_id {
    height: 100px;
    width: 500px!important;
    padding: 6px 10px!important;
    font-size: 62px;
    }

body #access_control.work--in--zn #toolbar {
    width: 55%;
    display: flex;
    justify-content: space-evenly;
    }
body #access_control.work--in--zn #toolbar .k-overflow-anchor.k-button {
    display:block;
    width: 0;
    height: 0;
}

body #access_control.work--in--zn #toolbar > a {
    opacity:1;
    padding: 8px 14px;
    background-color: #2587dc;
    margin: 0!important;
    height: 100px;
    width: 200px;
    font-size: 54px;
    float: right; border: none;
    color: #fff;
    text-transform: none;
    font-weight: 600;
    border-radius: 0;
}
body #access_control.work--in--zn .work--in--zn_zn_vin {
    display: flex;
    justify-content: space-around;
    width: 50%;
    margin: 20px 0!important;
    align-items: center;
}
body #access_control.work--in--zn .work--in--zn_vin,
body #access_control.work--in--zn .work--in--zn_zn {
    display: flex;
    flex-wrap: nowrap;
    align-items: baseline;
}
body #access_control.work--in--zn .work--in--zn_vin label,
body #access_control.work--in--zn .work--in--zn_zn label {
    padding-right: 5px!important;
    width: 40px;
}
body #access_control.work--in--zn .work--in--zn_vin input,
body #access_control.work--in--zn .work--in--zn_zn input {
    width: auto;
    line-height: 1;
    height: 30px!important;
}
body #access_control.work--in--zn #grid { display: block!important;}
body #access_control.work--in--zn #grid,
body #access_control.work--in--zn #grid .k-grid-content {
    margin-bottom: 0!important;
    border-bottom: 1px solid #ebebeb;
}
body #access_control.work--in--zn #grid table th {
    font-size: 1.3rem;
}
body #access_control.work--in--zn #grid table td {
    font-size: 1rem!important;
}
body #access_control.work--in--zn #grid .k-grid-footer {
    display:none;
}
body #dialog.work--in--zn--dialog .col-12 {
    justify-content: space-around;
    align-items: center;
    margin: 10px 0!important;
}
body #dialog.work--in--zn--dialog .col-12 #isp_id {
    padding: 0 5px!important;
}
body #dialog.work--in--zn--dialog .col-12 .col-3 {
    margin-bottom: 0;
}
body #dialog.work--in--zn--dialog .master_next .dialog-button {
    bottom: 0;
    width: 100%!important;
}
.icon-zn-01, .icon-zn-02, .icon-zn-03 { text-align: center; }
.icon-zn-01:before {
    content: "";
    display: inline-block;
    width: 30px;
    height: 30px;
    background-repeat: no-repeat;
    background-image: url(/static/images/icon-1-play.png);
}
.icon-zn-02:before {
    content: "";
    display: inline-block;
    width: 30px;
    height: 30px;
    background-repeat: no-repeat;
    background-image: url(/static/images/icon-2-play.png);
}
.icon-zn-03:before {
    content: "";
    display: inline-block;
    width: 30px;
    height: 30px;
    background-repeat: no-repeat;
    background-image: url(/static/images/icon-3-play.png);
}
.alert-danger-blue {
    background-color: #a9d7ff;
    color: #1781dd;
    border-color: #a9d7ff;
}
body #company .k-detail-cell {
    padding-bottom: 55px!important;
}
.k-widget.k-window .company div > input,
.k-widget.k-window .select_type div > input,
.k-widget.k-window .select_ts div > input,
.k-widget.k-window .select_contragent div > input,
.k-widget.k-window .contract_info div > input,
.k-widget.k-window .contract_info_2 div > input {
    min-height: 36px!important;
    width: 100%!important;
}
.k-widget.k-window .k-widget.k-dropdown.form-control .k-dropdown-wrap.k-state-default {
    height: 36px;
    width: 100%;
}

body .k-widget.k-window #grid-doc-menu .k-grid-content { padding-bottom: 0; }
body .k-widget.k-window #grid-doc-menu .k-grid-content + .k-grid-footer { display: none; }

html.scroll-style::-webkit-scrollbar {
    width: 80px;
}
html.scroll-style::-webkit-scrollbar-track {
    background: #eaecef;
    box-shadow: 0 0 2px rgba(0, 0, 0, .2) inset;
}
html.scroll-style::-webkit-scrollbar-thumb {
    background: #cfcfcf;
    border-radius: 10px;
    border: 3px solid #d5d5d5;
}
body .phone_number {
    background-color: rgba(0, 0, 0, 0)!important;
    border-color: rgba(0, 0, 0, 0)!important;
    margin: 0!important;
}
body .phone_number:before {
    content: "";
    opacity: 1;
    display: inline-block;
    background-color: rgba(0, 0, 0, 0);
    width: 15px;
    height: 15px;
    background-repeat: no-repeat;
    background-image: url(/static/images/phone_ico.png);
}
body .phone_style_flex {
    min-height: 19px;
}
body .executor_status_1,
body .executor_status_2,
body .executor_status_3 { border-radius: 2px; margin: 0 auto;}
body .executor_status_1 {
    background-color: #87dc94;
}
body .executor_status_2 {
    background-color: #f9ff66;
}
body .executor_status_3 {
    background-color: #78acff;
}
body .car_washing_style td {
    height: 42px;
    font-size: 1.1em!important;
}

body .k-i-eye.k-button,
body .k-i-eye.k-button.k-state-focused {
    background-image: url(/static/images/k-eye.png);
    height: 17px!important;
    width: 28px!important;
    display:inline!important;
    border: none!important;
    background-color: rgba(0, 0, 0, 0)!important;
    box-shadow: none;
    margin: 0;
}

body .parts_search .parts_search_inputs input {
    height: 32px!important;
    max-width: 320px!important;
    width: 150px!important;
    margin: 5px!important;
    font-size: 0.8rem;
}

body .parts_search label {
    margin: 5px!important;
    border: none;
    align-items: center;
    text-align: right;
    text-align: right;
    font-size: 0.8rem;
}

body #dop_info {
    align-items: center;
    margin: 0px 0!important;
    font-size: 0.8rem!important;
    display: flex;
}

body .parts_search #dop_info label {
    max-width: 120px;
}
body .parts_search #dop_info input {
    max-width: 500px;
}

body .parts_search #dop_info input, body .parts_search #dop_info label {
    margin: 5px 0px!important;
    float: left;
}

body div#block_load_time {
    font-size: 0.8rem;
    text-align: right;
    padding: 8px 0!important;
    min-width: 250px;
}

body .parts_search .header {
    padding: 5px 10px!important;
    font-size: 1.2em;
}

body .parts_search #search {
    float:right;
    width:5%;
}

body .parts_search_inputs {
    /*margin-left: 10%!important;*/
    font-size: 0.8rem;
    float: right;
}


body .sprav_gr_img_icon {
    height: 35px;
}

body .sprav_gr_img {
    height: 128px;
}

body .div_sprav_gr_img:hover .modal_sprav_gr_img {
    display: block;
    position: absolute;
    left: 54%;
    height: 250px;
    box-shadow: 5px 5px 8px 1px #343a403b;
}
body .div_sprav_gr_img .k-upload-button {
    box-shadow: none!important;
}
body .div_sprav_gr_img .k-dropzone > div {
    background-color: transparent!important;
    background-color: transparent!important;
}
body .div_sprav_gr_img span.k-i-edit {
    width: 35px!important;
    height: 35px!important;
    opacity: 1!important;
    padding: 8px;
}

body #treelist .k-upload{
    border: none;
    background-color: transparent;
}
body #treelist .k-dropzone{
    padding: 0;
}
body #treelist .k-upload-button{
    margin: 0!important;
    min-width: 0!important;
    padding: 0!important;
    border: none;
}
/*body #treelist .k-upload-button span{*/
/*    display: none!important;*/
/*}*/


body .modal_sprav_gr_img {
    display: none;
}
body .big_sprav_gr_img {
    max-width: 250px;
    max-height: 250px;
}

body #crm_grid .lk_list tr.k-grid-edit-row td span.k-dropdown-wrap {
    margin-top: 3.5px;
}

.k-multiselect-wrap.k-state-hover>.k-i-close, .k-multiselect-wrap>.k-i-close
{display:none!important;}


body .big_sprav_gr_img {
    max-width: 250px;
    max-height: 250px;
}

body #crm_grid .lk_list tr.k-grid-edit-row td span.k-dropdown-wrap {
    margin-top: 3.5px;
}

body #treelist .k-upload-button .k-i-edit:before { content: ""; display: inline-block; width: 18px; height: 18px; background-repeat: no-repeat; background-image: url(/static/images/edit_com.png);  }


body #grid table.k-editor {
    height: 65px;
}
body #grid .k-editor-toolbar .k-tool {
    height: 25px;
    width: 25px;
    min-width: unset;
    margin: 0!important;
}

body #grid .k-editor-toolbar .k-tool .k-icon{
    position: static;
}
body #grid .k-editor-toolbar li.k-tool-group{
    display: flex!important;
}
body #grid .k-editor-toolbar-wrap ul.k-editor-toolbar{
    display: flex!important;
}
body .k-editor-dialog #k-table-wizard-tabs{margin-top: 0!important;}
body .k-editor-dialog #k-table-wizard-tabs li.k-item span:last-child {padding: 8px 30.5px;}
body .k-editor-dialog #k-table-wizard-tabs li.k-item,  body .k-editor-dialog #k-table-wizard-tabs ul.k-tabstrip-items{background-color: #35373d;}
body .k-editor-dialog #k-table-wizard-tabs{font-size: 0.7rem;}

body .k-editor-dialog #k-table-wizard-tabs .k-edit-label {width: 30%!important; padding-bottom:0;position: relative;height: 36px;}
body .k-editor-dialog #k-table-wizard-tabs .k-edit-label > label{position: absolute;top: 50%;right: 0;transform: translate(0, -50%);}
body .k-editor-dialog #k-table-wizard-tabs .k-edit-field {width: 60%!important; padding-bottom:0;min-height: 36px}
body .k-editor-dialog #k-table-wizard-tabs .k-edit-field .k-numerictextbox {margin: 3px 5px 3px 0;width: 14.7em;}
body .k-editor-dialog #k-table-wizard-tabs .k-edit-field .k-widget.k-colorpicker {width: 4.6em;}
body .k-editor-dialog #k-table-wizard-tabs .k-edit-field .k-textbox {width: 14.7em;}
body .k-editor-dialog .k-tabstrip-wrapper, body .k-editor-dialog .k-edit-form-container{overflow: hidden;}
body .k-editor-dialog .k-edit-buttons{bottom: 0;}

#k-editor-cells-headers-list, #k-editor-accessibility-alignment-list, #k-editor-border-style_listbox,
#body div.k-animation-container #k-editor-table-alignment-list { width: 110px!important; }
#k-table-properties {min-height: unset;}

#body div.k-animation-container #k-editor-table-alignment-list li.k-item,
#body div.k-animation-container #k-editor-table-alignment-list span.k-icon,
#body div.k-animation-container #k-editor-cell-alignment-list li.k-item,
#body div.k-animation-container #k-editor-cell-alignment-list span.k-icon,
#body div.k-animation-container #k-editor-accessibility-alignment-list li.k-item,
#body div.k-animation-container #k-editor-accessibility-alignment-list span.k-icon
{width: 2.57142857em!important;}
#body div.k-animation-container #k-editor-table-alignment-list li.k-item.k-state-selected.k-state-focused,
#body div.k-animation-container #k-editor-cell-alignment-list li.k-item.k-state-selected.k-state-focused
#body div.k-animation-container #k-editor-accessibility-alignment-list li.k-item.k-state-selected.k-state-focused
{width: 100%!important;}

#body .k-widget #dialog-select-sklad-artikul-menu-store #table_caption-store,
#body .k-widget #dialog-select-sklad-artikul-menu-store #table_caption_2-store,
#body .k-widget #dialog-select-sklad-artikul-menu-store #table_caption,
#body .k-widget #dialog-select-sklad-artikul-menu-store #table_caption_2 {
    padding: 4px 17px!important;
    font-weight: bold;
    font-size: 1.1em;

}


#body #dialog_import_image > div.btn_export {
    position: fixed;
    bottom: 0;
    width: 100%;
}

#body #grid_2 #parts {
    padding-top: 15px;
}
#characteristics > div.k-grid-footer > div > table > tbody > tr > td:nth-child(3) > button {
    background-color: #2487dc;
    border-color: #2487dc;
}

#body .block_currency > label.col-2.pad_l_10 {
    padding-left: 10px!important;
}
#body .block_currency > div.col-5.date_rate {
    padding-right: 14px!important;

}

#dialog_copy_auto > div.btn_export {
    position: absolute;
    bottom: 0;
    width: 100%;
}

/* splitbutton style*/

div#grid>div.k-grid-content>table>tbody>tr>td>div>div.k-tabstrip>div.tmc>div.container>div.k-toolbar>div.k-split-button>a,
div#grid div.k-grid-content>table>tbody>tr>td>div>div.k-tabstrip>div.main_info_contract>div.k-toolbar>div.k-split-button>a {
    background-color: #2487dc;
    padding: 8px 14px;
    border: none;
    border-radius: 0;
    text-transform: none;
}
div#grid>div.k-grid-content>table>tbody>tr>td>div>div.k-tabstrip>div.tmc>div.container>div.k-toolbar>div.k-split-button>a.k-split-button-arrow,
div#grid div.k-grid-content>table>tbody>tr>td>div>div.k-tabstrip>div.main_info_contract>div.k-toolbar>div.k-split-button>a.k-split-button-arrow {
    display: none;
}
div#grid>div.k-grid-content>table>tbody>tr>td>div>div.k-tabstrip>div.tmc>div.container>div.k-toolbar>div.k-split-button,
div#grid div.k-grid-content>table>tbody>tr>td>div>div.k-tabstrip>div.main_info_contract>div.k-toolbar>div.k-split-button {
    float: right;
    margin: 5px;
    font-size: 9.6px;
}
div#grid div.k-grid-content>table>tbody>tr>td>div>div.k-tabstrip>div.main_info_contract>div.k-toolbar>div.k-split-button>a:hover {
    opacity: 0.6;
    color: white;
}

#hidden_table {
    display: none;
    padding: 5px;
    position: absolute;
    top: 40px;
    left: 95px;
    box-shadow: 0px 0px 10px 5px rgba(0, 0, 0, .2);
    z-index: 999999;
    background-color: white;
    min-width: 700px;
}

.header_hidden_table {
    color: white;
    background-color: #35373d;
    padding: 2px;
}

#hidden_table>div.select_row:hover{
    background-color: rgba(0, 0, 0, .2)
}


#grid_result td {
    padding: 0!important;
}

#grid_result span.k-pager-info.k-label {
    padding: 0;
    display: flex;
}

#grid_result .k-pager-wrap.k-grid-pager.k-widget.k-floatwrap.k-pager-sm {
    position: fixed;
    bottom: 0;
    width: 310px;
}

#pivotgrid .k-pivot-rowheaders {
    max-width: 700px;
}

#grid_result > div.k-grid-content.k-auto-scrollable {
    min-height: 70px!important;
}

body .main_photo {
    border: #7da701 7px solid !important;
    border-radius: 10px;
}