﻿/* Topic style */

.topic-container {
  margin: 15px 0;
}
.topic-header {
  font-size: 12px;
}
.topic-header .topic-information {
  font-size: 16px;
  line-height: normal;
  display: flex;
  flex-direction: column;
}
.topic-header .topic-information .topic-information-title {
  font-weight: 500;
  color: var(--se-primary);
}
.topic-header .topic-information .informationtype {
  display: flex;
  align-items: center;
}
.topic-header .topic-information .informationtype img {
  height: 27px;
  margin-right: 5px;
  width: auto;
}
.topic-header .topic-information .informationtype h3 {
  font-size: 21px;
}
.topic-header .topic-information .top-container {
  display: flex;
  justify-content: space-between;
  flex-direction: column;
}
.topic-header .topic-information .bottom-container {
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    align-items: flex-start;
}
#topic-classification {
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: white;
  text-align: center;
  font-weight: 500;
  font-size: 14px;
  width: fit-content;
}
#topic-classification .topicclassificationprivilege {
  display: flex;
  align-items: flex-end;
  padding: 4px 10px;
  margin: 1px;
  color: #fff;
  border-radius: 15px;
  background-color: var(--se-primary);
}
#topic-classification .topicclassificationprivilege > img {
  width: 20px;
  margin-right: 3px;
}
#topic-classification .topicclassificationprereleased {
  border-radius: 15px;
  padding: 4px 10px;
  margin: 1px;
  background-color: var(--se-error, #dc0a0a);
}
.topic-header #topic-header-ratings {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-bottom: 8px;
}
.topic-header #topic-header-ratings-text {
  display: none;
}
#topic-header-ratings:hover .tooltip {
  visibility: visible;
  opacity: 1;
}
#topic-header-ratings .tooltip {
  visibility: hidden;
  opacity: 0;
  border-radius: 5px;
  background-color: var(--se-primary);
  color: #fff;
  text-align: center;
  z-index: 1;
  position: absolute;
  top: 35px;
  right: 0;
  width: 120px;
  padding: 3px 0;
  font-size: 80%;
  transition: opacity 0.3s;
}
#topic-header-ratings .tooltip::after {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: transparent transparent var(--se-primary) transparent;
}
#TopicRatingComment-overlay {
  z-index: 1;
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: none;
  align-items: center;
  justify-content: space-around;
  }
#TopicRatingComment {
  display: block;
  z-index: 9999;
  background-color: white;
  padding: 15px 16px;
  border-radius: var(--se-button-border-radius, 2px);
  margin: 0px 8px;
  color: #626469;
  font-family: inherit;
}
#TopicRatingComment #TopicCommentExplanation {
  color: var(--se-primary);
  margin-bottom: 10px;
}
#TopicRatingComment textarea {
  width: 99%;
  border-radius: var(--se-button-border-radius, 2px);
  font-family: inherit;
  font-size: 16px;
  resize: none;
  color: inherit;
}
#TopicRatingComment #buttons-container {
  display: flex;
  justify-content: flex-end;
}
#TopicRatingComment input {
  height: 32px;
  border-radius: var(--se-button-border-radius, 2px);
  background-color: white;
  padding: 0 16px;
  margin: 4px;
  cursor: pointer;
  font-weight: 300;
}
#TopicRatingComment input#CloseTopicRatingButton {
  color: #626469;
  border: 1px solid #626469;
}
#TopicRatingComment input#SendTopicRatingButton {
  color: var(--se-primary);
  border: 1px solid var(--se-primary);
}
#TopicRatingComment input#CloseTopicRatingButton:hover {
  background-color: #dbdbdc;
}
#TopicRatingComment input#SendTopicRatingButton:hover {
  background-color: #c4f0cd;
}
span#topicRatingSendAnimation {
  display: none;
}
/* topic rating stars */
span.RatingStar {
  background: transparent url(../images/icon_star-plain.svg);
  background-repeat: no-repeat;
}
span.NonRatingStar {
  background: transparent url(../images/icon_star-stroke.svg);
  background-repeat: no-repeat;
}
span.TopicRatingStar,
span.TopicRatingStarPublic {
  font-size: 0px;
  height: 16px;
  margin-right: 3px;
  width: 16px;
}
span#LoadedTopicRatingValue {
  display: none;
}

/* Body */
.topic-header {
  padding: 5px 10px 0 10px;
  border-bottom: 1px solid var(--se-divider);
}

.topic-body {
  padding: 15px 10px 0 10px;
}
.topic-body a {
  word-break: break-word;
}
.topic-body .section {
  margin-top: 25px;
}
.topic-body .structuredtitle h1 {
  color: var(--se-primary);
  margin-bottom: 20px;
  font-size: 28px;
  line-height: 30px;
}
.topic-body h2,
.topic-body .tasktitle {
  color: var(--se-primary);
  font-size: 24px;
  line-height: 28px;
}
.topic-body .unstructured-title,
.topic-body .tasktitle {
  color: var(--se-secondary, #42b4e6);
  font-size: 18px;
  margin-top: 25px;
}

.topic-body p {
  margin-bottom: 10px;
  line-height: 25px;
}
.topic-body li.step p {
  display: inline;
}
.topic-body span.ui-item {
  font-weight: bold;
}
.topic-body span.Source {
  display: block;
  margin: 5px;
  padding: 5px;
  border: 1px solid lightgrey;
  border-radius: 5px;
  font-family: consolas;
}

.topic-body .DocumentRef {
  font-style: italic;
}

/* figures */
.topic-body .image-container {
  display: flex;
  justify-content: start;
  flex-direction: column;
  margin-bottom: 5px;
}
.topic-body .image-container::-webkit-scrollbar {
  display: none;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.topic-body .image-container.img-popup {
  width: 100%;
  overflow-x: scroll;
  z-index: 2;
}
.topic-body .image-container img {
  width: auto;
}
.topic-body .image-container.img-popup img {
  width: max-content;
  background-color: white;
  width: auto;
}
.topic-body .image-container img.fill-width {
  width: 100%;
}
.topic-body .image-container.img-popup img.fill-width {
  width: auto;
}
.topic-body .caption {
  margin-bottom: 10px;
}
.topic-body .caption .text {
  font-style: italic;
}

/* Tables */
.scroll-bar {
  overflow-x: scroll;
  width: 100%;
  display: block;
}

.table-sticky::-webkit-scrollbar {
    padding: 1px;
}
.table-sticky::-webkit-scrollbar-button:start:decrement,
.table-sticky::-webkit-scrollbar-button:end:increment {
    display: block;
}
.table-sticky::-webkit-scrollbar-button:start:increment,
.table-sticky::-webkit-scrollbar-button:end:decrement {
    display: none;
}
.table-sticky::-webkit-scrollbar-button:end:increment {
    background-image: url(../images/icon_arrow-right.svg);
    background-repeat: no-repeat;
}
.table-sticky::-webkit-scrollbar-button:start:decrement {
    background-image: url(../images/icon_arrow-left.svg);
    background-repeat: no-repeat;
}

.topic-body .table-container {
  position: relative;
}
.topic-body table {
  position: relative;
  display: block;
  overflow-x: auto;
  table-layout: fixed;
  border-top: 1px solid var(--se-divider, #e6e6e6);
  width: 100%;
  font-size: 14px;
}
.topic-body table:not(.table-sticky)::-webkit-scrollbar {
  display: none;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.topic-body table.table-sticky {
  background-color: white;
  border-bottom: 1px solid var(--se-border, #9fa0a4);
  z-index: 1;
}
.topic-body table.stick-top {
  position: fixed;
  top: 149px; 
}
.topic-body .table-caption {
  margin-top: 10px;
  margin-bottom: 0;
  color: var(--se-secondary, #42b4e6);
}
.topic-body table td {
  padding: 5px 0 5px 5px;
  min-width: 149px;
}
.topic-body table > thead p {
  font-weight: bold;
}
.topic-body table thead td:not(:last-child) {
  border-right: 1px solid var(--se-divider);
}
.topic-body table > tbody > tr {
  border-bottom: 1px solid var(--se-divider, #e6e6e6);
}
.topic-body table tbody td:not(:last-child) {
  border-right: 1px solid transparent;
}
.topic-body table p {
  margin: 0;
  word-break: break-word;
}
.table-div {
  display: block;
}
.topic-body table.table-plain {
  display: block;
  margin-bottom: 15px;
}
.topic-body table.table-plain,
.topic-body table.table-plain tr {
  border: none;
}
.topic-body table.table-plain thead {
  display: none;
}
.topic-body table.table-plain td {
  vertical-align: middle;
  min-width: auto;
  padding: 5px 30px 5px 5px;
}

/* Technicaldata */
.technicaldata {
  margin-top: 25px;
}
.technicaldata h2 {
  color: var(--se-primary);
}
.technicaldata > table {
  display: table;
  table-layout: fixed;
  width: 100%;
}
.technicaldata table td {
  vertical-align: top;
  padding: 5px 0 5px 5px;
}
.technicaldata .technicaldata-title {
  font-weight: 500;
}
.technicaldata td.technicaldata-image {
  background-color: white;
  text-align: center;
}
.technicaldata td.technicaldata-image img {
  max-width: 100%;
}
sup {
  vertical-align: super;
  font-size: smaller;
}
.technicaldata table > tbody > tr {
  border: none;
}
.technicaldata table .technicaldata-table tr {
  border-bottom: 1px solid var(--se-divider, #e6e6e6);
}
.technicaldata-table table p {
  font-size: 14px;
}
.technicaldata-table {
  position: relative;
}
.technicaldata-table table {
  overflow-x: auto;
  table-layout: unset;
}
img#table-arrow-right {
  position: absolute;
  z-index: 999;
  right: -38px;
  height: 50px;
  display: none;
  top: 50%;
  transform: translate(0, -50%);
}
img#table-arrow-left {
  position: absolute;
  z-index: 999;
  left: -38px;
  height: 50px;
  display: none;
  top: 50%;
  transform: translate(0, -50%);
}

/* row-colors */
.technicaldata tbody > tr td.technicaldata-title { 
  color: white;
  background-color: #9fa0a4;
  border-top: 1px solid white;
}
.technicaldata tbody > tr td.technicaldata-subtitle { 
  color: white;
  background-color: #b2b3b6;
  border-top: 1px solid white;
}
.technicaldata tr td.grouped-paragraph span.increasedSize {
  font-size: 14px;
}
.grey {
  background-color: #e1e1e3;
}

.technicaldata .image-container {

}
.topic-body .img-popup {
  z-index: 2;
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.5);
  overflow-x: hidden;
  display: flex;
  justify-content: center;
  flex-direction: column;
}
.topic-body .image-container .image {
  width: 100%;
  overflow-x: scroll;
  background-color: white;
}
.topic-body .image-container.img-popup .image {
  text-align: center;
}
.image-hide {
  display: none;
}
.topic-body .image::-webkit-scrollbar {
  display: none;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.image se-icon {
  display: none;
}
.topic-body .image-container .image se-icon.show-zoom {
  display: flex;
  position: relative;
  float: right;
  top: 28px;
  right: 3px;
  width: 24px;
  color: white;
  background-color: var(--se-primary, #3dcd58);
  border-radius: 4px;
}
.topic-body .image-container.img-popup .image se-icon.show-zoom {
  display: none;
}
.image-scroll {
  display: none;
}
.image-scroll.scroll-popup {
  overflow-x: scroll;
  border-bottom: 1px solid var(--se-divider, #e6e6e6);
}
.image-scroll.scroll-popup::-webkit-scrollbar {
  padding: 1px;
  background-color: white;
}
.image-scroll.scroll-popup::-webkit-scrollbar-button:start:decrement,
.image-scroll.scroll-popup::-webkit-scrollbar-button:end:increment {
  display: block;
}
.image-scroll.scroll-popup::-webkit-scrollbar-button:start:increment,
.image-scroll.scroll-popup::-webkit-scrollbar-button:end:decrement {
  display: none;
}
.image-scroll.scroll-popup::-webkit-scrollbar-button:end:increment {
  background-image: url(../images/icon_arrow-right.svg);
  background-repeat: no-repeat;
}
.image-scroll.scroll-popup::-webkit-scrollbar-button:start:decrement {
  background-image: url(../images/icon_arrow-left.svg);
  background-repeat: no-repeat;
}
.technicaldata td.technicaldata-image .image-container .image se-icon {
  right: 0px;
}
.technicaldata td.technicaldata-image .img-popup img {
  max-width: none;
}

/* ordered list */
.topic-body ol li {
  display: list-item;
  list-style-type: decimal;
  margin-left: 20px;
}
ol li > img {
  /* Large images, not inline-images */
  width: 100%;
}
ol.footnote-list li {
  list-style: lower-alpha;
  font-size: 14px;
}
/* unordered list */
.topic-body ul {
  list-style-type: disc;
  padding: 0 0 20px 30px;
}
.topic-body ul li p {
  margin: 0;
}
/* table of contents */
.subToc-container {
  position: relative;
  width: 100%;
}

.topic-body .subToc {
  margin-bottom: 20px;
}
.topic-body .subToc span {
    display: flex;
    color: var(--se-secondary, #42b4e6);
}
.topic-body .subToc a {
  display: list-item;
  list-style-type: none;
}
.topic-body .subToc a::marker {
  color: black;
}


.topic-body div.subToc-float {
  z-index: 2;
  position: fixed;
  display: none;
  top: 158px;
  right: 30px;
}
.topic-body .subToc-float .subToc {
  display: block;
  padding-right: 10px;
  margin-bottom: 0;
}
.topic-body .subToc-float.subToc-expanded {
  width: fit-content;
  padding: 5px;
  border: 1px solid var(--se-primary);
  border-radius: 4px;
  background-color: white;
  box-shadow: rgba(0,0,0,0.2) 0 4px 4px;
  flex-direction: row-reverse;
}
.topic-body .subToc-button {
  height: 35px;
  width: 35px;
  border-radius: 4px;
  text-align: center;
  background-color: var(--se-primary);
  content: url(../images/icon_list.svg);
  box-shadow: rgba(0,0,0,0.2) 0 4px 4px;
}
.topic-body .subToc-float.subToc-expanded .subToc-button {
  content: url(../images/icon_action-close.svg);
  height: 20px;
  width: 20px;
  background-color: grey;
  box-shadow: none;
}


/*	offersafety */
ol li div.note img {
  display: inline;
  margin: 0;
}

ol li div.notetitle_note {
  font-weight: 700;
  font-size: 110%;
}

ol li div.notetitle_tip {
  font-weight: 700;
  font-size: 110%;
}

ol li div.notetitle_important {
  font-weight: 700;
  font-size: 110%;
}

ol li div.notetitle_caution {
  font-weight: 700;
  font-size: 110%;
}

ol li div.notetitle_warning {
  font-weight: 700;
  font-size: 110%;
}

div.note {
  margin-top: 5px;
  width: 100%;
  color: #000000;
  margin: 0px 0 18px 0;
}

table.os_message {
  display: table;
}

div.note table,
div.note table tr {
  border: 1px solid black;
  font-family: Arial;
  height: auto;
}

div.note table th {
  padding: 4px 0 3px 0;
  border: 1px solid black;
  background: #3766fd;
  color: #ffffff;
  text-align: center;
  font-size: 18px;
  font-weight: bold;
  font-style: italic;
  text-transform: uppercase;
}

div.note table th.os_notice,
div.note table th.caution,
div.note table th.security {
  background: #3766fd;
  color: #ffffff;
  font-style: italic;
}

div.note table th.os_caution {
  background: #fdfe1f;
  color: #000000;
  font-style: normal;
}

div.note table th.os_warning,
div.note table th.os_warning_el,
div.note table th.warning {
  background: #fecb16;
  color: #000000;
  font-style: normal;
}

div.note table th.os_danger,
div.note table th.os_danger_el {
  background: #ff0302;
  font-style: normal;
}

div.note table td {
  padding: 5px 0 0 5px;
}

div.note table p {
  margin: 0 0 8px 0;
}

div.note span.quote,
div.note span.hazard {
  font-weight: bold;
  text-transform: uppercase;
}

div.note span.increasedSize,
div.note span.consequence,
div.note div.tip div,
div.note div.note div,
div.note div.important div,
div.note div.exampleTip div {
  font-weight: bold;
}

div.note div.tip,
div.note div.note,
div.note div.important,
div.note div.exampleTip {
  margin: 0 20px 0 20px;
}

div.note div.tip p,
div.note div.note p,
div.note div.important p,
div.note div.exampleTip p {
  width: auto;
}

div.note div.tip > span,
div.note div.note > span,
div.note div.important > span,
div.note div.exampleTip > span {
  float: left;
  font-weight: bold;
  margin: 0 5px 0 0;
  text-transform: uppercase;
}
div.note table ul {
  margin: 0;
  list-style: disc;
  padding: 0 0 0 20px;
}

/* regular note */
div.note ul {
  margin: 0 0 5px 20px;
  list-style: none;
}
div.note > div > p {
  color: #000000;
  margin: 0 0 5px 0;
  display: flow-root;
}

/* show more reference */
.showmorereference-overlay,
.showmorereference-container,
.showmorereference-contents,
.showmorereference-expandedpanel {
  display: none;
}
.showmorereference-expandplaceholder {
  display: flex;
  color: var(--se-primary);
}
.showmorereference .showmorereference-image {
  margin-right: 5px;
}
.showmorereference-overlay {
  z-index: 2;
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.5);
}
.showmorereference-container {
  display: block;
  max-width: 1180px;
  overflow-y: scroll;
  background: white;
  margin: 80px auto 5% auto;
  height: -webkit-fill-available;
}
.showmorereference-head {
  position: fixed;
  display: flex;
  flex-direction: row-reverse;
  top: 50px;
  width: 100%;
  background-color: var(--se-primary);
  color: white;
  max-width: inherit;
}
.showmorereference-head se-icon {
  margin: 3px;
}
.showmorereference-body {
  padding: 15px;
  overflow-x: hidden;
}

/* See also */
.related-links-header {
  display: flex;
  align-items: center;
  border-top: 3px solid var(--se-primary);
  margin-top: 25px;
  padding: 10px 0;
}
.related-links-container {
  background-color: white;
  overflow-x: hidden;
}
.related-links-container li {
  display: flex;
  align-content: center;
  align-items: center;
  list-style-type: none;
  font-size: 12px;
}
.related-links-container li img {
  display: flex;
  height: 25px;
  margin-right: 10px;
}

/* == SCREEN, width > 43em(688px) [tablet] == */
@media (min-width: 43em) {
  .topic-header #topic-header-ratings-text {
    display: block;
    margin-right: 5px;
  }
  .topic-header .topic-information .bottom-container {
    justify-content: space-between;
    flex-direction: row;
    align-items: center;
  }

  .home-section-container {
    margin-top: 5px;
    width: 75%;
  }
  .topic-body h1 {
    font-size: 42px;
    line-height: 50px;
  }
  .topic-body h2 {
    font-size: 24px;
    line-height: 28px
  }
  .topic-body .unstructured-title,
  .topic-body .tasktitle {
    font-size: 22px;
  }
  .topic-body table {
    display: table;
    font-size: 16px;
  }

  .technicaldata-table table {
    table-layout: fixed;
  }
  .technicaldata-table table p {
    font-size: 16px;
  }
  .topic-body table.stick-top {
    top: 133px;
  }
}

/* == SCREEN, width > 75em(1200px) [desktop] == */
@media (min-width: 75em) {
  .topic-body table.stick-top {
    top: 177px;
  }

  .topic-body div.subToc-float {
    left: calc((100% - 1280px) / 2);
    top: 190px;
    width: fit-content;
  }
  .topic-body .subToc-float .subToc {
    padding: 0 0 0 10px;
  }
  .topic-body .subToc-float.subToc-expanded {
    flex-direction: row;
  }
}
