/* Подключение EuclidCirclularB шрифтов */
@font-face {
  font-family: 'Euclid Circular B SemiBold';
  src: url('EuclidCircularB-SemiBold.woff') format('woff');
}

@font-face {
  font-family: 'Euclid Circular B Regular';
  src: url('EuclidCircularB-Regular.woff') format('woff');
}

@font-face {
  font-family: 'Euclid Circular B Medium';
  src: url('EuclidCircularB-Medium.woff2') format('woff2');
}

@font-face {
  font-family: 'Inter Regular';
  src: url('Inter-Regular.woff') format('woff');
}
/* ------------------------------------ */

/* Глобальный шрифт Georgia */
body {
  font-family: "Inter Regular", sans-serif;
}

/* Шрифт пункта в левом сайдбаре */
.renderPageTree__item a {
  font: 14px/1.68 "Euclid Circular B Regular", "Roboto", sans-serif;
  border-radius: 6px;
}

/* Шрифт активного пункта в левом сайдбаре */
.menu .is-active:not(ul)>a {
  font-family: "Euclid Circular B SemiBold", "Roboto", sans-serif;
}

/* Заголовок статьи H1 */
.article .article__content article h1 {
  font: 40px/1.27 "Euclid Circular B SemiBold", "Roboto", sans-serif;
}

/* Заголовок статьи H2 */
.article .article__content article h2 {
  font: 34px/1.28 "Euclid Circular B SemiBold", "Roboto", sans-serif;
  letter-spacing: -.02em;
  margin: calc(2 * 1rem) 0;
}

/* Стили текста в статье */
.article .article__content article {
  font-size: 18px;  
}

.article .article__content article p,
.article .article__content article ol li {
  font-size: 18px;
  font-family: "Inter Regular", sans-serif;
  line-height: 1.68;
}
/* ---------------------- */

/* Шрифт выделенного текста в статье */
.article .article__content article p strong {
  font-family: "Inter Regular", sans-serif;
  font-weight: bold;
}

/* Шрифт хлебных крошек */
.breadcrumbs li {
  font-family: "Euclid Circular B Regular", "Roboto", sans-serif;
}

/* Цвет ссылок в тексте */
.wiki-content a {
  color: #0085D7;
}


/* Скрыт футер с копирайтом */
.footer {
  display: none;
}

/* Отступ для логотипа слева */
.menu .menu-text {
  margin-left: 10px;  
}

/* Строка поиска в хедере */
.search-bar {
  width: 526px;
}

.top-bar input {
  max-width: 526px;
}

#search-input {
  border-radius: 6px;
}

/* Ссылка All Products в сайдбаре */
#all-products-link {
  padding-top: 0;
  padding-bottom: 0;
  margin-bottom: 20px;
}

#all-products-link::after {
  content: unset;
}
/* ----------------------------- */

/* ---------------------- */
@media print, screen and (min-width: 64em) {
  .top-bar .top-bar-right {
      flex: 4.3 1 auto;
  }
}

@media print, screen and (max-width: 63.99875em) {
  .search-bar {
    width: unset;
  }
}
/* ----------------------- */

/* Ширина текста статьи 750px */
@media print, screen and (min-width: 55em) {
  .grid-x>.medium-auto {
      max-width: 814px;
  }
}

/* Шрифт в аккордеоне */
.megaAccordion__item>a.accordion-title {
  font-family: "Euclid Circular B SemiBold", "Roboto", sans-serif;
}

/* Шрифт заголовков таблиц */
.article .article__content article table.confluenceTable tbody tr th.confluenceTh {
  font-family: "Euclid Circular B SemiBold", "Roboto", sans-serif;
}

/* Выравнивание строки поиска */
.top-bar {
  display: block;
}

.top-bar-left {
  display: inline-block;
}

.top-bar-right {
  display: inline-block;
}

/* Отступы картинок в статье */
.article .article__content article ol li>figure:last-child {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

.article .article__content article ol li figure {
  margin-bottom: 0;
}

.article .article__content article figure {
  margin-bottom: 0;
}

@media print, screen and (min-width: 64em) {
  .top-bar .top-bar-right {
      margin-left: 73px;
  }
}

@media print, screen and (min-width: 1500px) {
  .top-bar .top-bar-right {
    margin-left: 123px;
  }
}

/* Кнопка на сайт */
.header__navigation__menu-container--link--border {
  order: 2;
  max-width: 140px;
  color: #FFFFFF;
  background-color: #ea2678;
  border-radius: 7px;
  border: none;
  text-align: center;
  margin-left: auto!important;
  cursor: pointer;
  padding-top: 0!important;
}

.header__navigation__menu-container--link--border .hc-header-font-color {
  color: #FFFFFF!important;
  padding-left: 0.7em!important;
}

.header__navigation__menu-container--link--border:hover {
  background-color: #d41b68;
}

.header__navigation__menu-container--link--border .hc-header-font-color:hover {
  color: #FFFFFF!important;
  background-color: #d41b68;
  text-decoration: none;
  border-radius: 7px;
}

.header__navigation__menu-container--link--border .hc-header-font-color:visited {
  color: #FFFFFF!important;
  background-color: #d41b68;
  text-decoration: none;
  border-radius: 7px;
}

@media print, screen and (min-width: 1024px) {
  .header__navigation__menu-container--link--border {
  	order: 10;
    padding: 0!important;
    margin-left: 42px!important;
  }
  
  .header__navigation__menu-container--link--border .hc-header-font-color {
    padding: 0.7rem 1rem!important;
  }
  
  .search-bar {
    width: 474px;
  }
}

@media print, screen and (min-width: 1500px) {
  .header__navigation__menu-container--link--border {
     margin-left: 117px!important;
  }
  
  .search-bar {
    width: 526px;
  }
}

/* @media print, screen and (max-width: 1500px) { 
  .header__navigation__menu-container--link--border {
    display: none;
  }
}
*/

/* -------------------------- */