/* Размер логотипа в шапке
.header__navigation__menu-container--logo a img{
  width: 110px;
  margin-bottom: 10px;
} */
.footer__attribution-line--copyright{
  opacity:0;
}
.footer__attribution-line--copyright.show{
  opacity:1;
}
.space-overview__hero__header__content{
  padding-top: 6em !important;

}
.header__navigation__menu-container--logo a img{
  width: 130px;
  margin-right: 20px;
}
.footer__logo{
  margin-right: 0;
}
/*.hc-header-background-color{
 position: relative;
  z-index: 0;

}
main .space-overview__hero .hc-header-background-color:before{
  position: absolute;
  right: 0;
    top: 1%;
    bottom: 0;
  left:0;
  display:block;
  background-image: url(bg2.png);
  content:"";
  width: 100%;
  height: 98%;
    background-repeat: no-repeat;
    background-position: 80% top;
    background-size: 50% auto;
    mix-blend-mode: hard-light;
    filter: blur(4px);
    transition: all 1s;
  z-index: 0; 

} */
.hc-header-background-color > .grid-container{
  z-index: 1;
  position: relative;
}

main .space-overview__hero .hc-header-background-color{
    background-position: center center;
  	position:relative;
  background-color: transparent !important;
  box-shadow: none;
  /*overflow: hidden;*/
}
main .space-overview__hero .hc-header-background-color:before{
  content : "";
    background-position: 10% center;
  background-image: url(part_2.png);
  height: 150px;
  width: 99vw;
  background-repeat: no-repeat;
    background-size: contain;
  position: absolute;
  right: 0;
    bottom: 10px;
  left:0%;
  display:block;
}
main .space-overview__hero .hc-header-background-color:after{
  content : "";
    background-position: 110% center;
  background-image: url(part_1.png);
  height: calc(100% - 70px);
  width: 99vw;
  background-repeat: no-repeat;
    background-size: contain;
  position: absolute;
  right: 0px;
    top: 50px;
    bottom: 0;
  display:block;
  
}
@media (min-width:320px) and (max-width:599px) { 
  main .space-overview__hero .hc-header-background-color:before,
  main .space-overview__hero .hc-header-background-color:after{
    display:none;
  }
  .space-overview__hero__header__content__intro{
    margin-bottom: 10px;
  }
}
/* Размер логотипа в подвале
img.footer__logo {
  width: 110px;
}  */

/* Размер заголовка */
.article .article__content article h1, 
.article .article__content table h1{
      font-size: 2.2rem;
}
.article .article__content article h2, 
.article .article__content table h2{
  font-size: 1.8rem;
  margin: calc(3 * 1rem) 0 calc(1 * 1rem) 0;
}


/* Строка поиска на главной */
.search-bar--small #search-input{
  border: none;
  box-shadow: 0 0 5px rgb(0 0 0 / 30%) inset;
  border-radius: 30px;
  padding-left: 15px;
}
.search-bar--full-width #search-input{
  border: none;
  box-shadow: 0 0 5px rgb(0 0 0 / 30%) inset;
  border-radius: 30px !important;
  padding-left: 22px;
  margin-bottom: 30px;
}
.search-bar__quick-results ul{
  top:-13px;
  border-radius: 8px !important;
}


/* Недавние статьи */
.custom-recent-articles{
  display: flex;
  flex-direction: column;
}

.custom-recent-articles ul {
  font-size: 18px;
  margin-left: 0;
}
.custom-recent-articles ul li.update-item{
  padding-bottom: 10px;
}

.large-shrink.hc-footer-font-color{
  	display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
  margin-right: 20px;
}
.large-shrink.hc-footer-font-color img {
  	margin-bottom: 10px;
}

/*
#list ul.list--list{
    display: flex;
    flex-wrap: wrap;
}
#list ul.list--list li{
  width:25%;
}
*/

/* Убираем стрелки на главной в основном перечне статей */
body[pageid="153485697"] ul.list--list li.read-more-arrow{
  display:none;
}
body[pageid="153485697"] .list ul.list--list{
  margin-bottom:0;
}

.custom-recent-articles, .custom-recent-comments{
  margin: 50px auto 20px;
  width: 80%;
}
.custom-recent-articles li.update-item {
  list-style: none;
}
.custom-recent-articles li.update-item .update-item-icon{
  margin-right: 10px;
}


/* Размер шрифта дерева */
#js-desktop-pageTree > ul > li > a {
  font-size: 16px;
  font-weight:bold;
}

.renderPageTree__item a{
  
}
.renderPageTree__item.has-submenu-toggle.is-accordion-submenu-parent a{
  font-size: 14px;
}

/* Убрать лишние пробелы после макросов */
br.conf-macro.output-block[data-macro-name=include],
div[data-macro-name=include] br {
    display: none;
}
div[data-macro-name=include] p {
    padding: 0;
    margin: 0;
}

/* Отступ спискам в мобиле */

/* smartphones, portrait iPhone, portrait 480x320 phones (Android) */
@media (min-width:320px) and (max-width:479px) { 
  .article .article__content article #content ul,
  .article .article__content article ul,
  #main-content ul{
    /*list-style-position: inside;*/
    margin-left: 20px;
  }
  
  /* Размер заголовка */
  .article .article__content article h1, 
  .article .article__content table h1{
    font-size: 1.8rem;
    line-height: 2.4rem;
  }
  .article .article__content article h2, 
  .article .article__content table h2{
    font-size: 1.5rem;
    line-height: 1.8rem;
    margin: calc(2 * 1rem) 0 calc(1 * 1rem) 0;
  }
  
  /* Отступ подвала */
  .article.grid-container{
    margin-bottom: 2rem !important;
  }
  footer.grid-container{
    margin-top: 2rem !important;
  }
}



/* smartphones, Android phones, landscape iPhone */
@media (min-width:480px) and (max-width:599px) { 
  .article .article__content article #content ul,
  .article .article__content article ul,
  #main-content ul{
    /*list-style-position: inside;*/
    margin-left: 20px;
  }
  
  /* Размер заголовка */
  .article .article__content article h1, 
  .article .article__content table h1{
    font-size: 1.8rem;
    line-height: 2.4rem;
  }
  .article .article__content article h2, 
  .article .article__content table h2{
    font-size: 1.5rem;
    line-height: 1.8rem;
    margin: calc(2 * 1rem) 0 calc(1 * 1rem) 0;
  }
  
  /* Отступ подвала */
  .article.grid-container{
    margin-bottom: 2rem !important;
  }
  footer.grid-container{
    margin-top: 2rem !important;
  }
}

/* Макрос CODE */
.code-macro[data-macro-name="sp-macrooverride-plaintextbody-block"] p.code-macro__title{
  background: #d3d3d3;
    display: block;
    margin-bottom: 0 !important;
    width: 100%;
    padding: 3px 10px;
    max-width: 100% !important;
    border-bottom: 2px solid #1469c8;
    font-size: .8rem;
    font-weight: normal;
    font-family: monospace, "Courier New";
    border-top-right-radius: 3px;
    border-top-left-radius: 3px;
}
.code-macro[data-macro-name="sp-macrooverride-plaintextbody-block"] p.code-macro__title + .code-toolbar{
  border-top-right-radius: 0;
    border-top-left-radius: 0;
}

.code-macro .code-macro__language {
  display:none !important;
}
.code-macro .code-toolbar{
  padding-top: 0!important;
}
.code-macro .code-toolbar pre[class*="language-"]{
  padding-bottom: 1rem !important;
}
.code-macro .toolbar,
.code-macro div.code-toolbar>.toolbar{
  /*display:none !important;*/
  opacity:0;
  transition:.5s;
}
.code-macro:hover .toolbar,
.code-macro:hover div.code-toolbar>.toolbar{
  opacity:1;
}
div.code-toolbar>.toolbar>.toolbar-item{
  background:#ececec;
}

#backtop{
    position:fixed;
    bottom:30px;
    right: 40px;
    display: none;
}
#backtop a{
    width:48px;
    display:block;
    text-align:center;
    font:9px/100% Arial, Helvetica, sans-serif;
    text-transform:uppercase;
    text-decoration:none;
    color:#fff;
    transition:.5s;
  opacity:.3;
}
#backtop a:hover{
  opacity:1;
}
#backtop span{
    width:48px;
    height:48px;
    display:block;
    margin-bottom:7px;
    background:#818181;
    border-radius:7px;
    transition:.5s;
}
#backtop span svg{
    margin-top:7px;
    margin-bottom: 3px;
}
#backtop span svg polygon{
    fill:#fff;
}
#backtop a:hover span{background-color:#1469c8}

/* код для баннеров */

.sticky-container.offset-element .sticky.is-stuck.is-at-top {
    transform: translateY(9em);
}
.desktop-promo {
  position: relative;
  z-index: 2;
  width: 100%;
}
.mobile-promo {
  display: none;
  width: 100%;
  position: relative;
  z-index: 2;  
}

@media (max-width: 640px) {
  .mobile-promo {
    display: block;
  }
  .desktop-promo {
    display: none;
  }
}

/* конец кода для баннеров */
