/**
 * You can compile this by https://www.sassmeister.com with
 *
 * - dart-sass v1.18.0
 */
.diff-wrapper.diff {
  background: repeating-linear-gradient(-45deg, whitesmoke, whitesmoke 0.5em, #e8e8e8 0.5em, #e8e8e8 1em);
  border-collapse: collapse;
  border-spacing: 0;
  /*border: 1px solid black;*/
  /*color: black;*/
  empty-cells: show;
  /*font-family: monospace;*/
  /*font-size: 13px;*/
  width: 100%;
  /*word-break: break-all;*/
  word-break: break-word;
}

.custom-dialog .diff-wrapper.diff{
  border: 0;
  border-collapse: separate !important;
  background: none !important;
  padding-top: 30px;
}

.diff-wrapper.diff tbody {
  border: 0;

}

.diff-wrapper.diff th {
  font-weight: 700;
}
.diff-wrapper.diff td {
  vertical-align: baseline;
}
.diff-wrapper.diff td,
.diff-wrapper.diff th {
  border-collapse: separate;
  border: none;
  padding: 1px 2px;
  background: #fff;
}
.diff-wrapper.diff td:empty:after,
.diff-wrapper.diff th:empty:after {
  content: " ";
  visibility: hidden;
}
.diff-wrapper.diff td a,
.diff-wrapper.diff th a {
  color: #000;
  cursor: inherit;
  pointer-events: none;
}
.diff-wrapper.diff thead th {
  background: #a6a6a6;
  border-bottom: 1px solid black;
  padding: 4px;
  text-align: left;
}
.diff-wrapper.diff tbody.skipped {
  border-top: 1px solid black;
}
.diff-wrapper.diff tbody.skipped td,
.diff-wrapper.diff tbody.skipped th {
  display: none;
}
.diff-wrapper.diff tbody th {
  background: #cccccc;
  border-right: 1px solid black;
  text-align: right;
  vertical-align: top;
  width: 4em;
}
.diff-wrapper.diff tbody th.sign {
  background: #fff;
  border-right: none;
  padding: 1px 0;
  text-align: center;
  width: 1em;
}
.diff-wrapper.diff tbody th.sign.del{
  /* background: #f6b1b6; */
  color: #ef3c3c;
  text-decoration: line-through;
}
.diff-wrapper.diff tbody th.sign.ins {
  /* background: #d3e7af;  */
  color: #4a8300;
  text-decoration: underline;
}
.diff-wrapper.diff.diff-html {
  /* white-space: pre-wrap; */
  white-space: pre-line;
  table-layout: fixed;
}
.diff-wrapper.diff.diff-html .monospace {
  white-space: pre-wrap;
  word-break: break-all;
  white-space: pre;
  max-width: calc(42vw - 80px);
  overflow-x: auto;

}


@media only screen and (min-width: 1920px){
  .diff-wrapper.diff.diff-html div{
  max-width: calc(42vw - 150px);
  }
}



.diff-wrapper.diff.diff-html .monospace .monospace{
  /*max-width: none;
  overflow-x: visible;*/
}



.diff-wrapper.diff.diff-html.diff-combined .change.change.change-rep .rep {
  white-space: normal;
}
.diff-wrapper.diff.diff-html .change.change.change-eq .old,
.diff-wrapper.diff.diff-html .change.change.change-eq .new {
  background: #fff;
}
.diff-wrapper.diff.diff-html .change.change-rep .old, .diff-wrapper.diff.diff-html .change.change-ins .old{
 /* background: #f6b1b6; */
 color: #ef3c3c;
 text-decoration: line-through;
}
.diff-wrapper.diff.diff-html .change.change-rep .new, 
.diff-wrapper.diff.diff-html .change.change-ins .new:not(td),
.diff-wrapper.diff.diff-html .change.change-ins td.new *
{
  /* background: #d3e7af;  */
  color: #4a8300;
  text-decoration: underline; 
}
.diff-wrapper.diff.diff-html .change.change-rep .rep {
  /* background: #fef6d9; */
  background: transparent;
}
.diff-wrapper.diff.diff-html .change.change .old.none,
.diff-wrapper.diff.diff-html .change.change .new.none,
.diff-wrapper.diff.diff-html .change.change .rep.none {
  background: transparent;
  cursor: not-allowed;
}
.diff-wrapper.diff.diff-html .change.change ins,
.diff-wrapper.diff.diff-html .change.change del {
  /*font-weight: bold;*/
  text-decoration: none;
}
.diff-wrapper.diff.diff-html .change.change ins, .diff-wrapper.diff.diff-html .change.change-rep ins {
  /* background: #d3e7af;  */
  color: #4a8300;
  text-decoration: underline;
  display: inline-block;
}
.diff-wrapper.diff.diff-html .change.change del, .diff-wrapper.diff.diff-html .change.change-rep del{
  /* background: #f6b1b6; */
  color: #ef3c3c;
  text-decoration: line-through;
}

.diff-wrapper .change.change-rep{
  border-top: 30px solid #fff !important;
}


.dialog-body table.diff-wrapper{
    border-top: 0 !important;
}

.dialog-body .content-header{
  margin-bottom: 15px !important;
}


/* ASPI content */

.aspi_content .diff-wrapper .predpis-cislo, .aspi_content .diff-wrapper .predpis-druh, .aspi_content .diff-wrapper .datum-schvaleni, .aspi_content .diff-wrapper .conversion{
  text-align: center;
  display: block !important;
}

.aspi_content .odstavec{
  font-size: 16px;
}

.aspi_content  table.diff-wrapper tr td .odstavec{
 margin-bottom: 10px !important;
}

.aspi_content .diff-wrapper .odstavec-group .pismeno{
  text-indent: 0;
}

.dialog-body .aspi_content .diff-wrapper .pismeno,
.dialog-body .aspi_content .diff-wrapper .podpismeno
{font-size: 16px; margin-bottom: 20px !important}

/* oct 2021 */

.diff-wrapper  th {
  display: none;
}

/*
.aspi_content .predpis-cislo, .aspi_content .predpis-druh, .aspi_content .datum-schvaleni, .aspi_content .conversion {
  text-align: center;
  width: 100%;
}
.aspi_content .cast-cislo, .aspi_content .cast-nadpis, .aspi_content .hlava-cislo, .aspi_content .hlava-nadpis, .aspi_content .oddil-cislo, .aspi_content .oddil-nadpis, .aspi_content .clanek-cislo, .aspi_content .dil-nadpis, .aspi_content .dil-cislo, .aspi_content .group-cislo, .aspi_content .zasady-nadpis, .aspi_content .clanek-group-nadpis, .aspi_content .preambula-nadpis {
  text-align: center;
  width: 100%;
}

.diff-wrapper  th.sign.ins + td, .diff-wrapper  th.sign.del + td {
  display: flex;
}

.diff-wrapper  td > *{
  width: 100%;
}

.diff-wrapper.diff.diff-html .change .old:empty{
  display: none;
}
*/
