body {
	counter-reset: num;
}




.dataTables_length select {
	min-width: 60px;
}

div.dataTables_processing {
	top: 47%;
}

#main_wrapper_library {}

.question_wrapper {
	padding: 25px 30px;
	background: #fbfbfb;
	border: 1px solid #b5aeae;
	margin-top: 20px;
	border-radius: 5px;
	position: relative;
}

@media screen and (max-width: 768px) {
	.question_wrapper {
		padding: 20px 10px;
	}
}

.question_wrapper .question_type_wrap {
	position: absolute;
	right: 200px;
	max-width: 400px;
	white-space: nowrap;
	overflow: hidden;
}


.question_wrapper .actions {
	position: absolute;
	right: 10px;
}

@media screen and (max-width: 768px) {
	.question_wrapper .question_type_wrap {
		position: relative;
		right: unset;
		text-align: right;
		margin-top: -10px;
	}

	.question_wrapper .actions {
		position: relative;
		right: unset;
		text-align: right;
		margin-bottom: 10px;
	}
}


.question_wrapper .actions>i,
.question_wrapper .remove_answer_icon,
.question_wrapper .answer_wrapper .answer-move {
	margin: 0 5px;
	cursor: pointer;
	font-size: 18px;
}


.question_wrapper .actions .remove_question,
.question_wrapper .remove_answer_icon {
	color: #dd3838;
}

.question_wrapper .actions .move_question_up,
.question_wrapper .actions .move_question_down {
	color: #01ad01;
}

.question_wrapper .copy_question {
	color: #017dad;
}

.question_wrapper .export_question {
	color: #ff8100;
}

.question_wrapper .answer-move,
.question_wrapper .answer-move {
	color: #198754;
}

.question_wrapper .answer-move:hover,
.question_wrapper .answer-move:hover {
	color: #3dd18c;
}

.question_wrapper .answer_wrapper:last-child .answer-move.down,
.question_wrapper .answer_wrapper:first-child .answer-move.up {
	color: #9e9e9e;
}

.question_wrapper .question_demo {
	color: #3f51b5;
}


.question_wrapper .question_num:before {
	counter-increment: num;
	content: counter(num) ". Вопрос";
}

.answer_wrapper {
	display: flex;
	margin-bottom: 4px;
	align-items: center;
}

.answer_wrapper .remove_answer{
	margin-left: 1.5rem;
}


@media screen and (max-width: 768px) {
	.answer_wrapper {
		display: block;
		margin-bottom: 10px;
	}
	.question_wrapper[data-type="5"] .answer_wrapper{
		display: flex;
		align-items: flex-end;
	}

	.answer_wrapper .remove_answer{
		margin-left: 0;
	}

	.answer_wrapper .answer_2_actions_wrapper .remove_answer{
		margin-top: 5px;
	}
	
}


.answer_1_wrapper .answer_input_wrapper {
	max-width: 700px;
	flex-grow: 1;
}


.answer_1_actions_wrapper {
	margin-left: 1rem;
}

.answer_1_actions {
	margin-top: 30px;
	display: flex;
	align-items: center;
}
.answer_1_actions label,.answer_1_actions input{
	cursor: pointer;
}


@media screen and (max-width: 768px) {
	.answer_1_actions_wrapper {
		margin-left: 0rem;
	}

	.answer_1_actions {
		margin-top: 5px;
		justify-content: space-between;
	}

}


/*.question_wrapper[data-type="2"] .answer_1_actions {
	margin-top: 0px;
}*/
.question_wrapper .answer_2_wrapper .answer_input_wrapper {
	width: 40%;
	display: inline-flex;
}

.question_wrapper .answer_2_wrapper .answer_term_wrapper {
	margin-left: 1rem;
}



@media screen and (max-width: 768px) {
	.question_wrapper .answer_2_wrapper .answer_input_wrapper {
		width: unset;
		display: block;
		margin-bottom: 5px;
	}

	.question_wrapper .answer_2_wrapper .answer_term_wrapper {
		margin-left: 0;
	}


}


.question_wrapper .answer_2_wrapper {
	margin-bottom: 10px;
}

@media screen and (max-width: 768px) {
	.question_wrapper .answer_2_wrapper {
		margin-bottom: 18px;
	}
}





.question_wrapper .answer_2_wrapper .term_select {
	min-width: 150px;
}

.answer_2_actions_wrapper {
	display: flex;
	align-items: center;
}
@media screen and (max-width: 768px) {
	.answer_2_actions_wrapper {
		display: block;
		text-align: right;
	}
}


.checkbox_checked_icon {
	float: left;
	margin-left: -1.5em;
}


.new_answer_variant {
	margin-bottom: 0.5rem !important;
	margin-top: 0.5rem !important;
}


.add_new_answer_btn {
	padding-left: 3px;
}


.question_wrapper .add_new_answer_btn .add_new_icon {
	font-size: 18px;
	padding-right: 7px;
}


.my_info_alert {
	position: fixed !important;
	width: 70%;
	left: 15%;
	top: 50px;
}

.desc_input {
	//max-width: 400px;
}

.question_wrapper .valid_errors>p, .quiz-valid-errors > p {
	color: #dd3838;
	display: list-item;
	font-size: 14px;
	list-style-position: inside;
	margin: 0px;
}

.quiz_title_span {
	display: inline-block;
}

.quiz_title_span:first-letter {
	text-transform: uppercase;
}

.quiz_title_span,
.subject i,
.quiz_title_klass {
	cursor: pointer;

}


.list-group-item:first-child {
	border-top-left-radius: inherit;
	border-top-right-radius: inherit;
}

.list-group-item {
	position: relative;
	display: block;
	padding: var(--bs-list-group-item-padding-y) var(--bs-list-group-item-padding-x);
	color: var(--bs-list-group-color);
	text-decoration: none;
	background-color: var(--bs-list-group-bg);
	border: var(--bs-list-group-border-width) solid var(--bs-list-group-border-color);
}

.list-group-item:first-child {
	border-top-left-radius: inherit;
	border-top-right-radius: inherit;
}

.all_quizzes_list:hover {
	cursor: pointer;
	background-color: #ebebeb;
}

.editor-toogle {
	font-size: 22px;
	color: #3f51b5;
	margin-left: 10px;
	cursor: pointer;
}

.question_wrapper .editor {
	max-height: 100px;
	min-height: 38px;
	overflow: hidden;
	position: relative;
    padding-right: 37px;
}

.question_wrapper .editor:focus-visible {
	max-height: unset;
}

.question_wrapper .note-editor{
	width: 100%;
}

.question_wrapper .editor .wi{
	display: none;
}
.question_wrapper .editor .wi::after, .note-editor .wi::after{
	font-size: 22px;
    color: #eeeeee;
    margin-left: 10px;
    cursor: pointer;
	content: "\f450";
	display: inline-block;
    font-family: bootstrap-icons !important;
    font-style: normal;
    font-weight: normal !important;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    vertical-align: -0.125em;
    -webkit-font-smoothing: antialiased;
	position: absolute;
    right: 10px;
    top: 7px;
}
.question_wrapper .editor .wi:hover::after, .note-editor .wi:hover::after{
	color: #38b6ff;
}



.disabled-quiz div[contenteditable="false"] {
	background-color: #f4f4f4;
}

.disabled-quiz .remove_answer{
	display: none;
}

.disabled-quiz .new_answer_variant{
	display: none;
}


.disabled-quiz .question_wrapper .actions .move_question_up, 
.disabled-quiz .question_wrapper .actions .move_question_down, 
.disabled-quiz .question_wrapper .actions .copy_question, 
.disabled-quiz .question_wrapper .actions .remove_question{
	display: none;
}

.disabled-quiz .question_wrapper[data-type="5"] .answer_1_actions_wrapper{
	display: none;
}








/* tab-works */
.after-h2 {
	text-align: right;
	margin: 20px 0;
}


@media screen and (max-width: 768px) {
	.after-h2 {
		text-align: center;
	}
}

.quiz-actions>.btn {
	margin: 0 0 5px;
}