.itemListView h1{
    margin-top: 40px
}

div.itemListCategoriesBlock > * {
    font-size: 14px;
    line-height: 1.6;
}

div.itemListCategory {
    border: 1px solid #4e4e4e;
    border-radius: 8px;
    padding: 15px 20px;
    background: #fff;
    color: #212529;
    margin-top:50px;
}
.itemListView .itemList {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    flex-wrap: wrap;
}

.itemListView .itemList div.item {
    padding: 0;
    width: calc(100% / 3 - 20px);
    border: 1px solid rgba(200, 200, 200, 0.7);
    box-shadow: 0 4px 8px 0 rgba(25, 25, 25, 0.07);
    margin-bottom:20px;
}

.itemListView .itemList div.item div.catItemImageBlock img{
    object-fit: cover;
    width: 100%;
}

.itemListView .itemList div.item div.catItemImageBlock {
    padding: 0;
    margin: 0;
}

.itemListView .itemList div.item div.catItemContentBlock{
   padding: 20px;
}
.itemListView .itemList div.item div.catItemContentBlock p.title a{
    font-size: 1.5em;
    line-height: normal;
}


div.catItemReadMore {
    text-align: right;
    display: block;
}

.itemListView .itemList div.item div.catItemContentBlock p {
    margin:0 0 20px;
    color: #212529;
}

.itemListView .itemList div.item div.catItemContentBlock div.catItemData {
    font-size: 0.8em;
    margin: 10px 0;
}

.expert-page{
    color: var(--secondary-color);
    display: flex;
    align-items:flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
}

.expert-page.wrapper-header {
    align-items:stretch
}

.expert-page.wrapper-header .itemContent,
.expert-page.wrapper-header .itemSidebar  {
    width: 50%;
    position: relative;
}

.expert-page.wrapper .itemSidebar {
    border-left:1px solid #ddd;
    padding-left: 15px;
    height: 100vh;
    overflow-y: scroll;
    scrollbar-width: thin;         
  scrollbar-color: #ccc #fff;
}

.expert-page.wrapper .itemSidebar::-webkit-scrollbar {
    width: 5px; 
}
.expert-page.wrapper .itemSidebar::-webkit-scrollbar-track {
    background: #fff;      
}
.expert-page.wrapper .itemSidebar::-webkit-scrollbar-thumb {
    background-color: #ccc;  
    border-radius: 20px;      
    border: 3px solid #fff; 
}

.expert-page .itemContent {
    width: calc(100% - 300px);
}

.expert-page .itemContent a {
    color: #2f1e6a;
}
.expert-page .itemContent .img-descr{
    text-align: center;
    font-style: italic;
    margin-bottom:20px;
}

.expert-page .itemSidebar {
    width: 250px; 
    text-align: center;
    position: sticky;
    top:0;
}

.expert-page h1{
    font-size: 2.7em;
    margin: 20px 0 0;
}

.expert-page .itemFullText {
    margin-top: 20px;
}

.expert-page .itemFullText h2,
.expert-page .itemFullText h3,
.expert-page .itemFullText h4 {
    margin:60px 0 10px;
    position: relative;
    padding: 0;
}

.expert-page .itemFullText h2:before,
.expert-page .itemFullText h3:before,
.expert-page .itemFullText h4:before {
    position: absolute;
    content:'';
    background:#ffd600;
    width: 60px;
    height: 4px;
    top: -15px;
    left:0;
} 

.expert-page .itemFullText ul,
.expert-page .itemFullText ol {
    border-left:0;
}

.expert-page table {
    width:100%;
}
.expert-page table tr {
    display: table-row;
}

.expert-page table td {
    padding: 7px 10px;
    width: auto;
    min-width: 150px;
    line-height: 20px;
    border: 1px solid #4d4d4d;
}
.expert-page .itemFullText img {
    margin: 30px auto 0;
    display: block;
}

.expert-page .itemFullText summary {
    font-weight: 700;
    font-size: 16px;
}
.expert-page .itemFullText details {
    margin: 7px 0;
}

summary.table-of-contents-title {
	text-align: left;
	margin-top:0;
    font-size: 18px;
}
.table-of-contents {
	text-align: left;
    font-size: 15px;
    line-height: 17px;
}
.table-of-contents p {
	margin:15px 0;
}
.table-of-contents p:hover {
	cursor:pointer;
	text-decoration: underline;
}

.moduletablemost-read,
.moduletablerecommend-book {
    display: none;
}
.itemFullText .moduletablemost-read {
    display: block;
    border: 1px solid #ffd600;
    margin: 40px 0 60px;
    padding: 0 30px;
}
.itemFullText .moduletablemost-read h3{
    margin: 30px 0 0;
}
.itemFullText .moduletablemost-read h3:before  {
    display:none
}
.itemFullText .moduletablemost-read .most-read {
    margin-bottom: 0;
}

.itemFullText .btn-kod {
    color: #ffd600;
    font-weight: 700;
    text-decoration: underline;
}
.itemFullText .btn-kod:hover {
    text-decoration: none;
    cursor:pointer
}

blockquote {
    margin: 25px 25px 0 0;
}

@media (max-width: 800px) {
    .expert-page .itemFullText .author-block .content,
    .expert-page .itemFullText .author-block .experts {
        width: 100%;
    }
    .expert-page.wrapper-header .itemContent div.author-block {
        position: relative;
        margin-top:25px;
    }
    .itemListView .itemList div.item {
        width: 49%;
    }
    .itemListView .itemList div.item div.catItemContentBlock p.catItemIntroText {
        min-height: 200px;
    }
}
@media (max-width: 576px) {
    blockquote {
        margin: 25px 0 0;
    }
    .itemListView .itemList div.item {
        width: 100%;
        margin: 20px 0;
    }
    .itemListView .itemList div.item div.catItemContentBlock {
        width: 100%;
    }
    .itemListView .itemList div.item div.catItemContentBlock p.catItemIntroText {
        min-height: auto;
    }
    .expert-page .table {
        overflow-x: scroll;
        width: 100%;
    }
    .expert-page.wrapper-header{
        flex-direction: column-reverse;
    }  
    summary.table-of-contents-title,
    .table-of-contents {
        text-align: left;
    }
    .table-of-contents {
        height: 300px;
        overflow:scroll;
    }
    .expert-page .itemSidebar {
        width: 100%;
        position: relative;
    }
    .expert-page.wrapper-header .itemContent, 
    .expert-page.wrapper-header .itemSidebar,
    .expert-page.wrapper-header .itemContent .data p,
    .expert-page .itemContent {
        width: 100%;
    }
    h1 {
        font-size: 2.4em;
    }
    td:empty {
        display: none;
    }
    .expert-page.wrapper .itemSidebar {
        padding-left: 0;
        border-left: 0;
        padding-bottom: 20px;
        height: auto;
        border-right:0;
        padding-right:0;
        margin-top: 40px;
    }
    .itemSidebar details {
        padding: 10px;
        border: 1px solid #ccc;
        border-radius: 10px;
    }
}


