
* { box-sizing: border-box; }

body {
/*
	font-family: "Open sans",sans-serif;
	font-family: latienne-pro,Georgia,Times,Serif;
	font-size: 1.25rem;
*/
	font-family: "Open sans",sans-serif;
	font-size: 1.25rem;
	letter-spacing: .35px;
	font-weight: 300;
	text-rendering: optimizeLegibility;
}

.published {
	font-style: italic;
}

body {
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	min-height: 100vh;
}

hr.tophr {
	height: 3px;
	background-color: #333;
	border: none;
}

hr.bothr {
	height: 1px;
	background-color: #333;
	border: none;
}

header {
	display: flex;
	padding-top: 1em;
	justify-content: center;
}

header div {
	flex-shrink: 0;
	flex-grow: 0;
}

nav {
	padding: .5em;
}

nav ul {
	display: flex;
	justify-content: flex-start;
	list-style-type: none;
	padding-left: .5em;
}
nav li {
	padding-right: 1.5em;
}

nav a { padding: 5px; }
nav a:link { text-decoration: none; }
nav a:visited { text-decoration: none; }
nav a:hover { text-decoration: none; 
	background-color: #f2f2f2;
}
nav a:active { text-decoration: none; }

main a { 
	font-style: italic; 
	font-weight: bold;
}
main a:link { text-decoration: none; }
main a:visited { text-decoration: none; }
main a:hover { 
	text-decoration: underline;
	color: red;
}
main a:active { text-decoration: none; }

main {
	display: flex;
	flex-direction: column;
	flex-grow: 1;
	padding-left: 1em;
}

article {
	flex-grow: 3;
	flex-basis: auto;
}

article h2 {
	text-align: center;
}

aside {
	flex-grow: 1;
	flex-basis: auto;
	margin-top: 5em;
}

aside div a {
	display: block;
	margin-bottom: .5em;
}

.linklist a {
	display: block;
	margin-bottom: .5em;
}

article p {
	line-height: 1.5;
	padding-top: 12px;
}

.showInMobile {
    display: block;
    border: 1px dotted gray;
}

footer {
	padding-left: 1em;
}

@media (min-width: 415px) {
    main    { flex-direction: row; }
    article { width: 75vw; }
    aside   {
        width: 20vw;
        margin-left: 1em;
        padding-left: 2em;
        padding-top: 1em;
        margin-top: 1.5em;
    }
    .linklist br {
        margin-bottom: .5em;
    }
    .showInMobile {
        display: none;
    }
	body {
		font-size: 1.15rem;
	}
}

