
/* =========================================================
   Ссылки внутри основного текста страниц
   ========================================================= */
  
#main-content.wiki-content a,
#main-content .wiki-content a,
#page-content .wiki-content a,
.wiki-content p a,
.wiki-content li a,
.wiki-content td a,
.wiki-content th a,
.wiki-content blockquote a,
.wiki-content .panelContent a,
.wiki-content .confluence-information-macro-body a {
    color: #0052CC !important;
    text-decoration: none !important;
    font-weight: 500;
}
  
/* Наведение на ссылки внутри текста */
#main-content.wiki-content a:hover,
#main-content .wiki-content a:hover,
#page-content .wiki-content a:hover,
.wiki-content p a:hover,
.wiki-content li a:hover,
.wiki-content td a:hover,
.wiki-content th a:hover,
.wiki-content blockquote a:hover,
.wiki-content .panelContent a:hover,
.wiki-content .confluence-information-macro-body a:hover {
    color: #0747A6 !important;
    text-decoration: none !important;
}
  
  
/* =========================================================
   Боковое меню пространства - темное серое, без подчеркивания
   ========================================================= */
  
#space-sidebar a,
.acs-side-bar a,
.ia-fixed-sidebar a,
.ia-splitter-left a,
#navigation a,
.sidebar a,
.quick-links-section a,
.page-tree a,
.plugin_pagetree a,
.plugin_pagetree_children_list a {
    color: #2B2B2B !important;
    text-decoration: none !important;
    font-weight: 400 !important;
}
  
/* Наведение в боковом меню */
#space-sidebar a:hover,
.acs-side-bar a:hover,
.ia-fixed-sidebar a:hover,
.ia-splitter-left a:hover,
#navigation a:hover,
.sidebar a:hover,
.quick-links-section a:hover,
.page-tree a:hover,
.plugin_pagetree a:hover,
.plugin_pagetree_children_list a:hover {
    color: #111111 !important;
    text-decoration: none !important;
}
  
/* Выбранный пункт в боковом меню */
#space-sidebar .selected a,
.acs-side-bar .selected a,
.ia-fixed-sidebar .selected a,
.ia-splitter-left .selected a,
#navigation .selected a,
.sidebar .selected a {
    color: #111111 !important;
    font-weight: 600 !important;
    text-decoration: none !important;
}
/* =========================================================
   Макросы на страницах - графитовые ссылки
   Задачи проекта, недавно обновлено, служебные списки
   ========================================================= */
  
/* Задачи проекта / таблицы / Jira-подобные макросы */
html body #main-content table a,
html body #main-content .jiraissues a,
html body #main-content .jira-issues a,
html body #main-content .jira-issues-table a,
html body #main-content .jira-macro-table a,
html body #main-content [class*="jira"] a,
html body #main-content [id*="jira"] a {
    color: #2B2B2B !important;
    text-decoration: none !important;
    font-weight: 500 !important;
}
  
/* Недавно обновлено / activity / update-блоки */
html body #main-content [class*="recent"] a,
html body #main-content [id*="recent"] a,
html body #main-content [class*="update"] a,
html body #main-content [id*="update"] a,
html body #main-content .recently-updated a,
html body #main-content .recently-updated-list a,
html body #main-content .update-item a,
html body #main-content .stream-item a,
html body #main-content .activity-item a,
html body #main-content .content-byline a {
    color: #2B2B2B !important;
    text-decoration: none !important;
    font-weight: 500 !important;
}
  
/* Наведение */
html body #main-content table a:hover,
html body #main-content [class*="jira"] a:hover,
html body #main-content [id*="jira"] a:hover,
html body #main-content [class*="recent"] a:hover,
html body #main-content [id*="recent"] a:hover,
html body #main-content [class*="update"] a:hover,
html body #main-content [id*="update"] a:hover,
html body #main-content .recently-updated a:hover,
html body #main-content .recently-updated-list a:hover,
html body #main-content .update-item a:hover,
html body #main-content .stream-item a:hover,
html body #main-content .activity-item a:hover,
html body #main-content .content-byline a:hover {
    color: #111111 !important;
    text-decoration: none !important;
}
  
/* =========================================================
   Заголовки - того же цвета, что и основной текст
   ========================================================= */
  
html body #main-content h1,
html body #main-content h2,
html body #main-content h3,
html body #main-content h4,
html body #main-content h5,
html body #main-content h6,
html body #content h1,
html body #content h2,
html body #content h3,
html body #content h4,
html body #content h5,
html body #content h6 {
    color: inherit !important;
    font-weight: 600 !important;
    line-height: 1.3 !important;
}
  
/* Заголовок 1 уровня - крупный и жирный */
html body #main-content h1,
html body #content h1 {
    font-size: 28px !important;
    font-weight: 700 !important;
    margin-top: 24px !important;
    margin-bottom: 18px !important;
    line-height: 1.25 !important;
}
  
/* Основные разделы страницы */
html body #main-content h2,
html body #content h2 {
    font-size: 22px !important;
    margin-top: 32px !important;
    margin-bottom: 14px !important;
    padding-bottom: 6px !important;
    border-bottom: 1px solid #D9D9D9 !important;
}
  
/* Подразделы */
html body #main-content h3,
html body #content h3 {
    font-size: 18px !important;
    margin-top: 24px !important;
    margin-bottom: 10px !important;
}
  
/* =========================================================
   Задачи проекта / Недавно обновлено - не жирные ссылки
   ========================================================= */
  
html body #main-content table a,
html body #main-content .jiraissues a,
html body #main-content .jira-issues a,
html body #main-content .jira-issues-table a,
html body #main-content .jira-macro-table a,
html body #main-content [class*="jira"] a,
html body #main-content [id*="jira"] a,
html body #main-content [class*="recent"] a,
html body #main-content [id*="recent"] a,
html body #main-content [class*="update"] a,
html body #main-content [id*="update"] a,
html body #main-content .recently-updated a,
html body #main-content .recently-updated-list a,
html body #main-content .update-item a,
html body #main-content .stream-item a,
html body #main-content .activity-item a,
html body #main-content .content-byline a {
    color: #2B2B2B !important;
    text-decoration: none !important;
    font-weight: 400 !important;
}
  
/* Наведение */
html body #main-content table a:hover,
html body #main-content [class*="jira"] a:hover,
html body #main-content [id*="jira"] a:hover,
html body #main-content [class*="recent"] a:hover,
html body #main-content [id*="recent"] a:hover,
html body #main-content [class*="update"] a:hover,
html body #main-content [id*="update"] a:hover,
html body #main-content .recently-updated a:hover,
html body #main-content .recently-updated-list a:hover,
html body #main-content .update-item a:hover,
html body #main-content .stream-item a:hover,
html body #main-content .activity-item a:hover,
html body #main-content .content-byline a:hover {
    color: #111111 !important;
    text-decoration: none !important;
    font-weight: 400 !important;
}
  
/* =========================================================
   Красная кнопка как верхняя "Создать"
   ========================================================= */
  
#main-content .panelContent a.aui-button,
#main-content .confluence-information-macro-body a.aui-button,
#main-content .panelContent .aui-button,
#main-content .confluence-information-macro-body .aui-button {
    background: #C20F16 !important;
    background-image: none !important;
    border: 1px solid #C20F16 !important;
    color: #FFFFFF !important;
    text-shadow: none !important;
    box-shadow: none !important;
}
  
/* текст внутри кнопки */
#main-content .panelContent a.aui-button *,
#main-content .confluence-information-macro-body a.aui-button *,
#main-content .panelContent .aui-button *,
#main-content .confluence-information-macro-body .aui-button * {
    color: #FFFFFF !important;
}
  
/* наведение */
#main-content .panelContent a.aui-button:hover,
#main-content .confluence-information-macro-body a.aui-button:hover,
#main-content .panelContent .aui-button:hover,
#main-content .confluence-information-macro-body .aui-button:hover {
    background: #A10D12 !important;
    border-color: #A10D12 !important;
    color: #FFFFFF !important;
    text-decoration: none !important;
}
  
/* нажатие */
#main-content .panelContent a.aui-button:active,
#main-content .confluence-information-macro-body a.aui-button:active,
#main-content .panelContent .aui-button:active,
#main-content .confluence-information-macro-body .aui-button:active {
    background: #8E0B10 !important;
    border-color: #8E0B10 !important;
    color: #FFFFFF !important;
}
  
/* =========================================================
   Упоминание текущего пользователя - видимый текст ФИО
   ========================================================= */
 
html body #main-content .current-user-mention,
html body #main-content a.current-user-mention,
html body #main-content span.current-user-mention,
html body #main-content .current-user-mention *,
html body #main-content a.current-user-mention *,
html body #main-content span.current-user-mention * {
    color: #FFFFFF !important;
    text-shadow: none !important;
}
 
/* =========================================================
   Кнопка "Создать из шаблона" - всегда бордовая с белым текстом
   ========================================================= */
 
html body #main-content a.aui-button[href*="createpage"],
html body #main-content a.aui-button[href*="template"],
html body #main-content a.aui-button[href*="templateId"],
html body #main-content a.aui-button[href*="create-from-template"],
html body #main-content .create-from-template a.aui-button,
html body #main-content .create-from-template-button,
html body #main-content [class*="create-from-template"] a.aui-button,
html body #main-content [class*="create-from-template"] .aui-button {
    background: #B8151B !important;
    background-color: #B8151B !important;
    background-image: none !important;
    border: 1px solid #B8151B !important;
    color: #FFFFFF !important;
    text-shadow: none !important;
    box-shadow: none !important;
    text-decoration: none !important;
    font-weight: 600 !important;
}
 
/* Текст и вложенные элементы внутри кнопки */
html body #main-content a.aui-button[href*="createpage"] *,
html body #main-content a.aui-button[href*="template"] *,
html body #main-content a.aui-button[href*="templateId"] *,
html body #main-content a.aui-button[href*="create-from-template"] *,
html body #main-content .create-from-template a.aui-button *,
html body #main-content .create-from-template-button *,
html body #main-content [class*="create-from-template"] a.aui-button *,
html body #main-content [class*="create-from-template"] .aui-button * {
    color: #FFFFFF !important;
    text-shadow: none !important;
}
 
/* Наведение, фокус, нажатие - оставляем тот же цвет */
html body #main-content a.aui-button[href*="createpage"]:hover,
html body #main-content a.aui-button[href*="createpage"]:focus,
html body #main-content a.aui-button[href*="createpage"]:active,
html body #main-content a.aui-button[href*="template"]:hover,
html body #main-content a.aui-button[href*="template"]:focus,
html body #main-content a.aui-button[href*="template"]:active,
html body #main-content a.aui-button[href*="templateId"]:hover,
html body #main-content a.aui-button[href*="templateId"]:focus,
html body #main-content a.aui-button[href*="templateId"]:active,
html body #main-content a.aui-button[href*="create-from-template"]:hover,
html body #main-content a.aui-button[href*="create-from-template"]:focus,
html body #main-content a.aui-button[href*="create-from-template"]:active,
html body #main-content .create-from-template a.aui-button:hover,
html body #main-content .create-from-template a.aui-button:focus,
html body #main-content .create-from-template a.aui-button:active,
html body #main-content .create-from-template-button:hover,
html body #main-content .create-from-template-button:focus,
html body #main-content .create-from-template-button:active,
html body #main-content [class*="create-from-template"] a.aui-button:hover,
html body #main-content [class*="create-from-template"] a.aui-button:focus,
html body #main-content [class*="create-from-template"] a.aui-button:active,
html body #main-content [class*="create-from-template"] .aui-button:hover,
html body #main-content [class*="create-from-template"] .aui-button:focus,
html body #main-content [class*="create-from-template"] .aui-button:active {
    background: #B8151B !important;
    background-color: #B8151B !important;
    background-image: none !important;
    border-color: #B8151B !important;
    color: #FFFFFF !important;
    text-decoration: none !important;
    box-shadow: none !important;
}

/* Скрыть ссылку сброса пароля на странице входа */
#forgot-password {
    display: none !important;
}


