/* Planetary Research CSS stylesheet for OJS default theme */
/* default nav bar color #002c40 */

/* for tooltip text *//*
div#navigationUserWrapper ul > li:first-child:before {
  background-image: url(https://planetary-research.org/public/site/images/mark_w/info.png);
  background-size: 1em 1em;
  width: 1em;
  height: 1em;
  padding-right:1.5em;
  display: inline-block;
  content: "";
  background-repeat: no-repeat;
  vertical-align: middle;
}*/

/* Make Sign in link bold */
div#navigationUserWrapper > ul > li > a {
	font-weight: bold;
}

/* ------------------------------ */
/* Announcements box on home page */
/* ------------------------------ */

/* Style announcments box */
.pkp_page_index .cmp_announcements {
  border: 1px solid #ccc;
  background: #f9f9fb;
  border-radius: 5px;
  margin-left: 0px;
  margin-right: 5px;
  margin-top: 15px;
}

/* Show only a single announcment */
.pkp_page_index .cmp_announcements .more {
  display: none;
}
.pkp_page_index .cmp_announcements .obj_announcement_summary {
  width: 100%;
}
.pkp_page_index .cmp_announcements .obj_announcement_summary:before {
  border-left: none;
}

/* Remove borders around announcements */
/*
.pkp_page_index .cmp_announcements {
  border: none;
}
.pkp_page_index .cmp_announcements .more:before {
  border-left: none;
}
*/


/* ------------ */
/* Splash image */
/* ------------ */

/* resize splash image based on screen size */
@media (max-width:992px) {
    ul#navigationPrimary > li > a {
      font-size: 1em;
    }
    div.pkp_site_name {
      height: 40px;
      margin-bottom: 1em;
      display: flex;
      align-items: center;
    }
    div.pkp_site_name .is_text {
      font-size: 1.8em;
    }
    div.pkp_site_name .is_img img {
      max-height: 30px;
    }
}

@media (min-width:992px) and (max-width:1200px) {
    div.pkp_site_name {
      height: 170px;
      margin-bottom: 0.4em;
      display: flex;
      align-items: flex-end;
    }
    div.pkp_site_name .is_img img {
        max-height: 60px;
    }
    ul#navigationPrimary > li > a {
      font-size: 13px;
    }
    div.pkp_site_name .is_text {
      font-size: 1em;
    }
    div.pkp_site_name .is_text::after {
      content: "A diamond open access journal for planetary science";
      font-size: 0.5em;
      font-weight: normal;
      display: block;
      padding-top:0px;
    }
}

@media (min-width:1200px) {
    div.pkp_site_name {
      height: 240px;
      margin-bottom: 0.8em;
      display: flex;
      align-items: flex-end;
    }
    div.pkp_site_name .is_img img {
        max-height: 60px;
    }
    ul#navigationPrimary > li > a {
      font-size: 1.1em;
    }
    div.pkp_site_name .is_text {
      font-size: 1.2em;
    }
    div.pkp_site_name .is_text::after {
      content: "A diamond open access journal for planetary science";
      font-size: 0.5em;
      font-weight: normal;
      display: block;
      padding-top:5px;
    }
}


/* -------------------------- */
/* "About" block on home page */
/* -------------------------- */

.homepage_about p {
  margin-top: 0px;
  padding-top: 0px;
  /*font-size: 115%;*/
  /*color: #002c40;*/
}

.homepage_about h2 {
  font-size: 24px;
  display: none;
}
/*.homepage_about h2::before {
  background-image: url('https://ojs.app.u-paris.fr/public/site/images/mark_w/32px-open-access-logo-plos-transparent.svg.png');
  background-size: 13px 20px;
  display: inline-block;
  width: 13px;
  height: 20px;
  margin-right: 10px;
  content:"";
}*/


/* --------- */
/* Side menu */
/* --------- */

/* Use sticky scrolling */
.pkp_structure_sidebar.left {
  position: sticky;
  top: 0;
}

div.pkp_block.block_custom p {
  line-height: normal;
  margin-bottom: 0.5em;
  margin-top: 0.5em;
}

div.pkp_block.block_custom h2 {
  color: #000;
  font-weight: normal;
}

div.pkp_block.block_custom#customblock-about p {
  color: #666;
  font-size: 100%;
}


/* --------------------------------------------- */
/* Increase padding for h1 header at top of page */
/* --------------------------------------------- */

h1.page_title {
  padding-top: 0.9em;
}


/* ----------------------------- */
/* Hide navigational breadcrumbs */
/* ----------------------------- */

nav.cmp_breadcrumbs {
  display: none;
}


/* -------------- */
/* Remove borders */
/* -------------- */

.pkp_structure_main:after, .pkp_structure_main:before {
  background-color: transparent;
}

/*
.pkp_structure_main:after, .obj_issue_toc .galleys:before, .obj_issue_toc .section:before {display:none;}
*/


/* ------ */
/* Footer */
/* ------ */

.footerLink {
  color: inherit;
  text-decoration: none;
  font-weight: normal;
}
.footerLink:hover {
  color: inherit;
  text-decoration: underline;
}

/* Don'y display the default PKP logo */
/*
.pkp_brand_footer {
  display: none;
}
*/


/* --------------------------------------------------- */
/* Hide the reviewer recommendation "Submit Elsewhere" */
/* --------------------------------------------------- */

div#recommendation option[value="6"] {
    display: none;
}


/* -------------------------------------------------- */
/* Hide privacy statement on Submit a Manuscript page */
/* -------------------------------------------------- */
.page_submissions div#privacyStatement {
  display: none;
}


/* ------------------------------------- */
/* Table for displaying the CREDIT roles */
/* ------------------------------------- */

table#credit {
  border-spacing: 0px;
  border-collapse: collapse;
  border: solid 1px #aaa;
  vertical-align: top;
}

table#credit th {
  text-align: left;
  padding: 5px 15px;
  border: 1px solid;
  color: #fff;
  border: solid 1px #aaa;
  background-color: #004f73;
}

table#credit td {
  padding: 5px 15px;
  border: solid 1px #aaa;
  vertical-align: top;
}

/* table#credit tr:nth-child(odd) {
  background-color: #f2f2f2;
} */


/* --------------------------------------------- */
/* Table used for displaying the editorial board */
/* --------------------------------------------- */

table#editor td {
  vertical-align: bottom;
}

table#editor td:first-child {
  width: 160px;
}

table#editor td:first-child img {
  padding-right: 20px;
  width: 160px;
}

table#editor td:nth-child(2) img {
  height: 24px;
  padding-right: 10px;
}


/* --------------------------------------------- */
/* Table used for financial support */
/* --------------------------------------------- */

table#funding td {
  vertical-align: middle;
  padding-top:10px;
}

table#funding td:first-child {
  height: 45px;
}

table#funding td:first-child img {
  padding-right: 20px;
  height: 45px;
}


/* ---------------------- */
/* ---- ARTICLE PAGE ---- */
/* ---------------------- */

/* remove "Author" under author name */
.userGroup {
  display: none !important;
}

/* hide ROR icon */
.affiliation > a > svg {
  display: none;
}

/* indent the affiliation and orcid icon */
.affiliation, .orcid {
	padding-left: 20px;
	display: block;
}

/* Increase font size of author name */
.pkp_page_article .name {
  font-size: 115%;
}

/* Change font size of affiliation */
.pkp_page_article .affiliation {
  font-size: 100% !important;
}

/* Change fontsize of "Abstract" */
.pkp_page_article h2.label {
  font-size: 130% !important;
}

/* Increase article font size and justify text */
.pkp_page_article p {
    text-align: justify;
    font-size: 115%;
}

/* Increase font size of h2 amd h3 headers in article */
.pkp_page_article h2  {
  font-size: 160%;
}
.pkp_page_article h3  {
  font-size: 130%;
}

/* Underline top level section headers */
.pkp_page_article h2.article-section-title {
  border-bottom: 1px solid #ccc !important;
}

/* Remove spacing between h2 and h3 */
.pkp_page_article h2 + p + h3 {
  margin-top: 0em;
}


/* ----------------------------------- */
/* Remove the journal sidebar on right */
/* ----------------------------------- */

.pkp_page_article .pkp_structure_sidebar.left {
  display: none;
}

/* Redimension the principal content block */
.pkp_page_article .pkp_structure_main {
  width: 100%;
}

/* Remove borders */
.pkp_page_article .pkp_structure_main::before,.pkp_page_article .pkp_structure_main::after {
  background-color: transparent;
}

/* Redimension the text block */
.pkp_page_article .main_entry {
  width: 70%;
  padding-left: 2rem;
  padding-right: 2rem;
}
.pkp_page_article .entry_details {
  width: 30%;
  position: sticky;
  /* position: -webkit-sticky; */
  top: 0;
}

/* Add borders to left and right */
.pkp_page_article .pkp_structure_content {
  border-left: 1px solid #ddd;
  border-right: 1px solid #ddd;
}


/* -------------------- */
/* Article custom table */
/* -------------------- */

.pkp_page_article .pkp_structure_main table, .jatsParser__modal table {
  border-collapse: collapse;
  word-wrap: break-word;
  table-layout: fixed;
  width: 100%;
}

.pkp_page_article .pkp_structure_main th, .jatsParser__modal th, .pkp_page_article .pkp_structure_main td, .jatsParser__modal td {
  border: solid 1px #aaa;
  vertical-align: top;
  padding: 5px 15px;
}

.pkp_page_article .pkp_structure_main tr:nth-child(odd), .jatsParser__modal tr:nth-child(odd) {
  background: #fff;
}

.pkp_page_article .pkp_structure_main tr:first-child, .jatsParser__modal tr:first-child {
  background: #f2f2f2; /* #004f73; */
  color: #000; /* #ffffff;*/
  padding: 5px 15px;
}

.pkp_page_article .pkp_structure_main table caption {
  text-align: justify;
  padding-bottom: 1em;
  padding-top: 2em;
  font-size: 1em;
  line-height: 1.5;
}


/* ---------------------- */
/* Article figure caption */
/* ---------------------- */

.pkp_page_article .pkp_structure_main figure p {
  font-size: 1em;
  line-height: 1.5;
}

/* Padding above figure */
.pkp_page_article .pkp_structure_main figure div {
  padding-top: 2em;
}

/* abstract */
.pkp_page_article .pkp_structure_main section.abstract {
  background: #f2f2f2;
}
