body{
  background-color: #a1a1a1
}
 
 /* The sidebar menu */
 .sidenav {
    height: 100%; /* Full-height: remove this if you want "auto" height */
    width: 160px; /* Set the width of the sidebar */
    position: fixed; /* Fixed Sidebar (stay in place on scroll) */
    z-index: 1; /* Stay on top */
    top: 0; /* Stay at the top */
    left: 0;
    background-color: #111; /* Black */
    overflow-x: hidden; /* Disable horizontal scroll */
    padding-top: 20px;
  }
  
  /* The navigation menu links */
  .sidenav a {
    padding: 6px 8px 6px 16px;
    text-decoration: none;
    font-size: 25px;
    color: #a1a1a1;
    display: block;
  }
  
  /* When you mouse over the navigation links, change their color */
  .sidenav a:hover {
    color: #f1f1f1;
  }

  /* Sidenav banner image */
  .sidenav img {
      padding: 0px 0px 0px 0px;
      width: 160px;
  }
  
   /* The header elements */
.header {
 margin-left: 150px;
 width:100%;
 padding: 10px 0px;
 position: fixed;
 top: 0;
 text-align: center;
 background: #333;
 color: #c1c1c1;
}

.header h1{
  padding-top:10px;
  margin:0px;
}

.header p{
  margin:0px;
}

  /* Style page content */
  .main {
    margin-left: 160px; /* Same as the width of the sidebar */
    padding: 0px 10px;
    padding-top: 92px;
    color: #111;
  }

  .main div{
    width:100%;
    padding:5px;
  }

  .main div div{
    width:100%;
    padding:3px 0px 0px 20px;
  }

  .main td {
    padding: 5px;
  }

  .main th {
    padding: 5px;
  }

  .main thead tr {
    background-color: #333;
    color: #c1c1c1;
  }

  .main tbody tr:nth-child(even) {
    background-color: #888;
    color: #000;
  }

  .main button {
    font-size: 16px;
    padding: 16px;
    border-radius: 2px;
    background-color: #333;
    color: #c1c1c1;
  }

  .main button:hover {
    background-color: #000;
  }

.postlink {
  text-decoration: underline; 
  color: #aa3333;
}

.postlink:hover {
  color:#f1f1f1;
}

  /* Clearfix (clear floats) */
  .row ul{
    list-style-type:none;
    list-style-position:inside;
    float:left;
  }

  .row img{
    max-width:200px;
    float:left;
    padding:5px;
  }

  .row::after {
    content: "";
    clear: both;
    display: table;
  }

  /* Gif playing class */
  .img-swap {cursor: pointer;}

  .rowlist {
    display: flex;
    flex-wrap: wrap;
    padding: 0 2px;
  }
  
  /* Create four equal columns that sits next to each other */
  .columnlist {
    flex: 25%;
    max-width: 20%;
    padding: 0 2px;
  }
  
  .columnlist img {
    margin-top: 8px;
    vertical-align: middle;
    width: 100%;
  }

  /* Create two equal columns that floats next to each other */
  .column {
    float: left;
    width: 50%;
    padding: 10px;
  }

  /* Clear floats after the columns */
  .splitCol:after {
    content: "";
    display: table;
    clear: both;
  }
  
  /* Responsive layout - makes a two column-layout instead of four columns */
  @media screen and (max-width: 800px) {
    .columnlist {
      flex: 50%;
      max-width: 50%;
    }
  }
  
  /* Responsive layout - makes the two columns stack on top of each other instead of next to each other */
  @media screen and (max-width: 600px) {
    .columnlist {
      flex: 100%;
      max-width: 100%;
    }

    .column {
      width: 100%;
    }
  }

  /* On smaller screens, where height is less than 450px, change the style of the sidebar (less padding and a smaller font size) */
  @media screen and (max-height: 450px) {
    .sidenav {padding-top: 15px;}
    .sidenav a {font-size: 18px;}
  } 
