/* Whole document: */
@import url('https://fonts.googleapis.com/css?family=PT+Sans|PT+Serif|Lato:300|Inconsolata|Source+Sans+Pro|Open+Sans:200,300,400,500|Karla:400,400i,700,700i');
/********************************/
/* controls general properties of site*/
/********************************/

body {
  color: #414141;
/*  line-height: 1.7;
  font-size: 17px; */
  background-color: #FEFEFE;
}

d-title h1 {
  font-size: 50px;
  font-family: 'Open Sans';
  font-weight: 500;
  text-align: center;
  text-transform: uppercase;
}

d-title p {
  font-size: 18px;
  font-family: 'Open Sans';
  text-align: center;
}

d-article h1 {
  font-size: 1.8em;
  font-family: 'Open Sans', 'Source Sans Pro', 'PT Sans';
  font-weight: 300;
}

d-article h2 {
  font-size: 1.65em;
  font-family: 'Open Sans', 'Source Sans Pro', 'PT Sans';
  font-weight: 500;
}

d-article h3 {
  margin-top: 1em;
  font-family: 'Open Sans', 'Source Sans Pro', 'PT Sans';
}

d-article a {
  color: #004276;
}

d-article nav a {
  color: #414141;
}


d-byline .authors-affiliations {
  grid-column-end: span 3;
  grid-column-gap: 8px;
}

img.orcid-id {
  margin: 0;
}

a.name:-webkit-any-link {
  text-decoration: underline;
  text-decoration-style: dotted;
}

a.affiliation:-webkit-any-link {
  text-decoration: underline;
  text-decoration-style: dotted;
}

blockquote p {
	font-size: 1.1em;
	font-family: 'Open Sans';
  font-style: normal;
  color: #323232;
  margin: 0.5em 0 0.5em;
}

d-article blockquote {
  border-left: 1.5px dotted;
  border-left-color: #006ddb;
  margin: 10px 0;
  padding: 5px 30px;
  font-style: normal;
}

d-article li {
  margin: 0px 0px 4px;
  font-size: 0.95em;
  font-family: 'Open Sans', 'Source Sans Pro', 'PT Sans';
}

d-article ul {
  list-style-type: square;
  margin: 0px 0px 4px;
  font-size: 0.95em;
  font-family: 'Open Sans', 'Source Sans Pro', 'PT Sans';
}

d-article ul p {
  margin: 0px 0px 2px;
}

d-article li p {
  margin: 0px 0px 2px;
}

d-byline .byline {
    grid-template-columns: 1fr 1fr 1fr 1fr;
}

/********************************/
/* controls CODE*/
/********************************/

/** pre.sourceCode controls code block without lang **/

/** Controls r code  **/

pre.sourceCode.r {
  margin-top: 0px;
   color: #333333;
   background-color: #E8E8E8;
   border-radius: 3px;
   font-size: 0.80em;
   font-family: 'Monaco', 'PT Mono', monospace;
   overflow-x: scroll !important;
   border-left: 8px solid #004276;
   border-top: 1px solid #B7B7B7;
   border-right: 1px solid #B7B7B7;
   border-bottom: 1px solid #B7B7B7;
   padding: 18px 0px 18px 20px;
 }

 pre.sourceCode.bash {
   margin-top: 0px;
    color: #333333;
    background-color: #E8E8E8;
    border-radius: 3px;
    font-size: 0.80em;
    font-family: 'Monaco', 'PT Mono', monospace;
    overflow-x: scroll !important;
    border-left: 8px solid #427600;
    border-top: 1px solid #B7B7B7;
    border-right: 1px solid #B7B7B7;
    border-bottom: 1px solid #B7B7B7;
    padding: 18px 0px 18px 20px;
  }

pre.sourceCode.python {
   margin-top: 0px;
    color: #333333;
    background-color: #E8E8E8;
    border-radius: 3px;
    font-size: 0.80em;
    font-family: 'Monaco', 'PT Mono', monospace;
    overflow-x: scroll !important;
    border-left: 8px solid #760042;
    border-top: 1px solid #B7B7B7;
    border-right: 1px solid #B7B7B7;
    border-bottom: 1px solid #B7B7B7;
    padding: 18px 0px 18px 20px;
  }

pre.sourceCode.html {
   margin-top: 0px;
    color: #333333;
    background-color: #E8E8E8;
    border-radius: 3px;
    font-size: 0.80em;
    font-family: 'Monaco', 'PT Mono', monospace;
    overflow-x: scroll !important;
    border-left: 8px solid #B7B7B7;
    border-top: 1px solid #B7B7B7;
    border-right: 1px solid #B7B7B7;
    border-bottom: 1px solid #B7B7B7;
    padding: 18px 0px 18px 20px;
  }

pre.sourceCode.css {
   margin-top: 0px;
    color: #333333;
    background-color: #E8E8E8;
    border-radius: 3px;
    font-size: 0.80em;
    font-family: 'Monaco', 'PT Mono', monospace;
    overflow-x: scroll !important;
    border-left: 8px solid #B7B7B7;
    border-top: 1px solid #B7B7B7;
    border-right: 1px solid #B7B7B7;
    border-bottom: 1px solid #B7B7B7;
    padding: 18px 0px 18px 20px;
  }

pre.sourceCode.yml {
   overflow-x: scroll !important;
 }

/** Controls code output **/

d-article pre {
   margin-top: 0px;
    color: #333333;
    background-color: #FAFAFA;
    font-size: 0.8em;
    border: 1px solid #ccc;
    overflow-x: scroll !important;
    padding:  10px 10px 10px 18px;
    border-radius: 5px;
  }

/** Controls inline code  **/
/**
p code {
  background-color: #F1F0EA;
  border: 1px solid #006ddb;
  border-radius: 3px;
  font-size: 0.8em;
  font-family: 'Monaco', 'PT Mono', monospace;
  overflow-x: scroll !important;
  margin: 0 0 0px;
  color: #006DDB;
  padding: 2px 4px;
}
 **/
p code {
  background-color: #F1F0EA;
  border-radius: 4px;
  font-size: 0.9em;
  font-family: 'Monaco', 'PT Mono', monospace;
  overflow-x: scroll !important;
  margin-bottom: 20px;
  color: #006DDB;
}

li code {
  background-color: #E8E8E8;
  border-radius: 3px;
  font-size: 0.8em;
  font-family: monospace, 'Monaco', 'PT Mono';
  overflow-x: scroll !important;
  margin-bottom: 20px;
  color: #BF2727;
}

d-article aside code {
  background-color: #FEFEFE;
  border-radius: 0px;
  border: 0px solid #006ddb;
  font-family: 'Monaco', 'PT Mono', monospace;
  color: #BF2727;
  font-size: 1em;
  padding: 0px;
  margin: 0px;
}

/********************************/
/* controls NAV BAR and HEADERS*/
/********************************/

.nav-dropdown-content .nav-dropdown-header {
  text-transform: none;
  color: #686868;
}
.nav-dropdown-content a {
  font-family: 'Open Sans'
}
.nav-dropdown .nav-dropbtn {
/*  color: #FEFEFE; */
  font-weight: 400;
}

.distill-site-header .logo img {
  margin-top: 10px;
/*  margin-bottom: 1px; */
  max-height: 30px;
}

.distill-site-nav {
    background-color: #004276;
    font-size: 16px;
    font-weight: 300;
}

img {
  margin: 5px;
}

/** LIGHTBOX MARKUP **/
.thumbnail {
  max-width: 100%;
  position: relative;
}

/** DETAILS fold down**/

details {
  background-color: #f6f6f6;
  cursor: pointer;
  color: #2d2d2d;
  margin-bottom:1vh;
  padding: 1em;
  border: none;
  text-align: left;
  outline: none;
}

.active, details:hover {
  transition: max-height 0.2s ease-out;
  outline: none;

  /* background-color: #acc2c2; */
}

details {
  display: flex;
  justify-content: space-between;
  align-content: center;
  border-radius: 4px;
  outline: none;
}

details.active {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  outline: none;
}

summary::-webkit-details-marker {
  display: none;
  outline: none;
}

summary:focus {
  outline: none;
}

summary::after {
  float: right;
  font-family: "Font Awesome 5 Free";
  content: "\f0fe";
}

details[open] summary::after {
  float: right;
  font-family: "Font Awesome 5 Free";
  content: "\f146";
}

/********************************/
/* controls downloadthis  */
/********************************/

button.btn.btn-default {
  font-size: 0.8em;
  font-family: "PT Sans";
  border-color: #808080;
  border-width: medium;
  margin-bottom: 15px;
}

button.btn.btn-success {
  font-size: 1em;
  font-family: "PT Sans";
  border-color: #d55e00;
  border-width: medium;
  margin-bottom: 15px;
}
/********************************/
/* controls reactable  */
/********************************/

div.rt-text-content {
  font-size: 1.2em;
}

/********************************/
/* controls horizontal rule, ie ***  */
/********************************/

d-article hr {
  margin: 30px 0px;
}

/* .blackbox:before {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "\f15b";
    display: inline-block;
    padding-right: 3px;
    vertical-align: middle;
 }
*/
/********************************/
/* controls data callout box  */
/********************************/

.infobox {
  padding: 1em;
  background: #e8dbde;
  color: #323232;
  border: 1px solid black;
  border-radius: 10px;
  margin-top: 1em;
  margin-bottom: 1em;
  position: relative;
}

.infobox p {
  margin: 0px 0px 0px;
  font-size: 1em;
}

.center {
  text-align: center;
  font-size: 0.9em;
}

.slick-slide {
  color: #323232;
  text-align: justify;
}
/*-- SHOWCASE --*/
/*https://github.com/jhelvy/distillery/blob/main/css/theme.css*/

.filterDiv {
  display: none; /* Hidden by default */
}

/* The "show" class is added to the filtered elements */
.show {
  display: block;
}

/* Style the buttons */
.btn {
  border: none;
  outline: none;
  padding: 12px 16px;
  color: white;
  background-color: var(--bkgd-color, #0F2E3D);
  cursor: pointer;
}

/* Add a light grey background on mouse-over */
.btn:hover {
  background-color: #143d52;
  color: white
}

/* Add a dark background to the active button */
.btn.active {
  background-color: #004276;
  color: white;
}

.icon-link {
  font-size: 0.9rem;
  background-color: var(--color-primary);
  color: var(--color-white);
  padding: 3px 5px 3px 5px;
  margin: 0 2px 0 2px;
  border-radius: 5px; /* Rounded edges */
}

.icon-link:hover {
  background-color: var(--color-secondary);
  color: var(--color-white);
}

d-article table td {
  font-size: 0.9em;
}

.fa-step-forward {
  color: green;
}
