/* Размер логотипа в шапке
.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}

.feedback-block {
    padding: 10px;
    background-color: #ebffe5;
    border-radius: 2px;
    position: relative;
    width: 100%;
    margin-bottom: 15px;
    border-radius: 7px;
    overflow: hidden;
}


.dark .feedback-block {
    background-color: #1e1e1e;
}

.page + .feedback-block,
.page + .feedback-block__smile + .feedback-block {
    max-width: 400px;
    margin: 25px auto 0;
}

.feedback-block.wait {
    opacity: 0.5;
}

.feedback-block.wait:after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    cursor: wait;
    z-index: 2;
}

.feedback-block__title {
    font-style: normal;
    font-weight: 600;
    font-size: 18px;
    margin-bottom: 10px;
    text-align: center;
}

.feedback-block__smiles {
    display: flex;
    justify-content: center;
    gap: 5px;
}

.feedback-block__smile {
    cursor: pointer;
    margin-right: 0;
    padding: 6px;
    transition: 0.2s all;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-position: center;
    background-repeat: no-repeat;
}

.feedback-block__smile input {
    position: relative;
    z-index: -1;
    opacity: 0;
}

.feedback-block__smile.green {
    background-image: url(./smile-green.svg);
}

.feedback-block__smile.blue {
    background-image: url(./smile-blue.svg);
}

.feedback-block__smile.red {
    background-image: url(./smile-red.svg);
}

.feedback-block__smile.orange {
    background-image: url(./smile-orange.svg);
}

.feedback-block__smile.green.feedbacks-count {
    text-indent: 30px;
    margin: 25px 0 10px;
    float: left;    
}

.feedback-block__smile.green.feedbacks-count,
.feedback-block__smile.green.feedbacks-count.disabled,
.feedback-block__smile.green.feedbacks-count.active,
.feedback-block__smile.green.feedbacks-count:hover {
    background-color: unset;
    filter: unset;
    opacity: 1;
    cursor: default;
}

.feedback-block__smile.green.active,
.feedback-block__smile.green:hover {
    background-color: #baf1ad;
}
.feedback-block__smile.blue.active,
.feedback-block__smile.blue:hover {
    background-color: #bce2ff;
}
.feedback-block__smile.red.active,
.feedback-block__smile.red:hover {
    background-color: #ffc9cd;
}
.feedback-block__smile.orange.active,
.feedback-block__smile.orange:hover {
    background-color: #f8de9b;
}
.feedback-block__smile.active {
    cursor: default;
}
.feedback-block__smile.disabled {
    filter: grayscale(1);
    opacity: 0.7;
}

.feedback-block__form {
    position: relative;
}

.feedback-block__form-block {
    margin-top: 20px;
}

.feedback-block__form-block .close {
    cursor: pointer;
    transform: rotate(45deg);
    font-size: 25px;
    position: absolute;
    top: -45px;
    right: -10px;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}


.feedback-block__form-block .close:before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #a9c7a0;
    z-index: -1;
    transform: rotate(45deg);
    border-radius: 7px;
}

.feedback-block__form ul {
    margin-bottom: 20px;
    margin-left: 0 !important;
    padding: 0 !important;
}

.feedback-block__form ul,
.feedback-block__form li {
    list-style: none;
    padding-left: 0 !important;
}

.feedback-block__form li {
    margin-bottom: 5px;
    font-style: normal;
    font-weight: 300;
    font-size: 14px;
}

.feedback-block__form li input {
    margin: 5px 10px 0 0;
    appearance: auto;
}

.feedback-block__form li label {
    display: flex;
    align-items: flex-start;
    line-height: 1.5;
}

.feedback-block__form textarea {
    width: 100%;
    height: 80px;
    outline: none;
    resize: none;
    border: 1px solid #d9d9d9;
    border-radius: 3px;
    box-shadow: none;
    padding: 5px;
    font-size: 14px;
    color: #000;
    margin-bottom: 10px;
}

.dark .feedback-block__form textarea {
    border-color: #303030;
    background-color: #121212;
    color: #fff;
}

.feedback-block__form .text-counter {
    font-size: 13px;
    text-align: right;
    margin-bottom: 10px;
}

.feedback-block__form .text-counter.warning {
    color: #e38a00;
}

.feedback-block__form .text-counter.exceeded {
    color: #990000;
}

.dark .feedback-block__form .text-counter.exceeded {
    color: #f10505;
}

.feedback-block__form input[type="email"] {
    width: 100%;
    height: 40px;
    outline: none;
    resize: none;
    border: 1px solid #d9d9d9;
    border-radius: 3px;
    box-shadow: none;
    margin-bottom: 10px;
    padding: 5px;
    font-size: 14px;
    color: #000;
}

.dark .feedback-block__form input[type="email"] {
    border-color: #303030;
    background-color: #121212;
    color: #fff;
}

.feedback-block__form .field-hint {
    margin: -18px 0 20px;
    line-height: 1.3;
    font-size: 12px;
    font-style: italic;
}

.feedback-block__subtitle {
    font-style: normal;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 10px;
}

.feedback-block__subtitle span {
    color: red;
}

.feedback-block__file {
    margin-bottom: 20px;
}

.feedback-block__file label {
    color: #0279c0;
    cursor: pointer;
    display: inline;
    background-repeat: no-repeat;
    background-position: 100% center;
    padding-right: 20px;
}

.feedback-block__file label input {
    display: none;
}

.feedback-block__btn {
    font-style: normal;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    color: #fff;
    background-color: #0279c0;
    border-radius: 3px;
    border: none;
    height: 40px;
    padding: 8px 15px;
    font-size: 14px;
    font-weight: 400;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
}

.dark .feedback-block__btn {
    background: #083f61;
}

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

.sticky-container.offset-element .sticky.is-stuck.is-at-top {
    transform: translateY(9em);
}

.mobile-promo {
  display: none;
  width: 100%;
}

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

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