body {
  max-width: 900px;
  margin: auto ;
  padding: 2em;
  padding-top: 0px;
  padding-bottom: 0px;
  margin-top: 0px;
  line-height: 1.75em;
}

p {
  padding-top: 5px;
  padding-bottom: 5px;
}


content-box {
  margin: 0 auto;
  max-width: 100%;
}

main {
  margin: 0 auto;
  padding-left: 2rem;
  padding-right: 2rem;
  max-width: 700px;
}

/* nav */
nav {
  padding-top: 1rem;
}

#header-container {
  max-width: 900px;
  margin: auto ;
}

.menu { float:left; padding: 0; }
.menu li { display: inline-block; }
.article-meta, .menu a {
  font-weight: bold;
  text-decoration: none;
  padding: 5px;
  border-bottom: none !important;
}
.menu, .article-meta, footer { text-align: center; }
.title { font-size: 1.1em; }

nav .sitelogo { 
  float: left; 
  border-bottom: none !important;
}


/* body formatting */
#body-columns {
  max-width: 900px;
  margin: auto ;
  padding-left:0px;
  padding-right:0px;
  margin-left:0px;
  margin-right:0px;
}

.substack{
  margin: auto;
  width: 50%;
}


@media all and (max-width: 768px) {
   .col-sm-4 { 
     border-left: 0;
     border-top: 1px solid #DEDEDE;
   }
}
  

/* typography */

.title { 
  font-size: 32px;
  line-height: 32px;
}

/* content portion */
.content-box {
  min-height: 500px;
}


.article-meta {
  text-align: center;
}

.article-meta, .menu a {
  text-decoration: none;
}

.terms { 
  margin-top: 0px;
}

.menu,  footer { text-align: center; }

footer{
  left: 50%;
  right: 50%;
}

/* toc */
 #TableOfContents, #TOC ul{
   list-style: none
 }
 

footer a { text-decoration: none; }


/* pagination */
 .pagination { text-align: center; }
 .pagination li { display: inline; }
 .pagination a { padding: 0 .2em; }


/* code */
pre {
  border: 1px solid #ddd;
  box-shadow: 5px 5px 5px #eee;
  padding: 1em;
  overflow-x: auto;
}
code { background: #f9f9f9; }
pre code { background: none; }

/* misc elements */
img, iframe, video { max-width: 100%; }
main { hyphens: auto; }

blockquote {
  background: #f9f9f9;
  border-left: 5px solid #ccc;
  padding: 3px 1em 3px;
  font-style: italic;
}


input {
  background-color: #FBFBFB;
  border: 1px solid black;
  border-radius: 2px;
}


table {
  margin: auto;
  border-top: 1px solid #666;
  border-bottom: 1px solid #666;
}

table thead th { border-bottom: 1px solid #ddd; }
th, td { padding: 5px; }
thead, tfoot, tr:nth-child(even) { background: #eee }

/* for the widgets */
.center-news{
  display: block;
  width: 40%;
  margin: 0 auto;
  max-width:300px;
  text-align: center;
}


@media all and (max-width: 600px) {
   .left-news { float: none; }
   .right-patreon { float: none; }
}

/* writing */
p.caption {
  margin-top: 0px;
  font-style: italic;
}

a:link, a:visited {
  color: #000;
  text-decoration: none;
  border-bottom: 1.1px solid black;
}

a:hover {
  text-decoration: none;
  color: #3498DB !important;
}

/*** Tables ***/
table {
  border: 0px;
  width: 100%;
	max-width: 95%;
	height: auto;
	margin: 2rem 2rem 2rem 2rem;
}


tr {
  padding: 5px 5px 5px 5px;
}

caption {
  color: #000000 !important;
  font-size: 2rem;
}


/******* css for the midterms forecast  *******/
/* Style the tab */
.tab {
    overflow: hidden;
    border: 1px solid #ccc;
    background-color: #f1f1f1;
}

/* Style the buttons that are used to open the tab content */
.tab button {
    background-color: inherit;
    float: left;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 14px 16px;
    transition: 0.3s;
    font-size: 12px;
    font-weight: bold;
}

/* Change background color of buttons on hover */
.tab button:hover {
    background-color: #ddd;
}

/* Create an active/current tablink class */
.tab button.active {
    background-color: #ccc;
}

/* Style the tab content */
.tabcontent {
    display: block;
}


/*flex two divs*/

.list-grid-flexdiv {
  display: flex;
  flex-wrap: wrap;
}
.list-item-grid-flexdiv {
	display: flex; 
  padding: 0.5em;
	width: 100%;
}

@media all and (min-width: 60em) {
  .list-item-grid-flexdiv {
    width: 45%;
  }
}

.list-content-grid-flexdiv {
  display: flex;
  flex-direction: column;
  padding: 1em;
	width: 100%;
}
.list-content-grid-flexdiv p {
	flex: 1 0 auto;
}

/* feed lists */

.HouseFeedUl {
  list-style-type: circle;
  margin: 0;
  padding: 0;
}

.HouseFeedLi {
  font-size:  14px/1.5;
  border-bottom: 1px solid #ccc;
  padding-bottom: 0.2rem;
  padding-top: 0.2rem;
}


.HouseFeedLi:last-child {
  border: none;
}

.HouseFeedLi {
  text-decoration: none;
  color: #000;

  -webkit-transition: font-size 0.2s ease, background-color 0.2s ease;
  -moz-transition: font-size 0.2s ease, background-color 0.2s ease;
  -o-transition: font-size 0.2s ease, background-color 0.2s ease;
  -ms-transition: font-size 0.2s ease, background-color 0.2s ease;
  transition: font-size 0.2s ease, background-color 0.2s ease;
  display: block;
}

.HouseFeedLi:hover {
  font-size: 16px;
  background: #f6f6f6;
}


/* sharing buttons */
.resp-sharing-button__link,
.resp-sharing-button__icon {
  display: inline-block
}

.resp-sharing-button__link {
  text-decoration: none;
  color: #fff;
  margin: 0.5em
}

.resp-sharing-button {
  border-radius: 5px;
  transition: 25ms ease-out;
  padding: 0.5em 0.75em;
  font-family: Helvetica Neue,Helvetica,Arial,sans-serif
}

.resp-sharing-button__icon svg {
  width: 1em;
  height: 1em;
  margin-right: 0.4em;
  vertical-align: top
}

.resp-sharing-button--small svg {
  margin: 0;
  vertical-align: middle
}

/* Non solid icons get a stroke */
.resp-sharing-button__icon {
  stroke: #fff;
  fill: none
}

/* Solid icons get a fill */
.resp-sharing-button__icon--solid,
.resp-sharing-button__icon--solidcircle {
  fill: #fff;
  stroke: none
}

.resp-sharing-button--twitter {
  background-color: #55acee
}

.resp-sharing-button--twitter:hover {
  background-color: #2795e9
}

.resp-sharing-button--pinterest {
  background-color: #bd081c
}

.resp-sharing-button--pinterest:hover {
  background-color: #8c0615
}

.resp-sharing-button--facebook {
  background-color: #3b5998
}

.resp-sharing-button--facebook:hover {
  background-color: #2d4373
}

.resp-sharing-button--tumblr {
  background-color: #35465C
}

.resp-sharing-button--tumblr:hover {
  background-color: #222d3c
}

.resp-sharing-button--reddit {
  background-color: #5f99cf
}

.resp-sharing-button--reddit:hover {
  background-color: #3a80c1
}

.resp-sharing-button--google {
  background-color: #dd4b39
}

.resp-sharing-button--google:hover {
  background-color: #c23321
}

.resp-sharing-button--linkedin {
  background-color: #0077b5
}

.resp-sharing-button--linkedin:hover {
  background-color: #046293
}

.resp-sharing-button--email {
  background-color: #777
}

.resp-sharing-button--email:hover {
  background-color: #5e5e5e
}

.resp-sharing-button--xing {
  background-color: #1a7576
}

.resp-sharing-button--xing:hover {
  background-color: #114c4c
}

.resp-sharing-button--whatsapp {
  background-color: #25D366
}

.resp-sharing-button--whatsapp:hover {
  background-color: #1da851
}

.resp-sharing-button--hackernews {
background-color: #FF6600
}
.resp-sharing-button--hackernews:hover, .resp-sharing-button--hackernews:focus {   background-color: #FB6200 }

.resp-sharing-button--vk {
  background-color: #507299
}

.resp-sharing-button--vk:hover {
  background-color: #43648c
}

.resp-sharing-button--facebook {
  background-color: #3b5998;
  border-color: #3b5998;
}

.resp-sharing-button--facebook:hover,
.resp-sharing-button--facebook:active {
  background-color: #2d4373;
  border-color: #2d4373;
}

.resp-sharing-button--twitter {
  background-color: #55acee;
  border-color: #55acee;
}

.resp-sharing-button--twitter:hover,
.resp-sharing-button--twitter:active {
  background-color: #2795e9;
  border-color: #2795e9;
}

.resp-sharing-button--google {
  background-color: #dd4b39;
  border-color: #dd4b39;
}

.resp-sharing-button--google:hover,
.resp-sharing-button--google:active {
  background-color: #c23321;
  border-color: #c23321;
}

.resp-sharing-button--tumblr {
  background-color: #35465C;
  border-color: #35465C;
}

.resp-sharing-button--tumblr:hover,
.resp-sharing-button--tumblr:active {
  background-color: #222d3c;
  border-color: #222d3c;
}

.resp-sharing-button--email {
  background-color: #777777;
  border-color: #777777;
}

.resp-sharing-button--email:hover,
.resp-sharing-button--email:active {
  background-color: #5e5e5e;
  border-color: #5e5e5e;
}

.resp-sharing-button--pinterest {
  background-color: #bd081c;
  border-color: #bd081c;
}

.resp-sharing-button--pinterest:hover,
.resp-sharing-button--pinterest:active {
  background-color: #8c0615;
  border-color: #8c0615;
}
