@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;700&family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&display=swap');

html, body {
    margin: 0px;
    padding: 0px;
}

* {
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.container {
    display: flex;
    flex-direction: column;
    position: relative;
    width: 100%;
}


/* Layout styles */

#body--container {
    margin: 0px;
}

#banner, #footer {
    width: 100%;
    /* box-shadow: 0px 10px 50px #12171d; */
}

#banner img, #footer img {
    width: 100%;
}

header {
    width: 100%;
    min-height: 400px;
    background-color: rgba(255,255,255,0.8);
    /* border-top: 1px solid #DADADA; */
    width: 100%;

}


#title, #subtitle {
    font-weight: 400;
}

#subtitle {
    margin-top: 50px;
    font-weight: 400;
    font-style: italic;
}

#title {
    font-size: 36pt;
    margin-top: 0px;
    color: #193659;
}

.section--heading {
    /* position: absolute; */
    /* left: 0px; */
    /* padding-right: 30px; */
    margin: 0px;
    margin-top: 4pt;
    margin-bottom: 50px;
    /* width: 300px; */
    /* text-align: right; */
    font-size: 24pt;
    color: #193659;
}

.section--heading::before {
    z-index: -100;
    position: absolute;
    margin-left: -125px;
    margin-top: -50px;
    content: "";
    width: 100px;
    height: 100px;
    background-size: 100px 100px;
    background-color: #FFFFFF;
    background-image: url("./assets/images/lightbulb_vector.png");
}

header, main > section {
    padding: 50px 10% 50px 200px;
    font-family: "Libre Baskerville", serif;
}

p {
    font-family: "Libre Baskerville", serif;
    font-size: 14pt;
    line-height: 28pt;

}

section {
    /* margin-top: 200px; */
}

/* Report summaries table */

#table1, #table2 {
    border-bottom: 1px dotted #333333;
}


.report--row, .lesson--row {
    border-top: 1px dotted #333333;
    display: flex;
    flex-direction: column;
}

.report--heading, .report--content, .lesson--heading {
    display: flex;
    flex-direction: row;
    padding: 0px;
    margin: 0px;
}

.report--heading {
    min-height: 200px;
}

.research--date, .publication--date, .lesson--number, .lesson--placeholder {
    flex: 1 0 20%;
    text-align: right;
    padding: 20px;
    border-right: 1px solid #333333;
    position: relative;
}

.research--statistics, .publication--content {
    flex: 1 0 80%;
    padding: 20px;
}

.research--date {
    /* border-right: 10px solid #71b2d3; */
}

.research--date-label, .publication--date-label, .lesson--number-label {
    position: absolute;
    right: -8px;
    padding-right: 20px;
}

.research--date-label, .lesson--number-label {
    border-right: 16px solid rgba(113,178,211,0.8);
    height: calc(100% - 40px);
    margin: 0px;
    display: flex;
    flex-direction: column;
    justify-content: center;

}

.research--statistics, .lesson--banner {
    padding: 20px;
    display: flex;
    flex-direction: row;
    flex: 1 0 80%;
}

.research--statistics-content {
    display: flex;
    flex-direction: row;
    background-color: #F3F3F3;
    width: 100%;
    height: 100%;
    font-family: "Lato", sans-serif;
    font-size: 12pt;
    border-radius: 10px;
}

.lesson--banner-content {
    font-weight: 700;
    line-height: 36pt;
    display: flex;
    flex-direction: row;
    width: 100%;
    height: 100%;
    font-family: "Lato", sans-serif;
    font-size: 18pt;
}

.research--statistics-content > * {
    flex: 1 0 33%;
    width: 33%;
    padding: 20px;
    display: flex;
    flex-direction: row;
    justify-content: left;
    align-items: center;
}


.report--content {

}

.publication--date {

}

.publication--content {
    display: flex;
    flex-direction: column;
}

.lesson--content {
    display: flex;
    flex-direction: row;
}

.publication--title {
    /* flex: 1 0 50%;
    padding-right: 20px; */
    flex: 1 0;
    padding-right: 20px;
    margin-bottom: 50px;

}

.publication--title-name,
.publication--date-label,
.publication--authors,
.research--date-label {
    font-family: "Lato", sans-serif;
    font-size: 14pt;
    margin: 0px;
}

.lesson--number-label {
    font-family: "Lato", sans-serif;
    font-size: 18pt;
    margin: 0px;

}

.publication--authors {
    font-weight: 300;
    margin-top: 20px;
}


.publication--summary {
    flex: 1 0 auto;
}

.lesson--text {
    flex: 1 0 80%;
    padding: 20px 100px 20px 20px;
}


.publication--summary p,
.lesson--text p {
    margin: 0px;
    padding: 0px;
    padding-right: 10%;
    font-size: 12pt;
    line-height: 20pt;

}

.label--callout {
    display: inline;
    font-weight: 700;
}

.table--icon {
    flex: 1 0 33%;
    width: 33%;
    padding: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.table--icon img {
    width: 100%;
    max-width: 120px;
}

.table--statistic-label {
    flex: 1 0 66%;
    width: 66%;
    padding-left: 10px;
    padding-right: 20px;
}

/* Dot Plot Styles */

.dotplot--container {
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: row;
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
}

.vis--container {
    width: 70%;
    position: relative;
    border-right: 1px solid #e0e0e0;

}

.container--axis {
    position: sticky;
    top: 0;
    width: 100%;
    background-color: white;
    z-index: 100;
}

.container--axis svg {
    vertical-align: bottom;
}

.container--scroll {
    width: 100%;
    position: relative;
}

#pil-reports-svg--main,
#other-publications-svg--main {
    margin: 0px;
    padding: 0px;
}

.work--label {
    font-family: "Lato", sans-serif;
    font-weight: 600;
    /* fill: #446688; */
    fill: #446688;
    /* fill: #1b9e77; */
    font-size: 9pt;
    dominant-baseline: central;
    text-anchor: end;
    pointer-events: none;
}

.mouseover--rect {
    /* fill: none; */
    pointer-events: all;
    cursor: pointer;
    opacity: 0.5;
}

.work--g {
    pointer-events: all;
}

.work--date {
    font-family: Arial, Helvetica, sans-serif;
    /* fill: #446688; */
    fill: #666666;
    font-size: 10pt;
    dominant-baseline: central;
    text-anchor: end;
    cursor: default;
    font-weight: 300;
    pointer-events: none;
}

.work--marker {
    fill: #cc9c00;
    stroke: #cc9c00;
    fill-opacity: 0.3;
    stroke-opacity: 0.6;
    pointer-events: none;
}

.icon--img {
    pointer-events: none;
}

.axis text {
    font-family:Arial, Helvetica, sans-serif;
    font-size: 8pt;
    cursor: default;
}

.axis path, .axis line {
    stroke: #666666;
}

.timeline--vertical {
    stroke: #CCCCCC;
    stroke-dasharray: 2 2;
}


.text--container {
    flex: 1 1 100%;
    padding-left: 20px;
    padding-right: 100px;
}

/* p {
    font-family:Arial, Helvetica, sans-serif;
    font-size: 12pt;
    line-height: 16pt;
} */


.tooltip {
    position: absolute;
    z-index: 1000;
    top: 0px;
    left: 0px;
    right: 0px;
    visibility: hidden;
    /* width: 200px; */
    width: fit-content;
    background-color: rgba(255,255,255, 0.95);
    font-family:Arial, Helvetica, sans-serif;
    font-size: 10pt;
    /* line-height: 15pt; */
    padding: 5px;
    border-radius: 5px;
    pointer-events: none;
    /* display: flex;
    flex-direction: row; */
    border: 1px solid #CCCCCC;
    box-shadow: 0px 0px 5px 2px #CCCCCC;
    white-space: nowrap;
}

.tooltip h5 {
    margin: 0px;
    padding: 0px;
}


.tooltip b {
    margin-bottom: 50px;
}



.a--work {
    color: #446688;
    text-decoration: none;
    font-weight: 600;
    pointer-events: all;
}

.a--work:hover {
    text-decoration: underline;
}

.tooltip ul {
    padding-left: 20px;
    list-style-type: circle;
}

.tooltip li {
    margin-bottom: 5px;
}

.citation--count {
    font-size: 14pt;
}


.node {
    stroke: #ffffff;
    stroke-width: 1;
    cursor: pointer;
}


.link {
    fill: none;
    stroke: #333333;
    stroke-width: 2;
}

.highlight {
    fill: #cc9c00;
    stroke: #cc9c00;
    text-shadow: #e5e2d7 0px 0px 3px;
    /* fill-opacity: 0.3;
    stroke-opacity: 0.6; */
}

.hover {
    stroke: #cc9c00;
    stroke-width: 3;
}

.reference_circle {
    fill: #FFFFFF;
    fill-opacity: 0.3;
    stroke: #e0e0e0;
    stroke-width: 3;
    pointer-events: none;
}

.reference_circle.highlight {
    stroke: #cc9c00;
}

.reference_line {
    stroke: #cc9c00;
    stroke-width: 2;
    stroke-linecap: round;
    pointer-events: none;
}

.work--label.highlight {
    fill: #cc9c00;
    stroke: none;
}

.tooltip h5 {
    margin: 0px;
    padding: 0px;
    margin-top: 20px;
    margin-bottom: 5px;
    font-size: 11pt;
    color: #333333;
    border-bottom: 1px solid #AAAAAA;
}

.tooltip h5:first-child {
    margin-top: 0px;
}

#pil-cites--list {
    margin: 0px;
    /* padding: 0px; */
}


.discipline {
    display: inline-block;
    margin: 3px;
    margin-left: 0px;
    padding: 4px 6px;
    border-radius: 3px;
    /* border: 1px solid #CCCCCC; */
    /* font-weight: bold; */
    background-color: #EEEEEE;
    font-size: 8pt;
}

.discipline {
    color: #333;
}

.hide {
    opacity: 0.2;
}

.dot--marker {
    stroke: #CCCCCC;
    stroke-width: 1;
    fill: #8aa5e4;
}

.tooltip--wide {
    width: 30%;
    height: 100%;
    background-color: #FFFFFF;
    font-family:Arial, Helvetica, sans-serif;
    font-size: 11pt;
    padding: 15px 15px;
    border-radius: 2px;
    pointer-events: visible;
    display: flex;
    flex-direction: column;
    cursor: default;
    position: sticky;
    visibility: visible;
    top: 0px;
}


.tooltip--wide-close {
	display: none;
	position: absolute;
	z-index: 1000;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 50px;
	background-color: #F3F3F3;
	border-bottom: 1px solid #CCCCCC;
	flex-direction: column;
	justify-content: center;
	text-align: right;
	padding-right: 10px;
	color: #177397;
    cursor: pointer;
}

.tooltip--wide-close:hover {
    text-decoration: underline;
}


.tooltip--content {
    visibility: hidden;
}

.tooltip--instructions {
    font-style: italic;
    margin-top: 20px;
}


.tooltip--work-name {
    font-family:Arial, Helvetica, sans-serif;
    font-weight: 600;
    font-size: 12pt;
    flex: 0 1 100%;
    width: 100%;
}

.tooltip--details-container {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.tooltip--overview-container {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 25px 0px;
}

.row {
    width: 100%;
    margin-bottom: 20px;
}

.column {
    flex: 0 1 50%;
    width: 50%;
    padding-left: 0px;
    padding-right: 0px;
}

.column:last-child {
    border-right: none;
}

.details--subheader {
    margin-top: 0px;
    font-size: 9pt;
    text-transform: uppercase;
    color: #666666;
    font-weight: bold;
    border-bottom: 1px solid #666666;
}

.details--total-citations {
    text-align: left;
    display: flex;
    flex-direction: row;
    justify-content:center;
    align-items: center;
    width: 100%;
    margin-top: 30px;
    margin-bottom: 30px;
}

.total-citations--count {
    font-size: 32pt;
    font-weight: 600;
    text-align: left;
    padding-left: 15px;
    padding-right: 15px;
    display: block;
}

.details--disciplines {
    flex: 0 1 100%;
    width: 100%;
    margin-bottom: 20px;
}

.details--geography {
    flex: 0 1 100%;
    width: 100%;
}

.timeline--label, .timeline--label-geomap {
    font-family:Arial, Helvetica, sans-serif;
    font-weight: 600;
    /* fill: #446688; */
    fill: #000000;
    /* fill: #1b9e77; */
    font-size: 9pt;
    dominant-baseline: central;
    pointer-events: none;
}

.timeline--label-geomap {
    text-anchor: start;
}

.timeline--label {
    text-anchor: end;
}

/* Geomap Styles */



#geomap--container {
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 50px;

}

#geomap--content {
    width: 100%;
}

#geomap {
    width: 100%;
    /* height: 100%; */
    /* cursor: grab; */
    position: relative;
    border: 1px solid #b0b0b0;
    border-radius: 10px;

}

#timeline {
    flex: 0 1 60px;
    width: 100%;
    height: 60px;
    background-color: rgba(255,255,255,0.9);
    padding: 5px;
}

#timeline--selection {
    width: 300px;
}

.timeline--marker {
    stroke-width: 2;
    stroke: #446688;
    fill: #CCCCCC;
    fill-opacity: 0.6;
    stroke-opacity: 0.9;
    cursor: grab;
}

.timeline--marker:hover {
    fill: #F6C900;
}

.timeline--marker-rect {
    stroke: #CCCCCC;
    stroke-width: 6;
    stroke-linecap: round;
    opacity: 0.7;
}

/* #timeline--limit-min {
    cursor: e-resize;
}

#timeline--limit-max {
    cursor: w-resize;
} */


#timeline text, #color--key text {
    font-family:Arial, Helvetica, sans-serif;
    font-size: 9pt;
}

.timeline--axis path,
.timeline--axis line {
    stroke: #333333;
}

.country {
    stroke: #ccc;
    stroke-width: 1
}

.country--label {
    margin: 0px;
    margin-bottom: 5px;
}

.section--header {
    /* font-family: Arial, Helvetica, sans-serif; */
    font-family: "Libre Baskerville", serif;
    width: 100%;
    padding: 15px 50px;
    /* padding-bottom: 15px; */
    background-color: rgba(255,255,255,0.95);
    border-bottom: 1px solid #CCCCCC;
}

.section--header h1 {
    font-size: 14pt;
}

.sticky--header {
    position: sticky;
    top: 0;
    z-index: 100;
}


.section--header p {
	font-size: 12pt;
	line-height: 20pt;
	padding-right: 10%;
}

figure .section--header h1 {
    font-style: italic;
}

figure {
    margin: 100px 0px;
    padding: 0px;
    box-shadow: 0px 0px 50px #468;
}

.endnote--intext {
    font-size: 80%;
    color: #446688;
    cursor: pointer;
    vertical-align: super;
    line-height: 0;
}

.endnote--intext:hover {
    text-decoration: underline;
}

/* Acknowledgments and Endnotes Styles */

.acknowledgments--list {
    padding-left: 20px;
    list-style-type: none;
    font-size: 12pt;
}

.acknowledgment--item {
    margin: 10px 0px;
    line-height: 20pt;
}

.acknowledgment--item-large-entry {
    margin-bottom: 20px;
}

.acknowledgments--subheading, section h4 {
    font-size: 14pt;
    margin-top: 50px;
    margin-bottom: 20px;
}

#endnotes--list {
    /* padding-left: 0px; */
    font-size: 12pt;
}

#endnotes--list li {
    margin: 10px 0px;
    line-height: 20pt;
}

a:link, a:visited {
    text-decoration: none;
    color: #177397;
}

a:hover {
    text-decoration: underline;
}

#preferred-citation {
    background-color: #EFEFEF;
}

#in-memoriam {
    font-style: italic;
    padding-right: 30%;
    padding-top: 0px;
}

#resize--overlay {
    z-index: 1000;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0px;
    left: 0px;
    background-color: #FFFFFF;
    opacity: 0.8;
}

/* Media Queries */

@media screen and (max-width: 800px) {
    header, main > section {
        padding: 50px 10% 50px 50px;
    }

    #title {
        font-size: 22pt;
        line-height: 26pt;
    }

    #subtitle {
        font-size: 14pt;
        line-height: 20pt;
    }

    .section--heading {
        font-size: 18pt;
    }

    .section--heading::before {
        opacity: 0.3;
        margin-left: -50px;
        margin-top: -50px;
    }

    p {
        font-size: 11pt;
        line-height: 22pt;    
    }

    .section--header {
        padding: 15px 20px;
    }

    .section--header h1 {
        font-size: 14pt;
    }

    .research--date, .publication--date {
        flex: 1 0 30%;
    }

    .lesson--number, .lesson--placeholder {
        flex: 1 0 20%;
    }

    .research--statistics, .publication--content {
        flex: 1 0 70%;
        padding: 20px 10px;
    }

    .publication--title-name, .publication--date-label, .publication--authors, .research--date-label {
        font-size: 11pt;
        line-height: 16pt;
    }

    /* Table Layout */

    .report--heading {
        min-height: unset;
    }

    .research--statistics-content {
        flex-direction: column;
        font-size: 11pt;
    }

    .research--statistics-content > * {
        flex: 1 0;
        width: 100%;
        padding: 10px 20px;
    }

    .publication--content, .lesson--content {
        flex-direction: column;
        font-size: 11pt;
        line-height: 22pt;
    }

    .publication--title {
        flex: 1 0;
        padding-right: 20px;
        margin-bottom: 50px;
    }

    .table--icon {
        flex: 1 0 25%;
        width: 25%;
        padding: 0px;
    }

    .table--statistic-label {
        flex: 1 0 75%;
        width: 75%;
    }

    .lesson--banner {
        flex: 1 0 80%;
        width: 80%;
    }

    .lesson--banner-content {
        font-size: 14pt;
        line-height: 28pt;
    }

    .lesson--content {
        flex-direction: row;
    }

    .lesson--text {
        padding: 20px;
        font-size: 11pt;
        line-height: 22pt;
    }

    .acknowledgments--list {
        padding-left: 0px;
    }

    #endnotes--list {
        padding-left: 0px;
    }

    .dotplot--container {
        flex-direction: column;
    }

    .vis--container {
        width: 100%;
    }

    .tooltip--wide {
        width: 100%;
        height: 100%;
        position: fixed;
        top: 0px;
        left: 0px;
        z-index: 1000;
        padding: 10px;
        padding-top: 60px;
        visibility: hidden;
        overflow-y: scroll;
    }

    .tooltip--wide-close {
        display: flex;
    }

    .tooltip--instructions {
        display: none;
    }

    .section--header p {
        line-height: 16pt;
    }

    .mobile--noshow {
        display: none;
    }

    #endnotes--list a:link, #preferred-citation a:link, #supplementary-resources a:link {
        word-wrap: break-word;
    }

    .acknowledgments--list, #endnotes--list {
        font-size: 11pt;
        line-height: 22pt;
    }

    .publication--summary p, .lesson--text p {
        font-size: 11pt;
        line-height: 18pt;
    }
}


/* PRINT STYLES */

@media print {

    @page {
        margin: 0.75in;
    }

    #footer, #banner {
        display: none !important;
    }

    header, main > section {
        padding: 20px 50px;
    }
    
    p, ul, li {
        font-size: 12px !important;
        line-height: 22px !important;
    
    }
    


    body, html {
        margin-top: 0px;
    }

    body{
        -webkit-print-color-adjust:exact !important;
        print-color-adjust:exact !important;
    }

    svg {
        width: 100%;
        height: 100%;
    }

    .page--break {
        break-before: always;
    }

    .no-page--break {
        break-before: avoid-page;
    }

    figure {
        margin-top: 10px;
        margin-bottom: 10px;
        /* break-inside: avoid; */
        box-shadow: unset;
    }

    #figure1, #figure2, #figure3, .lesson--text {
        break-inside: avoid;
    }

    ul {
        margin-top: 2px !important;
    }

    li {
        margin-bottom: 2px !important;
    }

    .table--icon {
        flex: 1 0 30%;
        width: 30%;
        padding: 0px;
    }

    .table--statistic-label {
        flex: 1 0 70%;
        width: 70%;
    }

    .research--statistics-content > * {
        padding: 15px 5px;
    }

    .report--row, .acknowledgment--item, #endnotes--list li {
        break-inside: avoid;
    }

    .section--header h1 {
        font-size: 12px;
        font-style: normal;
        font-weight: normal;
    }

    .research--date, .publication--date {
        flex: 1 0 15%;
    }

    .lesson--number, .lesson--placeholder {
        flex: 1 0 10%;
        width: 10%;
    }

    .lesson--banner, .lesson--text {
        flex: 1 0 90%;
        width: 90%;
    }

    .research--statistics, .publication--content {
        flex: 1 0 85%;
        padding: 20px 10px;
    }

    .section--heading {
        position: relative;
    }

    .section--heading::before {
        z-index: -100;
        position: absolute;
        margin-left: -55px;
        margin-top: -27px;
        opacity: 0.3;
        content: "";
        width: 75px;
        height: 75px;
        background-size: 75px 75px;
        background-color: #FFFFFF;
        background-image: url("./assets/images/lightbulb_vector.png");
    }

    .report--heading {
        min-height: unset;
    }

    .section--header {
        padding: 10px 0px;
    }

    .tooltip--wide {
        display: none;
    }

    .vis--container {
        width: 100%;
        border-right: unset;
    }

    #resize--overlay, #geomap--container #timeline {
        display: none;
    }

    .publication--summary p, .lesson--text p {
        margin: 0px;
        padding: 0px !important;
        padding-right: 20px !important;
        font-size: 12px !important;
        line-height: 22px !important;
    }

    .lesson--text {
        padding-top: 0px;
    }

    .report--row {
        font-size: 12px !important;
        line-height: 22px !important;
    }

    .research--statistics-content {
        font-size: 12px !important;
        line-height: 16px !important;
    }

    .acknowledgment--item {
        margin: 5px 0px;
        line-height: 22px;
    }

    .lesson--banner {
        padding: 10px 20px;
    }

    #preferred-citation {
        margin-bottom: 50px;
    }

    .lesson--number-label, .lesson--banner-content {
        font-size: 14px;
    }

    .publication--title-name, .publication--date-label, .publication--authors, .research--date-label {
        font-size: 12px;
        line-height: 18px;
    }

    .publication--authors {
        margin-top: 5px;
    }

    .work--label {
        font-weight: 300;
        font-size: 14px;
    }

    /* TEMPORARY */

    /* header {
        visibility: hidden;
    } */
    

}