@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Ubuntu:wght@400;500;700&display=swap');

html {
    scroll-padding-top: 0;
}

.flexbox {
  display: flex;
}

.pt-75 {
  padding-top: 75px;
}


.flexbox--threecols > *{
  flex-wrap: wrap;
  width: 32%;
}

.flexbox--fourcols > *{
  flex-wrap: wrap;
  width: 24%;
}

.flexbox--jcsb {
  justify-content: space-between;
}

.article__navigation,
.button.enlarge-table-button{
  display: none;
}

.header__navigation__menu-container--logo a img {
  width: 120px;
}

.header__navigation__menu-container,
.article, .table-overlay{
  max-width: calc(1176px + 4rem);
}

.grid-x.article__content {
    flex-wrap: nowrap;
}

#article-content {
  //width: 1180px;
  //min-width: calc(1178px + 2rem);
  width:100%;
  max-width: calc(1178px + 2rem);
}

.article .article__content, .table-overlay .article__content {
  padding:0;
}

.article .article__content article, .article .article__content table, .table-overlay .article__content article, .table-overlay .article__content table {
  //padding: 0 calc(2 * 1rem) 0 0;
  padding: 0
}

.cell.xlarge-2.article__toc.show-for-xlarge {
  width: 300px;
}

.article__toc .js-tocBot, .table-overlay__toc .js-tocBot {
  border: none;
}

.article__toc .js-tocBot li:first-of-type, .table-overlay__toc .js-tocBot li:first-of-type {
  margin: 0 0 40px;
}

.article .article__content article h1, .article .article__content table h1, .table-overlay .article__content article h1, .table-overlay .article__content table h1 {
  margin: 0 0 60px;
  font-weight: 600;
  font-family: 'Raleway', sans-serif;
  color: #13202C;
}

.header__navigation nav {
  border-bottom: 1px solid #70828E;
  box-shadow: none;
}

.article, .table-overlay {
  margin-top: calc(7rem + 63px);
}

.sectionMacroRow {
  margin-bottom: 50px;
}

.sectionColumnWrapper.conf-macro.output-block {
  overflow: visible;
}

.doc-section {
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    box-shadow: 0px 3px 10px rgba(0, 0, 0, 0.15);
    padding: 25px 25px 25px 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    outline: none;
  	height: 100%;
}

.doc-section em {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  background-position: 100% 0;
  background-repeat: no-repeat;
  width: 100%;
  position: relative;
  background-size: 25%;
  z-index: 1;
}

.doc-section:before {
    content: "";
    border-radius: 50%;
    background: rgb(247, 250, 255);
    width: 220px;
    height: 220px;
    transition: all 0.3s ease;
    position: absolute;
    bottom: -50px;
    right: -33px;
}

.doc-section:after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  background-repeat: no-repeat;
  background-position: 100% calc(100% - 10px);
  z-index: 0;
}

.doc-section .gray {
    color: #13202C !important;
    font-weight: 300;
    font-size: 16px;
    display: block;
    text-decoration: none !important;
    margin: 24px 0 16px;
  	line-height: 1.5;	
}


.doc-section-list {
  	margin-top: 5px;
    display: block;
}


.doc-section .doc-section-list u{
    color: #13202C;
    font-weight: 300;
    font-size: 16px;
    display: flex;
  	align-items: center;
    text-decoration: none !important;
    margin-bottom: 7px;
}

.doc-section .doc-section-list u:before {
  content:'';
  width: 3px;
  height: 3px;
  background: #000;
  margin-right: 10px;
  border-radius: 50%;
}

.doc-section .gray:after,
.doc-section .doc-section-list:after {
  display:none;
}

.doc-section.lk:after {
  background-image: url(img/pic-user.png);
}

.doc-section.rub:after,
.doc-section.eur:after{
  background-image: url(img/pic-money-eur.png);
}

.doc-section.list:after {
  background-image: url(img/pic-list.png);
}

.doc-section:hover,
.doc-section:hover span{
 text-decoration: none !important; 
}

.doc-section:hover:before {
    right: -50%;
    bottom: -50%;
    width: 200%;
    height: 200%;
}

.doc-section strong {
    font-family: 'Raleway';
    font-style: normal;
    font-weight: 600;
    font-size: 24px;
    line-height: 26px;
    color: #13202C;
}

.doc-section span {
  font-family: 'Ubuntu';
  font-style: normal;
  font-weight: 500;
  font-size: 16px;
  line-height: 1;
  color: #0279C0 !important;
  margin-top: 16px;
}

.doc-section span:after {
  content:'';
  display: inline-block; 
  background: url(img/arrow-right-blue.svg) no-repeat;
  width: 19px;
  height: 11px;
  vertical-align: middle;
  margin-left: 10px;
  transition: 0.2s all ease;
}

.doc-section:hover span:after {
  margin-left: 15px;
}

.article .article__content article h2, .article .article__content table h2, .table-overlay .article__content article h2, .table-overlay .article__content table h2 {
  font-family: 'Raleway';
  font-style: normal;
  font-weight: 600;
  font-size: 32px;
  line-height: 48px;
  color: #13202C;
}

.article .article__content article table.confluenceTable tbody tr td.confluenceTd,
thead, tbody, tfoot{
  border: none;
}

.article .article__content article .table-wrap {
  overflow: visible;
}

.product-table {
  background: #FFFFFF;
  box-shadow: 0px 3px 10px rgba(0, 0, 0, 0.15);
  border-radius: 10px;
  padding: 35px 30px 40px;
  max-width: 285px;
}

.product-table.old {
    background: #FAFAFA;
    max-width: 270px;
    max-width: 228px;
}

.product-table img {
  margin-bottom: 30px !important; 
  width: 190px;
}

.article .article__content article .product-table p {
  font-family: 'Ubuntu';
  font-style: normal;
  font-weight: 300;
  font-size: 16px;
  line-height: 24px;
  color: #344A5E;
   margin-bottom: 60px; 
  min-height: 170px
}

.article .article__content article .product-table .row p {
   margin-bottom: 10px; 
  min-height: unset;
}



.article .article__content article .product-table.old p {
  min-height: 250px;
  //margin-bottom: 40px;
}

.article .article__content article .product-table.old .row p {
  min-height: unset;
  margin-bottom: 10px;
}

.article .article__content article .product-table .row p:last-child,
.article .article__content article .product-table.old .row p:last-child {
   margin-bottom: 0; 
}

.article .article__content article .product-table .row p a,
.article .article__content article .product-table .row p a:link,
.article .article__content article .product-table .row a,
.article .article__content article .product-table .row a:link {
  font-family: 'Ubuntu';
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 18px;
  color: #0279C0;
}

.article .article__content article figure img, .article .article__content table figure img {
  width: 190px;
}


.article .article__content article figure, .article .article__content table figure, .table-overlay .article__content article figure, .table-overlay .article__content table figure {
  margin:0;
}

footer {
  border-top: 1px solid #70828E;
}

footer,
.grid-container.full,
footer .hc-footer-background-color {
  background-color: #fff;
  color: #344A5E !important;
}

footer .hc-footer-font-color .footer__links a,
.hc-footer-font-color, .hc-footer-font-color > a{
  color: #344A5E !important;
}

footer .footer--alignment {
  max-width: calc(1176px + 4rem);
}


#search {
  display: none;
}

#search-custom {
  display: flex;
}

#search-input-custom {
    border-radius: 3px;
    box-shadow: none;
    margin-right: 0;
    padding-right: 2rem;
}

.search-bar--small #search-input-custom {
  font-size: 14px;
  border: 1px solid #DFE1E6;
}


.search-results > .grid-x{
  max-width: 100%;
}

.#js-search-info-text p {
  display: none;
}


.products_select {
display: flex;
    align-items: center;
    flex: 1 0 auto;
    background: #f2f2f2;
    height: 39px;
    border-radius: 0 3px 4px 0;
    margin-left: -2px;
    padding: 0 25px 0 10px;
    font-size: 14px;
    user-select: none;
    cursor: pointer;
    position: relative;
    margin-right: 10px;
}

.products_select:after {
    content: '';
    width: 0;
    height: 0;
    border-left: 5px solid #0000;
    border-right: 5px solid #0000;
    border-top: 6px solid #666;
    position: absolute;
    right: 8px;
    top: 17px;
}

#search-custom .help-button {
    position: absolute;
    right: -25px;
    top: 11px;
  	cursor: pointer;
}


.searchform_main .products_select .list {
    display: none;
    position: absolute;
    top: 45px;
    background: #fff;
    right: 0;
    padding: 3px 0 5px 0;
    line-height: 1.3;
    width: 310px;
    border-radius: 3px;
    z-index: 2;
    box-shadow: 0px 2px 4px rgb(0 0 0 / 30%);
    max-height: 300px;
    overflow: auto;
}

.searchform_main .products_select .list .option {
    padding: 10px 10px 10px 12px;
    margin: 0;
  	display: block;
  	line-height: 18.2px;
    cursor: pointer;
}

.searchform_main .products_select .list .option input{
  	margin: 0 7px 0 0;
}

.searchform_main .products_select .list .option:hover {
    background: #f4f5f7;
}

.sp-search-highlight {
	background: #ff0;
}


#popup__overlay {
    display: none;
    background: #0006;
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 999;
}

ul.dropdown.menu {
    display: flex;
    justify-content: space-between;
      align-items: center;
}

#js-search-checkbox {
  	flex: 1;
    text-align: right;
    padding-right: 25px;
}

#js-search-checkbox label,
#js-search-title-checkbox label{
  cursor: pointer;
}

.#js-search-no-result-text {
  display: none;
}



main .search-bar input.search-btn {
    width: auto;
    display: block;
    height: 39px;
    background-color: #f2f2f2;
    margin: 0;
    top: 0;
    padding: 0 20px 0 30px;
    border-radius: 4px;
    font-size: 14px;
    line-height: 1;
    left: 0;
    right: 0;
    position: relative;
    background-repeat: no-repeat;
    background-size: 12px;
    background-position: 12px center;
    margin-right: 0;
}

a.button,
.button {
  color: #344A5E;
  font-weight: 500;
  font-size: 16px;
  padding: 10px 25px;
  border-radius: 3px;
  font-family: 'Ubuntu';
}

.button--yellow {
  background: #F8E71B;
}

.button--yellow:active,
.button--yellow:focus,
.button--yellow:hover {
  background: #ffc700;
  color: #344A5E;
  text-decoration: none;
}

.subheader-custom {
	background-image: url(img/header-bg.jpg);
  	color: #fff;
  	height: 110px;
  	font-family: 'Raleway';
}

.subheader-custom .header__navigation__menu-container {
  padding-top: 0;
  padding-bottom: 0;
  height: 100%;
  position: relative;
}

.subheader-custom .header__navigation__menu-container:before {
  content: '';
  position: absolute;
  top:0;
  right: 200px;
  width: 484px;
  height: 100%;
  background-image: url(img/header-element.png);
  background-repeat: no-repeat;
}

.subheader-custom .button {
  margin: 0;
}

.subheader-custom__wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
  	height: 100%;
  	position: relative;
}

.subheader-custom__text {
  font-weight: 600;
  font-size: 20px;
  line-height: 38px;
  line-height: 1.2;
}

.subheader-custom__text--big {
  font-weight: 700;
  font-size: 36px;
}

.sectionMacroRow {
    display: flex;
    margin-bottom: 30px;
  	column-gap: 20px;
    row-gap: 30px;
}


.sectionMacro .columnMacro {
  border: 0;
  padding: 0;
  width: calc(33% - 10px) !important;
  min-width: unset !important;
  max-width: unset !important;
  padding-left: 0 !important;
  display: block;
}

.close-button.medium, .close-button {
  	top: 9px;
    margin-top: 0 !important;
  	margin-right: 0 !important;
}


@media (max-width: 1024px) {
  .header__navigation__menu-container__menu li {
    padding-left: 0;
  }
  .doc-section em {
    background-position: 100% 100%;
    background-size: 60px;
  }
  .flexbox.flexbox--fourcols.flexbox--jcsb {
    flex-wrap: wrap;
    justify-content: flex-start;
    margin-right: -20px;
  }
  
  .doc-section strong {
    width: auto;
  }
  
  .product-table.old {
    max-width: calc(33% - 20px);
    width: calc(33% - 20px);
    margin-bottom: 20px;
    margin-right: 20px;
  }
  
  span.header__navigation__menu-container__menu--heading {
    margin-bottom: 15px;
    display: block;
    margin-top: -15px;
  }
  
  .renderPageTree__item {
    margin: 0 !important;
  }
  
  .header__navigation__menu-container__menu li a {
      padding-left: 10px !important;
      border-bottom: 1px solid #D9D9D9;
  }    
}


@media (max-width: 768px) {
  .header__navigation__menu-container--logo a img {
    width: 102px;
  }
  
  .subheader-custom__wrapper {
    flex-direction: column;
    justify-content: center;
        padding: 0 10px;
  }
  
  .subheader-custom__text {
    font-size: 14px;
    text-align: center;
  }
  
  .subheader-custom__text--big {
    font-size: 14px;
    text-align: center;
  }
  
  .subheader-custom .button {
    padding: 7px 20px;
    margin: 10px 0 0;
  }
  
  .article .article__content .article__heading, .table-overlay .article__content .article__heading {
      font-size: 27px;
      line-height: 1.5;
      margin-bottom: 35px;
  }
  
  .article .article__content article h2, .article .article__content table h2, .table-overlay .article__content article h2, .table-overlay .article__content table h2 {
    font-size: 23px;
    line-height: 1.5;
  }
  
  .sectionMacroRow,
  .products-block-wrapper{
    flex-direction: column;
  }
  
  .sectionMacro .columnMacro {
    width: 100% !important;
  }
  
  .article {
    margin-top: 90px;
    padding: 0 1rem !important;
  }
  
  .top-bar-left {
    padding: 1rem;
    border-bottom: 1px solid #70828e;
  }
  
  .header__navigation__menu-container .top-bar-right {
    margin-top: 0;
    padding: 1rem;
  }
  
  .header__navigation__menu-container {
    padding: 0;
  }
  
  .menu-icon {
    margin-right: 1rem !important;
  }
  
  .product-table {
    max-width: 100%;
    width: 100%;
    margin-bottom: 20px;
  }
  
  .article .article__content article .product-table p,
  .article .article__content article .product-table.old p{
    min-height: 0;
    margin-bottom: 30px;
  }
  
  .product-table.old {
    max-width: 100%;
    width: 100%;
  }
  
  .flexbox.flexbox--fourcols.flexbox--jcsb {
    margin-right: 0;
  }
}