.scroll-content {
	overflow: scroll;
}

.smartTableWrapper {
	overflow: auto;
	width: 100%;
	outline: 1px dotted gray;
}

.dropdown-navbar .msg-body {
	margin-left: 0;
}

.menu-min .hide-on-menu-min {
	display: none;
}

.colorbox {
	display: inline-block;
	width: 30px;
	height: 30px;
}

.colorbox-small {
	display: inline-block;
	width: 15px;
	height: 15px;
	margin-right: 6px;
	border-radius: 3px;
}

.colorbox-circle {
	display: inline-block;
	width: 10px;
	border-radius: 100%;
	height: 10px;
	line-height: 10px;
	margin: 0px 3px;
}

.colorpicker.dropdown-menu, .datepicker.datepicker-dropdown {
	z-index: 99999 !important;
}

.cake-debug-output {
	position: relative;
	z-index: 10000;
	width: 70%;
	left: 50%;
	transform: translateX(-50%);
	top: 50px;
}

.cake-error, .pr {
	position: fixed;
	z-index: 9999;
	width: 100%;
	left: 50%;
	transform: translateX(-50%);
}

/* Сортировка у таблиц */
th > a.asc, th > a.desc {
	color: #D15B47;
}

th > a.asc:after, th > a.desc:after {
	content: '↑';
	display: inline;
	padding-left: 5px;
}

th > a.desc:after {
	content: '↓';
}

/* Чекбокс (переключатель) */
input[type=checkbox].ace.ace-switch + .lbl {
	margin: 0px;
	margin-top: 7px;
}

input[type=checkbox].ace.ace-switch.ace-switch-6:checked + .lbl::before {
	background-color: #5AC059;
}

.checkbox-help {
	display: inline-block;
	float: right;
	line-height: 36px;
	color: gray;
}

/* Multiselect адаптив */

.multiselect-container.dropdown-menu {
	max-height: 300px;
	overflow: scroll;
}

.help-block {
	color: #D15B47;
}

.form-error {
	border-color: #D15B47 !important;
}

/* select 2 */

.select2-container {
	padding: 0;
	border: none;
}

/* CalendarWidget */

.smart-calendar {
	padding: 20px;
	border: 1px solid #438EB9;
	border-radius: 3px;
	margin: 0px 20px;
	padding-top: 40px;
	background: #F2F6F9;
	min-height: 420px;

	position: fixed;
	z-index: 25;
	top: 100px;
	left: -200%;
	transition: all .8s cubic-bezier(0.6, 0.2, 0.4, 0.8);
}

.smart-calendar.opened {
	left: 200px;
}

.smart-calendar .close-btn {
	position: absolute;
	right: 10px;
	top: 3px;
	color: white;
}

.smart-calendar > .title {
	position: absolute;
	left: 0;
	top: 0;
	background: #2A91D8;
	color: white;
	width: 100%;
	height: 25px;
	text-align: center;
	font-weight: bold;
	z-index: 20;
}

.smart-calendar .group {
	margin-bottom: 10px;
}

.smart-calendar .group > b {
	color: #438EB9;
	text-transform: uppercase;
	margin-bottom: 5px;
	display: block;
}

.smart-calendar .group .btn {
	border: 1px solid #438EB9;
	border-right: none;
	margin: 0;
}

.smart-calendar .group .btn:last-child {
	border-right: 1px solid #438EB9;
}

.smart-calendar .group .btn.active {
	background-color: #438EB9 !important;
	color: white !important;
	border-color: #4D7388;
}

.smart-calendar .week, .smart-calendar .week-disabled {
	padding: 15px;
	border-radius: 3px;
	height: 280px;
}

.smart-calendar .week:hover, .smart-calendar .week:active {
	background: #E4E4E4;
	cursor: pointer;
}

.smart-calendar .week.active {
	background: #438EB9;
	color: white;
}

.smart-calendar .week-disabled {
	background: #DBDBDB;
	color: #ABABAB;
}

.smart-calendar .dayOfWeek {
	padding-left: 20px;
	position: relative;
}

.smart-calendar .dayOfWeek .holiday-tip {
	font-size: 80%;
	line-height: 12px;
	display: inline-block;
	margin-bottom: 5px;
	border-left: 1px solid gray;
	padding-left: 10px;
	margin-left: 5px;
	background: none !important;
}

.smart-calendar .dayOfWeek .mutate-holiday {
	background: #D14747;
	border-color: #D14747;
}

.smart-calendar .dayOfWeek .mutate-closed {
	background: #4ACA42;
	border-color: #4ACA42;
}

.smart-calendar .colorbox-circle {
	position: absolute;
	background: gray;
	left: 0;
	top: 4px;
}

.smart-calendar .preloader {
	display: none;
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background: rgba(219, 219, 219, 0.3);
	z-index: 10;
	cursor: wait;
}

.smart-calendar .progress-bar {
	width: 100%;
	height: 0;
	overflow: visible;
	line-height: 25px;
	animation: progress-bar-stripes .2s linear infinite !important;
}

.smart-calendar .progress {
	margin-bottom: 0px;
	height: 25px;
	background: #2A91D8;
}

.smart-calendar.loading .preloader {
	display: block;
}

.smart-calendar.loading .progress-bar {
	height: 100%;
}

.smart-calendar .buttons {
	position: absolute;
	right: 20px;
	bottom: 20px;
}

/* lessons Рассписание */
.lessons {
	overflow: hidden;
}

.magic_top {
	float: left;
	width: 100%;
	overflow: hidden;
}

.magic_left, .magic_left_top {
	float: left;
	overflow: hidden;
}

.lessons .smartTableWrapper {
	float: left;
	overflow: scroll !important;
}

.lessons table {
	border: 1px solid #CCC;
}

.lessons td.mutator-closed, .lessons th.mutator-closed {
	background: hsla(100, 30%, 90%, 1) !important;
	border-color: hsla(100, 30%, 88%, 1);
	color: hsla(100, 30%, 60%, 1);
}

.lessons td.mutator-closed .lesson-box {
	background: hsla(100, 30%, 95%, 1) !important;
	border-color: hsla(100, 30%, 80%, 1);
}

.lessons td.mutator-holiday, .lessons th.mutator-holiday {
	background: hsla(0, 30%, 90%, 1) !important;
	border-color: hsla(0, 30%, 88%, 1);
	color: hsla(0, 30%, 60%, 1);
}

.lessons td.mutator-holiday .lesson-box {
	background: hsla(0, 30%, 95%, 1) !important;
	border-color: hsla(0, 30%, 80%, 1);
}

.lessons td.mutator-today, .lessons th.mutator-today {
	border-left-width: 3px;
	border-right-width: 3px;
	background: hsla(50, 30%, 90%, 1) !important;
	border-color: hsla(50, 30%, 88%, 1);
	color: hsla(50, 30%, 60%, 1);
}

.lessons td.mutator-today .lesson-box {
	background: hsla(50, 30%, 95%, 1) !important;
	border-color: hsla(50, 30%, 80%, 1);
}

.lessons .lesson-row {
	border-top: 2px solid #2B7DBC;
	background: hsla(206, 37%, 90%, 1);
}

.lessons .lesson-row .mutator-today, .lessons .lesson-row .mutator-closed, .lessons .lesson-row .mutator-holiday {
	border-top: 2px solid;
}

.lessons .meta-cell-cross {
	color: black;
	background: #F2F6F9;
	border-color: #E5E5E5;
	vertical-align: top !important;
	border-left: 1px solid #ABBAC3;
	border-right: 1px solid #ABBAC3;
}

.lessons .meta-cell {
	background-color: #f2f6f9;
}

.lessons .meta-cell .subjTitle {
	font-weight: 700;
	color: #909090;
	font-size: 130%;
}

.lessons .meta-cell.lesson .subjTitle {
	color: #2b7dbc;
}

.lessons .meta-cell .subjTime {
	color: #ABBAC3;
}

.lessons .meta-cell.lesson .subjTime {
	color: #438EB9;
}

.lessons .break-first {
	border-left: 1px solid #ABBAC3 !important;
}

.lessons .break-last {
	border-right: 1px solid #ABBAC3 !important;
}

.lessons .with-vertical-stripes > th {
	border-left-style: solid;
	border-left-width: 1px;
	border-right-style: solid;
	border-right-width: 1px;

	border-bottom: none !Important;
}

.lessons .lesson-cell {
	position: relative;
	padding: 5px 0px;
	border-left: 1px solid #eee;
	border-right: 1px solid #eee;
}

.lessons .lesson-cell:hover .add-lesson, .lessons .lesson-cell:focus .add-lesson {
	visibility: visible;
}

.lessons .lesson-cell-full:hover .add-lesson, .lessons .lesson-cell-full:focus .add-lesson {
	visibility: visible;
}

.lessons .add-lesson {
	display: block;
	width: 21px;
	background: #9bc791;
	height: 21px;
	margin: 0 auto;
	border-radius: 100%;
	cursor: pointer;
	visibility: hidden;
	text-align: center;
	line-height: 22px;
	color: white;
}

.lessons .add-lesson a {
	color: white;
}

.lessons .short-lesson {
	min-width: 18px;
	height: 30px;
	background: #F2F6F9;
	text-align: center;
	color: #2E353A;
	font-weight: bold;
	margin: 0px 5px;
	margin-bottom: 10px;
	cursor: pointer;
	position: relative;
}

.table-optimize-loader {
	font-size: 125%;
	margin: 5px;
}

.lessons .short-lesson > .top {
	width: 100%;
	height: 4px;
}

.lessons .short-lesson > .body {
	border-width: 1px;
	border-style: solid;
	height: 100%;
	top: -4px;
	position: relative;
	padding: 5px;
	white-space: nowrap;
}

.lessons .short-lesson > .box-info {
	display: none;
}

.short-lesson.has-changes {
	background-color: #82af6f;
	color: white;
}

.short-lesson.moved-source, .short-lesson.moved-clone {
	background-color: #3A87AD;
	color: white;
}

.lessons .short-lesson.active {
	width: 200px;
	position: absolute;
	transform: translateX(-50%);
	z-index: 100;
	left: 50%;
	height: auto;
	margin: 0;
	padding: 0;
	box-sizing: content-box;
	line-height: 35px;
	background: #F2F6F9;
	color: #000000;
	border-width: 1px;
	border-style: solid;
}

.lessons .short-lesson.active > .body {
	border-bottom: none;
	border-left: none;
	border-right: none;
	border-top-width: 5px;
}

.lessons .short-lesson.active > .box-info {
	display: block;
	z-index: 100;
	left: 50%;
	transform: translateX(-50%);
	width: 180px;
	position: relative;
}

.lesson-box {
	border-radius: 3px;

	border-color: #ECECEC;
	border-width: 1px;
	border-style: solid;

	line-height: 90%;
	margin-bottom: 8px;
	background: white;
	position: relative;
	overflow: hidden;
}

.lesson-box.lesson {
	background: hsla(200, 50%, 98%, 1);
	border-color: hsla(206, 37%, 80%, 1);
}

.lesson-box.has-changes {
	border-width: 2px !important;
	border-style: dotted !important;
	border-color: #D15B47 !important;
}

.lesson-box.moved-source, .lesson-box.moved-clone {
	border-color: #3A87AD !important;
}

.lesson-box .title-bar {
	color: #585858;
	font-weight: bold;
	padding-right: 5px;
	margin: 8px;
	border-bottom: 2px solid;
	padding-bottom: 5px;
}

.lesson-box.lesson .title-bar {
	color: #2B7DBC;
}

.lesson-box .body {
	margin: 5px;
}

.lesson-box .body div {
	margin-top: 5px;
	display: block;
	height: auto;
}

.lesson-box .foot {
	padding: 5px;
	background: #DCDCDC;
	border-top: 1px solid #B9CFDF;
}

.lesson-box .lesson-status {
	width: 100%;
}

.lesson-box .lesson-waiting {
	width: 100%;
	display: block;
	position: relative;
	margin-bottom: 10px;
}

.lesson-box.moved-source .moved-overlay {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	z-index: 5;
	background: rgba(255, 255, 255, 0.35);
	cursor: alias;
}

/* lessons tabbable widget */

.lessons-tabbable > .nav {
	padding: 0 !important;
}

.lessons-tabbable .progress {
	position: absolute;
	z-index: 0;
	width: 100%;
	height: 100%;
	padding: 0;
	margin: 0;
	opacity: 0;
	transition: all .1s;
}

.lessons-tabbable.loading .progress {
	opacity: 1;
}

.lessons-tabbable .progress-bar {
	animation: progress-bar-stripes .2s linear infinite;
}

.lessons-tabbable .nav > li {
	opacity: 1;
	transition: all .1s;
}

.lessons-tabbable.loading .nav > li {
	opacity: 0;
}

.menu-min .nearest-info {
	display: none;
}

.lessons-nav-item .alert {
	padding: 5px;
	font-size: 12px;
}

.actions {
	white-space: nowrap;
}

.widget-toggler {
	display: inline-block;
}

.spoilerable {
	display: none;
	text-align: left;
	margin: 5px 0;
}

.spoilerable_wrapper {
	text-align: left;
}

.toggler-hide {

}

.spoilerable_wrapper .toggler-hide {
	display: none;
}

.spoilerable_wrapper.spoilerable-visible .toggler-hide {
	display: inline-block;
}

.spoilerable_wrapper.spoilerable-visible .toggler-show {
	display: none;
}

.spoilerable_wrapper.spoilerable-visible .spoilerable {
	display: block;
}

.toggler {
	display: inline-block;
	font-weight: bold;
	color: #23527c;
	cursor: pointer;
	padding-right: 13px;
}

.toggler span {
	border-bottom: 1px dashed #23527c;
}

.toggler:hover {
	color: #337ab7;
}

.toggler:hover span {
	border-bottom: 1px dashed #337ab7;
}

.toggler._lite {
	font-weight: normal;
}

.topics-modal .btn.btn-app.ace-settings-btn.btn-xs {
	width: auto !important;
}

.topics-modal {
	z-index: 99999 !important;
}

.right-lesson-box {
	margin-bottom: 20px;
}

.homework-notification {
	position: fixed;
	top: 80px;
	left: 50%;
	width: 300px;
	padding: 20px;
	margin-left: -150px;
	border-radius: 10px;
	background: #f89406;
	color: #fff;
	z-index: 999999;
	border: 5px solid #f7d05b;
	-webkit-box-shadow: 0px 0px 26px 3px rgba(248, 148, 6, 1);
	-moz-box-shadow: 0px 0px 26px 3px rgba(248, 148, 6, 1);
	box-shadow: 0px 0px 26px 3px rgba(248, 148, 6, 1);
}

.homework-notification__text h2 {
	margin-top: 0;
}

#bottom-menu button.btn.btn-yellow.btn-xs.ace-settings-btn.aside-trigger {
	width: 250px !important;
	margin-left: -125px !important;
}

div.datepicker.dropdown-menu {
	z-index: 999999;
}

.table-auto-width {
	width: auto !important;
}

.daybook-weeks-nav {
	margin: 0 0 15px;
}

span.tip {
	/* Required */
	position: fixed;
	z-index: 2;
	display: none;

	/* Optional */
	font-size: 15px;
	max-width: 150px;
	height: auto;
	padding: 10px;
	border-radius: 3px;
	box-shadow: 0 1px 2px #666;
	background: #FD0;
}

.alert-min {
	padding: 5px !important;
}

.groups-list__group .widget-body {
	min-height: 100px;
}

.dragged {
	background: #FEE188 !important;
}

.cke_browser_webkit {
	z-index: 9999999999 !important;
}

.lesson-panel-stype-4 {
	border: 1px solid #dfa020;
}

.lesson-panel-stype-4.panel {
	background: #ffec8f;
}

.lesson-panel-stype-4 .panel-heading,
.lesson-panel-stype-4 .panel-footer {
	background: #d3bd50;
}

.pdfme span {
	font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-size: 12px;
}

.text-warning {
	color: #dfa020 !important;
}
