div.landingPage h1 {
  display: none;
}

#toc ol {
  list-style-type: none;
}

.xref-call {
  vertical-align: top;
  font-size: 50%;
}

span[class*="fn-call"],
sup {
  /** must not affect line height **/
  font-size: 0.6em;
  vertical-align: 0.65em;
  line-height: 0;
}

span[class*="fn-call"] {
  /*font-variant-position: super;*/
  color: var(--third-color);
  cursor: pointer;
}

.button-tabs{
    border-bottom : 1px solid #ddd;
    width: var(--right-width);
    height: var(--btn-tabs-height);
    z-index: 1;
    background-color: white;
}

.dark .button-tabs {
    border-bottom: 1px solid var(--dark-theme-txt);
    background-color: var(--dark-theme-bg);
}

.tab-btn{
    background-color: white;
    padding: 10px ;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    font-weight: bold;
    height: var(--btn-tabs-height);
}

#tabtn-metas{
    display: none;
}

.mixed-citation {
    margin-top: 10px;
    margin-bottom: 10px;
    padding: 10px;
    border-bottom: 1px solid #888;
}

 /***** FOOTNOTES ******/
div[id^="footnotes"] ul,
div[id^="footnotes"] ul {
    list-style-type: none;
}

div[id^="footnotes"] li{
    box-sizing: border-box;
    padding: 20px 10px 20px 10px;
    border-bottom: 1px solid #888;
}

div[id^="footnotes"] li.focus, #refs .ref.focus{
    border-right: 5px solid var(--third-color);
}

div[id^="footnotes"] li .label {
    display: inline-block;
    margin-right:10px;
    cursor: pointer;
}

div[id^="footnotes"] li .label:hover{
    color: var(--grey-color);
}

div[id^="footnotes"] li .label:before {
    content: '[';
}

div[id^="footnotes"] li .label:after {
    content: ']';
}

/*
#footnotes .label {
    color:var(--third-color);
}
*/

div[id^="footnotes"] .label {
    color:var(--third-color);
}

.article-and-metas{
    display: -ms-grid;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-column-gap: 24px;
    max-width: 1114px;
    padding: 0;
}

@media only screen and (min-width: 75em) {
  .right-contents {
    display: block;
    grid-column: 1/4;
    -ms-grid-row: 3;
    grid-row: 3;
  }
}

@media only screen and (min-width: 75em) {
  .left-contents {
    margin-left: 36px;
    margin-left: 2.25rem;
    margin-right: 36px;
    margin-right: 2.25rem;
    grid-column: 4/13;
    -ms-grid-row: 3;
    grid-row: 3;
  }
}

.front{
  list-style: none;
  margin: 0;
  padding: 0;
  position: -webkit-sticky;
  position: sticky;
  top: 110px;
}

#mode-color-btns,
.langBtns,
.button-tabs{
  display: none;
}


/***** TOC *******/

#toc li {
    margin-top:5px;
}
#toc a {
    color: #757575;
    text-decoration: none;
   /* padding-left: 5px;
    padding-right: 5px;*/
    /*display: inline-block;*/
}

#toc a:hover{
    color: black;
}

.dark #toc a {
    color: var(--dark-theme-txt);
}

#toc a.active {
    color: white;
    background-color: black;
    padding-left: 5px;
    padding-right: 5px;
}

.dark #toc a.active {
    color: var(--dark-theme-bg);
    background-color: var(--dark-theme-txt);
}

#toc ol {
    list-style-type: none;
    padding-left: 0;
}

#toc .section2 {
    margin-left:5%;
}

#toc .section3 {
    margin-left:10%;
}

#toc .section4 {
    margin-left:15%;
}

#toc .section5 {
    margin-left:20%;
}

#toc ol li ol {
  margin-left: 10%;
}

.obj_galley_link::before {
    display: inline;
  font: normal normal normal 14px/1 FontAwesome;
    font-size: 14px;
  font-size: inherit;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transform: translate(0, 0);
  content: "\f0f6";
  margin-right: 0.25em;
}

div.LangMode{
    display: none; 
}
