@import url('https://fonts.googleapis.com/css2?family=Alice&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400&display=swap');
body {
	margin: 0;
	padding: 0;
	background-color: #f6f6f6;
}
h1, h2, h3, h4, h5 {
	font-family: 'Alice', serif;
	font-style: normal;
}
.mt15 { margin-top: 15px }
.mt25 { margin-top: 25px }
.mr15 { margin-right: 15px }
.mr25 { margin-right: 25px }
.mb15 { margin-bottom: 15px }
.mb25 { margin-bottom: 25px }
.mt25 { margin-top: 25px }
.flex_box { display: flex }
.module_title {
    margin: 25px 0 15px;
    width: max-content;
    border-bottom: 2px solid;
}
.header {
	margin: 15px 25px;
	display: flex;
	align-items: center;
}
.logo_link {
    background-image: url(/assets/images/logos/logo.png?v1);
    background-position: left;
    background-repeat: no-repeat;
    background-size: contain;
    padding-left: 66px;
    color: #3a3738;
    text-decoration: none;
	display: flex;
	align-items: center;
    height: 58px;
    width: 520px;
    /*margin-left: 25px;*/
    font-family: 'Alice', serif;;
    font-size: 26px;
    line-height: 28px;
    cursor: pointer;
    text-transform: uppercase;
}
.rus_logo { width: 520px }
.eng_logo { width: 520px }
.logo_link:hover {
	color: #030303;
}
.bottom_line {
	border-bottom: solid 1px #eceff0;
	margin-bottom: 25px;
}
#sidebar_collapse {
	display: none;
	width: 40px;
	height: 40px;
	padding: 8px;
	cursor: pointer;
    -webkit-transition-duration: 0.4s; /* Safari */
	transition-duration: 0.4s;
	text-decoration: none;
	border-radius: 50%;
}
#sidebar_collapse:active:hover { background-color: #e5e5e5 }
.wrapper {
    display: flex;
    align-items: stretch;
}
#sidebar {
    min-width: 250px;
    max-width: 250px;
    background: #fff;
    color: #fff;
	display: flex;
	flex-direction: column;
	background-color: #f6f6f6;
	padding-right: 15px;
	font-weight: 300;
}
#sidebar.active {
    min-width: 80px;
    max-width: 80px;
    text-align: center;
}
.main_menu_icon {
	min-width: 24px;
	width: 24px;
	height: 24px;
	pointer-events: none;
	margin-right: 15px;
}
.main_menu_icon g { fill: #606060 }

#sidebar ul { border-bottom: 1px dotted rgb(0, 0, 0, .15) }
#sidebar.active ul li a .main_menu_icon {
	margin-right: 0;
}
#sidebar ul li { margin: 5px 0 }
#sidebar.active ul li a {
	display: block;
    padding: 20px 10px;
    text-align: center;
    font-size: 0.85em;
	line-height: 14px;
}
#sidebar.active ul li a i {
    margin-right: 0;
    display: block;
    font-size: 1.8em;
    margin-bottom: 5px;
}
#sidebar.active ul ul a {
    padding: 10px !important;
}
#sidebar ul li a {
	font-family: 'Roboto', sans-serif;
	display: flex;
	align-items: center;
    padding: 7px 24px;
    font-size: 14px;
	color: #030303;
	text-decoration: none;
	font-weight: 300;
}
#sidebar ul li.active a,
#sidebar ul li a:hover {
	background-color: rgba(0, 0, 0, 0.05);
	border-radius: 20px;
}
#sidebar ul li a i {
    margin-right: 10px;
}
#sidebar a img {
    max-width: 24px;
    margin-right: 10px;
}
#content {
	background-color: #fbfdfe;
	margin-left: 25px;
	width: 100%;
	border: 1px solid #e8e8e8;
	border-radius: 10px;
	padding-top: 15px;
	padding-bottom: 25px;
	margin-bottom: 35px;
}
.footer {
	margin: 35px 0;
	padding-top: 15px;
	border-top: 1px solid rgba(0, 0, 0, 0.05);
	font-family: 'Alice', serif;;
	color: #555;
	font-size: 16px;
	text-align: right;
}
.footer p {
	margin-bottom: 0;
}
.form-control:focus {
    color: #212529;
    background-color: #fff;
    border-color: #999;
    outline: 0;
    box-shadow: none;
}
.mb15 { margin-bottom: 15px }
p.info {
    background-color: #f6f6f6;
    padding: 5px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 3px;
    font-size: 14px;
}
p.info.letter_info b {
    text-transform: uppercase;
    color: #e46a76;
}
.result_box { font-family: 'Alice', serif }
.result_box ol {
	
}
.result_box ol li {
	margin-bottom: 15px;
	padding-left: 15px;
}
.result_box ol li::marker { font-size: 24px }
.result_box ol li a.title {
	cursor: pointer;
	text-decoration: none;
	color: #777;
	border-bottom: 1px dotted;
	font-size: 20px;
}
.result_box ol li a.title:hover { color: #e46a76 }
.result_box ol li a.title.active { 
	background-color: #e46a76;
	color: #fff;
}
.result_box ol li p { margin-bottom: 5px }
.result_box ol li p a {
	color: #333;
	text-decoration: none;
	font-size: 18px;
	cursor: pointer;
}
.result_box ol li p a sup {
	font-weight: bold;
	color: red;
}
.result_box ol li p a.found:hover,
.result_box ol li p a:hover {
	color: #e46a76;
	text-decoration: underline;
}
.result_box ol li p a.found {
	color: #fa9108;
	font-weight: bold;
	/*
	padding: 0 6px 2px;
	background-color: #00c292;
	border-radius: 3px;
	*/
}

.pagination_box {
	font-family: 'Alice', serif;;
	font-size: 18px;
}
.page-link {
	border: none;
}
.page-item:last-child .page-link {
	border-radius: unset;
}
.page-item.active .page-link {
	font-weight: bold;
	color: #333;
	background-color: transparent;
	border-color: transparent;
}
.page-link:hover {
	text-decoration: underline;
	background-color: transparent;
	border-color: transparent;
}

.popover.show { max-width: 650px } 
.popover-body { padding: 0 }

.info_box h6 {
	display: flex;
	align-items: center;
	padding: 10px;
	background-color: rgba(0, 0, 0, 0.05);
	font-family: 'Alice', serif;
	font-size: 20px;
	margin-bottom: 0;
}
.info_box h6 span { flex: 1 }
.info_box table tr { margin: 5px 0 }
.info_box table tr:hover { background-color: rgba(0, 0, 0, 0.07) }
.info_box table tr {
	line-height: 1rem;
	border-bottom: 1px solid #eee;
}
.info_box table {
	width: 100%;
	border-top: 2px solid rgb(0, 0, 0, .2);
}
.info_box table .info_val { padding: 2px 10px }
.info_box table .info_val p { margin-bottom: 0 }
.info_box table .info_head {
	padding: 0.3rem;
    padding-left: 10px;
    /*width: 120px;*/
    background-color: rgba(0, 0, 0, 0.05);
    font-weight: bold;
	vertical-align: top;
}
.info_box.lemma_info_box table .info_head { width: 120px }

.info_box pre {
	display: none;
	font-size: 16px;
	line-height: 22px;
	text-align: left;
	white-space: pre-line;
	color: #777;
	font-family: 'Alice', serif;
	font-style: normal;
	padding: 15px;
}
.info_box pre span { color: #fa9108 }
.info_box table tr:last-child td { padding-top: 10px }

.show_text {
    background-color: rgba(0, 0, 0, 0.05);
    padding: 10px 5px 5px;
    text-align: center;
}
.error_box {
	background-color: rgba(0, 0, 0, 0.05);
	padding: 5px;
	text-align: center;
}
.error_box a { 
	color: #6990c1!important;
	cursor: pointer;
}
.error_box a:hover { color: #33608f!important }
.error_text {
	display: none;
	padding: 10px 0;
}
.error_text textarea {
    width: 100%;
    color: #212529;
    border: 1px solid #ced4da;
    border-radius: .25rem;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}
.error_text textarea:focus {
	color: #212529;
	border-color: #999;
	outline: 0;
	box-shadow: none;
}
.error_text a {
	background-color: rgba(0,0,0,.1)!important;
	border: 1px solid rgba(0,0,0,.11)!important;
	color: #333!important;
	border-radius: 3px;
	padding: 3px 5px;
	display: inline-block;
}
.error_text a:hover {
	color: #333!important;
	background-color: rgba(0,0,0,.15)!important;
	border: 1px solid rgba(0,0,0,.17)!important;
}

label.ch_box {
    display: block;
    position: relative;
    padding-left: 35px;
    margin-bottom: 12px;
	font-size: 14px;
	font-style: normal;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    width: max-content;
}
label.ch_box b {
    font-size: 20px;
    font-weight: normal;
}
label.ch_box input {
	position: absolute;
	opacity: 0;
	cursor: pointer;
	height: 0;
	width: 0;
}
label.ch_box .checkmark {
	position: absolute;
	top: 0;
	left: 0;
	height: 22px;
	width: 25px;
	background-color: #eee;
	border-radius: 5px;
}
label.ch_box:hover input~.checkmark { background-color: #ccc }
label.ch_box input:checked~.checkmark { background-color: #6990c1 }
label.ch_box .checkmark:after {
	content: "";
	position: absolute;
	display: none;
}
label.ch_box input:checked~.checkmark:after { display: block }
label.ch_box .checkmark:after {
	left: 9px;
	top: 5px;
	width: 5px;
	height: 10px;
	border: solid white;
	border-width: 0 3px 3px 0;
	-webkit-transform: rotate(45deg);
	-ms-transform: rotate(45deg);
	transform: rotate(45deg);
}
.param_text {
	margin-left: 15px;
	text-transform: lowercase;
	font-weight: bold;
	color: #0d6efd;
}

.language_selection {
    flex-grow: 2;
    text-align: right;
    align-self: center;
}
.language_selection a {
    margin: 0 5px;
    color: #6990c1;
    text-decoration: none;
	display: inline-block;
}
.language_selection a:hover { border-bottom: 1px dotted }
.language_selection a.active {
	color: #33608f;
	pointer-events: none;
	border-bottom: 1px dotted;
	font-weight: 500;
}
.popover_overlay {
	display: none;
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	height: 1000%;
	z-index: 3;
	background-color: rgb(0, 0, 0, .04);
}
.popover_parent { background-color: rgba(0, 0, 0, .05) }
.hide { display: none }

#search_button {
	background-color: #3c71ae;
	border-color: #3c71ae;
	color: #fff;
}
#search_button:hover {
	
}
.body_fix { overflow: hidden }
.distance_box {
	padding: 15px 0;
}
.distance_box:hover { box-shadow: 0px 0px 30px 1px rgba(0,0,0,0.06) }
.distance_text { width: 70%!important }
.page-link { color: #6990c1 }
.page-link:hover { color: #33608f }
.ct-value {
	fill: #e46a76;
	font-size: 14px;
}

table {
	border: 1px solid #e9ecef;
	border-radius: 3px;
}
tbody {
    -webkit-transition: .4s;
    transition: .4s;
}
thead { border-bottom: 2px solid #e9ecef }
th, td {
	padding: .7rem;
	color: #555;
}
th {
	border-top: 1px solid #e9ecef;
	border-right: 1px solid #e9ecef;
	font-size: 12px;
	font-weight: 500;
	text-transform: uppercase;
}
.td_right_border td { border-right: 1px solid #e9ecef }
.numb {
    font-family: 'Linux Libertine';
    font-size: 22px;
    font-weight: bold;
    padding: .4rem .7rem;
    color: #777;
}
tbody tr { border-bottom: 1px solid #e9ecef }
tbody tr:last-child { border-bottom: none }
tbody tr:nth-of-type(odd) { background: #f8f9fa }
.ending_wrap { text-align: left }
.ending_box { padding: 10px }
.ending_cat {
	color: #333;
	font-weight: 500;
	font-size: 16px;
	display: block;
	margin-bottom: 10px;
	text-transform: uppercase;
	text-decoration: none;
	cursor: pointer;
}
.info_val b {
    display: inline-block;
    margin: 0 3px;
    width: 2.3px;
    height: 11px;
    background-color: #222;
}

.share_pagination_boxes {
	display: flex;
	justify-content: space-between;
	margin: 25px 0;
}
.share_pagination_boxes .pagination { align-items: center; margin: 0 }
.share_pagination_boxes .page-link { padding: 0 .75rem }
.share_box {
	display: flex;
    justify-content: left;
    align-items: center;
}
.share_box span {
    font-weight: 500;
    margin-right: 10px;
}
.share_box button,
.share_box a {
    background-color: #eee;
    color: #333;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 5px;
    width: 24px;
    height: 24px;
    text-decoration: none;
}
.share_box button {
    width: auto;
    outline: none;
    border: 0;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: .15px;
    padding: 0 15px;
}
.share_box button svg { width: 20px }
.share_box button .ic_ms_word { fill: #333 }
.share_box button:hover,
.share_box a:hover {
	background-color: #33608f;
	color: #fff;
}
.share_box button:hover .ic_ms_word { fill: #fff }

.swal_doc {
    width: 650px!important;
    padding: 0!important;
}
.swal_doc table tr:first-child td { padding-top: 25px!important }
.swal_doc table tr:last-child td { padding-bottom: 25px!important }
.swal_doc .error_box>a {
	display: block;
	margin: 5px 0 15px;
}
.swal_doc .info_box table .info_head {
    padding: 0.5rem;
    font-weight: 500;
	vertical-align: middle;
}
#sidebar div.list-unstyled a {
	font-size: 14px;
}
@media only screen and (max-width: 768px) {
	.header { margin: 15px 0 }
	.wrapper { flex-direction: column }
	#sidebar_collapse {
		display: block;
		min-width: 48px;
	}
	.logo_link {
	    font-size: 18px;
	    line-height: 18px;
		margin-left: 5px;
		padding-right: 15px;
	}
	.header .language_selection { display: block }
	.language_selection {
		font-size: 14px;
		text-align: center;
	}
	.bottom_line { padding-right: 0 }
	#sidebar.active ul li a { text-align: left!important }
	#sidebar {
		max-width: 100%!important;
		min-width: 100%!important;
		text-align: left!important;
	}
	#sidebar.active .list-unstyled {
	    opacity: 1;
		display: block;
	    height: auto;
		padding: 15px 0;
	}
	#sidebar .list-unstyled {
	    transition: opacity .25s ease-out;
	    opacity: 0;
	    display: none;
	    background-color: #fff;
	    width: 100%;
	    padding: 15px;
	}
	#sidebar div.list-unstyled {
	    box-shadow: 0 4px 5px -2px rgb(105 144 193 / 55%);
	    border-bottom: 2px solid #6990c1;
	}
	#sidebar ul li a,
	#sidebar.active ul li a {
		padding: 5px 15px;
		font-size: 14px;
	}
	#content { margin-left: 0 }
	#content .container-fluid { padding: 0 25px }
	.mr25 { margin-right: 15px }
	.params {
		margin-left: 0;
		font-size: 14px;
	}
	#result #content .container-fluid { padding: 0 15px }
	.info_box.lemma_info_box table .info_head { width: 100px }
	.info_box table .info_val { max-width: 250px }
	.share_pagination_boxes {
	    flex-direction: column;
	    align-items: center;
	}
	.share_box { margin-bottom: 15px }
	.share_pagination_boxes .pagination .page-link.next,
	.share_pagination_boxes .pagination .page-link.prev { display: none  }
	.result_box ol {
		margin: 0;
		padding: 0;
		padding-left: 15px;
	} 
	.result_box ol li::marker { 1color: #fff } /* )))) */
	.swal_doc .info_box table .info_head {
	    font-size: 14px;
	    padding: 5px;
	}
	.info_box table .info_val {
		font-size: 14px;
	}
	.footer { text-align: center }
	#statistics table { width: 100% }
	.col-sm-10 { padding: 0 }
}
.other_service { padding: 10px }
#statistics .info { margin-bottom: 2px }
.sentence_box {
	padding: 20px;
	font-size: 24px;
	box-shadow: 0 10px 34px -15px rgb(0 0 0 / 24%);
	width: max-content;
	max-width: 100%;
}
.record_box {
	display: flex;
}
.btn_microphone {
    border-radius: 50%;
    border: 5px solid #6990c1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
    margin: 15px;
	cursor: pointer;
}
.btn_microphone.waiting .ic_record { display: block }
.btn_microphone.recording .ic_stop {
	display: block;
	width: 40px;
	height: 40px;
	background-color: #6990c1;
	border-radius: 5px;
}
.btn_microphone.recorded .ic_play { display: block }
.btn_microphone.playing .ic_pause { display: block }
.btn_microphone.paused .ic_play { display: block }

.btn_microphone .btn_icon { display: none }
.audio_buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 15px;
}
.audio_buttons a {
    text-decoration: none;
    background-color: #f9f9f9;
    color: #030303;
    padding: 2px 35px;
    border: .0625rem solid rgb(3, 3, 3, .1);
    border-radius: 5px;
    margin-bottom: 3px;
    width: 100%;
    text-align: center;
    font-size: 14px;
    cursor: pointer;
}
.audio_buttons a:hover { border: .0625rem solid rgb(3, 3, 3, .3) }
.audio_buttons a.disabled {
	color: rgb(3, 3, 3, .3);
	pointer-events: none;
}

.stats {
	margin-bottom: 25px;
	width: 800px;
	max-width: 100%;
}
.stats thead { background-color: rgba(0, 0, 0, 0.05) }
.stats thead tr th {
	font-family: 'Alice', serif;
	font-size: 18px;
	font-weight: 500;
	text-transform: none;
	color: #212529;
}
.toogle_theme,
.bvi-open {
    color: black;
    text-decoration: none;
    padding: 10px 15px;
    display: flex;
	cursor: pointer;
}
.tool_menu_icon {
    min-width: 24px;
    width: 24px;
    height: 24px;
    pointer-events: none;
    margin-right: 15px;
}
.tool_menu_icon g { fill: black }
.to_speech {
    display: flex;
    align-items: center;
	background-color: #2196f3;
    border: 1px solid rgb(33, 150, 243, .25);
    border-radius: 50%;
    width: 28px;
    height: 28px;
	cursor: pointer;
}

body.dark_theme { 
	background-color: #111b21;

	& .logo_link { color: #e9edef }
	& .language_selection a.active { color: #b5d3f7 }
	& #sidebar {
		background-color: #111b21;
		color: #e9edef;
		border-right: 1px solid rgba(134,150,160,0.15);
	}
	& #sidebar ul li a svg,
	& #sidebar ul li a span { background-color: unset }
	& #sidebar ul li.active a, & #sidebar ul li a:hover { background-color: rgb(255, 255, 255, .04) }
	& .info_box table { border-top: 2px solid rgba(134,150,160,0.15) }
	& table { border: 1px solid rgba(134,150,160,0.15) }
	& .info_box table tr { border-bottom: 1px solid rgba(134,150,160,0.15) }
	& .info_box table .info_head { background-color: #111b21 }
	& #content { background-color: #111b21 }
	& input { background-color: #2a3942 }
	& button {
		background-color: rgb(29, 155, 240);
		border: 1px solid rgb(29, 155, 240);
	}
	& * {
		background-color: #111b21;
		color: #e9edef;
	}
	& .popover_overlay { background-color: rgb(255, 255, 255, .04) }
	& a {
		color: rgb(29, 155, 240);
	}
	& .page-item.disabled .page-link {
	    background-color: unset;
	    border-color: unset;
	}
	& .page-item.active .page-link { color: rgb(255,255,255, .9) }
	& .share_box button svg { background-color: unset }
	& .result_box ol li p a { color: rgb(255,255,255,.85); }
	& .chart_box { background-color: unset }
	& .chart_box * { background-color: rgb(255,255,255);
    color: #333; }
	& canvas { background-color: unset }
	& canvas * { background-color: unset }
	& .distance_box { background-color: #202c33 }
	& .distance_box div, & .distance_box h5 { background-color: #202c33 }
	& .bottom_line { border-bottom: 1px solid rgba(134,150,160,0.15) }
	
}

.stats_nav {
	display: flex;
}
.stats_nav a {
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 14px;
	font-weight: 400;
	margin: 5px;
	padding: 5px;
	text-align: center;
	border-radius: 5px;
	cursor: pointer;
	background: rgb(105, 144, 193, .1);
}
.stats_nav a:hover {
	color: #fff;
	background: rgb(105, 144, 193, .75);
}
#top_button {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 30px;
    z-index: 99;
    border: none;
    outline: none;
    background-color: rgb(105, 144, 193, .75);
    color: white;
    cursor: pointer;
    padding: 5px 15px;
    border-radius: 10px;
    font-size: 18px;
}
#top_button:hover {
	color: #fff;
	background: rgb(105, 144, 193, .95);
}