html {
	font-family: Tahoma, sans-serif;
	letter-spacing: 0.05em;
	margin: 0;
    color: #282820;
	background: #F9F9FB;
}

/*
 * Low DPI displays
 */
@media screen and (max-resolution: 100dpi) {
	html {
		font-size: 12pt;
	}
}

/*
 * Higher dpi displays
 */
@media screen and (min-resolution: 100dpi) and (max-aspect-ratio: 1/1) {
	html {
		font-size: 24pt;
	}
}

/*
 * Portrait to square displays
 */
@media screen and (max-aspect-ratio: 1/1) {
    div.content {
        margin: 0 1em 0 1em;
    }

    article#news section.headline time {
        clear: left;
        display: inline;
        font-weight: bolder;
        margin: 0 0.5em 0.5em 0;
        padding: 0 0.5em 0.5em 0;
        border-right: 1px solid #e0e0e0;
        border-bottom: 1px solid #e0e0e0;
    }

    article#news section.headline img.thumbnail {
        max-width: 25%;
        object-fit: cover;
        float: right;
    }
}

/*
 * Square to landscape displays
 */
@media screen and (min-aspect-ratio: 1/1) {
    div.content {
        margin: 0 25% 0 25%;
    }

    article#news section.headline time {
        display: block;
        font-weight: bolder;
        margin: 0 0 1em 0;
        padding: 0 0 0 1em;
        border-left: 1px solid #000;
    }

    article#news section.headline img.thumbnail {
        width: 128px;
        height: 96x;
        object-fit: cover;
        vertical-align: middle;
        padding: 0 12pt 0 0;
    }

    article#news section.headline p {
        display: inline-block;
        width: 80%;
    }
}

/* Navigation */
nav.top {
	margin: 0;
	padding-top: 16px;
	padding-bottom: 16px;
}

nav.top div.links {
	display: inline-block;
}

nav.top img {
	vertical-align: middle;
	max-width: 20%;
}

nav.top a {
	text-decoration: none;
    color: #282820;
	padding: 0.8em;
}

/* Attract image, should fill the screen horizontally */
div.attract img {
	width: 100%;
	height: auto;
}

/* This should be 40% of the screen height, full width */
div.heading img {
	width: 100%;
	height: 40vh;
	object-fit: cover;
}

/* This should be 75% of screen, full width */
div.headingbig img {
	width: 100%;
	height: 75vh;
	object-fit: cover;
}

/* Content rules */
div.content {
	overflow-wrap: break-word;
	hyphens: auto;
}

div.content ol, ul, p {
    margin: 1em 0 1em 0;
}

div.content h1 {
	text-align: center;
}

div.content ul li {
	margin: 0 2em 0 2em;
}

/* Articles */
article#stories, article#news {
    padding: 0 2em 2em 2em;
}

article#news section.headline {
    padding: 2em 0 0 0;
}

article#stories h1, article#news h1 {
    font-size: 2.3em;
    text-align: center;
    text-transform: uppercase;
}


/* Footer Rule */
footer {
	font-weight: lighter;
	padding: 2em;
}
