/************* End of scss preparation stuff *******************/
html {
  width: 100%;
  height: 100%;
  margin: 0em;
  padding: 0em;
  background-image: url("../img/bg.jpg");
  background-size: cover; }

body {
  width: 100%;
  min-height: 100%;
  margin: 0em;
  padding: 0em;
  background-image: url("../img/shadow.png");
  background-size: 100% 100%;
  background-attachment: fixed;
  color: #200b3c; }

/* Build the main layout. The menubar is left, the page is right and the footer
 * ends up below both. We also clear #footerbottom so all of the floating
 * stuff in the footer will still stretch up the body element and get a
 * background. */
.editbar {
  background-image: url("../img/content_bg.png");
  background-repeat: repeat; }

#footer, #footerbottom {
  clear: both; }

.sidebar {
  position: absolute;
  left: 1020px;
  top: 200px;
  margin: 0;
  padding: 1em;
  background-color: #2b424c;
  /* fallback */
  background-color: rgba(43, 66, 76, 0.85);
  background-opacity: 50%;
  border-radius: 15px; }

.table-of-contents {
  /* Use moderate indent for each list */ }
  .table-of-contents ol,
  .table-of-contents ul {
    padding-left: 30px;
    margin-left: 0; }
  .table-of-contents li {
    /* Hide numbers */
    list-style-type: none; }

/* no indent on the first list  */
.table-of-contents > ol,
.table-of-contents > ul {
  padding-left: 0; }

.table-of-contents-heading {
  /* Don't show the "Contents" heading */
  display: none; }

#content .table-of-contents a:visited,
#content .table-of-contents a {
  color: #c0c0c0;
  font-weight: bold; }

/****************************************
 * Set up the stuff in the header
 ****************************************/
.editbar {
  /* Center the content vertically in a fixed height */
  line-height: 1.5em;
  color: white; }
  .editbar a {
    color: white; }

/* Format the pageinfo bar. */
#pageinfo {
  float: left;
  margin: 0; }

.editbar {
  /* Disable all default list-style stuff */
  list-style-type: none;
  list-style-position: outside;
  margin-top: 0px;
  margin-bottom: 0px;
  /* And indent a bit to align with #content (width of #menubar +
   * padding-left of #window) */
  padding-left: 425px;
  /* Make it stand out a bit (this includes #pageinfo)*/
  background-image: url("../img/content_bg.png");
  background-repeat: repeat;
  border-bottom: solid #111a1e 1px; }

ul.editbar li {
  /* Put menu items horizontally */
  display: inline;
  /* But not completely squashed together */
  margin-right: 20px; }

/* Really put the more actions dropdown horizontally */
.editbar form, .editbar form div {
  display: inline; }

/************* End of mandatory wiki stuff **************/
/* * *  Fonts  * * */
@font-face {
  font-family: 'ArabDances';
  src: url("fonts/arabdances.eot");
  src: url("fonts/arabdances.eot@") format("embedded-opentype"), url("fonts/arabdances.woff") format("woff"), url("fonts/arabdances.ttf") format("truetype"), url("fonts/arabdances.svg") format("svg");
  font-weight: bold; }

@font-face {
  font-family: 'ArabianKnight';
  src: url("fonts/arabianknight.eot");
  src: url("fonts/arabianknight.eot@") format("embedded-opentype"), url("fonts/arabianknight.woff") format("woff"), url("fonts/arabianknight.ttf") format("truetype"), url("fonts/arabianknight.svg") format("svg");
  font-weight: bold; }

@font-face {
  font-family: 'Another';
  src: url("fonts/another.eot");
  src: url("fonts/another.eot@") format("embedded-opentype"), url("fonts/another.woff") format("woff"), url("fonts/another.ttf") format("truetype"), url("fonts/another.svg") format("svg");
  font-weight: bold; }

@font-face {
  font-family: 'Mardian';
  src: url("fonts/mardian.eot");
  src: url("fonts/mardian.eot@") format("embedded-opentype"), url("fonts/mardian.woff") format("woff"), url("fonts/mardian.ttf") format("truetype"), url("fonts/mardian.svg") format("svg");
  font-weight: bold; }

/* * *  /Fonts  * * */
#logo {
  float: right;
  font-family: ArabDances,Verdana,Helvetica,sans-serif;
  font-size: 5em;
  margin-right: 1em; }
  #logo a {
    text-decoration: none;
    color: #8cbdc0; }
  #logo span {
    clear: left;
    display: block;
    font-size: 0.5em; }

#menu {
  float: left;
  clear: left;
  width: 20%;
  margin-left: 1%; }

#menu-top {
  background-image: url("../img/menu_top.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center bottom;
  width: 100%;
  height: 7.5em; }

#menubar {
  border: 0.5em solid #200b3c;
  box-shadow: 0 0 0.5em 0.5em rgba(190, 255, 244, 0.75);
  /* horizontal offset, vertical offset, blur amount, distance, color */
  background-image: url("../img/content_bg.png");
  background-repeat: repeat;
  border-top: 0em;
  border-bottom: 0em; }
  #menubar ul {
    padding-left: 0px;
    margin: 0;
    list-style-type: none;
    list-style-position: outside; }
  #menubar li {
    font-family: ArabDances,Verdana,Helvetica,sans-serif;
    font-size: 2em;
    text-align: center;
    line-height: 150%; }
    #menubar li a {
      color: #200b3c;
      text-decoration: none; }
    #menubar li a:hover {
      color: #1d66a3; }
  #menubar p {
    margin: 0px; }

#menu-bottom {
  background-image: url("../img/menu_bottom.png");
  background-size: contain;
  background-repeat: no-repeat;
  width: 100%;
  height: 7.5em; }

#pagemiddle {
  float: left;
  margin: 2em 2% 2em;
  width: 72%;
  clear: right;
  padding: 0.5em;
  border-radius: 0.5em;
  border: 0.5em solid #200b3c;
  box-shadow: 0 0 0.5em 0.5em rgba(190, 255, 244, 0.75);
  /* horizontal offset, vertical offset, blur amount, distance, color */
  background-image: url("../img/content_bg.png");
  background-repeat: repeat;
  margin-bottom: 2em; }
  #pagemiddle a {
    color: #0a304f; }
  #pagemiddle a:hover {
    color: #1d66a3; }

#pagemiddle.no-block-appearance {
  box-shadow: none;
  background-image: none;
  border: 0em;
  padding: 0em; }
  #pagemiddle.no-block-appearance #message,
  #pagemiddle.no-block-appearance form#editor,
  #pagemiddle.no-block-appearance #editor-help {
    padding: 0.5em;
    border-radius: 0.5em;
    border: 0.5em solid #200b3c;
    box-shadow: 0 0 0.5em 0.5em rgba(190, 255, 244, 0.75);
    /* horizontal offset, vertical offset, blur amount, distance, color */
    background-image: url("../img/content_bg.png");
    background-repeat: repeat;
    margin-bottom: 2em; }
  #pagemiddle.no-block-appearance #message {
    border-color: #fff; }

.tale-content {
  padding: 0.5em;
  border-radius: 0.5em;
  border: 0.5em solid #200b3c;
  box-shadow: 0 0 0.5em 0.5em rgba(190, 255, 244, 0.75);
  /* horizontal offset, vertical offset, blur amount, distance, color */
  background-image: url("../img/content_bg.png");
  background-repeat: repeat;
  margin-bottom: 2em; }
  .tale-content .columnnize {
    clear: both;
    -webkit-column-count: 3;
    -webkit-column-gap: 1em;
    -webkit-column-rule: 0em solid #200b3c;
    -moz-column-count: 3;
    -moz-column-gap: 1em;
    -moz-column-rule: 0em solid #200b3c;
    column-count: 3;
    column-gap: 1em;
    column-rule: 0em solid #200b3c; }
  .tale-content h1 {
    font-family: ArabianKnight,Verdana,Helvetica,sans-serif; }
  .tale-content p {
    font-family: ArabianKnight,Verdana,Helvetica,sans-serif;
    line-height: 150%;
    letter-spacing: 0.05em;
    margin-top: 0em;
    /* Only wanted on first p, but first-child selector does not work with wiki junk added */ }
  .tale-content img {
    display: block;
    margin: auto; }

.journal-content {
  padding: 0.5em;
  border-radius: 0.5em;
  border: 0.5em solid #200b3c;
  box-shadow: 0 0 0.5em 0.5em rgba(190, 255, 244, 0.75);
  /* horizontal offset, vertical offset, blur amount, distance, color */
  background-image: url("../img/content_bg.png");
  background-repeat: repeat;
  margin-bottom: 2em; }
  .journal-content .columnnize {
    clear: both;
    -webkit-column-count: 2;
    -webkit-column-gap: 1em;
    -webkit-column-rule: 0.1em solid #200b3c;
    -moz-column-count: 2;
    -moz-column-gap: 1em;
    -moz-column-rule: 0.1em solid #200b3c;
    column-count: 2;
    column-gap: 1em;
    column-rule: 0.1em solid #200b3c; }
  .journal-content h1 {
    font-family: Another,Verdana,Helvetica,sans-serif; }
  .journal-content p {
    font-family: Another,Verdana,Helvetica,sans-serif;
    line-height: 150%;
    letter-spacing: 0.05em;
    font-size: 1.5em;
    margin-top: 0em;
    /* Only wanted on first p, but first-child selector does not work with wiki junk added */ }

.grandvizier-content {
  padding: 0.5em;
  border-radius: 0.5em;
  border: 0.5em solid #200b3c;
  box-shadow: 0 0 0.5em 0.5em rgba(190, 255, 244, 0.75);
  /* horizontal offset, vertical offset, blur amount, distance, color */
  background-image: url("../img/content_bg.png");
  background-repeat: repeat;
  margin-bottom: 2em; }
  .grandvizier-content .columnnize {
    clear: both;
    -webkit-column-count: 2;
    -webkit-column-gap: 1em;
    -webkit-column-rule: 0.1em solid #200b3c;
    -moz-column-count: 2;
    -moz-column-gap: 1em;
    -moz-column-rule: 0.1em solid #200b3c;
    column-count: 2;
    column-gap: 1em;
    column-rule: 0.1em solid #200b3c; }
  .grandvizier-content h1 {
    font-family: Mardian,Verdana,Helvetica,sans-serif;
    font-size: 2.5em; }
  .grandvizier-content p {
    font-family: Mardian,Verdana,Helvetica,sans-serif;
    line-height: 100%;
    letter-spacing: 0.05em;
    font-size: 2em;
    margin-top: 0em;
    /* Only wanted on first p, but first-child selector does not work with wiki junk added */ }

/* For smaller screens we include smaller images */
@media screen and (max-width: 1280px) {
  html {
    background-image: url("../img/bg_small.jpg"); }

  body {
    background-image: url("../img/shadow_small.png"); } }
/****************************************
 * Set up the stuff in the footer
 ****************************************/
#footer {
  /* Make it stand out a bit */
  background-image: url("../img/content_bg.png");
  background-repeat: repeat;
  color: white;
  /* Center the content vertically in a fixed height */
  line-height: 40px;
  border-top: solid #111a1e 1px;
  clear: both;
  /* This makes sure the body will scale up with the content (without loosing scrollbars on the body) */ }

#footer a {
  color: white; }

/* Format the username bar, copied from the modern theme */
#username {
  float: left;
  display: inline;
  margin: 0px 12px;
  padding: 0;
  text-align: right;
  font-size: 0.82em;
  white-space: nowrap; }

#username li {
  display: inline;
  padding: 0 0.5em 0 0; }

#searchform {
  float: right; }
