input[type="submit"],
input[type="reset"],
input[type="button"],
button {
	background: none;
	border: 0;
	color: inherit;
	/* cursor: default; */
	font: inherit;
	line-height: inherit;
	overflow: visible;
	padding: 0;
	-webkit-appearance: button;
	/* for input */
	-webkit-user-select: none;
	/* for button */
	-moz-user-select: none;
	-ms-user-select: none;
}

input::-moz-focus-inner,
button::-moz-focus-inner {
  border: 0;
  padding: 0;
}

*, *:before, *:after{ 
    box-sizing: border-box; 
    -moz-box-sizing: border-box; 
    -webkit-box-sizing: border-box; 
} 

body {
	font-family: circe, sans-serif; 
	line-height: 1.15;
	margin: 0; 
}

div,label,h4 {
	margin:0;
	padding:0;
}

a {
	color: #008dd2;
	transition: all 0.3s ease-in-out;
}

a:hover {
	color: #e53a24;
	cursor: pointer;
}
.main-link {
	color: #008dd2 !important;
	transition: all 0.3s ease-in-out;
}

.main-link:hover {
	color: #e53a24 !important;
	cursor: pointer;
}
.white-link {
	color: #fff;
	font-weight: bold;
	transition: all .3s ease-in-out;
	padding: 5px;
	text-decoration: underline;
}
.white-link:hover {
	background: #fff;
	color: #e53a24;
	text-decoration: none;
	border-radius: 5px;
}

.page-title {
	background: #ebebeb;
	padding: 5px 0;
	text-align:  center;
	font-size: 18px;
	text-transform:  uppercase;
	border-bottom: 5px solid #e1e1e1;
	color: #008dd2;
}

.demo-content-description {
	width: 80%;
	margin: 15px auto;
	background: rgba(229,58,36,1);
	color: white;
	border-radius: 10px;
	padding: 10px 20px;
	font-size: 18px;
	line-height: 28px;
	text-align: center;
}

.content {
	width: 90%;
	max-width: 100%;
	margin: 0 auto;
	font-size: 14px;
	color: rgb(80,80,80);
}

.clearfix::after {
	display: table;
	content: '';
	clear: both
}

.green-text {
	color: #64B432;
}

.lightgrey-text {
	color: #999999;
}

.lightblue-text {
	color:rgba(0,141,210,0.3);
}

.red-text {
	color: #e30000;
}

.orange-text {
	color: #e53a24;
}

.file-attach-modal {
	position: fixed;
	width: 40%;
	top: 20%;
	left: 30%;
	background: white;
	display: none;
	border: 1px solid #ebebeb;
	border-radius: 5px;
	background: #fff;
	padding: 20px;
	z-index: 9999;
	box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
}

.file-attach-modal .modal-header {
	position: relative;
}
.file-attach-modal .modal-header .modal-header__title{
	font-size: 18px;
	text-align: center;
}

.file-attach-modal .modal-header .modal-close {
	position: absolute;
	top: 0;
	right: 10px;
	font-size: 20px;
	color: #008dd2;
	cursor: pointer;
}

.file-attach-modal .modal-body .modal-chose-file {
	background: #efefef;
	border: 1px solid #dddddd;
	padding: 5px;
	width: 100%;
	border-radius: 5px;
	height: 30px;
}

.file-attach-modal .modal-body .modal-files-list {
	min-height: 100px !important; /*удалить после переноса стилей*/
	max-height: 100px !important; /*удалить после переноса стилей*/
	overflow-y: auto !important;
	height: 100px !important;
	border: 1px solid #dddddd;
	padding: 0px !important;
}
.file-attach-modal .modal-body .modal-files-list .simple_doc {
	color: #008dd2 !important;
	cursor: pointer;
	padding: 5px;
	transition: all 0.3s ease-in-out;
}

.file-attach-modal .modal-body .modal-files-list .simple_doc:hover {
	color: #fff !important;
	background: #008dd2;
	cursor: pointer;
}

.demo-content-description {
	/*класс как в тестах?*/
}

.lesson-page-container {
	display: flex;
	justify-content: space-evenly;
	align-items: flex-start;
	margin-top: 30px;
}

.lesson-container {
	margin-top: 30px;
	width: 65%;
	color: #008dd2;
}

.lesson-header-top {
	position: relative;
	margin: 0 auto;
	width: 400px;
	max-width: 100%;
	border: 2px solid #008dd2;
	border-radius: 20px;
	font-size: 	20px;
	padding: 7px 15px;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.lesson-header-top--no-display {
	height: 45px;
	border: none;
}

.lesson-header-top .class-number-char,
.lesson-header-top .week-number-char{
	text-align: right;
}

.lesson-header-top .class-number-text,
.lesson-header-top .week-number-text{
	text-align: left;
}

.lesson-header-top .subject-ico-bg {
	position: absolute;
	text-align: center;
	top: -100%;
	left: 50%;
	transform: translateX(-50%);
	border-radius: 50%;
	width: 100px;
	height: 100px;
	background: #008dd2;
	box-shadow: 0px 2px 15px rgba(0,0,0,0.3);
}

.lesson-header-top .subject-ico {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: auto;
	max-width: 100%;
}

.lesson-header-body {
	position: relative;
}

.lesson-header-body .lesson-subject-name {
	margin-top: 40px;
	text-align: center;
	font-size: 	24px;
	font-weight: bold;
}

.lesson-header-body .lesson-date,
.lesson-header-body .lesson-checking,
.lesson-header-body .lesson-verbal {
	position: absolute;
	top: -50%;
	font-size: 12px;
	font-weight: bold;
}

.lesson-header-body .lesson-date {
	right: 0;
}

.lesson-header-body .lesson-checking,
.lesson-header-body .lesson-verbal {
	left: 0;
}

.lesson-header-bottom {
	margin: 10px 0px;
	font-size: 	20px;
	font-weight: bold;
}

#new-lesson-version {
	position: relative;
	display: inline-block;
	padding: 10px 0;
	margin-right: 30px;
}

#new-lesson-version .new-lesson-version {
	display:  inline-block;
	font-size: 10px;
	vertical-align:  middle;
	background: #e53a24;
	height: 30px;
	width: 30px;
	line-height: 32px;
	text-align:  center;
	color: #fff;
	font-weight:  bold;
	border-radius: 100%;
	margin-right: 2px;
	position: absolute;
	left: 0;
	top: 0;
}

.lesson-header-bottom .new-lesson-version {
	display:  inline-block;
  font-size:  10px;
  vertical-align:  middle;
  background: #e53a24;
  height: 30px;
  width: 30px;
  line-height: 3;
  text-align:  center;
  color: #fff;
  font-weight:  bold;
  border-radius: 100%;
}


.lesson-header-bottom .new-lesson-version ~ .new-lesson-version-tooltip {
	display: none;
	margin-bottom: 30px;
	margin-right: 30px;
	background: #008dd2;
	color: #fff;
	padding: 5px;
	position: absolute;
	top: -80%;
	left: 35px;
	font-size: 12px;
	border-radius: 5px;
	width: 220px;
}



.lesson-header-bottom .new-lesson-version:hover {
	cursor: pointer;
}

.lesson-header-bottom .new-lesson-version:hover ~ .new-lesson-version-tooltip {
	display: block;
}

.lesson-body .lesson-video,
.lesson-body .lesson-video--ua {
	width: 100%;
	height: 480px;
}
.lesson-body iframe {
	position: relative;
	z-index: 10;
}
.lesson-video,
.lesson-video--ua {
	border: 1px solid #e1e1e1;
	background-color: #ebebeb;
	position: relative;
}

.lesson-video::before,
.lesson-video--ua::before {
		content: 'Видеоурок еще не проводился';
		position: absolute;
		top: 50%;
		width: 100%;
		text-align: center;
		font-size: 30px;
		font-weight: bold;
}

.lesson-video--ua::before {
			content: 'Відеоурок ще не проводився';
}

.lesson-body .lesson-content-block {
	font-size: 	18px;
	line-height: 1.5;
}

.lesson-content-block .lesson-content-tabs {
  width: 100%;
  max-width: 100%;
  margin: 20px 0px;
}

.lesson-content-block .lesson-content-text {
  padding: 20px 20px;
  border: 1px solid #008dd2;
  border-radius: 30px;
}

.lesson-content-block .tabs-title {
	display: flex;
	justify-content: center;
	align-items: center;
	height: 100%;
	font-size: 16px;
	line-height: 1;
}

.lesson-content-block .tabs-title-icon {
	margin-right: 10px;
}
.lesson-content-tabs {
	font-size: 	0px;
}
.lesson-content-tabs input {
  	display: none;
}

.lesson-content-tabs label {
  display: inline-block;
  margin-bottom: 2px;
  font-weight: 600;
  text-align: center;
  color: #505050;
  border: 1px solid #008dd2;
  width: 33.3%;
  height: 50px;
  vertical-align: middle;
  transition: all .6s linear;
}

.lesson-content-tabs label[for="tab1"] {
	border-top-left-radius: 30px; 
	border-bottom-left-radius: 30px; 
}

.lesson-content-tabs label[for="tab3"]  {
	border-top-right-radius: 30px; 
	border-bottom-right-radius: 30px;
}

.lesson-content-tabs label:hover {
  color: #fff;
  cursor: pointer;
  background: #008dd2;
}

/*.lesson-content-tabs label:hover .key,
.lesson-content-tabs input:checked + label .key {
  color: #fff;
  fill: #fff;
}*/

.lesson-content-tabs input:checked + label {
  color: #fff;
  background: #008dd2;
}

.lesson-content-tabs #tab1:not(checked) ~ .lesson-content-text {
	font-size: 18px;
	color: #505050;
	line-height: 1.5;
	display: none;
}

.lesson-content-tabs #tab1:checked ~ #content-1,
.lesson-content-tabs #tab2:checked ~ #content-2,
.lesson-content-tabs #tab3:checked ~ #content-3 {
	display: block;
}

.lesson-content-tabs .tab-ico {
	width: 30px;
	height: 30px;
	background-size: 100%;
	display: inline-block;
	margin-left: 10px;
	transition: all .6s linear;
}

.lesson-content-tabs .key-ico {
	background-image: url(../tpl_img/icons/key_blue.svg);
}

.lesson-content-tabs label:hover .key-ico,
.lesson-content-tabs input:checked + label .key-ico {
	background-image: url(../tpl_img/icons/key.svg);
}

.lesson-content-tabs .book-ico {
	background-image: url(../tpl_img/icons/book_blue.svg);
	width: 35px;
	height: 34px;
}

.lesson-content-tabs label:hover .book-ico,
.lesson-content-tabs input:checked + label .book-ico {
	background-image: url(../tpl_img/icons/book.svg);
}

.lesson-content-tabs .info-ico {
	background-image: url(../tpl_img/icons/info_blue.svg);
}

.lesson-content-tabs label:hover .info-ico,
.lesson-content-tabs input:checked + label .info-ico {
	background-image: url(../tpl_img/icons/info.svg);
}

.lesson-body-bookmark input {
	display: none;
}

.lesson-body-bookmark .lesson-homework-btn {
	position: fixed;
	top: 150px;
	right: 30px;
	z-index: 111;
	filter:drop-shadow(0px 5px 15px rgba(0, 0, 0, 0.1));
	transition: all .6s ease-in-out;
}

.lesson-body-bookmark .lesson-homework-btn:hover {
	cursor: pointer;
	filter:drop-shadow(0px 5px 15px rgba(0, 0, 0, 0.25));
}

.lesson-body-bookmark .lesson-homework-btn svg {
	height: 150px;
  width: 50px;
}

.lesson-body-bookmark .bookmark-text {
	position: absolute;
	width: 46px;
	transform: rotate(270deg);
	top: 65px;
	left: 50%;
	margin-left: -23px;
	color: #fff;
	z-index: 1000;
	text-shadow: 0px 1px 1px rgba(0,0,0,0.5);
}

.lesson-body-bookmark .lesson-homework-links {
	display: block;
	position: fixed;
	opacity: 0;
	top: 246px;
	right: -300px;
	background: #008dd2;
	color: #fff;
	width: 129px;
	box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.1);
	border-bottom-left-radius: 5px;
	border-bottom-right-radius: 5px;
	z-index: 999;
	transition: all 0.8s linear;
}

.lesson-body-bookmark input[id="bookmark"]:checked + label + .lesson-homework-links {
	opacity: 1;
	right: 7px;
}
.lesson-body-bookmark input[id="bookmark"]:checked ~ .lesson-homework-btn {
	display: block;
	transform: rotate(90deg);
	right: 50px;
}
.lesson-homework-links li {
	padding: 10px;
	transition: all .3s ease-in-out;
}

.lesson-homework-links li:hover {
	background: #008df2;
	cursor: pointer;
}

.lesson-homework-links li a {
	font-family: circe, sans-serif;
	color: #fff;
	font-weight: normal;
	font-size: 14px;
}

.lesson-content-homework .homework-title {
	text-align: center;
	color: #fff;
	font-weight: 600;
	padding: 10px 0;
	background: #008dd2;
	border-top-right-radius: 7px;
	border-top-left-radius: 7px; 
	transition: all .3s;
}

.lesson-content-homework .homework-spoiler-content {
	width: 49%;
	display: inline-block;
	text-align: left;
	padding: 0 0 0 20px;
	vertical-align: top;
}

.homework-spoil input[id*="spoiler"]{
 display: none;
}

.homework-spoil input[id*="spoiler"] + label {
  display: block;
  width: 100%;
  margin: 0px auto;
  padding: 0;
  background: #fff;
  color: #008dd2;
  text-align: center;
  font-size: 16px;
  border: 1px solid #008dd2;
  border-radius: 10px;
  cursor: pointer;
  transition: all .5s;
}
.homework-spoil input[id*="spoiler"]:checked + label,
.homework-spoil input[id*="spoiler"] + label:hover {
	 box-shadow: 0px 5px 5px rgba(0, 0, 0, 0.15);
}
.homework-spoil input[id*="spoiler"]:checked + label div.homework-title,
.homework-spoil input[id*="spoiler"] + label:hover div.homework-title {
	border-top-right-radius: 7px;
	border-top-left-radius: 7px;
}
.homework-spoil input[id*="spoiler"] + label [class*=status],
.homework-spoil input[id*="spoiler"] + label [class*=time],
.homework-spoil input[id*="spoiler"] + label:hover [class*=status],
.homework-spoil input[id*="spoiler"] + label:hover [class*=time] {
	width: 90%;
	color: #008dd2;
	background: #ffffff;
	padding-left: 5px;
	border-radius: 3px;
}
.homework-spoil input[id*="spoiler"] ~ .homework-content {
  width: 100%;
  height: 0;
  overflow: hidden;
  opacity: 0;
  margin: 2px auto; 
  padding: 20px; 
  background: #fff;
  border: 1px solid #008dd2;
  border-radius: 10px;
  transition: all .6s;
}
.homework-spoil input[id*="spoiler"]:checked + label + .homework-content {
  height: auto;
  opacity: 1;
}

.homework-content .homework-buttons,
.homework-content .homework-docs {
	display: flex;
	justify-content: space-between;
}
.homework-content .homework-comments {
	margin-top: 10px;
	border-top: 2px solid  #efefef;
}

.homework-content .homework-docs {
	margin: 10px 0;
	border: 2px solid  #efefef;
	border-right: none;
	border-left: none;
}

.homework-content .homework-docs__item {
	width: 49%;
	text-align: center;
}

.homework-content .homework-docs__item:first-child {
	border-right: 2px solid #efefef;
}

/*--------------NEW CHAT STYLE-------------*/
.message-container {
	width: 30%;
}

.online-chat-onclick-scholar {
	width: 100%;
	border: 1px solid #e0e0e0; 
	border-radius: 10px;
	background: #fff;
}

#open-chat.online-chat-onclick-scholar {
display: none;
position: relative;
top: -527px;
left: -370px;
z-index: 9990;
}

.online-chat-onclick-scholar .online-chat-title-block {
	text-align: center;
	font-size: initial;
	color: #008dd2;
	padding: 20px 0;

}

#com_chat_field {
	margin-top: 0 !important;
	height: 300px !important;
	border-bottom: 1px solid #e0e0e0;
	border-top: 1px solid #e0e0e0 !important;
	overflow-y: scroll;
	margin: 0 !important;
	padding: 10px 0 !important; 
}

#com_chat_field .first_m,
#com_chat_field .second_m
 {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	background: #fff;
	border: none;
	padding: 5px;
}

#com_chat_field .second_m {
	align-items: flex-start;
}

#com_chat_field > .unread {
	/*придумать элемент AFTER или BEFORE \или фоновую картинку + цвет для unread - read*/
	border: none !important;
	background: #fff !important;
}

#com_chat_field > .first_m.unread > .online-chat-message,
#com_chat_field > .second_m.unread > .online-chat-message {
	border-color: #e0e0e0;
	background: #fafafa;
}

#com_chat_field > .first_m.unread > .online-chat-message:before,
#com_chat_field > .first_m.unread > .online-chat-message:after,
#com_chat_field > .second_m.unread > .online-chat-message:before,
#com_chat_field > .second_m.unread > .online-chat-message:after {
	color: #e0e0e0;
}
.online-chat-user-list {
	height: 300px;
  overflow-y: scroll;
  margin:0 !important; 
  border-bottom: 1px solid #e0e0e0;
  padding: 10px 5px;
}
.online-chat-user-list .user-list-block {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 5px;
	margin-bottom: 5px;
	border: 1px solid #e0e0e0;
	cursor: pointer;
	transition: all 0.3s ease-in-out;
}
.online-chat-user-list .student-information {
	display: flex;
	align-items: center;
}
.online-chat-user-list .user-list-block:hover {
	background: #008dd2;
}

.online-chat-user-list .user-list-avatar {
	width: 45px;
	height: 45px;
	border-radius: 50%;
	margin-right: 10px;
}

.online-chat-user-list .user-list-student-name {
	color: #008dd2;
	font-style: 14px;
	font-weight: 600;
}
.online-chat-user-list .user-list-block:hover .user-list-student-name {
	color: #fff;
}

.online-chat-user-list .chat-notification {
	background: #e53a24;
	color: #fff;
	width: auto;
  min-width: 20px;
	height: 20px;
	font-size: 12px;
	text-align: center;
	line-height: 22px;
	border-radius: 100%;

}

#com_chat_field .message-download {
	text-align: center;
}

.first_m .online-chat-avatar,
.second_m .online-chat-avatar {
	margin-left: 10px;
	border-radius: 5px;
	border: 1px solid transparent;
	width: 50px;
	height: 50px;
	max-width: 100%;
	background: url('../tpl_img/system_users.png') no-repeat center; /*ALARM!!! - убрать строку при переносе на рабюверсию урока*/
}

.first_m .online-chat-avatar img,
.second_m .online-chat-avatar img  {
	width: 100%;
	height: auto;
}

.first_m .online-chat-message,
.second_m .online-chat-message {
	position: relative;
	margin: 0px 10px;
	padding: 10px;
	width: calc(100% - 80px);
	max-width:100%;
	border-radius: 10px;
	border: 1px solid #008dd2;
	margin-bottom: 5px;
	color: #505050 !important;
}

.second_m .online-chat-message {
	text-align: left;
}

.first_m .online-chat-message::before {
	display: block;
	bottom: 5px;
	left: -11px;
	font-size: 30px;
	content: '\f0d9';
	position: absolute;
	color: #008dd2;
	font-family: "Font Awesome 5 Free";
	font-weight: 900;
}

.second_m .online-chat-message::after {
	display: block;
	top: 5px;
	right: -12px;
	font-size: 30px;
	content: '\f0da';
	position: absolute;
	color: #008dd2;
	font-family: "Font Awesome 5 Free";
	font-weight: 900;
}

.online-chat-message .message-name {
	color: #008dd2 !important;
	font-weight: bold !important;
	line-height: 2;
	padding: 0 !important;
}
.online-chat-message .message-text {
	display: block;
	font-weight: bold;
}

.online-chat-message .message-date {
	font-weight: bold !important;
	font-style: 10px !important;
}

.online-chat-message .message-date,
.online-chat-message .message-text {
	color: #505050 !important;
	padding: 0 !important;
} 

.second_m .message-download,
.first_m .message-download {
	width: 96%;
	margin: 0 auto;
}

.online-chat-message-field,
.online-chat-buttons,
.online-chat-attached {
	width: 90%;
	margin: 10px auto;
	text-align: center;
}

.online-chat-buttons {
	display: flex;
	justify-content: space-around;
}

.online-chat-message-field textarea {
	width: 100%;
	border-radius: 5px;
	border: 1px solid #e0e0e0;
	font-size: 14px;
	resize: vertical;
	padding: 5px;
}

.online-chat-message-field textarea:focus {
	outline-color: #e0e0e0;
}
.online-chat-buttons input[id*="chat_send"] {
	display: none;
}

.online-chat-template {
	padding: 30px 0;
	text-align: center;
}

/*-----buttons-----*/

.btn,
#com_chat_field .btn {
	display: inline-block;
  border-radius:  5px;
	padding: 10px 30px !important;
	font-weight:  600 !important;
	border: none !important;
	transition: all .5s ease-in-out;
	text-align: center !important;
	font-size: 14px !important;
}

.btn:hover {
	cursor: pointer;
}

.btn--blue,
#com_chat_field .btn--blue {
	background: #008dd2 !important;
  color: #fff !important;
}

.btn--blue:hover {
	background: #008df2;
	box-shadow: 0px 5px 5px rgba(0,0,0,0.15);
}
.btn--white {
	background: #fff;
}
.btn--width {
	width: 100%;
}

.lesson-redact-block input[type=submit] {
	display: none;
}

.no-display {
	display: none;
}
/*------MEDIA QUARIES------*/

@media all and (max-width: 768px) {

	.lesson-page-container {
		flex-direction: column;
	}

	.lesson-container {
		width: 100%;
	}

	.message-container {
		width: 50%;
		text-align: center;
	}

}