/*----------------------------------------------------------------
 * BlogNomic Core Styles
 *
 * This stylesheet contains the core styles for the blog. It
 * sets up the layout of the site and ensures the blog has a
 * clean and stable look in the absence of any dynastic styles.
 * If you want to add visual flair for a new dynasty, use the
 * dynasticstylesheet instead.
---------------------------------------------------------------- */

/* Basic Styles
----------------------------------------------- */
html, body {
    font-family: 'Verdana', Geneva, Tahoma, sans-serif;
}

/* Make sure to update the color and background-color when you make changes to <hr>. IE uses one, and the rest of the sensible world uses the other. This code blocks the HR bar, which is wonky under CSS, with a 5px bar the same color as the background. We then make the bottom border behave nicely. --AG*/
hr {
    color: #aaa;
    background-color: #aaa;
    border-style: none;
    /*border-bottom:1px solid #fff; */
    height: 1px;
}

.post, #commentbox, #sidebar2 {
    background-image: none;
    background-color: #fafafa;
    color: #000;
    border: 1px solid #000;
    padding: 1em 2em 2em 2em;
}

/* Textboxes 
----------------------------------------------- */
textarea, input {
    color: black;
}

textarea {
    font-family: monospace;
}

blockquote {
    background-color: #555;
    border: 2px solid #363636;
    padding: 20px;
    margin: 10px 1em;
    color: #ddd;
}

.adminEdit {
    background-color: #0002;
    border: 2px solid #888;
    color: #000;
}

.flavourtext {
    background-color: #ccc;
    color: #000;
    padding: 0.25em 1em;
    font-style: italic;
}

.pendinglist {
    background-color: #444;
    border: 2px solid #fff;
    padding: 0.5em 1em;
    color: #aaa;
}

.pendinglist .sidebar-title {
    color: white;
}

/* Links 
----------------------------------------------- */
.expiredProposalLink, .expiredProposalLink a {
    color: #f00;
    font-size: 0.95em;
}

.newProposalLink, .newProposalLink a {
    color: #0f0;
    font-size: 0.95em;
}

.otherProposalLink, .otherProposalLink a {
    color: #fff;
    font-size: 0.95em;
}

a {
    color: #000;
}

a:hover {
    color: #00f;
}

.editlink {
    word-wrap: normal;
}

p.post-footer {
}

/* Stickyposts 
----------------------------------------------- */
.stickyheader {
    display: none;
}

.stickypost {
    color: #000 !important;
    width: auto;
    margin: 4px 5% 4px 5% !important;
    padding: 1em !important;
    border-style: none !important;
    
    font-size: 0.9em !important;
    background: #ffed5f !important;
    
    -webkit-border-radius: 1px;
    -moz-border-radius: 1px;
    border-radius: 1px;
    -webkit-box-shadow: 0 4px 4px rgba(0, 0, 0, 0.5);
    -moz-box-shadow: 0 4px 4px rgba(0, 0, 0, 0.5);
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.5);
}

.stickypost h3 {
    margin: 2px;
    padding: 0.3em;
    font-size: 1.2em;
    font-weight: normal;
    overflow: hidden
}

.stickypost a {
    color: #000 !important
}

.stickybody {
    display: none;
}

.stickycount {
    font-size: 0.7em;
    font-style: italic;
    color: #664
}

.opensticky {
    float: right;
}

.closesticky {
    float: right;
    display: none;
}

.archive .stickybody {
    display: block !important;
}

.archive .opensticky {
    display: none !important;
}

.archive .stickyfade {
    display: none !important;
}

.stickyfade {
    font-size: 0.7em;
    font-weight: normal;
    background-image: linear-gradient(90deg,#000000 0%,rgba(0,0,0,0));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    overflow: hidden;
    position: relative;
    display: inline-block;
    max-height: 1.5em;
}

.stickyfade a {
    font-size: 1.0em;
    font-weight: normal;
}

/** Vote warning **/
.votewarning {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.3em;
    margin: 0.5em 1em 1.5em 1em !important;
}

.votewarning img {
    border: 0px !important;
    box-shadow: none !important;
    height: 2em;
    width: 2.1em;
    margin: 0em 0.5em 0em 0em;
}

/* Layout
----------------------------------------------- */
#content {
    width: 95%;
    margin: 0 auto;
    text-align: left;
    min-width: 640px;
    max-width: 1700px;

    display: grid;
    grid-template-rows: 1fr auto 1fr;
    grid-template-columns: calc(100% - 360px) auto;
    grid-template-areas:
        "header header"
        "main sidebar"
        "footer footer";
    grid-gap: 2em;
}

#header {
    grid-area: header;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin: 0 auto 10px;
    font-size: 1.33em;
}

#main {
    grid-area: main;
    width: 100%;
}

#frontpage {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

#sidebar {
    grid-area: sidebar;
    width: 100%;
}

#footer {
    grid-area: footer;
}

/* Headings 
----------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
    font-weight: bold;
    color: #000;
    margin-bottom: 0;
    margin-top: 0.5em;
}

h2 {
    margin: 1.5em 0 .75em;
    font-size: 0.8em;
    letter-spacing: .2em;
}

/* Header 
----------------------------------------------- */
.blogheader {
    font: Trebuchet, Times New Roman, Verdana, sans-serif;
    letter-spacing: .1em;
}

/* #description {
    margin: 0 5px 5px;
    padding: 0px;
    border: 0px;
    border-width: 0 1px 1px;
    font-family: Trebuchet,Times New Roman,Verdana,Sans-serif;
    font-weight: normal;
    letter-spacing: .2em;
    color: #c00;
} */

#header img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Posts 
----------------------------------------------- */
.date-header {
    margin: 1.5em 0 0em;
    font-size: 1.0em;
}

.post {
    margin: .5em 0 1.5em;
    /*border-bottom:2px dashed;*/
    padding-bottom: 1.5em;
    overflow-wrap: break-word;
}

.post:not(.stickypost) {
    margin: 1.5em 0 1.5em;
}

.post-title {
    font-size: 32px;
}

.post-title a {
    text-decoration: none;
    text-transform: none;
}

.post div {
    margin: 0 0 .75em;
    line-height: 1.6em;
}

p.post-footer {
    margin: -.25em 0 0;
}

.post-footer em, .comment-link {
    font: Times,"Times New Roman",serif;
    text-transform: uppercase;
    letter-spacing: .1em;
}

.post-footer em {
    font-weight: bold;
    margin-right: .6em;
}

.comment-link {
    margin-left: .6em;
}

.post img {
    padding: 4px;
}

.post blockquote p {
    margin: .75em 0;
}

/* Comments 
----------------------------------------------- */
#commentbox > h3 {
    font-size: 24px;
}

#commentbox h4 {
    margin: 1em 0;
    font: normal 78%/1.6em Times,"Times New Roman",Serif;
    text-transform: uppercase;
    letter-spacing: .2em;
}

#commentbox h4 strong {
    font-family: Times, "Times New Roman", serif;
    font-size: 130%;
}

#comments-block {
    margin: 1em 0 1.5em;
    line-height: 1.6em;
}

#comments-block dt {
    font-family: Times, "Times New Roman", serif;
    margin: .5em 0;
}

#comments-block dd {
    font-family: Times, "Times New Roman", serif;
    margin: .25em 0 0;
}

#comments-block dd.comment-timestamp {
    margin: -.25em 0 2em;
    font: 78%/1.4em Trebuchet,Times New Roman,Verdana,Sans-serif;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: #bcd;
}

#comments-block dd p {
    margin: 0 0 .75em;
}

.deleted-comment {
    font-style: italic;
    color: gray;
}

/* Comment tags
----------------------------------------------- */
.tag {
    font-family: Montserrat, sans-serif;
    color: white;
    text-transform: uppercase;
    padding: 0.2em;
    margin-right: 0.25em;
    border-radius: 0.4em;
    font-size: 0.6em;
    font-weight: bold;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    display: inline-block;
    position: relative;
    bottom: 0.2em;
}

.pronoun {
    background: #990099;
}

.pronoun.hehim {
    background: #000099
}

.pronoun.sheher {
    background: #990000
}

.pronoun.hethey {
    background: linear-gradient(90deg, #000099, #990099);
}

.pronoun.shethey {
    background: linear-gradient(90deg, #990099, #990000)
}

.emperortag {
    background: linear-gradient(90deg, red 50%, green 50%);
}

.idletag {
    background: #444444;
}

/* Sidebar Content
----------------------------------------------- */
#sidebar2 {
    float: right;
    margin: 1em 0em;
}

#sidebar ul {
    margin: 0 0 1.5em;
    padding: 0 0 1.5em;
    border-bottom: 2px dotted #000;
    list-style: none;
}

#sidebar li {
    margin: 0;
    padding: 0 0 .25em 15px;
    text-indent: -15px;
    line-height: 1.5em;
}

#sidebar p {
    line-height: 1.5em;
}

#sidebar hr {
    border: 1px dotted #333
}

/* What is this? box */
.whatisthis {
  border:2px solid #000;
  padding:0.5em 1em;
  color: #000;
  background:#ffe65b;
  border-radius:0.9em;
}

.whatisthis a {
    color: #c00
}

.whatisthis h3 {
    text-align: center
}

/* Powered by */
#powered-by {
    font-size: 0.8em;
    text-align: right
}

/* Hiatus Box 
----------------------------------------------- */
.hiatusbox {
    font-size: 1.1em;
    text-align: center;
    border: 46px solid black;
    -moz-border-image: url('https://wiki.blognomic.com/images/7/7a/HiatusBack.png') 46 fill stretch;
    border-image: url('https://wiki.blognomic.com/images/7/7a/HiatusBack.png') 46 fill stretch;
}

@media (max-width: 1080px) and (min-width: 750px) {
    .hiatusbox {
        border-width: 23px;
    }
}

@media (max-width: 300px) {
    .hiatusbox {
        border-width: 23px;
    }
}

/* Profile 
----------------------------------------------- */
#profile-container {
    margin: 0 0 1.5em;
    border-bottom: 1px dotted #339;
    padding-bottom: 1.5em;
}

.profile-datablock {
    margin: .5em 0 .5em;
}

.profile-img {
    display: inline;
}

.profile-img img {
    float: left;
    padding: 4px;
    border: 1px solid #339;
    margin: 0 8px 3px 0;
}

.profile-data {
    margin: 0;
    font: normal 78%/1.6em Times New Roman,Verdana,Sans-serif;
    text-transform: uppercase;
    letter-spacing: .1em;
}

.profile-data strong {
    display: none;
}

.profile-textblock {
    margin: 0 0 .5em;
}

.profile-link {
    margin: 0;
    font: 78%/1.4em Times New Roman,Verdana,Sans-serif;
    text-transform: uppercase;
    letter-spacing: .1em;
}

/* Footer 
----------------------------------------------- */
#footer {
    width: 660px;
    clear: both;
    margin: 0 auto;
}

#footer hr {
    display: none;
}

#footer p {
    margin: 0;
    padding-top: 15px;
    font: 78%/1.6em Trebuchet,Times New Roman,Verdana,Sans-serif;
    text-transform: uppercase;
    letter-spacing: .1em;
}

/* BlogNomic-specific bits 
----------------------------------------------- */
#PlayerList a {
    display: block;
}

.admin {
    font-weight: bold;
}

.idleplayers {
    font-size: x-small;
}

dt {
    font-weight: normal;
    margin: 0;
    font-size: 1.1em;
}

dd a {
    font-weight: normal;
}

dd {
    margin: 0 0 0 2em;
}

* html #recently {
    height: 15em;
    overflow: auto;
}

html>body #recently {
    max-height: 15em;
    overflow: auto;
}

* html #archive-list {
    height: 10em;
    overflow: auto;
}

html>body #archive-list {
    max-height: 15em;
    overflow: auto;
}

* html #proposal-list {
    height: 2em;
    overflow: auto;
}

html>body #proposal-list {
    max-height: 15em;
    overflow: auto;
}

* html #cfj-list {
    height: 4em;
    overflow: auto;
}

html>body #cfj-list {
    max-height: 15em;
    overflow: auto;
}

* html #dov-list {
    height: 4em;
    overflow: auto;
}

html>body #dov-list {
    max-height: 15em;
    overflow: auto;
}

.tooltext {
    width: 100%;
}

.tooltext * {
    width: 100%;
    font-family: Times New Roman,Verdana,Sans-serif;
    font-size: x-small;
}

img.admin {
    margin: 0.7ex 0 0.7ex 0;
}

/* .postStatus { 
  float: left; 
  margin: 1ex 0 1ex 0; 4
} */

p.post-footer {
    clear: both;
    margin-top: 0ex;
}

.proposalage {
    font-size: 75%;
    font-style: italic;
    display: block;
    margin: -0.5ex 0px -0.5ex 1em;
}

.proposalage a {
    color: inherit;
    text-decoration: inherit;
}

.proposalage a:hover {
    color: inherit;
    opacity: 0.9;
}

.proposalage a:visited {
    color: inherit;
}

div.adminEdit {
    margin: 2ex 0 0 0;
    padding: 0.5em 1em 0.5em 1em;
    font-size: 90%;
    font-weight: bold;
}

.adminEdit p {
    margin: 1ex 0;
}

a.editlink {
    font-size: 70%;
    text-decoration: underline;
    display: block;
    width: 2em;
    height: 2ex;
    margin: -5ex 5px 0ex;
    float: right;
}

a.editlink:link {
    text-transform: uppercase;
}

a.editlink:visited {
    text-transform: uppercase;
}

a.editlink:hover, a.editlink:active {
    text-transform: uppercase;
}

.comment {
    margin: 0;
}

.comment h3 {
    margin-bottom: 0;
}

.commentdate {
    margin: 0 0 0 1em;
    font-size: 90%;
    font-style: italic;
}

.commentbody {
    margin: 0 0 0 1em;
}

.proposal, .dov, .cfj, .amendment, .votablematter, .deliberation {
    min-height: 22px;
    padding: 0 0 0 32px;
}

.Enacted {
    background: url(/images/vote/for.gif) left no-repeat;
}

.open {
    background: url(/images/vote/open.gif) left no-repeat;
}

.Failed {
    background: url(/images/vote/against.gif) left no-repeat;
}

.Vetoed {
    background: url(/images/vote/seal.gif) left no-repeat;
}

.Illegal {
    background: url(/images/vote/illegal.gif) left no-repeat;
}

.cfj.open {
    background: url(/images/vote/cfj.gif) left no-repeat;
}

.dov.open {
    background: url(/images/vote/dov.gif) left no-repeat;
}

ins {
    text-decoration: underline;
    color: #000;
}

del {
    text-decoration: line-through;
}

.flavor {
    font-size: 0.9em;
    font-style: italic;
}

#commentformfields a {
    margin: 2px;
}

.ircbox {
    border: 1px solid #000;
}

.ircsubject {
    background: #055;
    margin: 0px;
    padding: 4px;
    color: #eee;
    font-size: 0.7em;
    font-weight: bold
}

.irctalking {
    background: #055;
    padding: 4px;
    margin: 0px;
    color: #eee;
    font-size: 0.8em;
}

font {
    display: inline
}

/* Mobile styles */
@media only screen and (max-width: 750px) {
    #content {
        min-width: 0;
        grid-template-rows: 1fr auto auto 1fr;
        grid-template-columns: auto;
        grid-template-areas:
            "header"
            "main"
            "sidebar"
            "footer";
        grid-gap: 1em;
    }

    #header {
        font-size: 0.8em;
    }

    #main {
        float: none;
    }

    #main2 > h2 {
        display: none;
    }

    #sidebar {
        float: none;
    }

    #footer {
        width: fit-content;
    }

    #frontpage > h2 {
        display: none;
    }

    #frontpage > .post:nth-of-type(n+11) {
        display: none;
    }

    h1 {
        font-size: 3.0em;
    }

    .post-title, .post-title a {
        font-size: 1.0em;
    }

    textarea {
        width: 100%
    }

    .post {
        padding: 0.1em 0.5em;
    }

    .post blockquote {
        margin: 1em 0;
    }

    #sidebar2 {
        margin: 0;
        
    }

    .post, #commentbox {
        padding: 1em;
    }

    .commentbody {
        margin: 0em;
    }

	.stickypost {
        margin: .5em 0 1.5em !important;
    }

}

/*
@media only screen and (max-width: 500px) {
  .blogheader a img {     max-width:375px;
    max-height:124px;
    width: auto;
    height: auto; }
}
*/

/* From past dynasties */
.tarot {
    width: 200px;
}

.reversed {
    -webkit-transform: rotate(180deg);
    -moz-transform: rotate(180deg);
    -o-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    transform: rotate(180deg);
    filter: progid:DXImageTransform.Microsoft.Matrix(M11=-1, M12=0, M21=0, M22=-1, DX=0, DY=0, SizingMethod='auto expand');
}

@media only screen and (max-width: 750px) {
    .tarot {width:100px;}
}
