@font-face {
	font-family: 'SignikaRegular';
	src: url('../fonts/Signika/SignikaLight.eot');
	src: url('../fonts/Signika/SignikaLight.eot?#iefix')
			format('embedded-opentype'),
		url('../fonts/Signika/SignikaLight.woff') format('woff'),
		url('../fonts/Signika/SignikaLight.ttf') format('truetype');
	font-style: normal;
	font-weight: 400;
}

* {
	outline: none !important;
}

body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
ol,
li,
figure,
figcaption,
blockquote,
dl,
dd {
	margin: 0;
	padding: 0;
}

/* Обнуление стандартного списка */
ul,
ol {
	margin-bottom: 20px;
}
ul li,
ol li {
	margin-bottom: 20px;
	line-height: 1.7;
}

ul li:last-child,
ol li:last-child {
	margin-bottom: 0;
}

body {
	font-family: 'Trebuchet MS';
	font-size: 16px;
	line-height: 1.5;
	color: #333;
	background-color: #fbfbfb;
	display: flex;
	flex-direction: column;
	margin: 0;
}

body.active_left_sidebar .content_block {
	order: 1;
}
body.active_left_sidebar .sidebar {
	order: 0;
	margin-left: 0;
	margin-right: 20px;
}
a {
	color: #007bff;
	text-decoration: none;
}

a:hover {
	color: #0056b3;
}

header {
	padding: 20px 10px 20px 10px;
	text-align: center;
}

table {
	border-collapse: collapse;
}

header .social {
	line-height: 0;
}

header .social img {
	width: 35px;
}

select {
	display: none;
}

header img {
	width: 155px;
	height: auto;
}

h1 {
	font-size: 28px;
	margin-bottom: 30px;
}

h2 {
	font-size: 22px;
	margin-bottom: 20px;
	margin-top: 40px;
}

h3 {
	font-size: 18px;
	margin-bottom: 20px;
	margin-top: 30px;
}
h4 {
	font-size: 18px;
	margin-bottom: 15px;
	margin-top: 30px;
}
input {
	font-size: 14px;
	padding: 10px 15px;
	border: 1px solid #ddd;
	border-radius: 100px;
}

p {
	margin-bottom: 30px;
	letter-spacing: 0.2px;
	line-height: 1.7;
}

.content_block ul,
.content_block ol {
	padding-left: 0;
}
.content_block ul li,
.content_block ol li {
	margin: 15px 20px;
}

.content_block .ex_p {
	display: flex;
	align-items: center;
	gap: 10px;
	border-bottom: 0;
}

.content_block .ex_p img {
	width: 25px;
}

.single-post p {
	margin-bottom: 20px;
}

.breadcrumbs {
	color: #8e9da5;
	margin-bottom: 35px;
}

.breadcrumbs .separate {
	padding: 0 5px;
}

.breadcrumbs span {
	font-size: 15px;
	color: #8e9da5;
}

.breadcrumbs a span {
	border-bottom: 1px solid;
}

.top_search {
	display: flex;
	align-items: center;
}

.top_search input {
	width: 235px;
	margin-right: 16px;
}

.container {
	width: 1200px;
	margin: 0 auto;
	box-sizing: border-box;
	position: relative;
}

.container.main {
	display: flex;
	align-items: stretch;
}

.container.top {
	display: flex;
	align-items: center;
	justify-content: space-between;
}
.custom-logo-link {
	height: 45px;
}

.content_block {
	background: #fff;
	box-shadow: 0 1px 4px #d8d8d8;
	flex: none;
	min-height: 800px;
	padding: 30px 60px 45px 60px;
	position: relative;
	width: 850px;
	border-radius: 5px;
	box-sizing: border-box;
}

.sidebar {
	width: 100%;
	margin-left: 20px;
}

.sidebar_block {
	width: 100%;
	background: #fff;
	border-radius: 5px;
	padding-bottom: 1px;
	box-shadow: 0 1px 4px #d8d8d8;
	margin-bottom: 15px;
}

.sidebar_block:last-child {
	margin-bottom: 0;
}

.sidebar_title_block {
	font-size: 18px;
	padding: 18px 25px;
}

.sidebar_ellements_block {
	list-style: none;
	padding-left: 0;
	padding-top: 20px;
}
.sidebar_ellements_block li {
	margin: 0;
}
.sidebar_ellements_block li a {
	display: flex;
	align-items: center;
	padding: 10px 25px;
	color: #454a4f;
}

.sidebar_ellements_block li a:hover,
.sidebar_ellements_block li a.active_point {
	color: #9bb2bf;
}

.sidebar_ellements_block li a img {
	width: 32px;
	margin-right: 13px;
}

footer.container {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	margin-top: 20px;
	padding: 5px 0 25px;
}

footer p {
	font-size: 14px;
	color: #959595;
	margin-top: 5px;
}

footer a {
	font-size: 15px;
}

.list {
	margin-top: 25px;
}

.list > div {
	display: flex;
	align-items: center;
	justify-content: space-between;
	border-bottom: 1px solid #eee;
	padding: 15px 0;
}
.list > div > a:first-child {
	width: 100%;
	max-width: 400px;
}

.list_themes {
	display: inline-flex;
	align-items: center;
	flex: none;
	border: 1px solid #eee;
	padding: 5px 20px;
	border-radius: 100px;
	font-weight: 300;
	font-size: 14px;
	color: #919191;
	transition: 0.2s all;
}
.list_themes:hover {
	background: #82d2c3;
	color: #fff;
	border-color: #66b6a7;
}
.list_themes.unhover:hover {
	background: #fff;
	color: #919191;
	border-color: #eee;
}
.list_phonetics {
	margin-top: 25px;
}

.list_phonetics a {
	display: table;
	border: 1px solid #eee;
	padding: 20px;
	line-height: 1.2;
	border-radius: 100px;
}

.table_word_info {
	width: 100%;
}

.table_word_info td:nth-child(1) {
	text-align: center;
}

/* .table_word_info td:nth-child(2) {
	color: #556f79;
} */

.table_word_info td:nth-child(4) {
	width: 120px;
	-webkit-hyphens: auto;
	-ms-hyphens: auto;
	hyphens: auto;
	line-height: 1.2;
}

.table_word_info td:last-child {
	width: 370px;
	line-height: 1.4;
}

.table_word_info td {
	padding: 10px 12px;
	align-items: center;
	border: 1px solid #eee;
}

.table_word_info img {
	width: 25px;
	position: relative;
	top: 3px;
}

.category_vocabulary_el {
	display: flex;
	align-items: center;
	gap: 35px;
	flex-wrap: wrap;
}

.category_vocabulary_el > a {
	display: flex;
	align-items: center;
	font-size: 18px;
}

.category_vocabulary_el > a img {
	width: 35px;
	margin-right: 12px;
}

.transcription_value {
	display: flex;
	align-items: center;
	margin-bottom: 25px;
	font-family: 'Roboto';
	font-weight: 300;
}

.transcription_value span {
	color: #6e6e6e;
	font-size: 14px;
	padding-right: 7px;
}

.word_sound_img {
	cursor: pointer;
	width: 18px;
	margin-left: 10px;
}

.wordBlock_translate {
	font-size: 20px;
	margin-left: 15px;
	text-transform: lowercase;
	transform: translateY(-1px);
}

.wordBlock_examples {
	margin-top: 45px;
}

.wordBlock_examples div {
	margin: 20px 0;
}

.wordBlock_examples p {
	margin: 0;
}

.wordBlock_partsSpeech {
	background: #92a8d6;
	border-radius: 3px;
	color: #fff;
	font-size: 15px;
	display: table;
	letter-spacing: 0.3px;
	padding: 4px 13px 4px;
}

.parts_add_block--dictionary--blocks {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.parts_add_block--dictionary {
	display: flex;
	align-items: center;
	font-family: 'Roboto';
	font-weight: 300;
}

.word_sound_img:nth-child(2) {
	margin-right: 20px;
}

body.category-tale p {
	font-family: 'Lato', sans-serif;
	word-spacing: 3px;
	cursor: pointer;
}

body.category-tale h1 {
	margin-bottom: 27px;
	margin-top: 27px;
}

body.category-tale .content_block p > span:hover {
	border-bottom: 2px solid #cdcdcd;
	cursor: pointer;
	padding-bottom: 3px;
}
body.category-tale .content_block p > span {
	position: relative;
	border-bottom: 2px solid transparent;
	padding-bottom: 3px;
}
span.translated-span {
	display: inline-table;
	box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.2);
	padding: 8px 15px;
	border-radius: 5px;
	transform: translate(0px, 0px);
	position: absolute;
	bottom: 30px;
	background: #fff;
	color: #333;
	font-family: 'Trebuchet MS';
	font-size: 16px;
	z-index: 9;
	left: 50%;
	position: absolute;
	text-align: center;
	transform: translate(-50%);
	line-height: 1.3;
	width: -webkit-max-content;
	width: -moz-max-content;
	width: max-content;
	font-family: 'Roboto';
}
.word_main {
	align-items: flex-start;
	display: flex;
	font-size: 16px;
	line-height: 1.3;
	padding: 10px 35px 5px 0px;
	text-align: left;
	font-family: 'Roboto';
	gap: 10px;
}
span.close_info_modal {
	position: absolute;
	top: 7px;
	right: 9px;
}
.word_main img {
	width: 30px;
	top: -5px;
	position: relative;
}
.word_main--translate_ru {
	color: #706480;
	margin-top: 3px;
	font-size: 16px;
}
.word_main--transcription {
	padding: 3px 0 9px;
	display: table;
	font-size: 14px;
	color: #717171;
}
.word_main img:hover {
	opacity: 0.8;
}
.main-list-category {
	display: flex;
	gap: 20px;
	flex-wrap: wrap;
}
span.translated-span:before {
	bottom: -13px;
	color: #fff;
	content: '';
	text-align: center;
	left: 0;
	position: absolute;
	right: 0;
}
.content-tales_main--translate {
	height: 0px;
	overflow: hidden;
	transition: 0.3s all;
	position: relative;
}

h2.translate_tales.active span {
	transform: rotate(90deg);
}

.content-tales_main--translate p {
	margin-bottom: 15px;
}

h2.translate_tales {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 0;
	cursor: pointer;
	transform: rotate(0deg);
}
h2.translate_tales span {
	font-size: 40px;
	position: relative;
	top: -1px;
	transition: 0.3s all;
}
.wp-audio-shortcode {
	margin-bottom: 20px;
	position: -webkit-sticky !important;
	position: sticky !important;
	top: 0;
	z-index: 9;
}
.main_card_word {
	border: 1px solid #d4cece;
	height: auto;
	width: 31%;
	border-radius: 10px;
	margin-bottom: 3%;
	position: relative;
}
.main_card_word--list {
	display: flex;
	gap: 3%;
	flex-wrap: wrap;
	margin-bottom: 3%;
}
.main_card_word--img {
	width: 100%;
	height: 70px;
	background-repeat: no-repeat !important;
	background-position: center !important;
	margin: 15px 0 10px;
	background-size: 21% !important;
}
.main_card_word--examples {
	display: flex;
	flex-direction: column;
	gap: 8px;
	font-family: 'Roboto';
	font-size: 14px;
	line-height: 1.2;
	margin: 15px 0 55px;
}
.main_card_word--content {
	padding: 5px 20px 15px;
	text-align: center;
}
.main_card_word--content_title {
	font-size: 20px;
}

.main_card_word_transcription {
	color: #7b7878;
	font-weight: 300;
}
.main_card_word--content_parts {
	text-transform: lowercase;
	position: absolute;
	bottom: 20px;
	left: 0;
	right: 0;
	font-size: 13px;
	color: #145c72;
	letter-spacing: 1px;
	background: #e1eaee;
	display: table;
	margin: 0 auto;
	padding: 3px 10px;
	border-radius: 8px;
	font-family: 'Roboto';
	font-weight: 300;
}
.main_card_word--content_transcription {
	font-family: 'Roboto';
}
.main_card_word--content_translate {
	font-family: 'Roboto';
	font-weight: 300;
	font-size: 17px;
	text-transform: lowercase;
	margin-top: 10px;
}
b,
strong {
	font-weight: 600 !important;
}
.content_block p,
.content_block ul,
.content_block ol {
	font-family: 'Roboto';
}

.sound_info_block > div {
	margin-bottom: 10px;
}

.cube {
	display: table;
	padding: 10px 20px;
	border-radius: 20px;
	margin-bottom: 20px;
	color: #1798ad !important;
	border: 1px solid;
	font-family: 'Roboto';
}

.examples {
	border-left: 2px solid #c9c9c9;
	margin: 25px 0;
	margin-left: -61px;
	width: 100%;
	background: #f8f7f4;
	padding: 40px 59.5px;
}

.examples > div {
	display: table;
	padding: 15px 25px;
	background-color: #ffffff;
	border-radius: 3px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
	margin-bottom: 15px;
	font-size: 17px;
	font-family: 'Roboto';
}

.examples small {
	color: #696b89;
	font-size: 15px;
	margin-top: 6px;
	display: table;
}
.examples > div:last-child {
	margin-bottom: 0;
}
.examples > div span {
	display: table;
}
.examples > div span:nth-child(2) {
	color: #8b8b8b;
	font-weight: 300;
}
.examples > div span:nth-child(2) b,
.examples > div span:nth-child(2) strong {
	font-weight: 400 !important;
}
div#ez-toc-container {
	box-sizing: border-box;
	margin: 25px 0;
	padding: 20px 25px;
}

.lighte-red-color {
	color: #d2877c !important;
}

.lighte-blue-color {
	color: #6f838e !important;
}

/* Quiz */

.single-post .qsm-quiz-form .qmn_error .qmn_radio_answers {
	background: transparent;
	border: none;
	padding: 0;
}

.single-post .qmn_error:after {
	display: none !important;
}

.single-post .quiz_section {
	padding: 15px 0 0px 0;
}

.single-post .qsm-question-wrapper {
	margin-bottom: 15px;
}

.single-post .quiz_section .qmn_radio_answers label {
	margin: 0;
	padding: 7px 8px;
	max-width: inherit;
	margin-right: 10px;
}

.single-post .quiz_section .mlw_qmn_new_question {
	font-weight: normal;
	color: #404040;
}

.single-post .qsm-results-page .qmn_question_answer.qsm-add-border-bottom {
	border-bottom: 0px solid #808080;
	padding-bottom: 0;
	margin: 0;
}

.single-post span.mlw_horizontal_choice.mrq_checkbox_class {
	display: inline-flex;
	align-items: center;
	cursor: pointer;
}

.single-post span.mlw_horizontal_choice.mrq_checkbox_class input {
	margin: 0;
}

.single-post .qmn_error_message {
	border-radius: 20px;
	padding: 10px 25px;
	color: #834e4e;
	border: 1px solid #8d6464;
	background: #edeada;
	margin-top: 25px;
}

.single-post div#mlw_error_message {
	display: none;
}

.single-post .qsm-pagination.qmn_pagination.border.margin-bottom {
	justify-content: flex-start;
}

/* .single-post .qsm-btn.qsm-submit-btn.qmn_btn {
	align-items: center;
    background: #44b39b !important;
    border-radius: 2px;
    color: #fff !important;
    cursor: pointer;
    display: flex;
    font-size: 14px;
    height: 42px;
    justify-content: center;
    margin-top: 25px!important;
    width: 185px;
    padding: 0px;
    border: 0;
    border-radius: 6px;
	margin-top: 5px !important;
} */

.single-post .qsm-page {
	margin-top: -30px;
}

.single-post .qsm-btn,
.single-post .qsm-quiz-container.qmn_quiz_container .qmn_btn {
	background: #44b39b !important;
	border-radius: 32px !important;
	color: #fff !important;
	font-size: 16px !important;
	height: auto;
	margin-top: 25px !important;
	width: auto;
	border: 0 !important;
	padding: 10px 32px !important;
	min-width: 200px !important;
	margin-top: 10px !important;
}

.qsm-before-message.mlw_qmn_message_before {
	margin: 0;
	padding: 0;
}

.list_ellemets_of_category a {
	display: table;
	padding: 5px 0;
}

.link_end_page {
	display: block;
	color: #869df8;
	font-weight: 600;
	letter-spacing: 1px;
	border-top: 2px solid;
	margin-top: 30px;
	position: relative;
	padding-top: 25px;
	text-decoration: underline;
	text-underline-offset: 4px;
}

.link_end_page:hover {
	color: #86adf8;
}

.play_p {
	display: flex;
	align-items: center;
	font-size: 18px;
}

.play_p.small {
	display: flex;
	align-items: center;
	font-size: 18px;
}
.play_p.small img {
	width: 30px;
}
.play_p img {
	width: 28px;
	margin-right: 10px;

	cursor: pointer;
	transition: 0.3s all;
}
.play_p img:hover {
	opacity: 0.8;
}

/* Select */

.choose_block_exercise {
	display: flex;
	align-items: center;
	width: 100%;
}

.selectize-control.single {
	width: 250px;
	margin-left: 16px;
}

.selectize-control.single .selectize-input {
	background-color: transparent;
	background-image: none;
	border: 1px solid #ddd;
}

.selectize-dropdown.single {
	border-color: #ddd;
	box-shadow: none;
}

.selectize-dropdown .option {
	padding: 10px 15px;
}

.table-responsive {
	margin-bottom: 30px;
}

.table_responsive .table {
	border: 1px solid #eee;
	table-layout: fixed;
	width: 100%;
	margin-bottom: 20px;
}
.table_responsive .table.w_auto {
	width: auto;
}
.table_responsive .table th {
	font-weight: bold;
	padding: 12px 20px;
	background: #efefef;
	border: 1px solid #dddddd;
	text-align: left;
}
.table_responsive .table td {
	padding: 5px 20px;
	border: 1px solid #eee;
	text-align: left;
}
.table_responsive .table tbody tr:nth-child(odd) {
	background: #fff;
}
.table_responsive .table tbody tr:nth-child(even) {
	background: #f7f7f7;
}

/* Основные стили таблицы */
.table {
	border: 1px solid #ccc;
	border-collapse: collapse;
	width: 100%;
	font-family: 'Roboto';
	font-size: 14px;
}

.table .play_sound_id {
	position: relative;
	top: 3px;
}

/* Стили для заголовков таблицы */
.table th,
.table thead td {
	background-color: #f2f2f2;
	font-weight: 500;
}
.table td span {
	display: block;
}
/* Стили для ячеек таблицы */
.table td,
.table th {
	padding: 10px 25px;
	text-align: center;
	border: 1px solid #c5c3bd;
}

/* Стили для ячеек с жирным текстом */
.table td strong {
	font-weight: bold;
}

/* Стили для строк таблицы чередующегося цвета */
/* .table tbody tr:nth-child(even) {
	background-color: #f2f2f2;
  } */

.bg_block_info {
	background-color: #f9f8ff;
	padding: 10px 20px;
	border: 1px solid #c8c5e5;
	border-top: 2px solid #c8c5e5;
	border-radius: 5px;
	color: #444159;
	margin-bottom: 28px;
	font-family: 'Roboto';
	line-height: 1.6;
}

.bg_block_info.additional {
	margin-top: 45px;
}

.bg_block_info > div {
	font-size: 16px;
	margin: 4px 0;
	display: flex;
	align-items: center;
}

.bg_block_info > div > img {
	width: 18px;
	margin: 0 10px;
}

.bg_block_info > p:last-child {
	margin: 0;
}

.ex_p {
	border-bottom: 2px solid #a5a0cb;
	display: table;
	color: #646187;
}

.play_sound_id {
	max-width: 30px;
	cursor: pointer;
}

.td-max-w-audio {
	width: 38px;
}

.text_blue {
	color: #43a2b6 !important;
	display: inline !important;
	font-weight: normal !important;
}

.text_red {
	color: #d2877c !important;
	display: inline !important;
	font-weight: normal !important;
}

.list_sound_word {
	margin: 20px 0;
}

.list_sound_word p {
	font-size: 16px;
	margin-bottom: 6px;
}

.list_sound_word p img {
	width: 25px;
}

u {
	text-underline-offset: 5px;
}

.list_of_image {
	display: flex;
	flex-wrap: wrap;
	gap: 2%;
	margin-top: 40px;
}
.link_tales_list {
	width: 49%;
}
.link_tales_list .h2_title {
	font-size: 20px;
	padding: 0 10px;
	text-align: center;
	margin: 20px 0;
}
.link_tales_list > .img_b {
	display: table;
	background-position: center !important;
	width: 100%;
	height: 200px;
	border-radius: 5px;
	background-size: cover !important;
}

.top_tales_info {
	display: flex;
	align-items: flex-start;
	gap: 25px;
}
.top_tales_info > div:nth-child(1) {
	display: block;
	flex: none;
	width: 49%;
	height: 200px;
	background-size: cover !important;
	border-radius: 10px;
	background-position: center !important;
}

.green_top_re {
	margin: 30px 0 35px 0;
	background: #eee;
	width: 100%;
}

.content-tales_main p {
	font-family: 'SignikaRegular';
	font-size: 18px;
}

.content-tales_main p > span {
	position: relative;
	border-bottom: 2px solid transparent;
}

.content-tales_main p > span:hover {
	cursor: pointer;
	border-bottom: 2px solid #66b6a7;
}

/* Стиль для текста с анимацией загрузки */
.content-tales_main .loading {
	color: #b7b7b7; /* Изменяем цвет текста на сероватый */
	position: relative; /* Для правильного позиционирования анимации */
}

.content-tales_main .loading::after {
	content: '';
	display: inline-block;
	width: 6px;
	height: 6px;
	border: 2px solid gray;
	border-top-color: transparent;
	border-radius: 50%;
	position: absolute;
	top: -14%;
	transform: translateY(-50%);
	-webkit-animation: spin 1s linear infinite;
	animation: spin 1s linear infinite;
	right: 0;
	left: 0;
	margin: auto;
}

@-webkit-keyframes spin {
	0% {
		transform: translateY(-50%) rotate(0deg);
	}
	100% {
		transform: translateY(-50%) rotate(360deg);
	}
}

@keyframes spin {
	0% {
		transform: translateY(-50%) rotate(0deg);
	}
	100% {
		transform: translateY(-50%) rotate(360deg);
	}
}

.choose_block {
	margin-bottom: 40px;
	margin-top: 40px;
}

.choose_block--question {
	margin-bottom: 14px;
	display: table;
	position: relative;
}

.choose_block--question span {
	color: #787998;
	text-decoration: underline;
	text-underline-offset: 4px;
	padding: 0 2px;
}
.choose_block--question span.empty_block_exercise {
	text-decoration: none;
}
.check-button-js,
.check-button-js-input {
	align-items: center;
	background: #44b39b;
	border-radius: 2px;
	color: #fff;
	cursor: pointer;
	display: flex;
	font-size: 14px;
	height: 35px;
	justify-content: center;
	margin-top: 40px !important;
	width: 185px;
}

.check-button-js:hover,
.check-button-js-input:hover {
	background: #40a992;
}

/* Скрываем оригинальный радиобаттон */
.custom-radio input[type='radio'] {
	display: none;
}

/* Стили для кастомного радиобаттона */
.custom-radio {
	display: inline-flex;
	position: relative;
	padding-left: 0;
	cursor: pointer;
	font-size: 15px;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	align-items: center;
	justify-content: center;
	gap: 10px;
}
.choose_block--answers {
	display: flex;
	gap: 30px;
}

.custom-radio .custom-radio-checkmark {
	position: relative;
	top: 0;
	left: 0;
	height: 15px;
	width: 15px;
	background-color: #fafafa;
	border-radius: 50%;
	border: 1px solid #cdd1da;
	display: flex;
	align-items: center;
	justify-content: center;
}

.choose_block--question:after {
	content: '';
	position: relative;
	width: 20px;
	height: 17px;
	background-size: cover !important;
	top: 1px;
	margin-left: 10px;
	display: none;
}

.choose_block.error_answer .choose_block--question:after {
	display: inline-block;
	background: url(/wp-content/themes/ouenglish/assets/images/icons/error.svg?1);
}
.choose_block.correct_answer .choose_block--question:after {
	display: inline-block;
	background: url(/wp-content/themes/ouenglish/assets/images/icons/success.svg?2);
}

/* Стили для кастомного радиобаттона, когда он выбран */
/* .custom-radio input[type='radio']:checked ~ .custom-radio-checkmark {
	background-color: #c8e0f3;
	border: 2px solid #2196f3;
} */

/* Внутренний кружок */
.custom-radio .custom-radio-checkmark:after {
	content: '';
	position: relative;
	display: none;
}

.custom-radio input[type='radio']:checked ~ .custom-radio-checkmark:after {
	display: block;
}

.custom-radio .custom-radio-checkmark:after {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #9fd468;
}
.input_block {
	margin-bottom: 25px;
}
input.answer-input {
	border: none;
	border-bottom: 1px dashed #ddd;
	border-radius: 0;
	width: 50px;
	box-sizing: border-box;
	text-align: center;
	padding: 0 5px;
	font-size: 16px;
	padding-bottom: 3px;
}

.question_translate {
	font-weight: 300;
	margin-top: 7px;
	color: #878787;
}

.question_translate span {
	font-weight: 600;
	color: #5d5d5d;
}

.burger-icon {
	display: none;
}

.main-block-dialogue_separate {
	align-items: center;
	display: flex;
}
.main-block-dialogue_separate img {
	margin: 0;
	width: 25px;
}
.main-block-dialogue_separate--text {
	border: 1px solid #ddd;
	border-radius: 10px;
	margin: 10px 0 10px 10px;
	padding: 12px 45px 12px 14px;
	position: relative;
	width: 92%;
}
.main-block-dialogue_separate img.play_s {
	width: 25px;
	cursor: pointer;
	margin-right: 8px;
	opacity: 0.7;
	transition: 0.3s all;
}
.main-block-dialogue_separate img.play_s:hover {
	opacity: 1;
}
.spoiler_link--act {
	cursor: pointer;
	position: absolute;
	right: 0px;
	padding: 0 10px 0 35px;
	text-align: center;
	top: 0;
	bottom: 0;
	width: 25px;
	margin: auto;
	opacity: 0.5;
	transition: 0.3s all;
	height: 100%;
	display: flex;
}

.mejs-container,
.mejs-container .mejs-controls,
.mejs-embed,
.mejs-embed body {
	border-radius: 5px !important;
}

.spoiler_link--act:hover {
	opacity: 1;
}

.main-block-dialogue-play {
	display: flex;
}

.spoiler_body {
	color: #85807f;
	font-family: 'Roboto';
	font-weight: 300;
	opacity: 0;
	max-height: 0;
	overflow: hidden;
	transition: opacity 0.3s ease, max-height 0.5s ease;
	display: none;
}

.burger-icon-on_menu {
	position: fixed;
	top: 0;
	display: none !important;
}

.abs_top_block {
	margin-bottom: 40px;
	max-height: 160px;
	margin-top: 15px;
}

@media screen and (max-width: 1279px) {
	.container.main {
		padding: 0px 10px 20px 10px;
	}
	.container {
		width: 984px;
	}
	.content_block {
		width: 665px;
	}
	.sidebar {
		width: 280px;
		flex: none;
	}
}

@media screen and (max-width: 1023px) {
	.sidebar {
		position: absolute;
		top: 0;
		left: -320px;
	}
	.container {
		width: 100%;
		padding: 15px 20px 21px 75px;
	}
	.overlay {
		position: fixed;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		background: rgba(0, 0, 0, 0.5);
		z-index: 999;
		opacity: 0;
		visibility: hidden;
		transition: opacity 0.3s ease, visibility 0.3s ease;
	}

	.overlay.active {
		opacity: 1;
		visibility: visible;
	}
	.container.main {
		padding: 0px 20px 21px 20px;
	}

	.content_block {
		width: 100%;
		padding: 30px 40px 45px 40px;
	}

	.burger-icon {
		cursor: pointer;
		position: absolute;
		top: 28px;
		left: 22px;
		z-index: 1001;
		width: 35px;
		height: 24px;
		display: flex;
		flex-direction: column;
		justify-content: space-between;
	}

	.bar {
		display: block;
		width: 100%;
		height: 4px;
		background: #3c3c3c;
		transition: all 0.3s ease;
		border-radius: 15px;
	}

	.burger-icon.active .bar:nth-child(1) {
		transform: translateY(10px) rotate(45deg);
	}

	.burger-icon.active .bar:nth-child(2) {
		opacity: 0;
	}

	.burger-icon.active .bar:nth-child(3) {
		transform: translateY(-10px) rotate(-45deg);
	}

	.sidebar_ellements_block:before {
		position: fixed;
		display: block;
		content: '';
		top: 0;
		left: -320px;
		width: 305px;
		height: 75px;
		background: #fff;
		transition: 0.3s all;
	}

	.sidebar_ellements_block.active:before {
		display: block;
		left: 0px;
	}

	.sidebar_ellements_block {
		position: fixed;
		top: 0;
		left: -340px;
		overflow-y: scroll;
		width: 320px;
		padding-top: 72px;
		height: 100%;
		background: #fff;
		transition: 0.3s all;
		z-index: 1000;
		box-shadow: 2px 0px 5px rgba(0, 0, 0, 0.1);
	}

	.sidebar_ellements_block.active {
		left: 0;
	}

	.sidebar_ellements_block li {
		list-style: none;
		padding: 0 0px;
		border-bottom: 1px solid #eee;
	}

	.sidebar_ellements_block li a {
		display: flex;
		align-items: center;
	}

	.sidebar_ellements_block li a img.icon {
		margin-right: 10px;
	}
	footer.container {
		padding: 10px 20px;
		margin-top: 0px;
	}
}

@media screen and (max-width: 767px) {
	.burger-icon-on_menu.active {
		display: flex !important;
		position: fixed !important;
		top: 25px !important;
	}
	.container.top > div:first-child {
		height: 10px;
	}
	.container.top {
		display: flex;
		align-items: center;
		justify-content: space-between;
		position: -webkit-sticky;
		position: sticky;
		top: 0;
		z-index: 99;
		background: #fbfbfb;
		box-shadow: 0px 0px 5px 1px #e5e5e5;
	}
	.main-block-dialogue-play {
		display: flex;
		flex-direction: column;
		gap: 3px;
	}
	footer.container {
		margin-top: 10px;
	}
	.top_search {
		position: absolute;
		top: 66px;
		left: 20px;
		width: calc(100% - 40px);
		box-sizing: border-box;
	}
	.main-block-dialogue_separate img.play_s {
		margin-right: 0;
	}
	.top_search input {
		width: 100%;
		margin: 0;
		box-sizing: border-box;
	}
	header .social {
		position: absolute;
		top: -50px;
		right: 0;
	}
	.container {
		padding: 43px 20px 21px 75px;
	}
	.custom-logo-link {
		position: relative;
		top: -33px;
	}
	.burger-icon {
		top: 24px;
	}
	.content_block {
		border-radius: 0;
		padding: 30px 25px 45px 25px;
	}
	.breadcrumbs {
		margin-bottom: 25px;
	}
	h1 {
		font-size: 24px;
		margin-bottom: 20px;
		line-height: 1.2;
	}
	.container.main {
		padding: 0;
	}
	.breadcrumbs span {
		font-size: 14px;
	}
	h2 {
		font-size: 20px;
		margin-bottom: 15px;
		margin-top: 30px;
		line-height: 1.3;
	}
	p {
		margin-bottom: 20px;
		line-height: 1.8;
	}
	.list_themes {
		position: absolute;
		left: 0;
		top: 10px;
		font-size: 12px;
		padding: 2px 10px;
	}
	.list > div {
		position: relative;
		padding: 40px 0 12px;
	}
	.link_tales_list > .img_b {
		height: 100px;
	}
	.link_tales_list .h2_title {
		font-size: 16px;
		padding: 0 5px;
		text-align: center;
		margin: 20px 0;
	}
	.link_tales_list {
		width: 48%;
	}

	.list_of_image {
		gap: 3%;
	}
	.content_block {
		min-height: 600px;
	}
	.examples {
		border-left: 2px solid #c9c9c9;
		margin: 25px 0;
		margin-left: 0;
		width: 100%;
		background: #f8f7f4;
		padding: 20px 20px;
		box-sizing: border-box;
	}
	.examples > div {
		font-size: 16px;
		padding: 15px 20px;
	}
	.play_p {
		font-size: 16px;
		line-height: 1.2;
	}
}
