@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto+Condensed:ital,wght@0,100..900;1,100..900&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

body {
    font-family: "Roboto", sans-serif;
}

/*
 * ------------------------------------------------------------------
 * Fight with bootstrap 
 */
.navbar-brand{
    height:auto;
}
.navbar {
    border:none;
    border-radius:0;
    margin:0;
    background: white;
}

a:hover{
    text-decoration: none;
}


/*
 * ------------------------------------------------------------------
 * Publication titles 
 */
 
 .mainbooktitle  {
    box-sizing: border-box;
    font-family: "Roboto Condensed", sans-serif;
    font-weight: 400;
    line-height: 1.7em;
    font-size: 1.7em;
    color: rgb(0, 0, 0);
}

.custom_publication_title {
    margin: auto;
    margin-top: auto;
    margin-right: auto;
    margin-bottom: auto;
    margin-left: auto;
    position: relative;
    width: 65%;
    max-width: 900px;
}

/*
 * ------------------------------------------------------------------ 
 * Breadcrumb 
 */

.wh_breadcrumb ol{
    color: #0075c0;
}

.wh_breadcrumb li:not(:last-of-type)::after {

    content: "\2192";
    padding: 0 5px;
    color: #959595;
}

.wh_breadcrumb  ol  li  a {
    color: #0075c0;
    text-decoration: underline;
}

.wh_breadcrumb ol li a:hover{
    text-decoration: none;
}

.wh_breadcrumb  ol  li:last-child a {
    color: #000;
    text-decoration: none;
    font-size: 14px;
}

/*
 * ------------------------------------------------------------------
 * Content container.
 */
 
 
#wh_topic_container {
    max-width: 1200px;
}

.wh_content_flex_container {
    max-width: 1200px;
}

#results {
    max-width: 1200px;
}

/*
 * ------------------------------------------------------------------ 
 * Tiles
 */
 
.wh_tile {
    border-radius: .5em;
    background-color: #f1f3f6;
    font-weight: 300;
}
.wh_tile_shortdesc{
    margin-top:0.5em;
    text-align: center;
    line-height: 1.5em;
}
.wh_tile_title{
    font-family: "Roboto", sans-serif;
    text-align: center;
    font-size:1.2em;
    text-decoration: none;
}
.wh_tile_title  a{
}
.wh_tile_shortdesc{
    text-align: center;
}

@media only screen and (max-width: 767px) {
    .wh_tile > div{
        height: auto;
    }
}
 
 #searchForm > div {
  max-width: 900px;
}
 
.wh_search_button {
  background-color: #0d73d6;
  border-radius: 0 5px 5px 0;
  padding: 0.5em 1em;
  width:auto;
}

.wh_search_button::after {
  content: "Найти";
  font-family: "Roboto Condensed", sans-serif;
  font-size: 16px;
  font-weight: 600;
  
}

/* Active search page */
#wh-search-pagination > ul > li.active > a {
    background-color: #0d73d6;
}

.pagination>.active>a, .pagination>.active>a:focus, .pagination>.active>a:hover, .pagination>.active>span, .pagination>.active>span:focus, .pagination>.active>span:hover {
    border-color: #346ec5 !important;
}

.page-link {
    color: #0075c0;
    font-family: "Roboto Condensed", sans-serif;
}

.page-item.active .page-link {
  border-color: #0075c0;
}

/*
 * ------------------------------------------------------------------
 * Publication TOC
 */
 
.wh_publication_toc{
    border-radius: 3px;
    background-color: #f1f3f6;
    padding: 1.5em 2em;
    line-height: 2em;
    font-weight: 300;
    text-decoration: none;
}
.wh_publication_toc .active > .topicref a {
    color: #0075c0;
    font-weight: normal;
    text-decoration: none;
}
.wh_publication_toc div, .wh_publication_toc a, .wh_publication_toc a:visited, .wh_publication_toc a:hover {
    color: #858585;
    text-decoration: none;
}
.wh_publication_toc a:hover {
    text-decoration: none;
}
.topictitle3{
    font-weight: 400
}
@media only screen and (max-width: 767px) {
    .wh_publication_toc {
        border-radius: 0;
        padding: 1em 0.5em;
        margin-top: 10px;
    }
}

/*
 * ------------------------------------------------------------------
 * Topic TOC
 */
 
.wh_topic_toc {
    font-weight: 300;
}
 
 
.wh_topic_toc .wh_topic_label {
    color: #000;
}
 
.wh_topic_toc a.current_node {
    color: #0075c0 !important;
}

.wh_topic_toc div, .wh_topic_toc a, .wh_topic_toc a:visited, .wh_topic_toc a:hover {
    color: #858585;
    text-decoration: none;
}
.wh_topic_toc a:hover {
    text-decoration: none;
}

/*
 * ------------------------------------------------------------------ 
 * hide Footer
*/

.wh_footer {
    padding: 0;
}

/*
 * ------------------------------------------------------------------
 * Search results.
 */
.searchresult {
    list-style: none;
}

.searchresult li a {
    color: #0075c0;
    font-family: "Roboto Condensed", sans-serif;
    font-weight: bold;
}
.searchresult .shortdesclink {
    margin: .3em .5em 0 0;
}
.wh_search_expression{
    font-weight:bold;
}

.search-breadcrumb li a {
  font-family: 'Arial', sans-serif;
  font-weight: 300;
  color: #595959;
}

/*
 * ------------------------------------------------------------------
 * 'Home' button
 */
 #go2top {
  background-color: #0d73d6;
}

/*
 * ------------------------------------------------------------------
 * Topic content
 */

.wh_topic_content, .wh_content_area {
    line-height: 1.7em;
    margin-bottom: 40px;
}

h1,
h2,
h3,
h4,
h5,
.h1,
.h2,
.h3,
.h4,
.h5 {
  font-family: "Roboto Condensed", sans-serif;
  color: #000;
}

.topictitle1 {
    font-weight: 400;
    font-size: 1.7em;
}

.sectiontitle {
    font-weight: 400;
}

figure {
    text-align:center;
}

.figtitleprefix {
    display:none;
}

figcaption {
    padding-top: 6pt;
    text-align:center;
}

.figcap {
    font-size: 14px;
    font-style: italic;
    color: #979797;
}

a {
    color: #0075c0;
}

.fn {
    font-style: italic;
    font-size: 0.9em;
}

.option {
    font-weight: bold;
}

.wh_topic_content p.shortdesc {
    font-family: "Roboto Condensed", sans-serif;
    font-weight: 400;
    font-size: larger;
    line-height: 1.2em;
}

div.body p.shortdesc {
    border-bottom:1pt solid #0075c0;
    padding-bottom:4pt;
}

.step strong {
    font-style: italic;
    font-weight: 300;
    color: #979797;
}

dl {
    margin-top: 1em;
}
dt {
    margin-left: 40px;
}

.dd {
    margin-left: 80px;
}

.related_link {
    margin-left: 2em;
}

li.linklist {
    margin-bottom: 1em;
}

div.desc {
    color: #858585;
}

*[class~="topic/table"],
*[class~="topic/simpletable"]{
    border: 1px solid #000000;
}

.table thead th {
    counter-reset: rowNumber;
    vertical-align: middle !important;
    background-color: #f1f3f6;
    border-bottom: 1px solid;
}

tr {
    counter-increment: rowNumber;
}

td.number:before {
    content: counter(rowNumber) ".";
}

td.number {
    text-align: center;
}

div.note,
div.fastpath,
div.remember,
div.tip,
div.trouble,
div.other {
  background-image: url("../images/icons/note.svg");
}

div.important,
div.caution,
div.attention,
div.notice,
div.restriction {
  background-image: url("../images/icons/important.svg");
}

div.warning,
div.danger {
  background-image: url("../images/icons/warning.svg");
}

div.note {
    background-position: 0.5em 0.9em;
}

dt.prereq {
    margin-left: 0;
    margin-right: 0;
}

dl.prereqlinks {
    background-color: #f1f3f6;
    padding: 1em 0 1em 2em;
}

div.relinfo {
    background-color: #f1f3f6;
    padding: 1em 0 1em 0;
}

div.relinfo strong{
    margin-left: 2em;
}