/* Корректные отступы (как в конфлюенс) 
p, ul, ol, dl, h1, h2, h3, h4, h5, h6, blockquote, pre, form.aui, table.aui, .aui-tabs, .aui-panel, .aui-group {
  margin: 10px 0 0 0;
}*/

/* Скрытие отображения h4 и h3 в оглавлении справа
a.article__content__toc__link.node-name--H4 { display:none; }
a.article__content__toc__link.node-name--H3 { display:none; } */

/* Появляется возможность скролить оглавление справа */
div.js-tocBot > ol.toc-list {
    overflow-y: auto;
    height: calc(100vh - 11em);
}


/* Добавление выделения жирным для активного пунтка toc */
.article__content__toc__link--active {
  font-weight: bold;
}

/* Максимальная ширина содержания и стиль p*/
.article .article__content article #content p, .article .article__content article #content ul, .article .article__content article #content ol, .article .article__content article #content>.panel-macro, .article .article__content article #content>.mega-accordion, .article .article__content table #content p, .article .article__content table #content ul, .article .article__content table #content ol, .article .article__content table #content>.panel-macro, .article .article__content table #content>.mega-accordion, .table-overlay .article__content article #content p, .table-overlay .article__content article #content ul, .table-overlay .article__content article #content ol, .table-overlay .article__content article #content>.panel-macro, .table-overlay .article__content article #content>.mega-accordion, .table-overlay .article__content table #content p, .table-overlay .article__content table #content ul, .table-overlay .article__content table #content ol, .table-overlay .article__content table #content>.panel-macro, .table-overlay .article__content table #content>.mega-accordion {
    max-width: 100%;
  	font-size: 16px;
  	margin-top: 0.4rem;
  	margin-bottom: 0.4rem;
}

.article .article__content article #content .sp-grid-cell>.panel-macro, .article .article__content table #content .sp-grid-cell>.panel-macro, .table-overlay .article__content article #content .sp-grid-cell>.panel-macro, .table-overlay .article__content table #content .sp-grid-cell>.panel-macro {
    font-size: 16px;
    max-width: 100%;
  	margin-top: 1rem;
  	margin-bottom: 1rem;
  }

/* Стиль для h1 */
.article .article__content article h1, .article .article__content table h1, .table-overlay .article__content article h1, .table-overlay .article__content table h1 {
    font-size: 26px;
    margin-top: 1rem;
  	margin-bottom: 1rem;
} 

/* Стиль для h2 */
.article .article__content article h2, .article .article__content table h2, .table-overlay .article__content article h2, .table-overlay .article__content table h2 {
    font-size: 24px;
   	margin-top: 1rem;
  	margin-bottom: 1rem;
}

/* Стиль для h3 */
.article .article__content article h3, .article .article__content table h3, .table-overlay .article__content article h3, .table-overlay .article__content table h3 {
    font-size: 22px;
  	margin-top: 1rem;
  	margin-bottom: 1rem;
}

/* Стиль для h4 */
.article .article__content article h4, .article .article__content table h4, .table-overlay .article__content article h4, .table-overlay .article__content table h4 {
    font-size: 19px;
   	margin-top: 1rem;
  	margin-bottom: 1rem;
}

/* Стиль для h5 */

.article .article__content article h5, .article .article__content table h5, .table-overlay .article__content article h5, .table-overlay .article__content table h5 {
    font-size: 18px;
   	margin-top: 1rem;
  	margin-bottom: 1rem;
}

/* Стиль для h6 */

.article .article__content article h6, .article .article__content table h6, .table-overlay .article__content article h6, .table-overlay .article__content table h6 {
    font-size: 18px;
   	margin-top: 1rem;
  	margin-bottom: 1rem;
}


/* Отображение макроса "Дочерние" */

  .accordion-title {
  padding:10px 30px !important;
}

/* Отображение макросов */
.panel-macros--info, .panel-macros--tip, .panel-macros--warning, .panel-macros--note {
	margin-bottom: 1rem !important; margin-top: 0rem !important;
}
.article__content__content .sp-grid-cell>.panel-macro {
	max-width:100% !important;
}

/* Отображение списков */
  
ul, ol, dl {
	margin-bottom: 1rem;
}

/* TABLES */
.article .article__content article table.confluenceTable, .article .article__content article table.attachments.aui, .article .article__content.table-overlay__content table.confluenceTable, .article .article__content.table-overlay__content table.attachments.aui, .table-overlay .article__content article table.confluenceTable, .table-overlay .article__content article table.attachments.aui, .table-overlay .article__content.table-overlay__content table.confluenceTable, .table-overlay .article__content.table-overlay__content table.attachments.aui {
    width: 100% !important;
    margin-top: 0rem;
    margin-bottom: 0rem;
}

/* Смещение значка приблизить таблицу в таблицу*/
.confluenceTable, .table-wrap {
    margin: -25px 0 0 0;
}


/* Отображение Anchor */
.article__content__content__anchor--confluence:before {
}

/* Отображение изображений */
.article__content__content figure, .article__content__content figure img {
	margin-bottom:1em !important;
}


/* Скрытое название первой страницы на hero page*/
.space-overview__hero__header__content__intro--intro {
	font-size:0;
}

/*Скрытие языка подсветки для блока кода*/
.code-macro__language {
  display:none !important;
}

/*Скрытие COPY для блока кода*/
div.code-toolbar>.toolbar .toolbar-item {
    display: none;
}

/*Компактный блок кода*/
div.code-toolbar {padding-top: 0rem;
}

pre[class*="language-"] {padding-bottom: 0rem;
}
