
/* base variables */

/* Edit the CSS properties in this file to create a custom
   Distill theme. Only edit values in the right column
   for each row; values shown are the CSS defaults.
   To return any property to the default,
   you may set its value to: unset
   All rows must end with a semi-colon.                      */

/* Optional: embed custom fonts here with `@import`          */
/* This must remain at the top of this file.                 */

html {
  /*-- Main font sizes --*/
  --title-size:      50px;
  --body-size:       1.06rem;
  --code-size:       14px;
  --aside-size:      12px;
  --fig-cap-size:    13px;
  /*-- Main font colors --*/
  --title-color:     #000000;
  --header-color:    rgba(0, 0, 0, 0.8);
  --body-color:      rgba(0, 0, 0, 0.8);
  --aside-color:     rgba(0, 0, 0, 0.6);
  --fig-cap-color:   rgba(0, 0, 0, 0.6);
  /*-- Specify custom fonts ~~~ must be imported above   --*/
  --heading-font:    sans-serif;
  --mono-font:       monospace;
  --body-font:       sans-serif;
  --navbar-font:     sans-serif;  /* websites + blogs only */
}

/*-- ARTICLE METADATA --*/
d-byline {
  --heading-size:    0.6rem;
  --heading-color:   rgba(0, 0, 0, 0.5);
  --body-size:       0.8rem;
  --body-color:      rgba(0, 0, 0, 0.8);
}

/*-- ARTICLE TABLE OF CONTENTS --*/
.d-contents {
  --heading-size:    18px;
  --contents-size:   13px;
}

/*-- ARTICLE APPENDIX --*/
d-appendix {
  --heading-size:    15px;
  --heading-color:   rgba(0, 0, 0, 0.65);
  --text-size:       0.8em;
  --text-color:      rgba(0, 0, 0, 0.5);
}

/*-- WEBSITE HEADER + FOOTER --*/
/* These properties only apply to Distill sites and blogs  */

.distill-site-header {
  --title-size:       18px;
  --text-color:       rgba(255, 255, 255, 0.8);
  --text-size:        15px;
  --hover-color:      white;
  --bkgd-color:       #0F2E3D;
}

.distill-site-footer {
  --text-color:       rgba(255, 255, 255, 0.8);
  --text-size:        15px;
  --hover-color:      white;
  --bkgd-color:       #0F2E3D;
}

/*-- Additional custom styles --*/
/* Add any additional CSS rules below                      */

.distill-site-nav {
  color:            #000000; 
  background-color: #fff;
  font-weight:      500;
}

p {
  text-align: justify;
}

li {
  text-align: justify;
}

.distill-site-header a { /* A normal link in navbar */
  color: #1f1f1f;
  position: relative; 
  text-decoration: none;
  padding-left: 0px; /* overrides default so animation looks Ok */
  padding-right: 0px; /* overrides default so animation looks Ok */
  margin: 10px 14px; /* replaces default padding values for margin values */
}


.distill-site-header a:hover { /* (unanimated) hover behavior for navbar links */
  color: #AA0000;
  padding-left: 0px; /* overrides default so animation looks Ok */
  padding-right: 0px; /* overrides default so animation looks Ok */
  margin: 10px 14px; /* replaces default padding values for margin values */
}


.distill-site-header a:hover:before {
  width: 0; /* Shrinks width of pseudoelement to 0 when hovered */
}

/* Makes sure animation does NOT apply to Title or Logo links (or toggle on mobile) */

.distill-site-header a.title:before, .distill-site-nav a.logo:before, a.nav-toggle:before {
  display: none;
}

.distill-site-header a.title, .distill-site-nav a.logo {
  padding: 10px 0px;
  margin: 10px 14px;
}