.notesWrapper {
  position: relative;
  background: #EEE;
  overflow-y: auto;
  padding: 10px;
  border: 5px solid #ffffff;
  margin: 10px auto;
  max-width: 980px;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  max-height: calc(100% - 20px);
}

html {
  font-family: 'Open Sans', sans-serif;
  font-size: 100%;
  background: #9ccfe7;
  overflow: hidden;
  width: 100%;
  height: 100%;
}

html, body {
  overflow: hidden;
  width: 100%;
  height: 100%;
}

.notesWrapper > div {
  display: flex;
}

.includedcomponents {
  flex-direction: column;
}

.downloadurl a {
  margin-right: 5px
}

pre { 
  white-space: pre-wrap;
  background: white;
  box-shadow:  3px 3px 0px #b1b1b1;
  padding: 10px;
  border: 1px solid #b1b1b1;
}

img.productlogo {
  height: 20px;
  margin-right: 5px;
  box-shadow: 1px 1px 0 #3690f0;
  border-radius: 3px;
  border: 1px solid #9ccfe7;
}

p {
  display: flex;

  margin: 3px 0;
}

p.name,  p.description, p.explanation{
  margin: 5px 0;
}

p, span {
  font-size: 12px;
}

.productnamewithversion span {
  font-size: 16px;
}

.tags ul li, .operatingsystems ul li {
  background: #2a648b;
  color: white;
  padding: 2px 5px;
  margin: 2px;
  display: inline-block;
  box-shadow: 2px 2px 0px #0c3b5a;
}

.titleWrapper {
  background: #202020;
  display: flex;
  align-items: center;
}

h1 {
  color: white;
  font-size: 16px;
  padding: 5px;
  margin: 0;
  line-height: 17px;
}

div ul {
  margin: 5px 0;
  padding: 0 20px;
}

.tags ul, .operatingsystems ul {
  padding: 0
}

p > .propertylabel, div  p.softwarerequirements, div  p.permissions, div  p.tags   {
  min-width: 145px;
  max-width: 145px;
  word-wrap: break-word;
}

p.operatingsystems, p.includedcomponentstitle {
  min-width: 145px;
  max-width: 145px;
  word-break: break-word;
}

.propertylabel + span {
	margin-right: 5px;
}

.includedcomponent {
  word-break: break-word;
}


p > a {
  word-break: break-all;
}

.buttonsWrapper {
  display: flex;
  margin-left: auto;
  font-size: 15px;
}

.forumsButton {
  color: white;
  background: #48aef2;
  text-decoration: none;
  padding: 1px 10px;
  display: flex;
  align-items: center;
  margin-right: 10px;
  border-radius: 4px;
}

.forumsButton:before {
  content: '';
  width: 18px;
  height: 18px;
  flex: 18px 0 0;
  display: inline-block;
  background: url(../images/knowledge.svg);
  background-size: cover;
  margin-right: 2px;
}

.manualButton {
  color: white;
  background: #48aef2;
  text-decoration: none;
  padding: 1px 10px;
  display: flex;
  margin-right: 10px;
  border-radius: 4px;
  justify-content: center;
  align-items: center;
}  

.manualButton a {
  display: flex;
  color: white;
  text-decoration: none;
}  

.manualButton a img {
  width: 28px;
  padding: 0;
  margin: 0 0 0 8px;
}

.includedcomponent, .includedcomponent a {
  font-size: 12px;
}

.releaseLogoWrapper {
  padding: 4px 0 0 4px;
}

main > div {
  display: flex;
}

.madeInEU {
  position: absolute;
  z-index: 1;
  right: 70px;
  bottom: -42px;
  height: 100px;
}

@media only screen and (max-width: 600px) {
  html {
    margin: 0;
    height: 100%;
    max-height: 100%;
  }
  pre {
    word-break: break-word;
  }
  .notes {
    margin-top: 0;
  }
  img.productlogo {
    display: none;
  }
  .notesWrapper {
    transform: none;
  }
  h1 {
    font-size: 12px;
    word-break:break-word;
  }
  .productnamewithversion span {
    font-size: 12px;
  }
  .productnamewithversion {
    white-space: nowrap;
  }
  .buttonsWrapper {
    flex-direction: column;
    font-size: 12px;
  }
  .manualButton, .forumsButton {
    margin:3px 5px;
  }
}

@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {  
  html {
    height: calc(100% - 20px);
  }
}

@media (prefers-color-scheme: dark) {
  /*img.productlogo {
    filter: brightness(.75) contrast(1.2);
    box-shadow: 1px 1px 0 #000000;
  }
  img {
    filter: brightness(.75) contrast(1.2);
  }*/
  html {
    background: #202020;
  }
  body {
    
  }
  .notesWrapper {
    background: #3e3e3e;
    color: white;
    border: 5px solid #585858;
  }
  pre {
    background: #202020;
    box-shadow: 3px 3px 0px #323232;
    border: 1px solid #828282;
  }
  a {
    color: #48aef2;
  }
  .titleWrapper {
    background: #202020;
  }
  .tags ul li, .operatingsystems ul li {
    background: #202020;
    color: white;
    box-shadow: 2px 2px 0px #6a6a6a;
  }
  
}

@media print {
  html, body {
    overflow: visible;
    height: auto;
  }
  .notesWrapper {
    overflow-y: visible;
    max-height: unset;
  }
  .name {
    display: none;
  }
  .buttonsWrapper {
    display: none;
  }
  .tags ul li, .operatingsystems ul li {
    background: none;
    color: black;
    box-shadow: none;
  }
  .ch2-icon.ch2-visible {
    display: none;
  }
  pre.notes {
    display: none;
  }
  .ch2-region-c2 {
    display: none;
  }
}