body {
    background-color: #fff;
    color: #222222;
    margin: 0;
    padding: 0;
    word-wrap: break-word;
}

/* Page Header */


#page-header { 
    background-color: #98c8ff; 
    border-bottom: 2pt solid black;
    margin-bottom: 0;
    padding-bottom: 0;
    color: #000;
    padding-left: 1em;
}


/* Desktop Header */

#desktop-header-sitename {
    font-weight: normal;
    font-size: 2em;
    margin-top: 0;
}

#desktop-header-slogan {
  font-size: 1em;
  font-style: italic;
}

#main-menu {
  padding-left: 0;
}

#main-menu a {
  text-decoration: none;
}

#section-menu {
  margin-top: 0;
  margin-bottom: 0;
  height: 2.0em;
  color: #ff0000;
}

#section-menu ul {
  padding-left: 0;
  padding-bottom: 0;
  margin-bottom: 0;
}

#section-menu li {
  display: inline-block;
  margin-bottom: 0;
  margin-top: 0;
  color: #00ff00;
}

#section-menu a, #section-menu a:visited {
  display: block;
  float: left;
  background-color: #222;
  border-radius: 5px 5px 0 0;
  border: 0.5pt solid black;
  color: #ffffff;
  font-size: 0.8rem;
  margin: 0 0 0 0;
  padding: 0 .75rem;
  line-height: 1.75rem;
  text-decoration: none;
}

#section-menu a.current {
  display: block;
  float: left;
  background-color: #ccc;
  border-radius: 5px 5px 0 0;
  border: 0.5pt solid black;
  color: #000000;
  font-size: 0.8rem;
  margin: 0 0 0 0;
  padding: 0 .75rem;
  line-height: 1.75rem;
  text-decoration: none;
}

#desktop-header-avatar { 
    position: absolute; 
    right: 0; 
    top: 0; 
    float: right; 
    width: 75px;
    margin: 5px;
}

/* Mobile Header */

#mobile-header-sitename {
  display: block;
  font-size: 1.75em;
}

#mobile-hamburger {
  height: 1.25em;
  border: none;
  display: inline-block;
  padding-top: 0.5em;
  padding-right: 1em;
  float: left;
}

#mobile-header-desc {
  width: 75%;
  clear: both;
  display: block;
}

#mobile-header-slogan {
  display: block;
  clear: both;
  font-size: 0.85em;
  font-style: italic;
  width: 75%;
  margin-top: 0.5em;
  padding-left: 0;
}

#mobile-header-avatar { 
    position: absolute; 
    right: 0; 
    top: 0; 
    float: right; 
    width: 12%;
    margin: 5px;
}

#mobile-menu {
  z-index: 100;
  position: fixed;
  left: 5px;
  top: 3em;
  width: 95%;
  display: none;
  background-color: #fbd661;
  border: 1pt solid black;
  border-radius: 10px;
}

#mobile-menu a {
  text-decoration: none;
}

#mobile-menu-sitename {
  padding-left: 5px;
  font-size: 1.5em;
  font-weight: bold;
}

#mobile-menu .dotted-list {
  padding-left: 20px;
}
#mobile-menu-section {
  padding-left: 5px;
  font-weight: bold;
}


/* Sidebar Items */

aside .title {
  font-weight: bold;
  font-size: 1.25em;
}

#section-desc        { font-style: italic;    }

#recent ul {
  padding-left: 0px;
}

.simple-post-list    { padding-left: 15px;     }
.simple-post-list li { list-style: none;      }
.simple-post-list a  { text-decoration: none; }


.term-buttons {
  margin: -.25rem;
  margin-top: .5rem;
}

.term-buttons li {
  display: inline-block;
  margin: 0 -4px 0 0;
}

.term-buttons a {
  display: block;
  float: left;
  background-color: #333;
  color: #fff;
  border-radius: 4px;
  font-size: 0.7rem;
  margin: .2rem;
  padding: 0 .5rem;
  padding-top: 0px;
  line-height: 1.75rem;
  text-decoration: none;
}

.term-buttons a.current {
  display: block;
  float: left;
  background-color: #ccc;
  border-radius: 4px;
  border: 0.5pt solid black;
  color: #ff0000;
  font-size: 0.7rem;
  margin: .25rem;
  padding: 0 .75rem;
  line-height: 1.75rem;
}

/* footer */

#page-footer {
  padding-top: 5px;
  clear: both; 
  margin-left: 2%;
}

#page-footer-content {
  display: block; 
  float: left;
}

#page-footer-links {
  display: block; 
  float: right; 
  padding-right: 1em;
}



/* content area - article summaries */

.article-summary .title {
  font-size: 18pt;
  color: #000;
}

.article-summary .title a {
  color: #000;
}

.article-summary-meta {
  color: #888;
  padding-bottom: 0px;
}


/* content area - single post display */

/* generic format - all article types */

#article-nav {
  font-size: 10pt; 
  height: 3em;
  clear: both;
  padding-top: 3px;
}

#article-nav-left {
  float: left;
  text-align: left;
  width: 45%;
  padding-left: 5px;

  background-color: #ddd;
  border: 1pt solid black;
  border-radius: 4px;
}

#article-nav-right {
  float: right;
  text-align: right;
  width: 45%;
  padding-right: 5px;

  background-color: #ddd;
  border: 1pt solid black;
  border-radius: 4px;
}

.article-nav-left-title {
  float: left;
  text-align: left;
  width: 90%;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.article-nav-right-title {
  float: right;
  text-align: right;
  width: 90%;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

article {
    position: relative;
    display: block;
    width: 90%;
    margin: 0 auto;
}

article .title {
  font-size: 18pt;
  color: #000;
}

article meta {
  color: #888;
  padding-bottom: 0px;
}

article h1, h2 {
  margin-top: 0;
  margin-bottom: 0;
}

.text-quote {
  font-size: 11pt;
  font-style: italic;
  background-color: #ddd;
  border: 2pt solid black;
  border-radius: 5px;
  width: 55%;
  margin-left: 10%;
  padding: 5px 10px 5px 10px
}

blockquote { 
    color:#000;
    background-color: #eee;
    margin: 0 18px 18px 18px;

    padding-left:10px;
    border-left:4px solid #ccc;
    padding-right:10px;
    border-right:4px solid #ccc;
}

/* specific tweaks to particular article types */

article.post .title {
  font-size: 18pt;
  color: #000;
}



/* Other useful things */

.plain-horiz-list {
    padding: 0;
    margin: 0;
}

.plain-horiz-list li {
  display: inline-block;
}

.plain-horiz-list img {
  border: none;
}



.taglist { 
    display: inline-block;
    /*font-size: 10pt; margin-left: 2px;*/
    padding: 0;
    margin: 0px; 
}

.taglist ul {
    margin: 0;
    padding: 0;
}

/* .dotted-list {
   border: 1pt solid red;
}*/

.dotted-list li {
    display: inline-block;
    margin: 0;
/*    border: 1pt solid orange; */
}

.dotted-list li + li:before {
    content: "• ";
}





/* div classes & IDs from built-in {{ .TableOfContents }} */
/* see also Mobile and Screen sections for responsive display */

#TableOfContents li {
  margin: 2px;
}

#TableOfContents ul {
  font-weight: bold;
  margin-top: 2px;
}

#TableOfContents ul ul {
  font-weight: normal;
  font-style: italic;
  font-size: 10pt;
}

#TableOfContents ul ul ul {
  padding-left: 2em;
  font-size: 10pt;
  font-style: italic;
  font-weight: bold;
  padding-bottom: 1px;
}

#toc a {
  text-decoration: none;
}

#toc .title {
  color: #000;
  padding-left: 15px;
  font-size: 1.25em;
}

#toc {
  background-color: #d8d8d8;
  border: 1pt solid black;
  margin-left: 2em;
}

/* from medialoot.com/blog/how-to-move-a-responsive-sidebars-position-.... */

/* Base Mobile Layout*/

.wrap {
    width: 90%;
    margin: 0 auto;
}

#main-content, #sidebar-left, #sidebar-right {
    width: 100%;
    float: left;
}

#sidebar-right {
    margin-top: 1em;
}

/* for mobile, we just see the contents header */
/* until the interior TableOfContents is un-hidden */

#toc {
  display: block;
  float: left;
  width: 90%;
  margin-right: 5%;
}

#TableOfContents       {  display: none;  }
#desktop-header        {  display: none;  }
#sidebar-on-bottom     {  display: block; }
#mobile-header         {  display: block; }


/*3 Column Layout*/
@media only screen and (min-width: 650px) {
  #toc {
    display: block;
    float: right;
    max-width: 25%;
  }

  #mobile-header       { display: none;   }
  #sidebar-on-bottom   { display: none;   }
  #desktop-header      { display: block;  }
  #TableOfContents     { display: inline;  } 



  .wrap {
      width: 1024px;
      margin: 0 auto;
  }
  
  #main-content {
      width: 60%;
      float: left;
  }
  
  #sidebar-right {
      width: 35%;
      float: left;
      margin-left: 1em;
  }
}


/* main content formatting */

/* figures */

figure {
  overflow: hidden;
  border: 1pt solid gray;
}

figure img {
  width: 100%;
}

figure.left {
  float: left;
  margin: 1em;
}
figure.right {
  float: right;
  margin: 1em;
}
figure.large {
  width: 75%;
}
figure.medium {
  max-width: 40%;
}
figure.small {
  max-width: 25%;
}
figure.block {
  display: block;
}
figure figcaption {
  font-size: 11pt;
}

img[src$='#floatleft'] {
  float: left;
}
