/* ==================================================================
    Header and Nav
================================================================== */

nav {
    float: right;
    width: 100%;
    line-height: 56px;
    display: inline-block; }

nav ul {
    padding-left: 0;
    margin-top: 0;
    margin-bottom: 0; }

nav li {
    display: inline-block; }

nav li a {
    text-decoration: none;
    font-size: 1rem;
    float: center;
    margin-left:7px;
    margin-right:7px; }

.headerheader {
    width: 100%;
    border-bottom: 1px solid #e8e8e8;
    border-bottom-width: 1px;
    border-bottom-style: solid;
    border-bottom-color: rgb(232, 232, 232);
  }
    
header {
    text-align: right;
    margin-top: 10px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
  }

header .blog-name {
    letter-spacing: -1px;
    line-height: 56px;
    width: 50%;
    float: left;
    display: inline-block;
    text-align: left;
    font-size: 18px;
    font-family: Helvetica, Arial, sans-serif;
    font-size: 1.5rem; }

header .blog-name a {
    color: #666666;
    text-decoration: none; }

header li a:hover {
    color: #990000;
    text-decoration: none; }

#menu-icon {
    display: none; }

@media (max-width: 480px) {
    header {
        padding-left: 6%;
        padding-right:6%;
    }
}

@media (min-width: 481px) {
    header {
        padding-left: 12.5%;
        padding-right: 12.5%; }
    }

/* wide display: enforce maximum width of header to match content */
@media (min-width: 940px) {
    header {
        width: 705px;
        margin-left: auto;
        margin-right: auto; }
    }

/*
medium display: nav goes under name
*/
@media (max-width: 760px) {
    header { display: block; }
    header .blog-name {
        display: block;
        width: 100%;
        padding-bottom: 10px; }
    nav {
        width: 100%; }
    }

/*
narrow display: collapse the header (don't show the menu items)
instead, display a burger menu.
*/
@media (max-width: 500px) {
    header {
        height: 35px;
        display: flex;
        align-items: center; }
    header .blog-name {
        display: inline-block;
        width: 70%; }
    nav {
        display: inline-block;
        width: 27%; }
    nav ul, nav:active ul {
        display: none;
        position: absolute;
        /* padding: 20px; */
        background: #fff;
        border: 1px solid #444;
        right: 50px;
        top: 60px;
        width: 30%;
        border-radius: 4px 0 4px 4px;
        z-index: 1;}
    nav li {
        text-align: left;
        display: block;
        padding: 0;
        margin: 0; }
    header li a { border-bottom: none; }
    header li a:hover { border-bottom: none; }
    nav:hover ul{
        display: block; }
    #menu-icon {
        display: inline-block;
        margin-right: 10px;
        margin-top: 5px; }
    }

.pub table {
 line-height: normal;
 margin-left:auto;
 margin-right:auto;
 border-collapse: collapse;
 text-align:center;
 margin-bottom:1.5em;
}

.pub tbody {
 vertical-align: top;
}

.pub tr,
.pub th,
.pub tr:first-of-type {
  background: none;
}
.pub tr:first-of-type>th {
  background: none;
}
.pub td {
 padding-left:5px;
 padding-right:5px;
 border: 1px solid lightgray;
}
.pub table tbody tr {
 border: none;
}

table {
 line-height:1em;
 margin-left:auto;
 margin-right:auto;
 border-collapse:collapse;
 text-align:center;
 margin-bottom:1.5em
}
tr:first-of-type {
 background:#eae9f4
}
tr:first-of-type>th {
 text-align:center
}
tr,
th,
td {
 padding:10px;
 border:1px solid lightgray
}
table tbody tr td {
 border:1px solid lightgray
}

body { color: rgb(102,102,102); font-weight: 100; }

hr.blog {
  display: block;
  margin-top: 0.0em;
  margin-bottom: 0.0em;
  margin-left: auto;
  margin-right: auto;
  border-style: inset;
  border: 0.5px solid #e8e8e8;
  color: #e8e8e8;
}

.center {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 50%;
}
