/* Use Inter font */
@import url('https://rsms.me/inter/inter.css');
body { font-family: 'Inter', -apple-system, sans-serif; }
@supports (font-variation-settings: normal) {
  body { font-family: 'Inter var', -apple-system, sans-serif; }
}

html {
    font-size: 15px;
}

@media (min-width: 576px) {
  html {
    font-size: 15px;
  }
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

@media (min-width: 992px) {
  html {
    font-size: 17px;
  }
}

@media (min-width: 1200px) {
  html {
    font-size: 18px;
  }
}

.btn-primary {
    box-shadow: rgba(0, 118, 255, 0.388235) 0px 4px 14px 0px;
}

.btn-success {
    box-shadow: rgba(30, 126, 52, 0.388235) 0px 4px 14px 0px;
}

/* Override bg-dark */
.bg-dark {
	background-color: #1c1c1e !important; /* !important because initial definition also states !important */
}

/* Increase spacing between nav items */
.nav-item {
	padding-right: 1em;
}

/* Decrease opacity of not-active nav-item images */
.nav-item img {
	opacity: 0.5;
}

/* Make active nav-items bold */
.nav-item .active {
	font-weight: 500;
}

/* Make active nav-item images fully visible */
.nav-item .active img {
	opacity: 1;
}

article h2, article h3, article h4, article h5 {
	padding-top: 1em;
}

article header {
	padding-bottom: 5em;
}

article section {
	padding-bottom: 5em;
}

h1 a, h2 a, h3 a, h4 a, h5 a {
	color: black;
}

article h1 {
	font-size: 1.5em;
	font-weight:600;
}

article h2 {
	font-size: 1.2em;
	font-weight:600;
}

article h3, article h4, article h5, article h6 {
	font-size: 1em;
	font-weight:600;
}

article .table th, article strong {
	font-size: 1em;
	font-weight:600;
}

/* Show cevron after links */
a.cevron::after {
	content: " →";
}

/* Copied from finances.css */
.image-center {
	display:block;
	margin:auto;
}

/* All images are like `img-fluid`*/
img {
  max-width: 100%;
  height: auto;
}

.img-inline {
	display: inline-block;
	margin: 0 0.3em;
}

.bg-dark {
	background: #000;
	color: #FFF;
}

mark {
	background-color: rgb(247, 239, 167);
}

/* Code */
code {
    font-family: monospace;
}

code:not(pre code) {
    color: rgb(36, 41, 46);
    background-color: rgba(27, 31, 35, 0.05);
    padding: 0.1em;
    padding-left: 0.4em;
    padding-right: 0.4em;
    border-radius: 0.2rem;
}

pre {
    padding: 1em;
/*    background-color: #F5F5F5 !important; /* Overrides the style defined by Chroma */
/*    border: 1px solid #DDD;*/
    border-radius: 0.5rem;
    white-space: pre-wrap; /* wrap text if necessary */
}

.negative-value {
	color: red;
}

.positive-value {
	color: green;
}

.text-secondary {
    color: rgba(60, 60, 67, 0.6);
}

.text-tertiary {
    color: rgba(60, 60, 67, 0.3);
}

.text-quartenary {
    color: rgba(60, 60, 67, 0.15);
}

.text-orange {
    color: rgba(255, 149, 0, 1);
}

/* https://docs.microsoft.com/en-us/typography/opentype/spec/os2#usweightclass */
.font-weight-medium {
    font-weight: 500;
}

.font-weight-semibold {
    font-weight: 600;
}

.letter-spacing-1 {
    letter-spacing: 1px;
}

.shadow-xl {
  box-shadow: 0rem 1rem 3rem rgba(0, 0, 0, 0.3) !important;
}

.rounded-xl {
  border-radius: 0.95rem !important;
}

.rounded-xxl {
  border-radius: 1.3rem !important;
}