﻿body {
    color: #444;

}
html {
    scroll-behavior: smooth;
    scroll-padding: 20px;
}



/***************  Left menu    ****************************/

#menu {
    font-size: 13.3333px;
    box-sizing: border-box;    
    width: 250px;
    background-color: white;
    font-family: Candara, Verdana, Arial, sans-serif;
    color: #4d4d4d;
    text-decoration: none;    
    cursor:pointer;
    /*display:inline;*/
    max-height: 80vh;
}

#menu ul {    
    list-style-type: none;
    display: none;
    box-sizing:border-box;    
    padding-left: 0;
    text-align:left;    
}

#menu li a {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding:5px 8px;   
}

#menu li a:hover {
    background-color:#e0e7eb;
}

#menu a {
    text-decoration: none;    
    color: #2E526D;
    padding-left:5px;
    display:block;    
}

.menu_img {
    width: 15px;
    margin:3px 10px -3px 10px;
}
.menu_txt {
    position: relative; 
    margin-left: -5px;
}

/*.ref-area {
    width: 200px;
    height: 150px;
    background-color: #0FA0CE;
}*/


/************** Fulltext css *******************/

#fulltext_container {
    font-family: Candara, Verdana, Arial, sans-serif;
    box-sizing: border-box;
    background-color: white;
    width: 100%;
    text-align: justify;
    margin-top: -5px;
}


#fulltext_container .right_menu {
    background: #0FA0CE;
    padding: 20px;
}

#fulltext_container .down_arrow {
    width: 15px;
    padding-left: 5px;
    margin-bottom: -4px;

}

#fulltext_container a{
    color: #6a9eb8;    
}

#fulltext_container italic {
    font-style: italic;
}

bold {
    font-weight:bold;
}

#fulltext_container .section ul {
    list-style-type:disc;
    margin-top:2px;
    margin-bottom:8px;
}

#fulltext_container .section ol {
    list-style-type:decimal;
    margin-top:2px;
    margin-bottom:8px;
}

#fullTextModal a {
    color: #6a9eb8;    
}

#fulltext {
    padding-top:9px;
}

#fulltext_container h1, #references h1 {
    font-size: 18px;
    /*height:35px;*/
    text-align: left;    
    border-bottom: 1px solid #6a9eb8;
    box-sizing:border-box;
    font-weight:normal;
    color:black;
    margin-bottom:10px;
    padding:0;    
}

#references {
    margin-bottom:20px;
}

#references h1 {
    margin-top: 20px;
}

#fulltext_container h2 {
    display: block;    
    font-size: 16px;
    text-align: left;
    font-weight: bolder;    
    margin:15px 0;    
}

#fulltext_container h3 {
    display: block;    
    font-size: 14px;
    text-align: left;
    font-weight:bold;
    font-style:normal;    
    margin:15px 0;
    text-transform:none;
    color: #444444; 
}

.heading-wrapper h2 {    
    /*page-break-inside:avoid;*/
    -webkit-column-break-inside: avoid; /* Chrome, Safari, Opera */
    page-break-inside: avoid; /* Firefox */
    break-inside: avoid; /* IE 10+ */   
}

h2::after {
    content: "";
    display: block;
    height: 100px;
    margin-bottom: -100px;
}

#fulltext_container img {
    max-height: 600px;
}

#fulltext_container sec sec title {
    font-size: 16px;
    font-weight: normal;
    font-style: italic;
}

#fulltext_container p {    
    font-size: 10pt;
    /*line-height: 1.5;*/
    padding-bottom: 5pt;
}

#fulltext_container #referencePopup {
    position: absolute;
    display: none;    
    width: 360px;
    background-color: #EFF3F5;
    font-size: 13px;
    padding: 10px;
    border: 1px solid #6a9eb8;
    z-index: 1111111;    
    color:#000000;
    word-break:break-word;
    text-align:left;
}

#fulltext_container #referencePopup span {      
    color:#000000;
}

#fulltext_container #referencePopup img {
    display:none;
}

#fulltext_container #referencePopup:hover {
    display: block;
}

#LinkOutPopup {
    position: absolute;
    display: none;
    background-color: #EFF3F5;
    font-size: 13px;
    padding: 10px;
    border: 1px solid #6a9eb8;
    z-index: 111111122;
    cursor:pointer;
}

#fulltext_container tbody,
#fullTextModal_modal-content tbody {
    width: 90%;
    margin: 40px auto;
    /*max-font-size: 10px;*/
}

#fulltext_container .full_table,
#fullTextModal_modal-content .full_table {
    box-sizing: border-box;
    padding: 30px 0;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    width: 100%;
    font-size: 12px;
    background-color: #eff3f5;
}

#fulltext_container .full_table  label,
#fullTextModal_modal-content .full_table  label{
    padding: 10px;
    margin-left: 40px;
    font-weight: bold;
}

#fulltext_container .full_table  title,
#fullTextModal_modal-content .full_table  title{    
    display: block;
    max-width: 500px;
    padding: 10px;
    font-style: normal!important;
    font-size: 12px;
    word-break:break-word;
}

#fullTextModal_modal-content .tbl_title {
    word-break:break-word;
}

#fulltext_container .full_table  p,
#fullTextModal_modal-content .full_table  p{
    padding: 5px;
    padding-top: 5px;    
    border-bottom: 1px solid #6a9eb8;
    width: 88.5%;
    margin: 0 auto;
    word-break:break-word;
}

/*#fulltext_container .full_table  table {
    width: 100%;       
}*/

#fulltext_container .table-wrapper table {
    table-layout: auto;
    border-collapse: collapse;
    max-width: 90%;
    width:100%;
    margin: 0 auto;    
    border: none;
    background-color: white;
    border-bottom: 1px solid #6a9eb8; 
    /*overflow:hidden;*/ 
    /*display: block;*/
    overflow-x: auto;    
}

#fullTextModal_modal-content table {
    table-layout: auto;
    border-collapse: collapse;
    max-width: 90%;
    min-width: 600px;
    margin: 0 auto;
    border: none;
    background-color: white;    
    border-bottom: 1px solid #6a9eb8;
    margin-bottom: 30px;
    border-top: 1px solid #6a9eb8; 
    display:table!important;
}

#fulltext_container .table-wrapper table th,
#fullTextModal_modal-content table th {
    font-weight: bold;
    color: #666666;
    padding: 5px;    
    border-bottom: 1px solid #6a9eb8;
    text-align:center;
    background-color:white;    
}

#fulltext_container .table-wrapper table td {
    overflow: hidden;
    padding: 5px;
    width:auto;
    text-align: center;
}

#fulltext_container .tbl_title, #fulltext_container .tbl_title strong, #fulltext_container .tbl_title bold {
    font-size:14.3333px;
    padding-bottom:10px!important;
}

#fulltext_container .tbl_legend {
    font-size:12.3333px;
    padding-bottom:5px!important;
    background-color:white;
    word-break:break-word;    
}
    #fulltext_container .tbl_legend .ref {
        font-size:12.3333px;
    }

.MathJax_Preview {
    max-width:100%;
}
.MathJax_SVG {
    max-width:100%;
}
#fulltext_container svg {
    max-width:100%;
}

#fulltext_container .tbl_legend strong, #fulltext_container .tbl_legend bold, #fulltext_container .tbl_legend italic {
    font-size: 12.3333px;
}

#fullTextModal_modal-content td, #fullTextModal_modal-content th {
    font-size: 15px;
    padding: 10px;
    width:auto;
    text-align: center;    
}

/*#fulltext_container tr:hover td,
#fullTextModal_modal-content tr:hover td {
    color: black;
    background-color:#e0e8eb;
}*/

sub {
    vertical-align: sub;
    font-size: smaller;
}

.hoverrow {
    color: black;
    background-color:#e0e7eb!important;        
}

#fulltext_container .table-wrapper tr:nth-child(odd),
#fullTextModal_modal-content tr:nth-child(odd) {    
    background-color: #eff3f5;    
}

/*#fulltext_container table td:first-child {
    text-align: left;
}*/

#fulltext_container fig {
    position: relative;
    display: block;
    background-color: #eff3f5;    
}

#fulltext_container fig img {
    box-sizing: border-box;
    display: block;
    flex: 1;
    margin: 0 auto;    
    max-width: 80%;
    padding: 40px 30px 10px;
    
}
#fulltext_container fig p  {
    display: block;
    flex: 1;
    padding: 0px;
    text-indent: unset;
    width: 80%;    
    padding-bottom:20px;
    margin: 0 auto;
    word-break:break-word;
}

#fulltext_container .fig_legend, #fullTextModal .fig_legend {
    margin-top:-20px;    
}

#fulltext_container .expand {
    position: absolute;
    right:10px;
    top:10px;
    width: 20px;
    height: 20px;
    z-index: 100;

}

#fulltext_container .back {
    position: absolute;
    left: calc(100% - 65px);
    right:40px;
    top:10px;
    width: 21px;
    height: 21px;
    z-index: 100;
}

#fulltext_container .expand:hover, #fulltext_container .back:hover {
 opacity: 50%;
}

#fulltext_container .table-wrapper {
    position: relative;
    box-sizing: border-box;
    width: 722px;    
    column-span: all;
    margin: 10px auto 30px;
    
}

#fulltext_container .fig-wrapper {
    position: relative;
    -webkit-column-break-inside: avoid; /* Chrome, Safari, Opera */
    page-break-inside: avoid; /* Firefox */
    break-inside: avoid; /* IE 10+ */
    margin: 10px auto 30px; 
}

#fulltext_container .ref {
    font-weight:bold;
}

#fulltext_container .ref italic, #fulltext_container .ref i {
    color: #6a9eb8;
}

/*Modal CSS*/

/* The Modal (background) */
#fullTextModal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.4);
}

#fullTextModal .ref {
    cursor: default;
    pointer-events: none;
    text-decoration: none;    
    color: #444444;
}

#fullTextModal img {
    display: block;
    margin: 48px auto 20px;
    width: 700px;    
}

#fullTextModal p {
    position: relative;
    display: block;
    margin:  0 auto;
    padding-bottom: 20px;
    /*width: 700px;*/
    font-size: 14px;
    max-width: 90%;
    min-width: 600px;
    box-sizing: border-box;
    padding-left:10px!important;
    padding-right:10px!important;
    word-break:break-word;
}

#fullTextModal p span{
    display: inline;
}

#fullTextModal table tbody bold, #fullTextModal table tbody italic {
    font-size: 15px;
}

#fullTextModal .tbl_title {
    padding: 30px 20px 10px;
    font-size: 16px;
    width: 60%;
    text-align: left;    
}

#fullTextModal .tbl_title strong, #fullTextModal .tbl_title bold, #fullTextModal .tbl_title italic {
    font-size: 16px;
}

#fullTextModal .tbl_legend {
    font-size: 14px;
    background-color:white;    
    border-bottom: 1px solid #6a9eb8;    
    margin-top:-30px;
    margin-bottom: 30px;
    padding-top: 10px;
    padding-bottom: 10px!important;
    word-break:break-word;
}

#fullTextModal .tbl_legend a, #fullTextModal .tbl_legend strong, #fullTextModal .tbl_legend bold, #fullTextModal .tbl_legend italic {
    font-size: 14px;
}

/* Modal Content/Box */
.modal {
    position:relative;    
}

#fullTextModal_modal-content {    
    background-color: #eff3f5;
    border: 5px solid #d1dde2;
    position:fixed;
    top:50%;
    left:50%;
    -ms-transform: translate(-50%, -50%);
    transform:translate(-50%,-50%);
    overflow-y:auto;    
    overflow-x:hidden;    
    max-height:calc(100vh - 30px);
    animation: fadeIn 1s;
}

#fullTextModal_modal-content-body {
    overflow-x: auto;    
}

/*#fullTextModal_modal-content-body td:first-child {
    text-align: left;
}*/

@keyframes fadeIn {
    from {opacity: 0;}
    to {opacity: 1;}
}
@keyframes fadeOut {
    from {opacity: 1;}
    to {opacity: 0;}
}


.fullTextModal_close {
    box-sizing: border-box;
    position: absolute;
    top:-5px;
    right: -5px;
    /*background-color: #d1dde2;*/
    background-color:#eff3f5;
    padding: 4px 15px;
    color: #6A9EB8;
    font-size: 36px;
    font-weight: bold;
    z-index:100;
}

.fullTextModal_close:hover,
.fullTextModal_close:focus {
    text-decoration: none;
    cursor: pointer;
}

.goBackHidden {
    display: none;
}

.visible_back {
    display: inline;    
}

.visible_back:hover {
    cursor:pointer;
}

.image_download span {
    color:#6a9eb8;
}

.up_arrow {
    width: 15px;    
    margin-bottom: -4px;
}

#endnotes .up_arrow {
    margin-left:5px;
}

#references_table {
    border-collapse:collapse;
}
#references_table a{
    color:#6a9eb8;
}
#references_table a:hover{
    cursor: pointer;
}
#references_table tr:nth-child(odd) td{
    background: #eff3f5;
    padding:5px;    
}
#references_table tr:nth-child(even) td{
    background: white;
    padding:5px;
}
.ref_pos {
    width:16px;
    vertical-align:top;
    text-align:right;       
}
.ref_text {
    word-break: break-word;
}

.zoomout, .zoomin {
    height:18px;
    margin-bottom:5px;
    cursor:pointer;
}

.reset {
    height:24px;
    margin-right:3px;
    cursor:pointer;
}
.zoom {
    margin-top:20px;
}

#leftHTML {
    display:none;    
    position:relative;
}

#fulltext_container .section {    
    /*display:inline;*/
    display:block;
    margin-bottom:20px;
}

sub, sup, .supnote {  
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sup, .supnote {
  top: -0.5em;
}

sub {
  bottom: -0.25em;
}

.bolder, #fullTextModal .bolder {
    font-weight: bold;
    display: flex;
}

.disp-quote {    
    border-left:5px solid #6a9eb8;
    padding:10px;
    width:90%;
    margin:13px auto 20px;
    background-color:#e0e7eb;
}

.attribution {
    text-align:right;
    font-style:italic;
}

.formula-figure img {
    display:block;
    margin:13px auto 20px;
}

#endnotes_table {
    max-width: 100%;
    text-align:left;    
}

#endnotes_table td {
    padding:3px;
}

#endnotes_table td sup:not([id^="superscript"]) {
    color: #6a9eb8;
    margin-right:3px;
}

.hidden {
    display:none;
}