@font-face {
    font-family: 'Titillium Web', sans-serif;
}

html {
    height: 100%;
    box-sizing:  border-box;
}

*,
*:before,
*:after {
    box-sizing: inherit;
}

body {
    font-family: "Titillium Web";
    color: #111;
    background-color: #eee;
    width: 85%;
    margin: auto;
    background-image: url('img/lion-inverted.png'), url('img/tiled_bg.png');
    background-repeat: no-repeat, repeat;
    background-position: bottom right;
    background-attachment: fixed, scroll;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

div.header {
    padding-top: 125px;
    padding-bottom: 50px;
    padding-left: 65px;
    font-size: larger;
}
div.header-smaller {
    margin-left: 3%;
    padding-top: 5px;
    font-size: x-small;
}

.flex-nav {
    padding: 0;
    margin: 0;
    list-style: none;
    background: #444;
    
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    
    -webkit-flex-flow: row wrap;
    flex-flow: row wrap;
    justify-content: flex-start;
    position: sticky;
    top: 0px;
    z-index: 100;
}
  
.flex-nav-item {
    background: #777;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 25px;
    padding-right: 25px;
    
    color: white;
    text-align: center;
}

.flex-nav > a:not(:last-child) > .flex-nav-item {
    border-right: #444 1px solid;
}

.flex-nav-item:hover {
    background: #555;
}

div.body {
    color: black;
    padding: 35px;
}

div.footer {
    color: #ccc;
    padding: 30px;
    background-color: #444;
    border-top-left-radius: 25px;
    border-top-right-radius: 25px;
    padding-left: 5%;
    padding-right: 5%;
    font-size: smaller;
    width: -webkit-fill-available;
    width: -moz-available;
    width: fill-available;
    width: 100%;
}

a.footer-softlink {
    color: #ccc;
    float: right;
    text-decoration: none;
}

a.footer-softlink-nofloat {
    color: #ccc;
    text-decoration: none underline;
}

.flex-nav > a {
    text-decoration: none;
    color: white;
}

.button {
    margin-top: 15px;
    padding: 5px 30px;
}

h3 {
    margin-bottom: -5px;
}

div.error {
    border: 3px solid red;
    border-radius: 6px;
    background-color: #F0E68C;
    color: black;
    margin-top: 25px;
    padding: 10px 50px;
}

.hp_blogpost {
    background-color: #ccc;
    border-radius: 5px;
    padding: 15px;
    margin-bottom: 10px;
}

a.blogreadmore {
    font-size: smaller;
    font-style: italic;
    text-decoration: none;
}

span.userInfo {
    float:right;
    font-size: smaller !important;
    text-decoration: none !important;
}

span.postTitle {
    font-size: x-large;
    font-weight: bold;
	margin-top: -75px;
}

textarea.message_content {
    margin-top: 5px;
    width: 100%;
    height: 350px;
}

a.acp_header:link {
    color: black;
}

span.postTitle > a.acp_header:visited {
    color: black;
}

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

img.avatar {
	max-height: 30px;
	max-width: 100%;
	border-radius: 50%;
}

/* Post Comments Update */

.postcomment {
    color: black;
    padding-left: 35px;
    padding-right: 35px;
}

.commentSubtitle {
    margin-block-end: 0;
}

.commentIPWarning {
    font-size: smaller;
    display: block;
    white-space: normal!important;
}

span.blogreadmore {
    font-size: smaller;
    font-style: italic;
    text-decoration: none;
}

textarea.comment_info {
    height: 100px;
    width: 100%;
}

table,form.postForm {
    display: flex;
    white-space: normal!important;
}

.commentblock {
    background-color: #ddd;
    border-radius: 5px;
    padding: 15px;
	margin-bottom: 15px;
}

.commentdate {
    font-size: smaller;
    font-style: italic;
    text-decoration: none;
	text-align: right;
}

.hp_blogpost > p {
	white-space: pre-wrap;
}

img.commentavatar {
	max-height: 30px;
	max-width: 100%;
	border-radius: 50%;
	float: right;
}

.postmoderationwarning {
	color: red;
	font-style: italic;
	font-weight: bold;
}