.html-viewer {
  background: whitesmoke;
  border-left: 4px solid #12b080;
  margin-top: 2rem;
}

.tool__content > .html-viewer {
  border-left: none;
} 

.html-viewer .html-viewer-upload {
  padding-top: 0.01rem;
}

.html-viewer .html-viewer-upload-buttons {
  display: flex;
  margin-left: 2rem;
  flex-direction: row;
  flex-wrap: wrap;
}

.html-viewer-upload-button {
    margin: 0.3rem;
    border: 0.05rem solid grey;
    padding: 0rem 0.25rem;
    border-radius: 0.4rem;
}

.html-viewer-upload-button:hover {
  background-color: #0077b6;
  color: white;
}

.html-viewer .html-viewer-code {
    padding: 0.1rem 1rem 1rem 0;
    position: relative;
    min-height: 3em;
    position: relative;
}

.html-viewer .html-viewer-code-option-singlecolumn {
  padding: 0.1rem 1rem 1rem 0;
  position: relative;
  min-height: 3em;
  position: relative;
}

.html-viewer .html-viewer-code-heading {
    font-style: italic;
    font-weight: 600;
    padding: 0rem 2rem;
    margin: 0.5rem 0;
  }

.html-viewer-code {
  width: 100%;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: stretch;
}

.html-viewer-code-option-singlecolumn {
  width: 100%;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  align-items: stretch;
}

.html-viewer-quelltext {
  width: 100%;
}

.html-viewer-webseite {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.html-viewer-code-heading {
  display: flex;
  flex-direction: row;
  padding-right: 0 !important;
}

@media (min-width: 1200px) {
  .html-viewer-quelltext {
    width: 50%;
  }

  .html-viewer-webseite {
    width: 50%;
  }

  .html-viewer-code-heading {
    flex-wrap: wrap;
  }

  .html-viewer-quelltext-option-singlecolumn {
    width: 100%
  }

  .html-viewer-webseite-option-singlecolumn {
    width: 100%
  }
}




.html-viewer .CodeMirror {
    background-color: #fff !important;
    border-right: 0.2rem solid whitesmoke;
    height: auto !important;
    margin: 0 !important;
    margin-bottom: 2rem;
  }

.html-iframe-div {
  height: 100%;
   margin: 0 0 0 2rem;
}

.html-viewer .html-iframe {
    background-color: #fff !important;
    margin: 0;
    min-height: 500px;
    height: 100%;
    width: 100%;
    max-width: 100%;
    border: 0.5px solid #ccc;
}

.html-viewer .html-viewer-kopieren {
  color: grey;
  text-decoration: none;
  font-style: normal;
  font-size: 0.7em;
  padding-left: 1em;
}

.html-viewer .html-viewer-kopieren:hover {
  color: #b82929;
  background-color: transparent;
  cursor: pointer;
}

.html-viewer .html-viewer-toggle-historie {
  color: grey;
  text-decoration: none;
  font-style: normal;
  font-size: 0.7em;
  padding-left: 2rem;
}

.html-viewer .html-viewer-toggle-historie:hover {
  color: #b82929;
  background-color: transparent;
  cursor: pointer;
}

.htmlviewer_historie ul {
  list-style-type: none;
}

.htmlviewer_historie ul li {
  color: black;
  cursor: pointer;
}

.htmlviewer_historie ul li:hover{
  color: #b82929;
}

div.html-viewer-buttons {
 margin-left: auto;
}

.CodeMirror {
  line-height: 1.5em;
}