/* Document-Wide */

@font-face {
     font-family: ps2;
     src: url("/assets/fonts/Px437_IBM_PS2thin4.ttf")
}

@font-face {
     font-family: sans;
     src: url("/assets/fonts/Roboto-Regular.ttf")
}

body {
     padding-left: .2em;
     padding-right: .2em;
     background-color: #FFFFFF;
     font-family: sans, sans-serif;
     font-size: clamp(8px, 5vw, 18px);
	 color: #000000;
	 max-width: 60em;
	 margin-left: auto;
	 margin-right: auto;
}

#pagetitle {
	padding: 0 .5em 0 0;
	font-size: clamp(.6em, 1vw, 3em);
	overflow: auto;
	top: 50%;
	right: 0;
	-ms-transform: translateY(-50%);
	transform: translateY(-50%);
	margin: 0;
	position: absolute;
}





#sitename {
     float: right;
     color: yellow;
	 clear: none;
	 margin-right: 1%;
	 vertical-align: middle;
	 font-family: ps2;
	 
	 
}

#header {
     background: #000000;
	 height: auto;
	 position: relative;
	 max-height: 22vh;
	 min-height: 8vh;
	 color: #ffffff;
	 padding-top: 8px;
	 padding-bottom: 8px;
	 border-radius: 6px 6px 0px 0px;
	 margin-left: .5em;
	 margin-right: .5em;
	 clear: both;
}

#headericons {
	display: block;
	text-align: left;
	float: left;
	clear: none;
	padding-top: .5em;
	padding-right: .5em;
	top: 50%;
	-ms-transform: translateY(-50%);
	transform: translateY(-50%);
	margin: 0;
	position: absolute;
}


#headericons a {
     border: 0;
	 background: #000000;
	 padding: 0;
	 margin-left: 5px;
	 margin-right: 5px;

}


#footer {
	 height: auto;
     clear: both;
     background: #000000;
	 border-radius: 6px 6px 6px 6px;
	 padding-top: 5px;
	 padding-bottom: 5px;
	 margin-top: 2em;
	 margin-left: .5em;
	 margin-right: .5em;
}

#footericons {
	clear: both;
	text-align: center;
	display: block;
}

#footericons a {
	text-align: center;
	margin-left: 1em;
	margin-right: 1em;
}

#lastupdated {
	 background: #c91e00;
	 color: #ffffff;
	 padding-top: 8px;
	 padding-bottom: 8px;
	 padding-right: 1em;
	 border-radius: 0px 0px 6px 6px;
	 text-align: right;
	 margin-left: .5em;
	 margin-right: .5em;
	 clear: both;
}

#updatedtext {
	 font-size: clamp(.9rem, 1.2vw, 2rem);	
}


.embeddedimagecontainer {
	padding: 5px;
	display: table;
	text-align: center;
	margin: auto;
}

.imagecontainer {
	display: inline-block;
	text-align: center;
	margin: auto;
	display: table-cell;
}

.embeddedimage {
	text-align: center;
	display: inline-block;
	height: auto;
	max-width: 100%;

}

.caption {
	border: 1px black solid;
	padding: 3px;
	display: block;
	clear: both;
	text-align: center;
	font-size: clamp(10px, 5vw, 14px);
	font-weight: bold;
}

.linkback {
		text-align: center;
		margin-top: 5rem;
		margin-bottom: 5rem;
}

ul.spacedlist li {
    margin-bottom: 1em;
}

ol.spacedlist li {
    margin-bottom: 1em;
}

ul.indexlist {
	padding: 0;
	list-style-type: none;
}

ul.indexlist li {
    margin-bottom: 1em;
	list-style-type: none;
}

ul.indexlist li a {
	text-decoration: none;
	font-size: 1.2em;
}

ul.linklist li {
	margin-bottom: 1rem;
}

.archive {
	width: 100%;
}

.archive tbody tr td {
	border: 1px solid black;
	padding: 1rem;
}

.archive tbody tr td:nth-child(1) {
	text-align: center;
	min-width: 25%;
}

.archive tbody tr td:nth-child(2) {
	width: 75%;
}

.section-sub {
	margin-left: 2rem;
}

.chunk {
	clear: both;
}

.keytable {
	padding: 1rem;
	margin: auto;
}
.keytable tbody tr td {
	border: 1px solid black;
	padding: 1rem;
}

.quote {
	padding: 10px;
	list-style-type: none;
	margin-bottom: 2vh;
	background: #ffc9cd;
	border: 1px solid #a6000c;
	overflow: auto;
}
	
.author {
	text-align: right;
	font-weight: bold;
	font-style: italic;
	clear: both;
	float: right;
	display: inline-block;
	margin-top: 10px;
}

@media only screen and (min-width: 1366px) {

	#pagecontent {
		clear: both;
		font-size: clamp(10px, 6vw, 16px);
		padding-left: .6em;
		padding-right: .6em;
	}

}

@media only screen and (max-width: 1365px) {

	#pagecontent {
		clear: both;
		font-size: clamp(10px, 6vw, 18px);
		padding-left: .6em;
		padding-right: .6em;
	}

}

* Happy Place - Global and Mobile */

#happypagetitle {
        clear: both;
        margin-bottom: 0px;
}

h1.happy {
        font-size: 12vw;
    margin-top: 5px;
    margin-bottom: 0px;
    color: #8e5700;
}

.happylastupdated {
        text-align: center;
        margin-top: 5px;
        font-size: 4vw;
        margin-bottom: 0px;
}

.happynav {
        width: 240px;
        margin-left: auto;
        margin-right: auto;
        margin-top: 5px;
}

.happyleft {
        float: left;
}

.happyright {
        float: right;
}

.happymiddlecontainer {
        text-align: center;
        vertical-align: bottom;
}

.happymiddle {
        display: block;
        padding-top: 15px;
}

.happyvideocontainer {
        text-align: center;
}

.happygif {
        margin-left: auto;
        margin-right: auto;
        width: auto;
        max-width: 100%;
        max-height: 440px;
}

.happyvideo {
        margin-left: auto;
        margin-right: auto;
        width: auto;
        max-width: 100%;
        max-height: 440px;
}

.happynote {
        clear: both;
        text-align: center;
        margin-top: 10px;
        width: 100%;
        font-size: 90%;
        font-family: ps2;
}

#happyfootercontainer {
        max-width: 120px;
        margin-left: auto;
        margin-right: auto;
        margin-top: 10px;
}

#happyfooter {
        text-align: center;
        display: block;
}

.happyfooterhomeimage {
        margin-right: 20px;
}