* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}
body {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
	line-height: 1.7;
	font-size: 1rem;
	background: #fff;
	color: #000;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	font-kerning: normal;
	margin: 3rem auto;
	max-width: 42rem;
	display: block;
	align-items: center;
}
a, a:visited, a:active {
	color: #000;
	text-decoration: underline;
}
a:hover {
	text-decoration: none;
}
s {
	opacity: 0.4;
}
h1, h2, h3, h4, h5, h6 {
	font-size: inherit;
	font-weight: 600;
}
code {
	font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, Courier, monospace;
	background: #eee;
	font-size: 0.9rem;
}
video {
	position: relative;
	max-width: 100%;
	max-height: 100%;
	width: auto;
	height: auto;
	object-fit: contain;
	padding: 1rem;
  }
p, ul, div, hr, h1, h2, h3, hr { margin: 1rem; }

header {
	display: inline-block;
	width: 100%;
	border-bottom: 0px solid #ccc;
}
header h1, header p {
	display: block;
	margin: 0 1rem;
	padding:0;
	float:left;
}
nav {
	display: flex;
	flex-direction: row;
	float: right;
	margin: 0 1rem 0 0;
}
header nav p {
	display: inline-flex;
	margin: 0 0 0 2rem;
	padding: 0;
}
img {
	display: block;
	width: 100%;
	margin: 0;
}
img.first-image {
	margin-top: 2rem;
}
ul.gallery {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
	grid-gap: 1rem;
	margin: 0 1rem;
}
ul.quotes, ul.quotes li {
	margin: 0;
	padding:0;
	list-style-type: none;
}

li.gallery-image {
	margin: 0;

}

ul li, ol li {
	margin-left: 1rem;
	padding-left: 0rem;
}
ul > ul {
	margin: 0 1rem 0 2rem;
	padding: 0;
}
.tags {
	list-style: none;
	overflow: hidden; 
	margin-left: 1rem;
	padding-left: 0rem;
}
  
.tags li {
	float: left; 
	display: inline;
	margin: 0;
	padding: 0;
}
.tags li + li:before {
	content: ", ";
}

.inactive {
	opacity: 0.4;
}

hr {
	border: 0;
	height: 0;
	margin: 2rem 1em 2rem 1em;
	border-bottom: 1px solid #ccc;
}
footer {
	margin: 1rem 0em 5rem 0em;
	opacity: 1;
}
.footer {
	margin: 3rem 0em 5rem 1em;
	opacity: 1;
}
blockquote {
	border-left: 1px solid #ccc;
	padding: 0 0 0 1.5rem;
	margin: 1rem;
}

textarea { resize: none;}

.notes > li {
	margin: auto auto;
	display: flex;
	list-style-type: none;
	align-items: flex-start;
}
.notes li > span {
	min-width: 3rem;
}
.thoughts {
	margin: 0 1em 0 0;
}
.flex-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-content: stretch;
    align-items: flex-start;
	text-decoration: none;
}
@media only screen and (max-width: 600px){
	.thoughts {
		margin: 0 0 0 1em;
	}
	.flex-container {
		display: list-item;
		margin: 0 1em;
	}
	.flex-date {
		/* font-size: 0.8em; */
		display: none;
	}
}

.new-window :first-child:after {
	content: '\f08e';
	display: inline-block;
	font-family: FontAwesome;
	font-weight: normal;
	font-style: normal;
	margin: 0 0 0 0.7em;
	position: relative;
	top:-1px;
	font-size: 0.7em;
	text-decoration:none;
}
.protected{
	opacity: 0.4;
}
.protected :first-child:after {
	content: '\f023';
	display: inline-block;
	font-family: FontAwesome;
	font-weight: normal;
	font-style: normal;
	margin: 0 0 0 1em;
	position: relative;
	top:-3px;
	font-size: 0.5em;
	text-decoration:none;
}
.protected a:hover{
	cursor: not-allowed;
}
#music {
	
	}
#music ul {
	padding: 0;
	margin: 0;
	list-style: none;
	
	display: -webkit-box;
	display: -moz-box;
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
	
	-webkit-flex-flow: row wrap;
	justify-content: space-around;
}
#music li {
	margin: 0;
	padding: 0 0 6px 0;
	width: 80px;
	height: auto;
	line-height: 10px;
	font-size: 0.7em;
}
.chart {
	position: relative;
	height: 80px;
	width: 100%;
	border: 0px solid #fff;
	margin: 0 0 1.5em 0;
	padding: 0.5rem 0 0rem 0;
	display: flex;
    flex-direction: column;
	/* display: none; */
  }
  .chart-caption {
	text-align: center;
	font-size: 0.7em;
	margin: 0 0 0.5rem 0;
  }
  ul.intervals {
	height: 113px;
    margin-left: 30px;
    position: relative;
}
.interval {
    bottom: 0;
    border-bottom: 1px solid #007FB6;
    border-left: 1px solid #FFF;
    display: block;
    float: left;
    height: 100%;
}
.bar-container {
	display: flex;
	flex-direction: row;
	flex: 1;
	height: 95px;
	align-items: flex-end;
	margin: 0 1rem;
  }
  .bar {
	background-color: #ccc;
	border-bottom: 0px solid #ccc;
	width: 100%;
	margin: 2px;
  }
  .bar:hover {
	opacity:0.8;
  }
  .x-axis {
	display: flex;
	flex-direction: row;
	align-items: flex-start;
	margin: 0 1rem;
	position: relative;
  }
  .x-axis-label, .label {
	margin-left: 0px;
	width: 100%;
	font-size: 0.7em;
	margin: 0;
  }

@media (prefers-color-scheme: dark) {
    body {
        background: #111;
        color: #ddd;
    }

    a, a:active, a:visited, a:hover {
        color: #ddd;
    }
}
