.error-page .searchform>div{
	display: flex;
	width: 100%;
    justify-content: space-between;
}

.error-page .searchform label {
	display: none;
}
.error-page .searchform #s {
	border: 2px solid transparent;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 0 10px;
    font-size: 20px;	
}

.error-page .return-home,
.error-page .searchform #searchsubmit {
	width: 100%;
	max-width: 100px;
	border: 2px solid transparent;
    background: #4e3f84;
    color: #fff;
	font-size: 20px;	
}

@media screen and (max-width: 1024px) {
	.error-page {
		padding: 100px 0 55px;
	}
}

.error-page .container {
	padding-right: 15px;
}

.return-home{
	padding: 10px;
    margin: 20px auto;
    display: block;
    max-width: 300px !important;
    width: 100%;
}
.return-home,
.page-title,
.page-content  {
	text-align: center;
}

.mainpage table{
	display: block;
	overflow-x: hidden;
    max-width: 100%;
	width: 100%!important;
    height: auto!important;
}
.single-case ul {
    margin: 20px 0;
    padding-left: 20px;
    overflow-x: hidden;
}

.single-case .col-sm-8 {
	overflow-x: hidden;
	overflow-y: hidden;
}
@media(max-width:768px) {
	.container {
		padding-right: 15px;
	}
}

@media(max-width:768px) {
	#element9 {
		font-size:24px;
	}
}



/*--- Table of Content, single ---*/
ul.table-content__list li::after,
ul.table-content__list li::before {
	display: none;
}
ul.table-content__list {
    text-align: left;
}

.table-content__title span {
	font-size: 24px;
    font-weight: 800;
}
.table-content__title svg {
	width: 20px;
	height: 20px;
}
.table-content__title {
	display: flex;
    align-items: center;
    flex-direction: row-reverse;
    justify-content: space-around;
	margin: 10px auto;
}
.table-content__title:hover {
	cursor:pointer;
}
.table-content {
    padding: 10px;
    border-radius: 10px;
    background-color: lightyellow;
	margin-bottom: 20px;
}
.table-content__list a.active,
.table-content__list a:hover {
	color: red;
}
/*
.table-content__wrap {
	position: sticky;
    top: 60px;
}
*/
@media(max-width: 840px) {
.single-case .table-content__title span {
	font-size: 20px;
}
}

/*--- Table of Content, term ---*/

.term .table-content {
	margin: 0 auto;
    width: 100%;
    border-radius: 0;
    background-color: transparent;
	margin-bottom: 0;
}

.term .table-content__title {
    max-width: 250px;
}
.term .table-content__title span {
	color: #fff;
}
.term .js-anchor a {
	color:white;
}
.term .js-anchor a.active,
.term .js-anchor a:hover {
	color:yellow;
}

/*---- Author in page ----*/
.author-info {
    background-color: #f7f7f7;
    padding: 30px;
    display: flex;
}
.author-info__img>img {
	width: 232px;
	height: auto;
}
.author-info__desc {
	margin-left: 20px;
}
.author-info__article {
	display: block;
	margin-bottom: 20px;
}
.author-info__article-title {
	font-weight: 400;
    margin-bottom: 10px;
}
.author-info__article>a {
	display:block;
    margin-bottom: 10px;
	font-size: 32px;
    line-height: 36px;	
}
.authorsName{
	font-weight:700;
	display:block;
    margin-bottom: 10px;
	font-size: 32px;
    line-height: 36px;
}

.author-page .author-info__img>img {
    /* border-radius: 50%; */
}

.author-page .author-info__article-title>span {
	font-weight: 400;
}

img.social-icon {
	width: 40px;
	height: 40px;
	filter: grayscale(1);
}
.author-info__article-socmedia {
	display: flex;
	margin-left: -5px;
	margin-bottom: 20px;
}

.author-info__article-socmedia >a {
	display: inline-flex;
	margin: 10px 5px;
}
.author-info__article-socmedia >a:hover img.social-icon {
	filter: grayscale(0);
}
.author-info__article-desc {
	margin-bottom: 20px;
}
.author-page__section {
	padding-bottom:50px;
}

@media(max-width:640px) {
	.author-info {
		flex-direction: column;	
		padding-left:0;
		padding-right:0;
		background-color: transparent;
	}
	.author-info__desc {
		margin-left: 0;
		margin-top: 20px;
	}
}

/*--- ATW 0805_2023 ---*/
.body_content ol {
	list-style: decimal;
}
.body_content ol li:before,
.body_content ol li:after {
	display: none;
}
.body_content ol li {
	margin-left: 15px;
	padding-left: 5px
}

.body_content ol a,
.body_content ul a,
.body_content p a {
	color: red !important;
}

.body_content ol a:hover,
.body_content ul a:hover,
.body_content p a:hover {
	text-decoration: underline;
}

.body_content ol a:visited,
.body_content ul a:visited,
.body_content p a:visited {
	color: red !important;
}


/*-------------*/
.single-case ol {
    margin: 20px 0 20px 10px;
    padding-left: 20px;
}
.single-case ol li {
	list-style: decimal;
	margin-bottom: 10px;
}

.single-case ul li, .single-case ul li * {    
    font-weight: 400 !important;
}

.single-case a,
.single-case a b {
	color: red !important;
}

.single-case li b,
.single-case li b>a>span,
.single-case li a>b>span {
	font-weight: bold !important;
}
table.table.table-4 {
	border: none;
	display: table;
}

@media (max-width: 1000px) {
	.table.table-4 td {
		border-right: 1px solid #fff; 
	}
}



@media (max-width: 640px) {
	.video-wrap {
	  position: relative;
	  padding-bottom: 56.25%; /* задаёт высоту контейнера для 16:9 (если 4:3 — поставьте 75%) */
	  height: 0;
	  overflow: hidden;
	}
	.video-wrap iframe {
	  position: absolute;
	  top: 0;
	  left: 0;
	  width: 100%;
	  height: 100%;
	  border-width: 0;
	  outline-width: 0;
	}	
}

.icon-linked {
	width: 36px;
	height: 36px;
}

/* Фото автора поста внизу поста/страницы и т.п. */
.author-info .author-info__img {
	position: relative;
	min-width: 125px;	
	height: 125px;
	overflow: hidden;
}
.author-info .author-info__img>img {
    left: 0;
    height: 100%;    
    object-fit: cover;
    position: absolute;
    top: 0;
    width: 100%;
}
@media(max-width: 640px) {
	.author-info .author-info__img {
		width: 125px;	
	}
}