/**********************************************************
**  style.css
**  This is a skin for PmWiki: http://www.pmwiki.org
**  Author: Ian MacGregor
**  Date: November 8, 2013
**  License: GPL
***********************************************************/

/* backup root
:root {
    --eop-text:#000F00;
    --eop-bg:#86D6D6; 
    --eop-bg2:#393;
    --eop-shadow:#055E05;
    --eop-border:#000F00;
    --eop-link:#FFC108;
    --eop-linkhover:#FFE908;
    --eop-textbox:#B1FBFB;
    --eop-borderradius:10px;
    --eop-margin:10px;
    --eop-fontsize:1em;
}
*/

@import url('https://fonts.googleapis.com/css2?family=EB+Garamond:ital,wght@0,400..800;1,400..800&display=swap');

:root {
    --eop-text:#000F00;
    --eop-bg:#86D6D6; 
    --eop-bg2:#393;
    --eop-bg3:#238923;
    --eop-shadow:#055E05;
    --eop-border:#000F00;
    --eop-link:#440000;
    --eop-linkhover:#FFE908;
    --eop-textbox:#B1FBFB;
    --eop-borderradius:10px;
    --eop-margin:10px;
    --eop-fontsize:1.2em;
}


body {
    color:var(--eop-text);
    margin: 0;
    font-family: "EB Garamond", serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-size: var(--eop-fontsize);
    word-break: break-word;
    background-color: var(--eop-bg2);
}

div {
    transition-timing-function: ease;
    transition: 0.5s;
}

#wrapper {
    height: 100%;
    width: 100%;
    background-color: var(--eop-bg);
    display:flex;
    flex-direction:column;
}

.sitesearch {
    text-align: right;
    line-height: 8px;
}

.sitesearch input {
    font-size: 100%;
} 

/* Generic button class, work on migrating all buttons to this? */
.eop-button, .inputbutton, .searchbutton{
    color: var(--eop-link);
    font-weight: 700;
    text-align: center;
    padding: 10px 20px;
    text-decoration: none;
    background-color: var(--eop-bg2);
    border: 1px solid var(--eop-border);
    box-shadow: -2px -2px 5px var(--eop-shadow) inset;
    border-radius: 10px;
}

.inputbutton:hover, .inputbutton:focus, .eop-button:hover, .eopbutton:focus{
    color: var(--eop-linkhover);
    text-decoration: none;
    text-shadow: 0 0 2px var(--eop-link); 
    background-color: var(--eop-shadow);
    box-shadow: -2px -2px 5px var(--eop-border) inset;
}

.inputbox {
	font-size: 1em;
	border: 1px solid var(--eop-border);
	box-shadow: 2px 2px 5px var(--eop-bg) inset;
	padding: 10px;
	background-color: var(--eop-textbox);
	margin-bottom: var(--eop-margin);
	box-sizing: border-box;
	max-width: 500px;
	width: 100%;
}

.inputbox:hover, .inputbox:focus{
    box-shadow: 0px 0px 5px var(--eop-linkhover);
}

/* Generic frame class, work on migrating all frames to this? */
.eop-frame {
    font-size: inherit;
    border: 1px solid var(--eop-border);
    box-shadow: -2px -2px 5px var(--eop-shadow) inset;
    padding: 5px 10px;
    background-color: var(--eop-bg2);
    border-radius: var(--eop-borderradius);
    margin: var(--eop-margin);    
}

/* styling for the header */
#header {
    padding: var(--eop-margin);
    border-bottom: 1px solid var(--eop-border);
    color: #fcfcfc;
    background-color: var(--eop-bg2);
    background: linear-gradient(var(--eop-bg2), var(--eop-shadow));
}

#header h1 {
    font-family: "EB Garamond", serif;
    font-size: 150%;
    font-weight: 700;
    line-height: 1.5em;
    letter-spacing: 1px;
    color: var(--eop-link);
}

#header a:link {
    color: var(--eop-link);
    text-decoration: none;
}


#header a:hover {
    color: var(--eop-linkhover);
    text-decoration: none;
    text-shadow: 0 0 2px var(--eop-link);
}



/* styling for non-existent link text */
#header a.createlinktext {
    color:var(--eop-linkhover);
    border: none !important;
    text-decoration: none !important;
}

/* styling for non-existent link glyph in header area */
#header a.createlink {
    display: none;
}

#sitelogo  {
    background-size:contain;
    background-repeat: no-repeat;
    background-position: center;
    width:100%;
    height:175px;
/*    -webkit-filter: drop-shadow(1px 1px 0 var(--eop-border)) drop-shadow(-1px -1px 0 var(--eop-shadow));
    filter: drop-shadow(1px 1px 0 var(--eop-border)) drop-shadow(-1px -1px 0 var(--eop-shadow)); */
}

/* styling for the second the site navigation bar */
#sidecontent {
    padding: 10px;
    max-width: 20%;
    border: 1px solid var(--eop-border);
    box-shadow: -2px -2px 5px var(--eop-shadow) inset;
    font-size: 100%;
    color: var(--eop-text);
    background-color: var(--eop-bg2);
    border-radius: 10px;
    flex-grow: 1;
}

#sidecontent a:link {
    font-weight: 700;
    color: var(--eop-link);
    text-decoration: none;
}

#sidecontent a:visited {
    color: var(--eop-link);
    text-decoration: none;
    text-shadow: 0 0 2px var(--eop-shadow);
}

#sidecontent a:hover {
    color: var(--eop-linkhover);
    text-decoration: none;
    text-shadow: 0 0 2px var(--eop-link);    
}

#sidecontent a:focus {
    color: var(--eop-linkhover);
    text-decoration: none;
    text-shadow: 0 0 2px var(--eop-link);
}

#sidecontent h1 h2 h3 h4 h5 h6 {
    color: var(--eop-link);
}

/* styling for the page body */
#content {
    max-width: 1280px;
    margin:auto;
    padding: 10px;
    color: var(--eop-text);
    background-color: var(--eop-bg);
    display:flex;
}

#maincontent {
    width: 100%;
    padding: var(--eop-margin);
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

#wikitext {
    margin:10px;
}

#pageactions ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: right;
}

#pageactions li {
    margin: calc(var(--eop-margin)/2);
    display: flex;
}

#pageactions li a{
    color: var(--eop-link);
    text-align: center;
    padding: 10px 20px;
    text-decoration: none;
    font-weight: 700;
    background-color: var(--eop-bg2);
    border: 1px solid var(--eop-border);
    box-shadow: -2px -2px 5px var(--eop-shadow) inset;
    border-radius: 10px;
    
}

#pageactions li a:hover {
    color: var(--eop-linkhover);
    text-shadow: 0 0 2px var(--eop-link);    
    background-color: var(--eop-shadow);
    box-shadow: -2px -2px 5px var(--eop-border) inset;
}

#pagetitle {
    font-family: "EB Garamond", serif;
    font-size: 150%;
    padding-bottom: 4px;
    line-height: 2px;
    color: var(--eop-shadow);
}

/* styling for non-existent link glyph in content area */
#content a.createlink {
    color:var(--eop-linkhover);
    text-shadow: 0 0 2px var(--eop-link);
}

/* styling for unordered lists */
ul {
    margin-left: -1em;
}

ul ul {
    margin-left: -2em;
}

ul ul ul {
    margin-left: -2em;
}

ol {
    margin-left: -1em;
}

ol ol {
    margin-left: -2em;
}

ol ol ol {
    margin-left: -2em;
}

/* styling for links */
a:link {
    color: var(--eop-link);
    text-decoration: none;
}

a:visited {
    color: var(--eop-link);
    text-decoration: none;
}

a:hover {
    color: var(--eop-linkhover);
    text-decoration: none;
    text-shadow: 0 0 2px var(--eop-link);
}

a:focus {
    color: var(--eop-linkhover);
    text-decoration: none;
    text-shadow: 0 0 2px var(--eop-link);
}

/* styling for non-existent link text */
a.createlinktext {
    color:var(--eop-linkhover);
    text-shadow: 0 0 2px var(--eop-link);
}

a.createlink {
    color:var(--eop-linkhover);
    text-shadow: 0 0 2px var(--eop-link);
}

/* styling for html headings */
h1 {
    font-family: "EB Garamond", serif;
    margin: var(--eop-margin);
    color: var(--eop-shadow);
}

h2 {
    font-family: "EB Garamond", serif;
    margin: var(--eop-margin);
    color: var(--eop-shadow);
}

h3 {
    font-family: "EB Garamond", serif;
    margin: var(--eop-margin);
    font-size: 150%;
    color: var(--eop-shadow);
}

h4 {
    font-family: "EB Garamond", serif;
    margin: var(--eop-margin);
    font-size: 140%;
    color: var(--eop-shadow);
}

h5 {
    margin: var(--eop-margin);
    font-size: 130%;
    color: var(--eop-shadow);
}

h6 {
    margin: 0;
    margin: 8px 0px 6px 0px;
    font-size: 120%;
    color: var(--eop-shadow);
}

/* styling for code blocks text */
pre {
    border: 1px solid #d4d4d4;
    font-family: 'Andale Mono','Courier New',Courier,monospace;
    padding: 4px 10px 4px 10px;
    color: var(--eop-text);
    background-color: var(--eop-textbox);
    overflow: auto;
}

pre pre {
    border: 1px solid #d4d4d4;
    font-family: 'Andale Mono','Courier New',Courier,monospace;
    padding: 4px 10px 4px 10px;
    color: var(--eop-text);
    background-color: var(--eop-textbox);
    overflow: auto;
}

/* styling for pre-formatted text */
code {
    font-family: 'Lucida Console','Andale Mono','Courier New',Courier,monospace;
    color: #403632;
}

code code {
    font-family: 'Lucida Console','Andale Mono','Courier New',Courier,monospace;
    color: #403632;
}

/* styling for tables */
table {
    border-collapse: collapse;
}

/* styling for horizontal lines */
hr {
    height: 1px;
    background-color: var(--eop-border);
    border: 0;
}

/* styling for the wiki edit area */
#wikiedit textarea {
    font-size: inherit;
    border: 1px solid var(--eop-border);
    box-shadow: 2px 2px 5px var(--eop-bg) inset;
    padding: 10px 20px;
    background-color: var(--eop-textbox);
    margin-bottom: var(--eop-margin);
    width: 100%;
    box-sizing: border-box;
}

/* styling for the footer */
#footer {
    padding: 10px 10px 10px 10px;
    border-top: 1px solid var(--eop-border);
    font-size: 80%;
    text-align: center;
    color: var(--eop-text);
    background: linear-gradient(var(--eop-shadow), var(--eop-bg2));
}

#footer a:link {
    color: var(--eop-link);
    text-decoration: none;
}

#footer a:visited {
    color: var(--eop-link);
    text-decoration: none;
}

#footer a:hover {
    color: var(--eop-linkhover);
    text-decoration: none;
    text-shadow: 0 0 2px var(--eop-link);
}

#footer a:focus {
    color: var(--eop-linkhover);
    text-decoration: none;
    text-shadow: 0 0 2px var(--eop-link);
}

/* Mobile Sizing */
@media (max-width: 1000px) {
    
    #content {
        flex-direction: column-reverse;
    }
    #sidecontent {
          max-width:100%;
    }
    #sitelogo {
      /*  width:500px;
        height:200px; */
    }
    #pageactions {
          max-width: 100%;
          order: 3;
    }
      
    #pageactions ul {
          justify-content: space-evenly;
          flex-wrap: wrap;
    }
}