/*Header*/
/*<editor-fold desc="Site header"> */
.site-header, .h-admin {
	height: 47px;
}
.h-admin {
	position: fixed;
	top: 0;
	width: 100%;
	z-index: 999999;
	background: #006ca8;
	border-bottom: 3px solid #aeb7bc;
	font-size: 13px;
}
#h-admin-switcher {
	position: absolute;
	right: 0;
	top: 0;
	width: 20px;
	height: 20px;
}
.h-logo {
	position: absolute;
	top: 6px;
	left: 20px;
}
a.h-logo:hover {
	opacity: 0.8;
}
.h-username {
	float: left;
	padding: 0 8px 0 5px;
	border-right: 1px solid #808080;
}
.h-test_label, .h-error_label {
	display: inline-block;
	background: #f8d404;
	padding: 2px 5px;
	font-size: 11px;
	text-transform: uppercase;
	font-weight: bold;
	margin-right: 20px;
	color: #00517f;
	border-radius: 3px;
}
.h-error_label {
	background: #ff0000;
}
.h-r {
	position: absolute !important;
	top: 15px;
	right: 20px;
	color: #d1def3;
}
.h-r a {
	color: #d1def3;
}
.h-profile-logout{
	margin-left: 3px;
}

/*Main menu*/
.h-menu {
	padding-left: 52px;
}
.h-menu-item{
	position: relative;
	display: inline-block;
	*display: inline;
	zoom: 1;
	vertical-align: top;
	margin-right: -4px;
}
.h-menu-item a {
	text-decoration: none;
}
.h-menu-link {
	display: block;
	padding: 14px 16px;
	color: #fff;
	font-size: 14px;
	font-weight: bold;
	font-family: Calibri;
	cursor: default;
	border-right: 1px solid #005d91;
	border-left: 1px solid #5ca5ce;
}
.h-menu-item.selected .h-menu-link {
	border-bottom: 3px solid #fad603;
	margin-bottom: -3px;
}
.h-menu-item:last-child .h-menu-link:after {
	content: "";
	position: absolute;
	right: -1px;
	top: 0;
	height: 100%;
	border-right: 1px solid #5ca5ce;
}
a.h-menu-link {
	cursor: pointer;
	color: #fff;
}
.h-menu-item:hover .h-menu-link {
	background: #53a6ce;
}
.h-submenu {
	position: absolute;
	top: 100%;
	left: -3px;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	padding: 8px 0;
	margin: 0;
	background: #53a6ce;
	display: none;
	z-index: 9999;
	border: 3px solid #aeb7bc;
	border-top: 0;
}
.h-menu-item:hover .h-submenu {
	display: block;
}
.h-submenu, .h-submenu li {
	list-style: none;
}
.h-submenu a {
	display: block;
	padding: 8px 16px;
	color: #fff;
	text-decoration: none !important;
}
.h-submenu li {
	display: block;
	margin: 0;
	padding: 0;
	white-space: nowrap;
}
.h-submenu li:hover, .h-submenu li.selected {
	background: #3c82ad;
}

/*</editor-fold> */

/*MIDDLE*/
#middle{
	position: relative;
	border-top: 1px solid #d9d9d9;
	padding: 24px 0 80px;
	z-index: 1;
}
.m-date {
	color: #999;
	white-space: nowrap;
}
.m-toppadd_row {
	padding: 20px 0 14px;
}

/*<editor-fold desc="Middle top"> */
.h1-top {
	padding: 0 0 18px;
	z-index: 10;
	margin: 0;
}
.h1-top-note {
	display: block;
	font-size: 12px;
	color: #808080;
	padding-top: 4px;
}
.top-buts {
	position: absolute;
	top: 5px;
	/*top: -75px;*/
	right: 20px;
	z-index: 10;
	white-space: nowrap;
}
.top-buts-lightbox {
	position: relative;
	white-space: nowrap;
	padding: 20px 0;
}
.top-buts-lightbox-new {
	position: relative;
	white-space: nowrap;
	float: right;
}
.top-buts-lightbox-new .but {
	padding-top: 7px;
	padding-bottom: 8px;
}
.top-buts a {
	margin-left: 10px;
}
.m-topfilter {
	margin: 0px 0 16px;
}
.m-topfilter-addit {
	margin: 0 20px;
}
.m-topfilter .jradio, .m-topfilter-select {
	display: inline-block;
	margin-right: 25px;
	border-right: 1px solid #ccc;
}
.m-topfilter-select {
	display: inline-block;
	padding-right: 25px;
}
.m-topfilter-right {
	float: right;
}
.m-topfilter select.m-topfilter-select2 {
	float: left;
	margin: 0;
	padding: 5px 0 5px 5px;
}
.m-topsearch {
	position: relative;
	top: 8px;
	margin-bottom: 12px;
}
.m-topsearch input[type="text"] {
	float: left;
	width: 470px;
	padding: 6px 5px 7px;
	margin-right: 10px;
}
.m-topsearch select {
	float: left;
	margin-right: 10px;
}
.m-topsearch input[type="text"].datepicker {
	width: 70px;
}
.lightbox-inner .m-topsearch input[type="text"] {
	width: 400px;
}
.m-topsearch .but {
	margin-right: 10px;
}
.m-topsearch a.but {
	padding: 7px 20px 8px;
}
.m-topsearch .show_deleted, .show_arch {
	float: left;
	font-size: 11px;
	margin: 7px 26px 0 7px;
	line-height: 11px;
	color: #666;
}
.m-topsearch .show_deleted input, .show_arch input, .label-small input {
	float: left;
	margin: 1px 5px 0 0;
}
.m-topsearch .show_deleted span, .show_arch span, .label-small span {
	overflow: hidden;
	display: block;
	padding-top: 1px;
}
.label-small {
	display: inline-block;
	vertical-align: middle;
	font-size: 11px;
	line-height: 11px;
	color: #666;
	margin: 0 5px;
}
/*</editor-fold> */

/*TIMETABLE*/
/*<editor-fold desc="Timetable"> */
.tt {
	position: relative;
}
.tt-table {
	position: relative;
	margin: 0 0 0 40px;
}
.tt-table-top_form{
	padding: 16px 40px 8px;
}
.tt-table-top_form .form-row{
	padding: 4px 0;
}
.tt-table-top_btns{
	height: 30px;
	margin: 10px 0 0 40px;
}
.tt-table-top_note{
	margin: 10px 0 10px 40px;
}
.tt-table-top_note .ico_star{
	margin: -2px 5px 0 0;
}
.tt-table-top_note-title{
	font-weight: bold;
}
.tt-table-top_btns-l .but{
	margin-right: 7px;
}
.tt-table-top_btns-r{
	float: right;
}
.tt-table-top_btns-r .but{
	margin-left: 7px;
}
.tt-table table {
	width: 100%;
	border: 1px solid #ccc;
	border-collapse: collapse;
	border-spacing: 0;
}
.tt-table tr:hover td {
	background: #eee;
}
.tt-table tr:hover td.clickable-menu, .tt-table tr:hover td.top-form {
	background: #cff;
}
.tt-table.disable tr:hover td {
	background: transparent;
}
.tt-table th, .tt-table td {
	border: 1px solid #ccc;
	font-size: 10px;
	width: 10%;
	height: 16px;
	line-height: 12px;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
}
.tt-table .active td {
	border-top: 2px solid #aaa;
}
.tt-table-time, .tt-table-time li {
	list-style: none;
}
.tt-table-time {
	position: absolute;
	font-size: 10px;
	width: 40px;
}
.tt-table-time li {
	position: relative;
	top: 9px;
	text-align: right;
	padding-right: 2px;
	height: 16px;
	display: block;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
}
.tt-table-time li.hover {
	font-weight: bold;
}
.tt-table-time-now {
	font-weight: bold;
}
tr.tt-table-th .tt-table-day, tr.tt-table-th:hover .tt-table-day {
	background: none;
	border-top: 1px solid #fafafa;
	border-left: 1px solid #fafafa;
	border-right: 1px solid #fafafa;
}
.tt-table-day-highlighted {
	background: #fff79c;
}
.tt-table-day-today {
	font-weight: bold;
}
.tt-table-th-inner {
	margin: -16px 0 0;
	font-size: 14px;
}
.tt-table-th-inner a {
	text-decoration: none;
}
.tt-table-th-week{
	margin: -6px 0 0;
}
[class*="tt-table-th-arr"]{
	font-size: 220%;
	margin-top: -6px;
}
.tt-table-th-arr-l{
	float: left;
}
.tt-table-th-arr-r{
	float: right;
}
input[type=text].tt-table-start + .ui-datepicker-trigger, input[type=text].tt-table-end + .ui-datepicker-trigger {
	display: none;
}
input[type=text].tt-table-start, input[type=text].tt-table-end, input[type=text].tt-table-start-at_title  {
	border: 0 none;
	color: #0072BB;
	padding: 0;
	cursor: pointer;
	width: 90px;
	border-bottom: 1px dotted #0072BB;
}
input[type=text].tt-table-start-at_title{
	width: 110px;
}
.tt-table .tt-table-day {
	width: 132px;
	text-align: center;
	font-size: 11px;
}
.tt-plus-link {
	text-decoration: none;
	font-size: 15px;
}
/*Elements*/
.tt-elem {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 700;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	font-size: 11px;
	padding: 5px;
}
.tt-elem:hover {
	z-index: 710;
}
.tt-elem-inner{
	position: relative;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	height: 100%;
	overflow: hidden;
	border-radius: 4px;
	box-shadow: 0 0 4px #c5c8de;
	-webkit-box-shadow: 0 0 4px #c5c8de;
	transition: all 0.08s ease-out;
	-webkit-transition: all 0.08s ease-out;
	background: #fff;
}
.tt-elem:hover .tt-elem-inner {
	box-shadow: 0 0 8px #6fc4f8;
	-webkit-box-shadow: 0 0 8px #6fc4f8;
}
/*По умолчанию цвет фона - светлый*/
.tt-elem-header {
	position: relative;
	font-size: 10px;
	text-transform: uppercase;
	font-weight: bold;
	color: #333;
	border-radius: 4px 4px 0 0;
	background-image: url(../images/th-bg2.png);
	background-repeat: repeat-x;
	background-position: 0 0;
	padding: 4px 8px ;
	text-shadow: 0 1px 0px rgba(255, 255, 255, 1.0);
	-webkit-text-shadow: 0 1px 0px rgba(255, 255, 255, 1.0);
	border-bottom: 1px solid #d9d9d9;
	margin: 0 0 4px;
	transition: all 0.10s ease-out;
	-webkit-transition: all 0.10s ease-out;
	height: 14px;
	line-height: 15px;
	overflow: hidden;
}
.tt-elem-header .ico_star {
	position: absolute;
	top: 3px;
	right: 5px;
}
.tt-elem .tt-elem-inner:hover .tt-elem-header {
	color: #c23555;
}
.tt-elem-pon {
	z-index: 130;
}
.tt-elem-vt {
	z-index: 110;
}
.tt-elem-sr {
	z-index: 90;
}
.tt-elem-chetv {
	z-index: 70;
}
.tt-elem-pyatn {
	z-index: 50;
}
.tt-elem-sub {
	z-index: 30;
}
.tt-elem-voskr {
	z-index: 10;
}
.tt-elem:hover {
	overflow: visible;
	z-index: 1002;
}
.clickable-menu.active{
	z-index: 1002;
}
.tt-elem-busy-schedule {
	background: #d3d3d3;
}
.tt-elem-reserve {
	background: #d3d3d3;
}
.tt-table.disable .tt-elem:hover {
	/*overflow: hidden;*/
}
.tt-elem:nth-child(1) {
	border-left: 0 none;
}
.tt-content {
	position: relative;
	padding: 0 8px 8px;
	font-size: 11px;
	z-index: 1;
	overflow: hidden;
}
.tt-content.ovhidden {
	overflow: hidden;
}
.tt-content-full {
	display: none;
	left: 8px;
	top: 8px;
	margin: auto;
	padding: 8px 10px;
	position: absolute;
	font-size: 11px;
	width: 140px;
	background: rgba(35, 35, 35, 0.86);
	color: #fff;
	border-radius: 4px;
	z-index: 3;
}
.tt-content-full ul {
	margin: 0 0 0 20px;
}
.tt-elem:hover .tt-content-full {
	display: block;
}
.tt-table.disable .tt-elem:hover .tt-content-full {
	display: none;
}
.tt-conflict {
	position: absolute;
	left: 0;
	width: 100%;
	background: #ff6344;
	opacity: 0.6;
	z-index: 0;
}
.tt-selected {
	background: #3bff57 !important;
}
.tt-selected-2 {
	background: #87cfea !important;
}

.highlighted-empty-cell {
	background: #3bff57;
}
.day-highlighted-empty-cell, .tt-table.disable tr:hover td.day-highlighted-empty-cell {
	background: #fff79c;
}
.break-cell {
	text-align: center;
}
.break-cell-msg {
	display: none;
}

.tt-content-with-two-line .tt-content-first-line {
	display: none;
}
.tt-content-with-two-line:hover .tt-content-first-line {
	display: block;
}
.tt-content-with-two-line:hover .tt-content-second-line {
	display: none;
}

/*отменено*/
.tt-lesson-canceled .tt-elem-header, .tt-lesson-canceled .class-block-date {
	background-position: 0 -96px;
	color: #aaa;
}
.tt-lesson-canceled{
	color: #aaa;
}
/*просрочено*/
.tt-lesson-not-passed .tt-elem-inner, .class-block.tt-lesson-not-passed {
	border: 2px solid #f00 !important;
	border-bottom: 0 none;
}
/*идет сейчас*/
.tt-lesson-current .tt-elem-inner, .tt-lesson-current.class-block {
	border: 2px solid #20da07 !important;
	border-bottom: 0 none;
}
/*подготовлено*/
.tt-lesson-prepared .tt-elem-header, .tt-lesson-prepared.class-block .class-block-date  {
	background-position: 0 -25px;
	color: #3A4D33;
}
/*проведено*/
.tt-lesson-passed .tt-elem-header, .tt-lesson-passed.class-block .class-block-date {
	background-position: 0 -72px;
	color: #51482D;
}
/*открыто для проведения*/
.tt-lesson-open-for-perform .tt-elem-inner, .tt-lesson-open-for-perform.class-block  {
	border: 2px solid #7108ca !important;
	border-bottom: 0 none;
}
/*редактируется*/
.tt-lesson-open-for-edit .tt-elem-inner, .tt-lesson-open-for-edit.class-block {
	border: 2px solid #085fca !important;
	border-bottom: 0 none;
}


.tt-bl-suites-yes .tt-elem-header, .tt-bl-suites-yes.class-block .class-block-date  {
	background-position: 0 -25px;
	color: #3A4D33;
}
.tt-bl-suites-no .tt-elem-header, .tt-bl-suites-no.class-block .class-block-date {
	background-position: 0 -120px;
	color: #51482D;
}
.tt-bl-suites-unasked-no .tt-elem-header, .tt-bl-suites-unasked-no.class-block .class-block-date {
	background: #f8f3f1;
	color: #51482D;
}
.tt-bl-suites-unasked-yes .tt-elem-header, .tt-bl-suites-unasked-yes.class-block .class-block-date {
	background: #f2faf2;
	color: #51482D;
}
.tt-bl-suites-unasked-unknown .tt-elem-header, .tt-bl-suites-unasked-unknown.class-block .class-block-date {
	background: #eeeeee;
	color: #51482D;
}
.tt-bl-with-group .tt-elem-inner, .tt-bl-with-group.class-block  {
	border: 2px solid #006400 !important;
	border-bottom: 0 none;
}

/*Element / Days*/
div.tt-day-pon {
	left: 0;
}
div.tt-day-vt {
	left: 14.285%;
}
div.tt-day-sr {
	left: 28.57%;
}
div.tt-day-chetv {
	left: 42.857%;
}
div.tt-day-pyatn {
	left: 57.143%;
}
div.tt-day-sub {
	left: 71.429%;
}
div.tt-day-voskr {
	left: 85.714%;
}
/*Element / Widths*/
.tt-elem.tt-width-1 {
	width: 14.285%;
}
.tt-elem.tt-width-2 {
	width: 7.142%;
}
.tt-elem.tt-width-2:nth-child(2) {
	margin-left: 7.142%;
}
.tt-elem.tt-width-3 {
	width: 4.762%;
}
.tt-elem.tt-width-3:nth-child(2) {
	margin-left: 4.762%;
}
.tt-elem.tt-width-3:nth-child(3) {
	margin-left: 9.5238%;
}
.tt-elem.tt-width-4 {
	width: 3.5714%;
}

.tt-elem.tt-width-4:nth-child(2) {
	margin-left: 3.5714%;
}
.tt-elem.tt-width-4:nth-child(3) {
	margin-left: 7.14286%;
}
.tt-elem.tt-width-4:nth-child(4) {
	margin-left: 10.71429%;
}
.tt-elem.tt-width-5 {
	width: 2.8572%;
}
.tt-elem.tt-width-5:nth-child(2) {
	margin-left: 2.8572%;
}
.tt-elem.tt-width-5:nth-child(3) {
	margin-left: 5.71429%;
}
.tt-elem.tt-width-5:nth-child(4) {
	margin-left: 8.57142%;
}
.tt-elem.tt-width-5:nth-child(5) {
	margin-left: 11.42858%;
}
.tt-break {
	position: absolute;
	z-index: 1;
	background: aqua;
	width: 100%;
	height: auto !important;
	bottom: 0;
	border-radius: 0 0 4px 4px;
}
.tt-unavailable {
	background: #999;
}
.tt-overlap {
	background: yellow !important;
	border: 1px dotted red !important;
}

.tt-border {
	width: 14.285%;
	position: absolute;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	border: 2px solid #000;
}

.tt-border-pon {
	z-index: 140;
}

.tt-border-vt {
	z-index: 120;
}

.tt-border-sr {
	z-index: 100;
}

.tt-border-chetv {
	z-index: 80;
}

.tt-border-pyatn {
	z-index: 60;
}

.tt-border-sub {
	z-index: 40;
}

.tt-border-voskr {
	z-index: 20;
}

.tt-border-title {
	display: none;
}

.tt-border-label {
	position: absolute;
	left: 100%;
	top: -2px;
}

.tt-border-counter {
	position: absolute;
	width: 15px;
	height: 15px;
	padding: 2px;
	font-size: 12px;
	line-height: 12px;
	background: #ccc;
	text-align: center;
	cursor: default;
}

.tt-border-counter-clickable {
	cursor: pointer;
}

.tt-border-menu {
	display: none;
	padding: 0 0 0 25px;
	border: 1px solid #000;
}

.tt-border-label:hover {
	width: 100%;
	left: 100%;
}

.tt-border-label:hover .tt-border-menu {
	display: block;
}

.tt-border-selected {
	z-index: 2000 !important;
	border-color: #0c3;
	background: #fff;
}
.tt-border-selected .tt-border-title {
	color: #0c3;
	display: block;
}

.tt-border-link {
	cursor: pointer;
}

/*TT Legend*/
.tt-legend {
	padding: 16px 0 26px 40px;
	font-size: 10px;
	text-align: right;
	color: #666;
}
.tt-legend-col {
	padding: 0 0 0 12px;
}
.tt-legend-col .schedule-icon {
	vertical-align: -2px;
}
.tt-legend-kv {
	width: 11px;
	height: 7px;
	vertical-align: -1px;
	background-repeat: no-repeat;
	border: 1px solid #ccc;
}
.tt-legend-ico {
	width: 11px;
	height: 9px;
	vertical-align: middle;
}

.schedule-icon {
	/*display: inline-block;*/
	display: none;
	width: 8px;
	height: 8px;
	border-radius: 100%;
	border: 1px solid #eee;
	box-shadow: 0 1px 0 #666;
}
.lesson-icon {
	/*Урок*/
	background: #a52deb;
}
.busy-schedule-icon {
	background: orange;
}
.event-icon {
	/*Мероприятие*/
	background: #83e100;
}
.reserve-icon {
	background: #5973ff;
}

.on-top {
	z-index: 9999 !important;
}
.top-form {
	cursor: pointer;
}
.tt-table.disable .top-form {
	cursor: default;
}
.tt-table.disable .jsel-menu .top-form {
	cursor: pointer;
}

.current {
	background: green;
}

.parked {
	border: 3px solid #808080;
}
/*</editor-fold> */

/*CRM*/
/*<editor-fold desc="CRM OLD"> */
.crm-tasks-descr {
	float: left;
	margin: 0 0 20px;
}
.crm-tasks-checklist {
	float: right;
	width: 240px;
	padding: 14px 16px 7px 16px;
	margin: -14px 40px 0 0;
	background: #fff url(../images/checklist-bg.png) repeat-x bottom;
	border-radius: 3px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
	-webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
	z-index: 10;
}
.crm-tasks-checklist ul, .crm-tasks-checklist li {
	list-style: none;
}
.crm-tasks-checklist ul {
	height: 186px;
	border: 1px solid #D9D9D9;
	border-radius: 3px;
	overflow-y: auto;
	overflow-x: hidden;
	padding: 2px;
	margin: 0 -8px;
	font-size: 11px;
}
.crm-tasks-checklist ul li {
	padding: 4px 2px 5px;
}
.crm-tasks-checklist ul li:nth-child(2n) {
	background: #f5f5f5;
}
.crm-tasks-checklist ul li .ico {
	float: left;
}
.crm-tasks-checklist ul li input[type="checkbox"] {
	float: left;
	margin-right: 4px;
	vertical-align: -2px;
}
.crm-tasks-checklist ul li label {
	overflow: hidden;
	display: block;
	line-height: 1.2;
}
.crm-tasks-checklist li.off input, .crm-tasks-checklist li.off label {
	opacity: 0.4;
}
.crm-tasks-checklist li.off label {
	text-decoration: line-through;
}
.crm-tasks-checklist-save {
	margin: 8px 0 2px -8px;
	font-size: 12px;
}
.crm-tasks-checklist-save a, .crm-tasks-checklist-save a:hover {
	padding: 3px 13px 5px;
	font-size: 11px;
}
.crm-left .m-topfilter {
	margin: 0px 40px 7px 0;
}
.crm-tasks-table-margin {
	margin: 0 40px 0 0;
}
.crm-tasks-table .table.table-crm tr td, .crm-nabor-table .table.table-crm tr td {
	border-top: 1px solid #D9D9D9;
}
.crm-tasks-table h4 {
	margin: 2px 0;
}
.crm-tasks-history-tabs {
	display: inline-block;
}
.crm-tasks-history-tabs a, .crm-tasks-history-tabs a:hover {
	color: #0072bb;
	margin: 0 2px;
	text-decoration: none;
	padding: 4px 8px;
	border-color: transparent;
	border-width: 1px 1px 0 1px;
	border-style: solid;
	border-radius: 3px 3px 0 0;
}
.crm-tasks-history-tabs a.active {
	color: #333;
	border-color: #D9D9D9;
	background: url(../images/tab-bg.png) repeat-x top;
}
/*CRM: nabor*/
.crm-nabor-table .table.table-crm {
	table-layout: fixed;
}
.crm-nabor-table .table.table-crm th {
	white-space: nowrap;
}
.crm-nabor-table td {
	white-space: nowrap;
}
.crm-nabor-table .table.table-crm tbody {
	border-bottom: 2px solid #D9D9D9;
}
.crm-nabor-table .table.table-crm tbody:last-child {
	border-bottom: 0 none;
}
.crm-nabor-table .lrasp, .crm-nabor-table .pupcount {
	font-size: 11px;
}
.crm-nabor-table .lrasp {
	color: #666;
	margin-left: 3px;
	text-decoration: underline;
}
.crm-nabor-table td .pupcount {
	vertical-align: -1px;
}
.crm-nabor-table td input[type=text] {
	width: 22px;
	margin: 0 2px 0 0;
	padding-right: 24px;
}
.crm-nabor-table .name-schedule {
	text-decoration: none;
	margin-left: 7px;
	height: 16px;
	display: inline-block;
}
.schedule-inline {
	font-size: 11px;
	color: #999;
}
.schedule-inline:hover {
	text-decoration: underline;
}
/*table-groups*/
.table.table-groups {
	top: 2px;
	table-layout: auto;
	font-size: 11px;
	margin-bottom: 12px;
}
.crm-nabor-table  .table.table-groups tr th {
	white-space: nowrap;
	background: #D9D9D9;
	/*font-weight: bold;*/
	/*color: #fff;*/
	font-size: 11px;
	padding: 2px 12px;
}
.crm-nabor-table  .table.table-groups tr td {
	white-space: nowrap;
	border: 0 none;
	padding: 3px 12px;
}
.crm-nabor-table  .table.table-groups tbody {
	border-bottom: 1px solid #D9D9D9;
}
.table.table-groups tbody:last-child {
	border-bottom: 0 none;
}
.table-groups .ico-turn {
	margin: 0 0px 0 -2px;
}
.pupils-list, .pupils-list li {
	list-style: none;
}
.pupils-list {
	margin: 0 0 4px;
	padding: 1px 0;
	border: 1px solid #d9d9d9;
	border-left: 4px solid #d9d9d9;
	font-size: 11px;
}
.neraspr_pupils {
	margin: 6px 0;
	font-size: 11px;
}
.neraspr_pupils ul {
	margin: 6px 0 0;
}
.pupils-list li {
	padding: 3px 0 3px 8px;
}
.pupils-list li:nth-child(2n) {
	background: #f2f2f2;
}
.pupils-list li a {
	text-decoration: none;
}
/*</editor-fold> */

/*<editor-fold desc="CRM"> */
.crm-bc{
	padding: 0 0 18px;
}
.crm-left {
	position: relative;
	float: left;
	width: 78%;
	margin-right: 2%;
}
.crm-client_block, .crm-client_block_wide {
	position: relative;
	margin: 0 2% 20px 0;
}
.crm-client_block{
	width: 40%;
}
.crm-client_block_wide {
	width: 58%;
}
.crm-client_block h2.crm-client_block-title{
	padding-right: 20px;
	padding: 0 20px 8px 0;
}
.crm-client_block-edit{
	position: absolute;
	top: 52px;
	right: 18px;
	opacity: 0.85;
}
.crm-client_block-edit:hover {
	opacity: 1;
}
.crm-l-col {
	width: 58%;
	margin: 0 -10px 0 -3px;
}
.crm-l-col .crm-widget{
	margin: 0 0 20px;
}
.crm-delim {
	margin: 12px 0;
}
.crm-client_block h2, .crm-client_block_wide h2, .crm-client_block h3, .crm-client_block_wide h3{
	margin: 0;
	padding: 6px 0 8px;
}
.crm-client_block-row{
	padding: 4px 0;
}
.crm-client_block-row .ico{
	margin: -1px 0 0 4px;
}
.crm-client_block-row .black-link {
	color: #333;
}
.crm-client_block-row .strong-link {
	font-weight: bold;
}
.crm-reslts-col{
	margin: 0 0 0 40px;
}
.crm-w-r_links{
	float: right;
	width: 28%;
	padding: 0 0 0 4%;
	margin: 0 0 0 4%;
}
.crm-w-r_links-row{
	padding: 4px 0;
}
.crm-w-r_links_border{
	padding-top: 10px;
	padding-bottom: 10px;
	border-left: 1px solid #ccc;
}
.crm-client-phone{
	position: relative;
	padding: 2px 0 2px 22px;
}
.crm-client-phone .ico-phone{
	position: absolute;
	top: 6px;
	left: 0;
}
.crm-w-subtitle {
	display: block;
	color: #999;
	font-size: 11px;
	padding: 6px 0 6px;
}
.crm-w-select .cm-list {
	top: 10px;
}
.crm-w-select .cm-toggler{
	color: #777;
	text-decoration: none;
}
.crm-filter_link{
	margin: 0 4px;
	padding: 4px 0;
	border-radius: 3px;
	text-decoration: none !important;
}
.crm-filter_link .plink {
	color: #333;
}
.crm-filter_link.active{
	background: #c23555;
	padding: 4px 8px;
}
.crm-filter_link.active .plink{
	color: #fff;
	border: 0 none;
}
.crm-current_action {
	width: 40%;
	margin: 0 -20px 20px 0;
	font-size: 12px;
}
.crm-current_action-buttons-row {
	padding: 4px 0;
}
.crm-current_action-buttons-row > *{
	float: left;
	margin: 0 8px 8px 0;
}
.crm-current_action-fio{
	margin: 0;
	padding: 4px 0 6px;
}
.crm-current_action-header{
	padding: 2px 0 8px;
	margin-bottom: 8px;
	border-bottom: 1px dotted #d1d1d1;
}
.crm-current_action-act_cont{
	margin: 8px 0 -8px;
	padding: 4px 0 0;
	border-top: 1px dotted #d1d1d1;
}
.crm-current_action-act_cont-status{
	position: relative;
	top: -1px;
	width: 12px;
	height: 12px;
	margin: 0 1px 0 0;
	vertical-align: bottom;
}
.crm-widget{
	padding: 16px 20px;
	border-radius: 4px;
	box-shadow: 0 0 6px #c5c8de;
	box-sizing: border-box;
	transition: all 0.08s ease-out;
	-webkit-transition: all 0.08s ease-out;
	border: 1px solid #fff;
	background: #fff;
	font-size: 12px;
}
.crm-widget:hover{
	box-shadow: 0 0 10px #a6d2ff;
}
.crm-w-title {
	position: relative;
	font-size: 10px;
	text-transform: uppercase;
	font-weight: bold;
	color: #b1b3bb;
	cursor: default;
	border-radius: 4px 4px 0 0;
	background: url(../images/th-bg.png) repeat-x bottom;
	padding: 6px 10px !important;
	text-shadow: 0 1px 0px rgba(255, 255, 255, 1.0);
	border-bottom: 1px solid #d9d9d9;
	margin: -16px -21px 10px !important;
	transition: all 0.10s ease-out;
	-webkit-transition: all 0.10s ease-out;
	line-height: 17px;
}
.crm-widget:hover .crm-w-title {
	color: #c23555;
}
.crm-w-title-ht, .crm-w-title-ht:hover {
	position: absolute;
	top: 4px;
	right: 50px;
	text-transform: uppercase;
	font-weight: 700;
	padding: 3px 8px;
	line-height: 1.2;
	border-radius: 2px;
	color: #fff;
	font-size: 12px;
	text-shadow: none;
	text-decoration: none;
	background: #a8a8a8;
}
.crm-w-title-ht:before {
	text-transform: none;
}
.crm-w-title-lk, .crm-w-title-lk:hover {
	position: absolute;
	top: 4px;
	right: 10px;
	text-transform: uppercase;
	font-weight: 700;
	padding: 3px 8px;
	line-height: 1.2;
	border-radius: 2px;
	color: #fff;
	font-size: 12px;
	text-shadow: none;
	text-decoration: none;
	background: #a8a8a8;
}
.crm-w-title-lk.active {
	background: #24b89f;
}
.crm-w-title-lk.access-blocked {
	background: #ff0000;
}
.crm-w-title-lk:before {
	text-transform: none;
}
.crm-w-title-btn{
	float: right;
	opacity: 0;
	visibility: hidden;
	margin: -2px -5px -3px 0;
	text-shadow: none;
	text-transform: none;
	padding: 4px 6px !important;
	font-size: 12px !important;
}
.crm-w-title-btn + span{
	vertical-align: middle;
}
.crm-widget:hover .crm-w-title-btn {
	opacity: 1;
	visibility: visible;
}
.crm-widget-scroll{
	overflow-x: hidden;
	overflow-y: auto;
	padding: 12px 10px;
	margin: -10px -20px -17px;
	max-height: 200px;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
}
.crm-appl {
	position: relative;
	margin: -1px -10px 0;
	padding: 2px 10px;
	background: #fff;
	border: 1px solid transparent;
	font-size: 12px;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
}
.crm-appl.first {
	border-top: 1px solid transparent;
}
.crm-appl:hover {
	border: 1px solid #d1d1d1;
	border-radius: 3px;
	z-index: 2;
}
.crm-appl-header {
	padding: 4px 0;
}
.crm-appl-state {
	border-radius: 3px;
	background: #DDDEE1;
	color: #555;
	padding: 2px 5px;
	font-size: 100%;
	margin-top: -1px;
	margin: -1px 1px 0;
}
.crm-appl-title {
	margin: 1px 4px 0 0;
	font-size: 12px;
	font-weight: bold;
	color: #444;
}
.crm-appl-date {
	font-size: 11px;
	color: #999;
	width: 128px;
	white-space: nowrap;
	margin: 1px 8px 0 0;
	letter-spacing: -1px;
}
.crm-appl-btns {
	position: absolute;
	top: -1px;
	right: 2px;
	display: none;
}
.crm-appl:hover .crm-appl-header-btns {
	display: block;
}
.crm-appl-btns .but {
	position: relative;
	z-index: 1;
	margin: 0 -3px;
	display: inline-block;
	*display: inline;
	zoom: 1;
	vertical-align: top;;
	border-radius: 0;
	padding: 7px 10px 8px;
	font-size: 11px;
	font-weight: normal;
}
.crm-appl-btns .but:first-child{
	border-radius: 0 0 0 3px;
}
.crm-appl-btns .but:last-child{
	border-radius: 0 3px 0 0;
}
.crm-appl-btns .but:hover{
	z-index: 2;
	box-shadow: 0 0 3px rgba(0, 0, 0, 0.15);
	-webkit-box-shadow: 0 0 3px rgba(0, 0, 0, 0.15);
}
.crm-tasks{
	margin: 2px -10px 6px 0;
	border-left: 5px solid #d9d9d9;
}
.crm-task{
	position: relative;
	padding: 2px 10px;
	font-size: 11px;
	border-top: 1px solid transparent;
	border-bottom: 1px solid transparent;
	margin-bottom: -1px;
}
.crm-task:hover{
	border-top: 1px solid #d9d9d9;
	border-bottom: 1px solid #d9d9d9;
	z-index: 2;
	background: #fbfbfb;
}
.crm-task:hover .crm-task-btns{
	display: block;
}
.crm-id{
	font-weight: bold;
	font-size: 9px;
	margin: 4px 2px 0 0;
	color: #999;
}
.crm-task-header {
	padding: 2px 0;
}
.crm-task-title {
	line-height: 1.2;
}
.crm-task-title-toggle{
	cursor: pointer;
}
.crm-task-title .ico{
	margin-right: 2px;
}
.crm-task-podzadanie{
	position: relative;
}
.crm-task-podzadanie .jsel{
	position: static;
}
.crm-task-podzadanies{
	display: none;
	padding: 2px 0 6px 37px;
}
.crm-task-podzadanies{
	font-weight: normal;
	width: 160px;
	margin: 2px 2px 2px 0;
	font-size: 11px;
}
.crm-task-podzadanie-title{
	position: relative;
	cursor: help;
	background: #ddd;
	border-radius: 3px;
	padding: 4px 10px;
	box-shadow: 0 1px 0 #fff;
}
.crm-task-podzadanie-title:hover + .crm-task-podzadanie-tooltip{
	display: block !important;
	opacity: 1 !important;
}
.crm-task-podzadanie-title.color-grey{
	background: transparent;
	border: 1px solid #d3d3d3;
	color: #8e8e8e;
}
.crm-task-podzadanie-title.color-red{
	background: #ffada3;
}
.crm-task-podzadanie-title.color-blue{
	background: #a3c0f2;
}
.crm-task-podzadanie-title.color-yellow{
	background: #eae6ae;
}
.crm-task-podzadanie-title.color-grey [class*="crm-task-podzadanie-ico-"]{
	opacity: 0.5;
}
.crm-task-podzadanie-tooltip{
	top: 100%;
	left: -10px;
	padding: 4px 10px;
	width: 160px;
	margin-top: 6px;
}
[class*="crm-task-podzadanie-ico-"], [class*="crm-task-contact-ico"], .ico-call, .ico-meet {
	display: inline-block;
	vertical-align: top;
	*display: inline;
	zoom: 1;
	width: 16px;
	height: 16px;
	background-image: url(../images/crm-task-contact-ico-v2.png);
	background-repeat: no-repeat;
	margin: 0;
}

.crm-task-contact-ico-phone-incoming-ok {
	background-position: 0 0;
}
.crm-task-contact-ico-phone-incoming-failed {
	background-position: 0 -32px;
}
.crm-task-contact-ico-phone-outgoing-ok {
	background-position: 0 -16px;
}
.crm-task-contact-ico-phone-outgoing-failed {
	background-position: 0 -48px;
}

.crm-task-contact-ico-meeting-incoming-ok
, .crm-task-contact-ico-meeting-incoming-failed
, .crm-task-contact-ico-meeting-outgoing-ok
, .crm-task-contact-ico-meeting-outgoing-failed {
	background-position: 0 -64px;
}

.crm-task-podzadanie-ico-incoming,
.crm-task-contact-ico-incoming,
.crm-task-contact-ico-phone-incoming {
	background-position: 0 0;
}
.crm-task-podzadanie-ico-outgoing,
.crm-task-contact-ico-outgoing,
.crm-task-podzadanie-ico-outgoing_n,
.crm-task-contact-ico-outgoing_n,
.crm-task-contact-ico-phone-outgoing{
	background-position: 0 -16px;
}
.crm-task-podzadanie-ico-incoming_n,
.crm-task-contact-ico-incoming_n{
	background-position: 0 -32px;
}
.crm-task-podzadanie-ico-meeting,
.crm-task-podzadanie-ico-meeting_n,
.crm-task-contact-ico-meeting,
.crm-task-contact-ico-meeting-incoming,
.crm-task-contact-ico-meeting_n,
.crm-task-contact-ico-meeting-outgoing,
.ico-meet{
	background-position: 0 -64px;
}
.ico-call {
	background-position: 0 -80px;
}
.ico-call, .ico-meet{
	margin: -1px 3px 0 0;
	vertical-align: middle;
}
.but .ico-call, .but .ico-meet {
	margin: -2px 0 0;
}
.group-teacher {
	color: #999;
	font-size: 11px;
}
/*</editor-fold>*/

/*<editor-fold desc="CRM Contact"> */
.crm-contact{
	position: relative;
	-webkit-transition: all 0.25s ease-in-out;
	-moz-transition: all 0.25s ease-in-out;
	-o-transition: all 0.25s ease-in-out;
	transition: all 0.25s ease-in-out;
}
.client-card-link {
	position: absolute;
	top: 0;
	right: 0;
	width: 20px;
	height: 20px;
	cursor: default;
}
.crm-contact_open {
	box-shadow: inset 0 0 6px #c5c8de;
	border-radius: 4px;
	background: #f6f6f6;
}
.crm-contact_loading:after {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	-webkit-transition: none;
	-moz-transition: none;
	-o-transition: none;
	transition: none;
	background: rgba(246, 246, 246, 0.76) url(../images/loader.gif) center center no-repeat;
}
.crm-contact.minimized{
	height: 0;
	overflow: hidden;
}
.crm-contact_set{
	background: #edf7ed;
}
.crm-contact-togglers{
	background: #f6f6f6;
	border-radius: 4px;
	box-shadow: 0 1px 6px rgba(113, 133, 164, 0.8);
	margin: 14px 0 12px;
}
.crm-contact-toggler{
	padding: 5px 7px 7px;
	margin: 0 -4px 0 0;
}
.crm-contact-toggler:hover, .crm-contact-toggler.active {
	background: #ededed;
}
.crm-contact-toggler:last-child{
	margin: 0;
}
.crm-contact-toggler .ico-call, .crm-contact-toggler .ico-meet {
	margin: 0;
}
.crm-contact-turn{
	position: absolute;
	top: 0;
	right: 20px;
	cursor: pointer;
	background: #a7adae;
	color: #fff;
	font-weight: bold;
	padding: 5px 10px;
	font-size: 11px;
	border-radius: 0 4px 0 4px;
	-webkit-transition: all 0.2s ease-in-out;
	-moz-transition: all 0.2s ease-in-out;
	-o-transition: all 0.2s ease-in-out;
	transition: all 0.2s ease-in-out;
}
.crm-contact-turn:hover{
	background: #2885c4;
}
.crm-contact-turn:after{
	content: "";
	position: relative;
	display: inline-block;
	*display: inline;
	zoom: 1;
	vertical-align: top;
	top: 6px;
	width: 8px;
	height: 8px;
	margin: 0 0 0 8px;
	border-top: 2px solid #fff;
	border-right: 2px solid transparent;
	border-bottom: 2px solid transparent;
	border-left: 2px solid transparent;
	-webkit-transition: all 0.2s ease-in-out;
	-moz-transition: all 0.2s ease-in-out;
	-o-transition: all 0.2s ease-in-out;
	transition: all 0.2s ease-in-out;
	opacity: 0.7;
}
.crm-contact-turn:hover:after{
	opacity: 1;
}
.crm-contact.minimized .crm-contact-turn{
	border-radius: 4px;
}
.crm-contact.minimized .crm-contact-turn:after{
	top: 2px;
	border: 2px solid #fff;
}
.crm-contact-panel {
	display: table;
	table-layout: fixed;
	box-sizing: border-box;
	moz-box-sizing: border-box;
	width: 100%;
	padding: 10px 0;
	border-radius: 4px;
}
.crm-contact-l, .crm-contact-r {
	display: table-cell;
	vertical-align: top;
	padding: 10px;
	box-sizing: border-box;
}
.crm-contact-l{
	width: 40%;
	margin: 0 2% 0 0;
	padding-left: 0;
}
.crm-contact-r{
	width: 58%;
	padding-right: 0;
	padding-left: 20px;
}
.crm-contact-r table{
	font-size: 11px;
	width: 100%;
	line-height: 1.2;
}
.crm-contact-r table td{
	padding: 4px 10px;
}
.crm-contact-r .job-initiator td:first-child{
	font-weight: bold;
}
.crm-contact-r table td:first-child{
	padding-left: 0;
}
.crm-contact-title {
	padding: 0 0 6px;
}
.crm-contact-row{
	padding: 8px 0;
}
.crm-contact-row:last-child, .crm-contact-row.last_child {
	padding-bottom: 0;
}
.crm-contact-input{
	position: relative;
	margin-right: 5%;
}
.crm-contact-input [type="text"]{
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	width: 100%;
	padding: 6px 6px 6px 20px;
	border-color: #ccc;
}
.crm-contact-input-new{
	position: absolute;
	top: 7px;
	right: 6px;
	font-size: 11px;
}
.crm-contact-switcher, .crm-contact-phones [type="text"]{
	background-color: #fff;
	border: 1px solid #ccc;
	padding: 4px 2px;
}
.crm-contact-switcher{
	margin: 4px 0;
}
.crm-contact-switcher-name{
	background: #ececed;
	padding: 3px 5px;
	cursor: default;
}
.crm-contact-switcher-name:before, .crm-contact-phones:before{
	content: "✔";
	color: #3cac2c;
	z-index: 10;
}
.crm-contact-phones:before {
	color: #fff;
}
.crm-contact-phones-ok:before {
	color: #3cac2c;
}
.crm-contact-switcher-close{
	font-size: 18px;
	font-weight: bold;
	line-height: 1;
	padding-left: 4px;
	color: #999;
	cursor: pointer;
}
.crm-contact-switcher-close:hover{
	color: #c23555;
}
.crm-contact-phones{
	position: relative;
	margin: 4px 0;
}
.crm-contact-phones:before{
	position: absolute;
	top: 7px;
	left: 6px;
}
.crm-contact-phones [type="text"]{
	height: 20px;
	padding-left: 20px;
	width: 175px;
}
.crm-contact-phones .jselect-options{
	width: 100%;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	cursor: pointer;
}
.crm-contact-panel .but{
	padding: 4px 6px !important;
	margin: 2px 1px 2px 0;
	line-height: 1 !important;
}
.crm-contact-panel .but{
	padding: 4px 6px !important;
	margin: 2px 1px 2px 0;
	line-height: 1 !important;
}
.crm-contact-panel .but.cm-toggler{
	padding-right: 20px !important;
}
.crm-contact-panel .cm-list{
	top: 18px;
	font-size: 13px;
	max-width: none;
	margin-top: 8px !important;
}
.crm-contact-r table .color-red {
	color: #f62c13;
}
.table td.crm-contact-num, .table th.crm-contact-num  {
	padding-left: 30px;
	white-space: nowrap;
}
.crm-contact-attent, .crm-contact-agreement {
	display: inline-block;
	padding: 0;
	font-size: 12px;
	vertical-align: middle;
}
.crm-contact-attent {
	float: left;
	margin: -0px 3px 0 -22px;
}
.crm-contact-agreement{
	margin: -1px 0 0 3px;
}
.crm-contact-attent[data-tt*="addition_agreement_"]{
	margin-left: 7px;
}
.crm-contact-attent .crm-tooltip:before, .crm-contact-agreement .crm-tooltip:before {
	left: 20px;
}
.crm-contact-attent .crm-tooltip:after, .crm-contact-agreement .crm-tooltip:after {
	left: 22px;
}
.crm-contact-attent .crm-tooltip ul, .crm-contact-agreement .crm-tooltip ul {
	list-style: none;
}
.crm-contact-attent .crm-tooltip li, .crm-contact-agreement .crm-tooltip li {
	padding: 2px 0;
	line-height: 1.1;
}
.crm-contact-paddings {
	padding: 7px;
}
/*</editor-fold>*/

.crm-right {
	position: relative;
	float: left;
	width: 20%;
}
.crm-history-row{
	padding: 8px 8px 6px;
	cursor: pointer;
	-webkit-transition: all 0.15s ease-in-out;
	-moz-transition: all 0.15s ease-in-out;
	-o-transition: all 0.15s ease-in-out;
	transition: all 0.15s ease-in-out;
}
.crm-history-date {
	color: #999;
	font-size: 10px;
	padding-bottom: 2px;
}
.crm-history-descr{
	line-height: 16px;
	font-size: 12px;
	color: #555;
}
.crm-history-title{
	text-transform: capitalize;
	color: #333;
}
.crm-history-reason {
	font-size: 11px;
	line-height: 12px;
	margin-bottom: -2px;
}
.crm-history-note{
	font-size: 11px;
	line-height: 12px;
	font-weight: normal;
	max-height: 0;
	overflow: hidden;
	-webkit-transition: all 0.15s linear;
	-moz-transition: all 0.15s linear;
	-o-transition: all 0.15s linear;
	transition: all 0.15s linear;
}
.crm-history-note-row{
	padding: 0 0 2px 20px;
	color: #999;
}
.crm-history-note-state {
	display: block;
}
.crm-history-row.expanded .crm-history-note {
	margin-top: 2px;
	max-height: 140px;
}

/*<editor-fold desc="CRM Widget orders"> */
.crm-w-orders {
	width: 100%;
	font-size: 12px;
	-webkit-transition: opacity 0.15s ease-in-out;
	-moz-transition: opacity 0.15s ease-in-out;
	-o-transition: opacity 0.15s ease-in-out;
	transition: opacity 0.15s ease-in-out;
}
.crm-w-orders tbody .crm-w-show_prev td{
	padding: 0 10px 12px 15px;
}
.crm-w-show_prev a{
	font-size: 11px;
}
.crm-w-orders_null{
	padding: 12px 0 0 4px;
}
.crm-w-orders tr.highlighted td, .crm-w-orders tr.highlighted:hover td{
	background: #fbf5f6;
}
.crm-w-orders tbody td.crm-w-hl_wrp-td{
	padding: 0;
}
.crm-w-hl_wrp{
	position: absolute !important;
	width: 100%;
	box-sizing: border-box;
	z-index: 0 !important;
	cursor: default;
}
.crm-w-orders tr {
	display: none;
}
.crm-w-orders tr.crm-w-show_prev, .crm-w-orders tr.active-job  {
	display: table-row;
}
.crm-w-orders tr.highlighted .crm-w-hl_wrp:before{
	content: "";
	position: absolute;
	z-index: 0;
	right: 0;
	height: 38px;
}
.crm-w-orders tr.highlighted .crm-w-hl_wrp:before, .crm-history-row.expanded{
	box-shadow: 0 0 5px 0 #f07774;
	background: #fbf5f6;
}
.crm-w-orders thead tr.highlighted .crm-w-hl_wrp:before{
	top: -10px;
	left: 0;
}
.crm-w-orders tbody tr.highlighted td:first-child{
	background: #fff;
}
.crm-w-orders tbody tr.highlighted .crm-w-hl_wrp:before{
	top: -16px;
	left: 0;
	height: 32px;
}
.crm-w-orders tr.highlighted td:last-child{
	box-shadow: 0 0 4px -3px #fdb5b6;
}
.crm-w-orders thead td{
	padding: 6px 0;
}
.crm-w-orders tbody{
	display: none;
}
.crm-w-orders tbody td{
	padding: 3px 0 3px 14px;
	line-height: 1.2;
}
.crm-w-orders thead td > *, .crm-w-orders tbody td > *{
	position: relative;
	z-index: 1;
}
.crm-w-orders thead td > *:hover, .crm-w-orders tbody td > *:hover{
	z-index: 2;
}
.crm-w-orders tr:hover td {
	background: #f4f4f4;
}
.crm-w-orders tbody tr td:first-child {
	background: #fff;
}
.crm-w-order-performer {
	position: relative;
	color: #aaa;
}
.crm-w-orders tbody td.crm-w-order-performer_td{
	width: 19%;
	padding-top: 0;
	padding-bottom: 0;
}
.crm-w-order-performer_td .cm-toggler, .crm-w-order-date .cm-toggler {
	text-decoration: none !important;
	padding: 0;
}
.crm-w-order-performer_td .cm-toggler:hover, .crm-w-order-date .cm-toggler:hover {
	border-bottom: 1px dotted;
}
.crm-w-order-performer_td .cm-toggler:after, .crm-w-order-date .cm-toggler:after{
	display: none;
}
.crm-w-order-date .cm-wrapper, .crm-w-order-performer_td .cm-wrapper {
	padding: 6px 0;
}
.crm-w-order-date .cm-list, .crm-w-order-performer_td .cm-list  {
	top: 100%;
	margin-top: 0;
	left: -10px;
	max-width: none;
	max-height: none;
	width: 185px;
	box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.4), 0 2px 6px rgba(0, 0, 0, 0.3);
	border: 1px solid #999;
	overflow: visible;
}
.crm-w-orders .cm-list:before {
	content: "";
	position: absolute;
	bottom: 100%;
	left: 36px;
	background: url(../images/cm-arr.png) no-repeat center center;
	width: 26px;
	height: 14px;
	margin-bottom: -5px;
}
.crm-w-orders thead td.crm-w-order-toggle{
	width: 20px;
	padding-left: 4px;
	cursor: pointer;
}
.crm-w-comment-ico {
	display: inline-block;
	width: 16px;
	height: 14px;
	background: url('../images/ico-comment.png') 0 0 no-repeat;
	vertical-align: middle;
}
.crm-w-order-title-wrapper {
	width: 60%;
	font-weight: bold;
}
.crm-w-order-title.active{
	color: #333;
	text-decoration: none;
	border: 0 none !important;
}
.crm-w-order-subtitle {
	width: 41%;
}
.crm-w-order-subtitle-link{
	text-decoration: none;
	color: #333;
}
.active-job .crm-w-order-subtitle-link{
	font-weight: bold;
}
.canceled-job .crm-w-order-subtitle-link{
	text-decoration: line-through;
}
.line-through {
	text-decoration: line-through;
}
.crm-w-order-subtitle-link:hover{
	text-decoration: none;
	/*text-decoration: underline;
	color: #333;*/
}
.crm-w-order-num{
	visibility: hidden;
	background: #e3e3e3;
	padding: 2px 3px;
	font-size: 11px;
	color: #666;
	font-weight: normal;
	margin: 0 2px 0 0;
	border-radius: 3px;
}
.crm-w-orders-tree, .crm-w-content{
	position: relative;
	-webkit-transition: height 0.1s ease-in-out;
	-moz-transition: height 0.1s ease-in-out;
	-o-transition: height 0.1s ease-in-out;
	transition: height 0.1s ease-in-out;
}
.crm-w-orders-tree.reloading, .crm-w-content.reloading {
	max-height: 500px;
}
.crm-w-orders-tree.reloading .crm-w-orders, .crm-w-content.reloading .crm-w-orders{
	opacity: 0;
}
.crm-w-orders-tree.reloading:after, .crm-w-content.reloading:after {
	content: "";
	position: absolute;
	background: url(../images/loader.gif) no-repeat;
	width: 24px;
	height: 24px;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	margin: auto;
}
.crm-w-orders tr:hover .crm-w-order-num {
	visibility: visible;
}
.crm-w-order-state-wrapper {
	width: 100px;
}
.crm-w-order-state {
	width: 75px;
	text-align: center;
	padding: 3px 0;
	background: #e9e9ea;
	border-radius: 3px;
	margin: 0 10px;
	font-size: 12px;
	color: #333;
}
.crm-w-order-state.state-active, .crm-w-order-state.state-init {
	background: #c9f0be;
}
.crm-w-order-state.state-done {
	background: #fdedc0;
}
.crm-w-order-state.state-test {
	background: #3690c9;
	color: #fff;
}
.crm-w-order-state.state-in_progress {
	background: #fac0c4;
}
.crm-w-order-date, .crm-w-order-btns-wrapper {
	white-space: nowrap;
}
.crm-w-order-performer a, .crm-w-order-date, .crm-w-order-date a {
	color: #999;
	text-decoration: none;
}
tr:hover .crm-w-order-performer a:hover, tr:hover .crm-w-order-date a:hover {
	color: #c23555;
}
.overdue-job .crm-w-order-date, .overdue-job .crm-w-order-date a
, .overdue-job .crm-w-order-subtitle, .overdue-job .crm-w-order-subtitle a
, .overdue-job .crm-w-order-performer_td, .overdue-job .crm-w-order-performer_td a {
	color: #f62c13;
}
.crm-w-order-date .cm-list{
	width: 320px;
}
.crm-grey-333 a {
	color: #333;
}
.crm-w-order-btns{
	text-align: right;
	padding-right: 10px;
	white-space: nowrap;
}
.crm-w-order-btns .crm-tooltip-wrapper, .crm-w-order-btns .cm-list {
	white-space: normal;
}
.crm-w-order-btns .crm-task-contact-ico-outgoing{
	margin: 3px;
}
.crm-w-order-btns-col {
	position: relative;
	display: inline-block;
	*display: inline;
	zoom: 1;
	vertical-align: middle;
}
.crm-w-order-but{
	display: inline-block;
	*display: inline;
	zoom: 1;
	vertical-align: top;
	text-align: center;
	padding: 4px 5px;
	font-size: 11px;
	color: #333;
	margin: 0 0 0 3px;
	height: 14px;
	line-height: 14px;
	border: 1px solid #ccc;
	background: #f5f5f6;
	text-decoration: none;
	border-radius: 3px;
}
.crm-w-order-but:hover{
	position: relative;
	z-index: 10;
	color: #333;
	text-decoration: none;
	border-color: #aaa;
}
.crm-w-order-but[rel*="job_cancel_menu"]{
	padding-right: 15px;
}
.crm-w-order-but[rel*="job_cancel_menu"]:after{
	right: 3px;
}
.crm-w-order-but.but_ico{
	width: 26px;
}
.crm-w-order-but.but_ico .ico{
	margin: -2px -2px 0 0;
}
.crm-w-order-but .crm-tooltip{
	top: 14px;
	left: -78px;
	min-width: 180px;
}
.crm-w-accept-but {
	background: #3ab273;
	color: #fff;
}
.crm-w-accept-but:hover {
	color: #fff;
}
.crm-w-order-btns-cm-wrapper {
	position: relative;
	width: 44px;
	height: 22px;
	vertical-align: middle;
	text-align: left;
	border: 1px solid #d9d9d9;
	border-radius: 3px;
	white-space: normal;
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	background: #e2e2e2;
}
.crm-w-order-btns-cm{
	height: 22px;
}
.crm-w-order-btns-cm-wrapper [type="checkbox"]{
	position: absolute;
	top: 0;
	left: -9999px;
}
.crm-w-order-btns-cm-wrapper label{
	position: absolute;
	top: 0;
	right: 0;
	padding: 0 3px;
	height: 100%;
	line-height: 23px;
	font-size: 9px;
	color: #777;
	cursor: pointer;
}
.crm-w-order-btns-cm-wrapper label:after{
	content: "▼";
}
.crm-w-order-btns-cm-wrapper label:hover:after, .crm-w-order-btns-cm-wrapper [type="checkbox"]:checked ~ label:after{
	color: #333;
}
.crm-w-order-btns-cm-wrapper [type="checkbox"]:checked ~ label:after{
	content: "▲";
}
.crm-w-order-btns-cm-wrapper .but{
	width: 16px;
	display: none;
	margin: -1px 0 0 -1px;
}
.crm-w-order-btns-cm-wrapper .but:hover{
	z-index: 2;
}
.crm-w-order-btns-cm-wrapper .but:first-child{
	display: block;
	margin-top: -1px;
	border-radius: 3px 0 0 3px;
}
.crm-w-order-btns-cm-wrapper [type="checkbox"]:checked + .crm-w-order-btns-cm .but {
	border-radius: 0;
	display: block;
}
.crm-w-order-btns-cm-wrapper [type="checkbox"]:checked + .crm-w-order-btns-cm .but:first-child {
	border-radius: 3px 0 0 0;
}
.crm-w-order-btns-cm-wrapper [type="checkbox"]:checked + .crm-w-order-btns-cm .but:last-child {
	border-radius: 0 0 3px 3px;
}
.crm-w-order-btns .cm-list {
	top: 100%;
	min-width: 180px;
	max-width: none;
	text-align: left;
	margin-top: -2px;
	white-space: nowrap;
}
.crm-w-date_form {
	height: 190px;
	margin: -10px -14px;
}
.crm-w-date_form select{
	padding: 5px 2px 6px;
}
.crm-w-date_form input.but{
	padding-left: 10px;
	padding-right: 10px;
	padding-bottom: 4px;
	margin-left: 2px;
}
.admin-only-shown {
	opacity: 0.7;
}
.admin-only-hidden {
	display: none !important;
}
/*</editor-fold>*/

/*<editor-fold desc="CRM tabs"> */
.crm-w-tabs {
	margin: -17px -21px 10px;
	background: #f9f9f9;
	border-bottom: 1px solid #d9d9d9;
	border-radius: 4px 4px 0 0;
}
.crm-w-tabs.no-shift {
	margin: 0 0 10px;
}
.crm-w-tab {
	display: inline-block;
	*display: inline;
	zoom: 1;
	vertical-align: top;
	color: #333;
	padding: 9px 9px;
	text-decoration: none;
	background: #e2e2e2;
	border-right: 1px solid #bfbfbf;
	margin-right: -3px;
}
.crm-w-tab:first-child {
	border-top-left-radius: 4px;
}
.crm-w-tab:hover {
	text-decoration: none;
}
.crm-w-tab.active {
	padding-bottom: 10px;
	margin-bottom: -1px;
	background: #f5f5f5;
	color: #c23555;
}
.crm-widget:hover .crm-w-tabs, .crm-widget:hover .crm-w-tab.active {
	background: #fff;
}
.crm-w-add {
	position: relative;
}
.crm-w-add .cm-list{
	left: 0;
	top: 24px;
	padding: 10px 14px;
	white-space: nowrap;
	max-width: none;
}
.crm-w-add .cm-list a{
	text-decoration: none;
	color: #0072bb;
	padding: 2px 0;
}
.crm-w-add .cm-list a:hover {
	color: #c23555;
}
.crm-w-add_link{
	padding: 9px 16px 9px 9px;
	font-size: 12px;
	color: #888;
	cursor: pointer;
	display: none;
}
.crm-widget:hover .crm-w-add_link {
	display: block;
}
/*</editor-fold>*/

/*<editor-fold desc="Crm inner top"> */
.crm-w-content-top {
	position: relative;
	padding: 6px 0 12px;
	font-size: 11px;
	text-align: center;
	min-height: 15px;
}
.crm-w-content-top .crm-w-select {
	position: relative;
}
.crm-w-content-top .crm-w-select .cm-toggler {
	padding-right: 0;
}
.crm-w-content-top .crm-w-select .cm-toggler:after{
	right: -14px;
}
.crm-w-content-top .crm-w-select .cm-toggler:hover{
	border-bottom: 1px dotted;
}
.crm-w-order-new {
	position: absolute;
	right: 0;
}
.crm-w-order-new .cm-toggler {
	padding: 3px 18px 3px 8px;
	border-radius: 4px;
	background: #7194fe;
	color: #fff;
}
.crm-w-order-new .cm-toggler:after {
	right: 4px;
	font-size: 80%;
}
.crm-w-order-new .cm-list {
	top: 100%;
	text-align: left;
	margin-top: 0;
	white-space: nowrap;
	max-width: none;
}
/*</editor-fold>*/

/*<editor-fold desc="CRM Form contracts"> */
.form_contract {
	padding: 8px 16px;
}
.form_contract dt{
	width: 120px;
}
.form_contract dd{
	margin: 0 0 0 130px;
}
.form_contract-title {
	margin-bottom: 15px;
}
.form_contract-status, .form_contract-ico {
	margin-left: 17px;
	vertical-align: middle;
}
.form_contract-print{
	float: right;
}
.form_contract-print .cm-list{
	top: 80%;
	left: auto;
	white-space: nowrap;
	right: 0;
}
.crm-form_col {
	display: table-cell;
	width: 50%;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	margin-right: -4px;
	padding: 0 20px 0 0;
}
.crm-form_col_2 {
	padding: 0 0 0 20px;
	border-left: 2px solid #eee;
}
/*</editor-fold>*/

/*<editor-fold desc="Vlad crm css"> */
.list-zayavok {
	width: 80%;
	float: left;
}
.list-history {
	float: right;
	border: 1px solid lightblue;
	width: 19%;
}
/*</editor-fold> */

/*<editor-fold desc="class"> */
.class-toprow{
	padding: 22px 0;
}
.class-list{
	padding: 2px 0 18px;
}
.class-block {
	width: 200px;
	margin: 0 10px 10px 0;
	padding: 10px 12px 10px;
	font-size: 11px;
	border-radius: 3px;
	box-shadow: 0 0 4px #c5c8de;
	-webkit-box-shadow: 0 0 4px #c5c8de;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	transition: all 0.08s ease-out;
	-webkit-transition: all 0.08s ease-out;
	border: 1px solid #fff;
	background: #fff;
	overflow: hidden;
}
.class-block:hover{
	box-shadow: 0 0 8px #a6d2ff;
	-webkit-box-shadow: 0 0 8px #a6d2ff;
}
.class-block-date {
	font-size: 10px;
	text-transform: uppercase;
	font-weight: bold;
	color: #8c8d94;
	cursor: default;
	background-image: url(../images/th-bg2.png);
	background-repeat: repeat-x;
	background-position: 0 0;
	padding: 4px 12px !important;
	text-shadow: 0 1px 0px rgba(255, 255, 255, 1.0);
	-webkit-text-shadow: 0 1px 0px rgba(255, 255, 255, 1.0);
	border-bottom: 1px solid #d9d9d9;
	margin: -10px -13px 10px !important;
	transition: all 0.10s ease-out;
	-webkit-transition: all 0.10s ease-out;
}
.class-block:hover .class-block-date {
	color: #c23555;
}
a.class-block-main{
	display: block;
	text-decoration: none;
	color: #333;
	margin: -10px -12px;
	padding: 10px 12px;
}
.class-block-status{
	display: block;
	padding: 0 0 5px;
}
.class-block-status .col{
	font-size: 10px;
	background: #666;
	border-radius: 3px;
	color: #eee;
	padding: 1px 4px;
}
.class-block-edit{
	font-style: italic;
	color: #777;
	font-size: 10px;
	margin: 4px -13px -10px !important;
	padding: 4px 12px 7px 30px !important;
	border-top: 1px solid #e5e5e5;
	background: url(../images/ico_edit.png) no-repeat 12px 3px;
}
/*</editor-fold> */

/*<editor-fold desc="JS menu iframe"> */
.body-iframe{
	background: transparent;
	font-size: 12px;
	height: auto !important;
	min-height: 0;
	overflow: auto;
}
.no-scroll-frame {
	overflow: hidden;
}
.jsel-iframe-title{
	font-weight: bold;
	padding: 0 0 6px;
}
.jsel-iframe-subtitle {
	padding: 0 0 6px;
}
input[type=text].jsel-iframe-input{
	width: 254px;
}
.form-row select.jsel-iframe-time{
	width: 64px;
	min-width: 40px;
	height: 21px;
}
.jsel-iframe-marks{
	vertical-align: middle;
	padding: 0 2px;
}
.jsel-iframe-with_dates{
	height: 250px;
}
.jsel-iframe-submits {
	padding: 8px 0 1px;
}
.jsel-iframe-submits .but{
	font-size: 11px;
}
.jsel-iframe-rl{
	margin: 0 10px 0 0;
}
.jsel-iframe-form .form-row {
	line-height: 1.1;
}
.jsel-iframe-form .form-row dt{
	width: 120px;
	color: #999;
}
.jsel-iframe-form .form-row dd{
	white-space: normal;
	width: 152px;
	margin: 0 0 0 135px;
}
.short-label.jsel-iframe-form .form-row dt {
	width: 60px;
}
.short-label.jsel-iframe-form .form-row dd {
	margin: 0 0 0 75px;
	width: 212px;
}
.jsel-iframe-form textarea {
	width: 120px;
}
.jsel-iframe-form .form-row select{
	min-width: 38px;
}
.jsel-iframe-overlaps{
	padding: 2px 0 4px;
}
.jsel-iframe-overlaps .afError{
	padding: 0 0 4px;
	font-weight: bold;
}
.jsel-iframe-overlaps-list ul{
	padding: 4px 0 0;
	list-style: none;
}
.jsel-iframe-overlaps-list li{
	list-style: none;
	padding: 4px;
	line-height: 1.1;
}
.jsel-iframe-overlaps-list li a{
	text-decoration: none;
}
.jsel-iframe-overlaps-list li:nth-child(2n+1){
	background: #eee;
}
/*</editor-fold> */

/*<editor-fold desc="Jsel for schedule"> */
.jsel-sc .jsel-menu-close{
	top: 2px;
	background: none;
}
.jsel-sc .jsel-menu-close:before {
	content: "×";
	position: absolute;
	right: 0;
	top: 0;
	color: #333;
	font-size: 14px;
	font-weight: bold;
	line-height: 14px;
}
.jsel-sc .jsel-menu-close:hover:before{
	color: #f75760;
}
.jsel-sc .jsel-menu li .menu-header {
	display: block;
	color: #bababa;
	text-transform: uppercase;
	font-size: 90%;
	margin: 8px -16px 0;
	padding: 3px 16px;
	background: rgba(35, 35, 35, 0.86);
}
/*</editor-fold>*/

/*<editor-fold desc="Groups table"> */
.gr_table-top {
	padding: 6px 0 2px;
}
.gr_table-top-r{
	float: right;
}
.gr_table-top-r .but{
	margin: -5px 0 0 10px;
}
.gr_table th, .gr_table td {
	font-size: 12px;
}
.gr_table th{
	padding: 5px;
	text-align: center;
}
.allocation-group{
	text-align: center;
}
.gr_table-hidden{
	opacity: 0;
	visibility: hidden;
}
.gr_table-hidden-wrapper:hover .gr_table-hidden{
	opacity: 1;
	visibility: visible;
}
.allocation-group-workdays, .allocation-group-mo_fr, .allocation-group-tu_th {
	background-color: #ffcc99;
}
.allocation-group-wednesday, .allocation-group-we_sa, .allocation-group-we_su {
	background-color: #ffccff;
}
.allocation-group-weekend, .allocation-group-sa_su {
	background-color: #99ccff;
}
.apdm-sub-menu {
	display: none;
}
.gr_table .fio-cell, .gr_table .title-row {
	padding: 11px 5px 11px 10px;
}
.gr_table .fio-cell {
	white-space: nowrap;
	min-width: 196px;
}
.gr_table-subtitle {
	font-size: 16px;
	font-weight: bold;
	padding: 6px 10px 6px 0;
	vertical-align: middle;
}
.gr_table-status_switcher {
	display: inline-block;
	zoom: 1;
	vertical-align: middle;
	border-radius: 100%;
	border: 1px solid #444;
	width: 12px;
	height: 12px;
	cursor: pointer;
}
.gr_table-status_switcher:hover {
	background: rgba(0, 0, 0, 0.2);
}
.gr_table-status_switcher.user-status-switcher-fixed {
	background: #444;
}
.gr_table-status_switcher.user-status-switcher-enrollment_done, .gr_table-status_switcher.user-status-switcher-on_confirm, .gr_table-status_switcher.user-status-switcher-confirmed {
	background: #333;
	cursor: default;
}
.gr_table-toggler-wrapper{
	float: right;
}
.gr_table-status{
	float: right;
	color: #ccc;
	font-size: 11px;
}
.gr_table-status.gr_table-status-confirmed{
	background: #effdf0;
	padding: 1px 3px;
	color: #bbb;
}
.gr_table-toggler {
	display: inline-block;
	opacity: 0;
	visibility: hidden;
	zoom: 1;
	vertical-align: middle;
	border: 1px solid #ccc;
	border-radius: 3px;
	color: #aaa;
	text-decoration: none;
	width: 18px;
	height: 16px;
	line-height: 16px;
	text-align: center;
	padding: 0;
}
.gr_table tr:hover .gr_table-toggler, .gr_table-toggler.active {
	opacity: 1;
	visibility: visible;
}
.gr_table-toggler.loaded:before {
	content: "";
	position: absolute;
	top: -4px;
	left: -27px;
	height: 24px;
	width: 24px;
	background: url(../images/loader.gif) no-repeat center center;
}
.gr_table-toggler:after {
	position: static;
}
.gr_table-toggler:hover {
	text-decoration: none;
}
.gr_table-toggler.active {
	border-color: #999;
	box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
}
.gr_table-toggler-wrapper .cm-list, .apdm-sub-menu{
	white-space: nowrap;
	font-size: 13px;
	background: #fff;
	top: 100%;
	margin: 0px 0 0 -4px;
	overflow: visible;
	padding: 10px 0;
}
.gr_table-toggler-wrapper .cm-list > li > a{
	padding: 0;
	cursor: pointer;
}
.gr_table-toggler-wrapper .cm-list li, .apdm-sub-menu a {
	padding: 8px 20px;
	margin: -4px 0;
	cursor: default;
	list-style: none;
}
.gr_table-toggler-wrapper .cm-list li{
	position: relative;
}
.gr_table-toggler-wrapper .cm-list li:hover, .apdm-sub-menu a:hover{
	background: #f1f1f1;
	color: #c23555;
}
.can-other-change {
	display: inline-block;
	width: 17px;
	height: 15px;
	vertical-align: middle;
	text-indent: 100%;
	white-space: nowrap;
	overflow: hidden;
}
.can-other-change-1 {
	background: url('../images/can-other-change-1.png') 0 0 no-repeat;
}
.can-other-change-2 {
	background: url('../images/can-other-change-2.png') 0 0 no-repeat;
}
.apdm-sub-menu-trigger{
	display: block;
	padding-right: 24px;
}
.apdm-sub-menu-trigger:after{
	content: "►";
	position: absolute;
	top: 5px;
	right: 9px;
	font-size: 11px;
	color: #333;
}
.apdm-sub-menu-trigger.disabled, .apdm-sub-menu-trigger.disabled:after {
	color: #bbb;
}
.apdm-sub-menu{
	position: absolute;
	top: -2px;
	left: 100%;
	color: #333;
	padding: 10px 0;
}
.gr_table-toggler-wrapper .cm-list li:hover .apdm-sub-menu{
	opacity: 1;
	display: block;
}
.apdm-sub-menu a{
	display: block;
	cursor: pointer;
}
.gr_table-sub_cm-row{
	padding: 0 0 10px;
}
.gr_table-sub_cm-subtitle, .gr_table-sub_cm-row {
	padding-left: 20px;
	padding-right: 20px;
}
.gr_table-sub_cm-row {
	padding-bottom: 4px;
}
.gr_table-sub_cm-subtitle{
	font-size: 11px;
	color: #999;
	padding-top: 6px;
	padding-bottom: 4px;
}
a + .gr_table-sub_cm-subtitle{
	padding-top: 12px;
}
.gr_table-sub_cm-hr{
	margin: 10px 0 10px;
	border-top: 1px solid #ccc;
}
.gr_table-f{
	padding: 20px 0 0 20px;
}
.gr_table-f .col{
	padding: 0 20px 0 0;
}
/*</editor-fold>*/

/*<editor-fold desc="Site footer"> */
footer {
	position: absolute;
	left: 0;
	bottom: 0;
	width: 100%;
	border-top: 1px solid #d9d9d9;
	background: url(../images/f-bg.png) repeat-x;
	color: #fff;
	font-size: 11px;
	padding: 12px 0;
}
footer a {
	color: #fff;
}
footer p {
	padding: 0;
}
.f-menu {
	position: absolute;
	top: -38px;
	right: 0;
	font-size: 10px;
}
.f-menu li {
	display: inline;
	padding: 0 6px;
	border-right: 1px solid #ccc;
}
.f-menu a {
	color: #0072bb;
	font-size: 12px;
}
.f-developers {
	position: absolute;
	top: 0px;
	right: 20px;
}
.f-developers a {
	color: #fff;
}
/*</editor-fold> */

/*<editor-fold desc="Textbooks"> */
.crm-txtbooks {
	padding: 40px 0;
}
.crm-txtbooks-col{
	display: inline-block;
	*display: inline;
	zoom: 1;
	vertical-align: top;
	width: 50%;
	margin: 0 -2px;
	text-align: center;
}
.crm-txtbooks-col-title {
	font-size: 14px;
	margin: 0 0 20px;
}
.crm-txtbook-edit-l {
	float: left;
}
.crm-txtbook-edit-r {
	float: right;
	white-space: nowrap;
}
.crm-txtbook-edit-col {
	display: inline-block;
	*display: inline;
	zoom: 1;
	vertical-align: top;
	width: 285px;
	margin-left: 35px;
	text-align: center;
	white-space: normal;
}
.crm-txtbook-edit-col-img {
	border: 1px solid #e2e2e2;
	background: #fff;
	height: 400px;
	overflow: hidden;
	margin-bottom: 12px;
}
.crm-txtbook-edit-col-img.empty {
	background: url(../images/textbook_bg1.png) no-repeat center center;
}
.crm-txtbook-edit-col-img-2.empty {
	background: url(../images/textbook_bg2.png) no-repeat center center;
}
.crm-txtbook-edit-col-img img.changing {
	opacity: 0.2;
	filter:alpha(opacity=20);
}
.crm-txtbook-edit-col-img img, .crm-txtbook-edit-col-img:before {
	display: inline-block;
	*display: inline;
	zoom: 1;
	vertical-align: middle;
}
.crm-txtbook-edit-col-img:before {
	content: "";
	height: 100%;
	width: 0;
	margin-left: -4px;
}
.crm-txtbook-edit-col-img img {
	max-width: 100%;
	width: auto;
	max-height: 100%;
	height: auto;
}
/*</editor-fold>*/


.test-periods a {
	color: #fff;
}
.test-periods a.selected {
	color: #ffe900;
}

td.reserved {background: #eeeeee;}
td.event-exists {background: #e5e5e5;}

.clickable-menu{
    cursor: pointer;
}
.tt-table.disable .clickable-menu{
	cursor: default;
}
.tt-table.disable .clickable-menu.active{
	cursor: pointer;
	z-index: 99999;
}

.checkbox-disabled{
    opacity: 0.4;
}

.session-group-list {
	padding: 0 0 0 15px;
}

.session-group-list h4 {
	margin: 0 0 5px;
}

.session-group-list li {
	margin: 0 0 15px;
}

.session-group-list ul {
	padding: 0 0 0 15px;
}

.session-group-list ul li {
	margin: 0 0 5px;
}

a.js:link, a.js:active, a.js:visited, .js{
    color: #0072BB;
    border-bottom: 1px dashed #0072BB;
    text-decoration: none;
	cursor: pointer;
}

a.js:hover, .js:hover{
    color: #0072BB;
    border-bottom: 1px dashed #0072BB;
    text-decoration: none;
}


/*UTP range*/
/*<editor-fold desc="UTP range"> */
.range-left {
	width: 85%;
	margin: 0 2% 0 0;
}
.range-right {
	width: 12%;
	font-size: 11px;
	padding: 38px 0 0;
	margin-left: -10px;
}
.center {
	text-align: left;
	margin-left: auto;
	margin-right: auto;
	width: 575px;
}
.CRC {
	top: -16px;
}
.CRG {
	padding-bottom: 16px;
	margin-left: -8px;
}
.CRG .CRZ {
	top: 16px;
	height: 80px;
	background: url(../images/range-line.png) repeat-y 5px 0;
	width: 10px;
	z-index: 1;
}
.CRG.rangeDrag .CRZ {
	background: url(../images/range-line2.png) repeat-y 4px 0;
}
.crg-wrap {
	position: absolute;
	top: 0;
	height: 0;
	z-index: 1;
}
#slider {
	position: relative;
	height: 81px;
	margin: 40px 0 120px;
	border-left: 1px solid #aaa;
	border-right: 1px solid #aaa;
}
#range {
	border: none;
	height: 40px;
	width: 100%;
	background: #E6E6E6 url('../images/rangeBar.png') top repeat-x;
	font-size: 0;
}
#range td {
	position: relative;
	text-align: center;
	font-size: 11px;
}
#range td:hover {
	cursor: pointer;
}
#range td:hover, #range td.active {
	background: #D0DFE9 url('../images/rangeBar.png') top repeat-x;
}
#range td.del {
	background: #E9CFCF url('../images/rangeBar.png') top repeat-x;
}
#range input[type="text"] {
	border: 1px solid transparent;
	background: transparent;
	color: #0072BA;
	text-decoration: underline;
	cursor: pointer;
}
#range input[type="text"]:focus {
	border: 1px solid #B3B3B3;
	background: white;
	color: #333;
	text-decoration: none;
	cursor: text;
}
#range input[rel="range-val"][type="text"] {
	width: 22px;
	text-align: center;
	text-decoration: none;
}
/*@-moz-document url-prefix() {
	#range td{
		height: 40px;
		display: inline-block; *//*for firefox*//*
	}
	#range input[rel="range-val"][type="text"]{
		position: relative;
		top: 10px;
	}
}*/

.range-note {
	position: relative;
	text-align: left;
	width: 0;
	height: 0;
}
.range-note-inner {
	position: absolute;
	left: 2px;
	top: 20px;
	white-space: nowrap;
}
.range-del {
	opacity: 0.65;
	margin: 2px 0 0 -3px;
	width: 10px;
	height: 10px;
	background: url(../images/ico-del2.png) no-repeat center center;
	vertical-align: middle;
}
.range-del:hover {
	opacity: 1;
}
#range input[rel="range-name"] {
	width: 40px;
	font-size: 13px;
	background: #FAFAFA;
}
.rangeGrip {
	position: relative;
	width: 10px;
	height: 19px;
	cursor: e-resize;
	background-image: url('../images/slider.png');
	z-index: 8;
}
.range-slider-title {
	margin: 16px 0 -18px 0;
	font-size: 11px;
}
.rangeDrag .rangeGrip, .rangeGrip:hover {
	background-position: right;
}
.range-alert {
	position: absolute;
	right: 0;
	top: -90px;
	color: #fff;
	font-size: 11px;
	white-space: nowrap;
	padding: 1px 3px;
	border-radius: 3px;
	background: rgba(0, 0, 0, 0.5);
}
/*</editor-fold> */



.example-div {
	display: none;
}

.filter .selected {
	font-weight: bold;
}

#top-form {
	margin: 0 0 10px;
}

.datepicker, .schedule-datepicker-start, .schedule-datepicker-end, .datepicker-readonly, .datepicker-with-url-change {
	width: 85px;
}

.datepicker-with-url-change {
	position: relative;
	z-index: 900;
}



.above-timetable {
	padding: 0 0 20px;
}


.all-classes-highlighted {
	background: #fff79c;
}

.plan2-variant-input {
	width: 50px;
}

.afSuccess {
	color: #0d0;
}

.variant {
	border-top: 1px solid #000000;
	margin: 20px 0 0;
	padding: 20px 0 0;
}

.blocks {
	padding: 10px 0 0;
}

.tt-block-suites-yes {
	background-color: #90ee90;
}

.tt-block-suites-no {
	background-color: #f08080;
}

.tt-block-suites-unknown {
	background-color: #d3d3d3;
}

.tt-block-suites-highlight {
	background-color: #ffe900;
}

.show-hide-selected {
	font-weight: bold;
}
.contract_addition_template{
	margin-bottom: 8px;
}
.table-date-hidden{
	visibility: hidden;
}
.table-row-collapsed{
	display: none;
}
.is-out-of-date {
	border: 1px solid #f08080;
}
.cmr2-list-action-buttons {
	display: inline-block;
	padding: 5px 5px 12px 5px;
	border: 1px solid #b3b3b3;
}
.history-row-selected {
	border: 1px solid #f08080;
}
select#program_id {
	width: 300px;
}

.visible {display: block; visibility: visible;}
.hidden {display: none;}
.invisible {visibility: hidden;}
#set-passport-data a {
	white-space: normal;
}

/*<editor-fold desc="Set passport data"> */

#set-passport-data-form.form-w_full .form-row dt{
	width: 74px;
}
#set-passport-data-form.form-w_full .form-row dd{
	margin: 0 0 0 88px;
}
#set-passport-data-form.form-w_full .form-group:last-child{
	padding-top: 26px;
}
/*</editor-fold>*/


.live-winloc {
	padding-bottom: 16px;
}
.archive-teachers__info-field {
	display: inline-block;
	margin-left: 8px;
}

.archive-teachers__info-field:hover > .archive-teachers__extended-load-info {
	display: block;
}

.archive-teachers__text-block {
	line-height: 30px;
}

.archive-teachers__extended-load-info {
	position: absolute;
}

.archive-teachers__extended-load-info {
	display: none;
	padding: 8px;
	flex-direction: column;
	background: #006ca8;
	color: #fff;
	border-radius: 4px;
	z-index: 5;
}

.extended-load-info__row {
	display: flex;
}

.extended-load-info__column.u-replace-load {
	padding-left: 10px;
	text-align: right;
}

.extended-load-info__bottom-text {
	font-style: italic;
}

.extended-load-info__column {
	display: inline-block;
}

.extended-load-info__column:first-child {
	width: 237px;
}

.extended-load-info__column:last-child {
	margin-left: auto;
}

.extended-load-info__bottom-row {
	border-top: 1px solid #fff;
}

.job-comment-text, .job-comment-field {
	box-sizing: border-box;
	width: 408px;
	border: 1px solid #c5c5c5;
	border-radius: 5px;
	white-space: normal;
	padding: 5px;
	margin: 0 0 5px;
}
.job-comment-author {
	width: 408px;
	text-align: right;
	font-style: italic;
	font-size: 11px;
	margin: 0 0 10px;
}
.job-comment-adding {
	box-sizing: border-box;
	width: 408px;
	text-align: right;
}
.job-comment-btn {
	padding: 2px 4px;
}

.text-link {
	color: #333;
	text-decoration: none;
}
.color-red .text-link {
	color: #f62c13;
}
.with-unread-comments {
	font-weight: bold;
}

.is-resizable-both {
	resize: both;
}

#filters .chosen-container {
	vertical-align: top !important;
}