.epo-legal #idTitleContent p.hierarchy1,
.epo-legal #idTitleContent p.hierarchy2,
.epo-legal #idTitleContent p.hierarchy3,
.epo-legal #idTitleContent p.hierarchy4,
.epo-legal #idTitleContent p.hierarchy5,
body.epo-legal h1.h2,
body.case-law #CLR_CONCORDANCE .CHeading3,
body.case-law #CLR_CONCORDANCE p.CLHead,
div.case-law #CLR_CONCORDANCE .CHeading3,
div.case-law #CLR_CONCORDANCE p.CLHead,
body.case-law .TOC1 a,
body.case-law h5.TOC1 a,
div.case-law .TOC1 a,
div.case-law h5.TOC1 a,
body.case-law p.TOC3,
div.case-law p.TOC3,
body.case-law p.TOC2,
body.case-law p.TOC2 a,
div.case-law p.TOC2,
div.case-law p.TOC2 a,
body.case-law p.TOC2C,
body.case-law p.TOC2C a,
div.case-law p.TOC2C,
div.case-law p.TOC2C a,
body.case-law p.TOC1,
body.case-law p.TOC1 a,
div.case-law p.TOC1,
div.case-law p.TOC1 a,
body.case-law p.TOC1C,
body.case-law p.TOC1C a,
div.case-law p.TOC1C,
div.case-law p.TOC1C a,
body.case-law ul.navKeywords li,
div.case-law ul.navKeywords li,
body.case-law p.Index1,
div.case-law p.Index1,
body.case-law p.IndexHeading,
div.case-law p.IndexHeading,
body.case-law p.Article,
div.case-law p.Article,
body.case-law p.CHeading3,
div.case-law p.CHeading3,
body.case-law p.CHeading1_1,
div.case-law p.CHeading1_1,
body.case-law p.Edition,
div.case-law p.Edition,
body.case-law p.Title,
div.case-law p.Title {
  font-weight: 600;
}

body.case-law,
div.case-law {
  /* PAGE STRUCTURE */
  /* general placeholder in the right */
  /* Main page's structure: no margin note */
  /* TYPOGRAPHY */
  /* Keyword index */
  /* Modifications file */
  /* SPACING AND LAYOUT */
  /* p {padding-right:1em;margin-right:274px} */
  /*
  P.TOC0 {
      @extend %semibold;
  }
  */
  /* Margin notes */
  /* Keyword index */
  /* Keyword index */
  /*****************************
    TOC
  ******************************/
  /* TOC Typography */
  /* TOC spacing */
  /* TOC Structure */
  /* TOC borders */
  /* after TOC */
  /* TOC colours */
  /*****************
  Indexes
  *****************/
  /*
  p.CLHead{
      @extend %semibold;
      background-color:$TABLE-HEADER-COLOUR;
      padding-top:1em;margin-top:0.25em;margin-bottom:0.25em;
      display:grid;
      grid-template-columns:12em 1fr;
      grid-template-areas:"cit ref";
      span:nth-child(1){
          grid-area:cit;
          margin-right:0.5em;
          margin-left:0.5em;

      }
      span:nth-child(2){
          grid-area:ref;
          margin-right:0.5em;
      }
  }
  */
}
body.case-law p.Title,
div.case-law p.Title {
  color: rgb(192, 32, 25);
}
body.case-law #idTOCAccordion a,
div.case-law #idTOCAccordion a {
  padding-bottom: 2;
}
body.case-law p.EditedBy,
div.case-law p.EditedBy {
  line-height: 2em;
}
body.case-law p.Article,
div.case-law p.Article {
  padding-bottom: 0;
}
body.case-law p.CitationIndexEntry + p.CHeading3,
div.case-law p.CitationIndexEntry + p.CHeading3 {
  padding-top: 1em;
}
body.case-law p.B,
div.case-law p.B {
  display: grid;
  grid-template-columns: 5em 1fr;
}
body.case-law p.B span:first-child,
div.case-law p.B span:first-child {
  grid-column: 1;
}
body.case-law p.B span:last-child,
div.case-law p.B span:last-child {
  grid-column: 2;
}
body.case-law p.H,
body.case-law p.B,
div.case-law p.H,
div.case-law p.B {
  display: grid;
  grid-template-columns: 2.5em 1fr;
}
body.case-law p.H span:first-child,
body.case-law p.B span:first-child,
div.case-law p.H span:first-child,
div.case-law p.B span:first-child {
  grid-column: 1;
}
body.case-law p.H span:last-child,
body.case-law p.B span:last-child,
div.case-law p.H span:last-child,
div.case-law p.B span:last-child {
  grid-column: 2;
}
body.case-law p.FootnoteText,
div.case-law p.FootnoteText {
  display: grid;
  grid-template-columns: 2em 1fr;
}
body.case-law p.FootnoteText span:first-child,
div.case-law p.FootnoteText span:first-child {
  grid-column: 1;
}
body.case-law p.FootnoteText span:last-child,
div.case-law p.FootnoteText span:last-child {
  grid-column: 2;
}
body.case-law p.H1,
body.case-law p.B1,
div.case-law p.H1,
div.case-law p.B1 {
  display: grid;
  grid-template-columns: 2.5em 2.5em 1fr;
}
body.case-law p.H1 span:first-child,
body.case-law p.B1 span:first-child,
div.case-law p.H1 span:first-child,
div.case-law p.B1 span:first-child {
  grid-column: 2;
}
body.case-law p.H1 span:last-child,
body.case-law p.B1 span:last-child,
div.case-law p.H1 span:last-child,
div.case-law p.B1 span:last-child {
  grid-column: 3;
}
body.case-law p.H2,
body.case-law p.B2,
div.case-law p.H2,
div.case-law p.B2 {
  display: grid;
  grid-template-columns: 5em 2.5em 1fr;
}
body.case-law p.H2 span:first-child,
body.case-law p.B2 span:first-child,
div.case-law p.H2 span:first-child,
div.case-law p.B2 span:first-child {
  grid-column: 2;
}
body.case-law p.H2 span:last-child,
body.case-law p.B2 span:last-child,
div.case-law p.H2 span:last-child,
div.case-law p.B2 span:last-child {
  grid-column: 3;
}
body.case-law p.N1,
div.case-law p.N1 {
  margin-left: 2.5em;
}
body.case-law p.PubInfo,
div.case-law p.PubInfo {
  margin-top: 1em;
  margin-bottom: 1em;
  padding-top: 0;
  padding-bottom: 0;
}
body.case-law p.T0,
body.case-law p.T,
div.case-law p.T0,
div.case-law p.T {
  margin-bottom: 0;
  padding-bottom: 0;
  margin-top: 0;
  padding-top: 0;
}
body.case-law p.TC,
div.case-law p.TC {
  margin-bottom: 0;
  padding-bottom: 0;
  margin-top: 0;
  padding-top: 0;
}
body.case-law ul.navKeywords,
div.case-law ul.navKeywords {
  padding-top: 1em;
  text-align: right;
  list-style: none;
  padding-left: 0;
}
body.case-law ul.navKeywords li:first-child,
div.case-law ul.navKeywords li:first-child {
  margin-left: 0;
  padding-left: 0;
}
body.case-law ul.navKeywords li,
div.case-law ul.navKeywords li {
  margin-left: 0.5em;
  padding-left: 0.5em !important;
  line-height: 24px;
  list-style-position: outside;
  list-style-type: unset;
  margin-left: 24px;
  padding-left: 0;
  position: relative;
  display: inline;
  padding: 0;
  margin: 0;
  margin-bottom: 0px;
  margin-left: 0px;
}
body.case-law ul.navKeywords li a,
div.case-law ul.navKeywords li a {
  font-size: 1.5em;
}
body.case-law ul.navKeywords,
div.case-law ul.navKeywords {
  padding-top: 1em;
  text-align: right;
  list-style: none;
  padding-left: 0;
}
body.case-law ul.navKeywords li:first-child,
div.case-law ul.navKeywords li:first-child {
  margin-left: 0;
  padding-left: 0;
}
body.case-law ul.navKeywords li,
div.case-law ul.navKeywords li {
  margin-left: 0.5em;
  padding-left: 0.5em !important;
  line-height: 24px;
  list-style-position: outside;
  list-style-type: unset;
  margin-left: 24px;
  padding-left: 0;
  position: relative;
  display: inline;
  padding: 0;
  margin: 0;
  margin-bottom: 0px;
  margin-left: 0px;
}
body.case-law ul.navKeywords li a,
div.case-law ul.navKeywords li a {
  font-size: 1.5em;
}
body.case-law p.IndexHeading,
div.case-law p.IndexHeading {
  padding-top: 2em;
  margin-top: 0;
  padding-bottom: 0;
  margin-bottom: 0;
  font-size: large;
}
body.case-law p.Index1,
div.case-law p.Index1 {
  padding: 0;
  margin: 0;
  padding-top: 1em;
}
body.case-law p.Index2,
div.case-law p.Index2 {
  padding: 0;
  margin: 0;
}
body.case-law p.Index3,
div.case-law p.Index3 {
  padding-left: 0;
  margin-left: 2.5em;
  padding-bottom: 0;
  margin-bottom: 0;
  padding-top: 0;
  margin-top: 0;
}
body.case-law p.TOC1 a,
body.case-law h5.TOC1 a,
div.case-law p.TOC1 a,
div.case-law h5.TOC1 a {
  font-size: 1.25rem;
}
body.case-law dl#idTOCAccordion > .card-header-white h5 .btn,
div.case-law dl#idTOCAccordion > .card-header-white h5 .btn {
  font-size: 20px;
}
body.case-law #idTOCAccordion .btn,
div.case-law #idTOCAccordion .btn {
  text-align: left;
  white-space: normal;
}
body.case-law p.TOC2C,
div.case-law p.TOC2C {
  padding-top: 0em;
  padding-bottom: 0em;
}
body.case-law p.TOC2C + p.TOC2C,
body.case-law p.TOC3C + p.TOC2C,
div.case-law p.TOC2C + p.TOC2C,
div.case-law p.TOC3C + p.TOC2C {
  padding-top: 1em;
}
body.case-law p.TOC3C,
div.case-law p.TOC3C {
  padding-top: 0em;
  padding-bottom: 0em;
}
body.case-law p.TOC1C,
body.case-law p.TOC1,
div.case-law p.TOC1C,
div.case-law p.TOC1 {
  padding-top: 0em;
  padding-bottom: 0em;
}
body.case-law p.TOC2,
div.case-law p.TOC2 {
  padding-top: 0.5em;
  padding-bottom: 0.5em;
}
body.case-law p.TOC3,
body.case-law p.TOC4,
body.case-law p.TOC5,
body.case-law p.TOC6,
div.case-law p.TOC3,
div.case-law p.TOC4,
div.case-law p.TOC5,
div.case-law p.TOC6 {
  padding-top: 0;
  margin-top: 0;
  padding-bottom: 0;
  margin-bottom: 0;
}
body.case-law p.TOC1 + p.TOC1,
div.case-law p.TOC1 + p.TOC1 {
  margin-top: 0.25em;
}
body.case-law p.TOC1,
div.case-law p.TOC1 {
  margin-bottom: 0;
  margin-right: 1em;
}
body.case-law .TOC2C a,
body.case-law .TOC3C a,
div.case-law .TOC2C a,
div.case-law .TOC3C a {
  display: grid;
  grid-template-columns: 8em 1fr;
  grid-template-areas: "prefix title";
}
body.case-law .TOC2C a span:first-child,
body.case-law .TOC3C a span:first-child,
div.case-law .TOC2C a span:first-child,
div.case-law .TOC3C a span:first-child {
  grid-area: prefix;
  text-align: left;
}
body.case-law .TOC2C a span:last-child,
body.case-law .TOC3C a span:last-child,
div.case-law .TOC2C a span:last-child,
div.case-law .TOC3C a span:last-child {
  grid-area: title;
}
body.case-law p.TOC1,
body.case-law p.TOC3,
body.case-law h5.TOC1 a,
body.case-law .TOC2 a,
body.case-law .TOC3 a,
body.case-law .TOC4 a,
body.case-law .TOC5 a,
body.case-law .TOC6 a,
div.case-law p.TOC1,
div.case-law p.TOC3,
div.case-law h5.TOC1 a,
div.case-law .TOC2 a,
div.case-law .TOC3 a,
div.case-law .TOC4 a,
div.case-law .TOC5 a,
div.case-law .TOC6 a {
  display: grid;
  grid-template-columns: 5rem 1fr;
  grid-template-areas: "prefix title";
}
body.case-law p.TOC1 span:first-child,
body.case-law p.TOC3 span:first-child,
body.case-law h5.TOC1 a span:first-child,
body.case-law .TOC2 a span:first-child,
body.case-law .TOC3 a span:first-child,
body.case-law .TOC4 a span:first-child,
body.case-law .TOC5 a span:first-child,
body.case-law .TOC6 a span:first-child,
div.case-law p.TOC1 span:first-child,
div.case-law p.TOC3 span:first-child,
div.case-law h5.TOC1 a span:first-child,
div.case-law .TOC2 a span:first-child,
div.case-law .TOC3 a span:first-child,
div.case-law .TOC4 a span:first-child,
div.case-law .TOC5 a span:first-child,
div.case-law .TOC6 a span:first-child {
  grid-area: prefix;
  text-align: left;
}
body.case-law p.TOC1 span:last-child,
body.case-law p.TOC3 span:last-child,
body.case-law h5.TOC1 a span:last-child,
body.case-law .TOC2 a span:last-child,
body.case-law .TOC3 a span:last-child,
body.case-law .TOC4 a span:last-child,
body.case-law .TOC5 a span:last-child,
body.case-law .TOC6 a span:last-child,
div.case-law p.TOC1 span:last-child,
div.case-law p.TOC3 span:last-child,
div.case-law h5.TOC1 a span:last-child,
div.case-law .TOC2 a span:last-child,
div.case-law .TOC3 a span:last-child,
div.case-law .TOC4 a span:last-child,
div.case-law .TOC5 a span:last-child,
div.case-law .TOC6 a span:last-child {
  grid-area: title;
}
body.case-law p.TOC1 span:only-child,
body.case-law p.TOC3 span:only-child,
body.case-law h5.TOC1 a span:only-child,
body.case-law .TOC2 a span:only-child,
body.case-law .TOC3 a span:only-child,
body.case-law .TOC4 a span:only-child,
body.case-law .TOC5 a span:only-child,
body.case-law .TOC6 a span:only-child,
div.case-law p.TOC1 span:only-child,
div.case-law p.TOC3 span:only-child,
div.case-law h5.TOC1 a span:only-child,
div.case-law .TOC2 a span:only-child,
div.case-law .TOC3 a span:only-child,
div.case-law .TOC4 a span:only-child,
div.case-law .TOC5 a span:only-child,
div.case-law .TOC6 a span:only-child {
  grid-column-start: prefix;
  grid-column-end: title;
}
body.case-law .TOC6 a,
div.case-law .TOC6 a {
  display: grid;
  grid-template-columns: 5rem 1fr;
  grid-template-areas: "prefix title";
}
body.case-law .TOC6 a span:first-child,
div.case-law .TOC6 a span:first-child {
  grid-area: prefix;
  text-align: right;
  margin-right: 1em;
}
body.case-law .TOC6 a span:last-child,
div.case-law .TOC6 a span:last-child {
  grid-area: title;
}
body.case-law div.DOC4NET_TOCEntry,
div.case-law div.DOC4NET_TOCEntry {
  margin-top: 10px;
}
body.case-law div.DOC4NET_TOCEntry div.DOC4NET_TOCEntry,
div.case-law div.DOC4NET_TOCEntry div.DOC4NET_TOCEntry {
  margin-top: 0px;
}
body.case-law div.DOC4NET_TOCSub,
div.case-law div.DOC4NET_TOCSub {
  border: solid 1px gray; /* tentative */
  border-radius: 0 0 4px 4px;
  padding-bottom: 0.5em;
}
body.case-law div.DOC4NET_TOCEntry p,
div.case-law div.DOC4NET_TOCEntry p {
  border-radius: 4px 4px 0 0;
  padding-left: 1em;
  padding-right: 64px;
}
body.case-law div.DOC4NET_TOCEntry p.TOC6,
div.case-law div.DOC4NET_TOCEntry p.TOC6 {
  padding-left: calc(1em + 5rem);
}
body.case-law div.DOC4NET_TOCEntry + p:not([class*="TOC"]),
div.case-law div.DOC4NET_TOCEntry + p:not([class*="TOC"]) {
  padding-top: 2em;
}
body.case-law p.DecisionIndexEntry,
div.case-law p.DecisionIndexEntry {
  padding: 0;
  margin-bottom: 0rem !important;
  padding-bottom: 0.5rem;
  margin-top: 0.5rem;
  border-bottom: solid 1px hsl(213deg, 15%, 80%);
  display: grid;
  grid-template-columns: 0.25rem 1.1em 8ch 9ch 10ch 1fr;
  grid-template-areas: "filler dt dn dd oj tx";
}
body.case-law p.DecisionIndexEntry span:nth-child(1),
div.case-law p.DecisionIndexEntry span:nth-child(1) {
  grid-area: dt;
  text-align: center;
}
body.case-law p.DecisionIndexEntry span:nth-child(2),
div.case-law p.DecisionIndexEntry span:nth-child(2) {
  grid-area: dn;
  text-align: right;
  margin-right: 0.5em;
}
body.case-law p.DecisionIndexEntry span:nth-child(3),
div.case-law p.DecisionIndexEntry span:nth-child(3) {
  grid-area: dd;
  margin-right: 0.5em;
}
body.case-law p.DecisionIndexEntry span:nth-child(4),
div.case-law p.DecisionIndexEntry span:nth-child(4) {
  grid-area: oj;
  margin-right: 0.5em;
}
body.case-law p.DecisionIndexEntry span:nth-child(5),
div.case-law p.DecisionIndexEntry span:nth-child(5) {
  grid-area: tx;
}
body.case-law p.CitationIndexEntry,
div.case-law p.CitationIndexEntry {
  padding: 0;
  margin: 0;
  border-bottom: solid 1px hsl(213deg, 15%, 80%);
  display: grid;
  grid-template-columns: 12em 1fr;
  grid-template-areas: "cit ref";
}
body.case-law p.CitationIndexEntry span:nth-child(1),
div.case-law p.CitationIndexEntry span:nth-child(1) {
  grid-area: cit;
  margin-right: 0.5em;
}
body.case-law p.CitationIndexEntry span:nth-child(2),
div.case-law p.CitationIndexEntry span:nth-child(2) {
  grid-area: ref;
}
body.case-law #CLR_CONCORDANCE .CHeading3,
body.case-law #CLR_CONCORDANCE p.CLHead,
div.case-law #CLR_CONCORDANCE .CHeading3,
div.case-law #CLR_CONCORDANCE p.CLHead {
  background-color: hsl(213deg, 15%, 80%);
  padding-top: 0.5em;
  padding-bottom: 0.5em;
  margin-top: 0em;
  margin-bottom: 0em;
  padding-left: 0.5em;
}
body.case-law p.CLElem,
div.case-law p.CLElem {
  display: grid;
  grid-template-columns: 12em 1fr;
  grid-template-areas: "cit ref";
  padding: 0;
  margin: 0;
  border-bottom: solid 1px hsl(213deg, 15%, 80%);
  margin-bottom: 0 !important;
  padding-bottom: 0.5rem;
  padding-top: 0.5rem;
}
body.case-law p.CLElem span:nth-child(1),
div.case-law p.CLElem span:nth-child(1) {
  grid-area: cit;
  margin-right: 0.5em;
  margin-left: 0.5em;
}
body.case-law p.CLElem span:nth-child(2),
div.case-law p.CLElem span:nth-child(2) {
  grid-area: ref;
  margin-right: 0.5em;
}
body.case-law div.caselaw-accordion-container,
div.case-law div.caselaw-accordion-container {
  display: grid;
  width: unset !important;
  padding-right: 0 !important;
  grid-template-columns: calc((100% - 25px) / 3 * 2) 20px 1fr;
  grid-template-columns: 100%;
  padding-bottom: 1rem;
}

body.epo-legal {
  /* SzZ 2022.02.01 */
}
body.epo-legal div.card-header-white {
  padding-left: 16px;
}
.epo-legal #idTitleContent p.hierarchy1 {
  font-size: 25px;
  line-height: 32.5px;
  padding-top: 8px;
  padding-bottom: 8px;
  margin-top: 24px;
}
.epo-legal #idTitleContent p.hierarchy2 {
  font-size: 20px;
  line-height: 24px;
  padding-top: 14px;
  padding-bottom: 14px;
}
.epo-legal #idTitleContent p.hierarchy3 {
  font-size: 20px;
  line-height: 24px;
  padding-top: 14px;
  padding-bottom: 14px;
}
.epo-legal #idTitleContent p.hierarchy4 {
  font-size: 20px;
  line-height: 24px;
  padding-top: 14px;
  padding-bottom: 14px;
}
.epo-legal #idTitleContent p.hierarchy5 {
  font-size: 20px;
  line-height: 24px;
  padding-top: 14px;
  padding-bottom: 14px;
}
.epo-legal #idTitleContent p.hierarchy1,
.epo-legal #idTitleContent p.hierarchy2,
.epo-legal #idTitleContent p.hierarchy3,
.epo-legal #idTitleContent p.hierarchy4,
.epo-legal #idTitleContent p.hierarchy5 {
  border-top: solid 1px rgba(64, 73, 85, 0.3);
  margin-bottom: 0;
}
.epo-legal #idTitleContent h4 {
  color: #4473ac;
  border-top: solid 1px rgba(64, 73, 85, 0.3);
  padding-top: 24px;
}

div.epolegal-content {
  /*
      a.FootnoteRef, span.FootnoteMarker {
          background-color: $cool-gray-29 !important;
          color: white !important;
      }
      */
}
div.epolegal-content div.DOC4NET2_Frame {
  width: unset !important;
  display: contents;
}
div.epolegal-content div.DOC4NET2_Frame_Inner {
  display: contents !important;
}
div.epolegal-content div.DOC4NET2_Frame_Text {
  grid-column: 1;
}
div.epolegal-content div.DOC4NET2_Frame_Margin {
  grid-column: 3;
}
div.epolegal-content div.DOC4NET2_Frame_Text p {
  margin-right: 0;
  padding-right: 0;
}
div.epolegal-content div.DOC4NET2_Frame_Margin p {
  margin-right: 0;
  padding-right: 0;
}
div.epolegal-content div.DOC4NET2_Frame_Margin p:not(:last-child) {
  margin-right: 0;
  padding-right: 0;
  padding-top: 0;
  margin-top: 0;
  padding-bottom: 0;
  margin-bottom: 0;
}
div.epolegal-content div.DOC4NET_Frame p,
div.epolegal-content div.DOC4NET_Frame div {
  padding-right: 0;
}
div.epolegal-content #idTOCAccordion dd.styled {
  padding: 0 24px !important;
}
div.epolegal-content #idTOCAccordion dt {
  margin-top: 16px !important;
}
div.epolegal-content #idTOCAccordion dt p {
  padding-right: 0.5rem;
}
div.epolegal-content #idTOCAccordion dt p.TOC1 {
  font-size: 20px;
}
div.epolegal-content #idTOCAccordion div.card-header-white {
  padding-left: 16px;
}
div.epolegal-content #idTOCAccordion div.card-header-nolink:not(:first-child) {
  margin-top: 8px;
}
div.epolegal-content #idTOCAccordion button.chapter {
  padding-left: 0 !important;
  margin-left: 0 !important;
}
div.epolegal-content #idTOCAccordion div.card-header-nolink {
  padding-left: 0 !important;
}
div.epolegal-content table.index th,
div.epolegal-content table.index td {
  padding: 16px 17px !important;
  vertical-align: top !important;
  margin-bottom: 0;
}

@media only screen and (min-width: 992px) {
  div.epolegal-content div.DOC4NET2_Frame {
    /*outline: 1px solid orange;*/
    display: grid;
    width: unset !important;
    padding-right: 0 !important;
    /* 48px padding of main, main, 20px padding of right, right */
    /* main:right = 2:1 */
    margin-right: calc((-100% - 48px) / 2);
    grid-template-columns: calc((100% - 25px) / 3 * 2) 20px 1fr; /* Calculate back the main from the 150% size (first column) */
  }
  body.case-law div.epolegal-content,
  div.case-law div.epolegal-content {
    /* outline: 1px solid orange;*/
    display: grid;
    width: unset !important;
    padding-right: 0 !important;
    /* 48px padding of main, main, 20px padding of right, right */
    /* main:right = 2:1 */
    /* margin-right: calc((-100% - 48px) / 2); */
    /* grid-template-columns: calc(calc(100% - 25px) / 3 *2) 20px 1fr; Calculate back the main from the 150% size (first column) */
    grid-template-columns: 100%;
  }
  body.case-law div.epolegal-content > *,
  div.case-law div.epolegal-content > * {
    grid-column: 1;
  }
}
body.epo-legal div#GLI_INDEX,
body.epo-legal div#GLA,
body.epo-legal div#GLB,
body.epo-legal div#GLC,
body.epo-legal div#GLD,
body.epo-legal div#GLE,
body.epo-legal div#GLF,
body.epo-legal div#GLG,
body.epo-legal div#GLH,
body.epo-legal div#GLI,
body.epo-legal div#GLJ,
body.epo-legal div#GLM {
  margin-right: 0;
  grid-template-columns: auto;
}
body.epo-legal hr.separation-prev-next-buttons {
  margin-top: 0;
}

/* This is for avoid overlapping problems: the right column content and the overlaying main colum content both will be clickable */
/*
div.layoutcomponent-column {
    pointer-events: none;

    > * {
        pointer-events: all;   
    }
}
*/
@media only screen and (max-width: 992px) {
  div.epolegal-content {
    width: unset !important;
    padding-right: unset !important;
    /*        display: grid;
            margin-right: 0;
            grid-template-rows: min-content;
            grid-template-columns: 100%;
    */
    /*outline: 1px solid green;*/
    /*
        hr.DOC4NET2-noteseparator {
            box-shadow: 0 -1px $cool-gray-29; // The grid removes the top-border, so this is a simple solution
            width: 100%;
        }
    */
  }
  div.epolegal-content div.largetable {
    overflow: auto;
  }
  div.epolegal-content div.DOC4NET2_Frame_Margin {
    display: none;
  }
  div.epolegal-content table th {
    vertical-align: top;
  }
  div.epolegal-content > * {
    grid-column: 1;
  }
}
@media only screen and (max-width: 576px) {
  div.epolegal-content {
    /*        margin-right: 0;
        grid-template-columns: 100%;
    */
    /* outline: 1px solid red; */
    /* Vertical HTML and PDF button arrangement in minimized mode */
    /*
            table.index {
                td:nth-child(2) {
                    display: flex;
                    flex-direction: column-reverse;
                    width: 128px;
                }

                .minimal-button {
                    margin: 0;
                }

                h5 {
                    margin-bottom: 0;
                }
            }
            */
  }
  div.epolegal-content div.largetable {
    overflow: auto;
    hyphens: auto;
  }
  div.epolegal-content
    p:not(
      .GAHeading4-A,
      .GAHeading3-Ax,
      .H1,
      .H2,
      .HM,
      .FootnoteText,
      .DOC4NET2_FootnoteText,
      .keywords_disclaimer
    ) {
    grid-template: "st" "sn";
    grid-template-columns: unset !important;
    padding-left: 0 !important;
  }
  div.epolegal-content > p:is(.GAHeading4-A, .GAHeading3-Ax) {
    grid-template-columns: auto 1fr !important;
  }
  div.epolegal-content p > span:first-of-type {
    grid-area: st;
    grid-column: unset !important;
  }
  div.epolegal-content p > span:last-of-type {
    grid-area: sn;
    grid-column: unset !important;
  }
  div.epolegal-content
    p:is(
      .ListBullet1,
      .H1,
      .H2,
      .HM,
      .H0,
      .FootnoteText,
      .DOC4NET2_FootnoteText,
      .OJ_FootnoteText
    ) {
    display: block !important;
    width: 100% !important;
  }
  div.epolegal-content
    p:is(
      .ListBullet1,
      .H1,
      .H2,
      .HM,
      .H0,
      .FootnoteText,
      .DOC4NET2_FootnoteText,
      .OJ_FootnoteText
    )
    > span:first-of-type::after {
    content: " ";
  }
  div.epolegal-content div.table {
    padding-left: 0 !important;
  }
  div.epolegal-content td p,
  div.epolegal-content th p {
    overflow-wrap: anywhere;
  }
  div.epolegal-content #idTOCAccordion a.ckeditor-accordion-toggler {
    padding: 12px 14px;
  }
  div.epolegal-content #idTOCAccordion dt p.TOC1 {
    font-size: 18px;
  }
  div.epolegal-content #idTOCAccordion button.js-accordion-expand {
    padding: 4.8px 12px;
  }
  body.drupalemulator {
    /* 2022-02-15 TA @EPO Global setup MUST be good and not to be overridden
           h1, h2, h3, p.Title {
               font-size: 110% !important;
               color: #084FA6 !important;
           }
    */
  }
  body.drupalemulator a.icon-eye.pdf-checksum {
    display: none !important;
  }
  body.guide-up
    div.epolegal-content
    p:not(.H, .B, .B1, .N1, .N2, .keywords_disclaimer),
  body.guidelines-epc
    div.epolegal-content
    p:not(.H, .B, .B1, .N1, .N2, .keywords_disclaimer),
  body.guidelines-pct
    div.epolegal-content
    p:not(.H, .B, .B1, .N1, .N2, .keywords_disclaimer) {
    grid-template: "st" "sn";
    grid-template-columns: unset !important;
    padding-left: 0 !important;
  }
  body.guide-up div.epolegal-content p:is(.H, .B, .B1, .N1, .N2),
  body.guidelines-epc div.epolegal-content p:is(.H, .B, .B1, .N1, .N2),
  body.guidelines-pct div.epolegal-content p:is(.H, .B, .B1, .N1, .N2) {
    display: block !important;
    width: 100% !important;
  }
  body.guide-up
    div.epolegal-content
    p:is(.H, .B, .B1, .N1, .N2)
    > span:first-of-type::after,
  body.guidelines-epc
    div.epolegal-content
    p:is(.H, .B, .B1, .N1, .N2)
    > span:first-of-type::after,
  body.guidelines-pct
    div.epolegal-content
    p:is(.H, .B, .B1, .N1, .N2)
    > span:first-of-type::after {
    content: " ";
  }
  body.guidelines-pct div.epolegal-content p:not(.keywords_disclaimer),
  body.epc-1973 div.epolegal-content p:not(.keywords_disclaimer),
  body.epc_2016 div.epolegal-content p:not(.keywords_disclaimer),
  body.epc_2020 div.epolegal-content p:not(.keywords_disclaimer) {
    display: block !important;
    padding-left: 0 !important;
    text-indent: 0 !important;
  }
  body.guidelines-pct
    div.epolegal-content
    p:not(.keywords_disclaimer)
    > span:first-of-type,
  body.epc-1973
    div.epolegal-content
    p:not(.keywords_disclaimer)
    > span:first-of-type,
  body.epc_2016
    div.epolegal-content
    p:not(.keywords_disclaimer)
    > span:first-of-type,
  body.epc_2020
    div.epolegal-content
    p:not(.keywords_disclaimer)
    > span:first-of-type {
    display: inline !important;
    width: unset !important;
    min-width: unset !important;
    position: relative !important;
    text-indent: 0 !important;
    left: unset !important;
    margin-left: unset !important;
  }
  body.guidelines-pct
    div.epolegal-content
    p:not(.keywords_disclaimer)
    > span:first-of-type.Del,
  body.epc-1973
    div.epolegal-content
    p:not(.keywords_disclaimer)
    > span:first-of-type.Del,
  body.epc_2016
    div.epolegal-content
    p:not(.keywords_disclaimer)
    > span:first-of-type.Del,
  body.epc_2020
    div.epolegal-content
    p:not(.keywords_disclaimer)
    > span:first-of-type.Del {
    display: none !important;
  }
  body.guidelines-pct
    div.epolegal-content
    p:not(.keywords_disclaimer)
    > span:first-of-type::after,
  body.epc-1973
    div.epolegal-content
    p:not(.keywords_disclaimer)
    > span:first-of-type::after,
  body.epc_2016
    div.epolegal-content
    p:not(.keywords_disclaimer)
    > span:first-of-type::after,
  body.epc_2020
    div.epolegal-content
    p:not(.keywords_disclaimer)
    > span:first-of-type::after {
    content: " ";
  }
  body.epc-1973 div.epolegal-content table table *,
  body.epc_2016 div.epolegal-content table table *,
  body.epc_2020 div.epolegal-content table table * {
    display: inline !important;
  }
  body.official-journal div.epolegal-content p,
  body.epc-1973 div.epolegal-content p,
  body.epc_2016 div.epolegal-content p,
  body.epc_2020 div.epolegal-content p {
    display: block !important;
    padding-left: 0 !important;
    text-indent: 0 !important;
  }
  body.official-journal div.epolegal-content p > span:first-of-type,
  body.epc-1973 div.epolegal-content p > span:first-of-type,
  body.epc_2016 div.epolegal-content p > span:first-of-type,
  body.epc_2020 div.epolegal-content p > span:first-of-type {
    display: inline !important;
    width: unset !important;
    min-width: unset !important;
    position: relative !important;
    text-indent: 0 !important;
    left: unset !important;
    margin-left: unset !important;
  }
  body.official-journal div.epolegal-content p > span:first-of-type.Del,
  body.epc-1973 div.epolegal-content p > span:first-of-type.Del,
  body.epc_2016 div.epolegal-content p > span:first-of-type.Del,
  body.epc_2020 div.epolegal-content p > span:first-of-type.Del {
    display: none !important;
  }
  body.official-journal div.epolegal-content p > span:first-of-type::after,
  body.epc-1973 div.epolegal-content p > span:first-of-type::after,
  body.epc_2016 div.epolegal-content p > span:first-of-type::after,
  body.epc_2020 div.epolegal-content p > span:first-of-type::after {
    content: " ";
  }
  body.official-journal div.epolegal-content p span.FootnoteRef,
  body.epc-1973 div.epolegal-content p span.FootnoteRef,
  body.epc_2016 div.epolegal-content p span.FootnoteRef,
  body.epc_2020 div.epolegal-content p span.FootnoteRef {
    position: relative !important;
  }
}

/*# sourceMappingURL=case-law.css.map */
