/*
	This program is free software: you can redistribute it and/or modify
	it under the terms of the GNU General Public License as published by
	the Free Software Foundation, either version 3 of the License, or
	(at your option) any later version.

	This program is distributed in the hope that it will be useful,
	but WITHOUT ANY WARRANTY; without even the implied warranty of
	MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
	GNU General Public License for more details.

	You should have received a copy of the GNU General Public License
	along with this program.  If not, see <http://www.gnu.org/licenses/>.
*/

/* Original author: Changaco <changaco ατ changaco δοτ net> */



html {
	height: 100%;
	box-sizing: border-box;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	padding: 1%;
	margin: 0;
}

body {
	position: relative;
	height: 100%;
	padding: 0;
	margin: 0;
}

img {
	border: none;
}

address { font-style: normal; }

pre { white-space: pre-wrap; }

/* Forms stuff */
label {
	cursor: pointer;
}
textarea {
	display: block;
	box-sizing: border-box;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	width: 100%;
}
form p {
	margin: .2em 0;
}
fieldset {
	margin: 1em 5px;
}

/* HTML5 block elements */
article, footer, section, nav {
	display: block;
}

/* Default margins */
p, form {
	margin: 0 0 1em;
}
p:first-of-type, form:first-of-type {
	margin-top: 1em;
}

/* Headers */
h2 { font-size: 150%; }
h3 { font-size: 130%; }
h4 { font-size: 120%; }
h5 { font-size: 110%; }
h6 { font-size: 100%; }
h2, h3, h4, h5, h6 { margin: 1em 0 .5em; font-weight: bold; padding: 0 10px; }



.smallestPC { font-size: 70%; }
.smallPC { font-size: 85%; }
.normalPC { font-size: 100%; }
.bigPC { font-size: 115%; }
.biggestPC { font-size: 130%; }



html {
  background: #cccccc;
  font-family: Verdana;
}

a {
  text-decoration: none;
  color: #0000ee;
}

a:visited {
  color: #551a8b;
}

.clearer {
  display: block;
  clear: both;
}

.createlink a:visited,
.actions a:visited {
  color: #0000ee;
}

html > body .page,
html > body .inline,
html > body #menus > * {
  display: block;
  margin: 0 0 5px;
  background: #ffffff;
  border-width: 1px;
  border-style: solid;
  border-radius: 8px;
  -moz-border-radius: 8px;
}

html > body .page > footer,
html > body .inline > footer,
html > body #menus > * > footer {
  margin: 0;
  border-width: 0 0 1px;
  border-style: solid;
}

html > body .page > footer:last-child,
html > body .inline > footer:last-child,
html > body #menus > * > footer:last-child {
  margin: 0 0 .2em;
}

html > body .page:not(.inline) > h1,
html > body .inline:not(.inline) > h1,
html > body #menus > *:not(.inline) > h1 {
  display: block;
  color: #ffffff;
  margin: 0;
  padding: 3px 0;
  text-align: center;
  font-size: 1em;
  font-weight: bold;
  border-radius: 6px 6px 0 0;
  -moz-border-radius: 6px 6px 0 0;
}

html > body .page:not(.inline) > h1 a,
html > body .inline:not(.inline) > h1 a,
html > body #menus > *:not(.inline) > h1 a {
  display: block;
  color: #ffffff;
}

html > body #menus > * > h2,
section > h1 {
  display: block;
  text-align: center;
  font-size: 1em;
  font-weight: bold;
  padding: 3px 0;
  margin-top: 2em;
  border-style: solid;
  border-width: 1px 0;
}

article.inline > :first-child h1 {
  font-size: 1em;
}

.page > :not(ul):not(ol):not(section):not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not(.columns),
.inline > :not(ul):not(ol):not(section):not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not(.columns),
section > :not(ul):not(ol):not(section):not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not(.columns),
#menus > * > :not(ul):not(ol):not(section):not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not(.columns),
.columns > div > :not(ul):not(ol):not(section):not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not(.columns) {
  padding-left: 5px;
  padding-right: 5px;
}

body > .page {
  border-color: #67b0ad;
}

body > .page > h1 {
  background-color: #67b0ad;
}

body > .page > footer {
  border-bottom-color: #67b0ad;
}

body > .page section > h1 {
  border-color: #67b0ad;
}

.inline {
  border-color: #67b067;
}

.inline > h1 {
  background-color: #67b067;
}

.inline > footer {
  border-bottom-color: #67b067;
}

.comment {
  border-color: #b09267;
}

.comment > :first-child {
  border-bottom-color: #b09267;
}

#menus > * {
  border-color: #6a67b0;
}

#menus > * > h1 {
  background-color: #6a67b0;
}

#menus > * > h2 {
  border-color: #6a67b0;
}

#menus > * > footer {
  border-bottom-color: #6a67b0;
}

html > body .inline {
  margin: 10px 5px;
}

html > body .inline > :first-child {
  border-width: 0 0 1px;
  border-style: dashed;
}

html > body .inline > :first-child * > * {
  display: inline;
}

#menus {
  position: absolute;
  top: 0;
  left: 0;
  box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  width: 150px;
}

#menus ul,
#menus li {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

nav a {
  display: block;
}

#search form {
  margin: 0.2em 0;
  text-align: center;
}

#search form > input[type=text] {
  box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  width: 100%;
}

html > body > .page {
  margin-left: 155px;
}

html > body > .page li {
  margin-top: .5em;
}

html > body > .page > div {
  margin: 1em 0;
}

article > p {
  text-align: justify;
}

.microblog footer {
  display: inline;
}

.archive {
  margin: .5em 8px 1.25em;
}

.toc {
  float: right;
  margin: 20px 10px 0;
}

.page > footer,
.inline > :first-child,
.columns,
#search_results_infos {
  display: box;
  display: -moz-box;
  display: -webkit-box;
  box-orient: horizontal;
  -moz-box-orient: horizontal;
  -webkit-box-orient: horizontal;
  box-lines: multiple;
  -moz-box-lines: multiple;
  -webkit-box-lines: multiple;
  box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  width: 100%;
}

.page > footer > *,
.inline > :first-child > *,
#search_results_infos > * {
  display: block;
  box-flex: 1;
  -moz-box-flex: 1;
  -webkit-box-flex: 1;
  margin: 0;
  padding: 3px 0;
  text-align: center;
}

.page > footer > *:last-child,
.inline > :first-child > *:last-child,
#search_results_infos > *:last-child {
  text-align: right;
}

.page > footer > *:first-child,
.inline > :first-child > *:first-child,
#search_results_infos > *:first-child {
  text-align: left;
}

.columns > div {
  box-flex: 1;
  -moz-box-flex: 1;
  -webkit-box-flex: 1;
  padding: 0 10px;
  border-right: 1px dashed #67b0ad;
}

.columns > div:first-of-type {
  padding-left: 3px;
}

.columns > div:last-of-type {
  border-right: none;
  padding-right: 3px;
}

html > body .actions {
  padding: 0;
  white-space: nowrap;
}

html > body .actions > * {
  display: inline-block;
  margin: 3px 0 3px .4em;
}

html > body .actions > ::before {
  white-space: pre;
  content: '  ';
  border-left: 1px dotted #000000;
}

html > body .actions > :first-child::before {
  display: none;
}

article.page .feedlinks {
  display: none;
}

.moderation_comment_wrapper {
  margin: 1.5em 10px;
}

#search_input {
  text-align: center;
  padding-bottom: 10px;
  margin-bottom: 10px;
  border-bottom: 1px dashed #000000;
}

.warning {
  color: #ff0000;
}

.recentchanges .metadata .desc {
  font-weight: bold;
}

.recentchanges .metadata > :not(.pagelinks) {
  white-space: nowrap;
  margin-right: 25px;
}



