.journal_wrapper {
	position: relative;
}
.journal_wrapper h2 {
	font-size: 24px;
	font-weight: bold;
}
.journal_wrapper .table th {
	background-color: #467c96;
	color: #fff;
	padding: 15px;
	font-weight: bold;
}
.journal_wrapper .table th.subline {
	background-color: #edf2f7 !important;
	font-weight: normal;
	text-align: center;
}
.journal_wrapper .table-journal th.subline {
	position: relative;
	z-index: 100;
	box-shadow: 0 4px 2px 0 rgba(0,0,0,0.14);
}
.journal_wrapper .table-journal tr:last-child th.subline {
	box-shadow: none;
}
.journal_wrapper td {
	text-align: center;
	height: 47px;
	white-space: nowrap;
	overflow: hidden;
	padding: 0 !important;
	vertical-align: middle !important;
	position: relative;
	color: #467C97;
}
.journal_wrapper td.c_active {
	border-color: #158ecc;
}
.journal_wrapper td.c_error {
	border-color: #ff0000;
}
.journal_wrapper td img {
	height: 18px;
}
.journal_wrapper td.td__pupilname {
	text-align: left;
	z-index: 100;
	padding-left: 7px !important;
	padding-right: 7px !important;
	overflow: hidden;
}
.journal_wrapper .th__number a {
	text-decoration: none;
}
.journal_wrapper .text-danger {
	color: red !important;
}
.journal_wrapper .notice-flag {
	border-top: 7px solid transparent;
	border-left: 7px solid transparent;
	width: 0;
	height: 0;
	display: block;
	position: absolute;
	bottom: 0;
	right: 0;
}
.journal_wrapper .status-online-flag {
	border-bottom: 7px solid transparent;
	border-right: 7px solid transparent;
	width: 0;
	height: 0;
	display: block;
	position: absolute;
	top: 0;
	left: 0;
}
.journal_wrapper td.td__mark:hover, .journal_wrapper td.td__mark__report__card:hover {
	background-color: #cfe7f3;
	cursor: pointer;
}
.journal_wrapper .status-online-flag.flag-primary {
	border-top: 7px solid #00acd6;
	border-left: 7px solid #00acd6;
}
.journal_wrapper .status-online-flag.flag-danger {
	border-top: 7px solid #ff0000;
	border-left: 7px solid #ff0000;
}
.journal_wrapper .status-online-flag.flag-warning {
	border-top: 7px solid orange;
	border-left: 7px solid orange;
}
.journal_wrapper .status-online-flag.flag-pink {
	border-top: 7px solid #c11c84;
	border-left: 7px solid #c11c84;
}
.journal_wrapper .notice-flag.flag-info {
	border-bottom: 7px solid #B2C0C7;
	border-right: 7px solid #B2C0C7;
}
.journal_wrapper .notice-flag.flag-danger {
	border-bottom: 7px solid #ff0000;
	border-right: 7px solid #ff0000;
}
.journal_wrapper .notice-flag.flag-success {
	border-bottom: 7px solid #3DCE41;
	border-right: 7px solid #3DCE41;
}
.journal_wrapper .notice-flag.flag-warning {
	border-bottom: 7px solid orange;
	border-right: 7px solid orange;
}
.journal_wrapper .notice-flag.flag-primary {
    border-bottom: 7px solid #00acd6;
    border-right: 7px solid #00acd6;
}
.journal_wrapper td .diagonal {
	background: linear-gradient(
		to top left,
		white 48%,
		#467c96,
		white 52%
	);
	position: absolute;
	top:0;
	left:0;
	right: 0;
	bottom: 0;
}
.journal_wrapper td .diagonal:hover {
	background: linear-gradient(
		to top left,
		#E7F7FF 48%,
		#467c96,
		#E7F7FF 52%
	);
}
.journal_wrapper td .diagonal .n_mark {
	display: block;
	position: absolute;
	bottom: 0;
	right: 0;
}
.journal_wrapper td .max_info {
	left: 0;
	bottom: 0;
	right: 0;
	height: 12px;
	line-height: 12px;
	font-size: 10px;
	color: #000;
	background-color: #f6f9fc;
	position: absolute;
	display: none;
	z-index: 20;
}
.journal_wrapper td.c_active .max_info {
	display: block;
}
.journal_wrapper td .diagonal .n_n {
	display: block;
	position: absolute;
	left: 0;
	top: 0;
}
.journal_wrapper td.current_date {
    /*background-color: #edf2f7;*/
	background-color: #fbff0060;
}

.journal_wrapper .popup_setmark_wrapper {
	z-index: 815;
	position: absolute;
	overflow: hidden;
	display: none;
}
.journal_wrapper .popup_setmark_left {
	border-top: 10px solid transparent;
	border-bottom: 10px solid transparent;
	border-right: 10px solid #E7F7FF;
	border-left: 10px solid transparent;
	width: 0;
	height: 0;
	float: left;
	position: relative;
	margin-top: 19px;
}
.journal_wrapper .popup_setmark_right {
	border-top: 10px solid transparent;
	border-bottom: 10px solid transparent;
	border-right: 10px solid transparent;
	border-left: 10px solid #E7F7FF;
	width: 0;
	height: 0;
	float: right;
	position: relative;
	margin-top: 19px;
}
.journal_wrapper .popup_setmark, .journal_wrapper .popup_setmark_report_card {
	padding: 9px;
	background-color: #E7F7FF;
	box-shadow: 0 2px 2px 0 rgba(0,0,0,0.14), 0px -2px 2px 0 rgba(0,0,0,0.14);
	height: 47px;
	margin: 5px 20px;
	overflow: hidden;
	position: relative;
}
.journal_wrapper table td.td__mark input {
	border: none;
	position: absolute;
	top:0;
	bottom: 0;
	right: 0;
	left: 0;
	z-index: 10;
	cursor: pointer;
	display: block;
	visibility: hidden;
	text-align: center;
	width: 100%;
}
.popup_setmark .item, .popup_setmark_report_card .item {
	border-radius: 4px;
	float: left;
	margin-right: 15px;
	padding: 4px;
	cursor: pointer;
	border: 1px solid transparent;
}
.popup_setmark .item.bg_white, .popup_setmark_report_card .item.bg_white {
	background-color: white;
}
.popup_setmark .item.item_active, .popup_setmark_report_card .item.item_active {
	border-color: #148ECC;
	background-color: #ddeefc;
}
.popup_setmark .item.bg_white:hover, .popup_setmark_report_card .item.bg_white:hover {
	border: 1px solid #148ECC;
}
.popup_setmark .item:last-child, .popup_setmark_report_card .item:last-child {
	margin-right: 0;
}
.popup_setmark .item img, .popup_setmark_report_card .item img {
	height: 18px;
}
.popup_setmark #unset_mark img, .popup_setmark_report_card #unset_mark img {
	height: 14px;
}
.popup_setmark div, .popup_setmark_report_card div {
	overflow: hidden;
}
.popup_setmark #message_subblock {
	display: none;
}
.popup_setmark #message_subblock textarea {
	height: 70px !important;
	margin-top: 10px;
	margin-bottom: 10px;
}
.popup_setmark #save_loader {
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	right: 0;
	background-color: #E7F7FF;
	line-height: 47px;
	padding: 0 12px;
	display: none;
}
.popup_setmark #save_error {
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	right: 0;
	background-color: #ffeaea;
	line-height: 47px;
	padding: 0 12px;
	display: none;
	color: #ff0000;
	font-style: italic;
}
.popup_setmark #save_error span.times img {
	height: 14px;
}
.popup_setmark #save_error span.times {
	float: right;
	cursor: pointer;
}
.journal_wrapper table.padding-on td {
	padding: 10px !important;
}
.form-control.editable-topic-view {
	display: none;
	margin-bottom: 10px;
}
.form-control.editable-learning_mode-view {
	display: none;
	margin-bottom: 10px;
}
.lesson-topic-wrapper {
	display: none;
	margin-bottom: 10px;
}
.form-control.editable-task-view {
	display: none;
	margin-bottom: 10px;
}
.form-control.editable-homework-view {
	display: none;
	margin-bottom: 10px;
}
.lesson-homework-wrapper {
	display: none;
	margin-bottom: 10px;
}
.form-control.editable-homework-notice-s-view {
	display: none;
	margin-bottom: 10px;
}
.form-control.editable-homework-notice-view {
	display: none;
	margin-bottom: 10px;
}
.form-control.editable-max-mark-view {
	display: none;
	margin-bottom: 10px;
}
.td-journal-left-textpart {
	margin-right: 50px;
	word-break: break-all;
	word-wrap: break-word;
}
.td-journal-right-edit {
	float: right;
	width: 50px;
	text-align: right;
}
.save-homework, .save-homework-l {
	display: none;
}
.save-topic {
	display: none;
}
.save-learning_mode {
	display: none;
}
.save-task {
	display: none;
}
.save-homework-notice {
	display: none;
}
.save-max-mark {
	display: none;
}
.loader_list {
	display: none;
}
#loader_subblock {
	display: none;
	text-align: center;
	font-size: 100px;
}
#calc_filters_subblock, #calc_table_subblock {
	display: none;
}
.journal_wrapper .td__avgmark {
	box-shadow: -4px 0px 2px 0 rgba(0,0,0,0.14);
}
.journal_wrapper table.table-avg th {
	background-color: #148ECC;
	box-shadow: -4px 0px 2px 0 rgba(0,0,0,0.14);
	position: relative;
	z-index: 150;
}
.journal_wrapper table .td__shadow {
	box-shadow: 4px 0px 2px 0 rgba(0,0,0,0.14);
	position: relative;
	z-index: 150;
}
.journal_wrapper .table th.subline.calc-col-active {
	background-color: #80FF95 !important;
}

.styled_checkbox input[type="checkbox"] {
	display: none;
}
.styled_checkbox label {
	display: inline-block;
	cursor: pointer;
	position: relative;
	font-size: 13px;
	margin: 0;
}
.styled_checkbox label:before {
	content: "";
	border-radius: 2px;
	border: 1px solid #879399;
	background-color: #fff;
	display: inline-block;
	width: 16px;
	height: 16px;
}
.styled_checkbox input[type=checkbox]:checked + label:before {
	content: "\2713";
	font-size: 20px;
	color: #3DCE41;
	text-align: center;
	line-height: 14px;
}
.styled_checkbox_p label:before {
	margin-right: 15px;
}
.journal_wrapper .lesson_list td {
	white-space: normal;
	vertical-align: top !important;
}
.journal_wrapper #show_short_statistics {
	position: absolute;
	width: 30px;
	top:0;
	bottom: 0;
	right: 0;
	cursor: pointer;
	color: #7bb8e4;
	font-size: 35px;
}
.journal_wrapper #show_short_statistics span {
	vertical-align: middle;
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	top: 50%;
	margin-top: -30px;
}
.journal_wrapper #show_short_statistics:hover {
	color: #0d6aad;
}
.journal_wrapper .short-statistics {
	display: none;
}

.square_block {
	position: relative;
	background-size: cover;
}
.square_block:before {
	display: block;
	content: "";
	width: 100%;
	padding-top: 100%;
}

.transform-rotate {
	display: block;
    transform: rotate(180deg);
    writing-mode: vertical-rl;
    font-style: italic;
}


.ss_srtip tbody tr:nth-child(even){
	background: #fff;
}

/* Четные строки */
.ss_srtip tbody tr:nth-child(odd), .ss_srtip thead tr:nth-child(odd), .ss_srtip tfoot tr:nth-child(odd){
	background: #edf2f7;
}
.ss_srtip_even tbody tr:nth-child(even), .ss_srtip thead tr:nth-child(even), .ss_srtip tfoot tr:nth-child(even){
	background: #edf2f7;
}

.journal_wrapper .error_text {
	white-space: nowrap;
}
.journal_wrapper .table th.subline {
	color: #000 !important;
}
.space {
	height: 10px;
}
.add-media-link {
	display: none;
}
.lesson-media-list {
	border-top: 1px #72afd2 solid;
	padding: 10px 0;
	word-wrap: break-word;
	word-break: break-all;
}
.lesson-media-list[data-has_media="0"] {
	display: none;
}
.lesson-media-list .file-item {
	overflow: hidden;
	margin-bottom: 10px;
	text-align: justify;
}
.lesson-media-list .file-item .file-item-link {
	margin-right: 0;
}
.lesson-media-list .file-item .file-item-link .fa {
	margin-right: 10px;
}
.lesson-media-list .file-item .file-item-remove {
	float: right;
	width: 50px;
	text-align: right;
	display: none;
}
.lesson-media-list.editable .file-item  .file-item-remove {
	display: block;
}
.lesson-media-list.editable .file-item .file-item-link {
	margin-right: 50px;
}
