html, body{
	font-family: sans-serif;
	margin: 0px;
	padding: 0px;
	font-size: 15pt;
	height: 100%;


	/*background-color: #e6ccff;*/
	/*background-color: #A896BA;*/

	background-color: #BFABD3
}

a {color: royalblue;}

h1 {
	border-bottom: solid 2px black;
	margin-top: 0px;
}

td
{
	vertical-align: top;
}

tr
{
	padding-bottom: 5px;
}

/*table
{
	border-spacing: 0 20px;
}*/

pre
{
	max-width: 100%;
	overflow-x: auto;
}

pre code
{

	font-size: 12pt;
}


h3 {margin: 8px 0px;}

h4 {margin-bottom: 0px}

/* Nav Styling */
	body > nav
	{
		width: 200px;
		position: fixed;
		top: 0px;
		bottom: 0px;
		left: 0px;
		text-align: center;

		display: flex;
		flex-direction: column;
		justify-content: center;

		background-color: #0F0F0F;

		z-index: 2;
	}

	body > nav > a
	{
		font-size: 20pt;
		text-decoration: none;
		display: block;

		padding: 20px 0px;

		font-weight: bold;
	}

	body > nav > a.selected
	{
		background-color: #303030;
	}

	body > nav > a:hover { background-color: #404040; }

	#nav-target
	{
		z-index: 1;
		position: relative;
	}



	body.mobile > nav
	{
		right: 0px;
		height: 40px;
		width: 100%;
		text-align: left;
		justify-content: flex-start;

	}

	body.mobile > nav::before
	{
		content: "MENU";
		color: white;
		padding-left: 20px;
		padding-top: 10px;
		padding-bottom: 10px;

		vertical-align: middle;
		justify-content: center;
	}


	body.mobile > nav a { display: none; }

	body.mobile > nav.open
	{
		height: 100%;
		bottom: 0px;
		top: 0px;
	}

	body.mobile > nav.open a {

		display: block;
		padding-left: 20px;
	 }

	.mobile #nav-target
	{
		width: calc(100%);
		background-color: white;
	}

	nav a[href$='/'] { color: red; }
	nav a[href$='music/'] { color: yellow; }
	nav a[href$='pony/'] { color: #EE4099; }
	nav a[href$='game/'] { color: #40EE57; }
	
	nav a[href$='code/'] { color: royalblue; }




.row
{
	display: flex;
	flex-direction: row;
}

.row > div
{
}

.columns
{
	width: 100%;
	display: flex;
	flex-direction: row;
}
.column
{
	width: 50%;
}

.column:not(:first-child)
{
	margin-left: 10px;
}

.mobile .column:not(:first-child)
{
	margin-left: 0px;
}


.mobile .columns {
	display: block;

}
.mobile .column
{
	width: 100%;
}

.mobile .column:not(:first-child)
{
	margin-left: 0px;
}


.license
{
	font-size: 8pt;
}

iframe.embedPage
{
	width: 100%;
	height: 100%;
	border: 0px;
}

.card
{
	display: inline-flex;
	flex-direction: row;

	/*background-color: #3c4f7a;*/
	/*background-color: #2a3755;*/

	background-color: #f2eef6;

	box-sizing: border-box;
	padding: 10px;
	margin: 10px 0px;
	/*border-radius: 5px;*/

	width: calc(100% - 5px);

	border: solid 2px #8058a7;

	box-shadow: 5px 5px #BFABD3;
}

.card-title
{
	margin-bottom: 5px;
}

.card-img img
{
	max-height: 100px;
	max-width: 200px;
}
.card-img
{
	max-height: 100px;
}
.card-img a
{
	font-size: 0px;
}

.card-description
{
	box-sizing: border-box;
	padding: 10px;
	font-size: 12pt;
	flex-grow: 1;
}

.card-title
{
	font-size: 14pt;
	font-weight: bold;
}



.song-row{
	/*border: solid 2px white;*/
	display: flex;
	height: 100px;
	margin: 10px 0px;
	position: relative;
}


.song-row a { }

.song-row img.album-art{
	height: 100px;
	width: 100px;
	margin-right: 10px;
}

.song-row .album-banner{
	position: absolute;
	top:0;
	left:0px;
}

.song-row .expand
{
	flex-grow: 1;
}

.song-row > div
{
	align-self: center;
}

.album-art-container
{
	flex-shrink: 0;
}

.song-row h2
{
	font-size: 16pt;
}

.song-row .release-date
{
	font-size: 10pt;
}



/**/

.date
{
	font-size: 10pt;
	text-align: right;
}



.content-container
{
	overflow-y: auto;

}

body.embedPage
{
	margin: 0px;
}

.embedPage .content-container
{
	height: 100%;
	overflow: hidden;
}

.desktop .content-container
{
	margin-left: 200px;
}

#next-previous a
{
	width: 50%;
	font-size: initial;
}
#next-previous span
{
	display: inline-block;
	vertical-align: middle;
	margin-top: 4px;
}

.desktop #next-previous
{
	left: 200px;
}

#next-previous
{
	display: flex;
    justify-content: center;

    background-color: white;

	position: fixed;
	bottom: 0px;
	left: 0px;
	right: 0px;

    height: 32px;

    z-index: 2;

    font-size: 0;
}

#next:hover, #previous:hover
{
    background-color: rgba(0,0,0,.25);
}
#next
{
	text-align: left;
	padding-left: 25px;
}
#previous
{
	text-align: right;
	padding-right: 25px;
}

.mobile #next {padding-left: 0px}
.mobile #previous {padding-right: 5px}

#next, #previous
{
	flex-grow: 1;
}

a#next, a#previous
{
	text-decoration: none;
}

span.arrow-lt, span.arrow-rt
{
	display: inline-block;

	background-repeat: no-repeat;
	background-position: center;
	width: 25px;
	height: 25px;

}

span.arrow-lt {	background-image: url("/blog/lt.svg");}
span.arrow-rt {background-image: url("/blog/rt.svg");}

#main
{
    max-width: 800px;
    text-align: left;
	margin: auto;

	padding: 20px 20px 20px 20px;

	margin-top: 10px;
	margin-bottom: 42px;

	background-color: white;
}

.mobile #main
{
	margin-top: 40px;
}

img{
    max-width: 500px;
    max-height: 400px;
    text-align: center;
    margin: auto;
}

.icon
{
	width: 30px;
	height: 30px;
}


.icon-link
{
	display: block;
}
.icon-link > *
{
	display: inline-block;
	vertical-align: middle;
}
.icon-link img
{
	margin-right: 10px;
}

a.icon-link span
{
	text-decoration: underline;
}

.mobile img{
    max-width: 90%;
}

.footnotes
{
    font-size: 10pt;
}
.footnote-separator
{
    display: inline-block;
    width: 2in;
    border-top: solid 1px black;
}



/*Comment Container*/
	.commentContainer
	{
		background-color: white;
		position: fixed;
		z-index: 6;
		color: black;

		padding: 12pt;
		width: 500px;
		left: calc(50vw - 250px);
		top: 10%;

		box-sizing: border-box;
	}

	.mobile .commentContainer
	{
		width: calc(100% - 20px);
		left: 10px;
	}

	.commentContainer h1
	{
		margin: 0px;
		font-size: 20pt
	}

	.commentContainer input, .commentContainer textarea
	{
		box-sizing: border-box;
		width: 100%;

		border: 1px solid black;
		padding: 8px;
		
		border-radius: 5px;
	}

	.commentContainer textarea:focus, .commentContainer input:focus
	{
		border-color: blue;
	}

	.commentContainer .text
	{
		font-size: 12pt;
	}

	.commentContainer button
	{
		padding: 3px 12px;
		font-size: 14pt;
		margin-right: 12px;
		margin-top: 10px;
	}

	.commentContainer textarea
	{
		height: 10em;
	}

	.commentContainer .error
	{
		color: red;
	}

	.drop
	{
		background-color: rgba(0,0,0,.5);
		position: fixed;
		top: 0px;
		left: 0px;
		right: 0px;
		bottom: 0px;
		z-index: 5;
	}



/* page-container */

	

	.page-container
	{
		width: 100%;
		/*margin: 20px 0px;*/
	}

	.page-container .frame
	{
		display: flex;
		flex-direction: row;
		align-items: stretch;
	}

	.page-container .page-left, .page-container .page-right
	{
		position: relative;
		cursor: pointer;
	}

	.page-container .page-left, .page-container .page-right
	{
		visibility: hidden;
	}

	.page-container .page-left.active img, .page-container .page-right.active img
	{
		visibility: visible;
	}

	/* Arrows on side specific */
		.page-container .arrows-side .page-left, .page-container .arrows-side .page-right
		{
			width: 60px;
		}

		.page-container .arrows-side .page-left.active, .page-container .arrows-side .page-right.active
		{
			visibility: visible;
		}

		.page-container .arrows-side .page-left.active:hover, .page-container .arrows-side .page-right.active:hover
		{
			background-color: rgba(0,0,0,.20);;
		}


		.page-container .arrows-side .page-left img, .page-container .arrows-side .page-right img
		{
			vertical-align: center;
			position: absolute;
			top: calc(50% - 60px);
		}


		.page-container .arrows-side .page-right.active img
		{
			right: 0px;
		}
	

	.page-container .page-nav
	{
		text-align: center;

	}

	.page-container .page-nav > span
	{
		display: inline-block;
		vertical-align: middle;
	}

	.page-container .view
	{
		overflow-y: hidden;
		display: grid;
	}

	.page-container .arrows-side .view
	{
		width: calc(100% - 80px);
	}

	.page-container .page
	{
		display: flex;
		flex-direction: row;
		grid-row: 1;
		grid-column: 1;
	}


	.mobile .page-container .view, .page-container.disabled .view
	{
		display: block;
	}

	.page-container .column
	{
		display: block;
	}

	.page-container.disabled .page-right, .page-container.disabled .page-left
	{
		display: none;
	}

	.page-container.disabled .page
	{
		display: block;
	}

	.page-container.disabled .view
	{
		width: 100%;
	}