@supports (text-decoration-style: dotted) {
	[data-tooltip] {
		border-bottom: none !important;
	}
}

body {
	margin: 0;
	padding: 0;
	font-family: sans-serif;
	background: rgb(45,86,210);
	background-color: hsl(225, 65%, 50%);
	color: #ffffff;
	text-rendering: optimizeLegibility;
}

@media only screen and (min-device-width: 800px){
    body {
        padding-left: 12.5%;
        padding-right: 12.5%;
    }

	.left-half {
		width: 50%;
		float: left;
	}

	.right-half {
		width: 50%;
		float: right;
	}
}


@media only screen and (min-device-width: 1300px){
}

h1 {
	margin: 0;
}

h2 {
	margin-top: 0;
}

h3 {
	margin-top: 3em;
}

div.icon[style^='background-image'] {
	background-image: attr(data-img);
	background-position: center;
	background-size: contain;
	background-repeat: no-repeat;
	border: 1px solid #000;
	display: inline-block;
	width: 40px;
	height: 40px;
}

section.news p {
	margin-left: 2.5em;
}

.datetime {
	margin-bottom: 2em;
	font-weight: bold;
	font-family: monospace;
}

header, footer, main, nav {
	display: block;
}

blockquote {
	font-size: 150%;
}

blockquote::before {
	content: "\201c";
	font-size: 150%;
	font-family: serif;
}

blockquote::after {
	content: "\201d";
	font-size: 150%;
	font-family: serif;
}

li {
	line-height: 1.5em;
}

textarea {
	width: 100%;
	width: calc(100% - 20px);
	padding: 10px;
}

header, footer, main, .bottom-popup {
	box-sizing: border-box;
	padding: 15px;
}

code {
	font-face: monospace;
	background-color: #ccc;
	padding: 0.25pt;
}

nav {
	padding: 0 5px;
}

header a {
	color: #ffffff;
	text-decoration: none;
}

main, section, .bottom-popup {
	background-color: #ffffff;
	color: #000000;
}

.text-center {
	text-align: center;
}

.bottom-popup {
	width: 100%;
	position: fixed;
	bottom: 0;
	animation: swooce-in 2s ease-in-out;
	border-radius: 15px 15px 0 0;
	right:0;
}

.bottom-popup.closing {
	animation: swooce-out 1s ease-in-out;
	left: 100%;
}

.align-right {
	position: absolute;
	right: 0;
}

.align-top {
	position: absolute;
	top: 0;
}

.align-bottom {
	position: absolute;
	bottom: 0;
}

.align-left {
	position: absolute;
	left: 0;
}

.align-center {
	margin-left: auto;
	margin-right: auto;
}

.float-right {
	float: right;
}

button, a.button {
	display: inline-block;
	margin-bottom: 5px;
	padding: 15px 15px;
	border-radius: 10px;
	text-align: center;
	vertical-align: bottom;
	border: none;
	font-size: 100%;
	line-height: 1em;
	background-color: hsl(225, 65%, 50%);
	color: #ffffff;
	text-decoration: none;
}

button:hover, a.button:hover {
	background-color: hsl(225, 94%, 35%);
	cursor: pointer;
}

nav ul {
	padding: 0;
	margin: 0;
}

nav li {
	display: inline-block;
}

rt {
	font-size: 65%;
}

h1 rt {
	font-size: 45%;
}

h2 rt {
	font-size: 50%;
}

ruby {
	ruby-align: center;
}

a h1:focus, a h1:hover {
	animation: 3s linear 0s  infinite gay;
}

@keyframes gay {
	0% {color: hsl(0, 80%, 70%);}
	16.67% {color: hsl(60, 80%, 70%);}
	33.33% {color: hsl(120, 80%, 70%);}
	50% {color: hsl(180, 80%, 70%);}
	66.67% {color: hsl(240, 80%, 70%);}
	83.33% {color: hsl(300, 80%, 70%);}
	100% {color: hsl(360, 80%, 70%);}
}

@keyframes swooce-in {
	0% { right: 100%; }
	50% { right: 100%; }
	65% { right: -50px; }
	70% { right: 25px; }
	75% { right: -12px; }
	80% { right: 6px; }
	85% { right: -3px; }
	90% { right: 2px; }
	95% { right: -1px; }
	100% { right: 0px; }
}

@keyframes swooce-out {
	0% { left: 0px; }
	25% { left: -20px; }
	99.99% { left: 200%; }
	100% { display: none; }
}

a {
	text-decoration-thickness: 0.1px;
	text-decoration-width: 0.1px;
}

[data-tooltip] {
	border-bottom: 2px dotted #000;
	text-decoration: underline;
	text-decoration-style: dotted;
	text-decoration-thickness: 2px;
	text-decoration-width: 2px;
}
	
[data-tooltip]:focus:after, [data-tooltip]:hover:after {
	content: attr(data-tooltip);
	padding: 3px 5px;
	margin: 12px 3px;
	color: #000;
	position: absolute;
	display: inline-block;
	white-space: nowrap;
	z-index: 1;
	border: 1px solid #767676;
	background: #fff;
	opacity: 0; 
	animation: poppin 0s forwards .5s;
	font: 9pt "Segoe UI", sans-serif;
}
	
[data-tooltip]:focus:after {
	opacity: 1;
	background: #ffa;
}
	
@keyframes poppin {
	100% {opacity: 1}
}

table.link-table {
	margin: 10px auto;
}

table.link-table tr {
}

table.link-table td {
	padding: 5px;
}

table.link-table td:nth-child(1) {
	text-align: right;
	font-weight: bold;
}
	
table.link-table td:nth-child(2) {
	text-align: left;
}
