/* copy */
pre {
  position: relative;
}

pre .copy-button {
  position: absolute;
  display: none;
  top: 5px;
  right: 5px;
  padding: 0.3em 0.6em;
  font-size: 0.9em;
  cursor: pointer;
  background: #3f3f3f;
  color: white;
  border: none;
  border-radius: 3px;
}

pre:hover .copy-button {
  display: block;
}


.header-container {
  display: flex;
  align-items: center;
}
.header-container img {
  margin-right: 20px !important; 
}
.header-container h2 {
  margin: 0 !important;
  margin-top: 2px !important;
  font-size: 16px !important;
  color: #0069b4 !important;
}


div.html-viewer {
  padding: 10px;
  padding-top: 0px;
  width: 100% !important;
}

@media print {
  .html-viewer  img {
    max-width: 100%;
  }
}

.html-viewer {
  font-family: 'Tahoma', '-apple-system', 'Helvetica Neue', Helvetica, Arial, sans-serif;

  /* Text color */
  color:  	#3B3B3B;

  /* Remove the background color to make it transparent */
  background-color: #FFFFFF;

  margin: 0px;

	font-size: 14px;
	line-height: 1.5;

	/* Fix for missing scrollbars with RTL texts. (#10488) */
	word-wrap: break-word;
  /* padding: 0px 10px 0px 10px; */
    
}

.html-viewer p {
  margin: 1em 0 1em 0;
}

.html-viewer blockquote
{
	font-style: italic;
	font-family: Georgia, Times, "Times New Roman", serif;
	padding: 2px 0;
	border-style: solid;
	border-color: #ccc;
	border-width: 0;
}

.html-viewer a
{
	color:  	#006BFF;
  font-size: 1.1em;
}

.html-viewer ol,.html-viewer ul, .html-viewer dl
{
	/* IE7: reset rtl list margin. (#7334) */
	*margin-right: 0px;
	/* preserved spaces for list items with text direction other than the list. (#6249,#8049)*/
	/* padding: 0 40px; */
}

.html-viewer h1,.html-viewer h2,.html-viewer h3,.html-viewer h4,.html-viewer h5,.html-viewer h6
{
	font-weight: normal;
	line-height: 1.2;
}

.html-viewer hr
{
	border: 0px;
	border-top: 1px solid  	#CECECE;
}

.html-viewer img.right
{
	border: 1px solid  	#CECECE;
	float: right;
	margin-left: 15px;
	padding: 5px;
}

.html-viewer img.left
{
	border: 1px solid  	#CECECE;
	float: left;
	margin-right: 15px;
	padding: 5px;
}

.html-viewer pre {
  white-space: pre-wrap;
  word-wrap: break-word;
  -moz-tab-size: 4;
  tab-size: 4;
  border: 1px solid #CECECE;
  padding: 5px;
  background-color:  	#F0F0F0;
  /*
  margin-right: 10px;
  */
}

.html-viewer .marker
{
	background-color: Yellow;
}

.html-viewer span[lang]
{
	font-style: italic;
}

.html-viewer figure
{
	text-align: center;
	border: solid 1px  #CECECE;
	border-radius: 2px;
	background: rgba(0,0,0,0.05);
	padding: 10px;
	margin: 10px 20px;
	display: inline-block;
}

.html-viewer figure > figcaption
{
	text-align: center;
	display: block; /* For IE8 */
}

/* Widget Styles */
.html-viewer .code-featured
{
	border: 5px solid red;
}

.html-viewer .math-featured
{
	padding: 20px;
	box-shadow: 0 0 2px rgba(200, 0, 0, 1);
	background-color: rgba(255, 0, 0, 0.05);
	margin: 10px;
}

.html-viewer .image-clean
{
	border: 0;
	background: none;
	padding: 0;
}

.html-viewer .image-clean > figcaption
{
	font-size: .9em;
	text-align: right;
}

.html-viewer .image-grayscale
{
	background-color: white;
	color: #666;
}

.html-viewer .image-grayscale img, .html-viewer img.image-grayscale
{
	filter: grayscale(100%);
}

.html-viewer .embed-240p
{
	max-width: 426px;
	max-height: 240px;
	margin:0 auto;
}

.html-viewer .embed-360p
{
	max-width: 640px;
	max-height: 360px;
	margin:0 auto;
}

.html-viewer .embed-480p
{
	max-width: 854px;
	max-height: 480px;
	margin:0 auto;
}

.html-viewer .embed-720p
{
	max-width: 1280px;
	max-height: 720px;
	margin:0 auto;
}

.html-viewer .embed-1080p
{
	max-width: 1920px;
	max-height: 1080px;
	margin:0 auto;
}

/* agorum core documentation styles */
/* generic */
.agorum-page-a4 table {
  width: 100% !important;
  /* border: none; */
  border: none !important;
  border-spacing: 3px;
  background: white;
  margin-left: -3px;
}

.agorum-page-a4 tr:nth-child(odd) {
  background-color:  	#F0F0F0;
}

.agorum-page-a4 tr:nth-child(even) {
  background-color: #FAFAFA;
}

.agorum-page-a4 td {
  border: none !important;
  padding: 10px !important;
  vertical-align: top;
}

.agorum-page-a4 th {
  background-color: #3B3B3B;
  color: white;
  font-weight: bold;
  text-align: left;
}

.agorum-page-a4 th {
  border: none !important;
  padding: 10px !important;
  vertical-align: top;
}

/* table 1 */
table.agorum-table-1 {
  width: 100%;
  border: none !important;
  border-spacing: 3px;
  background: white;
  float: none;
}

.html-viewer table {
   font-size: inherit;
}

.agorum-table-1 th,
.agorum-table-1 td {
  border: none !important;
  padding: 10px !important;
  vertical-align: top;
}

.agorum-table-1 th {
  background-color: #3B3B3B;
  color: white;
  font-weight: bold;
  text-align: left;
}

.agorum-table-1 td {
  color: black;
  font-weight: normal;
  text-align: left;
  width: 40%;
}

.agorum-table-1 td:first-child {
  background-color: #3B3B3B;
  color: white;
  font-weight: bold;
  text-align: left;
    width: 20%;
}

.agorum-table-1 tr:nth-child(even) {
  background-color: #FAFAFA;
}

.agorum-table-1 tr:nth-child(odd) {
  background-color: #F0F0F0;
}

/* table 2 */
table.agorum-table-2 {
  width: 100%;
  border: none !important;
  border-spacing: 3px;
  background: white;
}

.agorum-table-2 th,
.agorum-table-2 td {
  border: none !important;
  padding: 10px !important;
  vertical-align: top;
}

.agorum-table-2 th {
  background-color:  #3B3B3B;
  color: white;
  font-weight: bold;
    padding: 10px !important;
  text-align: left;
}

.agorum-table-2 td {
  color: black;
  font-weight: normal;
  text-align: left;
  width: 50%;
    padding: 10px !important;
}

.agorum-table-2 tr:nth-child(even) {
  background-color:  #F0F0F0;
}

.agorum-table-2 tr:nth-child(odd) {
  background-color:  	#FAFAFA;
}

div.agorum-page-a4 {
  /* max-width: 645px; */
  max-width: 1000px;
  /* to centre page on screen*/
  /*
  margin-left: auto;
  margin-right: auto;
  */
  word-break: break-word;
  /*
  padding-left: 25px;
  padding-right: 25px;
  */

  /* border-left: 1px dotted gray; */
  /* border-right: 1px dotted gray; */
}

@media only screen and (max-width: 600px) {
  div.agorum-page-a4 {
    max-width: 350px;
  }
}

.agorum-page-a4 h1 {
    color: #006BFF;
}
.agorum-page-a4 h2 {
  color: #006BFF;
  padding-bottom: 6px;
  border-bottom: 1px solid #CECECE;
}
.agorum-page-a4 h2 + hr {
  display: none;
}

.html-viewer h1 {
  font-size: 2em;
}

.html-viewer h2 {
  font-size: 1.5em;
}

.html-viewer h3 {
  font-size: 1.17em;
}

.agorum-page-a4 ul {
  margin-left: -20px;
}

.agorum-page-a4 ul ul {
  list-style-type: disc;
  margin-left: -28px;
  display: block;
}

.agorum-page-a4 h3 {
  font-weight: bold;
}

.agorum-page-a4 ol {
  margin-left: -20px;
}

.agorum-page-a4 ol ol {
  list-style-type: lower-alpha;
  margin-left: -25px;
}

.agorum-hint {
  padding: 12px;
  outline: 2px solid #006BFF;
  padding-left: 40px;
  margin-top: 24px;
  margin-bottom: 24px;
}

.agorum-hint h1 {
  color: #0069b5;
  padding: 0px;
  margin: 0px;
  font-size: 22px
}

.agorum-hint p {
  padding: 0px;
  margin: 0px;
  font-weight: normal;
  font-size: 14px
}

div.agorum-hint {
  background-color: #FAFAFA;
  background-repeat: no-repeat;
  background-position: 8px 10px;
  background-size: 24px 24px;
  background-clip: border-box;
}

div.agorum-hint-achtung,
div.agorum-hint.achtung {
  background-image: url("achtung_agorum.svg");
  outline: 2px solid #EB4D27;
}

div.agorum-hint-admin,
div.agorum-hint.admin {
  background-image: url("admin_agorum.svg");
}

div.agorum-hint-hinweis,
div.agorum-hint.hinweis {
  background-image: url("hinweis_agorum.svg");
}

div.agorum-hint-screencast,
div.agorum-hint.screencast {
  background-image: url("screencast_agorum.svg");
}

div.agorum-hint-tipp,
div.agorum-hint.tipp {
  background-image: url("tipp_agorum.svg");
}

div.agorum-hint-verweis,
div.agorum-hint.verweis {
  background-image: url("verweis_agorum.svg");
}



.agorum-image img {
}

.agorum-img p {
  text-align: center;
}

div.agorum-image {
  /* margin-top: 20px; */
  height: auto;
  background-color: white;
  border: 1px solid #CECECE;
  /* box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2); */
  /* border: 1px solid rgba(0,0,0,0.2); */
  display: inline-grid;
  /* border-radius: 10px; */
}

/*
div.agorum-image.size-100 {
  width: 100%;
}

div.agorum-image.size-75 {
  width: 75%;
}

div.agorum-image.size-50 {
  width: 50%;
}

div.agorum-image.size-25 {
  width: 25%;
}
*/

video {
  border: 1px solid rgba(0, 105, 181, 0.5);
}

.video-container {
  position: relative;
  padding-bottom: 56.25%;
  padding-top: 30px;
  height: 0;
  overflow: hidden;
  border: 1px solid rgba(0, 105, 181, 0.5);
}

.video-container iframe,
.video-container object,
.video-container embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.agorum-image div {
  text-align: center;
  padding: 10px 20px;
  background-color: #FAFAFA;
}

.agorum-page-a4 img {
  max-width: 100% !important;
}

/*
.agorum-image img {
  width: 100%;
}
*/

div.agorum-image.cols-2 {
  margin-top: 20px;
  display: inline-block;
  vertical-align: bottom;
  
  width: 47%;
  height: auto;
  background-color: white;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  margin-left: 1%;
  margin-right: 1%;
}

.agorum-page-a4 h1:first-child {
  margin-top: 20px;
}

.agorum-page-a4 .agorum-hint h1 {
  margin-top: 0px;
}

.agorum-page-a4 h1 {
  margin-top: 40px;
}

.agorum-page-a4 h2 {
  margin-top: 40px;
}

.agorum-page-a4 h3 {
  margin-top: 40px;
}

/* instructions */
ol.agorum-instructions {
  list-style: none;
  counter-reset: my-awesome-counter;
  padding: 16px;
  padding-bottom: 8px;
  border: 1px solid #CECECE;
  margin-left: 0;
  position: relative;
  overflow: hidden;
}
ol.agorum-instructions li {
  counter-increment: my-awesome-counter;
  margin-left: 40px;
  padding-bottom: 16px;
  margin-top: 6px;
  position: relative;
}

ol.agorum-instructions li::before {
  content: counter(my-awesome-counter);
  background: #4EE3FF;
  color: black;
  padding: 4px;
  /*margin-top: -4px; */
  border-radius: 50%;
  position: absolute;
  width: 20px;
  height: 20px;
  line-height: 20px;
  text-align: center;
  left: -40px;
  /* margin-left: -40px; */
  box-sizing: unset;
}