@import url("https://fonts.googleapis.com/css?family=Open+Sans:300,400,700");
/*
 * ==============================================
 * Skin for oXygen generated WebHelp.
 * ==============================================
 */
/*
 * ------------------------------------------------------------------
 *  
 * Fonts.
 *  
 */
body {
  font-family: "Myriad Pro", sans-serif;
}
/*
 * ------------------------------------------------------------------
 *  
 * Fight with bootstrap
 *  
 */
.navbar-brand {
  height: auto;
}
.navbar {
  background-image: none;
  border: none;
  border-radius: 0;
  margin: 0;
  box-shadow: none;
  align-items: flex-start;
}
.wh_header {
  background-image: url("resources/images/bgr_red.png");
  background-repeat: repeat;
  background-attachment: fixed;
  padding: 0em 0;
}
a,
a:hover,
a:visited {
  color: #777;
}
a:hover {
  text-decoration: none;
}
/*
 * ------------------------------------------------------------------
 *  
 * Publication titles
 *  
 */
.wh_publication_title > a {
  padding: 0.5em 0 0.5em;
  color: #000;
  text-transform: uppercase;
  font-weight: bold;
  line-height: 1em;
  font-size: 1.3em;
}

@media only screen and (min-width: 768px) {
  .wh_topic_page .wh_header {
    padding: 0px;
  }
}
/*
 * ------------------------------------------------------------------
 *  
 * Menu
 *  
 */
.wh_top_menu {
  font-size: 1em;
  margin: .4em 0;
  /*padding: 3.3em 0 0em;*/
}
.wh_top_menu ul a {
  color: #ffffff;
}
/* The submenus */
.wh_top_menu ul ul {
  background-color: #cc0000;
  border: none;
  border-radius: 0;
}

.dropdown-item:focus, .dropdown-item:hover {
    background-color: transparent !important;
    font-weight: bold;
  }

@media only screen and (min-width: 768px) {
  .wh_top_menu > ul > li > .topicref > a {
    background-color: transparent;
    text-transform: uppercase;
    margin: 0 2px;
    padding-top: 1em;
    padding-bottom: 1em;
    border: none;
  }
  .wh_top_menu > ul > li > ul {
    margin: 0 2px;
  }

   .wh_top_menu ul li a {
    padding: 0.5em 0.52em;
   }
  /* Menu bar */
  .wh_top_menu ul li:hover a {
    background-color: #cc0000;
    color: #ffffff;
  }
  /* Sub menus */
  .wh_top_menu ul ul li {
    border: none;
    background-color: #cc0000;
    padding: 0 10px;
  }
  .wh_top_menu ul li:hover ul a {
    color: #d9d9d9;
    transition: background-color 0.25s ease-out 0s, color 0.3s ease-out 0s;
   }
  .wh_top_menu ul ul li a:hover {
    color: #ffffff;
    background-color: rgba(0, 0, 0, 0.08);
    transition: background-color 0.25s ease-in 0s, color 0.3s ease-in 0s;
  }
  .wh_top_menu ul ul li.has-children:after {
    color: #d9d9d9;
  }
}
@media only screen and (max-width: 767px) {


  .wh_top_menu li a {
    color: #ffffff;
  }
  .wh_top_menu li.active a {
    color: #ffffff;
  }
  .wh_top_menu li.active {
    background-color: #c00;
    font-weight: bold;
  }
  .wh_top_menu li.active > span a {
    background-color: rgba(0, 0, 0, 0.07);
  }
  .wh_toggle_button.navbar-toggle,
  .wh_toggle_button.navbar-toggle:focus {
    border: none;
    border-color: #333;
    background-color: #e8e8e8;
  }

  .navbar-toggler:focus {
    display: none;
  }

  .wh_toggle_button.navbar-toggle .icon-bar {
    background-color: #e8e8e8;
  }
  .wh_top_menu ul ul li {
    border: none;
  }
}
@media only screen and (min-width: 768px) {
  .wh_topic_page .wh_top_menu_and_indexterms_link {
    display: inline-block !important;
    padding: 0;
  }
}
/*
 * ------------------------------------------------------------------
 *  
 * Link to the index.
 * 
 */
@media only screen and (min-width: 768px) {
  .wh_topic_page .wh_indexterms_link {
    float: none;
    display: inline-block;
  }
  .wh_topic_page .wh_indexterms_link a:before {
    position: relative;
    padding: 14px 14px 14px 0;
    top: 0;
    bottom: 0;
    margin: 0;
  }
}
.wh_indexterms_link a:before {
  color: #ffffff;
  font-size: 1.8em;
  position: relative;
}
.wh_indexterms_link a span {
  display: none;
}
@media only screen and (max-width: 767px) {
  .wh_indexterms_link a:before {
    bottom: 0;
  }
}
/*
 * ------------------------------------------------------------------
 *  
 * Tiles
 * 
 */

.wh_tiles {
  align-content: stretch;
  align-items: stretch;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: normal;
}

.wh_tile {
  border: 1px solid #939393;
  pointer-events: auto;
  cursor: pointer;
}
.wh_tile_shortdesc {
  color: #333;
  font-weight: 400;
  font-size: 1em;
  margin-top: 0.5em;
  text-align: center;
}
.wh_tile_title a {
  text-decoration: none;
  text-transform: none;
  text-align: center;
  color: #cc0000 !important;
  font-size: 1.5em;
  font-weight: bold;
  line-height: 1.3em;
}
@media only screen and (max-width: 767px) {
  .wh_tile > div {
    height: auto;
  }

  .language-selector {
      padding-left: 0px !important;
    }
}
/*
 * ------------------------------------------------------------------
 *
 * Tree TOC for the main page.
 *
 */
.wh_main_page_toc {
  padding-left: 2em;
  border: none;
  border-left: 1px solid #939393;
  background-color: #ffffff;
}
.wh_main_page_toc a {
  color: #3a3a3a;
  font-size: 1.3em;
}
.wh_main_page_toc .wh_main_page_toc_accordion_header:before {
  content: "\e081";
  /* expand symbol */
  left: -0.5em !important;
  background-color: #ffffff;
  font-size: 2em;
}
.wh_main_page_toc .wh_main_page_toc_accordion_header.expanded:before {
  content: "\e082";
  /* collapse symbol */
}
.wh_main_page_toc > .wh_main_page_toc_accordion_header,
.wh_main_page_toc > .wh_main_page_toc_entry {
  padding: 0.5em;
  margin: 0.5em;
  border: 1px solid #939393 !important;
  font-weight: bold;
}
.wh_main_page_toc_accordion_header.expanded {
  border-bottom: none !important;
  margin-bottom: 0;
}
.wh_main_page_toc_accordion_header.expanded + .wh_main_page_toc_accordion_entries {
  margin: 0 .5em .5em .5em;
  border: 1px solid #939393;
  border-top: none;
}
.wh_main_page_toc .wh_main_page_toc_accordion_header:hover,
.wh_main_page_toc > .wh_main_page_toc_entry:hover {
  background-color: rgba(147, 147, 147, 0.06);
}
.wh_main_page_toc .wh_main_page_toc_accordion_header,
.wh_main_page_toc > .wh_main_page_toc_entry,
.wh_main_page_toc_accordion_entries {
  background-color: #ffffff;
  text-align: left;
}
.wh_main_page_toc .wh_toc_shortdesc {
  color: #333;
  background-color: transparent;
  font-weight: normal;
  font-size: 1.1em;
}
.wh_main_page_toc_accordion_header:before {
  color: #777;
}
.wh_main_page_toc .expanded {
  border: none;
}
.wh_expand_btn:before {
    display: none;
} 
/* WH-1613 */
.permalink{
    padding: 0 0.0em;
    cursor:none;
}

/* ---------------------------------   */
.wh_main_page .wh_content_area {
  background-color: #ffffff;
  padding: 2em 0 2em 0;
  color: #333;
  text-align: left;
  align-items: center;
}
/*
  * ------------------------------------------------------------------
 *  
 * Search area
 * 
 */
.wh_search_input {
  display: block;
  padding: 5em;
  margin: 0;
  align-items: center;
  color: #333;
  background-color: #ffffff;
  text-align: center;
}
.wh_search_input{
    margin:1.7em 0;
}
.wh_search_textfield {
  border: solid 1px #939393;
  color: #333;
  background-color: #ffffff;
  border-radius: 5px;
  height: 36px;
  line-height: 36px;
  padding-left: 1em;
}
.wh_search_textfield {
  border-radius: 5px;
}
.wh_search_button {
  border-radius: 0 5px 5px 0 !important;
  background-color: #cc0000;
  border: solid 1px #939393;
  color: #ffffff;
  height: 2.5em;
  padding: .5em;
}
/* Search relative path */
.searchresult li .relativePath a {
  color: #333;
}
/* Search autocomplete icons */
.search-autocomplete-proposal-type-history a,
.search-autocomplete-proposal-type-history a:hover,
.search-autocomplete-proposal-type-history a:visited,
.search-autocomplete-proposal-type-history a:active {
  text-decoration: none;
  color: #cc0000;
  font-size: 0.8em;
}
.ui-state-active .search-autocomplete-proposal-type-history a,
.ui-state-active .search-autocomplete-proposal-type-history a:hover,
.ui-state-active .search-autocomplete-proposal-type-history a:visited,
.ui-state-active .search-autocomplete-proposal-type-history a:active {
  color: #ffffff;
}
/* Do not allow the text to go beneath the search button  */
@media only screen and (min-width: 768px) {
  .wh_search_textfield {
    padding-right: 3em;
  }
}
/* Search field placeholder */
::-webkit-input-placeholder {
  color: #333;
}
:-moz-placeholder {
  /* Firefox 18- */
  color: #333;
}
::-moz-placeholder {
  /* Firefox 19+ */
  color: #333;
}
:-ms-input-placeholder {
  color: #333;
}
/* Change Autocomplete styles in Chrome */
:-webkit-autofill,
:-webkit-autofill:hover,
:-webkit-autofill:focus {
  border: 1px solid #939393;
  -webkit-text-fill-color: #333;
  -webkit-box-shadow: none;
  transition: background-color 5000s ease-in-out 0s;
}
/*
 * ------------------------------------------------------------------
 *
 * Footer
 *
 */
.wh_footer {
  background-image: url("resources/images/bgr_red.png");
  background-repeat: repeat;
  background-attachment: fixed;
  padding: 4em 0em;
  color: #ffffff;
  }
.wh_footer a {
  color: #ffffff;
}
/*
 * ------------------------------------------------------------------
 *
 * Topic content
 *
 */

.sr-only.sr-only-focusable {
  display: none;
}

nav#wh_topic_toc {
  display: none !important;
}

.wh_content_area {
  background-color: #ffffff;
  padding: 0;
  font-size: 1.1em;
  margin-bottom: 2em;
  line-height: 1.7em;
}
.wh_topic_content {
  color: #333;
}
figcaption.figcap {
    font-style: normal;
    font-weight: bold;
}

/*
 * Title & subtitles
 */
.topictitle1 {
  font-weight: bold;
}
.topictitle2 {
  font-weight: normal;
  font-style: normal;
}
 

img {
  max-width: 100%;
}

/*
 * ------------------------------------------------------------------
 *
 * Breadcrumb
 *
 */
.wh_breadcrumb ol {
  padding: .5em;
}
.wh_breadcrumb ol,
.wh_breadcrumb ol a {
  color: #555;
}
.wh_breadcrumb ol .active a {
  color: #555;
}
.home a span {
  display: none;
}
.home a:before {
  font-family: "Glyphicons Halflings";
  content: "\e021";
}
/*
 * ------------------------------------------------------------------
 *
 * Tools and navigation
 *
 */

.wh_navigation_links, #wh_close_publication_toc_button.close-toc-button, #wh_close_topic_toc_button  {
  display: none !important;
}

.wh_topic_content #topic_navigation_links {
  border-top: none;
  width: 100%;
  display: block;
  margin-top: 35px;
  padding: 10px 0;
}
.wh_topic_content #topic_navigation_links .navprev,
.wh_topic_content #topic_navigation_links .navnext {
  font-size: 35px;
}
.wh_topic_content #topic_navigation_links .navnext {
  float: right;
}

    .language-list {
      display: none;
      position: absolute;
      flex-direction: column;
      color: #000;
      background: #c00;
      padding: 0 20px 10px 20px;
      z-index: 9999;
      text-align: left;
      line-height: 2;
      left: 26px;
    }

    .language-list a:hover {
    text-decoration: underline;
      }

    .language-selector:hover .language-list {
      display: flex;
      transition: 0.3s all;
    }
    
    .language-selector {
      padding-left: 44px;
      margin-top: 14px;
      margin-left: -20px;
      position: relative;
    }

    .language-selector:before {
      content: url(resources/images/globe.svg);
    }

    .language-norway, .language-english, .language-swedish{
      width: 22px;
      margin: 2px 5px 0px;
  }

    .language-selector, .language-selector a {
      color: #fff;
    }

    .language-norway:before {
    content: url(resources/images/no.svg);
    }

    .language-english:before {
    content: url(resources/images/gb.svg);
    }
    
    .language-swedish:before {
    content: url(resources/images/se.svg);
    }
    


.wh_tools {
  border-bottom: solid 1px #e8e8e8;
  background-color: #ffffff;
  margin: 2em 1em;
  font-size: 1em;
}
.wh_print_link button,
.webhelp_expand_collapse_sections,
.wh_hide_highlight,
.wh_navigation_links a,
.wh_navigation_links a:hover,
.wh_navigation_links a:active,
.wh_navigation_links a:visited,
.wh_print_link a:before,
.wh_navigation_links a:before,
.wh_navigation_links a:hover:before,
.wh_navigation_links a:active:before,
.wh_navigation_links a:visited:before {
  color: #555;
  text-decoration: none;
}
.wh_right_tools {
  padding: 8px 15px;
}
/*
 * Other content
 */
.wh_topic_content .shortdesc {
  font-style: normal;
}
/*
 * Note images
 */
*[class~="topic/note"]{
  background-repeat:no-repeat;
  background-image:url("resources/images/yleinen_maaraysmerkki.svg") !important;
}
*[class~="topic/note"].note_danger{
  background-repeat:no-repeat;
  background-image:url("resources/images/yleinen_varoitusmerkki.svg") !important;
}
*[class~="topic/note"].note_warning{
  background-repeat:no-repeat;
  background-image:url("resources/images/yleinen_varoitusmerkki.svg") !important;
}

.note_note, .note_warning, .note_danger {
  background: #ebebeb;
  border: 2px solid #adadad;
}

/* x more */
.dots-after span,
.dots-before span {
  border: 1px solid #babdc1;
}


/*
 * ------------------------------------------------------------------
 *
 * Publication TOC
 *
 */
.wh_publication_toc {
  border-radius: 4px;
  background-color: #e8e8e8;
  padding: 1em;
  line-height: 2em;
}
.wh_publication_toc > ul {
  padding-left: 0;
}
.wh_publication_toc .active > .topicref a {
  color: #cc0000;
  font-weight: bold;
}
.wh_publication_toc span,
.wh_publication_toc a,
.wh_publication_toc a:visited,
.wh_publication_toc a:hover {
  color: #7b7a7a;
  text-decoration: none;
}
@media only screen and (max-width: 767px) {
  .wh_publication_toc {
    padding: 1em;
    margin-left: 0;
    margin-top: 1em;
  }

#wh_publication_toc_content {
  width: 100% !important;
}

.wh_breadcrumb {
  display: inline-block;
  width: 100%;
  text-align: center;
}

#wh_toc_button {
  margin: auto;
}

.wh_right_tools {
  margin: auto;
}

}
/* Publication TOC tooltip */
.wh_breadcrumb .topicref .wh-tooltip,
.wh_publication_toc .topicref .wh-tooltip {
  background-color: #333;
  color: #ffffff;
}
.wh_breadcrumb .topicref .wh-tooltip a,
.wh_publication_toc .topicref .wh-tooltip a {
  color: #ffffff;
  text-decoration: underline;
}
/* Tooltip arrow. */
[data-tooltip-position="left"] .topicref .wh-tooltip::before {
  border-left-color: #333;
}
[data-tooltip-position="right"] .topicref .wh-tooltip::before {
  border-right-color: #333;
}
[data-tooltip-position="bottom"] .topicref .wh-tooltip::before {
  border-bottom-color: #333;
}
[data-tooltip-position="top"] .topicref .wh-tooltip::before {
  border-top-color: #333;
}
/* Related links */
.wh_related_links .related-links,
.wh_topic_content .related-links,
.wh_child_links {
  margin: 1em 0 0 0;
  background-color: #ffffff;
  border: #dce5f2 solid 1px;
  border-radius: 4px;
  padding: 0 1em;
}
.wh_child_links {
  padding: 1em;
}
.wh_topic_content .related-links {
  font-size: 1.2em;
}
/*
 * ------------------------------------------------------------------
 *
 * Search results.
 *
 */
.searchresult {
  list-style: none;
}
.searchresult li {
  padding: .5em;
}
.searchresult li a {
  color: #333;
}
.wh_search_expression {
  color: #333;
}
.searchresult .shortdesclink {
  margin: .3em .5em 0 0;
}
.wh_search_expression {
  font-weight: bold;
}
/* Highlights */
.highlight {
  background-color: #e8e8e8;
  color: #333 !important;
  border-radius: 4px;
  padding: 0 1px;
}
.wh-h {
  padding: 0 1px;
}
/* Index terms */
.wh_term_group {
  border-bottom: 1px solid #e8e8e8;
  background-color: #ffffff;
  margin: 1em 0;
  padding: 1em;
}
.wh_term > span {
  color: #333;
  font-style: normal;
}
.wh_index_terms span.wh_first_letter {
  color: #e8e8e8;
  border: none;
  font-size: 1.5em;
  margin: 0;
}
.wh_index_terms #indexList {
  padding: 0;
}


.wh_logo_and_publication_title img{
    width: 80px
}
/* table 100% */
.table{
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
}

.table .table {
  table-layout: auto;
}

.table .table img {
  min-width: 10px;
}

img.break{
display: inline !important;
}

.table img {
  max-width: 100%;
}


/* taulukoista väliviivat pois ja tekstit keskelle
*/
.table td, .table th {
    padding: 0.75rem;
    vertical-align: middle !important;
    border-top: none;
    word-wrap: break-word;
}

.thead { background-color: #cc0000; color: white;}

#wh_menu_mobile_button.navbar-toggler {
    background-color: #cc0000;
    padding: 0.5em 1em;
    width: 44px;
    margin: 1em auto 0;
    border: 1px solid white;
    margin-bottom: 20px;
}

.navbar-default .navbar-toggler .navbar-toggler-icon {
    background-color: #ffffff;
    height: 2px;
    margin: 5px 0;
    display: block;
    width: 24px;
}

.navbar-default .navbar-toggler:focus, .template-tpsilva .navbar-default .navbar-toggler:hover {
  background-color: var(--secondarycolor);
}

    .wh_publication_title {
      display: none;
    }

     .wh_search_input .wh_publication_title {
      display: block;
    }

    .wh_logo_and_publication_title_container {
        display: flex;
        align-items: center;
        flex-direction: row-reverse;
        padding: 8px 0;
    }

.wh_header_flex_container {
  align-content: center;
  align-items: center;
  display: flex;
  justify-content: space-between;
  width: 100%;
  flex-flow: row wrap;
}

.wh_breadcrumb ol, .wh_main_page_toc_entry, .wh_publication_toc li, .wh_top_menu ul, .wh_topic_toc li {
    word-wrap: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
}


  @media only screen and (min-width: 768px) {

      .pub_toc_mobile {
    display: none !important;
  }
}

@media only screen and (max-width: 767px) {

  .language-selector {
    padding-right: 10px;
  }

  .pub_toc_mobile {
    display: block;
  }

      .wh_logo_and_publication_title_container {
        flex-direction: row-reverse;
        padding: 0
    }

    .wh_logo_and_publication_title img {
        width: 120px;
    }

    .wh_right_tools {
      display: flex;
      flex-direction: column;
      align-items: baseline;
    }

    .language-list {
      left: -20px;
    }

    #changing_the_installation_zone_0 table, #automatic_safety_timer_ast table {
      table-layout: fixed;
      white-space: nowrap;
      font-size: 0.6em;
    }

    .wh_publication_title {
      display: none;
    }

    .wh_top_menu {
      padding: 0;
  }

    .wh_search_input {
    margin: 0;
    padding: 30px;
    }

    .wh_search_input .wh_publication_title {
      display: block;
    }

    .wh_header_flex_container {
      width: 100%;
    }



    .wh_logo_and_publication_title {
      flex: 1;
      justify-content: center;
    }



.custom-toggler .navbar-toggler-icon {
    background-image: url(resources/images/navbar-toggler.svg);
}

.wh_publication_title > a {
    padding: 0;
    color: black;
  }

    #wh_menu_mobile_button.navbar-toggler {
        padding: 0.5em 1em;
        border: none;
        margin: 0;
    }

a.wh_logo.d-none.d-sm-block {
    display: flex !important;
    width: 60px;
    justify-content: center;
}

}