:root {
  --accent: #005b9d;
  --muted: #777;
  --hover: rgb(250, 250, 250);
  --line: #ccc;
}

html {
    line-height: 1.15;
    -webkit-text-size-adjust: 100%
}

body {
    margin: 0
}

main {
    display: block
}

#top-row {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-content: flex-start;
    align-items: stretch;
    flex-direction: row;
    overflow: auto;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    flex: 0 0 auto;
    background: gainsboro;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    z-index: 10
}

#top-row .headline.left {
  float: left;
  margin: 0.6em 2em 0.6em 3%;
  font-size: 2em;
  font-weight: bold;
}

#top-row .headline.right {
  position: absolute;
  right: inherit;
  margin-right: 3%;
  padding: 2.5em 160px 0.4em 0;
  color: #005b9d !important;
  font-weight: bold;
  font-size: 15px !important;
  background: url('/images/geomar_logo.svg');
  background-repeat: no-repeat;
  background-position: top right;
  background-size: auto;
}

#crumbbar a.crumb:nth-child(1) span.label {
  display: none;
}

#crumbbar a.crumb:nth-child(1) span.label::before {
  content: "/ ";
}

.topbar {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

h1 {
  margin: 0;
  font-size: 24px;
  letter-spacing: -.02em;
}

.sub {
  margin-top: 4px;
  color: var(--muted);
}

.pill {
  background: #005b9d !important;
  color: white;
  border: 1px solid #dbeafe !important;
  padding: 6px 10px !important;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  height: fit-content;
}
.pill:hover {
  opacity: 0.5 !important;
  cursor: pointer;
}

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.toolbar {
  /* padding: 14px 20px; */
  /* border-bottom: 1px solid var(--line); */
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  /* background: linear-gradient(180deg,#fff,#fbfdff); */
  padding: 0.25em 0.5em !important;
  background-color: #f5f5f5;
  border-top: 2px solid #ababab;
}

#data_section div.toolbar div.files {
  font-size: 18px;
  font-weight: bold;
  margin-top: unset;
  margin-bottom: unset;
  padding: 0.25em 0.5em !important;
  border-top: unset !important;
}

.crumbs {
  color: var(--muted);
  font-size: 13px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
}

.search {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  margin-left:4% !important;
}

.search input {
  width: min(320px,70vw);
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--text);
  outline: none;
}

.search input:focus {
  border-color: #93c5fd;
  box-shadow: 0 0 0 4px #dbeafe;
}


table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}

thead th,
#data_section.section.data table th {
  padding: 14px 20px;
  text-align: left;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  /* background: #fafafa; */
  border-bottom: 1px solid var(--line);
}

#data_section.section.data table th:nth-child(3),
#data_section.section.data table th:nth-child(4) {
  text-align: right;
}

tbody td {
  padding: 14px 20px;
  border-bottom: 1px solid #f1f5f9;
  vertical-align: middle;
}

tbody tr:hover {
  background: var(--hover);
}

a {
  color: inherit;
  text-decoration: none;
}

dd.handle a:hover {
  color: var(--accent);
}

.name {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.name span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.size,
.date {
  white-space: nowrap;
  color: var(--muted);
}

.footer {
  padding: 14px 20px;
  color: var(--muted);
  font-size: 13px;
  background: #fcfcfd;
}

p.page-footer-links {
  display: flex;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  justify-content: space-around;
  background-color: gainsboro;
  padding: 5px 24px;
  margin-block-end: unset;
  color: #005b9d;
}


p.page-footer-links a.imprint {
  float: right !important;
  font-weight: bold;
}

#root {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-content: flex-start;
    align-items: stretch;
    flex-direction: column;
    overflow: auto;
    background: #fff;
    line-height: 1.4
}

#root, input, select {
    font-family: "Ubuntu", "Roboto", "Helvetica", "Arial", "sans-serif";
    font-size: 13px;
    font-weight: normal;
    color: rgba(0, 0, 0, 0.87)
}

#content {
  margin-top: 5em;
}

#content a.doi-link {
  padding-left: 1.25em;
  background-size: 0.9em;
  background-position: center left;
  background-repeat: no-repeat;
}

#content-header input {
  padding: 3px 10px !important;
  cursor: pointer !important;
  border: none !important;
  border-radius: 3px !important;
  color: #555 !important;
  text-shadow: 0 1px 0 #777 !important;
}

#content-header input:hover {
  opacity: 0.5 !important;
}

#content-header .darkorange { background-color: darkorange !important; }
#content-header .dodgerblue { background-color: dodgerblue !important; }
#content-header .yellowgreen { background-color: yellowgreen !important; }
#content-header .steelblue { background-color: steelblue !important; }
#content-header .blueviolet { background-color: blueviolet !important; }
#content-header .strongyellow { background-color: #d1d100 !important; }
#content-header .cadetblue { background-color: cadetblue !important; }
#content-header .teal { background-color: teal !important; }
#content-header .firebrick { background-color: firebrick !important; }
#content-header .green { background-color: green !important; }
#content-header .midnightblue { background-color: midnightblue !important; }
#content-header .grey { background-color: dimgrey !important; }

#content-header button {
  padding: 3px 10px !important;
  cursor: pointer !important;
  border-radius: 3px !important;
}
#content-header a.button {
  display: inline-block;
  padding: 0.15rem 1rem;
  background: dimgrey;
  color: white;
  text-decoration: none !important;
  cursor: pointer !important;
  border-radius: 3px !important;
  font: inherit;
}

#content-header button:hover {
  opacity: 0.5 !important;
}
#content-header a.button:hover {
  opacity: 0.5 !important;
}

#content #content-header #metadata_section p.headline {
  white-space: nowrap;
  color: #005b9d;
  font-weight: bold;
  font-size: 14px !important;
  padding: 0 12px 0 0;
  text-align: right;
}

#content #content-header #metadata_section h1.headline.supplement,
#content #content-header #metadata_section h2.headline.supplement {
  padding: 1em 0;
  color: #000;
  font-weight: bold;
  position: relative;
  margin-left: 110px;
}

#content #content-header #metadata_section h1.headline.supplement {
  font-size: 1.8em !important;
}

#content #content-header #metadata_section h2.headline.supplement {
  font-size: 16px !important;
}

#content #content-header #metadata_section h1.headline.supplement::before {
  content: "Title: ";
  left: 0;
  display: inline-block;
  position: absolute;
  transform: translateX(-100%);
  width: 100px;
}

#content #content-header #metadata_section h1.headline span {
  font-weight: normal;
}

#content #content-header dt,
#content #content-footer dt,
#content #content-header dd,
#content #content-footer dd {
  font-size: 1.2em !important;
}

#content #content-header dd button,
#content #content-footer dd button {
  font-size: revert !important;
}

#content #content-header dd table td.role,
#content #content-footer dd table td.role {
  padding-right: 16px;
}
#content #content-header dd table td {
  padding: unset;
}
#content #content-header dd table td.role::after {
  content: ":";
}

#content #content-header,
#content #content-footer {
  margin: 0 !important;
  padding-left: 3%;
  padding-right: 3%;
}

#content #content-header {
  padding-top: 0;
  padding-bottom: 0;
}

#content #content-header dt.year span,
#content #content-header dd.year span {
  font-style: italic;
  font-weight: lighter;
}

#content #content-footer {
  padding-bottom: 3%;
}

#content #view.view-details {
  margin: 0 3%;
}

#content-header div,
#content-footer div {
  margin: 0;
  padding: 0;
}

#content #content-header h2,
#content #content-footer h2 {
  clear: both;
  font-size: 18px;
  padding: 0.25em 0.5em;
  background-color: #f5f5f5;
  border-top: 2px solid #ababab;
}

#content div.section.metadata,
#content div.section.details {
  clear: both;
  padding-top: 0;
  margin-bottom: 3em;
}

#content div.section.footer {
  clear: both;
  margin-bottom: 3em;
}

#content #content-footer div.section.footer h2 {
  margin-top: 3em;
}

#content div.section.metadata dd.citation button {
  border-width: thin;
  margin-top: 6px;
}

#content div.section.metadata h3,
#content div.section.metadata h4 {
  font-weight: normal;
  font-size: unset;
}

#content div.section.metadata ul {
  list-style-type: none;
  padding-left: 1em;
}

#content div.section.metadata ul li {
  display: inline;
}

#content div.section.metadata dl dt {
  clear: both;
  margin-top: 1em;
  font-size: 1.25em;
}

#content div.section.metadata .hidden,
#content div.section.metadata dt.title,
#content div.section.metadata dd.title {
  display: none;
}

#content div.section.metadata dt.authors,
#content div.section.metadata dt.title,
#content div.section.metadata dt.year,
#content div.section.metadata dt.handle,
#content div.section.metadata dt.contact,
#content div.section.metadata dt.abstract,
#content div.section.metadata dt.citation,
#content div.section.metadata dt.acknowledgement,
#content div.section.metadata dt.related {
  font-weight: bold;
}

#content div.section.metadata dd span.internal_name span.person_name {
  font-weight: normal;
}

#content div.section.metadata dd.contact ul {
  list-style-type: none;
  padding-left: 0;
}

#content div.section.metadata dd.contact li.left {
  display: block;
  width: 25%;
  clear: both;
  float: inline-start;
}

#content div.section.metadata dd.contact table.contact {
  width: auto;
}

#content div.section.metadata dd.contact li.right {
  display: block;
}

#content div.section.metadata dd span.orcid-person img {
  vertical-align: baseline !important;
}

#content div.section.metadata dd.citation #DataRef span.orcid-person {
  display: none;
}

#content div.section.metadata dd.citation div {
  margin: 0;
  padding: 0;
}

/*
#content div.section.metadata dd.citation span.year::before,
#content div.section.metadata dd.related span.year::before {
  content: " (";
}
#content div.section.metadata dd.citation span.year::after,
#content div.section.metadata dd.related span.year::after {
  content: ").";
}
*/

#content div.section.metadata dd.related {
  margin-bottom: 1em;
}

#content div.section.metadata dl,
#content div.section.details details {
  margin-left: 1em;
}

#content div.section.details details {
  font-size: 1.2em;
  margin-top: 1em;
}

#content div.section.details h2,
#data_section h2 {
  margin-top: 1em;
}

#content #view li.item.file {
  font-size: 1.1em;
}

#content div.section.footer dl dt {
  margin-top: 1em;
  font-size: medium;
  font-style: italic;
}

#content div.section.footer dl.hints {
  padding: 0 50px !important;
  margin-top: 0 !important;
}

#content div.section.footer dl {
  margin-left: 1em;
}

#content div.section.footer dl.hints dt,
#content div.section.footer dl.hints dd {
  font-size: 1em;
  padding: 0;
}

#content div.section.footer dl.machine-actionable dt.actionable.false,
#content div.section.footer dl.machine-actionable dt.actionable.false + dd {
  display: none;
}

#content div.section.footer p {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: gainsboro;
  padding: 5px 6% 5px 5%;
  margin: 0;
}

#content div.section.footer p a {
  padding: 0 20px 0 0;
}

#content div.section.footer p a.imprint {
  float: right;
  padding-right: 0;
}

.ep_doc_icon,
.ep_view_jump,
.ep_view_blurb,
.ep_view_page h2,
.ep_view_timestamp {
  display: none;
}

div.ep_view_page {
  border: 1px solid #c0c0c0;
  border-radius: 4px;
}

.ep_view_page div {
  margin-left: 10px;
  margin-right: 5px;
  line-height: 1.2em;
}

li.list-group-item.missing {
  border: 4px solid red;
}

li.list-group-item span.label {
  float: right;
  padding: 0.5em;
  margin: 0.5em;
}

div.center-block .access-denied {
  text-align: center !important;
}

div.dataref {
  margin: 1em 0 0 0;
  line-height: 1.5em;
}

#bottom-row {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-content: flex-start;
    align-items: stretch;
    flex-direction: row;
    overflow: auto;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10;
}