/***********************************************************************
** pmwiki.css
**  Copyright 2004-2006 Patrick R. Michaud (pmichaud@pobox.com)
**  Copyright 2006 Hagan Fox
**  This file is part of PmWiki; 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 2 of the License, or
**  (at your option) any later version.  See pmwiki.php for full details.
***********************************************************************/

/** Pmwiki Kit: only the funcional styling rules are kept, elements such
 * as h1-6 etc. are already styled by Bootstrap, and so were removed from
 * here.
 */

@media (max-width: 979px) {
	body {
		padding-top: 0px;
	}
	
	.pull-right { 
		position:relative;
		float: right;
		z-index:10;
	} 
}

@media (min-width: 980px) {
	body {
		padding-top: 60px;
	}
}
.container, .container-fluid {
    margin-right: auto;
    margin-left: auto;
}

#overview {
    padding-top: 60px;
}

#overview .pagegroup {
    margin-right: 10px;
}

#overview h1 {
    display: inline;
}

#wikicmds {
  white-space: nowrap;
  font-size: 85%;
  position: fixed;
  top: 100px;
  right: 16px;
  background: white;
  padding: .5rem;
  border-radius: 3px;
  border: 1px solid #b3e6ff;
}
#wikicmds ul { list-style:none; margin:0px; padding:0px; }
#wikicmds li { display:inline; margin:0px 5px; }
#wikicmds li a { text-decoration:none; color:black; border:none; }
#wikicmds li a.createlink { display:none; }
#wikicmds li a:hover { text-decoration:underline; color:blue; }
.pagegroup { margin-top:8px; margin-bottom:2px; }
.wikiaction { margin-top:4px; margin-bottom:4px; }

/* These are for the edit form. */
#wikiedit form { margin:0px; width:100%; }
#wikiedit textarea { width:100%; }
.wikimessage { margin-top:4px; margin-bottom:4px; font-style:italic; }

/* These affect the printed appearance of the web view (not the separate
** print view) of pages.  The sidebar and action links aren not printed. */
@media print {
  body { width:auto; margin:0px; padding:0.5em; }
  #wikihead, #wikileft, #wikicmds, .footnav { display:none; }
  #wikifoot { padding:2px; }
}

/* special tags for Bootstrap-specific pages, to display (or not) in the template */
.bootstraptags {
    display: none;
}

/* Bootstrap nested lists
** from http://scottgalloway.blogspot.com/2012/08/twitter-bootstrap-nested-nav-lists.html */

.nav li.dropdown ul.dropdown-menu li:hover ul {
    display:block;
    position:absolute;
    left:100%;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
}

.nav li.dropdown ul.dropdown-menu ul {
    display: none;
    float:right;
    position: relative;
    top: auto;
    margin-top: -27px;
}

.nav li.dropdown ul.dropdown-menu .nav-list .caret {
    border-bottom-color: #999;
    border-top-color: #999;
    float: right;
}

.nav li.dropdown ul.dropdown-menu .nav-list:hover .caret {
    margin-left: 6px;
    margin-top: 5px;
    margin-right: 1px;
    border-right: 0;
    border-left: 4px solid #fff;
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
}

.nav li.dropdown ul .nav-list .dropdown-menu:after {
    top: 8px;
    left: -12px;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-right: 6px solid #fff;
}

.nav li.dropdown ul .nav-list .dropdown-menu:before {
    left: -7px;
    border-left: 0;
    top: 7px;
    border-top: 7px solid transparent;
    border-bottom: 7px solid transparent;
    border-right: 7px solid rgba(0,0,0,0.05);
}


.nav li.dropdown ul.dropdown-menu li.nav-list:hover {
    background: #08c;
    color: #fff;
    cursor: pointer;
}

.nav li.dropdown ul.dropdown-menu .nav-list {
    font-size: 13px;
    color: #333;
    float: none;
    line-height: 21px;
}

/* Custom CSS */

body {
  background-color: #f2f2f2;
}

.mr-1 {
	margin-right: 1rem;
}

.mr-2 {
  margin-right: 2rem;
}

.ml-1 {
  margin-left: 1rem;
}

.paragraph, .p,
.info, .i,
.warning, .w,
.danger, .d {
  border: 1px solid #b3e6ff;
  padding: 1rem;
  border-radius: 4px;
}

.paragraph,
.p {
  background-color: white;
}

.info,
.i {
  background-color: #17a2b8;
  color: black;
}

.warning,
.w {
  background-color: #ffc107;
  color: black;
}

.danger,
.d {
  background-color: #dc3545;
  color: black;
}

.paragraph h1, .p h1,
.paragraph h2, .p h2,
.paragraph h3, .p h3,
.paragraph h4, .p h4,
.paragraph h5, .p h5,
.paragraph h6, .p h6 {
  color: #0088cc;
}

.paragraph .escaped, .p .escaped ,
.info .escaped, .i .escaped,
.warning .escaped, .w .escaped,
.danger .escaped, .d .escaped {
  font-family: 'Roboto Mono', monospace;
  font-size: 0.9rem;
  font-weight: 300;
  display: inline-block;
  width: auto;
  padding: 1rem;
  margin-left: 0.4rem;
}

.paragraph .escaped, .p .escaped {
  background-color: #595959;
  color: #e6f7ff;
}
.info .escaped, .i .escaped {
  background: #d2f4f9;
  color: #083c44;
}
.warning .escaped, .w .escaped {
  background-color: #fff2cc;
  color: #332600;
}

.danger .escaped, .d .escaped {
  background-color: #f7d4d7;
  color: #2b080b;
}

.wikilink {
  color: #0088cc;
}

.urllink {
  color: #0088cc;
  font-family: Monaco, Menlo, Consolas, "Courier New", monospace;
  font-size: 12px;
  background-color: #f7f7f9;
  border: 1px solid #e1e1e8;
  padding: 2px 4px;
  border-radius: 3px;
}

.well .urllink {
  font-family: inherit;
  font-size: inherit;
  background-color: inherit;
  border: inherit;
  padding: inherit;
  border-radius: inherit;
}

.navbar-inner__logo {
  height: 5rem;
}

.navbar-inner__child {
  margin-top: auto;
  margin-bottom: auto;
}

.navbar-inner__child--right {
  margin-right: 0;
  margin-left: auto;
}

blockquote cite {
  display: block; 
  text-align: right; 
  margin: 0 2em; 
}
blockquote cite:before { content:"\2014 \A0"; }
blockquote {
  position: relative;
  border-left: 4px solid #ccc;
  font-style: italic;
  margin: 0 0 0 1em;
  padding-left: 0.7em;
}
blockquote.email {
  min-height: .6em;
  margin: 0 0 0 1em;
  padding-left: 0.7em;
  border-left: 4px solid #ccc; 
}
blockquote.email.qlv2 { 
  border-left: 12px double #ccc; 
  padding-left: 1.5em; 
}
blockquote.email.qlv3 { 
  border-left: 12px double #ccc; 
  padding-left: 2.0em; 
  margin:0 0 0 1.2em; 
}

.citeblock .urllink {
  border: 0;
  background-color: transparent;
}